getBalance method

Future<EtherAmount> getBalance(
  1. EthereumAddress address
)

Implementation

Future<EtherAmount> getBalance(EthereumAddress address) async {
  final wei = await _client.getBalance(address.hex);
  return EtherAmount.inWei(wei);
}