{"uid":"cap_V6DH-D-tJK10WgrQQiJ7p","slug":"op-mainnet-onchain-data-address-inspector-5421429b","name":"OP Mainnet Onchain Data – Address Inspector","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.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_7Rhu0W_RAAcFVLBYE84Y3","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 any OP Mainnet address to classify it as a wallet or contract and returns token standard, name, symbol, proxy details, bytecode size, nonce, and ETH balance.","exampleAgentPrompt":"Can you look up 0x4200000000000000000000000000000000000042 on OP Mainnet and tell me whether it's a wallet or contract, what token standard it uses, its name and symbol, and its current ETH balance?","exampleUseCases":[{"title":"Due-diligence on unknown Optimism address","prompt":"I just received funds from 0x7F5c764cBc14f9669B88837ca1490cCa17c31607 on Optimism — can you tell me if it's a regular wallet or a smart contract, and if it's a contract what token standard and name it has?"},{"title":"Verify upgradeable proxy implementation","prompt":"Check 0x4200000000000000000000000000000000000010 on OP Mainnet — is it an upgradeable proxy, and if so what's the current implementation address and admin?"},{"title":"Token contract metadata lookup","prompt":"I need the name, symbol, and token standard (ERC-20, ERC-721, or ERC-1155) for the contract at 0x68f180fcCe6836688e9084f035309E29Bf0A2095 on Optimism."}],"resultDescription":"Returns a structured object containing the address classification (EOA, EIP-7702-delegated EOA, or contract), implemented token standard (ERC-20, ERC-721, ERC-1155, or none), token name and symbol if applicable, upgradeable proxy implementation and admin addresses if applicable, smart-wallet proxy type, bytecode size in bytes, current nonce, and native ETH balance.","failureModes":["Invalid address format (not a 40-hex-character 0x string) returns a 400 validation error","Address not found or never transacted returns zero values for balance/nonce with type 'EOA'","RPC or network timeout results in a 5xx error","Non-OP Mainnet address passed returns data from OP Mainnet state which may be misleading"],"whenToPreferThis":"Use this endpoint when you need a comprehensive onchain identity snapshot of any OP Mainnet address in a single call — covering wallet vs contract classification, token standards, proxy architecture, and balance/nonce — rather than making multiple separate RPC calls. Prefer it over generic Ethereum endpoints when the address is specifically on OP Mainnet (Optimism L2).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:44:33.249Z","isFirstParty":false,"canonicalSlug":"op-mainnet-onchain-data-address-inspector-5421429b"}