# Tanod chainpeek – Contract Code Inspector

> Tanod chainpeek – Contract Code Inspector is a paid API for AI agents from tanod.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns bytecode size, keccak hash, and EIP-1167/EIP-7702 proxy/delegation detection for an Ethereum, Base, or Robinhood Chain address

## Facts

- Endpoint: POST https://tanod.dev/v1/chain/code?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-contract-code-inspector-ae2d5cbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OYKafFot4eNRccJnmBaMP

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-contract-code-inspector-ae2d5cbc -d '<json body>'
```

Example prompt: Can you check whether 0x4Fabb145d64652a948d72533023f6E7A623C7C53 on Ethereum has contract code, and if so give me its bytecode size, keccak hash, and whether it's an EIP-1167 minimal proxy or an EIP-7702 delegation?

## When to prefer this

Choose this endpoint when you need on-chain bytecode introspection specifically for Ethereum, Base, or Robinhood Chain addresses, especially when you need to detect EIP-1167 minimal proxy clones or EIP-7702 delegations. It is purpose-built for contract code fingerprinting with a pay-per-call micropayment model suited for agent workflows. Prefer it over general block explorers when you need structured, machine-readable output with proxy pattern detection rather than human-readable HTML pages.

## Known failure modes

- Invalid address format (not matching 0x + 40 hex) returns a validation error
- Unsupported chain value returns an enum validation error
- Address is an EOA with no bytecode — returns size 0 and no hash
- RPC node timeout or chain unavailability causes a transient error
- Network fee payment failure (x402) prevents the call from completing

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

Returns the bytecode size in bytes, the keccak256 hash of the deployed bytecode, a boolean or target address indicating whether the contract is an EIP-1167 minimal proxy clone, and a boolean or target address indicating whether it is an EIP-7702 delegation. If the address has no code (i.e. is an EOA), the size will be zero and no hash or proxy flags will be present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "robinhood"
   ],
   "type": "string",
   "description": "ethereum, base or robinhood (Robinhood Chain, chain id 4663)."
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "Account or contract address (0x + 40 hex)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "eip1167_minimal_proxy",
  "note": "code_prefix is the first 64 bytes; for other proxy types (EIP-1967, beacon, diamond) use /v1/chain/proxy",
  "block": "latest",
  "chain": "base",
  "address": "0xcDAC0d6c6C59727a65F871236188350531885C43",
  "code_hash": "0x7dd6ffe6daf4e82054c91becd71b8c9ba0a135f0f403da1ef7b0f81bb8ba4408",
  "code_size": 45,
  "code_prefix": "0x363d3d373d3d3d363d73a4e46b4f701c62e14df11b48dce76a7d793cd6d75af43d82803e903d91602b57fd5bf3",
  "is_contract": true,
  "eip7702_delegate": null,
  "is_eip1167_proxy": true,
  "is_eip7702_delegated": false,
  "code_prefix_truncated": false,
  "eip1167_implementation": "0xA4e46b4f701c62e14DF11B48dCe76A7d793CD6d7"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-contract-code-inspector-ae2d5cbc/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)
