getBlockFromHeight method

Future<Block> getBlockFromHeight(
  1. BlockNum block
)

Implementation

Future<Block> getBlockFromHeight(BlockNum block) {
  return _makeRPCCall<Map<String, dynamic>>('topl_blockByHeight', params: [
    {'height': block.blockNum}
  ]).then((value) => Block.fromJson(value));
}