{"uid":"cap_I1beQ36pGaq8I1vY1z_4z","slug":"ethereum-onchain-data-address-type-contract-metadata-725bd07f","name":"Ethereum Onchain Data – Address Type & Contract Metadata","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/eth/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 Ethereum"}},"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":"eth","proxy":{"admin":"0x807a96288A1A408dBC13DE2b1d087d10356395d2","upgradeable":true,"implementation":"0x43506849D7C04F9138D1A2050bbF3A0c054402dd"},"symbol":"USDC","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","decimals":6,"standards":{"erc20":true,"erc165":false,"erc721":false,"erc1155":false},"isContract":true,"totalSupply":"48016325237.499139","bytecodeBytes":2186,"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_EDrEkv1Rhj1YFDE4BakK1","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":"Identifies what lives at an Ethereum address: EOA wallet, EIP-7702 delegation, or contract, including token standard, name/symbol, proxy info, bytecode size, nonce, and ETH balance.","exampleAgentPrompt":"Can you look up what's at Ethereum address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — tell me whether it's a wallet or contract, what token standard it uses, its name and symbol, and whether it's an upgradeable proxy?","exampleUseCases":[{"title":"Token contract due diligence","prompt":"I found this Ethereum address 0xdAC17F958D2ee523a2206206994597C13D831ec7 — can you tell me if it's a contract, what token standard it follows, its name and symbol, and whether there's an upgradeable proxy behind it?"},{"title":"Wallet vs contract disambiguation","prompt":"Before I send ETH to 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe, can you check if it's a regular wallet or a smart contract, and what its current ETH balance and nonce are?"},{"title":"Smart wallet proxy inspection","prompt":"I'm auditing this Ethereum address 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97 — is it a smart wallet proxy? If so, what's the implementation contract and admin, and how large is the bytecode?"}],"resultDescription":"Returns a structured object describing the address type (EOA or contract, including EIP-7702 delegation status), the token standard it implements (ERC-20, ERC-721, ERC-1155 or none), the contract's name and symbol where available, upgradeable proxy implementation address and admin, smart-wallet proxy details, bytecode size in bytes, the address's current nonce, and its ETH balance.","failureModes":["Invalid address format (not matching ^0x[0-9a-fA-F]{40}$) returns a validation error","Address not found or zero-activity address may return minimal data with null fields","RPC/node connectivity issues may cause timeouts or 5xx errors","Rate limiting or payment failure returns 402 or 429 errors","Newly deployed contracts may not yet be indexed"],"whenToPreferThis":"Use this endpoint when you need a comprehensive identity snapshot of any Ethereum mainnet address — especially when you need to distinguish EOAs from contracts, detect token standards, discover proxy patterns, or pull balance/nonce in a single call. Prefer this over raw RPC calls when you want normalized, human-readable output without building your own multicall logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:43:21.741Z","isFirstParty":false,"canonicalSlug":"ethereum-onchain-data-address-type-contract-metadata-725bd07f"}