Client state

ConnectionClientState queries the client state associated with the connection.

GEThttps://kava.nownodes.io/ibc/core/connection/v1/connections/{connection_id}/client_state
Path parameters
connection_id*string

connection identifier

Response

A successful response.

Body
identified_client_stateclient state associated with the channel

IdentifiedClientState defines a client state with an additional client identifier field.

proofmerkle proof of existence
proof_heightheight at which the proof was retrieved

Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

Request
const response = await fetch('https://kava.nownodes.io/ibc/core/connection/v1/connections/{connection_id}/client_state', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "identified_client_state": {
    "client_id": "text",
    "client_state": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    }
  },
  "proof": "Ynl0ZXM=",
  "proof_height": {
    "revision_number": "text",
    "revision_height": "text"
  }
}