75trust / 100

Chain Erc20 Balance

by manylives.me in Onchain & crypto

x402 APIPassing, checked 24 min ago

ERC-20 token balance of any Base network wallet (the main US-dollar stablecoin by default): raw units, decimals, symbol and formatted amount.

GET https://manylives.me/paid/chain/erc20-balance

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
492 ms typical, 629 ms slowest 5%
Last check
24 min ago
Next check
in 3 min

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X GET 'https://manylives.me/paid/chain/erc20-balance?token=0x...+ERC-20+on+Base+%28optional%2C+default+USDC%29&wallet=0x...+%28required%29'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmanylives.me%2Fpaid%2Fchain%2Ferc20-balance
const res = await pay("https://manylives.me/paid/chain/erc20-balance?token=0x...+ERC-20+on+Base+%28optional%2C+default+USDC%29&wallet=0x...+%28required%29");
console.log(await res.json());

Example input

{
  "token": "0x... ERC-20 on Base (optional, default USDC)",
  "wallet": "0x... (required)"
}

Example output

{
  "balance": "1.2345",
  "decimals": 6,
  "raw": "1234500",
  "symbol": "USDC",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "wallet": "0x..."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
24 min agoPassed402532 ms$0.002
4 h agoPassed402644 ms$0.002
8 h agoPassed402400 ms$0.002
12 h agoPassed402528 ms$0.002
16 h agoPassed402629 ms$0.002
20 h agoPassed402577 ms$0.002
23 h agoPassed402463 ms$0.002
27 h agoPassed402564 ms$0.002
30 h agoPassed402476 ms$0.002
34 h agoPassed402522 ms$0.002
37 h agoPassed402418 ms$0.002
41 h agoPassed402520 ms$0.002
45 h agoPassed402467 ms$0.002
2 days agoPassed402492 ms$0.002
2 days agoPassed402593 ms$0.002