eth_getBalance - Manta RPC Method
Query account balance on Manta Pacific. Essential for wallet applications and ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps.
Returns the balance of a given address on Manta Pacific.
Why Manta? Build on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps with first L2 on Celestia mainnet, ZK-as-a-Service via Universal Circuits, Polygon CDK integration, and modular OP Stack architecture.
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 ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits
- 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 Manta Pacific. Useful for indexers, analytics pipelines, and event backfills across ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits.
eth_getCode
Get contract bytecode on Manta Pacific. Essential for verifying smart contracts for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits.