getBlockHeaderState method

Future<BlockHeaderState> getBlockHeaderState(
  1. String blockNumOrId
)

Get AMAX Block Header State

Implementation

Future<BlockHeaderState> getBlockHeaderState(String blockNumOrId) async {
  return this._post('/chain/get_block_header_state',
      {'block_num_or_id': blockNumOrId}).then((block) {
    return BlockHeaderState.fromJson(block);
  });
}