decode/calldata
decode_calldataDecode raw EVM calldata into function name + typed parameters via openchain.xyz + eth_abi. EVM-only. $0.001 USDC.
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>",
"calldata_hex": "<calldata_hex>"
},
"name": "decode_calldata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | "ethereum" supported; "solana" returns 400. | |
| calldata_hex | Yes | Raw EVM calldata (>=4-byte selector), with or without 0x prefix. | |
| contract_address | No | Optional. Reserved for future on-chain ABI lookups; currently unused. |