Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/upgrade/v1beta1/module_versions

Query Parameters

module_name?string

module_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.

Response Body

application/json

application/json

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