Skip to content
Fourohtwo

Decode transaction calldata

x402-seller-m8nx.onrender.com/decode-tx

Decode transaction calldata: what does this transaction do before I sign it? Function name, named arguments and risk flags (unlimited token approvals, NFT setApprovalForAll, permits, batched calls) from raw calldata or a transaction hash. $0.002, no API key.

BasePolygonArbitrumAnswering
GEThttps://x402-seller-m8nx.onrender.com/decode-tx

Uptime100% 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://x402-seller-m8nx.onrender.com/decode-tx?data=0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff&chain=base");
console.log(await res.json());

Example input

{
  "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "chain": "base"
}

More from x402-sellerProvider status