Heights

ConsensusStateHeights queries the height of every consensus states associated with a given client.

GET//rest.origin.uptick.network/ibc/core/client/v1/consensus_states/{client_id}/heights
Path parameters
client_id*string

client identifier

Query parameters
Response

A successful response.

Body
consensus_state_heightsconsensus state heights
paginationpagination response

PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }

Request
const response = await fetch('//rest.origin.uptick.network/ibc/core/client/v1/consensus_states/{client_id}/heights', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "consensus_state_heights": [
    {
      "revision_number": "text",
      "revision_height": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Last updated