public async Task GetBlockHeaderState() { var getInfoResult = await DefaultApi.GetInfo(); var result = await DefaultApi.GetBlockHeaderState(new GetBlockHeaderStateRequest() { block_num_or_id = getInfoResult.last_irreversible_block_num.ToString() }); }