/ibc/core/channel/v1/channels/{}/ports/{}/consensus_state/revision/{}/height/{}
ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.
Parameters:
channel_id - string, channel unique identifier
port_id - string, port unique identifier
revision_number- string, revision number of the consensus state
revision_height- string, revision height of the consensus state
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://cosmos-lcd.blockpi.network/cosmos/<your-api-key>/v1/ibc/core/channel/v1/channels/channel-370/ports/icahost/consensus_state/revision/1/height/0x2990e2
// Result
{
"consensus_state": {
"@type": "/ibc.lightclients.tendermint.v1.ConsensusState",
"timestamp": "2023-02-15T23:18:06.986816910Z",
"root": {
"hash": "fdV2/Hf6wf+Jd/tIg6vsHs8rrp6WNLX0+vC7449Gf6M="
},
"next_validators_hash": "632DCF961AB03EC9D0092F006F5869EB053D692ABBDEAE2521968460C1AF53AB"
},
"client_id": "07-tendermint-892",
"proof": null,
"proof_height": {
"revision_number": "4",
"revision_height": "14099411"
}
}
Previous/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_stateNext/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence
Last updated
Was this helpful?