getBlockNumber method

Future<BigInt> getBlockNumber()

Implementation

Future<BigInt> getBlockNumber() async {
  final result = await _rpc('eth_blockNumber', []) as String;
  return BigInt.parse(result.substring(2), radix: 16);
}