QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.

interface QueryConsensusStateRequest {
    clientId: string;
    latestHeight: boolean;
    revisionHeight: bigint;
    revisionNumber: bigint;
}

Properties

clientId: string

client identifier

latestHeight: boolean

latest_height overrrides the height field and queries the latest stored ConsensusState

revisionHeight: bigint

consensus state revision height

revisionNumber: bigint

consensus state revision number