agentsvc.io/api/v1/proxy/evm-balance
Read the ETH and USDC balance of any address on Base mainnet (chain 8453) straight from the chain, plus transaction count and how many x402 calls the USDC covers. Use it to check your own agent wallet before a paid workflow, to verify a counterparty was paid, or to monitor treasury addresses. Params: address (required, 0x...).
POST
https://agentsvc.io/api/v1/proxy/evm-balanceUptime100% of 3 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://agentsvc.io/api/v1/proxy/evm-balance", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"}),
});
console.log(await res.json());Example input
{
"address": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
}