{"uid":"cap_232G_nRotZuLsgJKhn5Qm","slug":"evm-chain-read-erc-20-allowance-09b2a90b","name":"EVM Chain Read – ERC-20 Allowance","description":"Pay-per-call EVM reads on Base (8453) and Robinhood Chain (4663): native balance, block tip, ERC-20 meta/balance/allowance, is-contract. Public RPCs, no API key. x402 USDC on Base.","url":"https://chain-read.frcompanycheck.workers.dev/v1/%7Bchain%7D/erc20/allowance/%7Btoken%7D/%7Bowner%7D/%7Bspender%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"allowance":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MD5ExcEivokUM00rntRxl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ERC-20 token allowance that a spender is approved to transfer on behalf of an owner, on Base or Robinhood Chain, paid per-call via x402 USDC.","exampleAgentPrompt":"On Base (chain 8453), what is the current ERC-20 allowance for the USDC token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, where the owner is 0xAbCd1234...5678 and the spender is the Uniswap v3 router at 0xE592427A...?","exampleUseCases":[{"title":"Pre-flight DeFi approval check","prompt":"Before I execute a swap on Uniswap on Base, can you check whether my wallet 0xMyWallet has approved the Uniswap v3 router 0xE592427A to spend my USDC token 0xA0b86991 — and how much is approved?"},{"title":"Automated allowance monitoring for a bot","prompt":"Every time my trading bot is about to submit a transaction on Base (chain 8453), check the current allowance of token 0xTokenAddr from owner 0xBotWallet to spender 0xProtocol so it knows whether to send an approve tx first."},{"title":"Security audit of wallet approvals","prompt":"For my wallet 0xAuditedWallet on Robinhood Chain (4663), look up how many tokens at contract 0xSomeToken I've approved the contract 0xSuspiciousSpender to spend — I want to know if I need to revoke it."}],"resultDescription":"A JSON object with a single field `allowance` containing the uint256 integer representing the number of token units the spender is authorized to transfer on behalf of the owner. A value of 0 means no approval exists.","failureModes":["Invalid or non-checksummed address returns an error or zero allowance","Unsupported chain ID returns a routing error","Non-ERC-20 contract address (e.g. an EOA or non-standard contract) may return 0 or an RPC error","x402 payment failure (insufficient USDC balance or misconfigured payment header) results in 402 response blocking the read","Network/RPC congestion on the underlying public node may cause timeouts"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call ERC-20 allowance read on Base or Robinhood Chain without managing your own RPC infrastructure or API keys. It is ideal for AI agents that need on-demand blockchain state reads priced at $0.002 USDC per call, especially when integrating DeFi workflows that require approval checks before swap or transfer transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T19:00:26.589Z","isFirstParty":false,"canonicalSlug":"evm-chain-read-erc-20-allowance-09b2a90b"}