hook_execution_postmortem
Investigate real Xahau transactions' hook executions by running their bytecode locally and comparing the VM's direction with the on-chain decision, revealing why hooks accepted or rolled back.
Instructions
POST-MORTEM a real Xahau transaction's hooks: fetch the tx (with meta.HookExecutions + engine result), then for EACH hook that fired, run its REAL bytecode through the local VM and compare the VM's accept/rollback DIRECTION to what the chain actually recorded. Answers 'why did these hooks accept/rollback, and would the VM agree?'. The on-chain decision is AUTHORITATIVE; the VM run is best-effort and always labeled fidelity=LOCAL_VM. agree is null (not false) when the VM run is degraded/halted/no-exit or the on-chain decision is indeterminate (e.g. no CreateCode available) — never scored as a match or miss. Read-only; never signs/submits. Serial rate-limited RPC: 1 tx call + 1 ledger_entry per UNIQUE HookHash (deduplicated), each >=1100ms apart; tolerates literal 'Rate limited' bodies via the shared client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Xahau tx hash of the transaction to post-mortem | |
| network | No | mainnet |