Skip to content
Fourohtwo

Wallet balance

pagetext.yashil.workers.dev/balance

Wallet balance: native coin balance plus USDC/USDT (or any ERC-20 tokens you list) for an address on Base, Ethereum, Arbitrum One, OP Mainnet, Polygon PoS, BNB Smart Chain, Avalanche C-Chain. Also returns nonce (transaction count) and whether the address is a contract.

BaseAnswering
GEThttps://pagetext.yashil.workers.dev/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://pagetext.yashil.workers.dev/balance?address=0x81a7031258011929544B25983c803F1D21DA673f&chain=base&tokens=usdc");
console.log(await res.json());

Example input

{
  "address": "0x81a7031258011929544B25983c803F1D21DA673f",
  "chain": "base",
  "tokens": "usdc"
}

More from PageTextProvider status