{"uid":"cap_EBoE6ASAzI-8pLO3_Oir1","slug":"gnosis-eth-getbalance-b9d1d073","name":"Gnosis ETH GetBalance","description":"Returns the native xDAI balance in wei of one address on Gnosis Chain, read with eth_getBalance at the latest block. Takes one query parameter: address (0x + 40 hex). Query: address (0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/gnosis_chain_rpc_api/gnosis_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_hDqvZCKalSEZJ0AGq1mNA","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 native xDAI balance in wei for a given address on Gnosis Chain via eth_getBalance at the latest block.","exampleAgentPrompt":"What is the current xDAI balance of the Gnosis Chain address 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97?","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Can you check how much xDAI the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Gnosis Chain right now?"},{"title":"Payment verification before transaction","prompt":"Before I send funds, can you confirm that the Gnosis Chain address 0x71C7656EC7ab88b098defB751B7401B5f6d8976F actually has a non-zero xDAI balance?"},{"title":"Smart contract funding audit","prompt":"I need to check if the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Gnosis Chain still has any native xDAI balance left — can you pull that for me?"}],"resultDescription":"Returns a JSON object with a boolean 'ok' field, the balance as an integer in wei ('result'), a hex representation of the balance ('hex'), and the chain name ('chain'). On failure, returns ok=false with an 'error' string describing the problem.","failureModes":["Invalid address format (not 0x + 40 hex) returns a validation error","Address not found or never used returns 0 balance (not an error)","RPC node unavailability returns ok=false with error message","Malformed request missing the address parameter returns an error"],"whenToPreferThis":"Choose this endpoint when you need to read the native xDAI balance on Gnosis Chain specifically (not Ethereum mainnet or other EVM chains). It is a direct, cheap ($0.003) read-only RPC call returning the latest block balance. Use this over Ethereum mainnet balance endpoints when the target wallet is on Gnosis Chain, and over ERC-20 balance endpoints when you need the native gas token (xDAI) rather than a token contract balance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:30:32.431Z","isFirstParty":false,"canonicalSlug":"gnosis-eth-getbalance-b9d1d073"}