# x402 On-Chain Wallet Audit

> x402 On-Chain Wallet Audit is a paid API for AI agents from x402-audit.tatschluizguilherme.workers.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-29).

Returns native ETH balances, gas estimates, and recent transactions for a wallet address across Optimism, Base, and Ethereum Mainnet in a single call

## Facts

- Endpoint: GET https://x402-audit.tatschluizguilherme.workers.dev/audit?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-on-chain-wallet-audit-62ec6d06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ha1V1QJgV5VbUG41cs_6q

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 x402-on-chain-wallet-audit-62ec6d06
```

Example prompt: Can you audit the wallet 0xAbC123...def and give me its ETH balances, recent transactions, and current gas costs across Optimism, Base, and Ethereum Mainnet?

## When to prefer this

Choose this endpoint when you need a holistic, multi-chain snapshot of a wallet in a single API call — balances, gas, and recent activity across OP, Base, and Mainnet simultaneously. Prefer this over individual balance or transaction endpoints when the use case requires a comprehensive audit rather than a single-chain point query.

## Known failure modes

- Invalid or malformed wallet address returns 400 error
- RPC node timeout on one or more chains may cause partial results or 504
- Address with no on-chain activity returns empty transaction list
- Unsupported chain identifier returns validation error
- Payment failure (x402) blocks request before execution

## How this service works

Pay-per-call on-chain API for AI agents and developers: wallet audits, token safety audits (honeypot detection), live gas prices, token prices, transaction receipts, balances, ENS resolution, block data, ERC-20 allowances, transaction simulation, swap quotes and multicall batches — all computed on-chain via public RPCs (no external market API). Pay per request in USDC on Base via the x402 exact scheme (EIP-3009 transferWithAuthorization). No API key, no signup, no subscription.

## Output

A structured JSON response containing native ETH balances per chain (Optimism, Base, Ethereum Mainnet), ERC-20 token balances, current gas prices on each network, and a list of recent transactions (hashes, block numbers, values, status) for the queried wallet address.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chains": {
   "op": {
    "eth": "0.1",
    "usdc": "100",
    "sUsdc": "50",
    "recentTxs": [],
    "gasSpentUsd": 1.2
   }
  },
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-on-chain-wallet-audit-62ec6d06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.tatschluizguilherme.workers.dev](https://www.zero.xyz/host/x402-audit.tatschluizguilherme.workers.dev/llms.txt)
