Skip to content
Fourohtwo

Celo ERC-20 balance

agent-data-tools.revmesh2074.workers.dev/celo/token-balance

Celo ERC-20 balance. ERC-20 token balance of a wallet on Celo (USDC, USDT, WETH or any token, via balanceOf): raw amount, decimals, symbol and the human-readable amount, live from the token contract. Use to check stablecoin or token holdings before a transfer or trade; for the native coin use celo_balance. Both inputs are 0x addresses (40 hex characters); no contract returns 404 and a non-ERC-20 c

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/celo/token-balance

Uptime100% of 2 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-tools.revmesh2074.workers.dev/celo/token-balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&token=0xcebA9300f2b948710d2653dD7B07f33A8B32118C");
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "token": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C"
}