{"uid":"cap_J2vKvNNIKTODOBvkSZ6xE","slug":"evm-address-code-inspector-contract-vs-eoa-checker-a59ba4f5","name":"EVM Address Code Inspector (Contract vs EOA Checker)","description":"Is an address a contract or an EOA on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base)? Returns is_contract, deployed code size in bytes, and the keccak256 code hash (eth_getCode).","url":"https://webtools402.176-109-107-191.sslip.io/code","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Address (0x..)"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb"],"type":"string","description":"EVM network to read from (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OIa8IH-_ibZ3nWLDL4M6i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether an EVM address is a smart contract or an externally owned account (EOA) on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB, returning is_contract flag, deployed bytecode size, and keccak256 code hash.","exampleAgentPrompt":"Can you check if 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is a smart contract or a regular wallet on Ethereum, and tell me the bytecode size and code hash?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: is_contract (boolean indicating whether the address has deployed code), deployed code size in bytes, and the keccak256 hash of the deployed bytecode (from eth_getCode). If the address is an EOA, code size will be 0 and the hash will reflect empty code.","failureModes":["Invalid address format (not a valid 0x hex address) — likely returns a 4xx error","Unsupported network specified — only base, ethereum, arbitrum, optimism, polygon, bnb are valid","RPC timeout or node unavailability for the requested network — may return 5xx or timeout","Address not found / zero address edge cases — returns is_contract=false with size 0","Payment failure (x402 protocol) — returns 402 if USDC payment not settled"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, on-chain verification of whether an address is a deployed smart contract or a plain wallet (EOA) across the six most popular EVM chains. Ideal for pre-flight checks before interacting with an address (e.g., determining if you need ABI calls), for fraud/risk screening pipelines, or for enriching address metadata. Prefer this over a full transaction lookup when you only need code presence, size, and hash rather than transaction history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:52:02.910Z","isFirstParty":false}