{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Cosmos SDK cosmos.base.tendermint Schemas", "description": "JSON Schema definitions for the cosmos.base.tendermint module of the Cosmos SDK gRPC-gateway REST API.", "definitions": { "cosmos.base.tendermint.v1beta1.ABCIQueryResponse": { "type": "object", "properties": { "code": { "type": "integer", "format": "int64" }, "log": { "type": "string", "title": "nondeterministic" }, "info": { "type": "string", "title": "nondeterministic" }, "index": { "type": "string", "format": "int64" }, "key": { "type": "string", "format": "byte" }, "value": { "type": "string", "format": "byte" }, "proofOps": { "type": "object", "properties": { "ops": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "key": { "type": "string", "format": "byte" }, "data": { "type": "string", "format": "byte" } }, "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." } } }, "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint." }, "height": { "type": "string", "format": "int64" }, "codespace": { "type": "string" } }, "description": "ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.\n\nNote: This type is a duplicate of the ResponseQuery proto type defined in\nTendermint." }, "cosmos.base.tendermint.v1beta1.Block": { "type": "object", "properties": { "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", "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block" } }, "description": "Header defines the structure of a Tendermint block header." }, "data": { "type": "object", "properties": { "txs": { "type": "array", "items": { "type": "string", "format": "byte" }, "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, "title": "Data contains the set of transactions included in the block" }, "evidence": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "type": "object", "properties": { "duplicateVoteEvidence": { "type": "object", "properties": { "voteA": { "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." }, "voteB": { "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." }, "totalVotingPower": { "type": "string", "format": "int64" }, "validatorPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, "lightClientAttackEvidence": { "type": "object", "properties": { "conflictingBlock": { "type": "object", "properties": { "signedHeader": { "type": "object", "properties": { "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." }, "commit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "validatorSet": { "type": "object", "properties": { "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "proposer": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } }, "totalVotingPower": { "type": "string", "format": "int64" } } } } }, "commonHeight": { "type": "string", "format": "int64" }, "byzantineValidators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "totalVotingPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } } } } } }, "lastCommit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } }, "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." }, "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse": { "type": "object", "properties": { "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" }, "block": { "title": "Deprecated: please use `sdk_block` instead", "type": "object", "properties": { "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." }, "data": { "type": "object", "properties": { "txs": { "type": "array", "items": { "type": "string", "format": "byte" }, "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, "title": "Data contains the set of transactions included in the block" }, "evidence": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "type": "object", "properties": { "duplicateVoteEvidence": { "type": "object", "properties": { "voteA": { "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." }, "voteB": { "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." }, "totalVotingPower": { "type": "string", "format": "int64" }, "validatorPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, "lightClientAttackEvidence": { "type": "object", "properties": { "conflictingBlock": { "type": "object", "properties": { "signedHeader": { "type": "object", "properties": { "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." }, "commit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "validatorSet": { "type": "object", "properties": { "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "proposer": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } }, "totalVotingPower": { "type": "string", "format": "int64" } } } } }, "commonHeight": { "type": "string", "format": "int64" }, "byzantineValidators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "totalVotingPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } } } } } }, "lastCommit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "sdkBlock": { "type": "object", "properties": { "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", "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block" } }, "description": "Header defines the structure of a Tendermint block header." }, "data": { "type": "object", "properties": { "txs": { "type": "array", "items": { "type": "string", "format": "byte" }, "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, "title": "Data contains the set of transactions included in the block" }, "evidence": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "type": "object", "properties": { "duplicateVoteEvidence": { "type": "object", "properties": { "voteA": { "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." }, "voteB": { "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." }, "totalVotingPower": { "type": "string", "format": "int64" }, "validatorPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, "lightClientAttackEvidence": { "type": "object", "properties": { "conflictingBlock": { "type": "object", "properties": { "signedHeader": { "type": "object", "properties": { "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." }, "commit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "validatorSet": { "type": "object", "properties": { "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "proposer": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } }, "totalVotingPower": { "type": "string", "format": "int64" } } } } }, "commonHeight": { "type": "string", "format": "int64" }, "byzantineValidators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "totalVotingPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } } } } } }, "lastCommit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } }, "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." } }, "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method." }, "cosmos.base.tendermint.v1beta1.GetBlockResultsResponse": { "type": "object", "properties": { "height": { "type": "string", "format": "int64", "description": "height is the block height." }, "txsResults": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "integer", "format": "int64" }, "data": { "type": "string", "format": "byte" }, "log": { "type": "string", "title": "nondeterministic" }, "info": { "type": "string", "title": "nondeterministic" }, "gas_wanted": { "type": "string", "format": "int64" }, "gas_used": { "type": "string", "format": "int64" }, "events": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "attributes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "index": { "type": "boolean", "title": "nondeterministic" } }, "description": "EventAttribute is a single key-value pair, associated with an event." } } }, "description": "Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events." }, "title": "nondeterministic" }, "codespace": { "type": "string" } }, "description": "ExecTxResult contains results of executing one individual transaction.\n\n* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted" }, "description": "txs_results contains the results of each transaction execution." }, "finalizeBlockEvents": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "attributes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "index": { "type": "boolean", "title": "nondeterministic" } }, "description": "EventAttribute is a single key-value pair, associated with an event." } } }, "description": "Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events." }, "description": "finalize_block_events contains consensus-level events emitted during block\nfinalization, including slashing, jailing, and validator set updates." }, "validatorUpdates": { "type": "array", "items": { "type": "object", "properties": { "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "power": { "type": "string", "format": "int64" } } }, "description": "validator_updates contains the validator updates for this block." }, "consensusParamUpdates": { "description": "consensus_param_updates contains any consensus parameter updates for this block.", "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" } } } } }, "appHash": { "type": "string", "format": "byte", "description": "app_hash is the app hash after processing this block." } }, "description": "GetBlockResultsResponse is the response type for the Query/GetBlockResults RPC method." }, "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse": { "type": "object", "properties": { "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" }, "block": { "title": "Deprecated: please use `sdk_block` instead", "type": "object", "properties": { "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." }, "data": { "type": "object", "properties": { "txs": { "type": "array", "items": { "type": "string", "format": "byte" }, "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, "title": "Data contains the set of transactions included in the block" }, "evidence": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "type": "object", "properties": { "duplicateVoteEvidence": { "type": "object", "properties": { "voteA": { "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." }, "voteB": { "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." }, "totalVotingPower": { "type": "string", "format": "int64" }, "validatorPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, "lightClientAttackEvidence": { "type": "object", "properties": { "conflictingBlock": { "type": "object", "properties": { "signedHeader": { "type": "object", "properties": { "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." }, "commit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "validatorSet": { "type": "object", "properties": { "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "proposer": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } }, "totalVotingPower": { "type": "string", "format": "int64" } } } } }, "commonHeight": { "type": "string", "format": "int64" }, "byzantineValidators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "totalVotingPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } } } } } }, "lastCommit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "sdkBlock": { "type": "object", "properties": { "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", "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block" } }, "description": "Header defines the structure of a Tendermint block header." }, "data": { "type": "object", "properties": { "txs": { "type": "array", "items": { "type": "string", "format": "byte" }, "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, "title": "Data contains the set of transactions included in the block" }, "evidence": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "type": "object", "properties": { "duplicateVoteEvidence": { "type": "object", "properties": { "voteA": { "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." }, "voteB": { "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." }, "totalVotingPower": { "type": "string", "format": "int64" }, "validatorPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, "lightClientAttackEvidence": { "type": "object", "properties": { "conflictingBlock": { "type": "object", "properties": { "signedHeader": { "type": "object", "properties": { "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." }, "commit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, "validatorSet": { "type": "object", "properties": { "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "proposer": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } }, "totalVotingPower": { "type": "string", "format": "int64" } } } } }, "commonHeight": { "type": "string", "format": "int64" }, "byzantineValidators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "format": "byte" }, "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } } } }, "totalVotingPower": { "type": "string", "format": "int64" }, "timestamp": { "type": "string", "format": "date-time" } }, "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } } } } } }, "lastCommit": { "type": "object", "properties": { "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" }, "signatures": { "type": "array", "items": { "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." } } }, "description": "Commit contains the evidence that a block was committed by a set of validators." } }, "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." } }, "description": "GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method." }, "cosmos.base.tendermint.v1beta1.GetLatestBlockResultsResponse": { "type": "object", "properties": { "height": { "type": "string", "format": "int64", "description": "height is the block height." }, "txsResults": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "integer", "format": "int64" }, "data": { "type": "string", "format": "byte" }, "log": { "type": "string", "title": "nondeterministic" }, "info": { "type": "string", "title": "nondeterministic" }, "gas_wanted": { "type": "string", "format": "int64" }, "gas_used": { "type": "string", "format": "int64" }, "events": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "attributes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "index": { "type": "boolean", "title": "nondeterministic" } }, "description": "EventAttribute is a single key-value pair, associated with an event." } } }, "description": "Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events." }, "title": "nondeterministic" }, "codespace": { "type": "string" } }, "description": "ExecTxResult contains results of executing one individual transaction.\n\n* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted" }, "description": "txs_results contains the results of each transaction execution." }, "finalizeBlockEvents": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "attributes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "index": { "type": "boolean", "title": "nondeterministic" } }, "description": "EventAttribute is a single key-value pair, associated with an event." } } }, "description": "Event allows application developers to attach additional information to\nResponseFinalizeBlock and ResponseCheckTx.\nLater, transactions may be queried using these events." }, "description": "finalize_block_events contains consensus-level events emitted during block\nfinalization, including slashing, jailing, and validator set updates." }, "validatorUpdates": { "type": "array", "items": { "type": "object", "properties": { "pubKey": { "type": "object", "properties": { "ed25519": { "type": "string", "format": "byte" }, "secp256k1": { "type": "string", "format": "byte" } }, "title": "PublicKey defines the keys available for use with Validators" }, "power": { "type": "string", "format": "int64" } } }, "description": "validator_updates contains the validator updates for this block." }, "consensusParamUpdates": { "description": "consensus_param_updates contains any consensus parameter updates for this block.", "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" } } } } }, "appHash": { "type": "string", "format": "byte", "description": "app_hash is the app hash after processing this block." } }, "description": "GetLatestBlockResultsResponse is the response type for the Query/GetLatestBlockResults RPC method." }, "cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse": { "type": "object", "properties": { "blockHeight": { "type": "string", "format": "int64" }, "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string" }, "pubKey": { "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {}, "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } }, "description": "Validator is the type for the validator-set." } }, "pagination": { "description": "pagination defines an pagination for the response.", "type": "object", "properties": { "nextKey": { "type": "string", "format": "byte", "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", "format": "uint64", "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } }, "description": "GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method." }, "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse": { "type": "object", "properties": { "defaultNodeInfo": { "type": "object", "properties": { "protocolVersion": { "type": "object", "properties": { "p2p": { "type": "string", "format": "uint64" }, "block": { "type": "string", "format": "uint64" }, "app": { "type": "string", "format": "uint64" } } }, "defaultNodeId": { "type": "string" }, "listenAddr": { "type": "string" }, "network": { "type": "string" }, "version": { "type": "string" }, "channels": { "type": "string", "format": "byte" }, "moniker": { "type": "string" }, "other": { "type": "object", "properties": { "txIndex": { "type": "string" }, "rpcAddress": { "type": "string" } } } } }, "applicationVersion": { "type": "object", "properties": { "name": { "type": "string" }, "appName": { "type": "string" }, "version": { "type": "string" }, "gitCommit": { "type": "string" }, "buildTags": { "type": "string" }, "goVersion": { "type": "string" }, "buildDeps": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string", "title": "module path" }, "version": { "type": "string", "title": "module version" }, "sum": { "type": "string", "title": "checksum" } }, "title": "Module is the type for VersionInfo" } }, "cosmosSdkVersion": { "type": "string" } }, "description": "VersionInfo is the type for the GetNodeInfoResponse message." } }, "description": "GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method." }, "cosmos.base.tendermint.v1beta1.GetSyncingResponse": { "type": "object", "properties": { "syncing": { "type": "boolean" }, "earliestBlockHeight": { "type": "string", "format": "int64", "description": "earliest_block_height is the earliest block height available on this node." }, "latestBlockHeight": { "type": "string", "format": "int64", "description": "latest_block_height is the latest block height available on this node." } }, "description": "GetSyncingResponse is the response type for the Query/GetSyncing RPC method." }, "cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse": { "type": "object", "properties": { "blockHeight": { "type": "string", "format": "int64" }, "validators": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string" }, "pubKey": { "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {}, "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } }, "description": "Validator is the type for the validator-set." } }, "pagination": { "description": "pagination defines an pagination for the response.", "type": "object", "properties": { "nextKey": { "type": "string", "format": "byte", "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", "format": "uint64", "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } }, "description": "GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method." }, "cosmos.base.tendermint.v1beta1.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", "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block" } }, "description": "Header defines the structure of a Tendermint block header." }, "cosmos.base.tendermint.v1beta1.Module": { "type": "object", "properties": { "path": { "type": "string", "title": "module path" }, "version": { "type": "string", "title": "module version" }, "sum": { "type": "string", "title": "checksum" } }, "title": "Module is the type for VersionInfo" }, "cosmos.base.tendermint.v1beta1.ProofOp": { "type": "object", "properties": { "type": { "type": "string" }, "key": { "type": "string", "format": "byte" }, "data": { "type": "string", "format": "byte" } }, "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." }, "cosmos.base.tendermint.v1beta1.ProofOps": { "type": "object", "properties": { "ops": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "key": { "type": "string", "format": "byte" }, "data": { "type": "string", "format": "byte" } }, "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." } } }, "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint." }, "cosmos.base.tendermint.v1beta1.Validator": { "type": "object", "properties": { "address": { "type": "string" }, "pubKey": { "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {}, "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "votingPower": { "type": "string", "format": "int64" }, "proposerPriority": { "type": "string", "format": "int64" } }, "description": "Validator is the type for the validator-set." }, "cosmos.base.tendermint.v1beta1.VersionInfo": { "type": "object", "properties": { "name": { "type": "string" }, "appName": { "type": "string" }, "version": { "type": "string" }, "gitCommit": { "type": "string" }, "buildTags": { "type": "string" }, "goVersion": { "type": "string" }, "buildDeps": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string", "title": "module path" }, "version": { "type": "string", "title": "module version" }, "sum": { "type": "string", "title": "checksum" } }, "title": "Module is the type for VersionInfo" } }, "cosmosSdkVersion": { "type": "string" } }, "description": "VersionInfo is the type for the GetNodeInfoResponse message." } } }