{"uid":"cap_Ubm03CJNkVNvby5PrCf_t","slug":"402-com-tr-agent-wallet-audit-erc-20-spend-permissions-c9481e94","name":"402.com.tr Agent Wallet Audit (ERC-20 + Spend Permissions)","description":"🆕 The complete fund-movement authority on a Base wallet in one call: ERC-20 approvals (a spender you approved can pull the token) PLUS Base Account spend permissions (the agent-era scoped recurring allowance) — one drain-surface verdict with the ERC-20 revoke queue to act on. Approval tools miss the spend permissions; spend-permission tools miss the approvals. The only combined check for agent wallets that must know their whole exposure before holding funds.","url":"https://402.com.tr/api/x402/agent-wallet-audit","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"},"queryParams":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string","description":"Wallet address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UkXgAKV9dNqUNmjuzPZ6x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a combined audit of a Base wallet's ERC-20 token approvals and agent-era spend permissions in a single call, providing a unified drain-surface verdict with a revoke queue.","exampleAgentPrompt":"Before I move funds into my agent wallet, can you audit 0xAbCd...1234 on Base and show me every ERC-20 approval AND spend permission that could drain it, plus which ones I should revoke?","exampleUseCases":null,"resultDescription":"A combined report covering all active ERC-20 token approvals (spenders, amounts, tokens at risk) and Base Account spend permissions (scoped recurring allowances) for the queried wallet, culminating in a unified drain-surface verdict and a prioritized ERC-20 revoke queue listing the riskiest authorizations to act on.","failureModes":["Invalid or malformed wallet address returns an error with no audit data","Wallet address has no on-chain history — returns empty approval/permission lists","RPC or indexer timeout causes partial or failed data retrieval","Network outage on Base prevents fetching current state","Payment of $0.06 USDC not completed, request rejected by x402 payment gate"],"whenToPreferThis":"Choose this endpoint when you need a holistic security picture of a Base wallet that is used by or with AI agents — it is the only single call that combines classic ERC-20 token approvals (pull-based) with Base Account spend permissions (agent-era scoped recurring allowances). Prefer it over approval-only or spend-permission-only tools when the wallet holds real funds and you need to know the complete authorization surface before depositing or operating.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:58:42.103Z","isFirstParty":false}