{"uid":"cap_mQNV_rz0Ti5dj1vtBhlgq","slug":"op-mainnet-onchain-data-address-inspector-03a1e994","name":"OP Mainnet Onchain Data – Address Inspector","description":"Identify what lives at a OP Mainnet address: wallet (EOA, including EIP-7702 delegation) or contract, which token standard it implements (ERC-20, ERC-721, ERC-1155), name and symbol, upgradeable-proxy implementation and admin, smart-wallet proxies, bytecode size, nonce and ETH balance.","url":"https://onchaincheck.dev/optimism/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}$","description":"Any address on OP Mainnet"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"ERC-20 token","name":"USD Coin","chain":"optimism","proxy":{"admin":"0xbB8a939e2B1923d248AC4c2f6aEd0a4D71CB18A3","upgradeable":true,"implementation":"0xdEd3b9a8DBeDC2F9CB725B55d0E686A81E6d06dC"},"symbol":"USDC","address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","decimals":6,"standards":{"erc20":true,"erc165":false,"erc721":false,"erc1155":false},"isContract":true,"totalSupply":"141636562.037185","bytecodeBytes":1852,"nativeBalance":"0"}},"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_vW94D8LCCWmF1iURpruDi","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":"Returns the full onchain profile of any OP Mainnet address: EOA vs contract, token standard, name/symbol, proxy implementation, bytecode size, nonce, and ETH balance.","exampleAgentPrompt":"What is the address 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 on OP Mainnet — is it a wallet or contract, and if it's a token tell me its name, symbol, decimals, and whether it's an upgradeable proxy?","exampleUseCases":[{"title":"Identify an unknown Optimism address","prompt":"I just received a payment from 0x4200000000000000000000000000000000000042 on Optimism — can you tell me if it's a wallet or a contract, what token standard it uses if any, and its current ETH balance?"},{"title":"Audit a proxy contract before integrating","prompt":"Before we integrate with 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 on OP Mainnet, can you check whether it's an upgradeable proxy, who the admin is, and what the current implementation address is?"},{"title":"Verify an ERC-20 token on Optimism","prompt":"I need to confirm that 0x94b008aA00579c1307B0EF2c499aD98a8ce58e58 on Optimism is a legitimate ERC-20 token — what's its name, symbol, decimals, and total supply?"}],"resultDescription":"A JSON object containing: the classified kind of the address (e.g. 'ERC-20 token', 'EOA', 'contract'), token name and symbol, decimals and total supply if applicable, proxy metadata (upgradeable flag, implementation address, admin address), supported token standards (erc20/erc721/erc1155/erc165 booleans), bytecode size in bytes, nonce, and native ETH balance — all scoped to OP Mainnet.","failureModes":["Invalid or malformed address (not a valid 0x 40-hex-char string) returns a 400 error","Address not found or zero activity on OP Mainnet may return minimal fields","RPC timeout or OP Mainnet node unavailability causes 503 or timeout","Payment not included or insufficient USDC triggers x402 payment required response"],"whenToPreferThis":"Use this endpoint when you need a comprehensive onchain profile of an OP Mainnet address in a single call — especially when you need to distinguish EOA from contract, detect proxy patterns, or retrieve token metadata. Prefer it over chain explorers when you need structured JSON output suitable for automated agent workflows on Optimism specifically (not Ethereum mainnet, Base, or Arbitrum).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:37.008Z","isFirstParty":false,"canonicalSlug":"op-mainnet-onchain-data-address-inspector-03a1e994"}