---
title: "HistoricalInfo queries the historical info for given height."
method: GET
path: "/cosmos/staking/v1beta1/historical_info/{height}"
tags: ["Query"]
---

# HistoricalInfo queries the historical info for given height.

`GET /cosmos/staking/v1beta1/historical_info/{height}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `height` string, int64, required

## Response `200`

A successful response.

- object: QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method.
  - `hist` object: hist defines the historical info at the given height.
    - `header` object: Header defines the structure of a block header.
      - `version` object: Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.
        - `block` string, uint64
        - `app` string, uint64
      - `chain_id` string
      - `height` string, int64
      - `time` string, date-time
      - `last_block_id` object: BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.
        - `hash` string, byte
        - `part_set_header` object: Header of the parts set for a block.
          - `total` integer
          - `hash` string, byte
      - `last_commit_hash` string, byte: commit from validators from the last block
      - `data_hash` string, byte
      - `validators_hash` string, byte: validators for the current block
      - `next_validators_hash` string, byte
      - `consensus_hash` string, byte
      - `app_hash` string, byte
      - `last_results_hash` string, byte
      - `evidence_hash` string, byte: evidence included in the block
      - `proposer_address` string, byte
    - `valset` object[]
      - `operator_address` string: operator_address defines the address of the validator's operator; bech encoded in JSON.
      - `consensus_pubkey` object: consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.
        - `@type` string: A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.
      - `jailed` boolean: jailed defined whether the validator has been jailed from bonded status or not.
      - `status` 'BOND_STATUS_UNSPECIFIED' | 'BOND_STATUS_UNBONDED' | 'BOND_STATUS_UNBONDING' | 'BOND_STATUS_BONDED': status is the validator status (bonded/unbonding/unbonded).
      - `tokens` string: tokens define the delegated tokens (incl. self-delegation).
      - `delegator_shares` string: delegator_shares defines total shares issued to a validator's delegators.
      - `description` object: description defines the description terms for the validator.
        - `moniker` string: moniker defines a human-readable name for the validator.
        - `identity` string: identity defines an optional identity signature (ex. UPort or Keybase).
        - `website` string: website defines an optional website link.
        - `security_contact` string: security_contact defines an optional email for security contact.
        - `details` string: details define other optional details.
      - `unbonding_height` string, int64: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.
      - `unbonding_time` string, date-time: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.
      - `commission` object: commission defines the commission parameters.
        - `commission_rates` object: commission_rates defines the initial commission rates to be used for creating a validator.
          - `rate` string: rate is the commission rate charged to delegators, as a fraction.
          - `max_rate` string: max_rate defines the maximum commission rate which validator can ever charge, as a fraction.
          - `max_change_rate` string: max_change_rate defines the maximum daily increase of the validator commission, as a fraction.
        - `update_time` string, date-time: update_time is the last time the commission rate was changed.
      - `min_self_delegation` string: min_self_delegation is the validator's self declared minimum self delegation.
      - `unbonding_on_hold_ref_count` string, int64
      - `unbonding_ids` string[]

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-01-28** `7ee619f48b09`: 1 info
  - endpoint added
- **2024-03-22** `f6ed714cd62d`: 1 breaking
  - api path removed without deprecation
- **2024-03-22** `426ef0503938`: 1 info
  - endpoint added
- **2024-02-21** `9da39c06448a`: 1 breaking
  - api path removed without deprecation
- **2024-02-07** `0345868c59cf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/changes/cosmos/staking/v1beta1/historical_info/:height/get.md)

---

[API](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/revisions/52aa42be34ad?raw)
