Commands
balance
Check the balance of an account or address on Mega testnet
mega balance
The balance
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.
Examples
Check balance of an address
Check balance of a stored account
Show balance in ether
Related
Was this page helpful?