{"uid":"cap_OYKafFot4eNRccJnmBaMP","slug":"tanod-chainpeek-contract-code-inspector-ae2d5cbc","name":"Tanod chainpeek – Contract Code Inspector","description":"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.","url":"https://tanod.dev/v1/chain/code?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NXpr41iJmR5vZ4WRxxV9q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns bytecode size, keccak hash, and EIP-1167/EIP-7702 proxy/delegation detection for an Ethereum, Base, or Robinhood Chain address","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Verify contract vs EOA before token transfer","prompt":"Before I interact with 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base, can you tell me if it's actually a contract and what its bytecode size and keccak hash are?"},{"title":"Detect minimal proxy clone in DeFi audit","prompt":"I'm auditing a DeFi protocol on Ethereum — can you check if 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f is an EIP-1167 minimal proxy clone and show me its bytecode hash?"},{"title":"Identify EIP-7702 delegation on Robinhood Chain","prompt":"Check the address 0x1234567890abcdef1234567890abcdef12345678 on Robinhood Chain and tell me if it has any EIP-7702 delegation set up and what the bytecode size is."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:52.023Z","isFirstParty":false,"canonicalSlug":"tanod-chainpeek-contract-code-inspector-ae2d5cbc"}