/ibc/core/connection/v1/connections/{connection_id}/client_state
ConnectionClientState queries the client state associated with the connection.
Parameters:
connection_id - string, connection unique identifier
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://cosmos-lcd.blockpi.network/cosmos/<your-api-key>/v1/ibc/core/connection/v1/connections/connection-188/client_state
// Result
{
"identified_client_state": {
"client_id": "07-tendermint-142",
"client_state": {
"@type": "/ibc.lightclients.tendermint.v1.ClientState",
"chain_id": "egchain-2",
"trust_level": {
"numerator": "1",
"denominator": "3"
},
"trusting_period": "1209600s",
"unbonding_period": "1814400s",
"max_clock_drift": "600s",
"frozen_height": {
"revision_number": "0",
"revision_height": "0"
},
"latest_height": {
"revision_number": "2",
"revision_height": "37043"
},
"proof_specs": [
{
"leaf_spec": {
"hash": "SHA256",
"prehash_key": "NO_HASH",
"prehash_value": "SHA256",
"length": "VAR_PROTO",
"prefix": "AA=="
},
"inner_spec": {
"child_order": [
0,
1
],
"child_size": 33,
"min_prefix_length": 4,
"max_prefix_length": 12,
"empty_child": null,
"hash": "SHA256"
},
"max_depth": 0,
"min_depth": 0
},
{
"leaf_spec": {
"hash": "SHA256",
"prehash_key": "NO_HASH",
"prehash_value": "SHA256",
"length": "VAR_PROTO",
"prefix": "AA=="
},
"inner_spec": {
"child_order": [
0,
1
],
"child_size": 32,
"min_prefix_length": 1,
"max_prefix_length": 1,
"empty_child": null,
"hash": "SHA256"
},
"max_depth": 0,
"min_depth": 0
}
],
"upgrade_path": [
"upgrade",
"upgradedIBCState"
],
"allow_update_after_expiry": true,
"allow_update_after_misbehaviour": true
}
},
"proof": null,
"proof_height": {
"revision_number": "4",
"revision_height": "14099411"
}
}
Previous/ibc/core/connection/v1/connections/{connection_id}Next/ibc/core/connection/v1/connections/{}/consensus_state/revision/{}/height/{}
Last updated