what_if
Replay a real historical transaction with modified fields (Amount, Destination, etc.) to see what would have happened at the original ledger state.
Instructions
TIME MACHINE — counterfactual replay of a REAL historical transaction: fetch it by hash, apply your field overrides (different Amount, Destination, params, ...), then run the full flight simulator AT THAT HISTORICAL LEDGER (hooks, state and parameters as they were). Answers 'what would have happened if this tx had been X?'. Read-only; nothing is signed or submitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | real validated transaction hash | |
| network | No | mainnet | |
| overrides | No | fields to change on the tx before re-simulating (e.g. {"Amount": "99000000"}) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| notes | No | ||
| caveat | No | ||
| summary | No | ||
| verdict | No | ||
| hookRuns | No | ||
| scamScore | No | ||
| baseTxHash | No | ||
| historical | No | ||
| transactor | No | ||
| ledgerIndex | No | ||
| staticChecks | No | ||
| overriddenFields | No |