getBlockNumber method
override
Returns the current block number.
Returns a Future that completes with the current block number.
Implementation
@override
Future<int> getBlockNumber() {
return _makeRPCCall<String>('eth_blockNumber')
.then(hexToInt)
.then((value) => value.toInt());
}