{"uid":"cap_tML-2JDeanr5q174iwmwW","slug":"tanod-chainpeek-token-approvals-audit-8287fced","name":"Tanod chainpeek Token Approvals Audit","description":"chainpeek (Tanod) live token approvals of a wallet: ERC-20 and Permit2 allowances with risk flags and unsigned revoke transactions, on Base or Ethereum. Use when an agent must list and revoke its wallet's live token approvals, on a schedule or after a risky signature.","url":"https://tanod.dev/v1/chain/approvals?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"base or ethereum (the chains with built-in USDC and USDT here)."},"tokens":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"maxItems":50,"minItems":1},{"type":"null"}],"default":null,"description":"Up to 50 token contracts to audit. Default: USDC, USDT and up to 18 tokens the wallet has sent (from its transfer history)."},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The wallet whose approvals are audited (0x + 40 hex)."},"spenders":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"maxItems":50,"minItems":1},{"type":"null"}],"default":null,"description":"Up to 50 spender addresses whose ERC-20 and Permit2 allowances are read directly on every audited token, however old (tokens x spenders at most 200). The full-coverage path for spenders you know."},"stale_days":{"type":"integer","default":90,"maximum":3650,"minimum":1,"description":"An allowance is stale when the spender pulled nothing from the wallet in this many days (1-3,650; default 90)."},"lookback_blocks":{"type":"integer","default":6000,"maximum":6000,"minimum":0,"description":"Latest blocks scanned for approval events (0-6,000; default 6,000, about 3.3 hours on Base and 20 hours on Ethereum). 0 scans nothing and checks `spenders` and Permit2 only."}}},"responseSchema":null,"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_ZJLZ1rrhc10PdPnR-1K8d","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":"Returns live ERC-20 and Permit2 token allowances for a wallet on Base or Ethereum, with risk flags and unsigned revoke transactions ready to broadcast.","exampleAgentPrompt":"Show me all live token approvals for my wallet 0xAbCd...1234 on Base — flag any risky or stale ones and give me unsigned revoke transactions I can broadcast for anything suspicious.","exampleUseCases":[{"title":"Post-phishing approval sweep","prompt":"I just clicked a sketchy link and may have signed something bad. Can you audit all my token approvals on Ethereum for wallet 0xDeAd...BeeF and flag anything risky or unlimited so I can revoke it?"},{"title":"Scheduled DeFi hygiene check","prompt":"Every week, check my Base wallet 0x1234...ABCD for any ERC-20 or Permit2 approvals that haven't been used in the last 90 days and give me revoke transactions for the stale ones."},{"title":"Pre-known-spender allowance audit","prompt":"I want to audit exactly what USDC and USDT allowances these three DEX routers have on my Ethereum wallet 0x9876...FEDC — the spender addresses are 0xAAA...111, 0xBBB...222, and 0xCCC...333."}],"resultDescription":"A list of live ERC-20 and Permit2 allowances for the audited wallet, each annotated with risk flags (e.g. unlimited allowance, unknown spender, stale usage), the spender address, token details, and a pre-built unsigned revoke transaction payload ready to sign and broadcast.","failureModes":["Invalid wallet or token address format (must be 0x + 40 hex chars)","Unsupported chain value (only 'base' or 'ethereum' accepted)","Token or spender list exceeds 50 entries (400 error)","tokens × spenders product exceeds 200 (coverage cap)","RPC or indexer timeout for high lookback_blocks ranges","Payment failure or insufficient USDC balance (x402 protocol rejection)","No approvals found returns empty list, not an error"],"whenToPreferThis":"Use this endpoint when an agent needs to audit a specific wallet's live token spending permissions on Base or Ethereum, especially after a suspicious signature, on a security schedule, or when revoke-ready transaction payloads are needed. Prefer it over generic block explorer queries because it combines ERC-20 approval event scanning, direct Permit2 slot reads, risk classification, and unsigned revoke transaction generation in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:39:47.882Z","isFirstParty":false,"canonicalSlug":"tanod-chainpeek-token-approvals-audit-8287fced"}