eth_getBalance - Viction RPC Method
Query account balance on Viction. Essential for wallet applications and gasless token operations, consumer-friendly dApps, and cost-free user onboarding on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens.
Returns the balance of a given address on Viction.
Why Viction? Build on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens with zero-gas transactions via TomoZ, VRC25 gasless token standard, 150 masternodes, and partnerships with LayerZero and MoonPay.
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 gasless token operations, consumer-friendly dApps, and cost-free user onboarding
- 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 Viction. Useful for indexers, analytics pipelines, and event backfills across gasless token operations, consumer-friendly dApps, and cost-free user onboarding.
eth_getCode
Get contract bytecode on Viction. Essential for verifying smart contracts for gasless token operations, consumer-friendly dApps, and cost-free user onboarding.