{"uid":"cap__Upt_xghLWVwGSZkvowyz","slug":"arbitrum-contract-detection-556e92d0","name":"Arbitrum Contract Detection","description":"Check whether a 0x address on Arbitrum One is a smart contract or a plain wallet: bytecode size, and whether it is an EIP-1167 minimal proxy and which implementation it points to. Use before sending funds or approving a spender; for a fuller risk verdict use check_counterparty. A malformed address is rejected with 400, uncharged.","url":"https://agent-data-tools.revmesh2074.workers.dev/arb/is-contract?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0xaf88d065e77c8cC2239327C5EDb3A432268e5831"],"description":"0x address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"chainId":{"type":"number"},"codeBytes":{"type":"number"},"isContract":{"type":"boolean"},"minimalProxy":{"type":"boolean"},"implementation":{}}}}}}},"responseSchema":{"type":"json","example":{"chain":"Arbitrum One","address":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","chainId":42161,"codeBytes":1855,"isContract":true,"minimalProxy":false,"implementation":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_l49O8ZIN7UaqrkUpPYcYT","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 a given Ethereum address is a smart contract on Arbitrum One, returning contract metadata including code size, proxy type, and implementation address.","exampleAgentPrompt":"Is 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 a smart contract on Arbitrum One, and if so, is it a proxy with an implementation address?","exampleUseCases":[{"title":"Pre-transfer contract safety check","prompt":"Before I send funds to 0x1234abcd5678efab1234abcd5678efab1234abcd on Arbitrum, can you confirm whether it's an externally owned wallet or a smart contract?"},{"title":"DeFi protocol proxy verification","prompt":"I want to know if 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 on Arbitrum One is a minimal proxy contract and what its implementation address is."},{"title":"Contract code size audit","prompt":"How many bytes of bytecode does the contract at 0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee on Arbitrum have? I need to know if it's a real deployed contract."}],"resultDescription":"Returns a JSON object with the chain name ('Arbitrum One'), chainId (42161), the queried address, a boolean isContract indicating whether the address has deployed bytecode, codeBytes with the size of the bytecode, a minimalProxy boolean indicating EIP-1167 proxy pattern, and an implementation field (address string or null) pointing to the underlying logic contract if it is a proxy.","failureModes":["Invalid or malformed address format returns an error","Address with no on-chain activity may return isContract: false even if recently deployed","Network timeout or RPC unavailability for Arbitrum may cause failure","Non-0x-prefixed address strings may be rejected by schema validation"],"whenToPreferThis":"Use this endpoint when you specifically need to classify an address on Arbitrum One as a contract vs. EOA, or to detect proxy patterns (minimal proxy / EIP-1167) and resolve the underlying implementation. Choose this over generic Ethereum tools when the target chain is Arbitrum, and prefer it over block explorers when you need a machine-readable, pay-per-call result with no API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:39:19.209Z","isFirstParty":false,"canonicalSlug":"arbitrum-contract-detection-556e92d0"}