{"uid":"cap_VwPoy1bx1NhE3vTba_0om","slug":"all-chain-approval-sweep-revoke-transactions-7-evm-chains-4527112b","name":"All-Chain Approval Sweep + Revoke Transactions (7 EVM Chains)","description":"Use when: which approvals on this wallet should I revoke, on every EVM chain? Sweeps a wallet on Base, Ethereum, BNB, Arbitrum, Optimism, Polygon and Avalanche for live ERC-20 allowances and NFT setApprovalForAll approvals (GoPlus + explorer logs, re-read onchain), ranks them by risk (unlimited, unknown spender, unverified or non-contract spender, flagged) and returns a ready-to-sign revoke tx (to, data, chainId, value 0) for each risky one. Per-chain status; partial results if a chain fails.","url":"https://automaton-tx-explainer.vercel.app/v1/approvals/sweep?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":"EVM wallet address (owner)"}}}},"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_wlwAty28tYYeMP9wy0f_a","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":"Scans a wallet across 7 EVM chains for risky ERC-20 and NFT approvals, ranks them by risk level, and returns ready-to-sign revoke transactions for each dangerous allowance.","exampleAgentPrompt":"Can you scan my wallet 0xAbC1234567890abcdef1234567890abcdef1234 across all 7 EVM chains and give me the revoke transactions for any risky token or NFT approvals you find?","exampleUseCases":[{"title":"Post-hack emergency wallet audit","prompt":"My wallet might have been compromised — can you sweep 0xAbC1234567890abcdef1234567890abcdef1234 across Base, Ethereum, BNB, Arbitrum, Optimism, Polygon and Avalanche for any dangerous token or NFT approvals and give me the signed revoke transactions to fix them right away?"},{"title":"Routine DeFi hygiene cleanup","prompt":"I've been using DeFi for a while and want to clean up old approvals. Can you check wallet 0xAbC1234567890abcdef1234567890abcdef1234 for unlimited or sketchy ERC-20 and NFT allowances across all supported chains and tell me which ones to revoke?"},{"title":"Security audit before transferring wallet","prompt":"Before I move funds out of 0xAbC1234567890abcdef1234567890abcdef1234, can you scan all 7 EVM chains for any risky spender approvals or setApprovalForAll NFT grants and give me revoke txs for the flagged ones?"}],"resultDescription":"Returns per-chain results listing all live ERC-20 and NFT approvals found, each annotated with a risk tier (unlimited allowance, unknown spender, unverified/non-contract spender, or flagged). For every risky approval, a ready-to-sign revoke transaction object is included with fields: to (spender contract), data (calldata), chainId, and value (0). Also includes a per-chain status field so partial results are returned if any chain fails.","failureModes":["Chain-level failure: if one of the 7 chains is unreachable, partial results are returned for the others with an error status on the failed chain","Invalid address: if the address parameter does not match the 0x[40 hex chars] pattern, the call is rejected","No approvals found: wallet has no live approvals, returns empty lists per chain","GoPlus or explorer rate limits: may cause incomplete data for specific chains","Stale data: event logs may briefly lag behind the latest blockchain state"],"whenToPreferThis":"Choose this endpoint when you need a single call to audit and remediate token/NFT approvals across all 7 major EVM chains simultaneously. It is the right choice when the user needs ready-to-sign revoke transactions — not just an informational list — and when cross-chain coverage (Base, Ethereum, BNB, Arbitrum, Optimism, Polygon, Avalanche) is required. Prefer single-chain endpoints (e.g. BNB Token Approval Check, Arbitrum Token Approval Check) when the user only cares about one specific chain, as those are faster and cheaper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:30:29.503Z","isFirstParty":false,"canonicalSlug":"all-chain-approval-sweep-revoke-transactions-7-evm-chains-4527112b"}