Skip to content
Fourohtwo

x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/wallet/balance

Use when you need a wallet's token balances on several chains in one call: native coin plus USDC, USDT, DAI, WETH, WBTC/cbBTC on Ethereum, Base, Arbitrum and Polygon. Pass address (0x or an ENS name like vitalik.eth, resolved on Ethereum) and optional chains. Exact on-chain amounts with block numbers; a chain that fails is listed in errors, never shown as zero. No USD prices. $0.003 per call (USDC

BaseArbitrumPolygonAvalancheOptimismCeloAnswering
GEThttps://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/wallet/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

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://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/wallet/balance?address=vitalik.eth&chains=ethereum%2Cbase%2Carbitrum%2Cpolygon");
console.log(await res.json());

Example input

{
  "address": "vitalik.eth",
  "chains": "ethereum,base,arbitrum,polygon"
}