chain_decode_calldata
EVM calldata decoder — Decode raw EVM transaction input (calldata) into the function name and named arguments, offline. Built-in table of 60+ common signatures (ERC-20/721/1155, permit, Uniswap v2/v3 routers, Universal Router, multicall, Multicall3 aggregate, Aave, ERC-4626, Safe execTransaction, ENS, OP bridge); nested multicall/aggregate calls are decoded one level deep. Flags UNLIMITED_APPROVAL, APPROVE_ALL_NFTS, OFFCHAIN_SIGNATURE_APPROVAL and ADMIN_ACTION. data= required (0x hex); signature= optional for unknown selectors, e.g. signature=foo(uint256,address[]). 422 for unknown selectors or malformed data. Price: $0.002 USDC (Base, 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": {
"data": "<data>"
},
"name": "chain_decode_calldata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |