getBalance method
Gets the balance of an address.
Implementation
Future<BigInt> getBalance(String address, [String block = 'latest']) async {
final result = await call<String>('eth_getBalance', [address, block]);
return BigInt.parse(result.substring(2), radix: 16);
}