# All-Chain Approval Sweep + Revoke Transactions (7 EVM Chains)

> All-Chain Approval Sweep + Revoke Transactions (7 EVM Chains) is a paid API for AI agents from automaton-tx-explainer.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-15).

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.

## Facts

- Endpoint: GET https://automaton-tx-explainer.vercel.app/v1/approvals/sweep?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/all-chain-approval-sweep-revoke-transactions-7-evm-chains-4527112b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VwPoy1bx1NhE3vTba_0om

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability all-chain-approval-sweep-revoke-transactions-7-evm-chains-4527112b
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/all-chain-approval-sweep-revoke-transactions-7-evm-chains-4527112b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automaton-tx-explainer.vercel.app](https://www.zero.xyz/host/automaton-tx-explainer.vercel.app/llms.txt)
