{"uid":"cap_gOuGfVdz2tKA7PR9AFoeU","slug":"vextorium-evm-contract-detector-c305a336","name":"Vextorium EVM Contract Detector","description":"558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/evm-is-contract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb","avalanche","gnosis","line","scroll","sonic","unichain"],"type":"string","description":"Chain (default base)"}}},"responseSchema":{"type":"json","example":{"type":"contrato","bytes":1852,"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","code_hash":"0xa6705a10bb756b5dea144591118be77d7af0c3eee3bf2dfe2583dcb0364fefab","is_contract":true}},"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_PnqiJE9XaK5AmalgHOa1M","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":"Determines whether an EVM address is a smart contract or an EOA wallet, returning bytecode size, code hash, EIP-7702 delegation info, and EIP-1167 minimal proxy detection across 12 major EVM chains.","exampleAgentPrompt":"Can you check if 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is a smart contract or a regular wallet, and if it is a contract, give me the bytecode size and code hash?","exampleUseCases":[{"title":"Pre-interaction contract safety check","prompt":"Before I interact with 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum, can you verify whether it's a smart contract or a plain wallet, and tell me if it looks like a proxy?"},{"title":"DeFi integration address validation","prompt":"I'm building a DeFi integration and need to confirm that 0x4200000000000000000000000000000000000006 on Optimism is actually a deployed contract — can you get me the bytecode size and code hash?"},{"title":"EIP-7702 delegation detection","prompt":"Can you check if the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum shows any EIP-7702 delegation or is just a regular EOA wallet?"}],"resultDescription":"Returns a JSON object with: the address, the network it was checked on, a boolean is_contract indicating whether the address is a smart contract, the bytecode size in bytes, the keccak256 code hash, and the contract type string (e.g. 'contrato', proxy classification). Returns null for wallet/EOA fields where not applicable.","failureModes":["Invalid or malformed EVM address returns an error response","Unsupported network name returns a validation error","Address not found or zero-address edge cases may return is_contract: false","Network connectivity issues to the target chain RPC may cause timeouts","Rate limiting or payment failures (x402) if quota is exceeded"],"whenToPreferThis":"Use this endpoint when you need reliable, multi-chain EVM address type detection including EIP-1167 minimal proxy and EIP-7702 delegation classification, which most generic blockchain explorers do not surface. Prefer this over manually querying eth_getCode RPC calls when you need structured output with bytecode metadata across 12 chains in a single consistent API. Ideal for agents performing security checks, DeFi routing logic, or address enrichment pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:57:51.923Z","isFirstParty":false,"canonicalSlug":"vextorium-evm-contract-detector-c305a336"}