agents.204-168-199-108.sslip.io/v1/chain/decode-calldata
Turn a transaction's raw input hex into the function name and named, typed arguments. Built-in: ERC-20 transfer/approve/transferFrom, ERC-721 transfers, permit, EIP-3009 transferWithAuthorization (USDC / x402 payments), WETH deposit/withdraw, multicall, Uniswap V2 swaps and Universal Router execute; or pass any function signature. Use to check what a transaction will really do before signing or to
GET
https://agents.204-168-199-108.sslip.io/v1/chain/decode-calldataUptime100% 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://agents.204-168-199-108.sslip.io/v1/chain/decode-calldata?data=0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000989680");
console.log(await res.json());Example input
{
"data": "0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000989680"
}