eth_getBalance - Sonic RPC Method
Query account balance on Sonic. Essential for wallet applications and ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications on the world's fastest EVM chain with 720ms finality, $1.2B+ TVL, and 1,534% growth since launch.
Returns the balance of a given address on Sonic.
Why Sonic? Build on the world's fastest EVM chain with 720ms finality, $1.2B+ TVL, and 1,534% growth since launch with 720ms transaction finality, 10K TPS, 90% fee sharing via FeeM, Fantom heritage with Andre Cronje leadership.
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 ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications
- Account monitoring - Track balance changes over time
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid address format or block parameter |
| -32000 | Execution error | Node execution error |
Related Methods
eth_getCode- Get contract bytecodeeth_getTransactionCount- Get account nonce
eth_getBlockReceipts
Return every transaction receipt in a block on Sonic. Useful for indexers, analytics pipelines, and event backfills across ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications.
eth_getCode
Get contract bytecode on Sonic. Essential for verifying smart contracts for ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications.