Decode transaction
decode_transactionFetch and decode an EVM transaction by hash to reveal status, fees, decoded function call with args, and event logs.
Instructions
Fetch and decode a transaction by hash: status, fees, decoded function call + args, decoded event logs.
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": {
"chain": "<chain>",
"hash": "<hash>"
},
"name": "decode_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| chain | Yes | EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche |