cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}

It will only be stored at the last height of this chain. UpgradedConsensusState RPC not supported with legacy querier.

Parameters

Object NameRequiredTypeDetail
LAST_HEIGHTIntegerLast height of the current chain must be sent in request as this is the height under which next consensus state is stored
/cosmos/upgrade/v1beta1/upgraded_consensus_state/14395100

Result

The consensus state that will serve as a trusted kernel for the next version of this chain.

Example

Request

curl <your-rest-endpoint>/cosmos/upgrade/v1beta1/upgraded_consensus_state/14395100 \
  -X GET \
  -H "accept: application/json"

Return

{
    "upgraded_consensus_state": null
}