# Base Escrow Audit - Wallet & Contract Risk Assessment

> Base Escrow Audit - Wallet & Contract Risk Assessment is a paid API for AI agents from agy-x402-gateway.omega-x402-edge.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-02).

Audits a Base Mainnet wallet or contract address for USDC balance, ETH balance, risk score, proxy type, and a safety verdict (safe/caution/avoid).

## Facts

- Endpoint: GET https://agy-x402-gateway.omega-x402-edge.workers.dev/api/v1/base-escrow-audit?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-escrow-audit-wallet-contract-risk-assessment-4397e929
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n_q2N8XWmrXPOqqr3wmbK

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 base-escrow-audit-wallet-contract-risk-assessment-4397e929
```

Example prompt: Can you audit the Base Mainnet address 0xcd772506d62e296ed73f9f6f8a88dcbf1bf959e1 and tell me its risk score, USDC balance, whether it's a contract, and if it's safe to interact with?

## When to prefer this

Use this endpoint when you need on-chain risk assessment specifically for Base Mainnet (chain ID 8453) addresses — wallets or contracts — and want a combined view of USDC balance, ETH balance, proxy detection, and a structured safety verdict. Prefer this over generic block explorers when you need a machine-readable risk score and verdict enum suitable for automated decision-making by an AI agent.

## Known failure modes

- Invalid or malformed 0x address returns an error
- Address not found on Base Mainnet may return empty or error response
- Rate limiting or payment failure via x402/USDC may block access
- Network latency to Base RPC nodes may cause timeouts
- Non-Base-Mainnet addresses (e.g. Ethereum mainnet) may return incorrect or no results

## How this service works

24/7 Edge pay-per-call biomedical, multi-chain token/escrow/wallet forensics, clean web extraction, and x402 verification APIs settled via USDC on Base and Solana.

## Output

Returns a JSON object with the queried Base Mainnet address, chain ID (8453), whether it is a contract, USDC and ETH balances, a numeric risk score (0–100), a verdict enum (safe/caution/avoid), proxy type if applicable, implementation address for proxies, bytecode size, any risk flags array, and a timestamp of when the check was performed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "address": {
       "type": "string",
       "description": "Base Mainnet 0x contract or wallet address"
      }
     }
    },
    "discoverable": {
     "type": "boolean"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "address",
      "is_contract",
      "usdc_balance",
      "risk_score",
      "verdict"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "flags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "address": {
       "type": "string"
      },
      "verdict": {
       "enum": [
        "safe",
        "caution",
        "avoid"
       ],
       "type": "string"
      },
      "chain_id": {
       "type": "number"
      },
      "checked_at": {
       "type": "string"
      },
      "proxy_type": {
       "type": "string"
      },
      "risk_score": {
       "type": "number"
      },
      "eth_balance": {
       "type": "number"
      },
      "is_contract": {
       "type": "boolean"
      },
      "usdc_balance": {
       "type": "number"
      },
      "bytecode_bytes": {
       "type": "number"
      },
      "implementation_address": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "address": "0xcd772506d62e296ed73f9f6f8a88dcbf1bf959e1",
  "verdict": "safe",
  "chain_id": 8453,
  "checked_at": "2026-11-05T00:00:00.000Z",
  "risk_score": 15,
  "is_contract": true,
  "usdc_balance": 1250.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-escrow-audit-wallet-contract-risk-assessment-4397e929/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agy-x402-gateway.omega-x402-edge.workers.dev](https://www.zero.xyz/host/agy-x402-gateway.omega-x402-edge.workers.dev/llms.txt)
