Skip to content

Consensus State

ConsensusState queries a consensus state associated with a client state at a given height.

Method Declaration

Python
# TODO: add Python example

Parameters

ParameterLocationTypeRequiredDescription
client_idpathstringtrueclient identifier
revision_numberpathstringtrueconsensus state revision number
revision_heightpathstringtrueconsensus state revision height
latest_heightquerybooleanfalselatest_height overrides the height field and queries the latest stored ConsensusState.

Response

StatusMeaningSchemaDescription
200OKA successful response.
defaultdefaultAn unexpected error response.