{"uid":"cap_bMR67Qh1IWjOUmhdTbL7f","slug":"mint-intel-erc-20-allowance-on-base-4a5a83ef","name":"Mint Intel: ERC-20 Allowance on Base","description":"ERC-20 allowance on Base via allowance(owner, spender) (eth_call) - how much a spender such as Permit2 or a DEX router may move from an owner's wallet, decimal-adjusted, with unlimited-approval flag and known-spender label.","url":"https://mintintel.35-171-220-195.sslip.io/v1/base/allowance/:token/:owner/:spender?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["token","owner","spender"],"properties":{"owner":{"type":"string","description":"0x-prefixed 20-byte EVM address"},"token":{"type":"string","description":"0x ERC-20 token contract address"},"spender":{"type":"string","description":"0x-prefixed 20-byte EVM address"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["token","allowanceRaw","unlimited"],"properties":{"token":{"type":"string"},"unlimited":{"type":"boolean"},"allowanceRaw":{"type":"string"}}}}}}},"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_E2pvwyRVJly3XpNkKy1In","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":"Returns the decimal-adjusted ERC-20 token allowance a spender is permitted to move from an owner's wallet on the Base blockchain, including an unlimited-approval flag and known-spender label.","exampleAgentPrompt":"Can you check how much USDC (0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA) the Permit2 contract (0x000000000022D473030F116dDEE9F6B43aC78BA3) is allowed to spend from my Base wallet 0xAbCd1234...EfGh?","exampleUseCases":[{"title":"Pre-swap approval audit on Base","prompt":"Before I swap on Aerodrome, can you check how much of my WETH (0x4200000000000000000000000000000000000006) the Aerodrome router (0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43) is approved to spend from my wallet 0xAbCd1234...5678 on Base?"},{"title":"Detect unlimited token approvals","prompt":"I want to know if I accidentally gave unlimited USDC approval to any DEX on Base — can you check the allowance for token 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA from my address 0xAbCd1234...5678 to spender 0x6131B5fae19EA4f9D964eAc0408E4408b66337b5 and tell me if it's unlimited?"},{"title":"Security review before revoking approvals","prompt":"As part of a wallet security check, look up the current ERC-20 allowance that Permit2 (0x000000000022D473030F116dDEE9F6B43aC78BA3) has over my DAI tokens (0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb) on Base from address 0xDeF9...1234 — I want to decide whether to revoke it."}],"resultDescription":"Returns the token contract address, the raw allowance as a big-integer string, a decimal-adjusted human-readable allowance value, a boolean unlimited flag (true when approval equals uint256 max), and a label identifying the spender if it is a known protocol such as Permit2 or a DEX router.","failureModes":["Invalid or non-checksummed address returns a 400 error","Token address is not a valid ERC-20 contract on Base — call reverts or returns zero","Unknown spender address returns no label (blank or null label field)","Base RPC node temporarily unavailable — 503 or timeout","Owner has no allowance set for the spender — returns zero allowance and unlimited: false"],"whenToPreferThis":"Use this endpoint when you specifically need ERC-20 allowance data on the Base blockchain (not Ethereum mainnet or Solana). It is ideal for DeFi agents auditing token approvals, pre-trade safety checks, wallet security reviews, and detecting unlimited approvals to known spenders like Permit2 or DEX routers. Prefer it over a generic RPC call because it returns decimal-adjusted values, the unlimited flag, and named-spender labels in a single response without any local ABI decoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:55.375Z","isFirstParty":false,"canonicalSlug":"mint-intel-erc-20-allowance-on-base-4a5a83ef"}