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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 24 min ago | Passed | 402 | 532 ms | $0.002 |
| 4 h ago | Passed | 402 | 644 ms | $0.002 |
| 8 h ago | Passed | 402 | 400 ms | $0.002 |
| 12 h ago | Passed | 402 | 528 ms | $0.002 |
| 16 h ago | Passed | 402 | 629 ms | $0.002 |
| 20 h ago | Passed | 402 | 577 ms | $0.002 |
| 23 h ago | Passed | 402 | 463 ms | $0.002 |
| 27 h ago | Passed | 402 | 564 ms | $0.002 |
| 30 h ago | Passed | 402 | 476 ms | $0.002 |
| 34 h ago | Passed | 402 | 522 ms | $0.002 |
| 37 h ago | Passed | 402 | 418 ms | $0.002 |
| 41 h ago | Passed | 402 | 520 ms | $0.002 |
| 45 h ago | Passed | 402 | 467 ms | $0.002 |
| 2 days ago | Passed | 402 | 492 ms | $0.002 |
| 2 days ago | Passed | 402 | 593 ms | $0.002 |