Skip to content
Fourohtwo

Native ETH and USDC balance of any address on Base

amanchain-relay.gitajhd.workers.dev/api/x402/aman-evm-balance

Native ETH and USDC balance of any address on Base; EVM balance checker API. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-evm-balance","request":"<input>"}.

BaseAnswering
POSThttps://amanchain-relay.gitajhd.workers.dev/api/x402/aman-evm-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://amanchain-relay.gitajhd.workers.dev/api/x402/aman-evm-balance", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"request":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","serviceId":"aman-evm-balance"}),
});
console.log(await res.json());

Example input

{
  "request": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "serviceId": "aman-evm-balance"
}