{"uid":"cap_CJaW2wDosmjy0fN0fMYWR","slug":"base-mainnet-contract-inspector-fb11fdae","name":"Base Mainnet Contract Inspector","description":"Inspect Base mainnet contract bytecode, common token metadata, and ERC-165, ERC-721, and ERC-1155 interface signals at one resolved block.","url":"https://apiacre.com/v1/crypto/base-contract-inspect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contract":{"type":"string"},"block_tag":{"enum":["latest","safe","finalized"],"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"code":{"sha256":"98d785fcb1bf847f287adc2310759fd94cc13e754b974bc72131382e8266f607","sizeBytes":1852},"block":{"hash":"0x84d697381027abac69728893f2428050d4600473cc00d7e8b8d4ea6365a3656f","number":49834076,"timestamp":"2026-08-11T14:11:39+00:00","requestedTag":"safe"},"found":true,"source":"https://docs.base.org/base-chain/quickstart/connecting-to-base","network":"eip155:8453","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","readOnly":true,"warnings":["ERC-165 interface support was unavailable or non-standard","ERC-721 interface support was unavailable or non-standard","ERC-1155 interface support was unavailable or non-standard"],"disclaimer":"Point-in-time public Base state only. Token methods are optional and untruste...","interfaces":[{"standard":"ERC-165","supported":null,"interfaceId":"0x01ffc9a7"}],"explorerUrl":"https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenMetadata":{"name":"USD Coin","status":"complete","symbol":"USDC","decimals":6,"totalSupplyAtomic":"4194970321976430"},"standardSources":{"ERC-20":"https://eips.ethereum.org/EIPS/eip-20","ERC-165":"https://eips.ethereum.org/EIPS/eip-165","ERC-721":"https://eips.ethereum.org/EIPS/eip-721","ERC-1155":"https://eips.ethereum.org/EIPS/eip-1155"},"networkRequestsMade":2,"transactionBroadcast":false},"meta":{"cached":false,"sources":[],"warnings":[],"duration_ms":42,"next_actions":[]},"service":"crypto.base-contract-inspect","version":"1","request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"}},"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_atkpQLVnnNRTHFY8zByo3","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":"Inspects Base mainnet smart contract bytecode, common token metadata, and ERC-165/ERC-721/ERC-1155 interface signals at a single resolved block.","exampleAgentPrompt":"Can you inspect the Base mainnet contract at 0x1234...abcd and tell me what token standard it implements — ERC-721, ERC-1155, or something else — along with its name, symbol, and bytecode signals at the latest resolved block?","exampleUseCases":[{"title":"NFT contract standard detection","prompt":"Check this Base contract address 0xAbCd...1234 and tell me whether it's an ERC-721 or ERC-1155 NFT contract, and pull its name and symbol metadata too."},{"title":"Token metadata lookup for DeFi integration","prompt":"I need to integrate a Base mainnet token at address 0xDeFi...5678 — can you inspect it and give me its name, symbol, decimals, and confirm what ERC interfaces it supports?"},{"title":"Contract bytecode audit preparation","prompt":"Before I audit this Base mainnet contract at 0xAuDiT...9abc, can you pull its bytecode and tell me which ERC-165 interfaces it signals at the current resolved block?"}],"resultDescription":"Returns the contract's raw bytecode, common token metadata fields (name, symbol, decimals, totalSupply where applicable), ERC-165 supportsInterface query results, and boolean signals indicating ERC-721 and ERC-1155 compliance — all anchored to a single resolved Base mainnet block for consistency.","failureModes":["Contract address not found or is an EOA (externally owned account), returning empty bytecode","Invalid or malformed contract address format","Block number out of range or not yet finalized","Contract does not implement ERC-165, so interface signals cannot be detected","RPC timeout or Base mainnet node unavailability","Rate limiting if called too frequently"],"whenToPreferThis":"Choose this endpoint when you need a one-shot snapshot of a Base mainnet contract's type, metadata, and interface compliance at a consistent block — particularly useful for NFT marketplaces, DeFi integrations, or contract auditing workflows that need to classify unknown contract addresses without writing custom RPC calls. Prefer it over raw eth_call endpoints when you want pre-computed ERC-165/721/1155 interface detection bundled with token metadata in a single response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:57.928Z","isFirstParty":false}