swagger: '2.0' info: title: Cosmos SDK - gRPC Gateway docs Query Service API description: A REST interface for state queries. version: 1.0.0 tags: - name: Service paths: /cosmos/base/node/v1beta1/config: get: summary: Config queries for the operator configuration. operationId: Config responses: '200': description: A successful response. schema: type: object properties: minimumGasPrice: type: string pruningKeepRecent: type: string pruningInterval: type: string haltHeight: type: string format: uint64 description: ConfigResponse defines the response structure for the Config gRPC query. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} tags: - Service /cosmos/base/node/v1beta1/status: get: summary: Status queries for the node status. operationId: Status responses: '200': description: A successful response. schema: type: object properties: earliestStoreHeight: type: string format: uint64 title: earliest block height available in the store height: type: string format: uint64 title: current block height timestamp: type: string format: date-time title: block height timestamp appHash: type: string format: byte title: app hash of the current block validatorHash: type: string format: byte title: validator hash provided by the consensus header description: StateResponse defines the response structure for the status of a node. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} tags: - Service /cosmos/base/tendermint/v1beta1/abci_query: get: summary: 'ABCIQuery defines a query handler that supports ABCI queries directly to the application, bypassing Tendermint completely. The ABCI query must contain a valid and supported path, including app, custom, p2p, and store.' operationId: ABCIQuery responses: '200': description: A successful response. schema: 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 be arbitrary format, providing necessary data for example neighbouring node hash. Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.' description: 'ProofOps is Merkle proof defined by the list of ProofOps. Note: 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. Note: This type is a duplicate of the ResponseQuery proto type defined in Tendermint.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: data in: query required: false type: string format: byte - name: path in: query required: false type: string - name: height in: query required: false type: string format: int64 - name: prove in: query required: false type: boolean tags: - Service /cosmos/base/tendermint/v1beta1/block_results/latest: get: summary: 'GetLatestBlockResults returns the block results for the latest block. Block results contain finalize_block_events which include consensus-level events like slashing, jailing, and validator set updates.' operationId: GetLatestBlockResults responses: '200': description: A successful response. schema: 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' title: nondeterministic codespace: type: string description: 'ExecTxResult contains results of executing one individual transaction. * 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'finalize_block_events contains consensus-level events emitted during block finalization, 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. Note: must be greater than 0' maxGas: type: string format: int64 title: 'Max gas per block. Note: 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. The basic formula for calculating this is: MaxAgeDuration / {average block time}.' maxAgeDuration: type: string description: 'Max age of evidence, in time. It should correspond with an app''s "unbonding period" or other similar mechanism for handling [Nothing-At-Stake attacks](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. and should fall comfortably under the max block bytes. Default 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. NOTE: 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 vote extensions will be enabled. During this specified height, and for all subsequent heights, precommit messages that do not contain valid extension data will be considered invalid. Prior to this height, vote extensions will not be used or accepted by validators on the network. Once enabled, vote extensions will be created by the application in ExtendVote, passed to the application for validation in VerifyVoteExtension and given to 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. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" tags: - Service /cosmos/base/tendermint/v1beta1/block_results/{height}: get: summary: GetBlockResults queries block results for given height. operationId: GetBlockResults responses: '200': description: A successful response. schema: 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' title: nondeterministic codespace: type: string description: 'ExecTxResult contains results of executing one individual transaction. * 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'finalize_block_events contains consensus-level events emitted during block finalization, 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. Note: must be greater than 0' maxGas: type: string format: int64 title: 'Max gas per block. Note: 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. The basic formula for calculating this is: MaxAgeDuration / {average block time}.' maxAgeDuration: type: string description: 'Max age of evidence, in time. It should correspond with an app''s "unbonding period" or other similar mechanism for handling [Nothing-At-Stake attacks](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. and should fall comfortably under the max block bytes. Default 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. NOTE: 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 vote extensions will be enabled. During this specified height, and for all subsequent heights, precommit messages that do not contain valid extension data will be considered invalid. Prior to this height, vote extensions will not be used or accepted by validators on the network. Once enabled, vote extensions will be created by the application in ExtendVote, passed to the application for validation in VerifyVoteExtension and given to 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. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: height in: path required: true type: string format: int64 tags: - Service /cosmos/base/tendermint/v1beta1/blocks/latest: get: summary: GetLatestBlock returns the latest block. operationId: GetLatestBlock responses: '200': description: A successful response. schema: 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, including all blockchain data structures and the rules of the application''s state 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. NOTE: not all txs here are valid. We''re just agreeing on the order first. This 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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, including all blockchain data structures and the rules of the application''s state 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, including all blockchain data structures and the rules of the application''s state 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. In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string for better UX. original 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. NOTE: not all txs here are valid. We''re just agreeing on the order first. This 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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, including all blockchain data structures and the rules of the application''s state 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 field converted to bech32 string.' description: GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" tags: - Service /cosmos/base/tendermint/v1beta1/blocks/{height}: get: summary: GetBlockByHeight queries block for given height. operationId: GetBlockByHeight responses: '200': description: A successful response. schema: 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, including all blockchain data structures and the rules of the application''s state 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. NOTE: not all txs here are valid. We''re just agreeing on the order first. This 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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, including all blockchain data structures and the rules of the application''s state 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, including all blockchain data structures and the rules of the application''s state 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. In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string for better UX. original 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. NOTE: not all txs here are valid. We''re just agreeing on the order first. This 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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, including all blockchain data structures and the rules of the application''s state 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 field converted to bech32 string.' description: GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: height in: path required: true type: string format: int64 tags: - Service /cosmos/base/tendermint/v1beta1/node_info: get: summary: GetNodeInfo queries the current node info. operationId: GetNodeInfo responses: '200': description: A successful response. schema: 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. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" tags: - Service /cosmos/base/tendermint/v1beta1/syncing: get: summary: GetSyncing queries node syncing. operationId: GetSyncing responses: '200': description: A successful response. schema: 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. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" tags: - Service /cosmos/base/tendermint/v1beta1/validatorsets/latest: get: summary: GetLatestValidatorSet queries latest validator-set. operationId: GetLatestValidatorSet responses: '200': description: A successful response. schema: 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 query the next page most efficiently. It will be empty if there are no more results.' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' description: GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: pagination.key description: 'key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.' in: query required: false type: string format: byte - name: pagination.offset description: 'offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.' in: query required: false type: string format: uint64 - name: pagination.limit description: 'limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.' in: query required: false type: string format: uint64 - name: pagination.countTotal description: 'count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.' in: query required: false type: boolean - name: pagination.reverse description: reverse is set to true if results are to be returned in the descending order. in: query required: false type: boolean tags: - Service /cosmos/base/tendermint/v1beta1/validatorsets/{height}: get: summary: GetValidatorSetByHeight queries validator-set at a given height. operationId: GetValidatorSetByHeight responses: '200': description: A successful response. schema: 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 query the next page most efficiently. It will be empty if there are no more results.' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' description: GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: height in: path required: true type: string format: int64 - name: pagination.key description: 'key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.' in: query required: false type: string format: byte - name: pagination.offset description: 'offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.' in: query required: false type: string format: uint64 - name: pagination.limit description: 'limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.' in: query required: false type: string format: uint64 - name: pagination.countTotal description: 'count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.' in: query required: false type: boolean - name: pagination.reverse description: reverse is set to true if results are to be returned in the descending order. in: query required: false type: boolean tags: - Service /cosmos/tx/v1beta1/decode: post: summary: TxDecode decodes the transaction. operationId: TxDecode responses: '200': description: A successful response. schema: $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'TxDecodeRequest is the request type for the Service.TxDecode RPC method.' in: body required: true schema: type: object properties: txBytes: type: string format: byte description: tx_bytes is the raw transaction. description: 'TxDecodeRequest is the request type for the Service.TxDecode RPC method.' tags: - Service /cosmos/tx/v1beta1/decode/amino: post: summary: TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. operationId: TxDecodeAmino responses: '200': description: A successful response. schema: type: object properties: aminoJson: type: string description: 'TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.' in: body required: true schema: type: object properties: aminoBinary: type: string format: byte description: 'TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.' tags: - Service /cosmos/tx/v1beta1/encode: post: summary: TxEncode encodes the transaction. operationId: TxEncode responses: '200': description: A successful response. schema: type: object properties: txBytes: type: string format: byte description: tx_bytes is the encoded transaction bytes. description: 'TxEncodeResponse is the response type for the Service.TxEncode method.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'TxEncodeRequest is the request type for the Service.TxEncode RPC method.' in: body required: true schema: $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeRequest' tags: - Service /cosmos/tx/v1beta1/encode/amino: post: summary: TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. operationId: TxEncodeAmino responses: '200': description: A successful response. schema: type: object properties: aminoBinary: type: string format: byte description: 'TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.' in: body required: true schema: type: object properties: aminoJson: type: string description: 'TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.' tags: - Service /cosmos/tx/v1beta1/simulate: post: summary: Simulate simulates executing a transaction for estimating gas usage. operationId: Simulate responses: '200': description: A successful response. schema: type: object properties: gasInfo: description: gas_info is the information about gas used in the simulation. type: object properties: gasWanted: type: string format: uint64 description: GasWanted is the maximum units of work we allow this tx to perform. gasUsed: type: string format: uint64 description: GasUsed is the amount of gas actually consumed. result: description: result is the result of the simulation. type: object properties: data: type: string format: byte description: 'Data is any data returned from message or handler execution. It MUST be length prefixed in order to separate data from multiple message executions. Deprecated. This field is still populated, but prefer msg_response instead because it also contains the Msg response typeURL.' log: type: string description: Log contains the log information from message or handler execution. 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'Events contains a slice of Event objects that were emitted during message or handler execution.' msgResponses: type: array items: 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 }" description: msg_responses contains the Msg handler responses type packed in Anys. description: 'SimulateResponse is the response type for the Service.SimulateRPC method.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'SimulateRequest is the request type for the Service.Simulate RPC method.' in: body required: true schema: $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest' tags: - Service /cosmos/tx/v1beta1/txs: get: summary: GetTxsEvent fetches txs by event. operationId: GetTxsEvent responses: '200': description: A successful response. schema: $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: events description: 'events is the list of transaction event type. Deprecated post v0.47.x: use query instead, which should contain a valid events query.' in: query required: false type: array items: type: string collectionFormat: multi - name: pagination.key description: 'key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.' in: query required: false type: string format: byte - name: pagination.offset description: 'offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.' in: query required: false type: string format: uint64 - name: pagination.limit description: 'limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.' in: query required: false type: string format: uint64 - name: pagination.countTotal description: 'count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.' in: query required: false type: boolean - name: pagination.reverse description: reverse is set to true if results are to be returned in the descending order. in: query required: false type: boolean - name: orderBy description: " - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults\nto ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order" in: query required: false type: string enum: - ORDER_BY_UNSPECIFIED - ORDER_BY_ASC - ORDER_BY_DESC default: ORDER_BY_UNSPECIFIED - name: page description: 'page is the page number to query, starts at 1. If not provided, will default to first page.' in: query required: false type: string format: uint64 - name: limit description: 'limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.' in: query required: false type: string format: uint64 - name: query description: 'query defines the transaction event query that is proxied to Tendermint''s TxSearch RPC method. The query must be valid.' in: query required: false type: string tags: - Service post: summary: BroadcastTx broadcast transaction. operationId: BroadcastTx responses: '200': description: A successful response. schema: type: object properties: txResponse: description: tx_response is the queried TxResponses. type: object properties: height: type: string format: int64 title: The block height txhash: type: string description: The transaction hash. codespace: type: string title: Namespace for the Code code: type: integer format: int64 description: Response code. data: type: string description: Result bytes, if any. rawLog: type: string description: 'The output of the application''s logger (raw string). May be non-deterministic.' logs: type: array items: type: object properties: msgIndex: type: integer format: int64 log: type: string events: type: array items: type: object properties: type: type: string attributes: type: array items: type: object properties: key: type: string value: type: string description: 'Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.' description: 'StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.' description: 'Events contains a slice of Event objects that were emitted during some execution.' description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. description: The output of the application's logger (typed). May be non-deterministic. info: type: string description: Additional information. May be non-deterministic. gasWanted: type: string format: int64 description: Amount of gas requested for transaction. gasUsed: type: string format: int64 description: Amount of gas consumed by transaction. tx: description: The request transaction bytes. 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: {} timestamp: type: string description: 'Time of the previous block. For heights > 1, it''s the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it''s genesis time.' 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages.' description: 'BroadcastTxResponse is the response type for the Service.BroadcastTx method.' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: body description: 'BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.' in: body required: true schema: type: object properties: txBytes: type: string format: byte description: tx_bytes is the raw transaction. mode: type: string enum: - BROADCAST_MODE_UNSPECIFIED - BROADCAST_MODE_BLOCK - BROADCAST_MODE_SYNC - BROADCAST_MODE_ASYNC default: BROADCAST_MODE_UNSPECIFIED description: "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC\nmethod.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits\nfor a CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client\nreturns immediately." description: 'BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.' tags: - Service /cosmos/tx/v1beta1/txs/block/{height}: get: summary: GetBlockWithTxs fetches a block with decoded txs. operationId: GetBlockWithTxs responses: '200': description: A successful response. schema: $ref: '#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: height description: height is the height of the block to query. in: path required: true type: string format: int64 - name: pagination.key description: 'key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.' in: query required: false type: string format: byte - name: pagination.offset description: 'offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.' in: query required: false type: string format: uint64 - name: pagination.limit description: 'limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.' in: query required: false type: string format: uint64 - name: pagination.countTotal description: 'count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.' in: query required: false type: boolean - name: pagination.reverse description: reverse is set to true if results are to be returned in the descending order. in: query required: false type: boolean tags: - Service /cosmos/tx/v1beta1/txs/{hash}: get: summary: GetTx fetches a tx by hash. operationId: GetTx responses: '200': description: A successful response. schema: $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse' default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: 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 }" parameters: - name: hash description: hash is the tx hash to query, encoded as a hex string. in: path required: true type: string tags: - Service definitions: cosmos.tx.v1beta1.SignerInfo: type: object properties: publicKey: description: 'public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required \ signer address for this position and lookup the public key.' 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: {} modeInfo: $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' title: 'mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey''s' sequence: type: string format: uint64 description: 'sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.' description: 'SignerInfo describes the public key and signing mode of a single top-level signer.' cosmos.tx.v1beta1.ModeInfo.Multi: type: object properties: bitarray: title: bitarray specifies which keys within the multisig are signing type: object properties: extraBitsStored: type: integer format: int64 elems: type: string format: byte description: 'CompactBitArray is an implementation of a space efficient bit array. This is used to ensure that the encoded data takes up a minimal amount of space after proto encoding. This is not thread safe, and is not intended for concurrent usage.' modeInfos: type: array items: type: object $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo' title: 'mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys' title: Multi is the mode info for a multisig public key cosmos.tx.v1beta1.ModeInfo: type: object properties: single: title: single represents a single signer type: object properties: mode: title: mode is the signing mode of the single signer type: string enum: - SIGN_MODE_UNSPECIFIED - SIGN_MODE_DIRECT - SIGN_MODE_TEXTUAL - SIGN_MODE_DIRECT_AUX - SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_EIP_191 default: SIGN_MODE_UNSPECIFIED description: "SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT.\n\nSince: cosmos-sdk 0.50\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2" multi: $ref: '#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi' title: multi represents a nested multisig signer description: ModeInfo describes the signing mode of a single or nested multisig signer. cosmos.tx.v1beta1.GetTxResponse: type: object properties: tx: $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: tx is the queried transaction. txResponse: description: tx_response is the queried TxResponses. type: object properties: height: type: string format: int64 title: The block height txhash: type: string description: The transaction hash. codespace: type: string title: Namespace for the Code code: type: integer format: int64 description: Response code. data: type: string description: Result bytes, if any. rawLog: type: string description: 'The output of the application''s logger (raw string). May be non-deterministic.' logs: type: array items: type: object properties: msgIndex: type: integer format: int64 log: type: string events: type: array items: type: object properties: type: type: string attributes: type: array items: type: object properties: key: type: string value: type: string description: 'Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.' description: 'StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.' description: 'Events contains a slice of Event objects that were emitted during some execution.' description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. description: The output of the application's logger (typed). May be non-deterministic. info: type: string description: Additional information. May be non-deterministic. gasWanted: type: string format: int64 description: Amount of gas requested for transaction. gasUsed: type: string format: int64 description: Amount of gas consumed by transaction. tx: description: The request transaction bytes. 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: {} timestamp: type: string description: 'Time of the previous block. For heights > 1, it''s the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it''s genesis time.' 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages.' description: GetTxResponse is the response type for the Service.GetTx method. cosmos.tx.v1beta1.AuthInfo: type: object properties: signerInfos: type: array items: type: object $ref: '#/definitions/cosmos.tx.v1beta1.SignerInfo' description: 'signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody''s messages. The first element is the primary signer and the one which pays the fee.' fee: description: 'Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.' type: object properties: amount: type: array items: type: object properties: denom: type: string amount: type: string description: 'Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.' title: amount is the amount of coins to be paid as a fee gasLimit: type: string format: uint64 title: 'gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs' payer: type: string description: 'if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does *not* change the ordering of required signers for the transaction.' granter: type: string title: 'if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer''s own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail' tip: description: 'Tip is the optional tip used for transactions fees paid in another denom. This field is ignored if the chain didn''t enable tips, i.e. didn''t add the `TipDecorator` in its posthandler.' type: object properties: amount: type: array items: type: object properties: denom: type: string amount: type: string description: 'Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.' title: amount is the amount of the tip tipper: type: string title: tipper is the address of the account paying for the tip description: 'AuthInfo describes the fee and signer modes that are used to sign a transaction.' cosmos.tx.v1beta1.GetBlockWithTxsResponse: type: object properties: txs: type: array items: type: object $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: txs are the transactions in the block. 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: 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, including all blockchain data structures and the rules of the application''s state 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. NOTE: not all txs here are valid. We''re just agreeing on the order first. This 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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 associated block.' extension: type: string format: byte description: 'Vote extension provided by the application. Only valid for precommit messages.' extensionSignature: type: string format: byte description: 'Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.' description: 'Vote represents a prevote or precommit vote from validators for consensus.' 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, including all blockchain data structures and the rules of the application''s state 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. pagination: description: pagination defines a 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 query the next page most efficiently. It will be empty if there are no more results.' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' description: 'GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.' cosmos.tx.v1beta1.SimulateRequest: type: object properties: tx: $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: 'tx is the transaction to simulate. Deprecated. Send raw tx bytes instead.' txBytes: type: string format: byte description: tx_bytes is the raw transaction. description: 'SimulateRequest is the request type for the Service.Simulate RPC method.' cosmos.tx.v1beta1.TxDecodeResponse: type: object properties: tx: $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: tx is the decoded transaction. description: 'TxDecodeResponse is the response type for the Service.TxDecode method.' cosmos.tx.v1beta1.Tx: type: object properties: body: title: body is the processable content of the transaction type: object properties: messages: type: array items: 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 }" description: 'messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo''s signer_infos and Tx''s signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.' memo: type: string description: 'memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).' timeoutHeight: type: string format: uint64 description: 'timeout_height is the block height after which this transaction will not be processed by the chain.' unordered: type: boolean description: 'unordered, when set to true, indicates that the transaction signer(s) intend for the transaction to be evaluated and executed in an un-ordered fashion. Specifically, the account''s nonce will NOT be checked or incremented, which allows for fire-and-forget as well as concurrent transaction execution. Note, when set to true, the existing ''timeout_timestamp'' value must be set and will be used to correspond to a timestamp in which the transaction is deemed valid. When true, the sequence value MUST be 0, and any transaction with unordered=true and a non-zero sequence value will be rejected. External services that make assumptions about sequence values may need to be updated because of this.' timeoutTimestamp: type: string format: date-time description: 'timeout_timestamp is the block time after which this transaction will not be processed by the chain. Note, if unordered=true this value MUST be set and will act as a short-lived TTL in which the transaction is deemed valid and kept in memory to prevent duplicates.' extensionOptions: type: array items: 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 }" title: 'extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can''t be handled, the transaction will be rejected' nonCriticalExtensionOptions: type: array items: 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 }" title: 'extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can''t be handled, they will be ignored' description: TxBody is the body of a transaction that all signers sign over. authInfo: $ref: '#/definitions/cosmos.tx.v1beta1.AuthInfo' title: 'auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee' signatures: type: array items: type: string format: byte description: 'signatures is a list of signatures that matches the length and order of AuthInfo''s signer_infos to allow connecting signature meta information like public key and signing mode by position.' description: Tx is the standard type used for broadcasting transactions. cosmos.tx.v1beta1.GetTxsEventResponse: type: object properties: txs: type: array items: type: object $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: txs is the list of queried transactions. txResponses: type: array items: type: object properties: height: type: string format: int64 title: The block height txhash: type: string description: The transaction hash. codespace: type: string title: Namespace for the Code code: type: integer format: int64 description: Response code. data: type: string description: Result bytes, if any. rawLog: type: string description: 'The output of the application''s logger (raw string). May be non-deterministic.' logs: type: array items: type: object properties: msgIndex: type: integer format: int64 log: type: string events: type: array items: type: object properties: type: type: string attributes: type: array items: type: object properties: key: type: string value: type: string description: 'Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.' description: 'StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.' description: 'Events contains a slice of Event objects that were emitted during some execution.' description: ABCIMessageLog defines a structure containing an indexed tx ABCI message log. description: The output of the application's logger (typed). May be non-deterministic. info: type: string description: Additional information. May be non-deterministic. gasWanted: type: string format: int64 description: Amount of gas requested for transaction. gasUsed: type: string format: int64 description: Amount of gas consumed by transaction. tx: description: The request transaction bytes. 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: {} timestamp: type: string description: 'Time of the previous block. For heights > 1, it''s the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it''s genesis time.' 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 ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.' description: 'Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages.' description: 'TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded.' description: tx_responses is the list of queried TxResponses. pagination: description: 'pagination defines a pagination for the response. Deprecated post v0.46.x: use total instead.' type: object properties: nextKey: type: string format: byte description: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' total: type: string format: uint64 title: total is total number of results available description: 'GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.' cosmos.tx.v1beta1.TxEncodeRequest: type: object properties: tx: $ref: '#/definitions/cosmos.tx.v1beta1.Tx' description: tx is the transaction to encode. description: 'TxEncodeRequest is the request type for the Service.TxEncode RPC method.'