Documentation Index
Fetch the complete documentation index at: https://mega-cli.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
mega balance
Thebalance command checks the ETH balance of an account or address on the Mega testnet.
Usage
Arguments
| Argument | Description |
|---|---|
address | Ethereum address to check (optional if using —account) |
Options
| Option | Description |
|---|---|
--account <name> | Use an account from the keystore instead of an address |
-e, --ether | Show balance in ether instead of wei |
Description
This command retrieves the ETH balance for an address on the Mega testnet. You can either provide an address directly or reference a stored account using the--account flag. By default, the balance is shown in wei, but you can use the --ether flag to display it in ether.

