diagnose_failed_tx
Diagnose why a Xahau transaction failed by decoding on-chain facts, engine results, and hook rollback strings into plain-English causes and fixes.
Instructions
Why did my transaction fail? Plain-English diagnosis from ON-CHAIN facts: engine result decoded to cause + concrete fix (catalog of ~30 common Xahau failure codes), hook rollback return-strings decoded and interpreted (e.g. the genesis reward hook's 'You must wait N seconds' becomes a claimable-at date), the partial-payment trap on 'successful' Payments (delivered_amount vs Amount), and not-found triage (expired LastLedgerSequence / wrong network). 1 RPC read; authoritative — decodes what the chain recorded, re-executes nothing (use hook_execution_postmortem to replay hooks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | transaction hash | |
| network | No | mainnet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| fixes | No | ||
| found | No | ||
| notes | No | ||
| causes | No | ||
| failed | No | ||
| txHash | No | ||
| network | No | ||
| summary | No | ||
| validated | No | ||
| resultClass | No | ||
| whatItTried | No | ||
| engineResult | No | ||
| hookRejections | No | ||
| partialDelivery | No | ||
| engineResultCode | No |