Cosmos · Schema

Cosmos SDK cosmos.consensus.v1 Schemas

JSON Schema definitions for the cosmos.consensus.v1 module of the Cosmos SDK gRPC-gateway REST API.

BlockchainCosmosIBCStakingGovernanceDeFiWeb3
View JSON Schema on GitHub

JSON Schema

cosmos-consensus-v1.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Cosmos SDK cosmos.consensus.v1 Schemas",
  "description": "JSON Schema definitions for the cosmos.consensus.v1 module of the Cosmos SDK gRPC-gateway REST API.",
  "definitions": {
    "cosmos.consensus.v1.QueryParamsResponse": {
      "type": "object",
      "properties": {
        "params": {
          "description": "params are the tendermint consensus params stored in the consensus module.\nPlease note that `params.version` is not populated in this response, it is\ntracked separately in the x/upgrade module.",
          "type": "object",
          "properties": {
            "block": {
              "type": "object",
              "properties": {
                "maxBytes": {
                  "type": "string",
                  "format": "int64",
                  "title": "Max block size, in bytes.\nNote: must be greater than 0"
                },
                "maxGas": {
                  "type": "string",
                  "format": "int64",
                  "title": "Max gas per block.\nNote: must be greater or equal to -1"
                }
              },
              "description": "BlockParams contains limits on the block size."
            },
            "evidence": {
              "type": "object",
              "properties": {
                "maxAgeNumBlocks": {
                  "type": "string",
                  "format": "int64",
                  "description": "Max age of evidence, in blocks.\n\nThe basic formula for calculating this is: MaxAgeDuration / {average block\ntime}."
                },
                "maxAgeDuration": {
                  "type": "string",
                  "description": "Max age of evidence, in time.\n\nIt should correspond with an app's \"unbonding period\" or other similar\nmechanism for handling [Nothing-At-Stake\nattacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed)."
                },
                "maxBytes": {
                  "type": "string",
                  "format": "int64",
                  "title": "This sets the maximum size of total evidence in bytes that can be committed in a single block.\nand should fall comfortably under the max block bytes.\nDefault is 1048576 or 1MB"
                }
              },
              "description": "EvidenceParams determine how we handle evidence of malfeasance."
            },
            "validator": {
              "type": "object",
              "properties": {
                "pubKeyTypes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "description": "ValidatorParams restrict the public key types validators can use.\nNOTE: uses ABCI pubkey naming, not Amino names."
            },
            "version": {
              "type": "object",
              "properties": {
                "app": {
                  "type": "string",
                  "format": "uint64"
                }
              },
              "description": "VersionParams contains the ABCI application version."
            },
            "abci": {
              "type": "object",
              "properties": {
                "voteExtensionsEnableHeight": {
                  "type": "string",
                  "format": "int64",
                  "description": "vote_extensions_enable_height configures the first height during which\nvote extensions will be enabled. During this specified height, and for all\nsubsequent heights, precommit messages that do not contain valid extension data\nwill be considered invalid. Prior to this height, vote extensions will not\nbe used or accepted by validators on the network.\n\nOnce enabled, vote extensions will be created by the application in ExtendVote,\npassed to the application for validation in VerifyVoteExtension and given\nto the application to use when proposing a block during PrepareProposal."
                }
              },
              "description": "ABCIParams configure functionality specific to the Application Blockchain Interface."
            },
            "authority": {
              "type": "object",
              "properties": {
                "authority": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "description": "QueryParamsResponse defines the response type for querying x/consensus parameters."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cosmos-consensus-v1"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.