swagger: '2.0' info: title: AKASH - gRPC Gateway docs Addresses Query API description: A REST interface for state queries version: 1.0.0 tags: - name: Query paths: /akash/audit/v1beta3/audit/attributes/list: get: summary: 'AllProvidersAttributes queries all providers buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME' operationId: AllProvidersAttributes responses: '200': description: A successful response. schema: type: object properties: providers: type: array items: type: object properties: owner: type: string auditor: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Provider stores owner auditor and attributes details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryProvidersResponse is response type for the Query/Providers RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/audit/v1beta3/audit/attributes/{auditor}/{owner}: get: summary: 'ProviderAuditorAttributes queries provider signed attributes by specific auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME' operationId: ProviderAuditorAttributes responses: '200': description: A successful response. schema: type: object properties: providers: type: array items: type: object properties: owner: type: string auditor: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Provider stores owner auditor and attributes details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryProvidersResponse is response type for the Query/Providers RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: auditor in: path required: true type: string - name: owner in: path required: true type: string tags: - Query /akash/audit/v1beta3/audit/attributes/{owner}/list: get: summary: 'ProviderAttributes queries all provider signed attributes buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME' operationId: ProviderAttributes responses: '200': description: A successful response. schema: type: object properties: providers: type: array items: type: object properties: owner: type: string auditor: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Provider stores owner auditor and attributes details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryProvidersResponse is response type for the Query/Providers RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: owner in: path required: true type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/provider/v1beta3/auditor/{auditor}/list: get: summary: 'AuditorAttributes queries all providers signed by this auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME' operationId: AuditorAttributes responses: '200': description: A successful response. schema: type: object properties: providers: type: array items: type: object properties: owner: type: string auditor: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Provider stores owner auditor and attributes details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryProvidersResponse is response type for the Query/Providers RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: auditor in: path required: true type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/cert/v1beta3/certificates/list: get: summary: Certificates queries certificates operationId: Certificates responses: '200': description: A successful response. schema: type: object properties: certificates: type: array items: type: object properties: certificate: type: object properties: state: type: string enum: - invalid - valid - revoked default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - valid: CertificateValid denotes state for deployment active\n - revoked: CertificateRevoked denotes state for deployment closed" title: State is an enum which refers to state of deployment cert: type: string format: byte pubkey: type: string format: byte title: Certificate stores state, certificate and it's public key serial: type: string title: CertificateResponse contains a single X509 certificate and its serial number pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryCertificatesResponse is response type for the Query/Certificates RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: filter.owner in: query required: false type: string - name: filter.serial in: query required: false type: string - name: filter.state in: query required: false type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/deployment/v1beta3/deployments/info: get: summary: Deployment queries deployment details operationId: Deployment responses: '200': description: A successful response. schema: type: object properties: deployment: type: object properties: deployment_id: type: object properties: owner: type: string dseq: type: string format: uint64 title: DeploymentID stores owner and sequence number state: type: string enum: - invalid - active - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - active: DeploymentActive denotes state for deployment active\n - closed: DeploymentClosed denotes state for deployment closed" title: State is an enum which refers to state of deployment version: type: string format: byte created_at: type: string format: int64 title: Deployment stores deploymentID, state and version details groups: type: array items: type: object properties: group_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 title: GroupID stores owner, deployment sequence number and group sequence number state: type: string enum: - invalid - open - paused - insufficient_funds - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: GroupOpen denotes state for group open\n - paused: GroupOrdered denotes state for group ordered\n - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds\n - closed: GroupClosed denotes state for group closed" title: State is an enum which refers to state of group group_spec: type: object properties: name: type: string requirements: type: object properties: signed_by: title: SignedBy list of keys that tenants expect to have signatures from type: object properties: all_of: type: array items: type: string title: all_of all keys in this list must have signed attributes any_of: type: array items: type: string title: any_of at least of of the keys from the list must have signed attributes attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Attribute list of attributes tenant expects from the provider title: PlacementRequirements resources: type: array items: type: object properties: resource: type: object properties: id: type: integer format: int64 cpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: CPU stores resource units and cpu config attributes memory: type: object properties: quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Memory stores resource quantity and memory attributes storage: type: array items: type: object properties: name: type: string quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Storage stores resource quantity and storage attributes gpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: GPU stores resource units and cpu config attributes endpoints: type: array items: type: object properties: kind: type: string enum: - SHARED_HTTP - RANDOM_PORT - LEASED_IP default: SHARED_HTTP description: "- SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress\n - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort\n - LEASED_IP: Describes an endpoint that becomes a leased IP" title: This describes how the endpoint is implemented when the lease is deployed sequence_number: type: integer format: int64 title: Endpoint describes a publicly accessible IP service title: 'Resources describes all available resources types for deployment/node etc if field is nil resource is not present in the given data-structure' count: type: integer format: int64 price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: ResourceUnit extends Resources and adds Count along with the Price title: GroupSpec stores group specifications created_at: type: string format: int64 title: Group stores group id, state and specifications of group escrow_account: type: object properties: id: title: unique identifier for this escrow account type: object properties: scope: type: string xid: type: string owner: type: string title: bech32 encoded account address of the owner of this escrow account state: title: current state of this escrow account type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: AccountStateInvalid is an invalid state\n - open: AccountOpen is the state when an account is open\n - closed: AccountClosed is the state when an account is closed\n - overdrawn: AccountOverdrawn is the state when an account is overdrawn" balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: unspent coins received from the owner's wallet transferred: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: total coins spent by this account settled_at: type: string format: int64 title: block height at which this account was last settled depositor: type: string description: 'bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn''t same as the owner, then any incoming coins are added to the Funds.' funds: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: Account stores state for an escrow account title: QueryDeploymentResponse is response type for the Query/Deployment RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: id.owner in: query required: false type: string - name: id.dseq in: query required: false type: string format: uint64 tags: - Query /akash/deployment/v1beta3/deployments/list: get: summary: Deployments queries deployments operationId: Deployments responses: '200': description: A successful response. schema: type: object properties: deployments: type: array items: type: object properties: deployment: type: object properties: deployment_id: type: object properties: owner: type: string dseq: type: string format: uint64 title: DeploymentID stores owner and sequence number state: type: string enum: - invalid - active - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - active: DeploymentActive denotes state for deployment active\n - closed: DeploymentClosed denotes state for deployment closed" title: State is an enum which refers to state of deployment version: type: string format: byte created_at: type: string format: int64 title: Deployment stores deploymentID, state and version details groups: type: array items: type: object properties: group_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 title: GroupID stores owner, deployment sequence number and group sequence number state: type: string enum: - invalid - open - paused - insufficient_funds - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: GroupOpen denotes state for group open\n - paused: GroupOrdered denotes state for group ordered\n - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds\n - closed: GroupClosed denotes state for group closed" title: State is an enum which refers to state of group group_spec: type: object properties: name: type: string requirements: type: object properties: signed_by: title: SignedBy list of keys that tenants expect to have signatures from type: object properties: all_of: type: array items: type: string title: all_of all keys in this list must have signed attributes any_of: type: array items: type: string title: any_of at least of of the keys from the list must have signed attributes attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Attribute list of attributes tenant expects from the provider title: PlacementRequirements resources: type: array items: type: object properties: resource: type: object properties: id: type: integer format: int64 cpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: CPU stores resource units and cpu config attributes memory: type: object properties: quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Memory stores resource quantity and memory attributes storage: type: array items: type: object properties: name: type: string quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Storage stores resource quantity and storage attributes gpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: GPU stores resource units and cpu config attributes endpoints: type: array items: type: object properties: kind: type: string enum: - SHARED_HTTP - RANDOM_PORT - LEASED_IP default: SHARED_HTTP description: "- SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress\n - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort\n - LEASED_IP: Describes an endpoint that becomes a leased IP" title: This describes how the endpoint is implemented when the lease is deployed sequence_number: type: integer format: int64 title: Endpoint describes a publicly accessible IP service title: 'Resources describes all available resources types for deployment/node etc if field is nil resource is not present in the given data-structure' count: type: integer format: int64 price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: ResourceUnit extends Resources and adds Count along with the Price title: GroupSpec stores group specifications created_at: type: string format: int64 title: Group stores group id, state and specifications of group escrow_account: type: object properties: id: title: unique identifier for this escrow account type: object properties: scope: type: string xid: type: string owner: type: string title: bech32 encoded account address of the owner of this escrow account state: title: current state of this escrow account type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: AccountStateInvalid is an invalid state\n - open: AccountOpen is the state when an account is open\n - closed: AccountClosed is the state when an account is closed\n - overdrawn: AccountOverdrawn is the state when an account is overdrawn" balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: unspent coins received from the owner's wallet transferred: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: total coins spent by this account settled_at: type: string format: int64 title: block height at which this account was last settled depositor: type: string description: 'bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn''t same as the owner, then any incoming coins are added to the Funds.' funds: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: Account stores state for an escrow account title: QueryDeploymentResponse is response type for the Query/Deployment RPC method pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryDeploymentsResponse is response type for the Query/Deployments RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: filters.owner in: query required: false type: string - name: filters.dseq in: query required: false type: string format: uint64 - name: filters.state in: query required: false type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/deployment/v1beta3/groups/info: get: summary: Group queries group details operationId: Group responses: '200': description: A successful response. schema: type: object properties: group: type: object properties: group_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 title: GroupID stores owner, deployment sequence number and group sequence number state: type: string enum: - invalid - open - paused - insufficient_funds - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: GroupOpen denotes state for group open\n - paused: GroupOrdered denotes state for group ordered\n - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds\n - closed: GroupClosed denotes state for group closed" title: State is an enum which refers to state of group group_spec: type: object properties: name: type: string requirements: type: object properties: signed_by: title: SignedBy list of keys that tenants expect to have signatures from type: object properties: all_of: type: array items: type: string title: all_of all keys in this list must have signed attributes any_of: type: array items: type: string title: any_of at least of of the keys from the list must have signed attributes attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Attribute list of attributes tenant expects from the provider title: PlacementRequirements resources: type: array items: type: object properties: resource: type: object properties: id: type: integer format: int64 cpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: CPU stores resource units and cpu config attributes memory: type: object properties: quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Memory stores resource quantity and memory attributes storage: type: array items: type: object properties: name: type: string quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Storage stores resource quantity and storage attributes gpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: GPU stores resource units and cpu config attributes endpoints: type: array items: type: object properties: kind: type: string enum: - SHARED_HTTP - RANDOM_PORT - LEASED_IP default: SHARED_HTTP description: "- SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress\n - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort\n - LEASED_IP: Describes an endpoint that becomes a leased IP" title: This describes how the endpoint is implemented when the lease is deployed sequence_number: type: integer format: int64 title: Endpoint describes a publicly accessible IP service title: 'Resources describes all available resources types for deployment/node etc if field is nil resource is not present in the given data-structure' count: type: integer format: int64 price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: ResourceUnit extends Resources and adds Count along with the Price title: GroupSpec stores group specifications created_at: type: string format: int64 title: Group stores group id, state and specifications of group title: QueryGroupResponse is response type for the Query/Group RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: id.owner in: query required: false type: string - name: id.dseq in: query required: false type: string format: uint64 - name: id.gseq in: query required: false type: integer format: int64 tags: - Query /akash/market/v1beta3/bids/info: get: summary: Bid queries bid details operationId: Bid responses: '200': description: A successful response. schema: type: object properties: bid: type: object properties: bid_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 provider: type: string description: 'BidID stores owner and all other seq numbers A successful bid becomes a Lease(ID).' state: type: string enum: - invalid - open - active - lost - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: BidOpen denotes state for bid open\n - active: BidMatched denotes state for bid open\n - lost: BidLost denotes state for bid lost\n - closed: BidClosed denotes state for bid closed" title: State is an enum which refers to state of bid price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' created_at: type: string format: int64 title: Bid stores BidID, state of bid and price escrow_account: type: object properties: id: title: unique identifier for this escrow account type: object properties: scope: type: string xid: type: string owner: type: string title: bech32 encoded account address of the owner of this escrow account state: title: current state of this escrow account type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: AccountStateInvalid is an invalid state\n - open: AccountOpen is the state when an account is open\n - closed: AccountClosed is the state when an account is closed\n - overdrawn: AccountOverdrawn is the state when an account is overdrawn" balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: unspent coins received from the owner's wallet transferred: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: total coins spent by this account settled_at: type: string format: int64 title: block height at which this account was last settled depositor: type: string description: 'bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn''t same as the owner, then any incoming coins are added to the Funds.' funds: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: Account stores state for an escrow account title: QueryBidResponse is response type for the Query/Bid RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: id.owner in: query required: false type: string - name: id.dseq in: query required: false type: string format: uint64 - name: id.gseq in: query required: false type: integer format: int64 - name: id.oseq in: query required: false type: integer format: int64 - name: id.provider in: query required: false type: string tags: - Query /akash/market/v1beta3/bids/list: get: summary: Bids queries bids with filters operationId: Bids responses: '200': description: A successful response. schema: type: object properties: bids: type: array items: type: object properties: bid: type: object properties: bid_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 provider: type: string description: 'BidID stores owner and all other seq numbers A successful bid becomes a Lease(ID).' state: type: string enum: - invalid - open - active - lost - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: BidOpen denotes state for bid open\n - active: BidMatched denotes state for bid open\n - lost: BidLost denotes state for bid lost\n - closed: BidClosed denotes state for bid closed" title: State is an enum which refers to state of bid price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' created_at: type: string format: int64 title: Bid stores BidID, state of bid and price escrow_account: type: object properties: id: title: unique identifier for this escrow account type: object properties: scope: type: string xid: type: string owner: type: string title: bech32 encoded account address of the owner of this escrow account state: title: current state of this escrow account type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: AccountStateInvalid is an invalid state\n - open: AccountOpen is the state when an account is open\n - closed: AccountClosed is the state when an account is closed\n - overdrawn: AccountOverdrawn is the state when an account is overdrawn" balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: unspent coins received from the owner's wallet transferred: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: total coins spent by this account settled_at: type: string format: int64 title: block height at which this account was last settled depositor: type: string description: 'bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn''t same as the owner, then any incoming coins are added to the Funds.' funds: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: Account stores state for an escrow account title: QueryBidResponse is response type for the Query/Bid RPC method pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryBidsResponse is response type for the Query/Bids RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: filters.owner in: query required: false type: string - name: filters.dseq in: query required: false type: string format: uint64 - name: filters.gseq in: query required: false type: integer format: int64 - name: filters.oseq in: query required: false type: integer format: int64 - name: filters.provider in: query required: false type: string - name: filters.state in: query required: false type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/market/v1beta3/leases/info: get: summary: Lease queries lease details operationId: Lease responses: '200': description: A successful response. schema: type: object properties: lease: type: object properties: lease_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 provider: type: string title: LeaseID stores bid details of lease state: type: string enum: - invalid - active - insufficient_funds - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - active: LeaseActive denotes state for lease active\n - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds\n - closed: LeaseClosed denotes state for lease closed" title: State is an enum which refers to state of lease price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' created_at: type: string format: int64 closed_on: type: string format: int64 title: Lease stores LeaseID, state of lease and price escrow_payment: type: object properties: account_id: type: object properties: scope: type: string xid: type: string title: AccountID is the account identifier payment_id: type: string owner: type: string state: type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: PaymentStateInvalid is the state when the payment is invalid\n - open: PaymentStateOpen is the state when the payment is open\n - closed: PaymentStateClosed is the state when the payment is closed\n - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn" title: Payment State rate: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' withdrawn: 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: Payment stores state for a payment title: QueryLeaseResponse is response type for the Query/Lease RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: id.owner in: query required: false type: string - name: id.dseq in: query required: false type: string format: uint64 - name: id.gseq in: query required: false type: integer format: int64 - name: id.oseq in: query required: false type: integer format: int64 - name: id.provider in: query required: false type: string tags: - Query /akash/market/v1beta3/leases/list: get: summary: Leases queries leases with filters operationId: Leases responses: '200': description: A successful response. schema: type: object properties: leases: type: array items: type: object properties: lease: type: object properties: lease_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 provider: type: string title: LeaseID stores bid details of lease state: type: string enum: - invalid - active - insufficient_funds - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - active: LeaseActive denotes state for lease active\n - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds\n - closed: LeaseClosed denotes state for lease closed" title: State is an enum which refers to state of lease price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' created_at: type: string format: int64 closed_on: type: string format: int64 title: Lease stores LeaseID, state of lease and price escrow_payment: type: object properties: account_id: type: object properties: scope: type: string xid: type: string title: AccountID is the account identifier payment_id: type: string owner: type: string state: type: string enum: - invalid - open - closed - overdrawn default: invalid description: "- invalid: PaymentStateInvalid is the state when the payment is invalid\n - open: PaymentStateOpen is the state when the payment is open\n - closed: PaymentStateClosed is the state when the payment is closed\n - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn" title: Payment State rate: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' balance: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' withdrawn: 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: Payment stores state for a payment title: QueryLeaseResponse is response type for the Query/Lease RPC method pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryLeasesResponse is response type for the Query/Leases RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: filters.owner in: query required: false type: string - name: filters.dseq in: query required: false type: string format: uint64 - name: filters.gseq in: query required: false type: integer format: int64 - name: filters.oseq in: query required: false type: integer format: int64 - name: filters.provider in: query required: false type: string - name: filters.state in: query required: false type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/market/v1beta3/orders/info: get: summary: Order queries order details operationId: Order responses: '200': description: A successful response. schema: type: object properties: order: type: object properties: order_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 title: OrderID stores owner and all other seq numbers state: type: string enum: - invalid - open - active - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: OrderOpen denotes state for order open\n - active: OrderMatched denotes state for order matched\n - closed: OrderClosed denotes state for order lost" title: State is an enum which refers to state of order spec: type: object properties: name: type: string requirements: type: object properties: signed_by: title: SignedBy list of keys that tenants expect to have signatures from type: object properties: all_of: type: array items: type: string title: all_of all keys in this list must have signed attributes any_of: type: array items: type: string title: any_of at least of of the keys from the list must have signed attributes attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Attribute list of attributes tenant expects from the provider title: PlacementRequirements resources: type: array items: type: object properties: resource: type: object properties: id: type: integer format: int64 cpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: CPU stores resource units and cpu config attributes memory: type: object properties: quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Memory stores resource quantity and memory attributes storage: type: array items: type: object properties: name: type: string quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Storage stores resource quantity and storage attributes gpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: GPU stores resource units and cpu config attributes endpoints: type: array items: type: object properties: kind: type: string enum: - SHARED_HTTP - RANDOM_PORT - LEASED_IP default: SHARED_HTTP description: "- SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress\n - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort\n - LEASED_IP: Describes an endpoint that becomes a leased IP" title: This describes how the endpoint is implemented when the lease is deployed sequence_number: type: integer format: int64 title: Endpoint describes a publicly accessible IP service title: 'Resources describes all available resources types for deployment/node etc if field is nil resource is not present in the given data-structure' count: type: integer format: int64 price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: ResourceUnit extends Resources and adds Count along with the Price title: GroupSpec stores group specifications created_at: type: string format: int64 title: Order stores orderID, state of order and other details title: QueryOrderResponse is response type for the Query/Order RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: id.owner in: query required: false type: string - name: id.dseq in: query required: false type: string format: uint64 - name: id.gseq in: query required: false type: integer format: int64 - name: id.oseq in: query required: false type: integer format: int64 tags: - Query /akash/market/v1beta3/orders/list: get: summary: Orders queries orders with filters operationId: Orders responses: '200': description: A successful response. schema: type: object properties: orders: type: array items: type: object properties: order_id: type: object properties: owner: type: string dseq: type: string format: uint64 gseq: type: integer format: int64 oseq: type: integer format: int64 title: OrderID stores owner and all other seq numbers state: type: string enum: - invalid - open - active - closed default: invalid description: "- invalid: Prefix should start with 0 in enum. So declaring dummy state\n - open: OrderOpen denotes state for order open\n - active: OrderMatched denotes state for order matched\n - closed: OrderClosed denotes state for order lost" title: State is an enum which refers to state of order spec: type: object properties: name: type: string requirements: type: object properties: signed_by: title: SignedBy list of keys that tenants expect to have signatures from type: object properties: all_of: type: array items: type: string title: all_of all keys in this list must have signed attributes any_of: type: array items: type: string title: any_of at least of of the keys from the list must have signed attributes attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Attribute list of attributes tenant expects from the provider title: PlacementRequirements resources: type: array items: type: object properties: resource: type: object properties: id: type: integer format: int64 cpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: CPU stores resource units and cpu config attributes memory: type: object properties: quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Memory stores resource quantity and memory attributes storage: type: array items: type: object properties: name: type: string quantity: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: Storage stores resource quantity and storage attributes gpu: type: object properties: units: type: object properties: val: type: string format: byte title: Unit stores cpu, memory and storage metrics attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair title: GPU stores resource units and cpu config attributes endpoints: type: array items: type: object properties: kind: type: string enum: - SHARED_HTTP - RANDOM_PORT - LEASED_IP default: SHARED_HTTP description: "- SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress\n - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort\n - LEASED_IP: Describes an endpoint that becomes a leased IP" title: This describes how the endpoint is implemented when the lease is deployed sequence_number: type: integer format: int64 title: Endpoint describes a publicly accessible IP service title: 'Resources describes all available resources types for deployment/node etc if field is nil resource is not present in the given data-structure' count: type: integer format: int64 price: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: ResourceUnit extends Resources and adds Count along with the Price title: GroupSpec stores group specifications created_at: type: string format: int64 title: Order stores orderID, state of order and other details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryOrdersResponse is response type for the Query/Orders RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: filters.owner in: query required: false type: string - name: filters.dseq in: query required: false type: string format: uint64 - name: filters.gseq in: query required: false type: integer format: int64 - name: filters.oseq in: query required: false type: integer format: int64 - name: filters.state in: query required: false type: string - 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/provider/v1beta3/providers: get: summary: Providers queries providers operationId: Providers responses: '200': description: A successful response. schema: type: object properties: providers: type: array items: type: object properties: owner: type: string host_uri: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair info: type: object properties: email: type: string website: type: string title: ProviderInfo title: Provider stores owner and host details pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: QueryProvidersResponse is response type for the Query/Providers RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte 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.count_total 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. Since: cosmos-sdk 0.43' in: query required: false type: boolean tags: - Query /akash/provider/v1beta3/providers/{owner}: get: summary: Provider queries provider details operationId: Provider responses: '200': description: A successful response. schema: type: object properties: provider: type: object properties: owner: type: string host_uri: type: string attributes: type: array items: type: object properties: key: type: string value: type: string title: Attribute represents key value pair info: type: object properties: email: type: string website: type: string title: ProviderInfo title: Provider stores owner and host details title: QueryProviderResponse is response type for the Query/Provider RPC method default: description: An unexpected error response. schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: owner in: path required: true type: string tags: - Query /cosmos/auth/v1beta1/accounts: get: summary: Accounts returns all the existing accounts operationId: Accounts responses: '200': description: A successful response. schema: type: object properties: accounts: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: accounts are the existing accounts pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryAccountsResponse is the response type for the Query/Accounts RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/auth/v1beta1/accounts/{address}: get: summary: Account returns account details based on address. operationId: Account responses: '200': description: A successful response. schema: type: object properties: account: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: QueryAccountResponse is the response type for the Query/Account RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: address description: address defines the address to query for. in: path required: true type: string tags: - Query /cosmos/auth/v1beta1/params: get: summary: Params queries all parameters. operationId: AuthParams responses: '200': description: A successful response. schema: type: object properties: params: description: params defines the parameters of the module. type: object properties: max_memo_characters: type: string format: uint64 tx_sig_limit: type: string format: uint64 tx_size_cost_per_byte: type: string format: uint64 sig_verify_cost_ed25519: type: string format: uint64 sig_verify_cost_secp256k1: type: string format: uint64 description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: - Query /cosmos/bank/v1beta1/balances/{address}: get: summary: AllBalances queries the balance of all coins for a single account. operationId: AllBalances responses: '200': description: A successful response. schema: type: object properties: balances: 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.' description: balances is the balances of all the coins. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: address description: address is the address to query balances for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/bank/v1beta1/balances/{address}/{denom}: get: summary: Balance queries the balance of a single coin for a single account. operationId: Balance responses: '200': description: A successful response. schema: type: object properties: balance: 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.' description: QueryBalanceResponse is the response type for the Query/Balance RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: address description: address is the address to query balances for. in: path required: true type: string - name: denom description: denom is the coin denom to query balances for. in: path required: true type: string tags: - Query /cosmos/bank/v1beta1/denom_owners/{denom}: get: summary: 'DenomOwners queries for all account addresses that own a particular token denomination.' operationId: DenomOwners responses: '200': description: A successful response. schema: type: object properties: denom_owners: type: array items: type: object properties: address: type: string description: address defines the address that owns a particular denomination. balance: 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.' description: 'DenomOwner defines structure representing an account that owns or holds a particular denominated token. It contains the account address and account balance of the denominated token.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: denom description: denom defines the coin denomination to query all account holders for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/bank/v1beta1/denoms_metadata: get: summary: 'DenomsMetadata queries the client metadata for all registered coin denominations.' operationId: DenomsMetadata responses: '200': description: A successful response. schema: type: object properties: metadatas: type: array items: type: object properties: description: type: string denom_units: type: array items: type: object properties: denom: type: string description: denom represents the string name of the given denom unit (e.g uatom). exponent: type: integer format: int64 description: 'exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit''s denom 1 denom = 1^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of ''atom'' with exponent = 6, thus: 1 atom = 10^6 uatom).' aliases: type: array items: type: string title: aliases is a list of string aliases for the given denom description: 'DenomUnit represents a struct that describes a given denomination unit of the basic token.' title: denom_units represents the list of DenomUnit's for a given coin base: type: string description: base represents the base denom (should be the DenomUnit with exponent = 0). display: type: string description: 'display indicates the suggested denom that should be displayed in clients.' name: type: string title: 'name defines the name of the token (eg: Cosmos Atom)' symbol: type: string description: 'symbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display.' uri: type: string description: URI to a document (on or off-chain) that contains additional information. Optional. uri_hash: type: string description: 'URIHash is a sha256 hash of a document pointed by URI. It''s used to verify that the document didn''t change. Optional.' description: 'Metadata represents a struct that describes a basic token.' description: metadata provides the client information for all the registered tokens. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/bank/v1beta1/denoms_metadata/{denom}: get: summary: DenomsMetadata queries the client metadata of a given coin denomination. operationId: DenomMetadata responses: '200': description: A successful response. schema: type: object properties: metadata: type: object properties: description: type: string denom_units: type: array items: type: object properties: denom: type: string description: denom represents the string name of the given denom unit (e.g uatom). exponent: type: integer format: int64 description: 'exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit''s denom 1 denom = 1^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of ''atom'' with exponent = 6, thus: 1 atom = 10^6 uatom).' aliases: type: array items: type: string title: aliases is a list of string aliases for the given denom description: 'DenomUnit represents a struct that describes a given denomination unit of the basic token.' title: denom_units represents the list of DenomUnit's for a given coin base: type: string description: base represents the base denom (should be the DenomUnit with exponent = 0). display: type: string description: 'display indicates the suggested denom that should be displayed in clients.' name: type: string title: 'name defines the name of the token (eg: Cosmos Atom)' symbol: type: string description: 'symbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display.' uri: type: string description: URI to a document (on or off-chain) that contains additional information. Optional. uri_hash: type: string description: 'URIHash is a sha256 hash of a document pointed by URI. It''s used to verify that the document didn''t change. Optional.' description: 'Metadata represents a struct that describes a basic token.' description: 'QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: denom description: denom is the coin denom to query the metadata for. in: path required: true type: string tags: - Query /cosmos/bank/v1beta1/params: get: summary: Params queries the parameters of x/bank module. operationId: BankParams responses: '200': description: A successful response. schema: type: object properties: params: type: object properties: send_enabled: type: array items: type: object properties: denom: type: string enabled: type: boolean format: boolean description: 'SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).' default_send_enabled: type: boolean format: boolean description: Params defines the parameters for the bank module. description: QueryParamsResponse defines the response type for querying x/bank parameters. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/bank/v1beta1/supply: get: summary: TotalSupply queries the total supply of all coins. operationId: TotalSupply responses: '200': description: A successful response. schema: type: object properties: supply: 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: supply is the supply of the coins pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' title: 'QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/bank/v1beta1/supply/{denom}: get: summary: SupplyOf queries the supply of a single coin. operationId: SupplyOf responses: '200': description: A successful response. schema: type: object properties: amount: 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.' description: QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: denom description: denom is the coin denom to query balances for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/community_pool: get: summary: CommunityPool queries the community pool coins. operationId: CommunityPool responses: '200': description: A successful response. schema: type: object properties: pool: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' description: pool defines community pool's coins. description: 'QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards: get: summary: 'DelegationTotalRewards queries the total rewards accrued by a each validator.' operationId: DelegationTotalRewards responses: '200': description: A successful response. schema: type: object properties: rewards: type: array items: type: object properties: validator_address: type: string reward: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' description: 'DelegationDelegatorReward represents the properties of a delegator''s delegation reward.' description: rewards defines all the rewards accrued by a delegator. total: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' description: total defines the sum of all the rewards. description: 'QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: delegator_address description: delegator_address defines the delegator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}: get: summary: DelegationRewards queries the total rewards accrued by a delegation. operationId: DelegationRewards responses: '200': description: A successful response. schema: type: object properties: rewards: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' description: rewards defines the rewards accrued by a delegation. description: 'QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: delegator_address description: delegator_address defines the delegator address to query for. in: path required: true type: string - name: validator_address description: validator_address defines the validator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/delegators/{delegator_address}/validators: get: summary: DelegatorValidators queries the validators of a delegator. operationId: DelegatorValidators responses: '200': description: A successful response. schema: type: object properties: validators: type: array items: type: string description: validators defines the validators a delegator is delegating for. description: 'QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: delegator_address description: delegator_address defines the delegator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address: get: summary: DelegatorWithdrawAddress queries withdraw address of a delegator. operationId: DelegatorWithdrawAddress responses: '200': description: A successful response. schema: type: object properties: withdraw_address: type: string description: withdraw_address defines the delegator address to query for. description: 'QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: delegator_address description: delegator_address defines the delegator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/params: get: summary: Params queries params of the distribution module. operationId: DistributionParams responses: '200': description: A successful response. schema: type: object properties: params: description: params defines the parameters of the module. type: object properties: community_tax: type: string base_proposer_reward: type: string bonus_proposer_reward: type: string withdraw_addr_enabled: type: boolean format: boolean description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/distribution/v1beta1/validators/{validator_address}/commission: get: summary: ValidatorCommission queries accumulated commission for a validator. operationId: ValidatorCommission responses: '200': description: A successful response. schema: type: object properties: commission: description: commission defines the commision the validator received. type: object properties: commission: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' title: 'QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: validator_address description: validator_address defines the validator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards: get: summary: ValidatorOutstandingRewards queries rewards of a validator address. operationId: ValidatorOutstandingRewards responses: '200': description: A successful response. schema: type: object properties: rewards: type: object properties: rewards: type: array items: type: object properties: denom: type: string amount: type: string description: 'DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.' description: 'ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.' description: 'QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: validator_address description: validator_address defines the validator address to query for. in: path required: true type: string tags: - Query /cosmos/distribution/v1beta1/validators/{validator_address}/slashes: get: summary: ValidatorSlashes queries slash events of a validator. operationId: ValidatorSlashes responses: '200': description: A successful response. schema: type: object properties: slashes: type: array items: type: object properties: validator_period: type: string format: uint64 fraction: type: string description: 'ValidatorSlashEvent represents a validator slash event. Height is implicit within the store key. This is needed to calculate appropriate amount of staking tokens for delegations which are withdrawn after a slash has occurred.' description: slashes defines the slashes the validator received. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: validator_address description: validator_address defines the validator address to query for. in: path required: true type: string - name: starting_height description: starting_height defines the optional starting height to query the slashes. in: query required: false type: string format: uint64 - name: ending_height description: starting_height defines the optional ending height to query the slashes. in: query required: false type: string format: uint64 - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/evidence/v1beta1/evidence: get: summary: AllEvidence queries all evidence. operationId: AllEvidence responses: '200': description: A successful response. schema: type: object properties: evidence: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: evidence returns all evidences. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/evidence/v1beta1/evidence/{evidence_hash}: get: summary: Evidence queries evidence based on evidence hash. operationId: Evidence responses: '200': description: A successful response. schema: type: object properties: evidence: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: QueryEvidenceResponse is the response type for the Query/Evidence RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: evidence_hash description: evidence_hash defines the hash of the requested evidence. in: path required: true type: string format: byte tags: - Query /cosmos/gov/v1beta1/params/{params_type}: get: summary: Params queries all parameters of the gov module. operationId: GovParams responses: '200': description: A successful response. schema: type: object properties: voting_params: description: voting_params defines the parameters related to voting. type: object properties: voting_period: type: string description: Length of the voting period. deposit_params: description: deposit_params defines the parameters related to deposit. type: object properties: min_deposit: 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.' description: Minimum deposit for a proposal to enter voting period. max_deposit_period: type: string description: "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\n months." tally_params: description: tally_params defines the parameters related to tally. type: object properties: quorum: type: string format: byte description: "Minimum percentage of total stake needed to vote for a result to be\n considered valid." threshold: type: string format: byte description: 'Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.' veto_threshold: type: string format: byte description: "Minimum value of Veto votes to Total votes ratio for proposal to be\n vetoed. Default value: 1/3." description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: params_type description: 'params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".' in: path required: true type: string tags: - Query /cosmos/gov/v1beta1/proposals: get: summary: Proposals queries all proposals based on given status. operationId: Proposals responses: '200': description: A successful response. schema: type: object properties: proposals: type: array items: type: object properties: proposal_id: type: string format: uint64 content: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" status: type: string enum: - PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED description: "ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." final_tally_result: type: object properties: 'yes': type: string abstain: type: string 'no': type: string no_with_veto: type: string description: TallyResult defines a standard tally for a governance proposal. submit_time: type: string format: date-time deposit_end_time: type: string format: date-time total_deposit: 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.' voting_start_time: type: string format: date-time voting_end_time: type: string format: date-time description: Proposal defines the core field members of a governance proposal. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryProposalsResponse is the response type for the Query/Proposals RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_status description: "proposal_status defines the status of the proposals.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." in: query required: false type: string enum: - PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - name: voter description: voter defines the voter address for the proposals. in: query required: false type: string - name: depositor description: depositor defines the deposit addresses from the proposals. in: query required: false type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}: get: summary: Proposal queries proposal details based on ProposalID. operationId: Proposal responses: '200': description: A successful response. schema: type: object properties: proposal: type: object properties: proposal_id: type: string format: uint64 content: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" status: type: string enum: - PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED description: "ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." final_tally_result: type: object properties: 'yes': type: string abstain: type: string 'no': type: string no_with_veto: type: string description: TallyResult defines a standard tally for a governance proposal. submit_time: type: string format: date-time deposit_end_time: type: string format: date-time total_deposit: 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.' voting_start_time: type: string format: date-time voting_end_time: type: string format: date-time description: Proposal defines the core field members of a governance proposal. description: QueryProposalResponse is the response type for the Query/Proposal RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits: get: summary: Deposits queries all deposits of a single proposal. operationId: Deposits responses: '200': description: A successful response. schema: type: object properties: deposits: type: array items: type: object properties: proposal_id: type: string format: uint64 depositor: type: string 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.' description: 'Deposit defines an amount deposited by an account address to an active proposal.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryDepositsResponse is the response type for the Query/Deposits RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}: get: summary: Deposit queries single deposit information based proposalID, depositAddr. operationId: Deposit responses: '200': description: A successful response. schema: type: object properties: deposit: type: object properties: proposal_id: type: string format: uint64 depositor: type: string 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.' description: 'Deposit defines an amount deposited by an account address to an active proposal.' description: QueryDepositResponse is the response type for the Query/Deposit RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 - name: depositor description: depositor defines the deposit addresses from the proposals. in: path required: true type: string tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}/tally: get: summary: TallyResult queries the tally of a proposal vote. operationId: TallyResult responses: '200': description: A successful response. schema: type: object properties: tally: type: object properties: 'yes': type: string abstain: type: string 'no': type: string no_with_veto: type: string description: TallyResult defines a standard tally for a governance proposal. description: QueryTallyResultResponse is the response type for the Query/Tally RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}/votes: get: summary: Votes queries votes of a given proposal. operationId: Votes responses: '200': description: A successful response. schema: type: object properties: votes: type: array items: type: object properties: proposal_id: type: string format: uint64 voter: type: string option: description: 'Deprecated: Prefer to use `options` instead. This field is set in queries if and only if `len(options) == 1` and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED.' type: string enum: - VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_YES - VOTE_OPTION_ABSTAIN - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED options: type: array items: type: object properties: option: type: string enum: - VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_YES - VOTE_OPTION_ABSTAIN - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED description: "VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option." weight: type: string description: WeightedVoteOption defines a unit of vote for vote split. description: 'Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.' description: votes defined the queried votes. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryVotesResponse is the response type for the Query/Votes RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}: get: summary: Vote queries voted information based on proposalID, voterAddr. operationId: Vote responses: '200': description: A successful response. schema: type: object properties: vote: type: object properties: proposal_id: type: string format: uint64 voter: type: string option: description: 'Deprecated: Prefer to use `options` instead. This field is set in queries if and only if `len(options) == 1` and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED.' type: string enum: - VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_YES - VOTE_OPTION_ABSTAIN - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED options: type: array items: type: object properties: option: type: string enum: - VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_YES - VOTE_OPTION_ABSTAIN - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED description: "VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option." weight: type: string description: WeightedVoteOption defines a unit of vote for vote split. description: 'Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.' description: QueryVoteResponse is the response type for the Query/Vote RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: proposal_id description: proposal_id defines the unique id of the proposal. in: path required: true type: string format: uint64 - name: voter description: voter defines the oter address for the proposals. in: path required: true type: string tags: - Query /cosmos/mint/v1beta1/annual_provisions: get: summary: AnnualProvisions current minting annual provisions value. operationId: AnnualProvisions responses: '200': description: A successful response. schema: type: object properties: annual_provisions: type: string format: byte description: annual_provisions is the current minting annual provisions value. description: 'QueryAnnualProvisionsResponse is the response type for the Query/AnnualProvisions RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/mint/v1beta1/inflation: get: summary: Inflation returns the current minting inflation value. operationId: Inflation responses: '200': description: A successful response. schema: type: object properties: inflation: type: string format: byte description: inflation is the current minting inflation value. description: 'QueryInflationResponse is the response type for the Query/Inflation RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/mint/v1beta1/params: get: summary: Params returns the total set of minting parameters. operationId: MintParams responses: '200': description: A successful response. schema: type: object properties: params: description: params defines the parameters of the module. type: object properties: mint_denom: type: string title: type of coin to mint inflation_rate_change: type: string title: maximum annual change in inflation rate inflation_max: type: string title: maximum inflation rate inflation_min: type: string title: minimum inflation rate goal_bonded: type: string title: goal of percent bonded atoms blocks_per_year: type: string format: uint64 title: expected blocks per year description: QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/params/v1beta1/params: get: summary: 'Params queries a specific parameter of a module, given its subspace and key.' operationId: Params responses: '200': description: A successful response. schema: type: object properties: param: description: param defines the queried parameter. type: object properties: subspace: type: string key: type: string value: type: string description: QueryParamsResponse is response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: subspace description: subspace defines the module to query the parameter for. in: query required: false type: string - name: key description: key defines the key of the parameter in the subspace. in: query required: false type: string tags: - Query /cosmos/slashing/v1beta1/params: get: summary: Params queries the parameters of slashing module operationId: SlashingParams responses: '200': description: A successful response. schema: type: object properties: params: type: object properties: signed_blocks_window: type: string format: int64 min_signed_per_window: type: string format: byte downtime_jail_duration: type: string slash_fraction_double_sign: type: string format: byte slash_fraction_downtime: type: string format: byte description: Params represents the parameters used for by the slashing module. title: QueryParamsResponse is the response type for the Query/Params RPC method default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte tags: - Query /cosmos/slashing/v1beta1/signing_infos: get: summary: SigningInfos queries signing info of all validators operationId: SigningInfos responses: '200': description: A successful response. schema: type: object properties: info: type: array items: type: object properties: address: type: string start_height: type: string format: int64 title: Height at which validator was first a candidate OR was unjailed index_offset: type: string format: int64 description: 'Index which is incremented each time the validator was a bonded in a block and may have signed a precommit or not. This in conjunction with the `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`.' jailed_until: type: string format: date-time description: Timestamp until which the validator is jailed due to liveness downtime. tombstoned: type: boolean format: boolean description: 'Whether or not a validator has been tombstoned (killed out of validator set). It is set once the validator commits an equivocation or for any other configured misbehiavor.' missed_blocks_counter: type: string format: int64 description: 'A counter kept to avoid unnecessary array reads. Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`.' description: 'ValidatorSigningInfo defines a validator''s signing info for monitoring their liveness activity.' title: info is the signing info of all validators pagination: type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" title: 'QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/slashing/v1beta1/signing_infos/{cons_address}: get: summary: SigningInfo queries the signing info of given cons address operationId: SigningInfo responses: '200': description: A successful response. schema: type: object properties: val_signing_info: type: object properties: address: type: string start_height: type: string format: int64 title: Height at which validator was first a candidate OR was unjailed index_offset: type: string format: int64 description: 'Index which is incremented each time the validator was a bonded in a block and may have signed a precommit or not. This in conjunction with the `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`.' jailed_until: type: string format: date-time description: Timestamp until which the validator is jailed due to liveness downtime. tombstoned: type: boolean format: boolean description: 'Whether or not a validator has been tombstoned (killed out of validator set). It is set once the validator commits an equivocation or for any other configured misbehiavor.' missed_blocks_counter: type: string format: int64 description: 'A counter kept to avoid unnecessary array reads. Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`.' description: 'ValidatorSigningInfo defines a validator''s signing info for monitoring their liveness activity.' title: val_signing_info is the signing info of requested val cons address title: 'QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: type: string value: type: string format: byte parameters: - name: cons_address description: cons_address is the address to query signing info of in: path required: true type: string tags: - Query /cosmos/staking/v1beta1/delegations/{delegator_addr}: get: summary: DelegatorDelegations queries all delegations of a given delegator address. operationId: DelegatorDelegations responses: '200': description: A successful response. schema: type: object properties: delegation_responses: type: array items: type: object properties: delegation: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. shares: type: string description: shares define the delegation shares received. description: 'Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.' balance: 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.' description: 'DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.' description: delegation_responses defines all the delegations' info of a delegator. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations: get: summary: Redelegations queries redelegations of given address. operationId: Redelegations responses: '200': description: A successful response. schema: type: object properties: redelegation_responses: type: array items: type: object properties: redelegation: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_src_address: type: string description: validator_src_address is the validator redelegation source operator address. validator_dst_address: type: string description: validator_dst_address is the validator redelegation destination operator address. entries: type: array items: type: object properties: creation_height: type: string format: int64 description: creation_height defines the height which the redelegation took place. completion_time: type: string format: date-time description: completion_time defines the unix time for redelegation completion. initial_balance: type: string description: initial_balance defines the initial balance when redelegation started. shares_dst: type: string description: shares_dst is the amount of destination-validator shares created by redelegation. description: RedelegationEntry defines a redelegation object with relevant metadata. description: entries are the redelegation entries. description: 'Redelegation contains the list of a particular delegator''s redelegating bonds from a particular source validator to a particular destination validator.' entries: type: array items: type: object properties: redelegation_entry: type: object properties: creation_height: type: string format: int64 description: creation_height defines the height which the redelegation took place. completion_time: type: string format: date-time description: completion_time defines the unix time for redelegation completion. initial_balance: type: string description: initial_balance defines the initial balance when redelegation started. shares_dst: type: string description: shares_dst is the amount of destination-validator shares created by redelegation. description: RedelegationEntry defines a redelegation object with relevant metadata. balance: type: string description: 'RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.' description: 'RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryRedelegationsResponse is response type for the Query/Redelegations RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string - name: src_validator_addr description: src_validator_addr defines the validator address to redelegate from. in: query required: false type: string - name: dst_validator_addr description: dst_validator_addr defines the validator address to redelegate to. in: query required: false type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations: get: summary: 'DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.' operationId: DelegatorUnbondingDelegations responses: '200': description: A successful response. schema: type: object properties: unbonding_responses: type: array items: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. entries: type: array items: type: object properties: creation_height: type: string format: int64 description: creation_height is the height which the unbonding took place. completion_time: type: string format: date-time description: completion_time is the unix time for unbonding completion. initial_balance: type: string description: initial_balance defines the tokens initially scheduled to receive at completion. balance: type: string description: balance defines the tokens to receive at completion. description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. description: 'UnbondingDelegation stores all of a single delegator''s unbonding bonds for a single validator in an time-ordered list.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators: get: summary: 'DelegatorValidators queries all validators info for given delegator address.' operationId: StakingDelegatorValidators responses: '200': description: A successful response. schema: type: object properties: validators: type: array items: type: object properties: operator_address: type: string description: operator_address defines the address of the validator's operator; bech encoded in JSON. consensus_pubkey: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" jailed: type: boolean format: boolean description: jailed defined whether the validator has been jailed from bonded status or not. status: description: status is the validator status (bonded/unbonding/unbonded). type: string enum: - BOND_STATUS_UNSPECIFIED - BOND_STATUS_UNBONDED - BOND_STATUS_UNBONDING - BOND_STATUS_BONDED default: BOND_STATUS_UNSPECIFIED tokens: type: string description: tokens define the delegated tokens (incl. self-delegation). delegator_shares: type: string description: delegator_shares defines total shares issued to a validator's delegators. description: description: description defines the description terms for the validator. type: object properties: moniker: type: string description: moniker defines a human-readable name for the validator. identity: type: string description: identity defines an optional identity signature (ex. UPort or Keybase). website: type: string description: website defines an optional website link. security_contact: type: string description: security_contact defines an optional email for security contact. details: type: string description: details define other optional details. unbonding_height: type: string format: int64 description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. unbonding_time: type: string format: date-time description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: commission_rates defines the initial commission rates to be used for creating a validator. type: object properties: rate: type: string description: rate is the commission rate charged to delegators, as a fraction. max_rate: type: string description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. max_change_rate: type: string description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. update_time: type: string format: date-time description: update_time is the last time the commission rate was changed. min_self_delegation: type: string description: min_self_delegation is the validator's self declared minimum self delegation. description: 'Validator defines a validator, together with the total amount of the Validator''s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.' description: validators defines the the validators' info of a delegator. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}: get: summary: 'DelegatorValidator queries validator info for given delegator validator pair.' operationId: DelegatorValidator responses: '200': description: A successful response. schema: type: object properties: validator: type: object properties: operator_address: type: string description: operator_address defines the address of the validator's operator; bech encoded in JSON. consensus_pubkey: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" jailed: type: boolean format: boolean description: jailed defined whether the validator has been jailed from bonded status or not. status: description: status is the validator status (bonded/unbonding/unbonded). type: string enum: - BOND_STATUS_UNSPECIFIED - BOND_STATUS_UNBONDED - BOND_STATUS_UNBONDING - BOND_STATUS_BONDED default: BOND_STATUS_UNSPECIFIED tokens: type: string description: tokens define the delegated tokens (incl. self-delegation). delegator_shares: type: string description: delegator_shares defines total shares issued to a validator's delegators. description: description: description defines the description terms for the validator. type: object properties: moniker: type: string description: moniker defines a human-readable name for the validator. identity: type: string description: identity defines an optional identity signature (ex. UPort or Keybase). website: type: string description: website defines an optional website link. security_contact: type: string description: security_contact defines an optional email for security contact. details: type: string description: details define other optional details. unbonding_height: type: string format: int64 description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. unbonding_time: type: string format: date-time description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: commission_rates defines the initial commission rates to be used for creating a validator. type: object properties: rate: type: string description: rate is the commission rate charged to delegators, as a fraction. max_rate: type: string description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. max_change_rate: type: string description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. update_time: type: string format: date-time description: update_time is the last time the commission rate was changed. min_self_delegation: type: string description: min_self_delegation is the validator's self declared minimum self delegation. description: 'Validator defines a validator, together with the total amount of the Validator''s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.' description: 'QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string - name: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string tags: - Query /cosmos/staking/v1beta1/historical_info/{height}: get: summary: HistoricalInfo queries the historical info for given height. operationId: HistoricalInfo responses: '200': description: A successful response. schema: type: object properties: hist: description: hist defines the historical info at the given height. 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.' chain_id: type: string height: type: string format: int64 time: type: string format: date-time last_block_id: title: prev block info type: object properties: hash: type: string format: byte part_set_header: type: object properties: total: type: integer format: int64 hash: type: string format: byte title: PartsetHeader last_commit_hash: type: string format: byte title: hashes of block data data_hash: type: string format: byte validators_hash: type: string format: byte title: hashes from the app output from the prev block next_validators_hash: type: string format: byte consensus_hash: type: string format: byte app_hash: type: string format: byte last_results_hash: type: string format: byte evidence_hash: type: string format: byte title: consensus info proposer_address: type: string format: byte description: Header defines the structure of a Tendermint block header. valset: type: array items: type: object properties: operator_address: type: string description: operator_address defines the address of the validator's operator; bech encoded in JSON. consensus_pubkey: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" jailed: type: boolean format: boolean description: jailed defined whether the validator has been jailed from bonded status or not. status: description: status is the validator status (bonded/unbonding/unbonded). type: string enum: - BOND_STATUS_UNSPECIFIED - BOND_STATUS_UNBONDED - BOND_STATUS_UNBONDING - BOND_STATUS_BONDED default: BOND_STATUS_UNSPECIFIED tokens: type: string description: tokens define the delegated tokens (incl. self-delegation). delegator_shares: type: string description: delegator_shares defines total shares issued to a validator's delegators. description: description: description defines the description terms for the validator. type: object properties: moniker: type: string description: moniker defines a human-readable name for the validator. identity: type: string description: identity defines an optional identity signature (ex. UPort or Keybase). website: type: string description: website defines an optional website link. security_contact: type: string description: security_contact defines an optional email for security contact. details: type: string description: details define other optional details. unbonding_height: type: string format: int64 description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. unbonding_time: type: string format: date-time description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: commission_rates defines the initial commission rates to be used for creating a validator. type: object properties: rate: type: string description: rate is the commission rate charged to delegators, as a fraction. max_rate: type: string description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. max_change_rate: type: string description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. update_time: type: string format: date-time description: update_time is the last time the commission rate was changed. min_self_delegation: type: string description: min_self_delegation is the validator's self declared minimum self delegation. description: 'Validator defines a validator, together with the total amount of the Validator''s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.' description: 'QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 defines at which height to query the historical info. in: path required: true type: string format: int64 tags: - Query /cosmos/staking/v1beta1/params: get: summary: Parameters queries the staking parameters. operationId: StakingParams responses: '200': description: A successful response. schema: type: object properties: params: description: params holds all the parameters of this module. type: object properties: unbonding_time: type: string description: unbonding_time is the time duration of unbonding. max_validators: type: integer format: int64 description: max_validators is the maximum number of validators. max_entries: type: integer format: int64 description: max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). historical_entries: type: integer format: int64 description: historical_entries is the number of historical entries to persist. bond_denom: type: string description: bond_denom defines the bondable coin denomination. description: QueryParamsResponse is response type for the Query/Params RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: - Query /cosmos/staking/v1beta1/pool: get: summary: Pool queries the pool info. operationId: Pool responses: '200': description: A successful response. schema: type: object properties: pool: description: pool defines the pool info. type: object properties: not_bonded_tokens: type: string bonded_tokens: type: string description: QueryPoolResponse is response type for the Query/Pool RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: - Query /cosmos/staking/v1beta1/validators: get: summary: Validators queries all validators that match the given status. operationId: Validators responses: '200': description: A successful response. schema: type: object properties: validators: type: array items: type: object properties: operator_address: type: string description: operator_address defines the address of the validator's operator; bech encoded in JSON. consensus_pubkey: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" jailed: type: boolean format: boolean description: jailed defined whether the validator has been jailed from bonded status or not. status: description: status is the validator status (bonded/unbonding/unbonded). type: string enum: - BOND_STATUS_UNSPECIFIED - BOND_STATUS_UNBONDED - BOND_STATUS_UNBONDING - BOND_STATUS_BONDED default: BOND_STATUS_UNSPECIFIED tokens: type: string description: tokens define the delegated tokens (incl. self-delegation). delegator_shares: type: string description: delegator_shares defines total shares issued to a validator's delegators. description: description: description defines the description terms for the validator. type: object properties: moniker: type: string description: moniker defines a human-readable name for the validator. identity: type: string description: identity defines an optional identity signature (ex. UPort or Keybase). website: type: string description: website defines an optional website link. security_contact: type: string description: security_contact defines an optional email for security contact. details: type: string description: details define other optional details. unbonding_height: type: string format: int64 description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. unbonding_time: type: string format: date-time description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: commission_rates defines the initial commission rates to be used for creating a validator. type: object properties: rate: type: string description: rate is the commission rate charged to delegators, as a fraction. max_rate: type: string description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. max_change_rate: type: string description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. update_time: type: string format: date-time description: update_time is the last time the commission rate was changed. min_self_delegation: type: string description: min_self_delegation is the validator's self declared minimum self delegation. description: 'Validator defines a validator, together with the total amount of the Validator''s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.' description: validators contains all the queried validators. pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' title: QueryValidatorsResponse is response type for the Query/Validators RPC method default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: status description: status enables to query for validators matching a given status. in: query required: false type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/validators/{validator_addr}: get: summary: Validator queries validator info for given validator address. operationId: Validator responses: '200': description: A successful response. schema: type: object properties: validator: type: object properties: operator_address: type: string description: operator_address defines the address of the validator's operator; bech encoded in JSON. consensus_pubkey: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" jailed: type: boolean format: boolean description: jailed defined whether the validator has been jailed from bonded status or not. status: description: status is the validator status (bonded/unbonding/unbonded). type: string enum: - BOND_STATUS_UNSPECIFIED - BOND_STATUS_UNBONDED - BOND_STATUS_UNBONDING - BOND_STATUS_BONDED default: BOND_STATUS_UNSPECIFIED tokens: type: string description: tokens define the delegated tokens (incl. self-delegation). delegator_shares: type: string description: delegator_shares defines total shares issued to a validator's delegators. description: description: description defines the description terms for the validator. type: object properties: moniker: type: string description: moniker defines a human-readable name for the validator. identity: type: string description: identity defines an optional identity signature (ex. UPort or Keybase). website: type: string description: website defines an optional website link. security_contact: type: string description: security_contact defines an optional email for security contact. details: type: string description: details define other optional details. unbonding_height: type: string format: int64 description: unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. unbonding_time: type: string format: date-time description: unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. commission: description: commission defines the commission parameters. type: object properties: commission_rates: description: commission_rates defines the initial commission rates to be used for creating a validator. type: object properties: rate: type: string description: rate is the commission rate charged to delegators, as a fraction. max_rate: type: string description: max_rate defines the maximum commission rate which validator can ever charge, as a fraction. max_change_rate: type: string description: max_change_rate defines the maximum daily increase of the validator commission, as a fraction. update_time: type: string format: date-time description: update_time is the last time the commission rate was changed. min_self_delegation: type: string description: min_self_delegation is the validator's self declared minimum self delegation. description: 'Validator defines a validator, together with the total amount of the Validator''s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.' title: QueryValidatorResponse is response type for the Query/Validator RPC method default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string tags: - Query /cosmos/staking/v1beta1/validators/{validator_addr}/delegations: get: summary: ValidatorDelegations queries delegate info for given validator. operationId: ValidatorDelegations responses: '200': description: A successful response. schema: type: object properties: delegation_responses: type: array items: type: object properties: delegation: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. shares: type: string description: shares define the delegation shares received. description: 'Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.' balance: 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.' description: 'DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' total: type: string format: uint64 title: 'total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise' title: 'QueryValidatorDelegationsResponse is response type for the Query/ValidatorDelegations RPC method' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}: get: summary: Delegation queries delegate info for given validator delegator pair. operationId: Delegation responses: '200': description: A successful response. schema: type: object properties: delegation_response: type: object properties: delegation: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. shares: type: string description: shares define the delegation shares received. description: 'Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.' balance: 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.' description: 'DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.' description: QueryDelegationResponse is response type for the Query/Delegation RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string - name: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string tags: - Query /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: get: summary: 'UnbondingDelegation queries unbonding info for given validator delegator pair.' operationId: UnbondingDelegation responses: '200': description: A successful response. schema: type: object properties: unbond: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. entries: type: array items: type: object properties: creation_height: type: string format: int64 description: creation_height is the height which the unbonding took place. completion_time: type: string format: date-time description: completion_time is the unix time for unbonding completion. initial_balance: type: string description: initial_balance defines the tokens initially scheduled to receive at completion. balance: type: string description: balance defines the tokens to receive at completion. description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. description: 'UnbondingDelegation stores all of a single delegator''s unbonding bonds for a single validator in an time-ordered list.' description: 'QueryDelegationResponse is response type for the Query/UnbondingDelegation RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string - name: delegator_addr description: delegator_addr defines the delegator address to query for. in: path required: true type: string tags: - Query /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations: get: summary: ValidatorUnbondingDelegations queries unbonding delegations of a validator. operationId: ValidatorUnbondingDelegations responses: '200': description: A successful response. schema: type: object properties: unbonding_responses: type: array items: type: object properties: delegator_address: type: string description: delegator_address is the bech32-encoded address of the delegator. validator_address: type: string description: validator_address is the bech32-encoded address of the validator. entries: type: array items: type: object properties: creation_height: type: string format: int64 description: creation_height is the height which the unbonding took place. completion_time: type: string format: date-time description: completion_time is the unix time for unbonding completion. initial_balance: type: string description: initial_balance defines the tokens initially scheduled to receive at completion. balance: type: string description: balance defines the tokens to receive at completion. description: UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. description: 'UnbondingDelegation stores all of a single delegator''s unbonding bonds for a single validator in an time-ordered list.' pagination: description: pagination defines the pagination in the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: 'QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: validator_addr description: validator_addr defines the validator address to query for. in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/upgrade/v1beta1/applied_plan/{name}: get: summary: AppliedPlan queries a previously applied upgrade plan by its name. operationId: AppliedPlan responses: '200': description: A successful response. schema: type: object properties: height: type: string format: int64 description: height is the block height at which the plan was applied. description: 'QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: name description: name is the name of the applied plan to query for. in: path required: true type: string tags: - Query /cosmos/upgrade/v1beta1/current_plan: get: summary: CurrentPlan queries the current upgrade plan. operationId: CurrentPlan responses: '200': description: A successful response. schema: type: object properties: plan: description: plan is the current upgrade plan. type: object properties: name: type: string description: 'Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit.' time: type: string format: date-time description: 'Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown.' height: type: string format: int64 description: 'The height at which the upgrade must be performed. Only used if Time is not set.' info: type: string title: 'Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to' upgraded_client_state: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: 'QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: - Query /cosmos/upgrade/v1beta1/module_versions: get: summary: ModuleVersions queries the list of module versions from state. operationId: ModuleVersions responses: '200': description: A successful response. schema: type: object properties: module_versions: type: array items: type: object properties: name: type: string title: name of the app module version: type: string format: uint64 title: consensus version of the app module description: ModuleVersion specifies a module and its consensus version. description: module_versions is a list of module names with their consensus versions. description: 'QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: module_name description: 'module_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.' in: query required: false type: string tags: - Query /cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}: get: summary: 'UpgradedConsensusState queries the consensus state that will serve as a trusted kernel for the next version of this chain. It will only be stored at the last height of this chain. UpgradedConsensusState RPC not supported with legacy querier' operationId: UpgradedConsensusState responses: '200': description: A successful response. schema: type: object properties: upgraded_consensus_state: type: string format: byte description: 'QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.' default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: last_height description: 'last height of the current chain must be sent in request as this is the height under which next consensus state is stored' in: path required: true type: string format: int64 tags: - Query /cosmos/authz/v1beta1/grants: get: summary: Returns list of `Authorization`, granted to the grantee by the granter. operationId: Grants responses: '200': description: A successful response. schema: type: object properties: grants: type: array items: type: object properties: authorization: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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 }" expiration: type: string format: date-time description: 'Grant gives permissions to execute the provide method with expiration time.' description: authorizations is a list of grants granted for grantee by granter. pagination: description: pagination defines an pagination for the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryGrantsResponse is the response type for the Query/Authorizations RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: granter in: query required: false type: string - name: grantee in: query required: false type: string - name: msg_type_url description: Optional, msg_type_url, when set, will query only grants matching given msg type. in: query required: false type: string - 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.count_total 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 format: 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 format: boolean tags: - Query /cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}: get: summary: Allowance returns fee granted to the grantee by the granter. operationId: Allowance responses: '200': description: A successful response. schema: type: object properties: allowance: description: allowance is a allowance granted for grantee by granter. type: object properties: granter: type: string description: granter is the address of the user granting an allowance of their funds. grantee: type: string description: grantee is the address of the user being granted an allowance of another user's funds. allowance: description: allowance can be any of basic and filtered fee allowance. type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. title: Grant is stored in the KVStore to record a grant with full context description: QueryAllowanceResponse is the response type for the Query/Allowance RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: granter description: granter is the address of the user granting an allowance of their funds. in: path required: true type: string - name: grantee description: grantee is the address of the user being granted an allowance of another user's funds. in: path required: true type: string tags: - Query /cosmos/feegrant/v1beta1/allowances/{grantee}: get: summary: Allowances returns all the grants for address. operationId: Allowances responses: '200': description: A successful response. schema: type: object properties: allowances: type: array items: type: object properties: granter: type: string description: granter is the address of the user granting an allowance of their funds. grantee: type: string description: grantee is the address of the user being granted an allowance of another user's funds. allowance: description: allowance can be any of basic and filtered fee allowance. type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. title: Grant is stored in the KVStore to record a grant with full context description: allowances are allowance's granted for grantee by granter. pagination: description: pagination defines an pagination for the response. type: object properties: next_key: type: string format: byte title: 'next_key is the key to be passed to PageRequest.key to query the next page most efficiently' 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: QueryAllowancesResponse is the response type for the Query/Allowances RPC method. default: description: An unexpected error response schema: type: object properties: error: type: string code: type: integer format: int32 message: type: string details: type: array items: type: object properties: type_url: 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.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." value: type: string format: byte description: Must be a valid serialized protocol buffer of the above specified type. 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\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 := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, 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\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: grantee in: path required: true type: string - 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.count_total 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 format: 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 format: boolean tags: - Query securityDefinitions: kms: type: basic