Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/chain/live-balance

Native coin balance (ETH, POL, BNB, AVAX, xDAI) of an address read live from the chain, on one chain or 6 main chains at once (Ethereum, Base, Arbitrum, Optimism, Polygon, BSC) in a single call. Returns per-chain balance, raw wei, block, and the list of chains where the balance is non-zero.

BaseSolanaaws:baseUnchecked
GEThttps://agents.204-168-199-108.sslip.io/v1/chain/live-balance

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/chain/live-balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&chain=all");
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "chain": "all"
}