Docs

eth_getBalance - World Chain RPC Method

Query account balance on World Chain. Essential for wallet applications and human-verified DeFi, identity-gated applications, bot-resistant services on the human-first Ethereum L2 powered by World ID.

Returns the balance of a given address on World Chain.

Why World Chain? Build on the human-first Ethereum L2 powered by World ID with World ID integration for free gas and priority blockspace.

Use Cases

The eth_getBalance method is essential for:

  • Wallet applications - Display user balances
  • Transaction validation - Check if account has sufficient funds
  • DeFi applications - Monitor collateral and liquidity for human-verified DeFi, identity-gated applications, bot-resistant services
  • Account monitoring - Track balance changes over time

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid address format or block parameter
-32000Execution errorNode execution error