Skip to content
Fourohtwo

Live EVM wallet balance in one call

agent-data.centorprat.workers.dev/chain/balance

Live EVM wallet balance in one call: native coin plus USDC plus up to 20 token contracts the caller names, via a bounded eth_call batch. Give a 0x... address and optionally a chain and token list. Returns raw and scaled amounts. Read-only: no key, no connection, nothing signed. Same shape as the live-balance endpoints agents already pay for, on six chains.

BasePolygonSolanaAnswering
GEThttps://agent-data.centorprat.workers.dev/chain/balance

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://agent-data.centorprat.workers.dev/chain/balance?address=0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120&chain=base");
console.log(await res.json());

Example input

{
  "address": "0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120",
  "chain": "base"
}

More from Agent ToolkitProvider status