Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}

Path Parameters

last_height*string

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

Formatint64

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/upgrade/v1beta1/upgraded_consensus_state/string"
{
  "upgraded_consensus_state": "string"
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}