---
title: "UpdateParams defines a governance operation for updating the x/consensus module parameters. The authority is defined in the keeper."
method: POST
path: "/cosmos.consensus.v1.Msg/UpdateParams"
tags: ["Msg"]
---

# UpdateParams defines a governance operation for updating the x/consensus module parameters. The authority is defined in the keeper.

`POST /cosmos.consensus.v1.Msg/UpdateParams`

Since: cosmos-sdk 0.47

## Request body

- CosmosConsensusV1MsgUpdateParams — MsgUpdateParams is the Msg/UpdateParams request type.
  - `abci` TendermintTypesABCIParams — ABCIParams configure functionality specific to the Application Blockchain Interface.
    - `vote_extensions_enable_height` string, int64 — vote_extensions_enable_height configures the first height during which vote extensions will be enabled. During this specified height, and for all subsequent heights, precommit messages that do not contain valid extension data will be considered invalid. Prior to this height, vote extensions will not be used or accepted by validators on the network. Once enabled, vote extensions will be created by the application in ExtendVote, passed to the application for validation in VerifyVoteExtension and given to the application to use when proposing a block during PrepareProposal.
  - `authority` string — authority is the address that controls the module (defaults to x/gov unless overwritten).
  - `block` TendermintTypesBlockParams — BlockParams contains limits on the block size.
    - `max_bytes` string, int64
    - `max_gas` string, int64
  - `evidence` TendermintTypesEvidenceParams — EvidenceParams determine how we handle evidence of malfeasance.
    - `max_age_duration` string — Max age of evidence, in time. It should correspond with an app's "unbonding period" or other similar mechanism for handling [Nothing-At-Stake attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
    - `max_age_num_blocks` string, int64 — Max age of evidence, in blocks. The basic formula for calculating this is: MaxAgeDuration / {average block time}.
    - `max_bytes` string, int64
  - `validator` TendermintTypesValidatorParams — ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI pubkey naming, not Amino names.
    - `pub_key_types` string[]

## Response `200`

A successful response.

- CosmosConsensusV1MsgUpdateParamsResponse — MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2024-08-14** `21c607e4fa20` — 1 info
  - api operation id `CosmosConsensusV1Msg_UpdateParams` removed and replaced with `EvidenceMsg_UpdateParamsMixin76`
- **2024-02-23** `54713b4a9d25` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/cosmos.consensus.v1.Msg/UpdateParams/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/21c607e4fa20/schema)
