decode_calldata
Decode raw EVM calldata into a human-readable function name, signature, and typed parameter values for transaction inspection and debugging.
Instructions
Decode raw EVM calldata into a human-readable function name, canonical signature, and typed parameter values. Resolves the 4-byte selector against openchain.xyz's signature directory, then ABI-decodes the args. Use for tx inspection before signing, mempool analysis, debug. EVM-only (chain='ethereum'); 'solana' returns 400. $0.001 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM-only; '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. |