base_usdc_eth_balance $0.003 per call
Fetches ETH and USDC balances for an EVM address on Base mainnet via public RPC https://mainnet.base.org, using eth_getBalance and eth_call (balanceOf) on the USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.
For AI agents: call base_usdc_eth_balance
POST https://toll402.dev/v1/t/base_usdc_eth_balance
{
"address": "0x1111111111111111111111111111111111111111"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "EVM address (0x-prefixed, 40 hex chars)"
}
},
"required": [
"address"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}