# Tanod chainpeek Wallet Drain Check

> Tanod chainpeek Wallet Drain Check is a paid API for AI agents from tanod.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Checks whether tokens were pulled out of a wallet by someone other than the wallet owner on Base or Ethereum, returning a drain verdict, nonce evidence, and transaction details.

## Facts

- Endpoint: POST https://tanod.dev/v1/chain/drain-check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-wallet-drain-check-a5c8a3c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9uABInryEZXqBGq9UjgIk

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 tanod-chainpeek-wallet-drain-check-a5c8a3c8 -d '<json body>'
```

Example prompt: Can you check whether someone drained USDC from the wallet 0xAbC123...def on Base in the last 2000 blocks — I need to know if the tokens left because the owner sent them or because someone pulled them without authorization?

## When to prefer this

Use this endpoint when a wallet's token balance has dropped unexpectedly and an agent needs to definitively determine whether the wallet owner initiated the outflow or whether tokens were pulled by an external party — distinguishing a drain/hack from a legitimate self-transfer. Prefer it over generic block explorers when you need a structured, machine-readable verdict with nonce-based evidence rather than raw transaction lists. Best suited for Base or Ethereum chains where USDC and USDT are the primary tokens of concern.

## Known failure modes

- Invalid wallet address format (must be 0x + 40 hex chars)
- Unsupported chain specified (only 'base' or 'ethereum' accepted)
- lookback_blocks out of range (must be 1–2000)
- Token contract address not valid ERC-20 on the specified chain
- RPC timeout or chain node unavailability
- No activity found in lookback window (empty result, not an error)
- Payment failure or insufficient USDC balance for x402 fee

## How this service works

chainpeek (Tanod) wallet drain check: were tokens pulled out in transactions the wallet did not send? Verdict, nonce and evidence, on Base or Ethereum. Use when a wallet's token balance dropped and a…

## Output

Returns a drain verdict (drained or not), the wallet nonce evidence used to distinguish owner-sent vs. externally pulled transactions, and a list of suspicious token transfer events with transaction hashes, block numbers, token addresses, amounts, and the address that initiated each transfer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "description": "base or ethereum (the chains with built-in USDC and USDT here)."
  },
  "tokens": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string",
      "pattern": "^(USDC|USDT|0x[0-9a-fA-F]{40})$"
     },
     "maxItems": 5,
     "minItems": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "1 to 5 tokens: USDC, USDT or contract addresses. Default: USDC and USDT."
  },
  "wallet": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "The wallet to check (0x + 40 hex)."
  },
  "lookback_blocks": {
   "type": "integer",
   "default": 2000,
   "maximum": 2000,
   "minimum": 1,
   "description": "Latest blocks read (1-2,000; default 2,000, about 67 minutes on Base and 6.7 hours on Ethereum)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-wallet-drain-check-a5c8a3c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
