{"uid":"cap_2V7M9bC5_s0xemyidbhz6","slug":"approvals-wallet-22089d1d","name":"approvals-wallet","description":"Standing-state audit of a wallet's live ERC-20 token approvals. Indexes every approval the address ever granted, filters to those still live on-chain, flags unlimited, stale, scam-listed and canonical spenders, estimates money-at-risk, and returns a ranked revoke plan with ready calldata plus a 0-100 risk and allow, warn or block verdict. Risk indicators, not advice.","url":"https://payai.agentstools.dev/approvals/wallet?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"limit":{"type":"integer","description":"Max distinct approvals to check (default/cap 40)"},"address":{"type":"string","description":"0x wallet address to audit (the owner)"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM network to audit (default base)"},"include_revoke_plan":{"type":"boolean","description":"Include the ordered revoke plan (default true)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gQuGMvibaY9rn-VEbi5m3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits all live ERC-20 token approvals for a wallet address, flags risk levels, and returns a ranked revoke plan with ready-to-use calldata.","exampleAgentPrompt":"Can you audit my Ethereum wallet 0xAbC123...def for live ERC-20 approvals, flag any unlimited or scam-listed ones, estimate how much is at risk, and give me a revoke plan?","exampleUseCases":[{"title":"Post-DeFi session approval cleanup","prompt":"I just used a bunch of DeFi protocols on Base last month — can you check my wallet 0x1234...abcd for any stale or unlimited token approvals still open, estimate what's at risk, and tell me which ones to revoke first?"},{"title":"Pre-transfer wallet security check","prompt":"Before I move any funds, audit my Ethereum address 0xDeAdBeEf...9999 for risky ERC-20 approvals — especially flag any unlimited or scam-listed spenders and give me a risk score."},{"title":"Routine DeFi wallet health monitoring","prompt":"Can you run an approval audit on my Polygon wallet 0xAABB...CCDD, check up to 40 approvals, and show me a ranked revoke plan with the calldata I'd need to clean it up?"}],"resultDescription":"Returns a structured audit of all live ERC-20 approvals for the wallet: each approval's spender, token, amount (flagged if unlimited), staleness, and scam-list status; an estimated USD money-at-risk figure; a 0–100 risk score; an allow/warn/block verdict; and an ordered revoke plan with ready-to-execute calldata for each revocation.","failureModes":["Invalid or malformed wallet address returns an error","Unsupported network value returns validation error","Address with no approval history returns empty approval list","Rate limiting or upstream RPC unavailability may return timeout or 5xx","Limit parameter exceeding cap (40) may be silently clamped or rejected"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, ranked, action-ready audit of a wallet's ERC-20 approvals — especially when you want risk scoring, scam-list cross-referencing, unlimited approval detection, and ready calldata for revocations in a single call. Prefer it over generic blockchain explorers when you need structured risk analysis and a prioritized revoke plan rather than raw event logs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:10.185Z","isFirstParty":false,"canonicalSlug":"approvals-wallet-22089d1d"}