decode_tx
Decode transaction API: give a tx hash on Base, Ethereum, Optimism, Arbitrum or Polygon, get transaction status, decoded method, fee, every ERC-20/NFT transfer and approval, net token flows per address and a one-line plain-English headline. Transaction explainer / tx lookup / decode tx. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tx_hash": "<tx_hash>"
},
"name": "decode_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, optimism, arbitrum, polygon | |
| tx_hash | Yes | 0x tx hash |