# 402.com.tr Agent Wallet Audit (ERC-20 + Spend Permissions)

> 402.com.tr Agent Wallet Audit (ERC-20 + Spend Permissions) is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Returns a combined audit of a Base wallet's ERC-20 token approvals and agent-era spend permissions in a single call, providing a unified drain-surface verdict with a revoke queue.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/agent-wallet-audit
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402-com-tr-agent-wallet-audit-erc-20-spend-permissions-c9481e94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ubm03CJNkVNvby5PrCf_t

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 402-com-tr-agent-wallet-audit-erc-20-spend-permissions-c9481e94
```

Example prompt: Before I move funds into my agent wallet, can you audit 0xAbCd...1234 on Base and show me every ERC-20 approval AND spend permission that could drain it, plus which ones I should revoke?

## When to prefer this

Choose this endpoint when you need a holistic security picture of a Base wallet that is used by or with AI agents — it is the only single call that combines classic ERC-20 token approvals (pull-based) with Base Account spend permissions (agent-era scoped recurring allowances). Prefer it over approval-only or spend-permission-only tools when the wallet holds real funds and you need to know the complete authorization surface before depositing or operating.

## Known failure modes

- Invalid or malformed wallet address returns an error with no audit data
- Wallet address has no on-chain history — returns empty approval/permission lists
- RPC or indexer timeout causes partial or failed data retrieval
- Network outage on Base prevents fetching current state
- Payment of $0.06 USDC not completed, request rejected by x402 payment gate

## How this service works

🆕 The complete fund-movement authority on a Base wallet in one call: ERC-20 approvals (a spender you approved can pull the token) PLUS Base Account spend permissions (the agent-era scoped recurring allowance) — one drain-surface verdict with the ERC-20 revoke queue to act on. Approval tools miss the spend permissions; spend-permission tools miss the approvals. The only combined check for agent wallets that must know their whole exposure before holding funds.

## Output

A combined report covering all active ERC-20 token approvals (spenders, amounts, tokens at risk) and Base Account spend permissions (scoped recurring allowances) for the queried wallet, culminating in a unified drain-surface verdict and a prioritized ERC-20 revoke queue listing the riskiest authorizations to act on.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "wallet"
     ],
     "properties": {
      "wallet": {
       "type": "string",
       "description": "Wallet address"
      }
     }
    }
   },
   "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/402-com-tr-agent-wallet-audit-erc-20-spend-permissions-c9481e94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
