Skip to content
Fourohtwo

Up to 100 wallet balances in ONE round trip

agent-data.centorprat.workers.dev/chain/batch-balances

Up to 100 wallet balances in ONE round trip: JSON-RPC batch, native coin plus USDC (and any tokens you name) for every address at once. Measured 10 addresses in ~190 ms versus roughly ten times the round trips done one at a time. For an agent tracking a set of wallets, reconciling after a batch of payments, or checking a list before sending: one call, one payment, one round trip. Read-only, no key

BasePolygonSolanaAnswering
POSThttps://agent-data.centorprat.workers.dev/chain/batch-balances

Uptime100% of 4 checks 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/batch-balances", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"addresses":["0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120","0x6c571a6f88cfb3da7d639eba9906d8672959496e"]}),
});
console.log(await res.json());

Example input

{
  "addresses": [
    "0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120",
    "0x6c571a6f88cfb3da7d639eba9906d8672959496e"
  ]
}

More from Agent ToolkitProvider status