← Back to directory

Get the deployed bytecode size and hash of an address, with EIP-1167 and EIP-7702 detection (Tanod)

https://tanod.dev/v1/chain/code

Overview

What is deployed at an address (eth_getCode): `is_contract`, `code_size` in bytes, the keccak256 `code_hash`, a `code_prefix` of the first 64 bytes (never the full code) and a `kind`: none (empty), contract, eip1167_minimal_proxy (with its `eip1167_implementation`) or eip7702_delegation (a wallet that delegates to a contract, with its `eip7702_delegate`). Body: `{"chain": "base", "address": "0xcDAC0d6c6C59727a65F871236188350531885C43"}`. Detects EIP-1167 clones (also the PUSH

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/onchain
Provider tanod
Source bazaar
Indexed 2026-10-10 09:29:53

Health

Status healthy
Latency (p50) 441ms
Uptime (30d) 94.6%
Reliability Score 92.3/100
Last Checked 2026-10-31 07:05:59
Last Healthy 2026-10-31 07:05:59
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "address": "0xcDAC0d6c6C59727a65F871236188350531885C43", "chain": "base" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

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

Also available via

MPP
healthy
$1000.00
on
View details →