Cosmos · Schema

Cosmos SDK tendermint.types.CommitSig Schemas

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

BlockchainCosmosIBCStakingGovernanceDeFiWeb3
View JSON Schema on GitHub

JSON Schema

tendermint-types-CommitSig.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Cosmos SDK tendermint.types.CommitSig Schemas",
  "description": "JSON Schema definitions for the tendermint.types.CommitSig module of the Cosmos SDK gRPC-gateway REST API.",
  "definitions": {
    "tendermint.types.CommitSig": {
      "type": "object",
      "properties": {
        "blockIdFlag": {
          "type": "string",
          "enum": [
            "BLOCK_ID_FLAG_UNKNOWN",
            "BLOCK_ID_FLAG_ABSENT",
            "BLOCK_ID_FLAG_COMMIT",
            "BLOCK_ID_FLAG_NIL"
          ],
          "default": "BLOCK_ID_FLAG_UNKNOWN",
          "description": "- BLOCK_ID_FLAG_UNKNOWN: indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: the vote was not received\n - BLOCK_ID_FLAG_COMMIT: voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: voted for nil",
          "title": "BlockIdFlag indicates which BlockID the signature is for"
        },
        "validatorAddress": {
          "type": "string",
          "format": "byte"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "signature": {
          "type": "string",
          "format": "byte"
        }
      },
      "description": "CommitSig is a part of the Vote included in a Commit."
    }
  }
}