# On-chain Data for Agents (x402) > Pay-per-call on-chain data for AI agents on Base, Ethereum, Arbitrum, Optimism and Polygon: wallet balances, transaction status, contract and token inspection, ENS and Basename resolution. USDC on Base via x402, no API key. ## Endpoints - GET https://x402-wallet-balances.vercel.app/balances?address=0x2a15C6A98324e179dD9adf87bDD59F9C77f19d12&chains=base,ethereum $0.002 per call. Wallet balances across Base, Ethereum, Arbitrum, Optimism and Polygon in one call: native coin, USDC, USDT, DAI and up to 10 extra ERC-20 tokens, read live via Multicall3 with RPC failover. Per-chain status; not charged if every chain fails. No API key. - GET https://x402-wallet-balances.vercel.app/tx?hash=0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 $0.002 per call. Transaction status by hash on Base, Ethereum, Arbitrum, Optimism and Polygon; the chain is found for you. Returns success, reverted or pending, block, confirmations, timestamp, from, to, value, fee (L1 fee included on OP chains), created contract and log count. Full history via archive RPCs. Not charged when the hash is not found (404) or every chain fails (502). No API key. - GET https://x402-wallet-balances.vercel.app/contract?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&chains=base $0.002 per call. Inspect any address on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: wallet or contract, bytecode size and hash, EIP-7702 delegation, proxy type and implementation/admin/beacon (EIP-1967, beacon, EIP-1167 clones, legacy ZeppelinOS such as USDC), and token standard with on-chain name, symbol, decimals and total supply (ERC-20, ERC-721, ERC-1155). Not charged if every chain fails. No API key. - GET https://x402-wallet-balances.vercel.app/ens?name=vitalik.eth $0.001 per call. Resolve an ENS name or a Base Basename (name.base.eth) to its address, or an address to its verified primary name, on-chain through the ENS Universal Resolver with CCIP-Read. Pass name or address. Not charged when nothing resolves (404) or the chain fails (502). No API key. ## Payment - USDC on Base mainnet (eip155:8453), x402 v2 exact scheme - Unpaid requests return HTTP 402 with a PAYMENT-REQUIRED header; retry with PAYMENT-SIGNATURE - Not charged on any error answer (400 bad input, 404 nothing found, 502 chains unavailable) - Docs: https://x402-wallet-balances.vercel.app/ - OpenAPI: https://x402-wallet-balances.vercel.app/openapi.json