{"uid":"cap_Qlu6K77rjKjyCYpWjLP4y","slug":"chain-openverbs-com-evm-address-state-lookup-381ef5d7","name":"chain.openverbs.com EVM Address State Lookup","description":"Live state of an address: native balance (wei + ether), transaction count (nonce), and whether it's a contract or an externally-owned account (with deployed code size). Reads live on-chain data with automatic endpoint fallback.","url":"https://chain.openverbs.com/v1/address","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain to query. One of: ethereum, base, arbitrum, optimism, polygon. Default \"ethereum\"."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"20-byte hex address."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Cp5SV_YvMGpj0D5dTzz7j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live on-chain state for an EVM address: native balance (wei + ether), nonce/transaction count, and whether it's a contract or EOA with code size.","exampleAgentPrompt":"What's the current ETH balance and nonce of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum, and is it a contract or a regular wallet?","exampleUseCases":[{"title":"Verify if address is a contract","prompt":"Can you check whether 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum is a smart contract or an externally-owned account, and tell me its code size?"},{"title":"Pre-flight nonce check before sending a transaction","prompt":"Before I send a transaction on Base, can you look up the current nonce for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e so I know the right sequence number to use?"},{"title":"Portfolio balance snapshot on Polygon","prompt":"What's the live MATIC balance (in both wei and ether) for 0x1234567890abcdef1234567890abcdef12345678 on Polygon right now?"}],"resultDescription":"Returns native token balance in both raw wei and human-readable ether, the address's transaction count (nonce), a boolean or flag indicating whether the address is a contract, and the size of deployed bytecode — all read live from the specified EVM chain with automatic fallback across RPC endpoints.","failureModes":["Invalid address format (not a 40-char hex prefixed with 0x) — returns validation error","Unsupported chain name — returns error listing valid chains (ethereum, base, arbitrum, optimism, polygon)","RPC node unavailability even after fallback — returns upstream error","Rate limiting or payment failure — returns 402 or 429 response"],"whenToPreferThis":"Use this endpoint when you need a real-time, multi-field snapshot of an EVM address — balance, nonce, and contract/EOA classification in a single call. Prefer it over token balance endpoints when you need the native coin balance (ETH/MATIC/etc.) rather than ERC-20 tokens. It's especially useful for pre-transaction checks, wallet verification workflows, or determining whether an address hosts deployed code before interacting with it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:14.327Z","isFirstParty":false}