{"uid":"cap_ZFzEQiHANDcPPoeMZZ8CD","slug":"base-token-approval-check-1373f7f1","name":"Base Token Approval Check","description":"Check a Base wallet's ERC-20 approvals: allowances for 8 major tokens (USDC, WETH, USDbC, DAI...) to common spenders (Permit2, Uniswap Universal Router, Uniswap SwapRouter02, Aerodrome Router...); flags unlimited approvals.","url":"https://automaton-tx-explainer.vercel.app/v1/base/approvals?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"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base wallet address (owner)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"owner":"0x...","checkedPairs":64,"unlimitedCount":1,"nonZeroApprovals":[{"token":"USDC","spender":"Permit2","allowance":"unlimited","unlimited":true}]}},"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_I9rT1GMe5LWZlqfQRQOOH","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":"Checks all ERC-20 token approvals (allowances) granted by a given Base mainnet wallet address, identifying unlimited and non-zero approvals","exampleAgentPrompt":"Can you check what token approvals my Base wallet 0xAbC1234567890abcdef1234567890abcdef123456 has granted — specifically flag any unlimited allowances?","exampleUseCases":[{"title":"Wallet security audit before DeFi use","prompt":"I want to audit my Base wallet 0x1234567890abcdef1234567890abcdef12345678 — show me all the token approvals I've granted, especially any that are unlimited, so I can decide which ones to revoke."},{"title":"Checking Permit2 exposure on Base","prompt":"Does my Base address 0xDeAdBeEf1234567890abcdef1234567890abcdef have any unlimited Permit2 approvals? I want to know if I'm exposed before I move any funds."},{"title":"Onboarding compliance check for new wallet","prompt":"Before we onboard this user's Base wallet 0xAaBb1234567890abcdef1234567890abcdef1234, can you pull all their existing token approvals and tell me how many non-zero allowances they have outstanding?"}],"resultDescription":"Returns the wallet owner address, total number of token-spender pairs checked, count of unlimited approvals, and a list of non-zero approvals each containing the token name, spender name, allowance amount, and a boolean indicating whether it is unlimited.","failureModes":["Invalid or malformed wallet address (must match ^0x[0-9a-fA-F]{40}$) returns a validation error","Address with no approvals returns an empty nonZeroApprovals array","Payment failure or missing x402 USDC payment header returns 402 Payment Required","Rate limiting or downstream Base RPC unavailability may cause transient 5xx errors","Address with very large approval history may increase latency"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call audit of ERC-20 token approvals on Base mainnet for a specific wallet address. It is particularly valuable for security reviews, pre-transaction risk checks, and DeFi onboarding flows where knowing which spenders have active allowances (especially unlimited ones) is critical. Prefer this over general blockchain explorers when you need structured, machine-readable approval data rather than a UI. Choose this over a full transaction explainer when the specific goal is allowance enumeration, not transaction decoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:35:28.537Z","isFirstParty":false,"canonicalSlug":"base-token-approval-check-1373f7f1"}