Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check an account or address balance on local, testnet, or mainnet
balance
mega balance [address] [options]
address
--account
--network <network>
local
testnet
mainnet
-r, --rpc-url <url>
--account <name>
-e, --ether
http://127.0.0.1:8545
https://carrot.megaeth.com/rpc
https://mainnet.megaeth.com/rpc
--network
mega balance 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
mega balance --account myaccount --network testnet --ether
mega balance 0x742d35Cc6634C0532925a3b844Bc454e4438f44e \ --network mainnet \ --ether
mega balance 0x742d35Cc6634C0532925a3b844Bc454e4438f44e \ --network testnet \ --rpc-url https://your-testnet-rpc.example \ --ether
Was this page helpful?