Skip to main content

mega balance

The balance command retrieves the ETH balance of an address or stored Foundry account on the selected network.

Usage

Arguments

Options

When using a custom RPC, Mega CLI verifies that its chain ID matches --network.

Examples

Check a local address

Check a stored account on testnet

Check an address on mainnet

Use a custom testnet RPC