Gets a block by number.
Future<Block?> getBlockByNumber(String block) async { final data = await provider.getBlockByNumber(block, true); return data != null ? Block.fromJson(data) : null; }