getBlockByNumber method
- int blockNumber
Implementation
Future<Json> getBlockByNumber(int blockNumber) async {
final response = await _call<Json>(
'eth_getBlockByNumber',
args: [blockNumber.toHexWithPrefix, false],
);
return response;
}