# Flow Wallet Approval Audit

> Flow Wallet Approval Audit is a paid API for AI agents from flow-kg4x.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-23).

Audits a Base wallet's ERC-20 token approvals, grades each spender for safety, and returns a SAFE/REVIEW/EXPOSED verdict with a 0-100 score and revoke calldata for risky allowances.

## Facts

- Endpoint: POST https://flow-kg4x.vercel.app/api/wallet-check?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flow-wallet-approval-audit-4b1565be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_alouUXepxCeIC1a1tevv_

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 flow-wallet-approval-audit-4b1565be -d '<json body>'
```

Example prompt: Can you do a full approval-exposure audit on my Base wallet 0xAbC...123 and tell me if it's safe to fund, what the risk score is, and give me the revoke calldata for anything sketchy?

## When to prefer this

Use this endpoint when you need a one-shot, scored safety verdict on a Base wallet's ERC-20 approval exposure before funding or continuing to use it. It is purpose-built for Base, provides structured revoke calldata ready for broadcasting, and grades spenders with a dedicated safety engine — making it preferable to generic blockchain explorers or manual allowance checks when you need actionable, machine-readable risk output for $0.05 per audit.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Wallet has no ERC-20 allowances — returns SAFE with score 100 and empty allowance list
- Network issues fetching on-chain state from Base may cause timeout or partial results
- Unsupported token/spender pairs outside coverage may not be graded
- Payment failure (x402) prevents the audit from running

## How this service works

Use when an agent needs to know whether a Base wallet is safe to fund or keep using: an approval-exposure audit ($0.05). It reads the wallet's ERC-20 allowances (canonical token/spender pairs at the latest block; coverage stated in the report), grades every spender holding an allowance with the safety engine, flags unlimited approvals and approvals to EOAs, and returns SAFE / REVIEW / EXPOSED with a 0-100 score and the revoke calldata (approve(spender, 0)) for risky pairs. Body: { wallet }.

## Output

Returns a verdict of SAFE, REVIEW, or EXPOSED with a 0-100 safety score, a list of flagged ERC-20 allowances (token/spender pairs) with their risk grades, flags for unlimited approvals and approvals granted to EOAs, and ready-to-use revoke calldata (approve(spender, 0)) for each risky pair.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "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/flow-wallet-approval-audit-4b1565be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flow-kg4x.vercel.app](https://www.zero.xyz/host/flow-kg4x.vercel.app/llms.txt)
