Upgraded consensus state

UpgradedConsensusState queries the consensus state that will serve as a trusted kernel for the next version of this chain. It will only be stored at the last height of this chain. UpgradedConsensusState RPC not supported with legacy querier This rpc is deprecated now that IBC has its own replacement (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)

get
Path parameters
last_heightanyrequired

last height of the current chain must be sent in request as this is the height under which next consensus state is stored

Responses
curl -L \
  --url 'https://axelar.nownodes.io/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}'
{
  "upgraded_consensus_state": "Ynl0ZXM="
}