---
title: "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)"
method: GET
path: "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"
tags: ["Query"]
---

# 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 /cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `last_height` string, int64, required

## Response `200`

A successful response.

- object: QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.
  - `upgraded_consensus_state` string, byte

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-01-28** `7ee619f48b09`: 1 info
  - endpoint added
- **2024-03-22** `f6ed714cd62d`: 1 breaking
  - api path removed without deprecation
- **2024-03-22** `426ef0503938`: 1 info
  - endpoint added
- **2024-02-21** `9da39c06448a`: 1 breaking
  - api path removed without deprecation
- **2024-02-07** `0345868c59cf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/changes/cosmos/upgrade/v1beta1/upgraded_consensus_state/:last_height/get.md)

---

[API](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/revisions/52aa42be34ad?raw)
