the402 endpoint detail

← All endpoints

agent402.tools api calldata-decode

https://agent402.tools/api/calldata-decode

answers 402

Decode EVM smart-contract transaction calldata into the function name and typed parameters. Supply an ABI (from /api/contract-abi) or a signature like transfer(address,uint256) for a fully offline decode; with neither, the 4-byte selector is resolved via the openchain.xyz signature database (4byte.directory fallback) and each candidate signature is tried. Unknown selectors return a documented part

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.003
Network
base
Pay to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
115 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:16:29.039Z (19d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fcalldata-decode"