agent-utils.run402.com/v1/evm/tx
Decode one transaction on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: status, from, to, value, gas used, fee, block time and every ERC-20 Transfer in its logs with symbol/decimals resolved. Use it to prove a payment happened. Required query params: chain, hash (see example).
GET
https://agent-utils.run402.com/v1/evm/txUptime100% 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://agent-utils.run402.com/v1/evm/tx?chain=base&hash=0x0000000000000000000000000000000000000000000000000000000000000000");
console.log(await res.json());Example input
{
"chain": "base",
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}