simulate_hook_trigger
Predict which accounts' hooks a transaction would invoke, with strong or weak roles, using only transaction fields. Works offline without bytecode execution or ledger reads.
Instructions
Statically predict which accounts' hooks a transaction WOULD invoke (transactional stakeholders), with strong (can rollback) vs weak (runs, can't rollback) roles — from the tx fields alone, no bytecode run and no ledger read. For tx types whose stakeholders require ledger-object lookups it returns a partial flag rather than guessing. For a full prediction that runs the real hook bytecode against live state, use simulate_transaction. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | transaction JSON (needs at least TransactionType + Account) |