---
title: "Params queries the parameters of x/consensus module."
method: GET
path: "/cosmos/consensus/v1/params"
tags: ["Query"]
---

# Params queries the parameters of x/consensus module.

`GET /cosmos/consensus/v1/params`

## Response `200`

A successful response.

- CosmosConsensusV1QueryParamsResponse — QueryParamsResponse defines the response type for querying x/consensus parameters.
  - `params` TendermintTypesConsensusParams — ConsensusParams contains consensus critical parameters that determine the validity of blocks.
    - `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_num_blocks` string, int64 — Max age of evidence, in blocks. The basic formula for calculating this is: MaxAgeDuration / {average block time}.
      - `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_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[]
    - `version` TendermintTypesVersionParams — VersionParams contains the ABCI application version.
      - `app` string, uint64
    - `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.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/coreumfoundation/apis/title-goes-here.md) · [All operations](https://skmtc.net/coreumfoundation/apis/title-goes-here/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coreumfoundation/title-goes-here/versions/2a2e5bc4593a/schema)
