Cosmos · Schema
Cosmos SDK tendermint.types.Vote Schemas
JSON Schema definitions for the tendermint.types.Vote module of the Cosmos SDK gRPC-gateway REST API.
BlockchainCosmosIBCStakingGovernanceDeFiWeb3
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Cosmos SDK tendermint.types.Vote Schemas",
"description": "JSON Schema definitions for the tendermint.types.Vote module of the Cosmos SDK gRPC-gateway REST API.",
"definitions": {
"tendermint.types.Vote": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"SIGNED_MSG_TYPE_UNKNOWN",
"SIGNED_MSG_TYPE_PREVOTE",
"SIGNED_MSG_TYPE_PRECOMMIT",
"SIGNED_MSG_TYPE_PROPOSAL"
],
"default": "SIGNED_MSG_TYPE_UNKNOWN",
"description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals"
},
"height": {
"type": "string",
"format": "int64"
},
"round": {
"type": "integer",
"format": "int32"
},
"blockId": {
"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",
"description": "zero if vote is nil."
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"validatorAddress": {
"type": "string",
"format": "byte"
},
"validatorIndex": {
"type": "integer",
"format": "int32"
},
"signature": {
"type": "string",
"format": "byte",
"description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
},
"extension": {
"type": "string",
"format": "byte",
"description": "Vote extension provided by the application. Only valid for precommit\nmessages."
},
"extensionSignature": {
"type": "string",
"format": "byte",
"description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
}
},
"description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
}
}
}