Cosmos · Example Payload

Cosmos Upgrade V1Beta1

BlockchainCosmosIBCStakingGovernanceDeFiWeb3

Cosmos Upgrade V1Beta1 is an example object payload from Cosmos, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

groupbaseURLoperations

Example Payload

Raw ↑
{
  "group": "cosmos/upgrade/v1beta1",
  "baseURL": "https://lcd.cosmos.network",
  "operations": [
    {
      "method": "GET",
      "path": "/cosmos/upgrade/v1beta1/applied_plan/{name}",
      "operationId": "AppliedPlan",
      "summary": "AppliedPlan queries a previously applied upgrade plan by its name.",
      "tags": [
        "Query"
      ],
      "parameters": [
        {
          "name": "name",
          "in": "path",
          "required": true,
          "description": "name is the name of the applied plan to query for.",
          "type": "string"
        }
      ],
      "example_request": {},
      "example_response": {}
    },
    {
      "method": "GET",
      "path": "/cosmos/upgrade/v1beta1/authority",
      "operationId": "Authority",
      "summary": "Returns the account with authority to conduct upgrades",
      "tags": [
        "Query"
      ],
      "parameters": [],
      "example_request": {},
      "example_response": {}
    },
    {
      "method": "GET",
      "path": "/cosmos/upgrade/v1beta1/current_plan",
      "operationId": "CurrentPlan",
      "summary": "CurrentPlan queries the current upgrade plan.",
      "tags": [
        "Query"
      ],
      "parameters": [],
      "example_request": {},
      "example_response": {}
    },
    {
      "method": "GET",
      "path": "/cosmos/upgrade/v1beta1/module_versions",
      "operationId": "ModuleVersions",
      "summary": "ModuleVersions queries the list of module versions from state.",
      "tags": [
        "Query"
      ],
      "parameters": [
        {
          "name": "moduleName",
          "in": "query",
          "required": false,
          "description": "module_name is a field to query a specific module\nconsensus version from state. Leaving this empty will\nfetch the full list of module versions from state",
          "type": "string"
        }
      ],
      "example_request": {},
      "example_response": {}
    },
    {
      "method": "GET",
      "path": "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{lastHeight}",
      "operationId": "UpgradedConsensusState",
      "summary": "UpgradedConsensusState queries the consensus state that will serve\nas a trusted kernel for the next version of this chain. It will only be\nstored at the last height of this chain.\nUpgradedConsensusState RPC not supported with legacy querier\nThis rpc is deprecated now that IBC has its own replacement\n(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)",
      "tags": [
        "Query"
      ],
      "parameters": [
        {
          "name": "lastHeight",
          "in": "path",
          "required": true,
          "description": "last height of the current chain must be sent in request\nas this is the height under which next consensus state is stored",
          "type": "string"
        }
      ],
      "example_request": {},
      "example_response": {}
    }
  ]
}