{"uid":"cap_jUNh3ggAOF_6ePfjVuDx7","slug":"base-contract-7527dd1c","name":"base-contract","description":"Contract introspection on Base mainnet - is it a contract, bytecode size, best-effort owner(), and whether it's a proxy.","url":"https://x402.agentindex.world/base/contract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","title":"Address"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WPqFRXv_vOA5JdOrXWTQm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Introspects a Base mainnet address to determine if it's a contract, its bytecode size, its best-effort owner, and whether it's a proxy contract.","exampleAgentPrompt":"Is 0x4200000000000000000000000000000000000006 a smart contract on Base mainnet, and if so is it a proxy — also tell me the bytecode size and owner if you can find one.","exampleUseCases":[{"title":"Verify contract before DeFi interaction","prompt":"Before I interact with 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, can you check if it's actually a deployed smart contract, whether it's a proxy, and who the owner is?"},{"title":"Audit proxy upgradeability risk","prompt":"I'm reviewing this Base mainnet address 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD — is it a proxy contract? I want to know if someone could upgrade or change its logic."},{"title":"Identify contract owner for governance","prompt":"Can you look up the owner of the contract at 0x18Dd386cB3635Be50Bb2ecD7b50f15B9e27Fa76c on Base mainnet? I need to know who controls it before submitting a governance proposal."}],"resultDescription":"Returns whether the address is a contract (boolean), the bytecode size in bytes, a best-effort owner address (from calling owner() on the contract, if available), and whether the contract appears to be a proxy (e.g. EIP-1967 or similar pattern).","failureModes":["Address is an EOA (not a contract) — returns is-contract: false with no bytecode or owner","Contract does not expose an owner() function — owner field returns null or is omitted","Proxy detection is best-effort and may produce false negatives for non-standard proxy patterns","Invalid or malformed address input causes a 400-level error","Network congestion on Base RPC may cause slow or failed responses"],"whenToPreferThis":"Use this endpoint when you need a comprehensive single-call summary of a Base mainnet address's contract status, including proxy detection and ownership — rather than making separate calls for bytecode, owner, or proxy pattern checks. Prefer this over base-code when you also need ownership or proxy info in one round trip.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:50:17.014Z","isFirstParty":false,"canonicalSlug":"base-contract-7527dd1c"}