Tool detail
tx-decode
Decodes EVM calldata or a Base transaction hash into a readable function signature, selector, and typed arguments.
Categories: Utilities
Use when
- decode raw EVM calldata into a function name and arguments
- decode a Base transaction hash into its function call
- identify a function selector from calldata
Not for
- schema marks data and tx both required, though the description implies only one is needed
- not for chains other than EVM/Base
Inputs
GET query params: data (required), tx (required) per schema; calldata, txhash, to also accepted (all optional)
Admitted input schema
{
"type": "object",
"properties": {
"calldata": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Calldata (optional)"
},
"data": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Data (required)"
},
"to": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Target format (optional)"
},
"tx": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Tx (required)"
},
"txhash": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Txhash (optional)"
}
},
"required": [
"data",
"tx"
],
"additionalProperties": false
}Endpoint
- Method
GET- URL
https://api.x402node.dev/chain/tx-decode
Payment
- Protocol
- x402
- Listed price
- 0.05 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://api.x402node.dev/chain/tx-decode
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z