{"uid":"cap_1dG48o6Va1V5205UJAlDL","slug":"erc-20-token-balance-on-base-e16422f2","name":"ERC-20 Token Balance on Base","description":"Read an ERC-20 token balance on Base. POST {\"address\":\"0x...\",\"token\":\"0x...\"} and receive the raw balance, the token decimals and the human-readable amount. Defaults to USDC when token is omitted. Live chain state, no indexer lag.","url":"https://x402-echo-service.onrender.com/chain/erc20-balance","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","description":"ERC-20 contract. Defaults to USDC on Base."},"address":{"type":"string","description":"Account to read."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RndRKpVBhgXrrYQHhz6xE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads the ERC-20 token balance of a given wallet address on the Base blockchain, returning raw balance, decimals, and human-readable amount.","exampleAgentPrompt":"What's the USDC balance of wallet 0xAbCd...1234 on Base right now — give me the raw amount and the human-readable figure?","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Can you tell me the USDC balance of 0x1234...abcd on Base? I want both the raw number and the readable amount."},{"title":"Custom token holdings verification","prompt":"Check how many tokens the address 0xDead...Beef holds for ERC-20 contract 0xTokenAddr...1234 on Base — I need the balance with decimals accounted for."},{"title":"Automated wallet monitoring agent","prompt":"My agent needs to know the live on-chain USDC balance of 0xWallet...5678 on Base — no indexer lag, straight from the chain."}],"resultDescription":"Returns the raw on-chain balance (as a big integer string), the token's decimal places, and the human-readable formatted balance (e.g. '1234.56'). Defaults to USDC when no token address is supplied. Data reflects live chain state with no indexer lag.","failureModes":["Invalid or malformed wallet address returns an error","Invalid or non-ERC-20 contract address returns an error or zero balance","Address with no balance for the token returns zero","Network or RPC issues may cause timeouts","Non-Base chain addresses may return incorrect or empty results"],"whenToPreferThis":"Choose this endpoint when you need live, real-time ERC-20 balance data directly from the Base chain without indexer lag. Ideal for agents that require authoritative on-chain state for USDC or any ERC-20 token on Base. Prefer over indexed APIs when freshness is critical and you have a specific wallet and token address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:35.284Z","isFirstParty":false}