Api Endpoint

Tanod chainpeek

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 an agent must know whether it sent the tokens or someone pulled them.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/chain/drain-check
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
wallet-drain, token-outflows, wallet-security, ERC20, chainpeek, chain, drain, check, ENS

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "2000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
901 ms
Average latency
601 ms
HTTP status
204
Last checked
Reachability
100% over 20 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "chain": {
          "description": "base or ethereum (the chains with built-in USDC and USDT here).",
          "enum": [
            "base",
            "ethereum"
          ],
          "type": "string"
        },
        "wallet": {
          "description": "The wallet to check (0x + 40 hex).",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        },
        "tokens": {
          "anyOf": [
            {
              "items": {
                "pattern": "^(USDC|USDT|0x[0-9a-fA-F]{40})$",
                "type": "string"
              },
              "maxItems": 5,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "1 to 5 tokens: USDC, USDT or contract addresses. Default: USDC and USDT."
        },
        "lookback_s": {
          "anyOf": [
            {
              "maximum": 86400,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Seconds of history read (1-86,400; default 86,400, 24 hours), cut by block timestamps. Public nodes serve logs only about 8,000 blocks deep: about 27 minutes on Base today (the whole window on Ethereum); `history.from_time`, `history.seconds` and `history.complete` say what was read. Not with `lookback_blocks`."
        },
        "lookback_blocks": {
          "anyOf": [
            {
              "maximum": 2000,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Instead of `lookback_s`: the latest blocks read, in one range (1-2,000; 2,000 is about 6.7 minutes on Base at 0.2 s and 6.7 hours on Ethereum)."
        }
      },
      "required": [
        "chain",
        "wallet"
      ],
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "chain": {
              "description": "base or ethereum (the chains with built-in USDC and USDT here).",
              "enum": [
                "base",
                "ethereum"
              ],
              "type": "string"
            },
            "lookback_blocks": {
              "default": 2000,
              "description": "Latest blocks read (1-2,000; default 2,000, about 67 minutes on Base and 6.7 hours on Ethereum).",
              "maximum": 2000,
              "minimum": 1,
              "type": "integer"
            },
            "tokens": {
              "anyOf": [
                {
                  "items": {
                    "pattern": "^(USDC|USDT|0x[0-9a-fA-F]{40})$",
                    "type": "string"
                  },
                  "maxItems": 5,
                  "minItems": 1,
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "1 to 5 tokens: USDC, USDT or contract addresses. Default: USDC and USDT."
            },
            "wallet": {
              "description": "The wallet to check (0x + 40 hex).",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            }
          },
          "required": [
            "chain",
            "wallet"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/drain-check",
          "properties": {
            "chain": {
              "type": "string"
            },
            "counts": {
              "type": "object"
            },
            "history": {
              "type": "object"
            },
            "limits": {
              "type": "array"
            },
            "nonce": {
              "type": "object"
            },
            "reasons": {
              "type": "array"
            },
            "risk": {
              "type": "string"
            },
            "rpc_calls": {
              "type": "integer"
            },
            "rules": {
              "type": "object"
            },
            "tokens": {
              "type": "array"
            },
            "transfers": {
              "type": "array"
            },
            "transfers_total": {
              "type": "integer"
            },
            "verdict": {
              "type": "string"
            },
            "wallet": {
              "type": "string"
            },
            "wallet_code": {
              "type": "object"
            }
          },
          "required": [
            "chain",
            "wallet",
            "verdict",
            "risk",
            "reasons",
            "nonce",
            "tokens",
            "transfers",
            "transfers_total",
            "counts",
            "history",
            "rules",
            "limits"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}