Docs

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 CodeMessageDescription
-32602Invalid paramsInvalid address format or block parameter
-32000Execution errorNode execution error