{"uid":"cap_jCuizZOUy3zS_Z8QDVNCP","slug":"mint-intel-base-chain-contract-code-inspector-36cee8ff","name":"Mint Intel: Base Chain Contract Code Inspector","description":"Is a Base address a contract? eth_getCode: code size, keccak code hash, EOA vs contract, EIP-7702 delegated EOA (and its delegate), EIP-1167 minimal-proxy target, bytecode prefix; ?full=1 returns the whole deployed bytecode.","url":"https://mintintel.35-171-220-195.sslip.io/v1/base/code/:address?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"},"pathParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"0x-prefixed 20-byte EVM address"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{"full":{"type":"integer","maximum":1,"minimum":0,"description":"1 = include the full deployed bytecode (default 0: size, hash and prefix only)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["address","isContract","codeSizeBytes"],"properties":{"address":{"type":"string"},"isContract":{"type":"boolean"},"codeSizeBytes":{"type":"integer"}}}}}}},"responseSchema":null,"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_t9Zu-HuuFdVUNADKktIMS","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":"Inspects the bytecode of any Base address to determine if it's a contract or EOA, its code size, keccak hash, proxy type, and optionally its full deployed bytecode.","exampleAgentPrompt":"Can you check if the Base address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 is a smart contract or a regular wallet, and if it's a contract, what kind — is it a proxy or delegated EOA?","exampleUseCases":[{"title":"Verify NFT contract authenticity","prompt":"Before I interact with this Base address 0xAbCd1234abcd1234abcd1234abcd1234abcd1234 — can you tell me if it's actually a deployed contract, what its bytecode hash is, and whether it's a minimal proxy pointing somewhere else?"},{"title":"Detect smart account delegation","prompt":"I think this Base address 0x1111111111111111111111111111111111111111 might be an EIP-7702 delegated EOA — can you check what contract it delegates to?"},{"title":"Audit deployed contract bytecode","prompt":"Can you pull the full deployed bytecode for the Base contract at 0xBA12222222228d8Ba445958a75a0704d566BF2C8 so I can verify it matches what was audited?"}],"resultDescription":"Returns a JSON object containing the address, a boolean isContract flag, code size in bytes, keccak hash of the bytecode, a bytecode prefix, EOA vs contract classification, EIP-7702 delegation info (delegate address if applicable), EIP-1167 minimal proxy target address if applicable, and optionally the full deployed bytecode when full=1 is passed.","failureModes":["Invalid or malformed address format returns an error","Address not found on Base returns codeSizeBytes of 0 and isContract false (valid EOA)","Network or RPC timeout may return a 5xx error","Requesting full=1 on a very large contract may be slow or hit size limits"],"whenToPreferThis":"Use this endpoint when you need to classify a Base chain address as EOA or contract, detect proxy patterns (EIP-1167, EIP-7702), retrieve bytecode metadata, or fetch full deployed bytecode for auditing — specifically on the Base L2 network. Prefer this over Ethereum equivalents when the address is on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:41.054Z","isFirstParty":false,"canonicalSlug":"mint-intel-base-chain-contract-code-inspector-36cee8ff"}