EVM transaction decoder: method, decoded events, swaps, token flows, revert reason (8 chains)
tx_decodeTyped decode of any tx on base, ethereum, bsc, arbitrum, optimism, polygon, gnosis or celo (chain optional: all 8 are searched): success/reverted, method signature from a known-selector table (args for transfer/approve/transferFrom), every log decoded where known (ERC-20/721/1155 transfers with symbols and decimal amounts, approvals with an unlimited flag, WETH deposit/withdraw, Uniswap V2/V3/V4 swaps, ownership/upgrade, EIP-3009), the sender's net token flows, fee incl. L1 fee, and for reverted txs a decoded revert reason (approximate replay at the previous block). Price: $0.003 USDC on Base per call, paid with x402 (MCP transport: an unpaid call returns the x402 PaymentRequired object; retry with params._meta["x402/payment"]). Same tool over HTTP: GET /api/tx-decode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | 0x transaction hash | |
| chain | No | optional; omit to search all 8 |