{"uid":"cap_lbDauyfQanWOaI4gcP9xt","slug":"xerxes-ethereum-balance-lookup-eth-getbalance-b149b3bf","name":"Xerxes Ethereum Balance Lookup (eth_getBalance)","description":"Returns the balance of an Ethereum address in wei via eth_getBalance. Takes one query parameter: address (0x + 40 hex). Query: address (0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/eth_getbalance?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"hex":{"type":["string","null"]},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"integer"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CGH19lv7PxKaILJHJoMon","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the Ethereum mainnet balance of a given address in wei by calling eth_getBalance.","exampleAgentPrompt":"What's the current ETH balance of the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? I need the raw wei amount from Ethereum mainnet.","exampleUseCases":[{"title":"Portfolio balance snapshot","prompt":"Can you check how much ETH is sitting in the wallet 0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234? I want the balance in wei so I can track my portfolio."},{"title":"Verify wallet is funded before transfer","prompt":"Before I send a transaction, can you confirm that 0x71C7656EC7ab88b098defB751B7401B5f6d8976F actually has ETH in it — give me the raw wei balance."},{"title":"Monitor treasury wallet balance","prompt":"Check the current ETH balance in wei for our treasury address 0xBE0eB53F46cd790Cd13851d5EFf43D12404d33E8 — I need to see if it's dropped below threshold."}],"resultDescription":"Returns a JSON object with: ok (boolean success flag), result (integer balance in wei), hex (balance as hex string), chain (e.g. 'ethereum'), method (e.g. 'eth_getBalance'), and service name. On error, ok is false and an error string is present.","failureModes":["Invalid address format (not 0x + 40 hex) — request rejected or error response","Address is valid but has zero balance — returns result: 0, ok: true","Network or RPC node unavailable — ok: false with error message","Malformed query parameter — HTTP 400 or error in response body"],"whenToPreferThis":"Use this endpoint when you need the raw wei ETH balance of a specific Ethereum mainnet address with minimal latency. Prefer it over token-balance endpoints when querying native ETH (not ERC-20). It is ideal for pre-flight funding checks, portfolio tracking, or treasury monitoring where you need the precise on-chain native balance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:37:15.605Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-balance-lookup-eth-getbalance-b149b3bf"}