Cosmos · Schema

Cosmos SDK tendermint.types.Header Schemas

JSON Schema definitions for the tendermint.types.Header module of the Cosmos SDK gRPC-gateway REST API.

BlockchainCosmosIBCStakingGovernanceDeFiWeb3
View JSON Schema on GitHub

JSON Schema

tendermint-types-Header.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Cosmos SDK tendermint.types.Header Schemas",
  "description": "JSON Schema definitions for the tendermint.types.Header module of the Cosmos SDK gRPC-gateway REST API.",
  "definitions": {
    "tendermint.types.Header": {
      "type": "object",
      "properties": {
        "version": {
          "title": "basic block info",
          "type": "object",
          "properties": {
            "block": {
              "type": "string",
              "format": "uint64"
            },
            "app": {
              "type": "string",
              "format": "uint64"
            }
          },
          "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine."
        },
        "chainId": {
          "type": "string"
        },
        "height": {
          "type": "string",
          "format": "int64"
        },
        "time": {
          "type": "string",
          "format": "date-time"
        },
        "lastBlockId": {
          "type": "object",
          "properties": {
            "hash": {
              "type": "string",
              "format": "byte"
            },
            "partSetHeader": {
              "type": "object",
              "properties": {
                "total": {
                  "type": "integer",
                  "format": "int64"
                },
                "hash": {
                  "type": "string",
                  "format": "byte"
                }
              },
              "title": "PartsetHeader"
            }
          },
          "title": "BlockID"
        },
        "lastCommitHash": {
          "type": "string",
          "format": "byte",
          "description": "commit from validators from the last block",
          "title": "hashes of block data"
        },
        "dataHash": {
          "type": "string",
          "format": "byte",
          "title": "transactions"
        },
        "validatorsHash": {
          "type": "string",
          "format": "byte",
          "description": "validators for the current block",
          "title": "hashes from the app output from the prev block"
        },
        "nextValidatorsHash": {
          "type": "string",
          "format": "byte",
          "title": "validators for the next block"
        },
        "consensusHash": {
          "type": "string",
          "format": "byte",
          "title": "consensus params for current block"
        },
        "appHash": {
          "type": "string",
          "format": "byte",
          "title": "state after txs from the previous block"
        },
        "lastResultsHash": {
          "type": "string",
          "format": "byte",
          "title": "root hash of all results from the txs from the previous block"
        },
        "evidenceHash": {
          "type": "string",
          "format": "byte",
          "description": "evidence included in the block",
          "title": "consensus info"
        },
        "proposerAddress": {
          "type": "string",
          "format": "byte",
          "title": "original proposer of the block"
        }
      },
      "description": "Header defines the structure of a block header."
    }
  }
}