explain_tx
Run after a transaction lands (or fails) to report what really happened, instead of guessing from logs. For failures it names the program that failed and the fix. Reads a confirmed transaction and returns whether it worked, the fee, every SOL and token balance change by wallet, the programs used, and why it failed. Inputs: tx_id: The transaction's ID (its signature). network (optional): Which Solana network to read. Default "mainnet-beta" (real money). Cost: 25 free calls a day, then $0.01 USDC per call (x402). Full field-by-field docs: GET /api/tools/explain_tx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_id | Yes | The transaction's ID (its signature). You get it back when you send a transaction, or from history. Never make one up. | |
| network | No | Which Solana network to read. Default "mainnet-beta" (real money). Leave it out for mainnet. Use "devnet" only for test wallets. | mainnet-beta |