Decode EVM calldata or a Base tx hash into a readable function call
api.x402node.dev/chain/tx-decode
Decode EVM calldata or a Base tx hash into a readable function call: signature, selector, and decoded typed arguments. Search terms: calldata decoder, ABI decode, function selector 4byte, transaction decoder, EVM tx decode. Accepts payment on Base or Solana — either network works.
GET
https://api.x402node.dev/chain/tx-decodeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.x402node.dev/chain/tx-decode?calldata=string&data=string&to=string&tx=string&txhash=string");
console.log(await res.json());Example input
{
"calldata": "string",
"data": "string",
"to": "string",
"tx": "string",
"txhash": "string"
}