# Kette Wallet Allowance Scanner

> Kette Wallet Allowance Scanner is a paid API for AI agents from kette.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-11).

Reads ERC-20 Approval events for a wallet, resolves current allowances via live on-chain calls, weighs them against actual balances, and returns revocation call data for each risky approval.

## Facts

- Endpoint: POST https://kette.halowerk.com/wallet/allowances?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kette-wallet-allowance-scanner-a749fdff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GHF4F4A3spo5N-rGuhfi2

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 kette-wallet-allowance-scanner-a749fdff -d '<json body>'
```

Example prompt: Scan my Ethereum wallet 0xABC...123 for all active ERC-20 token approvals, show me which ones are risky given my current balances, and give me the call data I'd need to revoke each one.

## When to prefer this

Use this endpoint when you need a live, risk-weighted view of a wallet's ERC-20 allowances with ready-to-use revocation call data — particularly valuable for security audits, post-incident triage, or routine hygiene checks. Prefer it over static block-explorer scraping because it resolves the current allowance on-chain rather than relying on stale event data, and it contextualizes risk by comparing allowances to actual held balances rather than flagging all unlimited approvals equally. It does not sign or broadcast — it only provides the data the caller needs to make revocation decisions.

## Known failure modes

- Wallet address is invalid or not checksummed — returns validation error
- Chain not supported — returns unsupported network error
- Block window is too wide or not specified — may return partial results from bounded scan window
- RPC connectivity issues cause allowance resolution to fail for some tokens
- No Approval events found in the block window — returns empty list even if older approvals exist outside the window
- Rate limiting or payment failure — returns 402 or rate-limit error

## How this service works

Reads Approval events of one wallet from the chain, resolves the CURRENT allowance for every token and spender pair with a direct call, and weighs it against the balance actually held. An unlimited approval on an empty balance carries no risk and is reported as such. Every entry carries ready-made call data to revoke it - this service never signs and never sends anything, the caller decides. Limits: Approval events are read from a bounded block window, not from the whole chain history; the windo

## Output

Returns a list of token-spender allowance entries for the wallet, each including the token contract, spender address, current approved allowance (resolved via live eth_call), the wallet's current balance of that token, a risk assessment comparing allowance to balance, and pre-built call data to revoke the approval. Entries where the wallet holds no balance despite an unlimited approval are flagged as low-risk.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain identifier, for example ethereum, base, arbitrum, optimism, polygon or bsc."
  },
  "wallet": {
   "type": "string",
   "description": "Wallet address, 0x followed by 40 hex characters."
  },
  "min_value_usd": {
   "type": "number",
   "minimum": 0,
   "description": "Only report entries whose value at risk reaches this amount. Entries without a known price are always kept."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kette-wallet-allowance-scanner-a749fdff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kette.halowerk.com](https://www.zero.xyz/host/kette.halowerk.com/llms.txt)
