{"uid":"cap_uAWfWCZGsxbuwU1vdYA55","slug":"mint-intel-erc-20-allowance-on-ethereum-03f8533c","name":"Mint Intel: ERC-20 Allowance on Ethereum","description":"ERC-20 allowance on Ethereum 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/eth/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_c-noLT7inIadysd4gusFT","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 address may move from an owner's Ethereum wallet, including an unlimited-approval flag and known-spender label.","exampleAgentPrompt":"Can you check how much USDC the Permit2 contract (0x000000000022D473030F116dDEE9F6B43aC78BA3) is approved to spend from my wallet (0xYourOwnerAddress) on Ethereum? I want to know if it's an unlimited approval.","exampleUseCases":[{"title":"Audit unlimited DeFi approvals","prompt":"Check if Uniswap's router (0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B) has unlimited approval to spend WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) from my wallet 0xAbC1234567890abcdef1234567890abcdef123456 on Ethereum."},{"title":"Pre-trade allowance verification","prompt":"Before I swap, can you verify how much USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) the 1inch router (0x1111111254EEB25477B68fb85Ed929f73A960582) is allowed to move from 0xDe0B295669a9FD93d5F28D9Ec85E40f4cb697BAe on Ethereum?"},{"title":"Security scan for risky token approvals","prompt":"I want to check if the address 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F has been given any allowance to spend DAI (0x6B175474E89094C44Da98b954EedeAC495271d0F) from wallet 0x1234567890abcdef1234567890abcdef12345678 on Ethereum — and whether it's flagged as an unlimited or suspicious approval."}],"resultDescription":"Returns the token contract address, the raw allowance as a string, a boolean indicating whether the approval is effectively unlimited (max uint256), and a human-readable label for recognized spenders such as Permit2 or known DEX routers. The allowance value is decimal-adjusted for the token's precision.","failureModes":["Invalid or non-checksummed Ethereum address returns a 400 error","Non-ERC-20 contract address (e.g. EOA or non-standard token) may return zero or an RPC error","Network congestion or RPC node unavailability may cause timeouts","Token contract that does not implement standard allowance() ABI will fail the eth_call","Spender address not in known-spender registry returns null label rather than an error"],"whenToPreferThis":"Use this endpoint when you need a quick, decimal-adjusted ERC-20 allowance check on Ethereum mainnet with the added context of an unlimited-approval flag and known-spender identification. Prefer it over raw RPC calls when you want the human-readable enrichment (label, unlimited flag) without writing your own ABI decoding logic. It's ideal for DeFi security audits, pre-trade checks, and wallet approval dashboards.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:44.013Z","isFirstParty":false,"canonicalSlug":"mint-intel-erc-20-allowance-on-ethereum-03f8533c"}