getBalance method

Future<BigInt> getBalance(
  1. String address, [
  2. String? blockTag
])

Returns the balance of address as of the blockTag block height.

Implementation

Future<BigInt> getBalance(String address, [String? blockTag]) => call<BigInt>(
      'getBalance',
      blockTag != null ? [address, blockTag] : [address],
    );