{"uid":"cap_HiUWgvf7pbUBpTWH0LYDu","slug":"hcrb-in-erc-20-balance-on-base-2eae5388","name":"hcrb.in ERC-20 Balance on Base","description":"Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.","url":"https://hcrb.in/v1/tools/erc20-balance/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["address","token_address"],"properties":{"address":{"type":"string","description":"Holder EVM address, 0x-prefixed."},"decimals":{"type":"number","description":"Token decimals override (optional)."},"token_address":{"type":"string","description":"ERC-20 token contract address, 0x-prefixed."}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qCFZRHXScd90LEnK4oKLA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns raw and formatted ERC-20 token balance for a given address on Base, reading decimals from the token contract, with a signed receipt attached.","exampleAgentPrompt":"What's the USDC balance for wallet 0xAbC...123 on Base? Use the ERC-20 balance tool on hcrb.in to get me both the raw and formatted amount with a signed receipt.","exampleUseCases":[{"title":"DeFi wallet balance audit","prompt":"Check the USDC balance for wallet 0x1234567890abcdef1234567890abcdef12345678 against the token contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base — I need the formatted amount and a signed proof I can save."},{"title":"Payment verification before settlement","prompt":"Before I trigger a payout, confirm that address 0xDeadBeef...cafe holds at least enough WBTC — the token contract is 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 on Base. Give me the raw and human-readable balance with the signed receipt."},{"title":"Portfolio tracker enrichment","prompt":"I'm building a dashboard — can you fetch the formatted token balance for address 0xabc...def using token contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, and include the decimals and signed receipt so I can store the result?"}],"resultDescription":"Returns the raw integer balance (as returned by balanceOf), the human-readable formatted balance (divided by token decimals), the decimals value read from the token contract (or the override if supplied), and a cryptographically signed receipt attesting to the on-chain result.","failureModes":["Invalid or malformed EVM address returns a validation error","Token contract address does not exist or is not ERC-20 compliant — balance read fails","Network connectivity issues to Base RPC result in a timeout","Incorrect decimals override produces a misleading formatted balance but does not error","Payment of 0.005 USDC not provided — request rejected with 402"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, signed ERC-20 balance lookup on Base specifically, with both raw and human-readable output in a single call. Prefer it over generic RPC calls when you need the signed receipt for auditability or downstream trust, or when you want decimals automatically resolved from the token contract without writing your own contract calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:36:40.492Z","isFirstParty":false,"canonicalSlug":"hcrb-in-erc-20-balance-on-base-2eae5388"}