getBlockFromId method

Future<Block> getBlockFromId(
  1. String id
)

Implementation

Future<Block> getBlockFromId(String id) {
  return _makeRPCCall<Map<String, dynamic>>('topl_blockById', params: [
    {'blockId': id}
  ]).then((value) => Block.fromJson(value));
}