diff --git a/.env b/.env
index 991422c8..4d4524df 100644
--- a/.env
+++ b/.env
@@ -12,6 +12,7 @@ AKASH_TS_ROOT=${AKASH_ROOT}/ts
AKASH_TS_PACKAGE_FILE=${AKASH_TS_ROOT}/package.json
AKASH_TS_NODE_MODULES=${AKASH_TS_ROOT}/node_modules
AKASH_TS_NODE_BIN=${AKASH_TS_NODE_MODULES}/.bin
-AKASH_DEVCACHE_TS_TMP=${AKASH_DEVCACHE_BASE}/tmp/ts
-AKASH_DEVCACHE_TS_TMP_GRPC_JS=${AKASH_DEVCACHE_TS_TMP}/generated-grpc-js
-AKASH_DEVCACHE_TS_TMP_PATCHES=${AKASH_DEVCACHE_TS_TMP}/patches
\ No newline at end of file
+AKASH_DEVCACHE_TMP=${AKASH_DEVCACHE_BASE}/tmp
+AKASH_DEVCACHE_TMP_TS=${AKASH_DEVCACHE_TMP}/ts
+AKASH_DEVCACHE_TMP_TS_GRPC_JS=${AKASH_DEVCACHE_TMP_TS}/generated-grpc-js
+AKASH_DEVCACHE_TMP_TS_PATCHES=${AKASH_DEVCACHE_TMP_TS}/patches
diff --git a/.golangci.yaml b/.golangci.yaml
index 4ac032c1..553bbc20 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -6,11 +6,11 @@ issues:
# Skip generated k8s code
run:
- skip-dirs:
+ exclude-dirs:
- "^go/node/types/v1beta1"
- "^go/node/types/v1beta2"
- "^go/node/market/v1beta3"
- skip-files:
+ exclude-files:
- "\\.pb\\.go$"
- "\\.pb\\.gw\\.go$"
# Skip vendor/ etc
diff --git a/Makefile b/Makefile
index d4b0a541..580a1573 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
UNAME_OS := $(shell uname -s)
UNAME_ARCH := $(shell uname -m)
-PROTO_LEGACY ?= true
ifeq (0, $(shell id -u))
$(warning "make was started with superuser privileges. it may cause issues with direnv")
@@ -24,23 +23,25 @@ ifeq (, $(GOTOOLCHAIN))
$(error "GOTOOLCHAIN is not set")
endif
+GO_PKG := go
+TS_PKG := ts
+
GO := GO111MODULE=$(GO111MODULE) go
-GO_MOD_NAME := $(shell go list -m 2>/dev/null)
+GO_MOD_NAME := $(shell cd $(GO_PKG); go list -m 2>/dev/null)
BUF_VERSION ?= 1.28.1
-PROTOC_VERSION ?= 21.12
-GOGOPROTO_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/gogoproto)
-# TODO https://github.com/akash-network/support/issues/77
-PROTOC_GEN_GOCOSMOS_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/regen-network/cosmos-proto)
-PROTOC_GEN_GO_PULSAR_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/cosmos-proto)
-PROTOC_GEN_GO_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' google.golang.org/protobuf)
-PROTOC_GEN_GRPC_GATEWAY_VERSION := $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/grpc-ecosystem/grpc-gateway)
-PROTOC_GEN_DOC_VERSION := $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/pseudomuto/protoc-gen-doc)
+PROTOC_VERSION ?= 26.1
+GOGOPROTO_VERSION ?= $(shell cd $(GO_PKG); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/gogoproto)
+PROTOC_GEN_GOCOSMOS_VERSION ?= $(GOGOPROTO_VERSION)
+PROTOC_GEN_GO_PULSAR_VERSION ?= $(shell cd $(GO_PKG); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/cosmos-proto)
+PROTOC_GEN_GO_VERSION ?= $(shell cd $(GO_PKG); $(GO) list -mod=readonly -m -f '{{ .Version }}' google.golang.org/protobuf)
+PROTOC_GEN_GRPC_GATEWAY_VERSION := $(shell cd $(GO_PKG); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/grpc-ecosystem/grpc-gateway)
+PROTOC_GEN_DOC_VERSION := $(shell cd $(GO_PKG); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/pseudomuto/protoc-gen-doc)
PROTOC_GEN_SWAGGER_VERSION := $(PROTOC_GEN_GRPC_GATEWAY_VERSION)
MODVENDOR_VERSION ?= v0.5.0
MOCKERY_VERSION ?= 2.42.0
-GOLANGCI_LINT_VERSION ?= v1.56.1
+GOLANGCI_LINT_VERSION ?= v1.58.0
BUF_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/buf/$(BUF_VERSION)
PROTOC_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/protoc/$(PROTOC_VERSION)
@@ -58,8 +59,8 @@ GOLANGCI_LINT_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/golangci-lint
BUF := $(AKASH_DEVCACHE_BIN)/buf
PROTOC := $(AKASH_DEVCACHE_BIN)/protoc
-# TODO https://github.com/akash-network/support/issues/77
-PROTOC_GEN_GOCOSMOS := $(AKASH_DEVCACHE_BIN)/legacy/protoc-gen-gocosmos
+PROTOC_GEN_GOCOSMOS := $(AKASH_DEVCACHE_BIN)/protoc-gen-gocosmos
+GOGOPROTO := $(AKASH_DEVCACHE_BIN)/gogoproto
PROTOC_GEN_GO_PULSAR := $(AKASH_DEVCACHE_BIN)/protoc-gen-go-pulsar
PROTOC_GEN_GO := $(AKASH_DEVCACHE_BIN)/protoc-gen-go
PROTOC_GEN_GRPC_GATEWAY := $(AKASH_DEVCACHE_BIN)/protoc-gen-grpc-gateway
diff --git a/buf.gen.gogo.yaml b/buf.gen.go.yaml
similarity index 100%
rename from buf.gen.gogo.yaml
rename to buf.gen.go.yaml
diff --git a/buf.gen.ts.yaml b/buf.gen.ts.yaml
new file mode 100644
index 00000000..a7903f0b
--- /dev/null
+++ b/buf.gen.ts.yaml
@@ -0,0 +1,6 @@
+version: v1
+plugins:
+ - name: ts
+ out: ./ts/src/generated
+ strategy: all
+ path: ./ts/node_modules/.bin/protoc-gen-ts_proto
diff --git a/buf.work.yaml b/buf.work.yaml
index b72eb84b..513a0f47 100644
--- a/buf.work.yaml
+++ b/buf.work.yaml
@@ -3,5 +3,3 @@ directories:
- proto/node
- proto/provider
- .cache/include
- - vendor/github.com/cosmos/cosmos-sdk/proto
- - vendor/github.com/cosmos/cosmos-sdk/third_party/proto
diff --git a/docs/config.yaml b/docs/config.yaml
index 36dd3f8d..ef37639f 100644
--- a/docs/config.yaml
+++ b/docs/config.yaml
@@ -4,13 +4,13 @@ info:
description: "A REST interface for state queries"
version: "1.0.0"
apis:
- - url: "./.cache/tmp/swagger-gen/akash/audit/v1beta3/query.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/cert/v1beta3/query.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta3/query.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta3/service.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/market/v1beta3/query.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/market/v1beta3/service.swagger.json"
- - url: "./.cache/tmp/swagger-gen/akash/provider/v1beta3/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/audit/v1/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/cert/v1/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/service.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/service.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/provider/v1beta4/query.swagger.json"
- url: "./vendor/github.com/cosmos/cosmos-sdk/client/docs/swagger-ui/swagger.yaml"
dereference:
circular: "ignore"
diff --git a/docs/proto/node.md b/docs/proto/node.md
index bbeedbc7..0c733118 100644
--- a/docs/proto/node.md
+++ b/docs/proto/node.md
@@ -4,189 +4,135 @@
## Table of Contents
- - [akash/discovery/v1/client_info.proto](#akash/discovery/v1/client_info.proto)
- - [ClientInfo](#akash.discovery.v1.ClientInfo)
-
- - [akash/discovery/v1/akash.proto](#akash/discovery/v1/akash.proto)
- - [Akash](#akash.discovery.v1.Akash)
-
- - [akash/provider/v1beta4/query.proto](#akash/provider/v1beta4/query.proto)
- - [QueryProviderRequest](#akash.provider.v1beta4.QueryProviderRequest)
- - [QueryProviderResponse](#akash.provider.v1beta4.QueryProviderResponse)
- - [QueryProvidersRequest](#akash.provider.v1beta4.QueryProvidersRequest)
- - [QueryProvidersResponse](#akash.provider.v1beta4.QueryProvidersResponse)
-
- - [Query](#akash.provider.v1beta4.Query)
+ - [akash/base/attributes/v1/attribute.proto](#akash/base/attributes/v1/attribute.proto)
+ - [Attribute](#akash.base.attributes.v1.Attribute)
+ - [PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements)
+ - [SignedBy](#akash.base.attributes.v1.SignedBy)
- - [akash/provider/v1beta4/genesis.proto](#akash/provider/v1beta4/genesis.proto)
- - [GenesisState](#akash.provider.v1beta4.GenesisState)
+ - [akash/audit/v1/audit.proto](#akash/audit/v1/audit.proto)
+ - [AttributesFilters](#akash.audit.v1.AttributesFilters)
+ - [AttributesResponse](#akash.audit.v1.AttributesResponse)
+ - [AuditedAttributes](#akash.audit.v1.AuditedAttributes)
+ - [Provider](#akash.audit.v1.Provider)
- - [akash/provider/v1beta4/provider.proto](#akash/provider/v1beta4/provider.proto)
- - [MsgCreateProvider](#akash.provider.v1beta4.MsgCreateProvider)
- - [MsgCreateProviderResponse](#akash.provider.v1beta4.MsgCreateProviderResponse)
- - [MsgDeleteProvider](#akash.provider.v1beta4.MsgDeleteProvider)
- - [MsgDeleteProviderResponse](#akash.provider.v1beta4.MsgDeleteProviderResponse)
- - [MsgUpdateProvider](#akash.provider.v1beta4.MsgUpdateProvider)
- - [MsgUpdateProviderResponse](#akash.provider.v1beta4.MsgUpdateProviderResponse)
- - [Provider](#akash.provider.v1beta4.Provider)
- - [ProviderInfo](#akash.provider.v1beta4.ProviderInfo)
+ - [akash/audit/v1/genesis.proto](#akash/audit/v1/genesis.proto)
+ - [GenesisState](#akash.audit.v1.GenesisState)
- - [Msg](#akash.provider.v1beta4.Msg)
+ - [akash/audit/v1/msg.proto](#akash/audit/v1/msg.proto)
+ - [MsgDeleteProviderAttributes](#akash.audit.v1.MsgDeleteProviderAttributes)
+ - [MsgDeleteProviderAttributesResponse](#akash.audit.v1.MsgDeleteProviderAttributesResponse)
+ - [MsgSignProviderAttributes](#akash.audit.v1.MsgSignProviderAttributes)
+ - [MsgSignProviderAttributesResponse](#akash.audit.v1.MsgSignProviderAttributesResponse)
- - [akash/provider/v1beta3/query.proto](#akash/provider/v1beta3/query.proto)
- - [QueryProviderRequest](#akash.provider.v1beta3.QueryProviderRequest)
- - [QueryProviderResponse](#akash.provider.v1beta3.QueryProviderResponse)
- - [QueryProvidersRequest](#akash.provider.v1beta3.QueryProvidersRequest)
- - [QueryProvidersResponse](#akash.provider.v1beta3.QueryProvidersResponse)
+ - [akash/audit/v1/query.proto](#akash/audit/v1/query.proto)
+ - [QueryAllProvidersAttributesRequest](#akash.audit.v1.QueryAllProvidersAttributesRequest)
+ - [QueryAuditorAttributesRequest](#akash.audit.v1.QueryAuditorAttributesRequest)
+ - [QueryProviderAttributesRequest](#akash.audit.v1.QueryProviderAttributesRequest)
+ - [QueryProviderAuditorRequest](#akash.audit.v1.QueryProviderAuditorRequest)
+ - [QueryProviderRequest](#akash.audit.v1.QueryProviderRequest)
+ - [QueryProvidersResponse](#akash.audit.v1.QueryProvidersResponse)
- - [Query](#akash.provider.v1beta3.Query)
+ - [Query](#akash.audit.v1.Query)
- - [akash/provider/v1beta3/genesis.proto](#akash/provider/v1beta3/genesis.proto)
- - [GenesisState](#akash.provider.v1beta3.GenesisState)
+ - [akash/audit/v1/service.proto](#akash/audit/v1/service.proto)
+ - [Msg](#akash.audit.v1.Msg)
- - [akash/provider/v1beta3/provider.proto](#akash/provider/v1beta3/provider.proto)
- - [MsgCreateProvider](#akash.provider.v1beta3.MsgCreateProvider)
- - [MsgCreateProviderResponse](#akash.provider.v1beta3.MsgCreateProviderResponse)
- - [MsgDeleteProvider](#akash.provider.v1beta3.MsgDeleteProvider)
- - [MsgDeleteProviderResponse](#akash.provider.v1beta3.MsgDeleteProviderResponse)
- - [MsgUpdateProvider](#akash.provider.v1beta3.MsgUpdateProvider)
- - [MsgUpdateProviderResponse](#akash.provider.v1beta3.MsgUpdateProviderResponse)
- - [Provider](#akash.provider.v1beta3.Provider)
- - [ProviderInfo](#akash.provider.v1beta3.ProviderInfo)
+ - [akash/base/resources/v1beta4/resourcevalue.proto](#akash/base/resources/v1beta4/resourcevalue.proto)
+ - [ResourceValue](#akash.base.resources.v1beta4.ResourceValue)
- - [Msg](#akash.provider.v1beta3.Msg)
+ - [akash/base/resources/v1beta4/cpu.proto](#akash/base/resources/v1beta4/cpu.proto)
+ - [CPU](#akash.base.resources.v1beta4.CPU)
- - [akash/provider/v1beta2/query.proto](#akash/provider/v1beta2/query.proto)
- - [QueryProviderRequest](#akash.provider.v1beta2.QueryProviderRequest)
- - [QueryProviderResponse](#akash.provider.v1beta2.QueryProviderResponse)
- - [QueryProvidersRequest](#akash.provider.v1beta2.QueryProvidersRequest)
- - [QueryProvidersResponse](#akash.provider.v1beta2.QueryProvidersResponse)
+ - [akash/base/resources/v1beta4/endpoint.proto](#akash/base/resources/v1beta4/endpoint.proto)
+ - [Endpoint](#akash.base.resources.v1beta4.Endpoint)
- - [Query](#akash.provider.v1beta2.Query)
+ - [Endpoint.Kind](#akash.base.resources.v1beta4.Endpoint.Kind)
- - [akash/provider/v1beta2/genesis.proto](#akash/provider/v1beta2/genesis.proto)
- - [GenesisState](#akash.provider.v1beta2.GenesisState)
+ - [akash/base/resources/v1beta4/gpu.proto](#akash/base/resources/v1beta4/gpu.proto)
+ - [GPU](#akash.base.resources.v1beta4.GPU)
- - [akash/provider/v1beta2/provider.proto](#akash/provider/v1beta2/provider.proto)
- - [MsgCreateProvider](#akash.provider.v1beta2.MsgCreateProvider)
- - [MsgCreateProviderResponse](#akash.provider.v1beta2.MsgCreateProviderResponse)
- - [MsgDeleteProvider](#akash.provider.v1beta2.MsgDeleteProvider)
- - [MsgDeleteProviderResponse](#akash.provider.v1beta2.MsgDeleteProviderResponse)
- - [MsgUpdateProvider](#akash.provider.v1beta2.MsgUpdateProvider)
- - [MsgUpdateProviderResponse](#akash.provider.v1beta2.MsgUpdateProviderResponse)
- - [Provider](#akash.provider.v1beta2.Provider)
- - [ProviderInfo](#akash.provider.v1beta2.ProviderInfo)
+ - [akash/base/resources/v1beta4/memory.proto](#akash/base/resources/v1beta4/memory.proto)
+ - [Memory](#akash.base.resources.v1beta4.Memory)
- - [Msg](#akash.provider.v1beta2.Msg)
+ - [akash/base/resources/v1beta4/storage.proto](#akash/base/resources/v1beta4/storage.proto)
+ - [Storage](#akash.base.resources.v1beta4.Storage)
- - [akash/provider/v1beta1/provider.proto](#akash/provider/v1beta1/provider.proto)
- - [MsgCreateProvider](#akash.provider.v1beta1.MsgCreateProvider)
- - [MsgCreateProviderResponse](#akash.provider.v1beta1.MsgCreateProviderResponse)
- - [MsgDeleteProvider](#akash.provider.v1beta1.MsgDeleteProvider)
- - [MsgDeleteProviderResponse](#akash.provider.v1beta1.MsgDeleteProviderResponse)
- - [MsgUpdateProvider](#akash.provider.v1beta1.MsgUpdateProvider)
- - [MsgUpdateProviderResponse](#akash.provider.v1beta1.MsgUpdateProviderResponse)
- - [Provider](#akash.provider.v1beta1.Provider)
- - [ProviderInfo](#akash.provider.v1beta1.ProviderInfo)
+ - [akash/base/resources/v1beta4/resources.proto](#akash/base/resources/v1beta4/resources.proto)
+ - [Resources](#akash.base.resources.v1beta4.Resources)
- - [Msg](#akash.provider.v1beta1.Msg)
+ - [akash/cert/v1/cert.proto](#akash/cert/v1/cert.proto)
+ - [Certificate](#akash.cert.v1.Certificate)
+ - [ID](#akash.cert.v1.ID)
- - [akash/audit/v1beta4/audit.proto](#akash/audit/v1beta4/audit.proto)
- - [AttributesFilters](#akash.audit.v1beta4.AttributesFilters)
- - [AttributesResponse](#akash.audit.v1beta4.AttributesResponse)
- - [AuditedAttributes](#akash.audit.v1beta4.AuditedAttributes)
- - [MsgDeleteProviderAttributes](#akash.audit.v1beta4.MsgDeleteProviderAttributes)
- - [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta4.MsgDeleteProviderAttributesResponse)
- - [MsgSignProviderAttributes](#akash.audit.v1beta4.MsgSignProviderAttributes)
- - [MsgSignProviderAttributesResponse](#akash.audit.v1beta4.MsgSignProviderAttributesResponse)
- - [Provider](#akash.audit.v1beta4.Provider)
+ - [State](#akash.cert.v1.State)
- - [Msg](#akash.audit.v1beta4.Msg)
+ - [akash/cert/v1/filters.proto](#akash/cert/v1/filters.proto)
+ - [CertificateFilter](#akash.cert.v1.CertificateFilter)
- - [akash/audit/v1beta4/query.proto](#akash/audit/v1beta4/query.proto)
- - [QueryAllProvidersAttributesRequest](#akash.audit.v1beta4.QueryAllProvidersAttributesRequest)
- - [QueryAuditorAttributesRequest](#akash.audit.v1beta4.QueryAuditorAttributesRequest)
- - [QueryProviderAttributesRequest](#akash.audit.v1beta4.QueryProviderAttributesRequest)
- - [QueryProviderAuditorRequest](#akash.audit.v1beta4.QueryProviderAuditorRequest)
- - [QueryProviderRequest](#akash.audit.v1beta4.QueryProviderRequest)
- - [QueryProvidersResponse](#akash.audit.v1beta4.QueryProvidersResponse)
+ - [akash/cert/v1/genesis.proto](#akash/cert/v1/genesis.proto)
+ - [GenesisCertificate](#akash.cert.v1.GenesisCertificate)
+ - [GenesisState](#akash.cert.v1.GenesisState)
- - [Query](#akash.audit.v1beta4.Query)
+ - [akash/cert/v1/msg.proto](#akash/cert/v1/msg.proto)
+ - [MsgCreateCertificate](#akash.cert.v1.MsgCreateCertificate)
+ - [MsgCreateCertificateResponse](#akash.cert.v1.MsgCreateCertificateResponse)
+ - [MsgRevokeCertificate](#akash.cert.v1.MsgRevokeCertificate)
+ - [MsgRevokeCertificateResponse](#akash.cert.v1.MsgRevokeCertificateResponse)
- - [akash/audit/v1beta4/genesis.proto](#akash/audit/v1beta4/genesis.proto)
- - [GenesisState](#akash.audit.v1beta4.GenesisState)
+ - [akash/cert/v1/query.proto](#akash/cert/v1/query.proto)
+ - [CertificateResponse](#akash.cert.v1.CertificateResponse)
+ - [QueryCertificatesRequest](#akash.cert.v1.QueryCertificatesRequest)
+ - [QueryCertificatesResponse](#akash.cert.v1.QueryCertificatesResponse)
- - [akash/audit/v1beta3/audit.proto](#akash/audit/v1beta3/audit.proto)
- - [AttributesFilters](#akash.audit.v1beta3.AttributesFilters)
- - [AttributesResponse](#akash.audit.v1beta3.AttributesResponse)
- - [AuditedAttributes](#akash.audit.v1beta3.AuditedAttributes)
- - [MsgDeleteProviderAttributes](#akash.audit.v1beta3.MsgDeleteProviderAttributes)
- - [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta3.MsgDeleteProviderAttributesResponse)
- - [MsgSignProviderAttributes](#akash.audit.v1beta3.MsgSignProviderAttributes)
- - [MsgSignProviderAttributesResponse](#akash.audit.v1beta3.MsgSignProviderAttributesResponse)
- - [Provider](#akash.audit.v1beta3.Provider)
+ - [Query](#akash.cert.v1.Query)
- - [Msg](#akash.audit.v1beta3.Msg)
+ - [akash/cert/v1/service.proto](#akash/cert/v1/service.proto)
+ - [Msg](#akash.cert.v1.Msg)
- - [akash/audit/v1beta3/query.proto](#akash/audit/v1beta3/query.proto)
- - [QueryAllProvidersAttributesRequest](#akash.audit.v1beta3.QueryAllProvidersAttributesRequest)
- - [QueryAuditorAttributesRequest](#akash.audit.v1beta3.QueryAuditorAttributesRequest)
- - [QueryProviderAttributesRequest](#akash.audit.v1beta3.QueryProviderAttributesRequest)
- - [QueryProviderAuditorRequest](#akash.audit.v1beta3.QueryProviderAuditorRequest)
- - [QueryProviderRequest](#akash.audit.v1beta3.QueryProviderRequest)
- - [QueryProvidersResponse](#akash.audit.v1beta3.QueryProvidersResponse)
+ - [akash/deployment/v1/authz.proto](#akash/deployment/v1/authz.proto)
+ - [DepositAuthorization](#akash.deployment.v1.DepositAuthorization)
- - [Query](#akash.audit.v1beta3.Query)
+ - [akash/deployment/v1/deployment.proto](#akash/deployment/v1/deployment.proto)
+ - [Deployment](#akash.deployment.v1.Deployment)
+ - [DeploymentID](#akash.deployment.v1.DeploymentID)
- - [akash/audit/v1beta3/genesis.proto](#akash/audit/v1beta3/genesis.proto)
- - [GenesisState](#akash.audit.v1beta3.GenesisState)
+ - [DeploymentState](#akash.deployment.v1.DeploymentState)
- - [akash/audit/v1beta2/audit.proto](#akash/audit/v1beta2/audit.proto)
- - [AttributesFilters](#akash.audit.v1beta2.AttributesFilters)
- - [AttributesResponse](#akash.audit.v1beta2.AttributesResponse)
- - [AuditedAttributes](#akash.audit.v1beta2.AuditedAttributes)
- - [MsgDeleteProviderAttributes](#akash.audit.v1beta2.MsgDeleteProviderAttributes)
- - [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta2.MsgDeleteProviderAttributesResponse)
- - [MsgSignProviderAttributes](#akash.audit.v1beta2.MsgSignProviderAttributes)
- - [MsgSignProviderAttributesResponse](#akash.audit.v1beta2.MsgSignProviderAttributesResponse)
- - [Provider](#akash.audit.v1beta2.Provider)
+ - [akash/deployment/v1/group.proto](#akash/deployment/v1/group.proto)
+ - [GroupID](#akash.deployment.v1.GroupID)
- - [Msg](#akash.audit.v1beta2.Msg)
+ - [akash/deployment/v1beta4/resourceunit.proto](#akash/deployment/v1beta4/resourceunit.proto)
+ - [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit)
- - [akash/audit/v1beta2/query.proto](#akash/audit/v1beta2/query.proto)
- - [QueryAllProvidersAttributesRequest](#akash.audit.v1beta2.QueryAllProvidersAttributesRequest)
- - [QueryAuditorAttributesRequest](#akash.audit.v1beta2.QueryAuditorAttributesRequest)
- - [QueryProviderAttributesRequest](#akash.audit.v1beta2.QueryProviderAttributesRequest)
- - [QueryProviderAuditorRequest](#akash.audit.v1beta2.QueryProviderAuditorRequest)
- - [QueryProviderRequest](#akash.audit.v1beta2.QueryProviderRequest)
- - [QueryProvidersResponse](#akash.audit.v1beta2.QueryProvidersResponse)
+ - [akash/deployment/v1beta4/groupspec.proto](#akash/deployment/v1beta4/groupspec.proto)
+ - [GroupSpec](#akash.deployment.v1beta4.GroupSpec)
- - [Query](#akash.audit.v1beta2.Query)
+ - [akash/deployment/v1/msg.proto](#akash/deployment/v1/msg.proto)
+ - [MsgDepositDeployment](#akash.deployment.v1.MsgDepositDeployment)
+ - [MsgDepositDeploymentResponse](#akash.deployment.v1.MsgDepositDeploymentResponse)
- - [akash/audit/v1beta2/genesis.proto](#akash/audit/v1beta2/genesis.proto)
- - [GenesisState](#akash.audit.v1beta2.GenesisState)
+ - [akash/deployment/v1beta4/deploymentmsg.proto](#akash/deployment/v1beta4/deploymentmsg.proto)
+ - [MsgCloseDeployment](#akash.deployment.v1beta4.MsgCloseDeployment)
+ - [MsgCloseDeploymentResponse](#akash.deployment.v1beta4.MsgCloseDeploymentResponse)
+ - [MsgCreateDeployment](#akash.deployment.v1beta4.MsgCreateDeployment)
+ - [MsgCreateDeploymentResponse](#akash.deployment.v1beta4.MsgCreateDeploymentResponse)
+ - [MsgUpdateDeployment](#akash.deployment.v1beta4.MsgUpdateDeployment)
+ - [MsgUpdateDeploymentResponse](#akash.deployment.v1beta4.MsgUpdateDeploymentResponse)
- - [akash/audit/v1beta1/audit.proto](#akash/audit/v1beta1/audit.proto)
- - [AttributesFilters](#akash.audit.v1beta1.AttributesFilters)
- - [AttributesResponse](#akash.audit.v1beta1.AttributesResponse)
- - [AuditedAttributes](#akash.audit.v1beta1.AuditedAttributes)
- - [MsgDeleteProviderAttributes](#akash.audit.v1beta1.MsgDeleteProviderAttributes)
- - [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta1.MsgDeleteProviderAttributesResponse)
- - [MsgSignProviderAttributes](#akash.audit.v1beta1.MsgSignProviderAttributes)
- - [MsgSignProviderAttributesResponse](#akash.audit.v1beta1.MsgSignProviderAttributesResponse)
- - [Provider](#akash.audit.v1beta1.Provider)
+ - [akash/deployment/v1beta4/filters.proto](#akash/deployment/v1beta4/filters.proto)
+ - [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters)
- - [Msg](#akash.audit.v1beta1.Msg)
+ - [akash/deployment/v1beta4/group.proto](#akash/deployment/v1beta4/group.proto)
+ - [Group](#akash.deployment.v1beta4.Group)
- - [akash/take/v1beta3/query.proto](#akash/take/v1beta3/query.proto)
- - [Query](#akash.take.v1beta3.Query)
+ - [GroupState](#akash.deployment.v1beta4.GroupState)
- - [akash/take/v1beta3/genesis.proto](#akash/take/v1beta3/genesis.proto)
- - [GenesisState](#akash.take.v1beta3.GenesisState)
+ - [akash/deployment/v1beta4/params.proto](#akash/deployment/v1beta4/params.proto)
+ - [Params](#akash.deployment.v1beta4.Params)
- - [akash/take/v1beta3/params.proto](#akash/take/v1beta3/params.proto)
- - [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate)
- - [Params](#akash.take.v1beta3.Params)
+ - [akash/deployment/v1beta4/genesis.proto](#akash/deployment/v1beta4/genesis.proto)
+ - [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment)
+ - [GenesisState](#akash.deployment.v1beta4.GenesisState)
- [akash/deployment/v1beta4/groupmsg.proto](#akash/deployment/v1beta4/groupmsg.proto)
- [MsgCloseGroup](#akash.deployment.v1beta4.MsgCloseGroup)
@@ -196,23 +142,13 @@
- [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup)
- [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse)
- - [akash/deployment/v1beta4/resourceunit.proto](#akash/deployment/v1beta4/resourceunit.proto)
- - [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit)
-
- - [akash/deployment/v1beta4/group.proto](#akash/deployment/v1beta4/group.proto)
- - [Group](#akash.deployment.v1beta4.Group)
-
- - [Group.State](#akash.deployment.v1beta4.Group.State)
+ - [akash/escrow/v1/types.proto](#akash/escrow/v1/types.proto)
+ - [Account](#akash.escrow.v1.Account)
+ - [AccountID](#akash.escrow.v1.AccountID)
+ - [FractionalPayment](#akash.escrow.v1.FractionalPayment)
- - [akash/deployment/v1beta4/groupid.proto](#akash/deployment/v1beta4/groupid.proto)
- - [GroupID](#akash.deployment.v1beta4.GroupID)
-
- - [akash/deployment/v1beta4/deployment.proto](#akash/deployment/v1beta4/deployment.proto)
- - [Deployment](#akash.deployment.v1beta4.Deployment)
- - [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters)
- - [DeploymentID](#akash.deployment.v1beta4.DeploymentID)
-
- - [Deployment.State](#akash.deployment.v1beta4.Deployment.State)
+ - [AccountState](#akash.escrow.v1.AccountState)
+ - [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State)
- [akash/deployment/v1beta4/query.proto](#akash/deployment/v1beta4/query.proto)
- [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest)
@@ -224,498 +160,93 @@
- [Query](#akash.deployment.v1beta4.Query)
- - [akash/deployment/v1beta4/deploymentmsg.proto](#akash/deployment/v1beta4/deploymentmsg.proto)
- - [MsgCloseDeployment](#akash.deployment.v1beta4.MsgCloseDeployment)
- - [MsgCloseDeploymentResponse](#akash.deployment.v1beta4.MsgCloseDeploymentResponse)
- - [MsgCreateDeployment](#akash.deployment.v1beta4.MsgCreateDeployment)
- - [MsgCreateDeploymentResponse](#akash.deployment.v1beta4.MsgCreateDeploymentResponse)
- - [MsgDepositDeployment](#akash.deployment.v1beta4.MsgDepositDeployment)
- - [MsgDepositDeploymentResponse](#akash.deployment.v1beta4.MsgDepositDeploymentResponse)
- - [MsgUpdateDeployment](#akash.deployment.v1beta4.MsgUpdateDeployment)
- - [MsgUpdateDeploymentResponse](#akash.deployment.v1beta4.MsgUpdateDeploymentResponse)
-
- [akash/deployment/v1beta4/service.proto](#akash/deployment/v1beta4/service.proto)
- [Msg](#akash.deployment.v1beta4.Msg)
- - [akash/deployment/v1beta4/authz.proto](#akash/deployment/v1beta4/authz.proto)
- - [DepositDeploymentAuthorization](#akash.deployment.v1beta4.DepositDeploymentAuthorization)
-
- - [akash/deployment/v1beta4/genesis.proto](#akash/deployment/v1beta4/genesis.proto)
- - [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment)
- - [GenesisState](#akash.deployment.v1beta4.GenesisState)
-
- - [akash/deployment/v1beta4/groupspec.proto](#akash/deployment/v1beta4/groupspec.proto)
- - [GroupSpec](#akash.deployment.v1beta4.GroupSpec)
-
- - [akash/deployment/v1beta4/params.proto](#akash/deployment/v1beta4/params.proto)
- - [Params](#akash.deployment.v1beta4.Params)
-
- - [akash/deployment/v1beta3/groupmsg.proto](#akash/deployment/v1beta3/groupmsg.proto)
- - [MsgCloseGroup](#akash.deployment.v1beta3.MsgCloseGroup)
- - [MsgCloseGroupResponse](#akash.deployment.v1beta3.MsgCloseGroupResponse)
- - [MsgPauseGroup](#akash.deployment.v1beta3.MsgPauseGroup)
- - [MsgPauseGroupResponse](#akash.deployment.v1beta3.MsgPauseGroupResponse)
- - [MsgStartGroup](#akash.deployment.v1beta3.MsgStartGroup)
- - [MsgStartGroupResponse](#akash.deployment.v1beta3.MsgStartGroupResponse)
-
- - [akash/deployment/v1beta3/resourceunit.proto](#akash/deployment/v1beta3/resourceunit.proto)
- - [ResourceUnit](#akash.deployment.v1beta3.ResourceUnit)
-
- - [akash/deployment/v1beta3/group.proto](#akash/deployment/v1beta3/group.proto)
- - [Group](#akash.deployment.v1beta3.Group)
-
- - [Group.State](#akash.deployment.v1beta3.Group.State)
-
- - [akash/deployment/v1beta3/groupid.proto](#akash/deployment/v1beta3/groupid.proto)
- - [GroupID](#akash.deployment.v1beta3.GroupID)
-
- - [akash/deployment/v1beta3/deployment.proto](#akash/deployment/v1beta3/deployment.proto)
- - [Deployment](#akash.deployment.v1beta3.Deployment)
- - [DeploymentFilters](#akash.deployment.v1beta3.DeploymentFilters)
- - [DeploymentID](#akash.deployment.v1beta3.DeploymentID)
-
- - [Deployment.State](#akash.deployment.v1beta3.Deployment.State)
-
- - [akash/deployment/v1beta3/query.proto](#akash/deployment/v1beta3/query.proto)
- - [QueryDeploymentRequest](#akash.deployment.v1beta3.QueryDeploymentRequest)
- - [QueryDeploymentResponse](#akash.deployment.v1beta3.QueryDeploymentResponse)
- - [QueryDeploymentsRequest](#akash.deployment.v1beta3.QueryDeploymentsRequest)
- - [QueryDeploymentsResponse](#akash.deployment.v1beta3.QueryDeploymentsResponse)
- - [QueryGroupRequest](#akash.deployment.v1beta3.QueryGroupRequest)
- - [QueryGroupResponse](#akash.deployment.v1beta3.QueryGroupResponse)
-
- - [Query](#akash.deployment.v1beta3.Query)
-
- - [akash/deployment/v1beta3/deploymentmsg.proto](#akash/deployment/v1beta3/deploymentmsg.proto)
- - [MsgCloseDeployment](#akash.deployment.v1beta3.MsgCloseDeployment)
- - [MsgCloseDeploymentResponse](#akash.deployment.v1beta3.MsgCloseDeploymentResponse)
- - [MsgCreateDeployment](#akash.deployment.v1beta3.MsgCreateDeployment)
- - [MsgCreateDeploymentResponse](#akash.deployment.v1beta3.MsgCreateDeploymentResponse)
- - [MsgDepositDeployment](#akash.deployment.v1beta3.MsgDepositDeployment)
- - [MsgDepositDeploymentResponse](#akash.deployment.v1beta3.MsgDepositDeploymentResponse)
- - [MsgUpdateDeployment](#akash.deployment.v1beta3.MsgUpdateDeployment)
- - [MsgUpdateDeploymentResponse](#akash.deployment.v1beta3.MsgUpdateDeploymentResponse)
-
- - [akash/deployment/v1beta3/service.proto](#akash/deployment/v1beta3/service.proto)
- - [Msg](#akash.deployment.v1beta3.Msg)
-
- - [akash/deployment/v1beta3/authz.proto](#akash/deployment/v1beta3/authz.proto)
- - [DepositDeploymentAuthorization](#akash.deployment.v1beta3.DepositDeploymentAuthorization)
-
- - [akash/deployment/v1beta3/genesis.proto](#akash/deployment/v1beta3/genesis.proto)
- - [GenesisDeployment](#akash.deployment.v1beta3.GenesisDeployment)
- - [GenesisState](#akash.deployment.v1beta3.GenesisState)
-
- - [akash/deployment/v1beta3/groupspec.proto](#akash/deployment/v1beta3/groupspec.proto)
- - [GroupSpec](#akash.deployment.v1beta3.GroupSpec)
-
- - [akash/deployment/v1beta3/params.proto](#akash/deployment/v1beta3/params.proto)
- - [Params](#akash.deployment.v1beta3.Params)
-
- - [akash/deployment/v1beta2/groupmsg.proto](#akash/deployment/v1beta2/groupmsg.proto)
- - [MsgCloseGroup](#akash.deployment.v1beta2.MsgCloseGroup)
- - [MsgCloseGroupResponse](#akash.deployment.v1beta2.MsgCloseGroupResponse)
- - [MsgPauseGroup](#akash.deployment.v1beta2.MsgPauseGroup)
- - [MsgPauseGroupResponse](#akash.deployment.v1beta2.MsgPauseGroupResponse)
- - [MsgStartGroup](#akash.deployment.v1beta2.MsgStartGroup)
- - [MsgStartGroupResponse](#akash.deployment.v1beta2.MsgStartGroupResponse)
-
- - [akash/deployment/v1beta2/group.proto](#akash/deployment/v1beta2/group.proto)
- - [Group](#akash.deployment.v1beta2.Group)
-
- - [Group.State](#akash.deployment.v1beta2.Group.State)
-
- - [akash/deployment/v1beta2/groupid.proto](#akash/deployment/v1beta2/groupid.proto)
- - [GroupID](#akash.deployment.v1beta2.GroupID)
-
- - [akash/deployment/v1beta2/deployment.proto](#akash/deployment/v1beta2/deployment.proto)
- - [Deployment](#akash.deployment.v1beta2.Deployment)
- - [DeploymentFilters](#akash.deployment.v1beta2.DeploymentFilters)
- - [DeploymentID](#akash.deployment.v1beta2.DeploymentID)
-
- - [Deployment.State](#akash.deployment.v1beta2.Deployment.State)
-
- - [akash/deployment/v1beta2/query.proto](#akash/deployment/v1beta2/query.proto)
- - [QueryDeploymentRequest](#akash.deployment.v1beta2.QueryDeploymentRequest)
- - [QueryDeploymentResponse](#akash.deployment.v1beta2.QueryDeploymentResponse)
- - [QueryDeploymentsRequest](#akash.deployment.v1beta2.QueryDeploymentsRequest)
- - [QueryDeploymentsResponse](#akash.deployment.v1beta2.QueryDeploymentsResponse)
- - [QueryGroupRequest](#akash.deployment.v1beta2.QueryGroupRequest)
- - [QueryGroupResponse](#akash.deployment.v1beta2.QueryGroupResponse)
-
- - [Query](#akash.deployment.v1beta2.Query)
-
- - [akash/deployment/v1beta2/deploymentmsg.proto](#akash/deployment/v1beta2/deploymentmsg.proto)
- - [MsgCloseDeployment](#akash.deployment.v1beta2.MsgCloseDeployment)
- - [MsgCloseDeploymentResponse](#akash.deployment.v1beta2.MsgCloseDeploymentResponse)
- - [MsgCreateDeployment](#akash.deployment.v1beta2.MsgCreateDeployment)
- - [MsgCreateDeploymentResponse](#akash.deployment.v1beta2.MsgCreateDeploymentResponse)
- - [MsgDepositDeployment](#akash.deployment.v1beta2.MsgDepositDeployment)
- - [MsgDepositDeploymentResponse](#akash.deployment.v1beta2.MsgDepositDeploymentResponse)
- - [MsgUpdateDeployment](#akash.deployment.v1beta2.MsgUpdateDeployment)
- - [MsgUpdateDeploymentResponse](#akash.deployment.v1beta2.MsgUpdateDeploymentResponse)
-
- - [akash/deployment/v1beta2/service.proto](#akash/deployment/v1beta2/service.proto)
- - [Msg](#akash.deployment.v1beta2.Msg)
-
- - [akash/deployment/v1beta2/authz.proto](#akash/deployment/v1beta2/authz.proto)
- - [DepositDeploymentAuthorization](#akash.deployment.v1beta2.DepositDeploymentAuthorization)
-
- - [akash/deployment/v1beta2/genesis.proto](#akash/deployment/v1beta2/genesis.proto)
- - [GenesisDeployment](#akash.deployment.v1beta2.GenesisDeployment)
- - [GenesisState](#akash.deployment.v1beta2.GenesisState)
-
- - [akash/deployment/v1beta2/groupspec.proto](#akash/deployment/v1beta2/groupspec.proto)
- - [GroupSpec](#akash.deployment.v1beta2.GroupSpec)
-
- - [akash/deployment/v1beta2/resource.proto](#akash/deployment/v1beta2/resource.proto)
- - [Resource](#akash.deployment.v1beta2.Resource)
-
- - [akash/deployment/v1beta2/params.proto](#akash/deployment/v1beta2/params.proto)
- - [Params](#akash.deployment.v1beta2.Params)
-
- - [akash/deployment/v1beta1/group.proto](#akash/deployment/v1beta1/group.proto)
- - [Group](#akash.deployment.v1beta1.Group)
- - [GroupID](#akash.deployment.v1beta1.GroupID)
- - [GroupSpec](#akash.deployment.v1beta1.GroupSpec)
- - [MsgCloseGroup](#akash.deployment.v1beta1.MsgCloseGroup)
- - [MsgCloseGroupResponse](#akash.deployment.v1beta1.MsgCloseGroupResponse)
- - [MsgPauseGroup](#akash.deployment.v1beta1.MsgPauseGroup)
- - [MsgPauseGroupResponse](#akash.deployment.v1beta1.MsgPauseGroupResponse)
- - [MsgStartGroup](#akash.deployment.v1beta1.MsgStartGroup)
- - [MsgStartGroupResponse](#akash.deployment.v1beta1.MsgStartGroupResponse)
- - [Resource](#akash.deployment.v1beta1.Resource)
-
- - [Group.State](#akash.deployment.v1beta1.Group.State)
-
- - [akash/deployment/v1beta1/deployment.proto](#akash/deployment/v1beta1/deployment.proto)
- - [Deployment](#akash.deployment.v1beta1.Deployment)
- - [DeploymentFilters](#akash.deployment.v1beta1.DeploymentFilters)
- - [DeploymentID](#akash.deployment.v1beta1.DeploymentID)
- - [MsgCloseDeployment](#akash.deployment.v1beta1.MsgCloseDeployment)
- - [MsgCloseDeploymentResponse](#akash.deployment.v1beta1.MsgCloseDeploymentResponse)
- - [MsgCreateDeployment](#akash.deployment.v1beta1.MsgCreateDeployment)
- - [MsgCreateDeploymentResponse](#akash.deployment.v1beta1.MsgCreateDeploymentResponse)
- - [MsgDepositDeployment](#akash.deployment.v1beta1.MsgDepositDeployment)
- - [MsgDepositDeploymentResponse](#akash.deployment.v1beta1.MsgDepositDeploymentResponse)
- - [MsgUpdateDeployment](#akash.deployment.v1beta1.MsgUpdateDeployment)
- - [MsgUpdateDeploymentResponse](#akash.deployment.v1beta1.MsgUpdateDeploymentResponse)
-
- - [Deployment.State](#akash.deployment.v1beta1.Deployment.State)
-
- - [Msg](#akash.deployment.v1beta1.Msg)
-
- - [akash/deployment/v1beta1/query.proto](#akash/deployment/v1beta1/query.proto)
- - [QueryDeploymentRequest](#akash.deployment.v1beta1.QueryDeploymentRequest)
- - [QueryDeploymentResponse](#akash.deployment.v1beta1.QueryDeploymentResponse)
- - [QueryDeploymentsRequest](#akash.deployment.v1beta1.QueryDeploymentsRequest)
- - [QueryDeploymentsResponse](#akash.deployment.v1beta1.QueryDeploymentsResponse)
- - [QueryGroupRequest](#akash.deployment.v1beta1.QueryGroupRequest)
- - [QueryGroupResponse](#akash.deployment.v1beta1.QueryGroupResponse)
-
- - [Query](#akash.deployment.v1beta1.Query)
-
- - [akash/deployment/v1beta1/authz.proto](#akash/deployment/v1beta1/authz.proto)
- - [DepositDeploymentAuthorization](#akash.deployment.v1beta1.DepositDeploymentAuthorization)
-
- - [akash/deployment/v1beta1/genesis.proto](#akash/deployment/v1beta1/genesis.proto)
- - [GenesisDeployment](#akash.deployment.v1beta1.GenesisDeployment)
- - [GenesisState](#akash.deployment.v1beta1.GenesisState)
-
- - [akash/deployment/v1beta1/params.proto](#akash/deployment/v1beta1/params.proto)
- - [Params](#akash.deployment.v1beta1.Params)
-
- - [akash/staking/v1beta3/genesis.proto](#akash/staking/v1beta3/genesis.proto)
- - [GenesisState](#akash.staking.v1beta3.GenesisState)
-
- - [akash/staking/v1beta3/params.proto](#akash/staking/v1beta3/params.proto)
- - [Params](#akash.staking.v1beta3.Params)
-
- - [akash/cert/v1beta3/query.proto](#akash/cert/v1beta3/query.proto)
- - [CertificateResponse](#akash.cert.v1beta3.CertificateResponse)
- - [QueryCertificatesRequest](#akash.cert.v1beta3.QueryCertificatesRequest)
- - [QueryCertificatesResponse](#akash.cert.v1beta3.QueryCertificatesResponse)
-
- - [Query](#akash.cert.v1beta3.Query)
-
- - [akash/cert/v1beta3/cert.proto](#akash/cert/v1beta3/cert.proto)
- - [Certificate](#akash.cert.v1beta3.Certificate)
- - [CertificateFilter](#akash.cert.v1beta3.CertificateFilter)
- - [CertificateID](#akash.cert.v1beta3.CertificateID)
- - [MsgCreateCertificate](#akash.cert.v1beta3.MsgCreateCertificate)
- - [MsgCreateCertificateResponse](#akash.cert.v1beta3.MsgCreateCertificateResponse)
- - [MsgRevokeCertificate](#akash.cert.v1beta3.MsgRevokeCertificate)
- - [MsgRevokeCertificateResponse](#akash.cert.v1beta3.MsgRevokeCertificateResponse)
-
- - [Certificate.State](#akash.cert.v1beta3.Certificate.State)
-
- - [Msg](#akash.cert.v1beta3.Msg)
-
- - [akash/cert/v1beta3/genesis.proto](#akash/cert/v1beta3/genesis.proto)
- - [GenesisCertificate](#akash.cert.v1beta3.GenesisCertificate)
- - [GenesisState](#akash.cert.v1beta3.GenesisState)
-
- - [akash/cert/v1beta2/query.proto](#akash/cert/v1beta2/query.proto)
- - [CertificateResponse](#akash.cert.v1beta2.CertificateResponse)
- - [QueryCertificatesRequest](#akash.cert.v1beta2.QueryCertificatesRequest)
- - [QueryCertificatesResponse](#akash.cert.v1beta2.QueryCertificatesResponse)
-
- - [Query](#akash.cert.v1beta2.Query)
-
- - [akash/cert/v1beta2/cert.proto](#akash/cert/v1beta2/cert.proto)
- - [Certificate](#akash.cert.v1beta2.Certificate)
- - [CertificateFilter](#akash.cert.v1beta2.CertificateFilter)
- - [CertificateID](#akash.cert.v1beta2.CertificateID)
- - [MsgCreateCertificate](#akash.cert.v1beta2.MsgCreateCertificate)
- - [MsgCreateCertificateResponse](#akash.cert.v1beta2.MsgCreateCertificateResponse)
- - [MsgRevokeCertificate](#akash.cert.v1beta2.MsgRevokeCertificate)
- - [MsgRevokeCertificateResponse](#akash.cert.v1beta2.MsgRevokeCertificateResponse)
-
- - [Certificate.State](#akash.cert.v1beta2.Certificate.State)
-
- - [Msg](#akash.cert.v1beta2.Msg)
-
- - [akash/cert/v1beta2/genesis.proto](#akash/cert/v1beta2/genesis.proto)
- - [GenesisCertificate](#akash.cert.v1beta2.GenesisCertificate)
- - [GenesisState](#akash.cert.v1beta2.GenesisState)
-
- - [akash/escrow/v1beta3/types.proto](#akash/escrow/v1beta3/types.proto)
- - [Account](#akash.escrow.v1beta3.Account)
- - [AccountID](#akash.escrow.v1beta3.AccountID)
- - [FractionalPayment](#akash.escrow.v1beta3.FractionalPayment)
-
- - [Account.State](#akash.escrow.v1beta3.Account.State)
- - [FractionalPayment.State](#akash.escrow.v1beta3.FractionalPayment.State)
-
- - [akash/escrow/v1beta3/query.proto](#akash/escrow/v1beta3/query.proto)
- - [QueryAccountsRequest](#akash.escrow.v1beta3.QueryAccountsRequest)
- - [QueryAccountsResponse](#akash.escrow.v1beta3.QueryAccountsResponse)
- - [QueryPaymentsRequest](#akash.escrow.v1beta3.QueryPaymentsRequest)
- - [QueryPaymentsResponse](#akash.escrow.v1beta3.QueryPaymentsResponse)
-
- - [Query](#akash.escrow.v1beta3.Query)
-
- - [akash/escrow/v1beta3/genesis.proto](#akash/escrow/v1beta3/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta3.GenesisState)
-
- - [akash/escrow/v1beta2/types.proto](#akash/escrow/v1beta2/types.proto)
- - [Account](#akash.escrow.v1beta2.Account)
- - [AccountID](#akash.escrow.v1beta2.AccountID)
- - [FractionalPayment](#akash.escrow.v1beta2.FractionalPayment)
-
- - [Account.State](#akash.escrow.v1beta2.Account.State)
- - [FractionalPayment.State](#akash.escrow.v1beta2.FractionalPayment.State)
-
- - [akash/escrow/v1beta2/query.proto](#akash/escrow/v1beta2/query.proto)
- - [QueryAccountsRequest](#akash.escrow.v1beta2.QueryAccountsRequest)
- - [QueryAccountsResponse](#akash.escrow.v1beta2.QueryAccountsResponse)
- - [QueryPaymentsRequest](#akash.escrow.v1beta2.QueryPaymentsRequest)
- - [QueryPaymentsResponse](#akash.escrow.v1beta2.QueryPaymentsResponse)
-
- - [Query](#akash.escrow.v1beta2.Query)
-
- - [akash/escrow/v1beta2/genesis.proto](#akash/escrow/v1beta2/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta2.GenesisState)
-
- - [akash/escrow/v1beta1/types.proto](#akash/escrow/v1beta1/types.proto)
- - [Account](#akash.escrow.v1beta1.Account)
- - [AccountID](#akash.escrow.v1beta1.AccountID)
- - [Payment](#akash.escrow.v1beta1.Payment)
-
- - [Account.State](#akash.escrow.v1beta1.Account.State)
- - [Payment.State](#akash.escrow.v1beta1.Payment.State)
-
- - [akash/escrow/v1beta1/query.proto](#akash/escrow/v1beta1/query.proto)
- - [QueryAccountsRequest](#akash.escrow.v1beta1.QueryAccountsRequest)
- - [QueryAccountsResponse](#akash.escrow.v1beta1.QueryAccountsResponse)
- - [QueryPaymentsRequest](#akash.escrow.v1beta1.QueryPaymentsRequest)
- - [QueryPaymentsResponse](#akash.escrow.v1beta1.QueryPaymentsResponse)
-
- - [Query](#akash.escrow.v1beta1.Query)
-
- - [akash/escrow/v1beta1/genesis.proto](#akash/escrow/v1beta1/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta1.GenesisState)
-
- - [akash/market/v1beta4/bid.proto](#akash/market/v1beta4/bid.proto)
- - [Bid](#akash.market.v1beta4.Bid)
- - [BidFilters](#akash.market.v1beta4.BidFilters)
- - [BidID](#akash.market.v1beta4.BidID)
- - [MsgCloseBid](#akash.market.v1beta4.MsgCloseBid)
- - [MsgCloseBidResponse](#akash.market.v1beta4.MsgCloseBidResponse)
- - [MsgCreateBid](#akash.market.v1beta4.MsgCreateBid)
- - [MsgCreateBidResponse](#akash.market.v1beta4.MsgCreateBidResponse)
- - [ResourceOffer](#akash.market.v1beta4.ResourceOffer)
-
- - [Bid.State](#akash.market.v1beta4.Bid.State)
-
- - [akash/market/v1beta4/query.proto](#akash/market/v1beta4/query.proto)
- - [QueryBidRequest](#akash.market.v1beta4.QueryBidRequest)
- - [QueryBidResponse](#akash.market.v1beta4.QueryBidResponse)
- - [QueryBidsRequest](#akash.market.v1beta4.QueryBidsRequest)
- - [QueryBidsResponse](#akash.market.v1beta4.QueryBidsResponse)
- - [QueryLeaseRequest](#akash.market.v1beta4.QueryLeaseRequest)
- - [QueryLeaseResponse](#akash.market.v1beta4.QueryLeaseResponse)
- - [QueryLeasesRequest](#akash.market.v1beta4.QueryLeasesRequest)
- - [QueryLeasesResponse](#akash.market.v1beta4.QueryLeasesResponse)
- - [QueryOrderRequest](#akash.market.v1beta4.QueryOrderRequest)
- - [QueryOrderResponse](#akash.market.v1beta4.QueryOrderResponse)
- - [QueryOrdersRequest](#akash.market.v1beta4.QueryOrdersRequest)
- - [QueryOrdersResponse](#akash.market.v1beta4.QueryOrdersResponse)
-
- - [Query](#akash.market.v1beta4.Query)
-
- - [akash/market/v1beta4/service.proto](#akash/market/v1beta4/service.proto)
- - [Msg](#akash.market.v1beta4.Msg)
-
- - [akash/market/v1beta4/lease.proto](#akash/market/v1beta4/lease.proto)
- - [Lease](#akash.market.v1beta4.Lease)
- - [LeaseFilters](#akash.market.v1beta4.LeaseFilters)
- - [LeaseID](#akash.market.v1beta4.LeaseID)
- - [MsgCloseLease](#akash.market.v1beta4.MsgCloseLease)
- - [MsgCloseLeaseResponse](#akash.market.v1beta4.MsgCloseLeaseResponse)
- - [MsgCreateLease](#akash.market.v1beta4.MsgCreateLease)
- - [MsgCreateLeaseResponse](#akash.market.v1beta4.MsgCreateLeaseResponse)
- - [MsgWithdrawLease](#akash.market.v1beta4.MsgWithdrawLease)
- - [MsgWithdrawLeaseResponse](#akash.market.v1beta4.MsgWithdrawLeaseResponse)
-
- - [Lease.State](#akash.market.v1beta4.Lease.State)
-
- - [akash/market/v1beta4/genesis.proto](#akash/market/v1beta4/genesis.proto)
- - [GenesisState](#akash.market.v1beta4.GenesisState)
-
- - [akash/market/v1beta4/order.proto](#akash/market/v1beta4/order.proto)
- - [Order](#akash.market.v1beta4.Order)
- - [OrderFilters](#akash.market.v1beta4.OrderFilters)
- - [OrderID](#akash.market.v1beta4.OrderID)
-
- - [Order.State](#akash.market.v1beta4.Order.State)
-
- - [akash/market/v1beta4/params.proto](#akash/market/v1beta4/params.proto)
- - [Params](#akash.market.v1beta4.Params)
-
- - [akash/market/v1beta3/bid.proto](#akash/market/v1beta3/bid.proto)
- - [Bid](#akash.market.v1beta3.Bid)
- - [BidFilters](#akash.market.v1beta3.BidFilters)
- - [BidID](#akash.market.v1beta3.BidID)
- - [MsgCloseBid](#akash.market.v1beta3.MsgCloseBid)
- - [MsgCloseBidResponse](#akash.market.v1beta3.MsgCloseBidResponse)
- - [MsgCreateBid](#akash.market.v1beta3.MsgCreateBid)
- - [MsgCreateBidResponse](#akash.market.v1beta3.MsgCreateBidResponse)
-
- - [Bid.State](#akash.market.v1beta3.Bid.State)
-
- - [akash/market/v1beta3/query.proto](#akash/market/v1beta3/query.proto)
- - [QueryBidRequest](#akash.market.v1beta3.QueryBidRequest)
- - [QueryBidResponse](#akash.market.v1beta3.QueryBidResponse)
- - [QueryBidsRequest](#akash.market.v1beta3.QueryBidsRequest)
- - [QueryBidsResponse](#akash.market.v1beta3.QueryBidsResponse)
- - [QueryLeaseRequest](#akash.market.v1beta3.QueryLeaseRequest)
- - [QueryLeaseResponse](#akash.market.v1beta3.QueryLeaseResponse)
- - [QueryLeasesRequest](#akash.market.v1beta3.QueryLeasesRequest)
- - [QueryLeasesResponse](#akash.market.v1beta3.QueryLeasesResponse)
- - [QueryOrderRequest](#akash.market.v1beta3.QueryOrderRequest)
- - [QueryOrderResponse](#akash.market.v1beta3.QueryOrderResponse)
- - [QueryOrdersRequest](#akash.market.v1beta3.QueryOrdersRequest)
- - [QueryOrdersResponse](#akash.market.v1beta3.QueryOrdersResponse)
-
- - [Query](#akash.market.v1beta3.Query)
+ - [akash/discovery/v1/client_info.proto](#akash/discovery/v1/client_info.proto)
+ - [ClientInfo](#akash.discovery.v1.ClientInfo)
- - [akash/market/v1beta3/service.proto](#akash/market/v1beta3/service.proto)
- - [Msg](#akash.market.v1beta3.Msg)
+ - [akash/discovery/v1/akash.proto](#akash/discovery/v1/akash.proto)
+ - [Akash](#akash.discovery.v1.Akash)
- - [akash/market/v1beta3/lease.proto](#akash/market/v1beta3/lease.proto)
- - [Lease](#akash.market.v1beta3.Lease)
- - [LeaseFilters](#akash.market.v1beta3.LeaseFilters)
- - [LeaseID](#akash.market.v1beta3.LeaseID)
- - [MsgCloseLease](#akash.market.v1beta3.MsgCloseLease)
- - [MsgCloseLeaseResponse](#akash.market.v1beta3.MsgCloseLeaseResponse)
- - [MsgCreateLease](#akash.market.v1beta3.MsgCreateLease)
- - [MsgCreateLeaseResponse](#akash.market.v1beta3.MsgCreateLeaseResponse)
- - [MsgWithdrawLease](#akash.market.v1beta3.MsgWithdrawLease)
- - [MsgWithdrawLeaseResponse](#akash.market.v1beta3.MsgWithdrawLeaseResponse)
+ - [akash/escrow/v1/genesis.proto](#akash/escrow/v1/genesis.proto)
+ - [GenesisState](#akash.escrow.v1.GenesisState)
- - [Lease.State](#akash.market.v1beta3.Lease.State)
+ - [akash/escrow/v1/query.proto](#akash/escrow/v1/query.proto)
+ - [QueryAccountsRequest](#akash.escrow.v1.QueryAccountsRequest)
+ - [QueryAccountsResponse](#akash.escrow.v1.QueryAccountsResponse)
+ - [QueryPaymentsRequest](#akash.escrow.v1.QueryPaymentsRequest)
+ - [QueryPaymentsResponse](#akash.escrow.v1.QueryPaymentsResponse)
- - [akash/market/v1beta3/genesis.proto](#akash/market/v1beta3/genesis.proto)
- - [GenesisState](#akash.market.v1beta3.GenesisState)
+ - [Query](#akash.escrow.v1.Query)
- - [akash/market/v1beta3/order.proto](#akash/market/v1beta3/order.proto)
- - [Order](#akash.market.v1beta3.Order)
- - [OrderFilters](#akash.market.v1beta3.OrderFilters)
- - [OrderID](#akash.market.v1beta3.OrderID)
+ - [akash/gov/v1beta3/params.proto](#akash/gov/v1beta3/params.proto)
+ - [DepositParams](#akash.gov.v1beta3.DepositParams)
- - [Order.State](#akash.market.v1beta3.Order.State)
+ - [akash/gov/v1beta3/genesis.proto](#akash/gov/v1beta3/genesis.proto)
+ - [GenesisState](#akash.gov.v1beta3.GenesisState)
- - [akash/market/v1beta3/params.proto](#akash/market/v1beta3/params.proto)
- - [Params](#akash.market.v1beta3.Params)
+ - [akash/inflation/v1beta2/params.proto](#akash/inflation/v1beta2/params.proto)
+ - [Params](#akash.inflation.v1beta2.Params)
- - [akash/market/v1beta2/bid.proto](#akash/market/v1beta2/bid.proto)
- - [Bid](#akash.market.v1beta2.Bid)
- - [BidFilters](#akash.market.v1beta2.BidFilters)
- - [BidID](#akash.market.v1beta2.BidID)
- - [MsgCloseBid](#akash.market.v1beta2.MsgCloseBid)
- - [MsgCloseBidResponse](#akash.market.v1beta2.MsgCloseBidResponse)
- - [MsgCreateBid](#akash.market.v1beta2.MsgCreateBid)
- - [MsgCreateBidResponse](#akash.market.v1beta2.MsgCreateBidResponse)
+ - [akash/inflation/v1beta2/genesis.proto](#akash/inflation/v1beta2/genesis.proto)
+ - [GenesisState](#akash.inflation.v1beta2.GenesisState)
- - [Bid.State](#akash.market.v1beta2.Bid.State)
+ - [akash/inflation/v1beta3/params.proto](#akash/inflation/v1beta3/params.proto)
+ - [Params](#akash.inflation.v1beta3.Params)
- - [akash/market/v1beta2/query.proto](#akash/market/v1beta2/query.proto)
- - [QueryBidRequest](#akash.market.v1beta2.QueryBidRequest)
- - [QueryBidResponse](#akash.market.v1beta2.QueryBidResponse)
- - [QueryBidsRequest](#akash.market.v1beta2.QueryBidsRequest)
- - [QueryBidsResponse](#akash.market.v1beta2.QueryBidsResponse)
- - [QueryLeaseRequest](#akash.market.v1beta2.QueryLeaseRequest)
- - [QueryLeaseResponse](#akash.market.v1beta2.QueryLeaseResponse)
- - [QueryLeasesRequest](#akash.market.v1beta2.QueryLeasesRequest)
- - [QueryLeasesResponse](#akash.market.v1beta2.QueryLeasesResponse)
- - [QueryOrderRequest](#akash.market.v1beta2.QueryOrderRequest)
- - [QueryOrderResponse](#akash.market.v1beta2.QueryOrderResponse)
- - [QueryOrdersRequest](#akash.market.v1beta2.QueryOrdersRequest)
- - [QueryOrdersResponse](#akash.market.v1beta2.QueryOrdersResponse)
+ - [akash/inflation/v1beta3/genesis.proto](#akash/inflation/v1beta3/genesis.proto)
+ - [GenesisState](#akash.inflation.v1beta3.GenesisState)
- - [Query](#akash.market.v1beta2.Query)
+ - [akash/market/v1/bid.proto](#akash/market/v1/bid.proto)
+ - [BidID](#akash.market.v1.BidID)
- - [akash/market/v1beta2/service.proto](#akash/market/v1beta2/service.proto)
- - [Msg](#akash.market.v1beta2.Msg)
+ - [BidState](#akash.market.v1.BidState)
- - [akash/market/v1beta2/lease.proto](#akash/market/v1beta2/lease.proto)
- - [Lease](#akash.market.v1beta2.Lease)
- - [LeaseFilters](#akash.market.v1beta2.LeaseFilters)
- - [LeaseID](#akash.market.v1beta2.LeaseID)
- - [MsgCloseLease](#akash.market.v1beta2.MsgCloseLease)
- - [MsgCloseLeaseResponse](#akash.market.v1beta2.MsgCloseLeaseResponse)
- - [MsgCreateLease](#akash.market.v1beta2.MsgCreateLease)
- - [MsgCreateLeaseResponse](#akash.market.v1beta2.MsgCreateLeaseResponse)
- - [MsgWithdrawLease](#akash.market.v1beta2.MsgWithdrawLease)
- - [MsgWithdrawLeaseResponse](#akash.market.v1beta2.MsgWithdrawLeaseResponse)
+ - [akash/market/v1/lease.proto](#akash/market/v1/lease.proto)
+ - [Lease](#akash.market.v1.Lease)
+ - [LeaseID](#akash.market.v1.LeaseID)
- - [Lease.State](#akash.market.v1beta2.Lease.State)
+ - [LeaseState](#akash.market.v1.LeaseState)
- - [akash/market/v1beta2/genesis.proto](#akash/market/v1beta2/genesis.proto)
- - [GenesisState](#akash.market.v1beta2.GenesisState)
+ - [akash/market/v1/order.proto](#akash/market/v1/order.proto)
+ - [OrderID](#akash.market.v1.OrderID)
- - [akash/market/v1beta2/order.proto](#akash/market/v1beta2/order.proto)
- - [Order](#akash.market.v1beta2.Order)
- - [OrderFilters](#akash.market.v1beta2.OrderFilters)
- - [OrderID](#akash.market.v1beta2.OrderID)
+ - [OrderState](#akash.market.v1.OrderState)
- - [Order.State](#akash.market.v1beta2.Order.State)
+ - [akash/market/v1/filters.proto](#akash/market/v1/filters.proto)
+ - [BidFilters](#akash.market.v1.BidFilters)
+ - [LeaseFilters](#akash.market.v1.LeaseFilters)
+ - [OrderFilters](#akash.market.v1.OrderFilters)
- - [akash/market/v1beta2/params.proto](#akash/market/v1beta2/params.proto)
- - [Params](#akash.market.v1beta2.Params)
+ - [akash/market/v1beta5/resourcesoffer.proto](#akash/market/v1beta5/resourcesoffer.proto)
+ - [ResourceOffer](#akash.market.v1beta5.ResourceOffer)
- [akash/market/v1beta5/bid.proto](#akash/market/v1beta5/bid.proto)
- [Bid](#akash.market.v1beta5.Bid)
- - [BidFilters](#akash.market.v1beta5.BidFilters)
- - [BidID](#akash.market.v1beta5.BidID)
+
+ - [akash/market/v1beta5/bidmsg.proto](#akash/market/v1beta5/bidmsg.proto)
- [MsgCloseBid](#akash.market.v1beta5.MsgCloseBid)
- [MsgCloseBidResponse](#akash.market.v1beta5.MsgCloseBidResponse)
- [MsgCreateBid](#akash.market.v1beta5.MsgCreateBid)
- [MsgCreateBidResponse](#akash.market.v1beta5.MsgCreateBidResponse)
- - [ResourceOffer](#akash.market.v1beta5.ResourceOffer)
- - [Bid.State](#akash.market.v1beta5.Bid.State)
+ - [akash/market/v1beta5/params.proto](#akash/market/v1beta5/params.proto)
+ - [Params](#akash.market.v1beta5.Params)
+
+ - [akash/market/v1beta5/order.proto](#akash/market/v1beta5/order.proto)
+ - [Order](#akash.market.v1beta5.Order)
+
+ - [akash/market/v1beta5/genesis.proto](#akash/market/v1beta5/genesis.proto)
+ - [GenesisState](#akash.market.v1beta5.GenesisState)
+
+ - [akash/market/v1beta5/leasemsg.proto](#akash/market/v1beta5/leasemsg.proto)
+ - [MsgCloseLease](#akash.market.v1beta5.MsgCloseLease)
+ - [MsgCloseLeaseResponse](#akash.market.v1beta5.MsgCloseLeaseResponse)
+ - [MsgCreateLease](#akash.market.v1beta5.MsgCreateLease)
+ - [MsgCreateLeaseResponse](#akash.market.v1beta5.MsgCreateLeaseResponse)
+ - [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease)
+ - [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse)
- [akash/market/v1beta5/query.proto](#akash/market/v1beta5/query.proto)
- [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest)
@@ -736,288 +267,104 @@
- [akash/market/v1beta5/service.proto](#akash/market/v1beta5/service.proto)
- [Msg](#akash.market.v1beta5.Msg)
- - [akash/market/v1beta5/lease.proto](#akash/market/v1beta5/lease.proto)
- - [Lease](#akash.market.v1beta5.Lease)
- - [LeaseFilters](#akash.market.v1beta5.LeaseFilters)
- - [LeaseID](#akash.market.v1beta5.LeaseID)
- - [MsgCloseLease](#akash.market.v1beta5.MsgCloseLease)
- - [MsgCloseLeaseResponse](#akash.market.v1beta5.MsgCloseLeaseResponse)
- - [MsgCreateLease](#akash.market.v1beta5.MsgCreateLease)
- - [MsgCreateLeaseResponse](#akash.market.v1beta5.MsgCreateLeaseResponse)
- - [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease)
- - [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse)
-
- - [Lease.State](#akash.market.v1beta5.Lease.State)
-
- - [akash/market/v1beta5/genesis.proto](#akash/market/v1beta5/genesis.proto)
- - [GenesisState](#akash.market.v1beta5.GenesisState)
-
- - [akash/market/v1beta5/order.proto](#akash/market/v1beta5/order.proto)
- - [Order](#akash.market.v1beta5.Order)
- - [OrderFilters](#akash.market.v1beta5.OrderFilters)
- - [OrderID](#akash.market.v1beta5.OrderID)
-
- - [Order.State](#akash.market.v1beta5.Order.State)
-
- - [akash/market/v1beta5/params.proto](#akash/market/v1beta5/params.proto)
- - [Params](#akash.market.v1beta5.Params)
-
- - [akash/inflation/v1beta3/genesis.proto](#akash/inflation/v1beta3/genesis.proto)
- - [GenesisState](#akash.inflation.v1beta3.GenesisState)
-
- - [akash/inflation/v1beta3/params.proto](#akash/inflation/v1beta3/params.proto)
- - [Params](#akash.inflation.v1beta3.Params)
-
- - [akash/inflation/v1beta2/genesis.proto](#akash/inflation/v1beta2/genesis.proto)
- - [GenesisState](#akash.inflation.v1beta2.GenesisState)
-
- - [akash/inflation/v1beta2/params.proto](#akash/inflation/v1beta2/params.proto)
- - [Params](#akash.inflation.v1beta2.Params)
+ - [akash/provider/v1beta4/provider.proto](#akash/provider/v1beta4/provider.proto)
+ - [Info](#akash.provider.v1beta4.Info)
+ - [Provider](#akash.provider.v1beta4.Provider)
- - [akash/base/v1beta3/memory.proto](#akash/base/v1beta3/memory.proto)
- - [Memory](#akash.base.v1beta3.Memory)
+ - [akash/provider/v1beta4/genesis.proto](#akash/provider/v1beta4/genesis.proto)
+ - [GenesisState](#akash.provider.v1beta4.GenesisState)
- - [akash/base/v1beta3/cpu.proto](#akash/base/v1beta3/cpu.proto)
- - [CPU](#akash.base.v1beta3.CPU)
+ - [akash/provider/v1beta4/msg.proto](#akash/provider/v1beta4/msg.proto)
+ - [MsgCreateProvider](#akash.provider.v1beta4.MsgCreateProvider)
+ - [MsgCreateProviderResponse](#akash.provider.v1beta4.MsgCreateProviderResponse)
+ - [MsgDeleteProvider](#akash.provider.v1beta4.MsgDeleteProvider)
+ - [MsgDeleteProviderResponse](#akash.provider.v1beta4.MsgDeleteProviderResponse)
+ - [MsgUpdateProvider](#akash.provider.v1beta4.MsgUpdateProvider)
+ - [MsgUpdateProviderResponse](#akash.provider.v1beta4.MsgUpdateProviderResponse)
- - [akash/base/v1beta3/resources.proto](#akash/base/v1beta3/resources.proto)
- - [Resources](#akash.base.v1beta3.Resources)
+ - [akash/provider/v1beta4/query.proto](#akash/provider/v1beta4/query.proto)
+ - [QueryProviderRequest](#akash.provider.v1beta4.QueryProviderRequest)
+ - [QueryProviderResponse](#akash.provider.v1beta4.QueryProviderResponse)
+ - [QueryProvidersRequest](#akash.provider.v1beta4.QueryProvidersRequest)
+ - [QueryProvidersResponse](#akash.provider.v1beta4.QueryProvidersResponse)
- - [akash/base/v1beta3/attribute.proto](#akash/base/v1beta3/attribute.proto)
- - [Attribute](#akash.base.v1beta3.Attribute)
- - [PlacementRequirements](#akash.base.v1beta3.PlacementRequirements)
- - [SignedBy](#akash.base.v1beta3.SignedBy)
+ - [Query](#akash.provider.v1beta4.Query)
- - [akash/base/v1beta3/endpoint.proto](#akash/base/v1beta3/endpoint.proto)
- - [Endpoint](#akash.base.v1beta3.Endpoint)
+ - [akash/provider/v1beta4/service.proto](#akash/provider/v1beta4/service.proto)
+ - [Msg](#akash.provider.v1beta4.Msg)
- - [Endpoint.Kind](#akash.base.v1beta3.Endpoint.Kind)
+ - [akash/staking/v1beta3/params.proto](#akash/staking/v1beta3/params.proto)
+ - [Params](#akash.staking.v1beta3.Params)
- - [akash/base/v1beta3/gpu.proto](#akash/base/v1beta3/gpu.proto)
- - [GPU](#akash.base.v1beta3.GPU)
+ - [akash/staking/v1beta3/genesis.proto](#akash/staking/v1beta3/genesis.proto)
+ - [GenesisState](#akash.staking.v1beta3.GenesisState)
- - [akash/base/v1beta3/storage.proto](#akash/base/v1beta3/storage.proto)
- - [Storage](#akash.base.v1beta3.Storage)
+ - [akash/take/v1beta3/params.proto](#akash/take/v1beta3/params.proto)
+ - [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate)
+ - [Params](#akash.take.v1beta3.Params)
- - [akash/base/v1beta3/resourcevalue.proto](#akash/base/v1beta3/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta3.ResourceValue)
+ - [akash/take/v1beta3/genesis.proto](#akash/take/v1beta3/genesis.proto)
+ - [GenesisState](#akash.take.v1beta3.GenesisState)
- - [akash/base/v1beta2/resourceunits.proto](#akash/base/v1beta2/resourceunits.proto)
- - [ResourceUnits](#akash.base.v1beta2.ResourceUnits)
-
- - [akash/base/v1beta2/attribute.proto](#akash/base/v1beta2/attribute.proto)
- - [Attribute](#akash.base.v1beta2.Attribute)
- - [PlacementRequirements](#akash.base.v1beta2.PlacementRequirements)
- - [SignedBy](#akash.base.v1beta2.SignedBy)
-
- - [akash/base/v1beta2/endpoint.proto](#akash/base/v1beta2/endpoint.proto)
- - [Endpoint](#akash.base.v1beta2.Endpoint)
-
- - [Endpoint.Kind](#akash.base.v1beta2.Endpoint.Kind)
-
- - [akash/base/v1beta2/resource.proto](#akash/base/v1beta2/resource.proto)
- - [CPU](#akash.base.v1beta2.CPU)
- - [Memory](#akash.base.v1beta2.Memory)
- - [Storage](#akash.base.v1beta2.Storage)
-
- - [akash/base/v1beta2/resourcevalue.proto](#akash/base/v1beta2/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta2.ResourceValue)
-
- - [akash/base/v1beta1/attribute.proto](#akash/base/v1beta1/attribute.proto)
- - [Attribute](#akash.base.v1beta1.Attribute)
- - [PlacementRequirements](#akash.base.v1beta1.PlacementRequirements)
- - [SignedBy](#akash.base.v1beta1.SignedBy)
-
- - [akash/base/v1beta1/endpoint.proto](#akash/base/v1beta1/endpoint.proto)
- - [Endpoint](#akash.base.v1beta1.Endpoint)
-
- - [Endpoint.Kind](#akash.base.v1beta1.Endpoint.Kind)
-
- - [akash/base/v1beta1/resource.proto](#akash/base/v1beta1/resource.proto)
- - [CPU](#akash.base.v1beta1.CPU)
- - [Memory](#akash.base.v1beta1.Memory)
- - [ResourceUnits](#akash.base.v1beta1.ResourceUnits)
- - [Storage](#akash.base.v1beta1.Storage)
-
- - [akash/base/v1beta1/resourcevalue.proto](#akash/base/v1beta1/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta1.ResourceValue)
-
- - [akash/gov/v1beta3/genesis.proto](#akash/gov/v1beta3/genesis.proto)
- - [GenesisState](#akash.gov.v1beta3.GenesisState)
-
- - [akash/gov/v1beta3/params.proto](#akash/gov/v1beta3/params.proto)
- - [DepositParams](#akash.gov.v1beta3.DepositParams)
+ - [akash/take/v1beta3/query.proto](#akash/take/v1beta3/query.proto)
+ - [Query](#akash.take.v1beta3.Query)
- [Scalar Value Types](#scalar-value-types)
-
-
Top
-
- ## akash/discovery/v1/client_info.proto
-
-
-
-
-
- ### ClientInfo
- ClientInfo akash specific client info
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `api_version` | [string](#string) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/discovery/v1/akash.proto
-
-
-
-
-
- ### Akash
- Akash akash specific RPC parameters
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `client_info` | [ClientInfo](#akash.discovery.v1.ClientInfo) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Top
- ## akash/provider/v1beta4/query.proto
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderResponse
- QueryProviderResponse is response type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `provider` | [Provider](#akash.provider.v1beta4.Provider) | | |
-
-
-
+ ## akash/base/attributes/v1/attribute.proto
-
+
- ### QueryProvidersRequest
- QueryProvidersRequest is request type for the Query/Providers RPC method
+ ### Attribute
+ Attribute represents key value pair
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `key` | [string](#string) | | |
+ | `value` | [string](#string) | | |
-
+
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
+ ### PlacementRequirements
+ PlacementRequirements
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
+ | `signed_by` | [SignedBy](#akash.base.attributes.v1.SignedBy) | | SignedBy list of keys that tenants expect to have signatures from |
+ | `attributes` | [Attribute](#akash.base.attributes.v1.Attribute) | repeated | Attribute list of attributes tenant expects from the provider |
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Providers` | [QueryProvidersRequest](#akash.provider.v1beta4.QueryProvidersRequest) | [QueryProvidersResponse](#akash.provider.v1beta4.QueryProvidersResponse) | Providers queries providers | GET|/akash/provider/v1beta4/providers|
- | `Provider` | [QueryProviderRequest](#akash.provider.v1beta4.QueryProviderRequest) | [QueryProviderResponse](#akash.provider.v1beta4.QueryProviderResponse) | Provider queries provider details | GET|/akash/provider/v1beta4/providers/{owner}|
-
-
-
-
-
- Top
- ## akash/provider/v1beta4/genesis.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by provider module
+ ### SignedBy
+ SignedBy represents validation accounts that tenant expects signatures for provider attributes
+AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
+entries there
+this behaviour to be discussed
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
+ | `all_of` | [string](#string) | repeated | all_of all keys in this list must have signed attributes |
+ | `any_of` | [string](#string) | repeated | any_of at least of of the keys from the list must have signed attributes |
@@ -1033,6550 +380,79 @@
-
+
Top
- ## akash/provider/v1beta4/provider.proto
+ ## akash/audit/v1/audit.proto
-
+
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
+ ### AttributesFilters
+ AttributesFilters defines filters used to filter deployments
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta4.ProviderInfo) | | |
-
-
-
-
-
+ | `auditors` | [string](#string) | repeated | |
+ | `owners` | [string](#string) | repeated | |
-
-
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
-
-
+
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
+ ### AttributesResponse
+ AttributesResponse represents details of deployment along with group details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
+ | `attributes` | [AuditedAttributes](#akash.audit.v1.AuditedAttributes) | repeated | |
-
-
-
-
-
-
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
+
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
+ ### AuditedAttributes
+ Attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
| `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta4.ProviderInfo) | | |
-
-
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
-
-
-
-
-
-
-
+
### Provider
- Provider stores owner and host details
+ Provider stores owner auditor and attributes details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
| `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta4.ProviderInfo) | | |
-
-
-
-
-
-
-
- ### ProviderInfo
- ProviderInfo
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateProvider` | [MsgCreateProvider](#akash.provider.v1beta4.MsgCreateProvider) | [MsgCreateProviderResponse](#akash.provider.v1beta4.MsgCreateProviderResponse) | CreateProvider defines a method that creates a provider given the proper inputs | |
- | `UpdateProvider` | [MsgUpdateProvider](#akash.provider.v1beta4.MsgUpdateProvider) | [MsgUpdateProviderResponse](#akash.provider.v1beta4.MsgUpdateProviderResponse) | UpdateProvider defines a method that updates a provider given the proper inputs | |
- | `DeleteProvider` | [MsgDeleteProvider](#akash.provider.v1beta4.MsgDeleteProvider) | [MsgDeleteProviderResponse](#akash.provider.v1beta4.MsgDeleteProviderResponse) | DeleteProvider defines a method that deletes a provider given the proper inputs | |
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta3/query.proto
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderResponse
- QueryProviderResponse is response type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `provider` | [Provider](#akash.provider.v1beta3.Provider) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersRequest
- QueryProvidersRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta3.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Providers` | [QueryProvidersRequest](#akash.provider.v1beta3.QueryProvidersRequest) | [QueryProvidersResponse](#akash.provider.v1beta3.QueryProvidersResponse) | Providers queries providers | GET|/akash/provider/v1beta3/providers|
- | `Provider` | [QueryProviderRequest](#akash.provider.v1beta3.QueryProviderRequest) | [QueryProviderResponse](#akash.provider.v1beta3.QueryProviderResponse) | Provider queries provider details | GET|/akash/provider/v1beta3/providers/{owner}|
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by provider module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta3.Provider) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta3/provider.proto
-
-
-
-
-
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta3.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta3.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner and host details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta3.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### ProviderInfo
- ProviderInfo
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateProvider` | [MsgCreateProvider](#akash.provider.v1beta3.MsgCreateProvider) | [MsgCreateProviderResponse](#akash.provider.v1beta3.MsgCreateProviderResponse) | CreateProvider defines a method that creates a provider given the proper inputs | |
- | `UpdateProvider` | [MsgUpdateProvider](#akash.provider.v1beta3.MsgUpdateProvider) | [MsgUpdateProviderResponse](#akash.provider.v1beta3.MsgUpdateProviderResponse) | UpdateProvider defines a method that updates a provider given the proper inputs | |
- | `DeleteProvider` | [MsgDeleteProvider](#akash.provider.v1beta3.MsgDeleteProvider) | [MsgDeleteProviderResponse](#akash.provider.v1beta3.MsgDeleteProviderResponse) | DeleteProvider defines a method that deletes a provider given the proper inputs | |
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta2/query.proto
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderResponse
- QueryProviderResponse is response type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `provider` | [Provider](#akash.provider.v1beta2.Provider) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersRequest
- QueryProvidersRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta2.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Providers` | [QueryProvidersRequest](#akash.provider.v1beta2.QueryProvidersRequest) | [QueryProvidersResponse](#akash.provider.v1beta2.QueryProvidersResponse) | Providers queries providers | GET|/akash/provider/v1beta2/providers|
- | `Provider` | [QueryProviderRequest](#akash.provider.v1beta2.QueryProviderRequest) | [QueryProviderResponse](#akash.provider.v1beta2.QueryProviderResponse) | Provider queries provider details | GET|/akash/provider/v1beta2/providers/{owner}|
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by provider module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta2.Provider) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta2/provider.proto
-
-
-
-
-
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta2.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta2.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner and host details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta2.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### ProviderInfo
- ProviderInfo
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateProvider` | [MsgCreateProvider](#akash.provider.v1beta2.MsgCreateProvider) | [MsgCreateProviderResponse](#akash.provider.v1beta2.MsgCreateProviderResponse) | CreateProvider defines a method that creates a provider given the proper inputs | |
- | `UpdateProvider` | [MsgUpdateProvider](#akash.provider.v1beta2.MsgUpdateProvider) | [MsgUpdateProviderResponse](#akash.provider.v1beta2.MsgUpdateProviderResponse) | UpdateProvider defines a method that updates a provider given the proper inputs | |
- | `DeleteProvider` | [MsgDeleteProvider](#akash.provider.v1beta2.MsgDeleteProvider) | [MsgDeleteProviderResponse](#akash.provider.v1beta2.MsgDeleteProviderResponse) | DeleteProvider defines a method that deletes a provider given the proper inputs | |
-
-
-
-
-
-
- Top
-
- ## akash/provider/v1beta1/provider.proto
-
-
-
-
-
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta1.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta1.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner and host details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta1.ProviderInfo) | | |
-
-
-
-
-
-
-
-
- ### ProviderInfo
- ProviderInfo
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateProvider` | [MsgCreateProvider](#akash.provider.v1beta1.MsgCreateProvider) | [MsgCreateProviderResponse](#akash.provider.v1beta1.MsgCreateProviderResponse) | CreateProvider defines a method that creates a provider given the proper inputs | |
- | `UpdateProvider` | [MsgUpdateProvider](#akash.provider.v1beta1.MsgUpdateProvider) | [MsgUpdateProviderResponse](#akash.provider.v1beta1.MsgUpdateProviderResponse) | UpdateProvider defines a method that updates a provider given the proper inputs | |
- | `DeleteProvider` | [MsgDeleteProvider](#akash.provider.v1beta1.MsgDeleteProvider) | [MsgDeleteProviderResponse](#akash.provider.v1beta1.MsgDeleteProviderResponse) | DeleteProvider defines a method that deletes a provider given the proper inputs | |
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta4/audit.proto
-
-
-
-
-
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta4.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
- ### AuditedAttributes
- Attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner auditor and attributes details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `SignProviderAttributes` | [MsgSignProviderAttributes](#akash.audit.v1beta4.MsgSignProviderAttributes) | [MsgSignProviderAttributesResponse](#akash.audit.v1beta4.MsgSignProviderAttributesResponse) | SignProviderAttributes defines a method that signs provider attributes | |
- | `DeleteProviderAttributes` | [MsgDeleteProviderAttributes](#akash.audit.v1beta4.MsgDeleteProviderAttributes) | [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta4.MsgDeleteProviderAttributesResponse) | DeleteProviderAttributes defines a method that deletes provider attributes | |
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta4/query.proto
-
-
-
-
-
- ### QueryAllProvidersAttributesRequest
- QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAuditorAttributesRequest
- QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAttributesRequest
- QueryProviderAttributesRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAuditorRequest
- QueryProviderAuditorRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.audit.v1beta4.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `AllProvidersAttributes` | [QueryAllProvidersAttributesRequest](#akash.audit.v1beta4.QueryAllProvidersAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta4.QueryProvidersResponse) | AllProvidersAttributes queries all providers buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta4/audit/attributes/list|
- | `ProviderAttributes` | [QueryProviderAttributesRequest](#akash.audit.v1beta4.QueryProviderAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta4.QueryProvidersResponse) | ProviderAttributes queries all provider signed attributes buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta4/audit/attributes/{owner}/list|
- | `ProviderAuditorAttributes` | [QueryProviderAuditorRequest](#akash.audit.v1beta4.QueryProviderAuditorRequest) | [QueryProvidersResponse](#akash.audit.v1beta4.QueryProvidersResponse) | ProviderAuditorAttributes queries provider signed attributes by specific auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta4/audit/attributes/{auditor}/{owner}|
- | `AuditorAttributes` | [QueryAuditorAttributesRequest](#akash.audit.v1beta4.QueryAuditorAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta4.QueryProvidersResponse) | AuditorAttributes queries all providers signed by this auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/provider/v1beta4/auditor/{auditor}/list|
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta4/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by audit module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta4.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta3/audit.proto
-
-
-
-
-
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta3.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
- ### AuditedAttributes
- Attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner auditor and attributes details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `SignProviderAttributes` | [MsgSignProviderAttributes](#akash.audit.v1beta3.MsgSignProviderAttributes) | [MsgSignProviderAttributesResponse](#akash.audit.v1beta3.MsgSignProviderAttributesResponse) | SignProviderAttributes defines a method that signs provider attributes | |
- | `DeleteProviderAttributes` | [MsgDeleteProviderAttributes](#akash.audit.v1beta3.MsgDeleteProviderAttributes) | [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta3.MsgDeleteProviderAttributesResponse) | DeleteProviderAttributes defines a method that deletes provider attributes | |
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta3/query.proto
-
-
-
-
-
- ### QueryAllProvidersAttributesRequest
- QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAuditorAttributesRequest
- QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAttributesRequest
- QueryProviderAttributesRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAuditorRequest
- QueryProviderAuditorRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.audit.v1beta3.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `AllProvidersAttributes` | [QueryAllProvidersAttributesRequest](#akash.audit.v1beta3.QueryAllProvidersAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta3.QueryProvidersResponse) | AllProvidersAttributes queries all providers buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta3/audit/attributes/list|
- | `ProviderAttributes` | [QueryProviderAttributesRequest](#akash.audit.v1beta3.QueryProviderAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta3.QueryProvidersResponse) | ProviderAttributes queries all provider signed attributes buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta3/audit/attributes/{owner}/list|
- | `ProviderAuditorAttributes` | [QueryProviderAuditorRequest](#akash.audit.v1beta3.QueryProviderAuditorRequest) | [QueryProvidersResponse](#akash.audit.v1beta3.QueryProvidersResponse) | ProviderAuditorAttributes queries provider signed attributes by specific auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta3/audit/attributes/{auditor}/{owner}|
- | `AuditorAttributes` | [QueryAuditorAttributesRequest](#akash.audit.v1beta3.QueryAuditorAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta3.QueryProvidersResponse) | AuditorAttributes queries all providers signed by this auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/provider/v1beta3/auditor/{auditor}/list|
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by audit module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta3.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta2/audit.proto
-
-
-
-
-
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta2.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
- ### AuditedAttributes
- Attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner auditor and attributes details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `SignProviderAttributes` | [MsgSignProviderAttributes](#akash.audit.v1beta2.MsgSignProviderAttributes) | [MsgSignProviderAttributesResponse](#akash.audit.v1beta2.MsgSignProviderAttributesResponse) | SignProviderAttributes defines a method that signs provider attributes | |
- | `DeleteProviderAttributes` | [MsgDeleteProviderAttributes](#akash.audit.v1beta2.MsgDeleteProviderAttributes) | [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta2.MsgDeleteProviderAttributesResponse) | DeleteProviderAttributes defines a method that deletes provider attributes | |
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta2/query.proto
-
-
-
-
-
- ### QueryAllProvidersAttributesRequest
- QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAuditorAttributesRequest
- QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAttributesRequest
- QueryProviderAttributesRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderAuditorRequest
- QueryProviderAuditorRequest is request type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.audit.v1beta2.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `AllProvidersAttributes` | [QueryAllProvidersAttributesRequest](#akash.audit.v1beta2.QueryAllProvidersAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta2.QueryProvidersResponse) | AllProvidersAttributes queries all providers buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta2/audit/attributes/list|
- | `ProviderAttributes` | [QueryProviderAttributesRequest](#akash.audit.v1beta2.QueryProviderAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta2.QueryProvidersResponse) | ProviderAttributes queries all provider signed attributes buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta2/audit/attributes/{owner}/list|
- | `ProviderAuditorAttributes` | [QueryProviderAuditorRequest](#akash.audit.v1beta2.QueryProviderAuditorRequest) | [QueryProvidersResponse](#akash.audit.v1beta2.QueryProvidersResponse) | ProviderAuditorAttributes queries provider signed attributes by specific auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1beta2/audit/attributes/{auditor}/{owner}|
- | `AuditorAttributes` | [QueryAuditorAttributesRequest](#akash.audit.v1beta2.QueryAuditorAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1beta2.QueryProvidersResponse) | AuditorAttributes queries all providers signed by this auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/provider/v1beta2/auditor/{auditor}/list|
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by audit module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta2.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/audit/v1beta1/audit.proto
-
-
-
-
-
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta1.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
- ### AuditedAttributes
- Attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner auditor and attributes details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `SignProviderAttributes` | [MsgSignProviderAttributes](#akash.audit.v1beta1.MsgSignProviderAttributes) | [MsgSignProviderAttributesResponse](#akash.audit.v1beta1.MsgSignProviderAttributesResponse) | SignProviderAttributes defines a method that signs provider attributes | |
- | `DeleteProviderAttributes` | [MsgDeleteProviderAttributes](#akash.audit.v1beta1.MsgDeleteProviderAttributes) | [MsgDeleteProviderAttributesResponse](#akash.audit.v1beta1.MsgDeleteProviderAttributesResponse) | DeleteProviderAttributes defines a method that deletes provider attributes | |
-
-
-
-
-
-
- Top
-
- ## akash/take/v1beta3/query.proto
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
-
-
-
-
-
-
- Top
-
- ## akash/take/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.take.v1beta3.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/take/v1beta3/params.proto
-
-
-
-
-
- ### DenomTakeRate
- DenomTakeRate describes take rate for specified denom
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `denom` | [string](#string) | | |
- | `rate` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
- ### Params
- Params defines the parameters for the x/take package
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `denom_take_rates` | [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate) | repeated | denom -> % take rate |
- | `default_take_rate` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/groupmsg.proto
-
-
-
-
-
- ### MsgCloseGroup
- MsgCloseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta4.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseGroupResponse
- MsgCloseGroupResponse defines the Msg/CloseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgPauseGroup
- MsgPauseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta4.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgPauseGroupResponse
- MsgPauseGroupResponse defines the Msg/PauseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgStartGroup
- MsgStartGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta4.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgStartGroupResponse
- MsgStartGroupResponse defines the Msg/StartGroup response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/resourceunit.proto
-
-
-
-
-
- ### ResourceUnit
- ResourceUnit extends Resources and adds Count along with the Price
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `resource` | [akash.base.resources.v1.Resources](#akash.base.resources.v1.Resources) | | |
- | `count` | [uint32](#uint32) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/group.proto
-
-
-
-
-
- ### Group
- Group stores group id, state and specifications of group
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group_id` | [GroupID](#akash.deployment.v1beta4.GroupID) | | |
- | `state` | [Group.State](#akash.deployment.v1beta4.Group.State) | | |
- | `group_spec` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Group.State
- State is an enum which refers to state of group
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | GroupOpen denotes state for group open |
- | paused | 2 | GroupOrdered denotes state for group ordered |
- | insufficient_funds | 3 | GroupInsufficientFunds denotes state for group insufficient_funds |
- | closed | 4 | GroupClosed denotes state for group closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/groupid.proto
-
-
-
-
-
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/deployment.proto
-
-
-
-
-
- ### Deployment
- Deployment stores deploymentID, state and version details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
- | `state` | [Deployment.State](#akash.deployment.v1beta4.Deployment.State) | | |
- | `version` | [bytes](#bytes) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### DeploymentFilters
- DeploymentFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### DeploymentID
- DeploymentID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Deployment.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | DeploymentActive denotes state for deployment active |
- | closed | 2 | DeploymentClosed denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/query.proto
-
-
-
-
-
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta4.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta4.Group) | repeated | |
- | `escrow_account` | [akash.escrow.v1beta3.Account](#akash.escrow.v1beta3.Account) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsResponse
- QueryDeploymentsResponse is response type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupRequest
- QueryGroupRequest is request type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta4.GroupID) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupResponse
- QueryGroupResponse is response type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta4.Group) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta4.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1beta4/deployments/list|
- | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1beta4/deployments/info|
- | `Group` | [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1beta4/groups/info|
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/deploymentmsg.proto
-
-
-
-
-
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
- | `groups` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | repeated | |
- | `version` | [bytes](#bytes) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
- | `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta4.DeploymentID) | | |
- | `version` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/service.proto
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the deployment Msg service.
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateDeployment` | [MsgCreateDeployment](#akash.deployment.v1beta4.MsgCreateDeployment) | [MsgCreateDeploymentResponse](#akash.deployment.v1beta4.MsgCreateDeploymentResponse) | CreateDeployment defines a method to create new deployment given proper inputs. | |
- | `DepositDeployment` | [MsgDepositDeployment](#akash.deployment.v1beta4.MsgDepositDeployment) | [MsgDepositDeploymentResponse](#akash.deployment.v1beta4.MsgDepositDeploymentResponse) | DepositDeployment deposits more funds into the deployment account | |
- | `UpdateDeployment` | [MsgUpdateDeployment](#akash.deployment.v1beta4.MsgUpdateDeployment) | [MsgUpdateDeploymentResponse](#akash.deployment.v1beta4.MsgUpdateDeploymentResponse) | UpdateDeployment defines a method to update a deployment given proper inputs. | |
- | `CloseDeployment` | [MsgCloseDeployment](#akash.deployment.v1beta4.MsgCloseDeployment) | [MsgCloseDeploymentResponse](#akash.deployment.v1beta4.MsgCloseDeploymentResponse) | CloseDeployment defines a method to close a deployment given proper inputs. | |
- | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta4.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta4.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta4.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta4.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | |
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/authz.proto
-
-
-
-
-
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `spend_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | SpendLimit is the amount the grantee is authorized to spend from the granter's account for the purpose of deployment. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/genesis.proto
-
-
-
-
-
- ### GenesisDeployment
- GenesisDeployment defines the basic genesis state used by deployment module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta4.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta4.Group) | repeated | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment) | repeated | |
- | `params` | [Params](#akash.deployment.v1beta4.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/groupspec.proto
-
-
-
-
-
- ### GroupSpec
- GroupSpec stores group specifications
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `requirements` | [akash.base.attributes.v1.PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements) | | |
- | `resources` | [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta4/params.proto
-
-
-
-
-
- ### Params
- Params defines the parameters for the x/deployment package
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `min_deposits` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/groupmsg.proto
-
-
-
-
-
- ### MsgCloseGroup
- MsgCloseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseGroupResponse
- MsgCloseGroupResponse defines the Msg/CloseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgPauseGroup
- MsgPauseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgPauseGroupResponse
- MsgPauseGroupResponse defines the Msg/PauseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgStartGroup
- MsgStartGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgStartGroupResponse
- MsgStartGroupResponse defines the Msg/StartGroup response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/resourceunit.proto
-
-
-
-
-
- ### ResourceUnit
- ResourceUnit extends Resources and adds Count along with the Price
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `resource` | [akash.base.v1beta3.Resources](#akash.base.v1beta3.Resources) | | |
- | `count` | [uint32](#uint32) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/group.proto
-
-
-
-
-
- ### Group
- Group stores group id, state and specifications of group
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group_id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
- | `state` | [Group.State](#akash.deployment.v1beta3.Group.State) | | |
- | `group_spec` | [GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Group.State
- State is an enum which refers to state of group
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | GroupOpen denotes state for group open |
- | paused | 2 | GroupOrdered denotes state for group ordered |
- | insufficient_funds | 3 | GroupInsufficientFunds denotes state for group insufficient_funds |
- | closed | 4 | GroupClosed denotes state for group closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/groupid.proto
-
-
-
-
-
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/deployment.proto
-
-
-
-
-
- ### Deployment
- Deployment stores deploymentID, state and version details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
- | `state` | [Deployment.State](#akash.deployment.v1beta3.Deployment.State) | | |
- | `version` | [bytes](#bytes) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### DeploymentFilters
- DeploymentFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### DeploymentID
- DeploymentID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Deployment.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | DeploymentActive denotes state for deployment active |
- | closed | 2 | DeploymentClosed denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/query.proto
-
-
-
-
-
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta3.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta3.Group) | repeated | |
- | `escrow_account` | [akash.escrow.v1beta3.Account](#akash.escrow.v1beta3.Account) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [DeploymentFilters](#akash.deployment.v1beta3.DeploymentFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsResponse
- QueryDeploymentsResponse is response type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta3.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupRequest
- QueryGroupRequest is request type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupResponse
- QueryGroupResponse is response type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta3.Group) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta3.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta3.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1beta3/deployments/list|
- | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta3.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta3.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1beta3/deployments/info|
- | `Group` | [QueryGroupRequest](#akash.deployment.v1beta3.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta3.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1beta3/groups/info|
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/deploymentmsg.proto
-
-
-
-
-
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
- | `groups` | [GroupSpec](#akash.deployment.v1beta3.GroupSpec) | repeated | |
- | `version` | [bytes](#bytes) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
- | `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
- | `version` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/service.proto
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the deployment Msg service.
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateDeployment` | [MsgCreateDeployment](#akash.deployment.v1beta3.MsgCreateDeployment) | [MsgCreateDeploymentResponse](#akash.deployment.v1beta3.MsgCreateDeploymentResponse) | CreateDeployment defines a method to create new deployment given proper inputs. | |
- | `DepositDeployment` | [MsgDepositDeployment](#akash.deployment.v1beta3.MsgDepositDeployment) | [MsgDepositDeploymentResponse](#akash.deployment.v1beta3.MsgDepositDeploymentResponse) | DepositDeployment deposits more funds into the deployment account | |
- | `UpdateDeployment` | [MsgUpdateDeployment](#akash.deployment.v1beta3.MsgUpdateDeployment) | [MsgUpdateDeploymentResponse](#akash.deployment.v1beta3.MsgUpdateDeploymentResponse) | UpdateDeployment defines a method to update a deployment given proper inputs. | |
- | `CloseDeployment` | [MsgCloseDeployment](#akash.deployment.v1beta3.MsgCloseDeployment) | [MsgCloseDeploymentResponse](#akash.deployment.v1beta3.MsgCloseDeploymentResponse) | CloseDeployment defines a method to close a deployment given proper inputs. | |
- | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta3.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta3.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta3.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta3.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta3.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta3.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | |
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/authz.proto
-
-
-
-
-
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `spend_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | SpendLimit is the amount the grantee is authorized to spend from the granter's account for the purpose of deployment. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisDeployment
- GenesisDeployment defines the basic genesis state used by deployment module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta3.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta3.Group) | repeated | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [GenesisDeployment](#akash.deployment.v1beta3.GenesisDeployment) | repeated | |
- | `params` | [Params](#akash.deployment.v1beta3.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/groupspec.proto
-
-
-
-
-
- ### GroupSpec
- GroupSpec stores group specifications
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `requirements` | [akash.base.v1beta3.PlacementRequirements](#akash.base.v1beta3.PlacementRequirements) | | |
- | `resources` | [ResourceUnit](#akash.deployment.v1beta3.ResourceUnit) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta3/params.proto
-
-
-
-
-
- ### Params
- Params defines the parameters for the x/deployment package
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `min_deposits` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/groupmsg.proto
-
-
-
-
-
- ### MsgCloseGroup
- MsgCloseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseGroupResponse
- MsgCloseGroupResponse defines the Msg/CloseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgPauseGroup
- MsgPauseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgPauseGroupResponse
- MsgPauseGroupResponse defines the Msg/PauseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgStartGroup
- MsgStartGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgStartGroupResponse
- MsgStartGroupResponse defines the Msg/StartGroup response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/group.proto
-
-
-
-
-
- ### Group
- Group stores group id, state and specifications of group
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group_id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
- | `state` | [Group.State](#akash.deployment.v1beta2.Group.State) | | |
- | `group_spec` | [GroupSpec](#akash.deployment.v1beta2.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Group.State
- State is an enum which refers to state of group
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | GroupOpen denotes state for group open |
- | paused | 2 | GroupOrdered denotes state for group ordered |
- | insufficient_funds | 3 | GroupInsufficientFunds denotes state for group insufficient_funds |
- | closed | 4 | GroupClosed denotes state for group closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/groupid.proto
-
-
-
-
-
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/deployment.proto
-
-
-
-
-
- ### Deployment
- Deployment stores deploymentID, state and version details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `state` | [Deployment.State](#akash.deployment.v1beta2.Deployment.State) | | |
- | `version` | [bytes](#bytes) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### DeploymentFilters
- DeploymentFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### DeploymentID
- DeploymentID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
-
-
-
-
-
-
-
-
-
-
- ### Deployment.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | DeploymentActive denotes state for deployment active |
- | closed | 2 | DeploymentClosed denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/query.proto
-
-
-
-
-
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta2.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta2.Group) | repeated | |
- | `escrow_account` | [akash.escrow.v1beta2.Account](#akash.escrow.v1beta2.Account) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [DeploymentFilters](#akash.deployment.v1beta2.DeploymentFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsResponse
- QueryDeploymentsResponse is response type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta2.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupRequest
- QueryGroupRequest is request type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupResponse
- QueryGroupResponse is response type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta2.Group) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta2.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta2.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1beta2/deployments/list|
- | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta2.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta2.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1beta2/deployments/info|
- | `Group` | [QueryGroupRequest](#akash.deployment.v1beta2.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta2.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1beta2/groups/info|
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/deploymentmsg.proto
-
-
-
-
-
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `groups` | [GroupSpec](#akash.deployment.v1beta2.GroupSpec) | repeated | |
- | `version` | [bytes](#bytes) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
-
-
-
-
-
-
-
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `version` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/service.proto
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the deployment Msg service.
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateDeployment` | [MsgCreateDeployment](#akash.deployment.v1beta2.MsgCreateDeployment) | [MsgCreateDeploymentResponse](#akash.deployment.v1beta2.MsgCreateDeploymentResponse) | CreateDeployment defines a method to create new deployment given proper inputs. | |
- | `DepositDeployment` | [MsgDepositDeployment](#akash.deployment.v1beta2.MsgDepositDeployment) | [MsgDepositDeploymentResponse](#akash.deployment.v1beta2.MsgDepositDeploymentResponse) | DepositDeployment deposits more funds into the deployment account | |
- | `UpdateDeployment` | [MsgUpdateDeployment](#akash.deployment.v1beta2.MsgUpdateDeployment) | [MsgUpdateDeploymentResponse](#akash.deployment.v1beta2.MsgUpdateDeploymentResponse) | UpdateDeployment defines a method to update a deployment given proper inputs. | |
- | `CloseDeployment` | [MsgCloseDeployment](#akash.deployment.v1beta2.MsgCloseDeployment) | [MsgCloseDeploymentResponse](#akash.deployment.v1beta2.MsgCloseDeploymentResponse) | CloseDeployment defines a method to close a deployment given proper inputs. | |
- | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta2.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta2.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta2.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta2.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta2.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta2.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | |
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/authz.proto
-
-
-
-
-
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `spend_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | SpendLimit is the amount the grantee is authorized to spend from the granter's account for the purpose of deployment. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisDeployment
- GenesisDeployment defines the basic genesis state used by deployment module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta2.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta2.Group) | repeated | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [GenesisDeployment](#akash.deployment.v1beta2.GenesisDeployment) | repeated | |
- | `params` | [Params](#akash.deployment.v1beta2.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/groupspec.proto
-
-
-
-
-
- ### GroupSpec
- GroupSpec stores group specifications
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `requirements` | [akash.base.v1beta2.PlacementRequirements](#akash.base.v1beta2.PlacementRequirements) | | |
- | `resources` | [Resource](#akash.deployment.v1beta2.Resource) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/resource.proto
-
-
-
-
-
- ### Resource
- Resource stores unit, total count and price of resource
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `resources` | [akash.base.v1beta2.ResourceUnits](#akash.base.v1beta2.ResourceUnits) | | |
- | `count` | [uint32](#uint32) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta2/params.proto
-
-
-
-
-
- ### Params
- Params defines the parameters for the x/deployment package
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/group.proto
-
-
-
-
-
- ### Group
- Group stores group id, state and specifications of group
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group_id` | [GroupID](#akash.deployment.v1beta1.GroupID) | | |
- | `state` | [Group.State](#akash.deployment.v1beta1.Group.State) | | |
- | `group_spec` | [GroupSpec](#akash.deployment.v1beta1.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
- ### GroupSpec
- GroupSpec stores group specifications
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `requirements` | [akash.base.v1beta1.PlacementRequirements](#akash.base.v1beta1.PlacementRequirements) | | |
- | `resources` | [Resource](#akash.deployment.v1beta1.Resource) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgCloseGroup
- MsgCloseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta1.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseGroupResponse
- MsgCloseGroupResponse defines the Msg/CloseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgPauseGroup
- MsgPauseGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta1.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgPauseGroupResponse
- MsgPauseGroupResponse defines the Msg/PauseGroup response type.
-
-
-
-
-
-
-
-
- ### MsgStartGroup
- MsgStartGroup defines SDK message to close a single Group within a Deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta1.GroupID) | | |
-
-
-
-
-
-
-
-
- ### MsgStartGroupResponse
- MsgStartGroupResponse defines the Msg/StartGroup response type.
-
-
-
-
-
-
-
-
- ### Resource
- Resource stores unit, total count and price of resource
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `resources` | [akash.base.v1beta1.ResourceUnits](#akash.base.v1beta1.ResourceUnits) | | |
- | `count` | [uint32](#uint32) | | |
- | `price` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
- ### Group.State
- State is an enum which refers to state of group
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | GroupOpen denotes state for group open |
- | paused | 2 | GroupOrdered denotes state for group ordered |
- | insufficient_funds | 3 | GroupInsufficientFunds denotes state for group insufficient_funds |
- | closed | 4 | GroupClosed denotes state for group closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/deployment.proto
-
-
-
-
-
- ### Deployment
- Deployment stores deploymentID, state and version details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
- | `state` | [Deployment.State](#akash.deployment.v1beta1.Deployment.State) | | |
- | `version` | [bytes](#bytes) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### DeploymentFilters
- DeploymentFilters defines filters used to filter deployments
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### DeploymentID
- DeploymentID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
- | `groups` | [GroupSpec](#akash.deployment.v1beta1.GroupSpec) | repeated | |
- | `version` | [bytes](#bytes) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
- | `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
-
-
-
-
-
-
-
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
- | `groups` | [GroupSpec](#akash.deployment.v1beta1.GroupSpec) | repeated | |
- | `version` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
-
-
-
-
-
-
-
-
-
-
- ### Deployment.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | DeploymentActive denotes state for deployment active |
- | closed | 2 | DeploymentClosed denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the deployment Msg service.
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateDeployment` | [MsgCreateDeployment](#akash.deployment.v1beta1.MsgCreateDeployment) | [MsgCreateDeploymentResponse](#akash.deployment.v1beta1.MsgCreateDeploymentResponse) | CreateDeployment defines a method to create new deployment given proper inputs. | |
- | `DepositDeployment` | [MsgDepositDeployment](#akash.deployment.v1beta1.MsgDepositDeployment) | [MsgDepositDeploymentResponse](#akash.deployment.v1beta1.MsgDepositDeploymentResponse) | DepositDeployment deposits more funds into the deployment account | |
- | `UpdateDeployment` | [MsgUpdateDeployment](#akash.deployment.v1beta1.MsgUpdateDeployment) | [MsgUpdateDeploymentResponse](#akash.deployment.v1beta1.MsgUpdateDeploymentResponse) | UpdateDeployment defines a method to update a deployment given proper inputs. | |
- | `CloseDeployment` | [MsgCloseDeployment](#akash.deployment.v1beta1.MsgCloseDeployment) | [MsgCloseDeploymentResponse](#akash.deployment.v1beta1.MsgCloseDeploymentResponse) | CloseDeployment defines a method to close a deployment given proper inputs. | |
- | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta1.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta1.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta1.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta1.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | |
- | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta1.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta1.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | |
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/query.proto
-
-
-
-
-
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta1.DeploymentID) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta1.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta1.Group) | repeated | |
- | `escrow_account` | [akash.escrow.v1beta1.Account](#akash.escrow.v1beta1.Account) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [DeploymentFilters](#akash.deployment.v1beta1.DeploymentFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryDeploymentsResponse
- QueryDeploymentsResponse is response type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta1.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupRequest
- QueryGroupRequest is request type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta1.GroupID) | | |
-
-
-
-
-
-
-
-
- ### QueryGroupResponse
- QueryGroupResponse is response type for the Query/Group RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta1.Group) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta1.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta1.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1beta1/deployments/list|
- | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta1.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta1.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1beta1/deployments/info|
- | `Group` | [QueryGroupRequest](#akash.deployment.v1beta1.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta1.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1beta1/groups/info|
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/authz.proto
-
-
-
-
-
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `spend_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | SpendLimit is the amount the grantee is authorized to spend from the granter's account for the purpose of deployment. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/genesis.proto
-
-
-
-
-
- ### GenesisDeployment
- GenesisDeployment defines the basic genesis state used by deployment module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment` | [Deployment](#akash.deployment.v1beta1.Deployment) | | |
- | `groups` | [Group](#akash.deployment.v1beta1.Group) | repeated | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [GenesisDeployment](#akash.deployment.v1beta1.GenesisDeployment) | repeated | |
- | `params` | [Params](#akash.deployment.v1beta1.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/deployment/v1beta1/params.proto
-
-
-
-
-
- ### Params
- Params defines the parameters for the x/deployment package
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployment_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/staking/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.staking.v1beta3.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/staking/v1beta3/params.proto
-
-
-
-
-
- ### Params
- Params extends the parameters for the x/staking module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `min_commission_rate` | [string](#string) | | min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta3/query.proto
-
-
-
-
-
- ### CertificateResponse
- CertificateResponse contains a single X509 certificate and its serial number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificate` | [Certificate](#akash.cert.v1beta3.Certificate) | | |
- | `serial` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryCertificatesRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filter` | [CertificateFilter](#akash.cert.v1beta3.CertificateFilter) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryCertificatesResponse
- QueryCertificatesResponse is response type for the Query/Certificates RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificates` | [CertificateResponse](#akash.cert.v1beta3.CertificateResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Certificates` | [QueryCertificatesRequest](#akash.cert.v1beta3.QueryCertificatesRequest) | [QueryCertificatesResponse](#akash.cert.v1beta3.QueryCertificatesResponse) | Certificates queries certificates | GET|/akash/cert/v1beta3/certificates/list|
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta3/cert.proto
-
-
-
-
-
- ### Certificate
- Certificate stores state, certificate and it's public key
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `state` | [Certificate.State](#akash.cert.v1beta3.Certificate.State) | | |
- | `cert` | [bytes](#bytes) | | |
- | `pubkey` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### CertificateFilter
- CertificateFilter defines filters used to filter certificates
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `serial` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### CertificateID
- CertificateID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `serial` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateCertificate
- MsgCreateCertificate defines an SDK message for creating certificate
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `cert` | [bytes](#bytes) | | |
- | `pubkey` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateCertificateResponse
- MsgCreateCertificateResponse defines the Msg/CreateCertificate response type.
-
-
-
-
-
-
-
-
- ### MsgRevokeCertificate
- MsgRevokeCertificate defines an SDK message for revoking certificate
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [CertificateID](#akash.cert.v1beta3.CertificateID) | | |
-
-
-
-
-
-
-
-
- ### MsgRevokeCertificateResponse
- MsgRevokeCertificateResponse defines the Msg/RevokeCertificate response type.
-
-
-
-
-
-
-
-
-
-
- ### Certificate.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | valid | 1 | CertificateValid denotes state for deployment active |
- | revoked | 2 | CertificateRevoked denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateCertificate` | [MsgCreateCertificate](#akash.cert.v1beta3.MsgCreateCertificate) | [MsgCreateCertificateResponse](#akash.cert.v1beta3.MsgCreateCertificateResponse) | CreateCertificate defines a method to create new certificate given proper inputs. | |
- | `RevokeCertificate` | [MsgRevokeCertificate](#akash.cert.v1beta3.MsgRevokeCertificate) | [MsgRevokeCertificateResponse](#akash.cert.v1beta3.MsgRevokeCertificateResponse) | RevokeCertificate defines a method to revoke the certificate | |
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisCertificate
- GenesisCertificate defines certificate entry at genesis
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `certificate` | [Certificate](#akash.cert.v1beta3.Certificate) | | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by cert module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificates` | [GenesisCertificate](#akash.cert.v1beta3.GenesisCertificate) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta2/query.proto
-
-
-
-
-
- ### CertificateResponse
- CertificateResponse contains a single X509 certificate and its serial number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificate` | [Certificate](#akash.cert.v1beta2.Certificate) | | |
- | `serial` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### QueryCertificatesRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filter` | [CertificateFilter](#akash.cert.v1beta2.CertificateFilter) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryCertificatesResponse
- QueryCertificatesResponse is response type for the Query/Certificates RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificates` | [CertificateResponse](#akash.cert.v1beta2.CertificateResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Certificates` | [QueryCertificatesRequest](#akash.cert.v1beta2.QueryCertificatesRequest) | [QueryCertificatesResponse](#akash.cert.v1beta2.QueryCertificatesResponse) | Certificates queries certificates | GET|/akash/cert/v1beta3/certificates/list|
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta2/cert.proto
-
-
-
-
-
- ### Certificate
- Certificate stores state, certificate and it's public key
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `state` | [Certificate.State](#akash.cert.v1beta2.Certificate.State) | | |
- | `cert` | [bytes](#bytes) | | |
- | `pubkey` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### CertificateFilter
- CertificateFilter defines filters used to filter certificates
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `serial` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### CertificateID
- CertificateID stores owner and sequence number
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `serial` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateCertificate
- MsgCreateCertificate defines an SDK message for creating certificate
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `cert` | [bytes](#bytes) | | |
- | `pubkey` | [bytes](#bytes) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateCertificateResponse
- MsgCreateCertificateResponse defines the Msg/CreateCertificate response type.
-
-
-
-
-
-
-
-
- ### MsgRevokeCertificate
- MsgRevokeCertificate defines an SDK message for revoking certificate
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [CertificateID](#akash.cert.v1beta2.CertificateID) | | |
-
-
-
-
-
-
-
-
- ### MsgRevokeCertificateResponse
- MsgRevokeCertificateResponse defines the Msg/RevokeCertificate response type.
-
-
-
-
-
-
-
-
-
-
- ### Certificate.State
- State is an enum which refers to state of deployment
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | valid | 1 | CertificateValid denotes state for deployment active |
- | revoked | 2 | CertificateRevoked denotes state for deployment closed |
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the provider Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateCertificate` | [MsgCreateCertificate](#akash.cert.v1beta2.MsgCreateCertificate) | [MsgCreateCertificateResponse](#akash.cert.v1beta2.MsgCreateCertificateResponse) | CreateCertificate defines a method to create new certificate given proper inputs. | |
- | `RevokeCertificate` | [MsgRevokeCertificate](#akash.cert.v1beta2.MsgRevokeCertificate) | [MsgRevokeCertificateResponse](#akash.cert.v1beta2.MsgRevokeCertificateResponse) | RevokeCertificate defines a method to revoke the certificate | |
-
-
-
-
-
-
- Top
-
- ## akash/cert/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisCertificate
- GenesisCertificate defines certificate entry at genesis
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `certificate` | [Certificate](#akash.cert.v1beta2.Certificate) | | |
-
-
-
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by cert module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `certificates` | [GenesisCertificate](#akash.cert.v1beta2.GenesisCertificate) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta3/types.proto
-
-
-
-
-
- ### Account
- Account stores state for an escrow account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [AccountID](#akash.escrow.v1beta3.AccountID) | | unique identifier for this escrow account |
- | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account |
- | `state` | [Account.State](#akash.escrow.v1beta3.Account.State) | | current state of this escrow account |
- | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | unspent coins received from the owner's wallet |
- | `transferred` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total coins spent by this account |
- | `settled_at` | [int64](#int64) | | block height at which this account was last settled |
- | `depositor` | [string](#string) | | 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` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | Funds are unspent coins received from the (non-Owner) Depositor's wallet. If there are any funds, they should be spent before spending the Balance. |
-
-
-
-
-
-
-
-
- ### AccountID
- AccountID is the account identifier
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### FractionalPayment
- Payment stores state for a payment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `account_id` | [AccountID](#akash.escrow.v1beta3.AccountID) | | |
- | `payment_id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [FractionalPayment.State](#akash.escrow.v1beta3.FractionalPayment.State) | | |
- | `rate` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
- ### Account.State
- State stores state for an escrow account
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | AccountStateInvalid is an invalid state |
- | open | 1 | AccountOpen is the state when an account is open |
- | closed | 2 | AccountClosed is the state when an account is closed |
- | overdrawn | 3 | AccountOverdrawn is the state when an account is overdrawn |
-
-
-
-
-
- ### FractionalPayment.State
- Payment State
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid |
- | open | 1 | PaymentStateOpen is the state when the payment is open |
- | closed | 2 | PaymentStateClosed is the state when the payment is closed |
- | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta3/query.proto
-
-
-
-
-
- ### QueryAccountsRequest
- QueryAccountRequest is request type for the Query/Account RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAccountsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta3.Account) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsRequest
- QueryPaymentRequest is request type for the Query/Payment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `payments` | [FractionalPayment](#akash.escrow.v1beta3.FractionalPayment) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Accounts` | [QueryAccountsRequest](#akash.escrow.v1beta3.QueryAccountsRequest) | [QueryAccountsResponse](#akash.escrow.v1beta3.QueryAccountsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Accounts queries all accounts | GET|/akash/escrow/v1beta3/types/accounts/list|
- | `Payments` | [QueryPaymentsRequest](#akash.escrow.v1beta3.QueryPaymentsRequest) | [QueryPaymentsResponse](#akash.escrow.v1beta3.QueryPaymentsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Payments queries all payments | GET|/akash/escrow/v1beta3/types/payments/list|
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by escrow module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta3.Account) | repeated | |
- | `payments` | [FractionalPayment](#akash.escrow.v1beta3.FractionalPayment) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta2/types.proto
-
-
-
-
-
- ### Account
- Account stores state for an escrow account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [AccountID](#akash.escrow.v1beta2.AccountID) | | unique identifier for this escrow account |
- | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account |
- | `state` | [Account.State](#akash.escrow.v1beta2.Account.State) | | current state of this escrow account |
- | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | unspent coins received from the owner's wallet |
- | `transferred` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total coins spent by this account |
- | `settled_at` | [int64](#int64) | | block height at which this account was last settled |
- | `depositor` | [string](#string) | | 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` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | Funds are unspent coins received from the (non-Owner) Depositor's wallet. If there are any funds, they should be spent before spending the Balance. |
-
-
-
-
-
-
-
-
- ### AccountID
- AccountID is the account identifier
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### FractionalPayment
- Payment stores state for a payment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `account_id` | [AccountID](#akash.escrow.v1beta2.AccountID) | | |
- | `payment_id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [FractionalPayment.State](#akash.escrow.v1beta2.FractionalPayment.State) | | |
- | `rate` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
- ### Account.State
- State stores state for an escrow account
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | AccountStateInvalid is an invalid state |
- | open | 1 | AccountOpen is the state when an account is open |
- | closed | 2 | AccountClosed is the state when an account is closed |
- | overdrawn | 3 | AccountOverdrawn is the state when an account is overdrawn |
-
-
-
-
-
- ### FractionalPayment.State
- Payment State
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid |
- | open | 1 | PaymentStateOpen is the state when the payment is open |
- | closed | 2 | PaymentStateClosed is the state when the payment is closed |
- | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta2/query.proto
-
-
-
-
-
- ### QueryAccountsRequest
- QueryAccountRequest is request type for the Query/Account RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAccountsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta2.Account) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsRequest
- QueryPaymentRequest is request type for the Query/Payment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `payments` | [FractionalPayment](#akash.escrow.v1beta2.FractionalPayment) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Accounts` | [QueryAccountsRequest](#akash.escrow.v1beta2.QueryAccountsRequest) | [QueryAccountsResponse](#akash.escrow.v1beta2.QueryAccountsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Accounts queries all accounts | GET|/akash/escrow/v1beta2/types/accounts/list|
- | `Payments` | [QueryPaymentsRequest](#akash.escrow.v1beta2.QueryPaymentsRequest) | [QueryPaymentsResponse](#akash.escrow.v1beta2.QueryPaymentsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Payments queries all payments | GET|/akash/escrow/v1beta2/types/payments/list|
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by escrow module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta2.Account) | repeated | |
- | `payments` | [FractionalPayment](#akash.escrow.v1beta2.FractionalPayment) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta1/types.proto
-
-
-
-
-
- ### Account
- Account stores state for an escrow account
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [AccountID](#akash.escrow.v1beta1.AccountID) | | unique identifier for this escrow account |
- | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account |
- | `state` | [Account.State](#akash.escrow.v1beta1.Account.State) | | current state of this escrow account |
- | `balance` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | unspent coins received from the owner's wallet |
- | `transferred` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | total coins spent by this account |
- | `settled_at` | [int64](#int64) | | block height at which this account was last settled |
-
-
-
-
-
-
-
-
- ### AccountID
- AccountID is the account identifier
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### Payment
- Payment stores state for a payment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `account_id` | [AccountID](#akash.escrow.v1beta1.AccountID) | | |
- | `payment_id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [Payment.State](#akash.escrow.v1beta1.Payment.State) | | |
- | `rate` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `balance` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
-
-
-
- ### Account.State
- State stores state for an escrow account
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | AccountStateInvalid is an invalid state |
- | open | 1 | AccountOpen is the state when an account is open |
- | closed | 2 | AccountClosed is the state when an account is closed |
- | overdrawn | 3 | AccountOverdrawn is the state when an account is overdrawn |
-
-
-
-
-
- ### Payment.State
- Payment State
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid |
- | open | 1 | PaymentStateOpen is the state when the payment is open |
- | closed | 2 | PaymentStateClosed is the state when the payment is closed |
- | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta1/query.proto
-
-
-
-
-
- ### QueryAccountsRequest
- QueryAccountRequest is request type for the Query/Account RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryAccountsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta1.Account) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsRequest
- QueryPaymentRequest is request type for the Query/Payment RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `scope` | [string](#string) | | |
- | `xid` | [string](#string) | | |
- | `id` | [string](#string) | | |
- | `owner` | [string](#string) | | |
- | `state` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryPaymentsResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `payments` | [Payment](#akash.escrow.v1beta1.Payment) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Accounts` | [QueryAccountsRequest](#akash.escrow.v1beta1.QueryAccountsRequest) | [QueryAccountsResponse](#akash.escrow.v1beta1.QueryAccountsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Accounts queries all accounts | GET|/akash/escrow/v1beta1/types/accounts/list|
- | `Payments` | [QueryPaymentsRequest](#akash.escrow.v1beta1.QueryPaymentsRequest) | [QueryPaymentsResponse](#akash.escrow.v1beta1.QueryPaymentsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Payments queries all payments | GET|/akash/escrow/v1beta1/types/payments/list|
-
-
-
-
-
-
- Top
-
- ## akash/escrow/v1beta1/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by escrow module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `accounts` | [Account](#akash.escrow.v1beta1.Account) | repeated | |
- | `payments` | [Payment](#akash.escrow.v1beta1.Payment) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/bid.proto
-
-
-
-
-
- ### Bid
- Bid stores BidID, state of bid and price
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta4.BidID) | | |
- | `state` | [Bid.State](#akash.market.v1beta4.Bid.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `resources_offer` | [ResourceOffer](#akash.market.v1beta4.ResourceOffer) | repeated | |
-
-
-
-
-
-
-
-
- ### BidFilters
- BidFilters defines flags for bid list filter
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### BidID
- BidID stores owner and all other seq numbers
-A successful bid becomes a Lease(ID).
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseBid
- MsgCloseBid defines an SDK message for closing bid
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta4.BidID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseBidResponse
- MsgCloseBidResponse defines the Msg/CloseBid response type.
-
-
-
-
-
-
-
-
- ### MsgCreateBid
- MsgCreateBid defines an SDK message for creating Bid
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [OrderID](#akash.market.v1beta4.OrderID) | | |
- | `provider` | [string](#string) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `resources_offer` | [ResourceOffer](#akash.market.v1beta4.ResourceOffer) | repeated | |
-
-
-
-
-
-
-
-
- ### MsgCreateBidResponse
- MsgCreateBidResponse defines the Msg/CreateBid response type.
-
-
-
-
-
-
-
-
- ### ResourceOffer
- ResourceOffer describes resources that provider is offering
-for deployment
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `resources` | [akash.base.v1beta3.Resources](#akash.base.v1beta3.Resources) | | |
- | `count` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
- ### Bid.State
- State is an enum which refers to state of bid
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | BidOpen denotes state for bid open |
- | active | 2 | BidMatched denotes state for bid open |
- | lost | 3 | BidLost denotes state for bid lost |
- | closed | 4 | BidClosed denotes state for bid closed |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/query.proto
-
-
-
-
-
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta4.BidID) | | |
-
-
-
-
-
-
-
-
- ### QueryBidResponse
- QueryBidResponse is response type for the Query/Bid RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid` | [Bid](#akash.market.v1beta4.Bid) | | |
- | `escrow_account` | [akash.escrow.v1beta3.Account](#akash.escrow.v1beta3.Account) | | |
-
-
-
-
-
-
-
-
- ### QueryBidsRequest
- QueryBidsRequest is request type for the Query/Bids RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [BidFilters](#akash.market.v1beta4.BidFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryBidsResponse
- QueryBidsResponse is response type for the Query/Bids RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bids` | [QueryBidResponse](#akash.market.v1beta4.QueryBidResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryLeaseRequest
- QueryLeaseRequest is request type for the Query/Lease RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [LeaseID](#akash.market.v1beta4.LeaseID) | | |
-
-
-
-
-
-
-
-
- ### QueryLeaseResponse
- QueryLeaseResponse is response type for the Query/Lease RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease` | [Lease](#akash.market.v1beta4.Lease) | | |
- | `escrow_payment` | [akash.escrow.v1beta3.FractionalPayment](#akash.escrow.v1beta3.FractionalPayment) | | |
-
-
-
-
-
-
-
-
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [LeaseFilters](#akash.market.v1beta4.LeaseFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryLeasesResponse
- QueryLeasesResponse is response type for the Query/Leases RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `leases` | [QueryLeaseResponse](#akash.market.v1beta4.QueryLeaseResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
- ### QueryOrderRequest
- QueryOrderRequest is request type for the Query/Order RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [OrderID](#akash.market.v1beta4.OrderID) | | |
-
-
-
-
-
-
-
-
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta4.Order) | | |
-
-
-
-
-
-
-
-
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta4.OrderFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
-
- ### QueryOrdersResponse
- QueryOrdersResponse is response type for the Query/Orders RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta4.Order) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Orders` | [QueryOrdersRequest](#akash.market.v1beta4.QueryOrdersRequest) | [QueryOrdersResponse](#akash.market.v1beta4.QueryOrdersResponse) | Orders queries orders with filters | GET|/akash/market/v1beta4/orders/list|
- | `Order` | [QueryOrderRequest](#akash.market.v1beta4.QueryOrderRequest) | [QueryOrderResponse](#akash.market.v1beta4.QueryOrderResponse) | Order queries order details | GET|/akash/market/v1beta4/orders/info|
- | `Bids` | [QueryBidsRequest](#akash.market.v1beta4.QueryBidsRequest) | [QueryBidsResponse](#akash.market.v1beta4.QueryBidsResponse) | Bids queries bids with filters | GET|/akash/market/v1beta4/bids/list|
- | `Bid` | [QueryBidRequest](#akash.market.v1beta4.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta4.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta4/bids/info|
- | `Leases` | [QueryLeasesRequest](#akash.market.v1beta4.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta4.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta4/leases/list|
- | `Lease` | [QueryLeaseRequest](#akash.market.v1beta4.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta4.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta4/leases/info|
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/service.proto
-
-
-
-
-
-
-
-
-
-
-
- ### Msg
- Msg defines the market Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateBid` | [MsgCreateBid](#akash.market.v1beta4.MsgCreateBid) | [MsgCreateBidResponse](#akash.market.v1beta4.MsgCreateBidResponse) | CreateBid defines a method to create a bid given proper inputs. | |
- | `CloseBid` | [MsgCloseBid](#akash.market.v1beta4.MsgCloseBid) | [MsgCloseBidResponse](#akash.market.v1beta4.MsgCloseBidResponse) | CloseBid defines a method to close a bid given proper inputs. | |
- | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta4.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta4.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | |
- | `CreateLease` | [MsgCreateLease](#akash.market.v1beta4.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta4.MsgCreateLeaseResponse) | CreateLease creates a new lease | |
- | `CloseLease` | [MsgCloseLease](#akash.market.v1beta4.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta4.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | |
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/lease.proto
-
-
-
-
-
- ### Lease
- Lease stores LeaseID, state of lease and price
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta4.LeaseID) | | |
- | `state` | [Lease.State](#akash.market.v1beta4.Lease.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `closed_on` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### LeaseFilters
- LeaseFilters defines flags for lease list filter
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### LeaseID
- LeaseID stores bid details of lease
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseLease
- MsgCloseLease defines an SDK message for closing order
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta4.LeaseID) | | |
-
-
-
-
-
-
-
-
- ### MsgCloseLeaseResponse
- MsgCloseLeaseResponse defines the Msg/CloseLease response type.
-
-
-
-
-
-
-
-
- ### MsgCreateLease
- MsgCreateLease is sent to create a lease
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta4.BidID) | | |
-
-
-
-
-
-
-
-
- ### MsgCreateLeaseResponse
- MsgCreateLeaseResponse is the response from creating a lease
-
-
-
-
-
-
-
-
- ### MsgWithdrawLease
- MsgWithdrawLease defines an SDK message for closing bid
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_id` | [LeaseID](#akash.market.v1beta4.LeaseID) | | |
-
-
-
-
-
-
-
-
- ### MsgWithdrawLeaseResponse
- MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
-
-
-
-
-
-
-
-
-
-
- ### Lease.State
- State is an enum which refers to state of lease
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | LeaseActive denotes state for lease active |
- | insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds |
- | closed | 3 | LeaseClosed denotes state for lease closed |
+
+
@@ -7585,25 +461,22 @@ for deployment
-
+
Top
- ## akash/market/v1beta4/genesis.proto
+ ## akash/audit/v1/genesis.proto
-
+
### GenesisState
- GenesisState defines the basic genesis state used by market module
+ GenesisState defines the basic genesis state used by audit module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.market.v1beta4.Params) | | |
- | `orders` | [Order](#akash.market.v1beta4.Order) | repeated | |
- | `leases` | [Lease](#akash.market.v1beta4.Lease) | repeated | |
- | `bids` | [Bid](#akash.market.v1beta4.Bid) | repeated | |
+ | `attributes` | [AuditedAttributes](#akash.audit.v1.AuditedAttributes) | repeated | |
@@ -7619,83 +492,68 @@ for deployment
-
+
Top
- ## akash/market/v1beta4/order.proto
+ ## akash/audit/v1/msg.proto
-
+
- ### Order
- Order stores orderID, state of order and other details
+ ### MsgDeleteProviderAttributes
+ MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order_id` | [OrderID](#akash.market.v1beta4.OrderID) | | |
- | `state` | [Order.State](#akash.market.v1beta4.Order.State) | | |
- | `spec` | [akash.deployment.v1beta3.GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
+ | `owner` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
+ | `keys` | [string](#string) | repeated | |
-
+
- ### OrderFilters
- OrderFilters defines flags for order list filter
+ ### MsgDeleteProviderAttributesResponse
+ MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `state` | [string](#string) | | |
-
-
-
+
- ### OrderID
- OrderID stores owner and all other seq numbers
+ ### MsgSignProviderAttributes
+ MsgSignProviderAttributes defines an SDK message for signing a provider attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
+ | `auditor` | [string](#string) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
-
+
- ### Order.State
- State is an enum which refers to state of order
+ ### MsgSignProviderAttributesResponse
+ MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
+
+
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | OrderOpen denotes state for order open |
- | active | 2 | OrderMatched denotes state for order matched |
- | closed | 3 | OrderClosed denotes state for order lost |
+
+
@@ -7704,172 +562,212 @@ for deployment
-
+
Top
- ## akash/market/v1beta4/params.proto
+ ## akash/audit/v1/query.proto
-
+
- ### Params
- Params is the params for the x/market module
+ ### QueryAllProvidersAttributesRequest
+ QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
+
+
-
+ ### QueryAuditorAttributesRequest
+ QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `auditor` | [string](#string) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
-
- Top
- ## akash/market/v1beta3/bid.proto
-
+
- ### Bid
- Bid stores BidID, state of bid and price
+ ### QueryProviderAttributesRequest
+ QueryProviderAttributesRequest is request type for the Query/Provider RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta3.BidID) | | |
- | `state` | [Bid.State](#akash.market.v1beta3.Bid.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
+ | `owner` | [string](#string) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
- ### BidFilters
- BidFilters defines flags for bid list filter
+ ### QueryProviderAuditorRequest
+ QueryProviderAuditorRequest is request type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+ | `auditor` | [string](#string) | | |
| `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
+
- ### BidID
- BidID stores owner and all other seq numbers
-A successful bid becomes a Lease(ID).
+ ### QueryProviderRequest
+ QueryProviderRequest is request type for the Query/Provider RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+ | `auditor` | [string](#string) | | |
| `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
-
+
- ### MsgCloseBid
- MsgCloseBid defines an SDK message for closing bid
+ ### QueryProvidersResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta3.BidID) | | |
+ | `providers` | [Provider](#akash.audit.v1.Provider) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
+
+
+
-
+
- ### MsgCloseBidResponse
- MsgCloseBidResponse defines the Msg/CloseBid response type.
+ ### Query
+ Query defines the gRPC querier service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `AllProvidersAttributes` | [QueryAllProvidersAttributesRequest](#akash.audit.v1.QueryAllProvidersAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1.QueryProvidersResponse) | AllProvidersAttributes queries all providers buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1/audit/attributes/list|
+ | `ProviderAttributes` | [QueryProviderAttributesRequest](#akash.audit.v1.QueryProviderAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1.QueryProvidersResponse) | ProviderAttributes queries all provider signed attributes buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1/audit/attributes/{owner}/list|
+ | `ProviderAuditorAttributes` | [QueryProviderAuditorRequest](#akash.audit.v1.QueryProviderAuditorRequest) | [QueryProvidersResponse](#akash.audit.v1.QueryProvidersResponse) | ProviderAuditorAttributes queries provider signed attributes by specific auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/audit/v1/audit/attributes/{auditor}/{owner}|
+ | `AuditorAttributes` | [QueryAuditorAttributesRequest](#akash.audit.v1.QueryAuditorAttributesRequest) | [QueryProvidersResponse](#akash.audit.v1.QueryProvidersResponse) | AuditorAttributes queries all providers signed by this auditor buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/akash/provider/v1/auditor/{auditor}/list|
+
+
+
+ Top
+ ## akash/audit/v1/service.proto
-
- ### MsgCreateBid
- MsgCreateBid defines an SDK message for creating Bid
+
+
+
+
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [OrderID](#akash.market.v1beta3.OrderID) | | |
- | `provider` | [string](#string) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+
+
+ ### Msg
+ Msg defines the provider Msg service
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `SignProviderAttributes` | [MsgSignProviderAttributes](#akash.audit.v1.MsgSignProviderAttributes) | [MsgSignProviderAttributesResponse](#akash.audit.v1.MsgSignProviderAttributesResponse) | SignProviderAttributes defines a method that signs provider attributes | |
+ | `DeleteProviderAttributes` | [MsgDeleteProviderAttributes](#akash.audit.v1.MsgDeleteProviderAttributes) | [MsgDeleteProviderAttributesResponse](#akash.audit.v1.MsgDeleteProviderAttributesResponse) | DeleteProviderAttributes defines a method that deletes provider attributes | |
+
+
+
+
+ Top
+ ## akash/base/resources/v1beta4/resourcevalue.proto
-
+
- ### MsgCreateBidResponse
- MsgCreateBidResponse defines the Msg/CreateBid response type.
+ ### ResourceValue
+ Unit stores cpu, memory and storage metrics
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `val` | [bytes](#bytes) | | |
+
+
+
+
+
+
+
+
-
+
+
+ Top
- ### Bid.State
- State is an enum which refers to state of bid
+ ## akash/base/resources/v1beta4/cpu.proto
+
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | BidOpen denotes state for bid open |
- | active | 2 | BidMatched denotes state for bid open |
- | lost | 3 | BidLost denotes state for bid lost |
- | closed | 4 | BidClosed denotes state for bid closed |
+
+
+
+ ### CPU
+ CPU stores resource units and cpu config attributes
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `units` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
+
+
+
+
+
@@ -7878,195 +776,219 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta3/query.proto
+ ## akash/base/resources/v1beta4/endpoint.proto
-
+
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
+ ### Endpoint
+ Endpoint describes a publicly accessible IP service
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta3.BidID) | | |
+ | `kind` | [Endpoint.Kind](#akash.base.resources.v1beta4.Endpoint.Kind) | | |
+ | `sequence_number` | [uint32](#uint32) | | |
+
+
-
+
- ### QueryBidResponse
- QueryBidResponse is response type for the Query/Bid RPC method
+ ### Endpoint.Kind
+ This describes how the endpoint is implemented when the lease is deployed
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | SHARED_HTTP | 0 | Describes an endpoint that becomes a Kubernetes Ingress |
+ | RANDOM_PORT | 1 | Describes an endpoint that becomes a Kubernetes NodePort |
+ | LEASED_IP | 2 | Describes an endpoint that becomes a leased IP |
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid` | [Bid](#akash.market.v1beta3.Bid) | | |
- | `escrow_account` | [akash.escrow.v1beta3.Account](#akash.escrow.v1beta3.Account) | | |
+
+
+
+
+
+
+
+
+ Top
+ ## akash/base/resources/v1beta4/gpu.proto
-
+
- ### QueryBidsRequest
- QueryBidsRequest is request type for the Query/Bids RPC method
+ ### GPU
+ GPU stores resource units and cpu config attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [BidFilters](#akash.market.v1beta3.BidFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `units` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
+
- ### QueryBidsResponse
- QueryBidsResponse is response type for the Query/Bids RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bids` | [QueryBidResponse](#akash.market.v1beta3.QueryBidResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+ Top
+ ## akash/base/resources/v1beta4/memory.proto
-
+
- ### QueryLeaseRequest
- QueryLeaseRequest is request type for the Query/Lease RPC method
+ ### Memory
+ Memory stores resource quantity and memory attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [LeaseID](#akash.market.v1beta3.LeaseID) | | |
+ | `quantity` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
+
- ### QueryLeaseResponse
- QueryLeaseResponse is response type for the Query/Lease RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease` | [Lease](#akash.market.v1beta3.Lease) | | |
- | `escrow_payment` | [akash.escrow.v1beta3.FractionalPayment](#akash.escrow.v1beta3.FractionalPayment) | | |
+
+ Top
+ ## akash/base/resources/v1beta4/storage.proto
-
+
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
+ ### Storage
+ Storage stores resource quantity and storage attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [LeaseFilters](#akash.market.v1beta3.LeaseFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `name` | [string](#string) | | |
+ | `quantity` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
+
- ### QueryLeasesResponse
- QueryLeasesResponse is response type for the Query/Leases RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `leases` | [QueryLeaseResponse](#akash.market.v1beta3.QueryLeaseResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+ Top
+ ## akash/base/resources/v1beta4/resources.proto
-
+
- ### QueryOrderRequest
- QueryOrderRequest is request type for the Query/Order RPC method
+ ### Resources
+ Resources describes all available resources types for deployment/node etc
+if field is nil resource is not present in the given data-structure
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [OrderID](#akash.market.v1beta3.OrderID) | | |
+ | `id` | [uint32](#uint32) | | |
+ | `cpu` | [CPU](#akash.base.resources.v1beta4.CPU) | | |
+ | `memory` | [Memory](#akash.base.resources.v1beta4.Memory) | | |
+ | `storage` | [Storage](#akash.base.resources.v1beta4.Storage) | repeated | |
+ | `gpu` | [GPU](#akash.base.resources.v1beta4.GPU) | | |
+ | `endpoints` | [Endpoint](#akash.base.resources.v1beta4.Endpoint) | repeated | |
-
-
+
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta3.Order) | | |
+
+ Top
+ ## akash/cert/v1/cert.proto
-
+
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
+ ### Certificate
+ Certificate stores state, certificate and it's public key
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta3.OrderFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `state` | [State](#akash.cert.v1.State) | | |
+ | `cert` | [bytes](#bytes) | | |
+ | `pubkey` | [bytes](#bytes) | | |
-
+
- ### QueryOrdersResponse
- QueryOrdersResponse is response type for the Query/Orders RPC method
+ ### ID
+ ID stores owner and sequence number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta3.Order) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `owner` | [string](#string) | | |
+ | `serial` | [string](#string) | | |
@@ -8074,193 +996,160 @@ A successful bid becomes a Lease(ID).
-
-
-
-
-
-
-
- ### Query
- Query defines the gRPC querier service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Orders` | [QueryOrdersRequest](#akash.market.v1beta3.QueryOrdersRequest) | [QueryOrdersResponse](#akash.market.v1beta3.QueryOrdersResponse) | Orders queries orders with filters | GET|/akash/market/v1beta3/orders/list|
- | `Order` | [QueryOrderRequest](#akash.market.v1beta3.QueryOrderRequest) | [QueryOrderResponse](#akash.market.v1beta3.QueryOrderResponse) | Order queries order details | GET|/akash/market/v1beta3/orders/info|
- | `Bids` | [QueryBidsRequest](#akash.market.v1beta3.QueryBidsRequest) | [QueryBidsResponse](#akash.market.v1beta3.QueryBidsResponse) | Bids queries bids with filters | GET|/akash/market/v1beta3/bids/list|
- | `Bid` | [QueryBidRequest](#akash.market.v1beta3.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta3.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta3/bids/info|
- | `Leases` | [QueryLeasesRequest](#akash.market.v1beta3.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta3.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta3/leases/list|
- | `Lease` | [QueryLeaseRequest](#akash.market.v1beta3.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta3.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta3/leases/info|
-
+
-
-
-
- Top
+ ### State
+ State is an enum which refers to state of deployment
- ## akash/market/v1beta3/service.proto
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | valid | 1 | CertificateValid denotes state for deployment active |
+ | revoked | 2 | CertificateRevoked denotes state for deployment closed |
-
-
-
-
-
- ### Msg
- Msg defines the market Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateBid` | [MsgCreateBid](#akash.market.v1beta3.MsgCreateBid) | [MsgCreateBidResponse](#akash.market.v1beta3.MsgCreateBidResponse) | CreateBid defines a method to create a bid given proper inputs. | |
- | `CloseBid` | [MsgCloseBid](#akash.market.v1beta3.MsgCloseBid) | [MsgCloseBidResponse](#akash.market.v1beta3.MsgCloseBidResponse) | CloseBid defines a method to close a bid given proper inputs. | |
- | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta3.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta3.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | |
- | `CreateLease` | [MsgCreateLease](#akash.market.v1beta3.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta3.MsgCreateLeaseResponse) | CreateLease creates a new lease | |
- | `CloseLease` | [MsgCloseLease](#akash.market.v1beta3.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta3.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | |
-
-
+
Top
- ## akash/market/v1beta3/lease.proto
+ ## akash/cert/v1/filters.proto
-
+
- ### Lease
- Lease stores LeaseID, state of lease and price
+ ### CertificateFilter
+ CertificateFilter defines filters used to filter certificates
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta3.LeaseID) | | |
- | `state` | [Lease.State](#akash.market.v1beta3.Lease.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `closed_on` | [int64](#int64) | | |
+ | `owner` | [string](#string) | | |
+ | `serial` | [string](#string) | | |
+ | `state` | [State](#akash.cert.v1.State) | | |
-
-
+
- ### LeaseFilters
- LeaseFilters defines flags for lease list filter
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
+
+ Top
+ ## akash/cert/v1/genesis.proto
-
+
- ### LeaseID
- LeaseID stores bid details of lease
+ ### GenesisCertificate
+ GenesisCertificate defines certificate entry at genesis
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
+ | `certificate` | [Certificate](#akash.cert.v1.Certificate) | | |
-
+
- ### MsgCloseLease
- MsgCloseLease defines an SDK message for closing order
+ ### GenesisState
+ GenesisState defines the basic genesis state used by cert module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta3.LeaseID) | | |
+ | `certificates` | [GenesisCertificate](#akash.cert.v1.GenesisCertificate) | repeated | |
-
-
+
- ### MsgCloseLeaseResponse
- MsgCloseLeaseResponse defines the Msg/CloseLease response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/cert/v1/msg.proto
-
+
- ### MsgCreateLease
- MsgCreateLease is sent to create a lease
+ ### MsgCreateCertificate
+ MsgCreateCertificate defines an SDK message for creating certificate
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta3.BidID) | | |
+ | `owner` | [string](#string) | | |
+ | `cert` | [bytes](#bytes) | | |
+ | `pubkey` | [bytes](#bytes) | | |
-
+
- ### MsgCreateLeaseResponse
- MsgCreateLeaseResponse is the response from creating a lease
+ ### MsgCreateCertificateResponse
+ MsgCreateCertificateResponse defines the Msg/CreateCertificate response type.
-
+
- ### MsgWithdrawLease
- MsgWithdrawLease defines an SDK message for closing bid
+ ### MsgRevokeCertificate
+ MsgRevokeCertificate defines an SDK message for revoking certificate
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [LeaseID](#akash.market.v1beta3.LeaseID) | | |
+ | `id` | [ID](#akash.cert.v1.ID) | | |
-
+
- ### MsgWithdrawLeaseResponse
- MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
+ ### MsgRevokeCertificateResponse
+ MsgRevokeCertificateResponse defines the Msg/RevokeCertificate response type.
@@ -8268,20 +1157,6 @@ A successful bid becomes a Lease(ID).
-
-
-
- ### Lease.State
- State is an enum which refers to state of lease
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | LeaseActive denotes state for lease active |
- | insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds |
- | closed | 3 | LeaseClosed denotes state for lease closed |
-
-
@@ -8290,142 +1165,124 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta3/genesis.proto
+ ## akash/cert/v1/query.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by market module
+ ### CertificateResponse
+ CertificateResponse contains a single X509 certificate and its serial number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.market.v1beta3.Params) | | |
- | `orders` | [Order](#akash.market.v1beta3.Order) | repeated | |
- | `leases` | [Lease](#akash.market.v1beta3.Lease) | repeated | |
- | `bids` | [Bid](#akash.market.v1beta3.Bid) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
+ | `certificate` | [Certificate](#akash.cert.v1.Certificate) | | |
+ | `serial` | [string](#string) | | |
-
- Top
- ## akash/market/v1beta3/order.proto
-
+
- ### Order
- Order stores orderID, state of order and other details
+ ### QueryCertificatesRequest
+ QueryDeploymentsRequest is request type for the Query/Deployments RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order_id` | [OrderID](#akash.market.v1beta3.OrderID) | | |
- | `state` | [Order.State](#akash.market.v1beta3.Order.State) | | |
- | `spec` | [akash.deployment.v1beta3.GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
+ | `filter` | [CertificateFilter](#akash.cert.v1.CertificateFilter) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
- ### OrderFilters
- OrderFilters defines flags for order list filter
+ ### QueryCertificatesResponse
+ QueryCertificatesResponse is response type for the Query/Certificates RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `state` | [string](#string) | | |
+ | `certificates` | [CertificateResponse](#akash.cert.v1.CertificateResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
+
+
+
-
+
- ### OrderID
- OrderID stores owner and all other seq numbers
+ ### Query
+ Query defines the gRPC querier service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Certificates` | [QueryCertificatesRequest](#akash.cert.v1.QueryCertificatesRequest) | [QueryCertificatesResponse](#akash.cert.v1.QueryCertificatesResponse) | Certificates queries certificates | GET|/akash/cert/1/certificates/list|
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
+
+
+
+ Top
+ ## akash/cert/v1/service.proto
-
-
+
- ### Order.State
- State is an enum which refers to state of order
+
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | OrderOpen denotes state for order open |
- | active | 2 | OrderMatched denotes state for order matched |
- | closed | 3 | OrderClosed denotes state for order lost |
+
-
-
-
+ ### Msg
+ Msg defines the provider Msg service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `CreateCertificate` | [MsgCreateCertificate](#akash.cert.v1.MsgCreateCertificate) | [MsgCreateCertificateResponse](#akash.cert.v1.MsgCreateCertificateResponse) | CreateCertificate defines a method to create new certificate given proper inputs. | |
+ | `RevokeCertificate` | [MsgRevokeCertificate](#akash.cert.v1.MsgRevokeCertificate) | [MsgRevokeCertificateResponse](#akash.cert.v1.MsgRevokeCertificateResponse) | RevokeCertificate defines a method to revoke the certificate | |
+
-
+
Top
- ## akash/market/v1beta3/params.proto
+ ## akash/deployment/v1/authz.proto
-
+
- ### Params
- Params is the params for the x/market module
+ ### DepositAuthorization
+ DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
+the granter's account for a deployment.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
+ | `spend_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | SpendLimit is the amount the grantee is authorized to spend from the granter's account for the purpose of deployment. |
@@ -8441,24 +1298,24 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/bid.proto
+ ## akash/deployment/v1/deployment.proto
-
+
- ### Bid
- Bid stores BidID, state of bid and price
+ ### Deployment
+ Deployment stores deploymentID, state and version details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta2.BidID) | | |
- | `state` | [Bid.State](#akash.market.v1beta2.Bid.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `state` | [DeploymentState](#akash.deployment.v1.DeploymentState) | | |
+ | `hash` | [bytes](#bytes) | | |
| `created_at` | [int64](#int64) | | |
@@ -8466,31 +1323,55 @@ A successful bid becomes a Lease(ID).
-
+
- ### BidFilters
- BidFilters defines flags for bid list filter
+ ### DeploymentID
+ DeploymentID stores owner and sequence number
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+
+
+
+
+
+
+
+
+
+
+ ### DeploymentState
+ DeploymentState is an enum which refers to state of deployment
+
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | active | 1 | DeploymentActive denotes state for deployment active |
+ | closed | 2 | DeploymentClosed denotes state for deployment closed |
+
+
+
+
+
+
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
-
+
+ Top
+ ## akash/deployment/v1/group.proto
-
+
- ### BidID
- BidID stores owner and all other seq numbers
-A successful bid becomes a Lease(ID).
+ ### GroupID
+ GroupID stores owner, deployment sequence number and group sequence number
| Field | Type | Label | Description |
@@ -8498,83 +1379,46 @@ A successful bid becomes a Lease(ID).
| `owner` | [string](#string) | | |
| `dseq` | [uint64](#uint64) | | |
| `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
-
-
+
- ### MsgCloseBid
- MsgCloseBid defines an SDK message for closing bid
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta2.BidID) | | |
-
-
+
-
+
-
-
- ### MsgCloseBidResponse
- MsgCloseBidResponse defines the Msg/CloseBid response type.
-
+
+ Top
+ ## akash/deployment/v1beta4/resourceunit.proto
-
+
- ### MsgCreateBid
- MsgCreateBid defines an SDK message for creating Bid
+ ### ResourceUnit
+ ResourceUnit extends Resources and adds Count along with the Price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order` | [OrderID](#akash.market.v1beta2.OrderID) | | |
- | `provider` | [string](#string) | | |
+ | `resource` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
+ | `count` | [uint32](#uint32) | | |
| `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
-
-
-
-
-
-
-
- ### MsgCreateBidResponse
- MsgCreateBidResponse defines the Msg/CreateBid response type.
-
-
-
-
- ### Bid.State
- State is an enum which refers to state of bid
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | BidOpen denotes state for bid open |
- | active | 2 | BidMatched denotes state for bid open |
- | lost | 3 | BidLost denotes state for bid lost |
- | closed | 4 | BidClosed denotes state for bid closed |
-
-
@@ -8583,195 +1427,196 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/query.proto
+ ## akash/deployment/v1beta4/groupspec.proto
-
+
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
+ ### GroupSpec
+ Spec stores group specifications
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta2.BidID) | | |
+ | `name` | [string](#string) | | |
+ | `requirements` | [akash.base.attributes.v1.PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements) | | |
+ | `resources` | [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) | repeated | |
-
-
+
- ### QueryBidResponse
- QueryBidResponse is response type for the Query/Bid RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid` | [Bid](#akash.market.v1beta2.Bid) | | |
- | `escrow_account` | [akash.escrow.v1beta2.Account](#akash.escrow.v1beta2.Account) | | |
+
+ Top
+ ## akash/deployment/v1/msg.proto
-
+
- ### QueryBidsRequest
- QueryBidsRequest is request type for the Query/Bids RPC method
+ ### MsgDepositDeployment
+ MsgDepositDeployment deposits more funds into the deposit account
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [BidFilters](#akash.market.v1beta2.BidFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+ | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
+
- ### QueryBidsResponse
- QueryBidsResponse is response type for the Query/Bids RPC method
+ ### MsgDepositDeploymentResponse
+ MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bids` | [QueryBidResponse](#akash.market.v1beta2.QueryBidResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
+
- ### QueryLeaseRequest
- QueryLeaseRequest is request type for the Query/Lease RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
+
+ Top
+ ## akash/deployment/v1beta4/deploymentmsg.proto
-
+
- ### QueryLeaseResponse
- QueryLeaseResponse is response type for the Query/Lease RPC method
+ ### MsgCloseDeployment
+ MsgCloseDeployment defines an SDK message for closing deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease` | [Lease](#akash.market.v1beta2.Lease) | | |
- | `escrow_payment` | [akash.escrow.v1beta2.FractionalPayment](#akash.escrow.v1beta2.FractionalPayment) | | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
-
+
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
+ ### MsgCloseDeploymentResponse
+ MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [LeaseFilters](#akash.market.v1beta2.LeaseFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
+
- ### QueryLeasesResponse
- QueryLeasesResponse is response type for the Query/Leases RPC method
+ ### MsgCreateDeployment
+ MsgCreateDeployment defines an SDK message for creating deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `leases` | [QueryLeaseResponse](#akash.market.v1beta2.QueryLeaseResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `groups` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | repeated | |
+ | `hash` | [bytes](#bytes) | | |
+ | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+ | `depositor` | [string](#string) | | Depositor pays for the deposit |
-
+
- ### QueryOrderRequest
- QueryOrderRequest is request type for the Query/Order RPC method
+ ### MsgCreateDeploymentResponse
+ MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [OrderID](#akash.market.v1beta2.OrderID) | | |
-
-
-
+
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
+ ### MsgUpdateDeployment
+ MsgUpdateDeployment defines an SDK message for updating deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta2.Order) | | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `hash` | [bytes](#bytes) | | |
-
+
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
+ ### MsgUpdateDeploymentResponse
+ MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta2.OrderFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
+
+
+
+
+
+
+
+
+
+
+
+ Top
+ ## akash/deployment/v1beta4/filters.proto
-
+
- ### QueryOrdersResponse
- QueryOrdersResponse is response type for the Query/Orders RPC method
+ ### DeploymentFilters
+ DeploymentFilters defines filters used to filter deployments
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta2.Order) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `state` | [akash.deployment.v1.DeploymentState](#akash.deployment.v1.DeploymentState) | | |
@@ -8783,238 +1628,216 @@ A successful bid becomes a Lease(ID).
+
+
+
-
+
+ Top
- ### Query
- Query defines the gRPC querier service
+ ## akash/deployment/v1beta4/group.proto
+
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Orders` | [QueryOrdersRequest](#akash.market.v1beta2.QueryOrdersRequest) | [QueryOrdersResponse](#akash.market.v1beta2.QueryOrdersResponse) | Orders queries orders with filters | GET|/akash/market/v1beta2/orders/list|
- | `Order` | [QueryOrderRequest](#akash.market.v1beta2.QueryOrderRequest) | [QueryOrderResponse](#akash.market.v1beta2.QueryOrderResponse) | Order queries order details | GET|/akash/market/v1beta2/orders/info|
- | `Bids` | [QueryBidsRequest](#akash.market.v1beta2.QueryBidsRequest) | [QueryBidsResponse](#akash.market.v1beta2.QueryBidsResponse) | Bids queries bids with filters | GET|/akash/market/v1beta2/bids/list|
- | `Bid` | [QueryBidRequest](#akash.market.v1beta2.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta2.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta2/bids/info|
- | `Leases` | [QueryLeasesRequest](#akash.market.v1beta2.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta2.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta2/leases/list|
- | `Lease` | [QueryLeaseRequest](#akash.market.v1beta2.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta2.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta2/leases/info|
-
+
+
+ ### Group
+ Group stores group id, state and specifications of group
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
+ | `state` | [GroupState](#akash.deployment.v1beta4.GroupState) | | |
+ | `group_spec` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
+ | `created_at` | [int64](#int64) | | |
+
-
- Top
- ## akash/market/v1beta2/service.proto
-
+
+
-
+ ### GroupState
+ GroupState is an enum which refers to state of group
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | open | 1 | GroupOpen denotes state for group open |
+ | paused | 2 | GroupOrdered denotes state for group ordered |
+ | insufficient_funds | 3 | GroupInsufficientFunds denotes state for group insufficient_funds |
+ | closed | 4 | GroupClosed denotes state for group closed |
-
- ### Msg
- Msg defines the market Msg service
+
+
+
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateBid` | [MsgCreateBid](#akash.market.v1beta2.MsgCreateBid) | [MsgCreateBidResponse](#akash.market.v1beta2.MsgCreateBidResponse) | CreateBid defines a method to create a bid given proper inputs. | |
- | `CloseBid` | [MsgCloseBid](#akash.market.v1beta2.MsgCloseBid) | [MsgCloseBidResponse](#akash.market.v1beta2.MsgCloseBidResponse) | CloseBid defines a method to close a bid given proper inputs. | |
- | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta2.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta2.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | |
- | `CreateLease` | [MsgCreateLease](#akash.market.v1beta2.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta2.MsgCreateLeaseResponse) | CreateLease creates a new lease | |
- | `CloseLease` | [MsgCloseLease](#akash.market.v1beta2.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta2.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | |
-
-
+
Top
- ## akash/market/v1beta2/lease.proto
+ ## akash/deployment/v1beta4/params.proto
-
+
- ### Lease
- Lease stores LeaseID, state of lease and price
+ ### Params
+ Params defines the parameters for the x/deployment package
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
- | `state` | [Lease.State](#akash.market.v1beta2.Lease.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `closed_on` | [int64](#int64) | | |
+ | `min_deposits` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
-
-
+
- ### LeaseFilters
- LeaseFilters defines flags for lease list filter
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
+
+ Top
+ ## akash/deployment/v1beta4/genesis.proto
-
+
- ### LeaseID
- LeaseID stores bid details of lease
+ ### GenesisDeployment
+ GenesisDeployment defines the basic genesis state used by deployment module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
+ | `deployment` | [akash.deployment.v1.Deployment](#akash.deployment.v1.Deployment) | | |
+ | `groups` | [Group](#akash.deployment.v1beta4.Group) | repeated | |
-
+
- ### MsgCloseLease
- MsgCloseLease defines an SDK message for closing order
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
+ | `deployments` | [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment) | repeated | |
+ | `params` | [Params](#akash.deployment.v1beta4.Params) | | |
-
-
+
- ### MsgCloseLeaseResponse
- MsgCloseLeaseResponse defines the Msg/CloseLease response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/deployment/v1beta4/groupmsg.proto
-
+
- ### MsgCreateLease
- MsgCreateLease is sent to create a lease
+ ### MsgCloseGroup
+ MsgCloseGroup defines SDK message to close a single Group within a Deployment.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta2.BidID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### MsgCreateLeaseResponse
- MsgCreateLeaseResponse is the response from creating a lease
+ ### MsgCloseGroupResponse
+ MsgCloseGroupResponse defines the Msg/CloseGroup response type.
-
+
- ### MsgWithdrawLease
- MsgWithdrawLease defines an SDK message for closing bid
+ ### MsgPauseGroup
+ MsgPauseGroup defines SDK message to close a single Group within a Deployment.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### MsgWithdrawLeaseResponse
- MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
+ ### MsgPauseGroupResponse
+ MsgPauseGroupResponse defines the Msg/PauseGroup response type.
-
-
-
+
- ### Lease.State
- State is an enum which refers to state of lease
+ ### MsgStartGroup
+ MsgStartGroup defines SDK message to close a single Group within a Deployment.
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | LeaseActive denotes state for lease active |
- | insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds |
- | closed | 3 | LeaseClosed denotes state for lease closed |
-
-
-
-
-
-
-
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
- Top
- ## akash/market/v1beta2/genesis.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by market module
+ ### MsgStartGroupResponse
+ MsgStartGroupResponse defines the Msg/StartGroup response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta2.Order) | repeated | |
- | `leases` | [Lease](#akash.market.v1beta2.Lease) | repeated | |
- | `params` | [Params](#akash.market.v1beta2.Params) | | |
-
-
@@ -9028,62 +1851,66 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/order.proto
+ ## akash/escrow/v1/types.proto
-
+
- ### Order
- Order stores orderID, state of order and other details
+ ### Account
+ Account stores state for an escrow account
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order_id` | [OrderID](#akash.market.v1beta2.OrderID) | | |
- | `state` | [Order.State](#akash.market.v1beta2.Order.State) | | |
- | `spec` | [akash.deployment.v1beta2.GroupSpec](#akash.deployment.v1beta2.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
+ | `id` | [AccountID](#akash.escrow.v1.AccountID) | | unique identifier for this escrow account |
+ | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account |
+ | `state` | [AccountState](#akash.escrow.v1.AccountState) | | current state of this escrow account |
+ | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | unspent coins received from the owner's wallet |
+ | `transferred` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total coins spent by this account |
+ | `settled_at` | [int64](#int64) | | block height at which this account was last settled |
+ | `depositor` | [string](#string) | | 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` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | Funds are unspent coins received from the (non-Owner) Depositor's wallet. If there are any funds, they should be spent before spending the Balance. |
-
+
- ### OrderFilters
- OrderFilters defines flags for order list filter
+ ### AccountID
+ AccountID is the account identifier
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `state` | [string](#string) | | |
+ | `scope` | [string](#string) | | |
+ | `xid` | [string](#string) | | |
-
+
- ### OrderID
- OrderID stores owner and all other seq numbers
+ ### FractionalPayment
+ Payment stores state for a payment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+ | `account_id` | [AccountID](#akash.escrow.v1.AccountID) | | |
+ | `payment_id` | [string](#string) | | |
| `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
+ | `state` | [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State) | | |
+ | `rate` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
@@ -9092,17 +1919,31 @@ A successful bid becomes a Lease(ID).
-
+
- ### Order.State
- State is an enum which refers to state of order
+ ### AccountState
+ State stores state for an escrow account
| Name | Number | Description |
| ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | OrderOpen denotes state for order open |
- | active | 2 | OrderMatched denotes state for order matched |
- | closed | 3 | OrderClosed denotes state for order lost |
+ | invalid | 0 | AccountStateInvalid is an invalid state |
+ | open | 1 | AccountOpen is the state when an account is open |
+ | closed | 2 | AccountClosed is the state when an account is closed |
+ | overdrawn | 3 | AccountOverdrawn is the state when an account is overdrawn |
+
+
+
+
+
+ ### FractionalPayment.State
+ Payment State
+
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid |
+ | open | 1 | PaymentStateOpen is the state when the payment is open |
+ | closed | 2 | PaymentStateClosed is the state when the payment is closed |
+ | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn |
@@ -9113,169 +1954,239 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/params.proto
+ ## akash/deployment/v1beta4/query.proto
-
+
- ### Params
- Params is the params for the x/market module
+ ### QueryDeploymentRequest
+ QueryDeploymentRequest is request type for the Query/Deployment RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
-
+
+
-
+ ### QueryDeploymentResponse
+ QueryDeploymentResponse is response type for the Query/Deployment RPC method
-
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `deployment` | [akash.deployment.v1.Deployment](#akash.deployment.v1.Deployment) | | |
+ | `groups` | [Group](#akash.deployment.v1beta4.Group) | repeated | |
+ | `escrow_account` | [akash.escrow.v1.Account](#akash.escrow.v1.Account) | | |
+
+
-
+
+
+
+ ### QueryDeploymentsRequest
+ QueryDeploymentsRequest is request type for the Query/Deployments RPC method
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `filters` | [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
-
- Top
- ## akash/market/v1beta5/bid.proto
-
+
- ### Bid
- Bid stores BidID, state of bid and price
+ ### QueryDeploymentsResponse
+ QueryDeploymentsResponse is response type for the Query/Deployments RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta5.BidID) | | |
- | `state` | [Bid.State](#akash.market.v1beta5.Bid.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `resources_offer` | [ResourceOffer](#akash.market.v1beta5.ResourceOffer) | repeated | |
+ | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
+
- ### BidFilters
- BidFilters defines flags for bid list filter
+ ### QueryGroupRequest
+ QueryGroupRequest is request type for the Query/Group RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### BidID
- BidID stores owner and all other seq numbers
-A successful bid becomes a Lease(ID).
+ ### QueryGroupResponse
+ QueryGroupResponse is response type for the Query/Group RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
+ | `group` | [Group](#akash.deployment.v1beta4.Group) | | |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ### Query
+ Query defines the gRPC querier service
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta4.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1/deployments/list|
+ | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1/deployments/info|
+ | `Group` | [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1/groups/info|
+
+
+
+
+
+
+ Top
+
+ ## akash/deployment/v1beta4/service.proto
+
+
+
+
+
+
+
+
+
+
+
+ ### Msg
+ Msg defines the deployment Msg service.
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `CreateDeployment` | [MsgCreateDeployment](#akash.deployment.v1beta4.MsgCreateDeployment) | [MsgCreateDeploymentResponse](#akash.deployment.v1beta4.MsgCreateDeploymentResponse) | CreateDeployment defines a method to create new deployment given proper inputs. | |
+ | `DepositDeployment` | [.akash.deployment.v1.MsgDepositDeployment](#akash.deployment.v1.MsgDepositDeployment) | [.akash.deployment.v1.MsgDepositDeploymentResponse](#akash.deployment.v1.MsgDepositDeploymentResponse) | DepositDeployment deposits more funds into the deployment account | |
+ | `UpdateDeployment` | [MsgUpdateDeployment](#akash.deployment.v1beta4.MsgUpdateDeployment) | [MsgUpdateDeploymentResponse](#akash.deployment.v1beta4.MsgUpdateDeploymentResponse) | UpdateDeployment defines a method to update a deployment given proper inputs. | |
+ | `CloseDeployment` | [MsgCloseDeployment](#akash.deployment.v1beta4.MsgCloseDeployment) | [MsgCloseDeploymentResponse](#akash.deployment.v1beta4.MsgCloseDeploymentResponse) | CloseDeployment defines a method to close a deployment given proper inputs. | |
+ | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta4.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta4.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | |
+ | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta4.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta4.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | |
+ | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | |
+
+
+
+
+ Top
+ ## akash/discovery/v1/client_info.proto
-
+
- ### MsgCloseBid
- MsgCloseBid defines an SDK message for closing bid
+ ### ClientInfo
+ ClientInfo akash specific client info
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta5.BidID) | | |
+ | `api_version` | [string](#string) | | |
-
-
+
- ### MsgCloseBidResponse
- MsgCloseBidResponse defines the Msg/CloseBid response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/discovery/v1/akash.proto
-
+
- ### MsgCreateBid
- MsgCreateBid defines an SDK message for creating Bid
+ ### Akash
+ Akash akash specific RPC parameters
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order` | [OrderID](#akash.market.v1beta5.OrderID) | | |
- | `provider` | [string](#string) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `resources_offer` | [ResourceOffer](#akash.market.v1beta5.ResourceOffer) | repeated | |
+ | `client_info` | [ClientInfo](#akash.discovery.v1.ClientInfo) | | |
-
-
+
- ### MsgCreateBidResponse
- MsgCreateBidResponse defines the Msg/CreateBid response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/escrow/v1/genesis.proto
-
+
- ### ResourceOffer
- ResourceOffer describes resources that provider is offering
-for deployment
+ ### GenesisState
+ GenesisState defines the basic genesis state used by escrow module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `resources` | [akash.base.resources.v1.Resources](#akash.base.resources.v1.Resources) | | |
- | `count` | [uint32](#uint32) | | |
+ | `accounts` | [Account](#akash.escrow.v1.Account) | repeated | |
+ | `payments` | [FractionalPayment](#akash.escrow.v1.FractionalPayment) | repeated | |
@@ -9283,21 +2194,6 @@ for deployment
-
-
-
- ### Bid.State
- State is an enum which refers to state of bid
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | BidOpen denotes state for bid open |
- | active | 2 | BidMatched denotes state for bid open |
- | lost | 3 | BidLost denotes state for bid lost |
- | closed | 4 | BidClosed denotes state for bid closed |
-
-
@@ -9306,53 +2202,61 @@ for deployment
-
+
Top
- ## akash/market/v1beta5/query.proto
+ ## akash/escrow/v1/query.proto
-
+
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
+ ### QueryAccountsRequest
+ QueryAccountRequest is request type for the Query/Account RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta5.BidID) | | |
+ | `scope` | [string](#string) | | |
+ | `xid` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
+ | `state` | [string](#string) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
- ### QueryBidResponse
- QueryBidResponse is response type for the Query/Bid RPC method
+ ### QueryAccountsResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid` | [Bid](#akash.market.v1beta5.Bid) | | |
- | `escrow_account` | [akash.escrow.v1beta3.Account](#akash.escrow.v1beta3.Account) | | |
+ | `accounts` | [Account](#akash.escrow.v1.Account) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
+
- ### QueryBidsRequest
- QueryBidsRequest is request type for the Query/Bids RPC method
+ ### QueryPaymentsRequest
+ QueryPaymentRequest is request type for the Query/Payment RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [BidFilters](#akash.market.v1beta5.BidFilters) | | |
+ | `scope` | [string](#string) | | |
+ | `xid` | [string](#string) | | |
+ | `id` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
+ | `state` | [string](#string) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
@@ -9360,141 +2264,153 @@ for deployment
-
+
- ### QueryBidsResponse
- QueryBidsResponse is response type for the Query/Bids RPC method
+ ### QueryPaymentsResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bids` | [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) | repeated | |
+ | `payments` | [FractionalPayment](#akash.escrow.v1.FractionalPayment) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
+
+
+
-
+
- ### QueryLeaseRequest
- QueryLeaseRequest is request type for the Query/Lease RPC method
+ ### Query
+ Query defines the gRPC querier service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Accounts` | [QueryAccountsRequest](#akash.escrow.v1.QueryAccountsRequest) | [QueryAccountsResponse](#akash.escrow.v1.QueryAccountsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Accounts queries all accounts | GET|/akash/escrow/v1/types/accounts/list|
+ | `Payments` | [QueryPaymentsRequest](#akash.escrow.v1.QueryPaymentsRequest) | [QueryPaymentsResponse](#akash.escrow.v1.QueryPaymentsResponse) | buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME Payments queries all payments | GET|/akash/escrow/v1/types/payments/list|
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [LeaseID](#akash.market.v1beta5.LeaseID) | | |
+
+
+
+ Top
+ ## akash/gov/v1beta3/params.proto
-
+
- ### QueryLeaseResponse
- QueryLeaseResponse is response type for the Query/Lease RPC method
+ ### DepositParams
+ DepositParams defines the parameters for the x/gov module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease` | [Lease](#akash.market.v1beta5.Lease) | | |
- | `escrow_payment` | [akash.escrow.v1beta3.FractionalPayment](#akash.escrow.v1beta3.FractionalPayment) | | |
+ | `min_initial_deposit_rate` | [bytes](#bytes) | | min_initial_deposit_rate minimum % of TotalDeposit author of the proposal must put in order for proposal tx to be committed |
-
-
+
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [LeaseFilters](#akash.market.v1beta5.LeaseFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
+ Top
+ ## akash/gov/v1beta3/genesis.proto
-
+
- ### QueryLeasesResponse
- QueryLeasesResponse is response type for the Query/Leases RPC method
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `leases` | [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `deposit_params` | [DepositParams](#akash.gov.v1beta3.DepositParams) | | |
-
-
+
- ### QueryOrderRequest
- QueryOrderRequest is request type for the Query/Order RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [OrderID](#akash.market.v1beta5.OrderID) | | |
+
+ Top
+ ## akash/inflation/v1beta2/params.proto
-
+
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
+ ### Params
+ Params defines the parameters for the x/deployment package
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta5.Order) | | |
+ | `inflation_decay_factor` | [string](#string) | | InflationDecayFactor is the number of years it takes inflation to halve. |
+ | `initial_inflation` | [string](#string) | | InitialInflation is the rate at which inflation starts at genesis. It is a decimal value in the range [0.0, 100.0]. |
+ | `variance` | [string](#string) | | Variance defines the fraction by which inflation can vary from ideal inflation in a block. It is a decimal value in the range [0.0, 1.0]. |
-
-
+
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta5.OrderFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
+ Top
+ ## akash/inflation/v1beta2/genesis.proto
-
+
- ### QueryOrdersResponse
- QueryOrdersResponse is response type for the Query/Orders RPC method
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta5.Order) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `params` | [Params](#akash.inflation.v1beta2.Params) | | |
@@ -9506,29 +2422,31 @@ for deployment
+
+
-
+
+
+ Top
- ### Query
- Query defines the gRPC querier service
+ ## akash/inflation/v1beta3/params.proto
+
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `Orders` | [QueryOrdersRequest](#akash.market.v1beta5.QueryOrdersRequest) | [QueryOrdersResponse](#akash.market.v1beta5.QueryOrdersResponse) | Orders queries orders with filters | GET|/akash/market/v1beta5/orders/list|
- | `Order` | [QueryOrderRequest](#akash.market.v1beta5.QueryOrderRequest) | [QueryOrderResponse](#akash.market.v1beta5.QueryOrderResponse) | Order queries order details | GET|/akash/market/v1beta5/orders/info|
- | `Bids` | [QueryBidsRequest](#akash.market.v1beta5.QueryBidsRequest) | [QueryBidsResponse](#akash.market.v1beta5.QueryBidsResponse) | Bids queries bids with filters | GET|/akash/market/v1beta5/bids/list|
- | `Bid` | [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta5/bids/info|
- | `Leases` | [QueryLeasesRequest](#akash.market.v1beta5.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta5.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta5/leases/list|
- | `Lease` | [QueryLeaseRequest](#akash.market.v1beta5.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta5/leases/info|
-
+
+
+ ### Params
+ Params defines the parameters for the x/deployment package
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `inflation_decay_factor` | [string](#string) | | InflationDecayFactor is the number of years it takes inflation to halve. |
+ | `initial_inflation` | [string](#string) | | InitialInflation is the rate at which inflation starts at genesis. It is a decimal value in the range [0.0, 100.0]. |
+ | `variance` | [string](#string) | | Variance defines the fraction by which inflation can vary from ideal inflation in a block. It is a decimal value in the range [0.0, 1.0]. |
+
-
- Top
- ## akash/market/v1beta5/service.proto
@@ -9537,74 +2455,53 @@ for deployment
-
-
-
- ### Msg
- Msg defines the market Msg service
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `CreateBid` | [MsgCreateBid](#akash.market.v1beta5.MsgCreateBid) | [MsgCreateBidResponse](#akash.market.v1beta5.MsgCreateBidResponse) | CreateBid defines a method to create a bid given proper inputs. | |
- | `CloseBid` | [MsgCloseBid](#akash.market.v1beta5.MsgCloseBid) | [MsgCloseBidResponse](#akash.market.v1beta5.MsgCloseBidResponse) | CloseBid defines a method to close a bid given proper inputs. | |
- | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | |
- | `CreateLease` | [MsgCreateLease](#akash.market.v1beta5.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta5.MsgCreateLeaseResponse) | CreateLease creates a new lease | |
- | `CloseLease` | [MsgCloseLease](#akash.market.v1beta5.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta5.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | |
-
-
+
Top
- ## akash/market/v1beta5/lease.proto
+ ## akash/inflation/v1beta3/genesis.proto
-
+
- ### Lease
- Lease stores LeaseID, state of lease and price
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta5.LeaseID) | | |
- | `state` | [Lease.State](#akash.market.v1beta5.Lease.State) | | |
- | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
- | `created_at` | [int64](#int64) | | |
- | `closed_on` | [int64](#int64) | | |
+ | ----- | ---- | ----- | ----------- |
+ | `params` | [Params](#akash.inflation.v1beta3.Params) | | |
-
-
+
- ### LeaseFilters
- LeaseFilters defines flags for lease list filter
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `provider` | [string](#string) | | |
- | `state` | [string](#string) | | |
+
+ Top
+ ## akash/market/v1/bid.proto
-
+
- ### LeaseID
- LeaseID stores bid details of lease
+ ### BidID
+ BidID stores owner and all other seq numbers
+A successful bid becomes a Lease(ID).
| Field | Type | Label | Description |
@@ -9619,77 +2516,71 @@ for deployment
+
+
-
+
- ### MsgCloseLease
- MsgCloseLease defines an SDK message for closing order
+ ### BidState
+ BidState is an enum which refers to state of bid
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta5.LeaseID) | | |
-
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | bid_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | bid_open | 1 | BidOpen denotes state for bid open |
+ | bid_active | 2 | BidMatched denotes state for bid open |
+ | bid_lost | 3 | BidLost denotes state for bid lost |
+ | bid_closed | 4 | BidClosed denotes state for bid closed |
-
+
-
-
+
- ### MsgCloseLeaseResponse
- MsgCloseLeaseResponse defines the Msg/CloseLease response type.
+
+
+
+ Top
+ ## akash/market/v1/lease.proto
-
+
- ### MsgCreateLease
- MsgCreateLease is sent to create a lease
+ ### Lease
+ Lease stores LeaseID, state of lease and price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta5.BidID) | | |
-
-
-
-
-
+ | `id` | [LeaseID](#akash.market.v1.LeaseID) | | |
+ | `state` | [LeaseState](#akash.market.v1.LeaseState) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `created_at` | [int64](#int64) | | |
+ | `closed_on` | [int64](#int64) | | |
-
-
- ### MsgCreateLeaseResponse
- MsgCreateLeaseResponse is the response from creating a lease
-
-
+
- ### MsgWithdrawLease
- MsgWithdrawLease defines an SDK message for closing bid
+ ### LeaseID
+ LeaseID stores bid details of lease
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [LeaseID](#akash.market.v1beta5.LeaseID) | | |
-
-
-
-
-
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
+ | `provider` | [string](#string) | | |
-
-
- ### MsgWithdrawLeaseResponse
- MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
-
@@ -9697,17 +2588,17 @@ for deployment
-
+
- ### Lease.State
+ ### LeaseState
State is an enum which refers to state of lease
| Name | Number | Description |
| ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | active | 1 | LeaseActive denotes state for lease active |
- | insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds |
- | closed | 3 | LeaseClosed denotes state for lease closed |
+ | lease_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | lease_active | 1 | LeaseActive denotes state for lease active |
+ | lease_insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds |
+ | lease_closed | 3 | LeaseClosed denotes state for lease closed |
@@ -9718,25 +2609,25 @@ for deployment
-
+
Top
- ## akash/market/v1beta5/genesis.proto
+ ## akash/market/v1/order.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by market module
+ ### OrderID
+ OrderID stores owner and all other seq numbers
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.market.v1beta5.Params) | | |
- | `orders` | [Order](#akash.market.v1beta5.Order) | repeated | |
- | `leases` | [Lease](#akash.market.v1beta5.Lease) | repeated | |
- | `bids` | [Bid](#akash.market.v1beta5.Bid) | repeated | |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
@@ -9744,6 +2635,20 @@ for deployment
+
+
+
+ ### OrderState
+ OrderState is an enum which refers to state of order
+
+ | Name | Number | Description |
+ | ---- | ------ | ----------- |
+ | order_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
+ | order_open | 1 | OrderOpen denotes state for order open |
+ | order_active | 2 | OrderMatched denotes state for order matched |
+ | order_closed | 3 | OrderClosed denotes state for order lost |
+
+
@@ -9752,35 +2657,37 @@ for deployment
-
+
Top
- ## akash/market/v1beta5/order.proto
+ ## akash/market/v1/filters.proto
-
+
- ### Order
- Order stores orderID, state of order and other details
+ ### BidFilters
+ BidFilters defines flags for bid list filter
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `order_id` | [OrderID](#akash.market.v1beta5.OrderID) | | |
- | `state` | [Order.State](#akash.market.v1beta5.Order.State) | | |
- | `spec` | [akash.deployment.v1beta4.GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
- | `created_at` | [int64](#int64) | | |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
+ | `provider` | [string](#string) | | |
+ | `state` | [BidState](#akash.market.v1.BidState) | | |
-
+
- ### OrderFilters
- OrderFilters defines flags for order list filter
+ ### LeaseFilters
+ LeaseFilters defines flags for lease list filter
| Field | Type | Label | Description |
@@ -9789,17 +2696,18 @@ for deployment
| `dseq` | [uint64](#uint64) | | |
| `gseq` | [uint32](#uint32) | | |
| `oseq` | [uint32](#uint32) | | |
- | `state` | [string](#string) | | |
+ | `provider` | [string](#string) | | |
+ | `state` | [LeaseState](#akash.market.v1.LeaseState) | | |
-
+
- ### OrderID
- OrderID stores owner and all other seq numbers
+ ### OrderFilters
+ OrderFilters defines flags for order list filter
| Field | Type | Label | Description |
@@ -9808,6 +2716,7 @@ for deployment
| `dseq` | [uint64](#uint64) | | |
| `gseq` | [uint32](#uint32) | | |
| `oseq` | [uint32](#uint32) | | |
+ | `state` | [OrderState](#akash.market.v1.OrderState) | | |
@@ -9815,20 +2724,39 @@ for deployment
+
+
+
+
+
+
+
-
+
+ Top
- ### Order.State
- State is an enum which refers to state of order
+ ## akash/market/v1beta5/resourcesoffer.proto
+
+
+
+
+
+ ### ResourceOffer
+ ResourceOffer describes resources that provider is offering
+for deployment
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `resources` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
+ | `count` | [uint32](#uint32) | | |
+
+
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state |
- | open | 1 | OrderOpen denotes state for order open |
- | active | 2 | OrderMatched denotes state for order matched |
- | closed | 3 | OrderClosed denotes state for order lost |
+
+
@@ -9837,23 +2765,26 @@ for deployment
-
+
Top
- ## akash/market/v1beta5/params.proto
+ ## akash/market/v1beta5/bid.proto
-
+
- ### Params
- Params is the params for the x/market module
+ ### Bid
+ Bid stores BidID, state of bid and price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
+ | `id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
+ | `state` | [akash.market.v1.BidState](#akash.market.v1.BidState) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `created_at` | [int64](#int64) | | |
+ | `resources_offer` | [ResourceOffer](#akash.market.v1beta5.ResourceOffer) | repeated | |
@@ -9869,23 +2800,62 @@ for deployment
-
+
Top
- ## akash/inflation/v1beta3/genesis.proto
+ ## akash/market/v1beta5/bidmsg.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### MsgCloseBid
+ MsgCloseBid defines an SDK message for closing bid
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.inflation.v1beta3.Params) | | |
+ | `id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
+
+
+
+
+
+
+
+
+ ### MsgCloseBidResponse
+ MsgCloseBidResponse defines the Msg/CloseBid response type.
+
+
+
+
+
+
+
+
+ ### MsgCreateBid
+ MsgCreateBid defines an SDK message for creating Bid
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `order_id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | |
+ | `provider` | [string](#string) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+ | `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+ | `resources_offer` | [ResourceOffer](#akash.market.v1beta5.ResourceOffer) | repeated | |
+
+
+
+
+
+
+
+ ### MsgCreateBidResponse
+ MsgCreateBidResponse defines the Msg/CreateBid response type.
+
@@ -9900,24 +2870,23 @@ for deployment
-
+
Top
- ## akash/inflation/v1beta3/params.proto
+ ## akash/market/v1beta5/params.proto
-
+
### Params
- Params defines the parameters for the x/deployment package
+ Params is the params for the x/market module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `inflation_decay_factor` | [string](#string) | | InflationDecayFactor is the number of years it takes inflation to halve. |
- | `initial_inflation` | [string](#string) | | InitialInflation is the rate at which inflation starts at genesis. It is a decimal value in the range [0.0, 100.0]. |
- | `variance` | [string](#string) | | Variance defines the fraction by which inflation can vary from ideal inflation in a block. It is a decimal value in the range [0.0, 1.0]. |
+ | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+ | `order_max_bids` | [uint32](#uint32) | | |
@@ -9933,22 +2902,25 @@ for deployment
-
+
Top
- ## akash/inflation/v1beta2/genesis.proto
+ ## akash/market/v1beta5/order.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### Order
+ Order stores orderID, state of order and other details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.inflation.v1beta2.Params) | | |
+ | `id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | |
+ | `state` | [akash.market.v1.OrderState](#akash.market.v1.OrderState) | | |
+ | `spec` | [akash.deployment.v1beta4.GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
+ | `created_at` | [int64](#int64) | | |
@@ -9964,24 +2936,25 @@ for deployment
-
+
Top
- ## akash/inflation/v1beta2/params.proto
+ ## akash/market/v1beta5/genesis.proto
-
-
- ### Params
- Params defines the parameters for the x/deployment package
+
+
+ ### GenesisState
+ GenesisState defines the basic genesis state used by market module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `inflation_decay_factor` | [string](#string) | | InflationDecayFactor is the number of years it takes inflation to halve. |
- | `initial_inflation` | [string](#string) | | InitialInflation is the rate at which inflation starts at genesis. It is a decimal value in the range [0.0, 100.0]. |
- | `variance` | [string](#string) | | Variance defines the fraction by which inflation can vary from ideal inflation in a block. It is a decimal value in the range [0.0, 1.0]. |
+ | `params` | [Params](#akash.market.v1beta5.Params) | | |
+ | `orders` | [Order](#akash.market.v1beta5.Order) | repeated | |
+ | `leases` | [akash.market.v1.Lease](#akash.market.v1.Lease) | repeated | |
+ | `bids` | [Bid](#akash.market.v1beta5.Bid) | repeated | |
@@ -9997,93 +2970,83 @@ for deployment
-
+
Top
- ## akash/base/v1beta3/memory.proto
+ ## akash/market/v1beta5/leasemsg.proto
-
+
- ### Memory
- Memory stores resource quantity and memory attributes
+ ### MsgCloseLease
+ MsgCloseLease defines an SDK message for closing order
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
-
-
-
-
-
+
+
-
+ ### MsgCloseLeaseResponse
+ MsgCloseLeaseResponse defines the Msg/CloseLease response type.
-
-
- Top
- ## akash/base/v1beta3/cpu.proto
-
+
- ### CPU
- CPU stores resource units and cpu config attributes
+ ### MsgCreateLease
+ MsgCreateLease is sent to create a lease
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `bid_id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
-
-
-
-
-
+
+
-
+ ### MsgCreateLeaseResponse
+ MsgCreateLeaseResponse is the response from creating a lease
-
-
- Top
- ## akash/base/v1beta3/resources.proto
-
+
- ### Resources
- Resources describes all available resources types for deployment/node etc
-if field is nil resource is not present in the given data-structure
+ ### MsgWithdrawLease
+ MsgWithdrawLease defines an SDK message for closing bid
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [uint32](#uint32) | | |
- | `cpu` | [CPU](#akash.base.v1beta3.CPU) | | |
- | `memory` | [Memory](#akash.base.v1beta3.Memory) | | |
- | `storage` | [Storage](#akash.base.v1beta3.Storage) | repeated | |
- | `gpu` | [GPU](#akash.base.v1beta3.GPU) | | |
- | `endpoints` | [Endpoint](#akash.base.v1beta3.Endpoint) | repeated | |
+ | `bid_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
+
+
+
+
+
+
+
+ ### MsgWithdrawLeaseResponse
+ MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
+
@@ -10098,199 +3061,195 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/base/v1beta3/attribute.proto
+ ## akash/market/v1beta5/query.proto
-
+
- ### Attribute
- Attribute represents key value pair
+ ### QueryBidRequest
+ QueryBidRequest is request type for the Query/Bid RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [string](#string) | | |
+ | `id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
-
+
- ### PlacementRequirements
- PlacementRequirements
+ ### QueryBidResponse
+ QueryBidResponse is response type for the Query/Bid RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `signed_by` | [SignedBy](#akash.base.v1beta3.SignedBy) | | SignedBy list of keys that tenants expect to have signatures from |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | Attribute list of attributes tenant expects from the provider |
+ | `bid` | [Bid](#akash.market.v1beta5.Bid) | | |
+ | `escrow_account` | [akash.escrow.v1.Account](#akash.escrow.v1.Account) | | |
-
+
- ### SignedBy
- SignedBy represents validation accounts that tenant expects signatures for provider attributes
-AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
-entries there
-this behaviour to be discussed
+ ### QueryBidsRequest
+ QueryBidsRequest is request type for the Query/Bids RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `all_of` | [string](#string) | repeated | all_of all keys in this list must have signed attributes |
- | `any_of` | [string](#string) | repeated | any_of at least of of the keys from the list must have signed attributes |
+ | `filters` | [akash.market.v1.BidFilters](#akash.market.v1.BidFilters) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
+
+
-
+ ### QueryBidsResponse
+ QueryBidsResponse is response type for the Query/Bids RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `bids` | [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
-
- Top
- ## akash/base/v1beta3/endpoint.proto
-
+
- ### Endpoint
- Endpoint describes a publicly accessible IP service
+ ### QueryLeaseRequest
+ QueryLeaseRequest is request type for the Query/Lease RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `kind` | [Endpoint.Kind](#akash.base.v1beta3.Endpoint.Kind) | | |
- | `sequence_number` | [uint32](#uint32) | | |
+ | `id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
-
-
-
+
- ### Endpoint.Kind
- This describes how the endpoint is implemented when the lease is deployed
+ ### QueryLeaseResponse
+ QueryLeaseResponse is response type for the Query/Lease RPC method
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | SHARED_HTTP | 0 | Describes an endpoint that becomes a Kubernetes Ingress |
- | RANDOM_PORT | 1 | Describes an endpoint that becomes a Kubernetes NodePort |
- | LEASED_IP | 2 | Describes an endpoint that becomes a leased IP |
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `lease` | [akash.market.v1.Lease](#akash.market.v1.Lease) | | |
+ | `escrow_payment` | [akash.escrow.v1.FractionalPayment](#akash.escrow.v1.FractionalPayment) | | |
+
-
+
-
+
+
-
+ ### QueryLeasesRequest
+ QueryLeasesRequest is request type for the Query/Leases RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `filters` | [akash.market.v1.LeaseFilters](#akash.market.v1.LeaseFilters) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
-
- Top
- ## akash/base/v1beta3/gpu.proto
-
+
- ### GPU
- GPU stores resource units and cpu config attributes
+ ### QueryLeasesResponse
+ QueryLeasesResponse is response type for the Query/Leases RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `leases` | [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
-
-
-
+
+
-
+ ### QueryOrderRequest
+ QueryOrderRequest is request type for the Query/Order RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | |
+
-
- Top
- ## akash/base/v1beta3/storage.proto
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### QueryOrderResponse
+ QueryOrderResponse is response type for the Query/Order RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `quantity` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `order` | [Order](#akash.market.v1beta5.Order) | | |
-
-
-
-
-
+
+
-
+ ### QueryOrdersRequest
+ QueryOrdersRequest is request type for the Query/Orders RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `filters` | [akash.market.v1.OrderFilters](#akash.market.v1.OrderFilters) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+
-
- Top
- ## akash/base/v1beta3/resourcevalue.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### QueryOrdersResponse
+ QueryOrdersResponse is response type for the Query/Orders RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `orders` | [Order](#akash.market.v1beta5.Order) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
@@ -10302,33 +3261,29 @@ this behaviour to be discussed
-
-
-
-
- Top
+
- ## akash/base/v1beta2/resourceunits.proto
-
+ ### Query
+ Query defines the gRPC querier service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Orders` | [QueryOrdersRequest](#akash.market.v1beta5.QueryOrdersRequest) | [QueryOrdersResponse](#akash.market.v1beta5.QueryOrdersResponse) | Orders queries orders with filters | GET|/akash/market/v1beta5/orders/list|
+ | `Order` | [QueryOrderRequest](#akash.market.v1beta5.QueryOrderRequest) | [QueryOrderResponse](#akash.market.v1beta5.QueryOrderResponse) | Order queries order details | GET|/akash/market/v1beta5/orders/info|
+ | `Bids` | [QueryBidsRequest](#akash.market.v1beta5.QueryBidsRequest) | [QueryBidsResponse](#akash.market.v1beta5.QueryBidsResponse) | Bids queries bids with filters | GET|/akash/market/v1beta5/bids/list|
+ | `Bid` | [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta5/bids/info|
+ | `Leases` | [QueryLeasesRequest](#akash.market.v1beta5.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta5.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta5/leases/list|
+ | `Lease` | [QueryLeaseRequest](#akash.market.v1beta5.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta5/leases/info|
-
-
- ### ResourceUnits
- ResourceUnits describes all available resources types for deployment/node etc
-if field is nil resource is not present in the given data-structure
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `cpu` | [CPU](#akash.base.v1beta2.CPU) | | |
- | `memory` | [Memory](#akash.base.v1beta2.Memory) | | |
- | `storage` | [Storage](#akash.base.v1beta2.Storage) | repeated | |
- | `endpoints` | [Endpoint](#akash.base.v1beta2.Endpoint) | repeated | |
-
+
+ Top
+ ## akash/market/v1beta5/service.proto
@@ -10337,62 +3292,59 @@ if field is nil resource is not present in the given data-structure
-
-
-
-
- Top
+
- ## akash/base/v1beta2/attribute.proto
-
+ ### Msg
+ Msg defines the market Msg service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `CreateBid` | [MsgCreateBid](#akash.market.v1beta5.MsgCreateBid) | [MsgCreateBidResponse](#akash.market.v1beta5.MsgCreateBidResponse) | CreateBid defines a method to create a bid given proper inputs. | |
+ | `CloseBid` | [MsgCloseBid](#akash.market.v1beta5.MsgCloseBid) | [MsgCloseBidResponse](#akash.market.v1beta5.MsgCloseBidResponse) | CloseBid defines a method to close a bid given proper inputs. | |
+ | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | |
+ | `CreateLease` | [MsgCreateLease](#akash.market.v1beta5.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta5.MsgCreateLeaseResponse) | CreateLease creates a new lease | |
+ | `CloseLease` | [MsgCloseLease](#akash.market.v1beta5.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta5.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | |
-
-
- ### Attribute
- Attribute represents key value pair
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [string](#string) | | |
-
+
+ Top
+ ## akash/provider/v1beta4/provider.proto
-
+
- ### PlacementRequirements
- PlacementRequirements
+ ### Info
+ Info
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `signed_by` | [SignedBy](#akash.base.v1beta2.SignedBy) | | SignedBy list of keys that tenants expect to have signatures from |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | Attribute list of attributes tenant expects from the provider |
+ | `email` | [string](#string) | | |
+ | `website` | [string](#string) | | |
-
+
- ### SignedBy
- SignedBy represents validation accounts that tenant expects signatures for provider attributes
-AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
-entries there
-this behaviour to be discussed
+ ### Provider
+ Provider stores owner and host details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `all_of` | [string](#string) | repeated | all_of all keys in this list must have signed attributes |
- | `any_of` | [string](#string) | repeated | any_of at least of of the keys from the list must have signed attributes |
+ | `owner` | [string](#string) | | |
+ | `host_uri` | [string](#string) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
+ | `info` | [Info](#akash.provider.v1beta4.Info) | | |
@@ -10408,23 +3360,22 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta2/endpoint.proto
+ ## akash/provider/v1beta4/genesis.proto
-
+
- ### Endpoint
- Endpoint describes a publicly accessible IP service
+ ### GenesisState
+ GenesisState defines the basic genesis state used by provider module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `kind` | [Endpoint.Kind](#akash.base.v1beta2.Endpoint.Kind) | | |
- | `sequence_number` | [uint32](#uint32) | | |
+ | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
@@ -10432,19 +3383,6 @@ this behaviour to be discussed
-
-
-
- ### Endpoint.Kind
- This describes how the endpoint is implemented when the lease is deployed
-
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | SHARED_HTTP | 0 | Describes an endpoint that becomes a Kubernetes Ingress |
- | RANDOM_PORT | 1 | Describes an endpoint that becomes a Kubernetes NodePort |
- | LEASED_IP | 2 | Describes an endpoint that becomes a leased IP |
-
-
@@ -10453,88 +3391,89 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta2/resource.proto
+ ## akash/provider/v1beta4/msg.proto
-
+
- ### CPU
- CPU stores resource units and cpu config attributes
+ ### MsgCreateProvider
+ MsgCreateProvider defines an SDK message for creating a provider
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+ | `owner` | [string](#string) | | |
+ | `host_uri` | [string](#string) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
+ | `info` | [Info](#akash.provider.v1beta4.Info) | | |
-
+
- ### Memory
- Memory stores resource quantity and memory attributes
+ ### MsgCreateProviderResponse
+ MsgCreateProviderResponse defines the Msg/CreateProvider response type.
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
-
-
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### MsgDeleteProvider
+ MsgDeleteProvider defines an SDK message for deleting a provider
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `quantity` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+ | `owner` | [string](#string) | | |
-
-
-
-
-
+
+
-
+ ### MsgDeleteProviderResponse
+ MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
- Top
- ## akash/base/v1beta2/resourcevalue.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### MsgUpdateProvider
+ MsgUpdateProvider defines an SDK message for updating a provider
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `owner` | [string](#string) | | |
+ | `host_uri` | [string](#string) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
+ | `info` | [Info](#akash.provider.v1beta4.Info) | | |
+
+
+
+
+
+
+
+ ### MsgUpdateProviderResponse
+ MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
+
@@ -10549,89 +3488,68 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta1/attribute.proto
+ ## akash/provider/v1beta4/query.proto
-
+
- ### Attribute
- Attribute represents key value pair
+ ### QueryProviderRequest
+ QueryProviderRequest is request type for the Query/Provider RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
-
+
- ### PlacementRequirements
- PlacementRequirements
+ ### QueryProviderResponse
+ QueryProviderResponse is response type for the Query/Provider RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `signed_by` | [SignedBy](#akash.base.v1beta1.SignedBy) | | SignedBy list of keys that tenants expect to have signatures from |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | Attribute list of attributes tenant expects from the provider |
+ | `provider` | [Provider](#akash.provider.v1beta4.Provider) | | |
-
+
- ### SignedBy
- SignedBy represents validation accounts that tenant expects signatures for provider attributes
-AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
-entries there
-this behaviour to be discussed
+ ### QueryProvidersRequest
+ QueryProvidersRequest is request type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `all_of` | [string](#string) | repeated | all_of all keys in this list must have signed attributes |
- | `any_of` | [string](#string) | repeated | any_of at least of of the keys from the list must have signed attributes |
-
-
-
-
-
-
-
-
-
-
-
-
-
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
- Top
- ## akash/base/v1beta1/endpoint.proto
-
+
- ### Endpoint
- Endpoint describes a publicly accessible IP service
+ ### QueryProvidersResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `kind` | [Endpoint.Kind](#akash.base.v1beta1.Endpoint.Kind) | | |
+ | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
@@ -10639,94 +3557,100 @@ this behaviour to be discussed
-
-
+
- ### Endpoint.Kind
- This describes how the endpoint is implemented when the lease is deployed
+
- | Name | Number | Description |
- | ---- | ------ | ----------- |
- | SHARED_HTTP | 0 | Describes an endpoint that becomes a Kubernetes Ingress |
- | RANDOM_PORT | 1 | Describes an endpoint that becomes a Kubernetes NodePort |
+
-
-
-
+ ### Query
+ Query defines the gRPC querier service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Providers` | [QueryProvidersRequest](#akash.provider.v1beta4.QueryProvidersRequest) | [QueryProvidersResponse](#akash.provider.v1beta4.QueryProvidersResponse) | Providers queries providers | GET|/akash/provider/v1beta4/providers|
+ | `Provider` | [QueryProviderRequest](#akash.provider.v1beta4.QueryProviderRequest) | [QueryProviderResponse](#akash.provider.v1beta4.QueryProviderResponse) | Provider queries provider details | GET|/akash/provider/v1beta4/providers/{owner}|
+
-
+
Top
- ## akash/base/v1beta1/resource.proto
+ ## akash/provider/v1beta4/service.proto
+
+
+
+
+
+
-
+
- ### CPU
- CPU stores resource units and cpu config attributes
+ ### Msg
+ Msg defines the provider Msg service
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `CreateProvider` | [MsgCreateProvider](#akash.provider.v1beta4.MsgCreateProvider) | [MsgCreateProviderResponse](#akash.provider.v1beta4.MsgCreateProviderResponse) | CreateProvider defines a method that creates a provider given the proper inputs | |
+ | `UpdateProvider` | [MsgUpdateProvider](#akash.provider.v1beta4.MsgUpdateProvider) | [MsgUpdateProviderResponse](#akash.provider.v1beta4.MsgUpdateProviderResponse) | UpdateProvider defines a method that updates a provider given the proper inputs | |
+ | `DeleteProvider` | [MsgDeleteProvider](#akash.provider.v1beta4.MsgDeleteProvider) | [MsgDeleteProviderResponse](#akash.provider.v1beta4.MsgDeleteProviderResponse) | DeleteProvider defines a method that deletes a provider given the proper inputs | |
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+
+
+
+ Top
+ ## akash/staking/v1beta3/params.proto
-
+
- ### Memory
- Memory stores resource quantity and memory attributes
+ ### Params
+ Params extends the parameters for the x/staking module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `min_commission_rate` | [string](#string) | | min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators |
-
-
+
- ### ResourceUnits
- ResourceUnits describes all available resources types for deployment/node etc
-if field is nil resource is not present in the given data-structure
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `cpu` | [CPU](#akash.base.v1beta1.CPU) | | |
- | `memory` | [Memory](#akash.base.v1beta1.Memory) | | |
- | `storage` | [Storage](#akash.base.v1beta1.Storage) | | |
- | `endpoints` | [Endpoint](#akash.base.v1beta1.Endpoint) | repeated | |
+
+ Top
+ ## akash/staking/v1beta3/genesis.proto
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `params` | [Params](#akash.staking.v1beta3.Params) | | |
@@ -10742,22 +3666,39 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/base/v1beta1/resourcevalue.proto
+ ## akash/take/v1beta3/params.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### DenomTakeRate
+ DenomTakeRate describes take rate for specified denom
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `denom` | [string](#string) | | |
+ | `rate` | [uint32](#uint32) | | |
+
+
+
+
+
+
+
+
+ ### Params
+ Params defines the parameters for the x/take package
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `denom_take_rates` | [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate) | repeated | denom -> % take rate |
+ | `default_take_rate` | [uint32](#uint32) | | |
@@ -10773,14 +3714,14 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/gov/v1beta3/genesis.proto
+ ## akash/take/v1beta3/genesis.proto
-
+
### GenesisState
GenesisState stores slice of genesis deployment instance
@@ -10788,7 +3729,7 @@ if field is nil resource is not present in the given data-structure
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deposit_params` | [DepositParams](#akash.gov.v1beta3.DepositParams) | | |
+ | `params` | [Params](#akash.take.v1beta3.Params) | | |
@@ -10804,25 +3745,10 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/gov/v1beta3/params.proto
-
-
-
-
-
- ### DepositParams
- DepositParams defines the parameters for the x/gov module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `min_initial_deposit_rate` | [bytes](#bytes) | | min_initial_deposit_rate minimum % of TotalDeposit author of the proposal must put in order for proposal tx to be committed |
-
-
-
+ ## akash/take/v1beta3/query.proto
@@ -10831,6 +3757,15 @@ if field is nil resource is not present in the given data-structure
+
+
+
+ ### Query
+ Query defines the gRPC querier service
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+
diff --git a/docs/proto/provider.md b/docs/proto/provider.md
index 076b318f..0f7e759e 100644
--- a/docs/proto/provider.md
+++ b/docs/proto/provider.md
@@ -4,37 +4,38 @@
## Table of Contents
- - [akash/manifest/v2beta1/group.proto](#akash/manifest/v2beta1/group.proto)
- - [Group](#akash.manifest.v2beta1.Group)
+ - [akash/inventory/v1/resourcepair.proto](#akash/inventory/v1/resourcepair.proto)
+ - [ResourcePair](#akash.inventory.v1.ResourcePair)
- - [akash/manifest/v2beta1/httpoptions.proto](#akash/manifest/v2beta1/httpoptions.proto)
- - [ServiceExposeHTTPOptions](#akash.manifest.v2beta1.ServiceExposeHTTPOptions)
+ - [akash/inventory/v1/cpu.proto](#akash/inventory/v1/cpu.proto)
+ - [CPU](#akash.inventory.v1.CPU)
+ - [CPUInfo](#akash.inventory.v1.CPUInfo)
- - [akash/manifest/v2beta1/serviceexpose.proto](#akash/manifest/v2beta1/serviceexpose.proto)
- - [ServiceExpose](#akash.manifest.v2beta1.ServiceExpose)
+ - [akash/inventory/v1/gpu.proto](#akash/inventory/v1/gpu.proto)
+ - [GPU](#akash.inventory.v1.GPU)
+ - [GPUInfo](#akash.inventory.v1.GPUInfo)
- - [akash/manifest/v2beta1/service.proto](#akash/manifest/v2beta1/service.proto)
- - [Service](#akash.manifest.v2beta1.Service)
- - [ServiceParams](#akash.manifest.v2beta1.ServiceParams)
- - [StorageParams](#akash.manifest.v2beta1.StorageParams)
+ - [akash/inventory/v1/memory.proto](#akash/inventory/v1/memory.proto)
+ - [Memory](#akash.inventory.v1.Memory)
+ - [MemoryInfo](#akash.inventory.v1.MemoryInfo)
- - [akash/manifest/v2beta2/group.proto](#akash/manifest/v2beta2/group.proto)
- - [Group](#akash.manifest.v2beta2.Group)
+ - [akash/inventory/v1/resources.proto](#akash/inventory/v1/resources.proto)
+ - [NodeResources](#akash.inventory.v1.NodeResources)
- - [akash/manifest/v2beta2/httpoptions.proto](#akash/manifest/v2beta2/httpoptions.proto)
- - [ServiceExposeHTTPOptions](#akash.manifest.v2beta2.ServiceExposeHTTPOptions)
+ - [akash/inventory/v1/node.proto](#akash/inventory/v1/node.proto)
+ - [Node](#akash.inventory.v1.Node)
+ - [NodeCapabilities](#akash.inventory.v1.NodeCapabilities)
- - [akash/manifest/v2beta2/serviceexpose.proto](#akash/manifest/v2beta2/serviceexpose.proto)
- - [ServiceExpose](#akash.manifest.v2beta2.ServiceExpose)
+ - [akash/inventory/v1/storage.proto](#akash/inventory/v1/storage.proto)
+ - [Storage](#akash.inventory.v1.Storage)
+ - [StorageInfo](#akash.inventory.v1.StorageInfo)
- - [akash/manifest/v2beta2/service.proto](#akash/manifest/v2beta2/service.proto)
- - [Service](#akash.manifest.v2beta2.Service)
- - [ServiceImageCredentials](#akash.manifest.v2beta2.ServiceImageCredentials)
- - [ServiceParams](#akash.manifest.v2beta2.ServiceParams)
- - [StorageParams](#akash.manifest.v2beta2.StorageParams)
+ - [akash/inventory/v1/cluster.proto](#akash/inventory/v1/cluster.proto)
+ - [Cluster](#akash.inventory.v1.Cluster)
- - [akash/manifest/v2beta3/group.proto](#akash/manifest/v2beta3/group.proto)
- - [Group](#akash.manifest.v2beta3.Group)
+ - [akash/inventory/v1/service.proto](#akash/inventory/v1/service.proto)
+ - [ClusterRPC](#akash.inventory.v1.ClusterRPC)
+ - [NodeRPC](#akash.inventory.v1.NodeRPC)
- [akash/manifest/v2beta3/httpoptions.proto](#akash/manifest/v2beta3/httpoptions.proto)
- [ServiceExposeHTTPOptions](#akash.manifest.v2beta3.ServiceExposeHTTPOptions)
@@ -48,6 +49,25 @@
- [ServiceParams](#akash.manifest.v2beta3.ServiceParams)
- [StorageParams](#akash.manifest.v2beta3.StorageParams)
+ - [akash/manifest/v2beta3/group.proto](#akash/manifest/v2beta3/group.proto)
+ - [Group](#akash.manifest.v2beta3.Group)
+
+ - [akash/provider/lease/v1/service.proto](#akash/provider/lease/v1/service.proto)
+ - [ForwarderPortStatus](#akash.provider.lease.v1.ForwarderPortStatus)
+ - [LeaseIPStatus](#akash.provider.lease.v1.LeaseIPStatus)
+ - [LeaseServiceStatus](#akash.provider.lease.v1.LeaseServiceStatus)
+ - [SendManifestRequest](#akash.provider.lease.v1.SendManifestRequest)
+ - [SendManifestResponse](#akash.provider.lease.v1.SendManifestResponse)
+ - [ServiceLogs](#akash.provider.lease.v1.ServiceLogs)
+ - [ServiceLogsRequest](#akash.provider.lease.v1.ServiceLogsRequest)
+ - [ServiceLogsResponse](#akash.provider.lease.v1.ServiceLogsResponse)
+ - [ServiceStatus](#akash.provider.lease.v1.ServiceStatus)
+ - [ServiceStatusRequest](#akash.provider.lease.v1.ServiceStatusRequest)
+ - [ServiceStatusResponse](#akash.provider.lease.v1.ServiceStatusResponse)
+ - [ShellRequest](#akash.provider.lease.v1.ShellRequest)
+
+ - [LeaseRPC](#akash.provider.lease.v1.LeaseRPC)
+
- [akash/provider/v1/status.proto](#akash/provider/v1/status.proto)
- [BidEngineStatus](#akash.provider.v1.BidEngineStatus)
- [ClusterStatus](#akash.provider.v1.ClusterStatus)
@@ -63,60 +83,28 @@
- [akash/provider/v1/service.proto](#akash/provider/v1/service.proto)
- [ProviderRPC](#akash.provider.v1.ProviderRPC)
- - [akash/inventory/v1/memory.proto](#akash/inventory/v1/memory.proto)
- - [Memory](#akash.inventory.v1.Memory)
- - [MemoryInfo](#akash.inventory.v1.MemoryInfo)
-
- - [akash/inventory/v1/cpu.proto](#akash/inventory/v1/cpu.proto)
- - [CPU](#akash.inventory.v1.CPU)
- - [CPUInfo](#akash.inventory.v1.CPUInfo)
-
- - [akash/inventory/v1/cluster.proto](#akash/inventory/v1/cluster.proto)
- - [Cluster](#akash.inventory.v1.Cluster)
-
- - [akash/inventory/v1/resources.proto](#akash/inventory/v1/resources.proto)
- - [NodeResources](#akash.inventory.v1.NodeResources)
-
- - [akash/inventory/v1/node.proto](#akash/inventory/v1/node.proto)
- - [Node](#akash.inventory.v1.Node)
- - [NodeCapabilities](#akash.inventory.v1.NodeCapabilities)
-
- - [akash/inventory/v1/resourcepair.proto](#akash/inventory/v1/resourcepair.proto)
- - [ResourcePair](#akash.inventory.v1.ResourcePair)
-
- - [akash/inventory/v1/gpu.proto](#akash/inventory/v1/gpu.proto)
- - [GPU](#akash.inventory.v1.GPU)
- - [GPUInfo](#akash.inventory.v1.GPUInfo)
-
- - [akash/inventory/v1/storage.proto](#akash/inventory/v1/storage.proto)
- - [Storage](#akash.inventory.v1.Storage)
- - [StorageInfo](#akash.inventory.v1.StorageInfo)
-
- - [akash/inventory/v1/service.proto](#akash/inventory/v1/service.proto)
- - [ClusterRPC](#akash.inventory.v1.ClusterRPC)
- - [NodeRPC](#akash.inventory.v1.NodeRPC)
-
- [Scalar Value Types](#scalar-value-types)
-
+
Top
- ## akash/manifest/v2beta1/group.proto
+ ## akash/inventory/v1/resourcepair.proto
-
+
- ### Group
- Group store name and list of services
+ ### ResourcePair
+ ResourcePair to extents resource.Quantity to provide total and available units of the resource
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `services` | [Service](#akash.manifest.v2beta1.Service) | repeated | |
+ | `allocatable` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `allocated` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
@@ -132,66 +120,41 @@
-
+
Top
- ## akash/manifest/v2beta1/httpoptions.proto
+ ## akash/inventory/v1/cpu.proto
-
+
- ### ServiceExposeHTTPOptions
- ServiceExposeHTTPOptions
+ ### CPU
+ CPU reports CPU inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `max_body_size` | [uint32](#uint32) | | |
- | `read_timeout` | [uint32](#uint32) | | |
- | `send_timeout` | [uint32](#uint32) | | |
- | `next_tries` | [uint32](#uint32) | | |
- | `next_timeout` | [uint32](#uint32) | | |
- | `next_cases` | [string](#string) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
+ | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `info` | [CPUInfo](#akash.inventory.v1.CPUInfo) | repeated | |
-
- Top
- ## akash/manifest/v2beta1/serviceexpose.proto
-
+
- ### ServiceExpose
- ServiceExpose stores exposed ports and hosts details
+ ### CPUInfo
+ CPUInfo reports CPU details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `port` | [uint32](#uint32) | | port on the container |
- | `external_port` | [uint32](#uint32) | | port on the service definition |
- | `proto` | [string](#string) | | |
- | `service` | [string](#string) | | |
- | `global` | [bool](#bool) | | |
- | `hosts` | [string](#string) | repeated | |
- | `http_options` | [ServiceExposeHTTPOptions](#akash.manifest.v2beta1.ServiceExposeHTTPOptions) | | |
- | `ip` | [string](#string) | | The name of the IP address associated with this, if any |
- | `endpoint_sequence_number` | [uint32](#uint32) | | The sequence number of the associated endpoint in the on-chain data |
+ | `id` | [string](#string) | | |
+ | `vendor` | [string](#string) | | |
+ | `model` | [string](#string) | | |
+ | `vcores` | [uint32](#uint32) | | |
@@ -207,62 +170,43 @@
-
+
Top
- ## akash/manifest/v2beta1/service.proto
-
-
-
-
-
- ### Service
- Service stores name, image, args, env, unit, count and expose list of service
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `image` | [string](#string) | | |
- | `command` | [string](#string) | repeated | |
- | `args` | [string](#string) | repeated | |
- | `env` | [string](#string) | repeated | |
- | `resources` | [akash.base.v1beta2.ResourceUnits](#akash.base.v1beta2.ResourceUnits) | | |
- | `count` | [uint32](#uint32) | | |
- | `expose` | [ServiceExpose](#akash.manifest.v2beta1.ServiceExpose) | repeated | |
- | `params` | [ServiceParams](#akash.manifest.v2beta1.ServiceParams) | | |
-
-
-
+ ## akash/inventory/v1/gpu.proto
-
+
- ### ServiceParams
- ServiceParams
+ ### GPU
+ GPUInfo reports GPU inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `storage` | [StorageParams](#akash.manifest.v2beta1.StorageParams) | repeated | |
+ | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `info` | [GPUInfo](#akash.inventory.v1.GPUInfo) | repeated | |
-
+
- ### StorageParams
- StorageParams
+ ### GPUInfo
+ GPUInfo reports GPU details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+ | `vendor` | [string](#string) | | |
+ | `vendor_id` | [string](#string) | | |
| `name` | [string](#string) | | |
- | `mount` | [string](#string) | | |
- | `read_only` | [bool](#bool) | | |
+ | `modelid` | [string](#string) | | |
+ | `interface` | [string](#string) | | |
+ | `memory_size` | [string](#string) | | |
@@ -278,59 +222,41 @@
-
+
Top
- ## akash/manifest/v2beta2/group.proto
+ ## akash/inventory/v1/memory.proto
-
+
- ### Group
- Group store name and list of services
+ ### Memory
+ Memory reports Memory inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `services` | [Service](#akash.manifest.v2beta2.Service) | repeated | |
-
-
-
-
-
-
-
-
-
-
-
-
-
+ | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `info` | [MemoryInfo](#akash.inventory.v1.MemoryInfo) | repeated | |
-
- Top
- ## akash/manifest/v2beta2/httpoptions.proto
-
+
- ### ServiceExposeHTTPOptions
- ServiceExposeHTTPOptions
+ ### MemoryInfo
+ MemoryInfo reports Memory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `max_body_size` | [uint32](#uint32) | | |
- | `read_timeout` | [uint32](#uint32) | | |
- | `send_timeout` | [uint32](#uint32) | | |
- | `next_tries` | [uint32](#uint32) | | |
- | `next_timeout` | [uint32](#uint32) | | |
- | `next_cases` | [string](#string) | repeated | |
+ | `vendor` | [string](#string) | | |
+ | `type` | [string](#string) | | |
+ | `total_size` | [string](#string) | | |
+ | `speed` | [string](#string) | | |
@@ -346,30 +272,27 @@
-
+
Top
- ## akash/manifest/v2beta2/serviceexpose.proto
+ ## akash/inventory/v1/resources.proto
-
+
- ### ServiceExpose
- ServiceExpose stores exposed ports and hosts details
+ ### NodeResources
+ NodeResources reports node inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `port` | [uint32](#uint32) | | port on the container |
- | `external_port` | [uint32](#uint32) | | port on the service definition |
- | `proto` | [string](#string) | | |
- | `service` | [string](#string) | | |
- | `global` | [bool](#bool) | | |
- | `hosts` | [string](#string) | repeated | |
- | `http_options` | [ServiceExposeHTTPOptions](#akash.manifest.v2beta2.ServiceExposeHTTPOptions) | | |
- | `ip` | [string](#string) | | The name of the IP address associated with this, if any |
- | `endpoint_sequence_number` | [uint32](#uint32) | | The sequence number of the associated endpoint in the on-chain data |
+ | `cpu` | [CPU](#akash.inventory.v1.CPU) | | |
+ | `memory` | [Memory](#akash.inventory.v1.Memory) | | |
+ | `gpu` | [GPU](#akash.inventory.v1.GPU) | | |
+ | `ephemeral_storage` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `volumes_attached` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `volumes_mounted` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
@@ -385,81 +308,87 @@
-
+
Top
- ## akash/manifest/v2beta2/service.proto
+ ## akash/inventory/v1/node.proto
-
+
- ### Service
- Service stores name, image, args, env, unit, count and expose list of service
+ ### Node
+ Node reports node inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `name` | [string](#string) | | |
- | `image` | [string](#string) | | |
- | `command` | [string](#string) | repeated | |
- | `args` | [string](#string) | repeated | |
- | `env` | [string](#string) | repeated | |
- | `resources` | [akash.base.v1beta3.Resources](#akash.base.v1beta3.Resources) | | |
- | `count` | [uint32](#uint32) | | |
- | `expose` | [ServiceExpose](#akash.manifest.v2beta2.ServiceExpose) | repeated | |
- | `params` | [ServiceParams](#akash.manifest.v2beta2.ServiceParams) | | |
- | `credentials` | [ServiceImageCredentials](#akash.manifest.v2beta2.ServiceImageCredentials) | | |
+ | `resources` | [NodeResources](#akash.inventory.v1.NodeResources) | | |
+ | `capabilities` | [NodeCapabilities](#akash.inventory.v1.NodeCapabilities) | | |
-
+
- ### ServiceImageCredentials
- Credentials to fetch image from registry
+ ### NodeCapabilities
+ NodeCapabilities extended list of node capabilities
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `host` | [string](#string) | | |
- | `email` | [string](#string) | | |
- | `username` | [string](#string) | | |
- | `password` | [string](#string) | | |
+ | `storage_classes` | [string](#string) | repeated | |
+
+
+
+
+
+
+
+
+
-
+
+ Top
- ### ServiceParams
- ServiceParams
+ ## akash/inventory/v1/storage.proto
+
+
+
+
+
+ ### Storage
+ Storage reports Storage inventory details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `storage` | [StorageParams](#akash.manifest.v2beta2.StorageParams) | repeated | |
+ | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `info` | [StorageInfo](#akash.inventory.v1.StorageInfo) | | |
-
+
- ### StorageParams
- StorageParams
+ ### StorageInfo
+ StorageInfo reports Storage details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `mount` | [string](#string) | | |
- | `read_only` | [bool](#bool) | | |
+ | `class` | [string](#string) | | |
+ | `iops` | [string](#string) | | |
@@ -475,23 +404,23 @@
-
+
Top
- ## akash/manifest/v2beta3/group.proto
+ ## akash/inventory/v1/cluster.proto
-
+
- ### Group
- Group store name and list of services
+ ### Cluster
+ Cluster reports inventory across entire cluster
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `services` | [Service](#akash.manifest.v2beta3.Service) | repeated | |
+ | `nodes` | [Node](#akash.inventory.v1.Node) | repeated | |
+ | `storage` | [Storage](#akash.inventory.v1.Storage) | repeated | |
@@ -507,6 +436,44 @@
+
+ Top
+
+ ## akash/inventory/v1/service.proto
+
+
+
+
+
+
+
+
+
+
+
+ ### ClusterRPC
+ ClusterRPC defines the RPC server of cluster
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `QueryCluster` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Cluster](#akash.inventory.v1.Cluster) | QueryCluster defines a method to query hardware state of the cluster buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/inventory|
+ | `StreamCluster` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Cluster](#akash.inventory.v1.Cluster) stream | StreamCluster defines a method to stream hardware state of the cluster buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+
+
+
+
+ ### NodeRPC
+ NodeRPC defines the RPC server of node
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `QueryNode` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Node](#akash.inventory.v1.Node) | QueryNode defines a method to query hardware state of the node buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/node|
+ | `StreamNode` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Node](#akash.inventory.v1.Node) stream | StreamNode defines a method to stream hardware state of the node buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+
+
+
+
+
Top
@@ -620,7 +587,7 @@
| `command` | [string](#string) | repeated | |
| `args` | [string](#string) | repeated | |
| `env` | [string](#string) | repeated | |
- | `resources` | [akash.base.resources.v1.Resources](#akash.base.resources.v1.Resources) | | |
+ | `resources` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
| `count` | [uint32](#uint32) | | |
| `expose` | [ServiceExpose](#akash.manifest.v2beta3.ServiceExpose) | repeated | |
| `params` | [ServiceParams](#akash.manifest.v2beta3.ServiceParams) | | |
@@ -672,366 +639,235 @@
-
+
Top
- ## akash/provider/v1/status.proto
-
-
-
-
-
- ### BidEngineStatus
- BidEngineStatus
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `orders` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
- ### ClusterStatus
- ClusterStatus
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `leases` | [Leases](#akash.provider.v1.Leases) | | |
- | `inventory` | [Inventory](#akash.provider.v1.Inventory) | | |
-
-
-
-
-
-
-
-
- ### Inventory
- Inventory
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `cluster` | [akash.inventory.v1.Cluster](#akash.inventory.v1.Cluster) | | |
- | `reservations` | [Reservations](#akash.provider.v1.Reservations) | | |
-
-
-
-
-
-
-
-
- ### Leases
- Leases
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `active` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
- ### ManifestStatus
- ManifestStatus
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
- ### Reservations
- Reservations
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `pending` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
- | `active` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
-
-
-
+ ## akash/manifest/v2beta3/group.proto
-
+
- ### ReservationsMetric
- ReservationsMetric
+ ### Group
+ Group store name and list of services
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `count` | [uint32](#uint32) | | |
- | `resources` | [ResourcesMetric](#akash.provider.v1.ResourcesMetric) | | |
-
+ | `name` | [string](#string) | | |
+ | `services` | [Service](#akash.manifest.v2beta3.Service) | repeated | |
-
-
- ### ResourcesMetric
- ResourceMetrics
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `cpu` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `memory` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `gpu` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `ephemeral_storage` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `storage` | [ResourcesMetric.StorageEntry](#akash.provider.v1.ResourcesMetric.StorageEntry) | repeated | |
-
-
+
-
+
-
-
+
- ### ResourcesMetric.StorageEntry
-
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
-
+
+ Top
+ ## akash/provider/lease/v1/service.proto
-
+
- ### Status
- Status
+ ### ForwarderPortStatus
+ ForwarderPortStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `errors` | [string](#string) | repeated | |
- | `cluster` | [ClusterStatus](#akash.provider.v1.ClusterStatus) | | |
- | `bid_engine` | [BidEngineStatus](#akash.provider.v1.BidEngineStatus) | | |
- | `manifest` | [ManifestStatus](#akash.provider.v1.ManifestStatus) | | |
- | `public_hostnames` | [string](#string) | repeated | |
- | `timestamp` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
+ | `host` | [string](#string) | | |
+ | `port` | [uint32](#uint32) | | |
+ | `external_port` | [uint32](#uint32) | | |
+ | `proto` | [string](#string) | | |
+ | `name` | [string](#string) | | |
-
- Top
- ## akash/provider/v1/service.proto
-
-
-
-
-
-
-
-
-
- ### ProviderRPC
- ProviderRPC defines the RPC server for provider
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `GetStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) | GetStatus defines a method to query provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/status|
- | `StreamStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) stream | Status defines a method to stream provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
-
+
+
+ ### LeaseIPStatus
+ LeaseIPStatus
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `port` | [uint32](#uint32) | | |
+ | `external_port` | [uint32](#uint32) | | |
+ | `protocol` | [string](#string) | | |
+ | `ip` | [string](#string) | | |
+
-
- Top
- ## akash/inventory/v1/memory.proto
-
+
- ### Memory
- Memory reports Memory inventory details
+ ### LeaseServiceStatus
+ LeaseServiceStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `info` | [MemoryInfo](#akash.inventory.v1.MemoryInfo) | repeated | |
+ | `available` | [int32](#int32) | | |
+ | `total` | [int32](#int32) | | |
+ | `uris` | [string](#string) | repeated | |
+ | `observed_generation` | [int64](#int64) | | |
+ | `replicas` | [int32](#int32) | | |
+ | `updated_replicas` | [int32](#int32) | | |
+ | `ready_replicas` | [int32](#int32) | | |
+ | `available_replicas` | [int32](#int32) | | |
-
+
- ### MemoryInfo
- MemoryInfo reports Memory details
+ ### SendManifestRequest
+ SendManifestRequest is request type for the SendManifest Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `vendor` | [string](#string) | | |
- | `type` | [string](#string) | | |
- | `total_size` | [string](#string) | | |
- | `speed` | [string](#string) | | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
+ | `manifest` | [akash.manifest.v2beta3.Group](#akash.manifest.v2beta3.Group) | repeated | |
-
+
+
-
+ ### SendManifestResponse
+ SendManifestResponse is response type for the SendManifest Providers RPC method
-
+
-
+
+
+
+ ### ServiceLogs
+ ServiceLogs
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `name` | [string](#string) | | |
+ | `logs` | [bytes](#bytes) | | |
+
-
- Top
- ## akash/inventory/v1/cpu.proto
-
+
- ### CPU
- CPU reports CPU inventory details
+ ### ServiceLogsRequest
+ ServiceLogsRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `info` | [CPUInfo](#akash.inventory.v1.CPUInfo) | repeated | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
+ | `services` | [string](#string) | repeated | |
-
+
- ### CPUInfo
- CPUInfo reports CPU details
+ ### ServiceLogsResponse
+ ServiceLogsResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [string](#string) | | |
- | `vendor` | [string](#string) | | |
- | `model` | [string](#string) | | |
- | `vcores` | [uint32](#uint32) | | |
+ | `services` | [ServiceLogs](#akash.provider.lease.v1.ServiceLogs) | repeated | |
-
-
-
-
-
+
+
-
+ ### ServiceStatus
+ ServiceStatus
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `name` | [string](#string) | | |
+ | `status` | [LeaseServiceStatus](#akash.provider.lease.v1.LeaseServiceStatus) | | |
+ | `ports` | [ForwarderPortStatus](#akash.provider.lease.v1.ForwarderPortStatus) | repeated | |
+ | `ips` | [LeaseIPStatus](#akash.provider.lease.v1.LeaseIPStatus) | repeated | |
+
-
- Top
- ## akash/inventory/v1/cluster.proto
-
+
- ### Cluster
- Cluster reports inventory across entire cluster
+ ### ServiceStatusRequest
+ ServiceStatusRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `nodes` | [Node](#akash.inventory.v1.Node) | repeated | |
- | `storage` | [Storage](#akash.inventory.v1.Storage) | repeated | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
+ | `services` | [string](#string) | repeated | |
-
-
-
-
-
+
+
-
+ ### ServiceStatusResponse
+ ServiceStatusResponse
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `services` | [ServiceStatus](#akash.provider.lease.v1.ServiceStatus) | repeated | |
+
-
- Top
- ## akash/inventory/v1/resources.proto
-
+
- ### NodeResources
- NodeResources reports node inventory details
+ ### ShellRequest
+ ShellRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `cpu` | [CPU](#akash.inventory.v1.CPU) | | |
- | `memory` | [Memory](#akash.inventory.v1.Memory) | | |
- | `gpu` | [GPU](#akash.inventory.v1.GPU) | | |
- | `ephemeral_storage` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `volumes_attached` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `volumes_mounted` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
@@ -1043,176 +879,188 @@
+
+
+
+ ### LeaseRPC
+ LeaseRPC defines the RPC server for lease control
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `SendManifest` | [SendManifestRequest](#akash.provider.lease.v1.SendManifestRequest) | [SendManifestResponse](#akash.provider.lease.v1.SendManifestResponse) | SendManifest sends manifest to the provider | |
+ | `ServiceStatus` | [ServiceStatusRequest](#akash.provider.lease.v1.ServiceStatusRequest) | [ServiceStatusResponse](#akash.provider.lease.v1.ServiceStatusResponse) | ServiceStatus buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+ | `StreamServiceStatus` | [ServiceStatusRequest](#akash.provider.lease.v1.ServiceStatusRequest) | [ServiceStatusResponse](#akash.provider.lease.v1.ServiceStatusResponse) stream | StreamServiceStatus buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+ | `ServiceLogs` | [ServiceLogsRequest](#akash.provider.lease.v1.ServiceLogsRequest) | [ServiceLogsResponse](#akash.provider.lease.v1.ServiceLogsResponse) | ServiceLogs buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+ | `StreamServiceLogs` | [ServiceLogsRequest](#akash.provider.lease.v1.ServiceLogsRequest) | [ServiceLogsResponse](#akash.provider.lease.v1.ServiceLogsResponse) stream | StreamServiceLogs buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+
-
+
Top
- ## akash/inventory/v1/node.proto
+ ## akash/provider/v1/status.proto
-
+
- ### Node
- Node reports node inventory details
+ ### BidEngineStatus
+ BidEngineStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `resources` | [NodeResources](#akash.inventory.v1.NodeResources) | | |
- | `capabilities` | [NodeCapabilities](#akash.inventory.v1.NodeCapabilities) | | |
+ | `orders` | [uint32](#uint32) | | |
-
+
- ### NodeCapabilities
- NodeCapabilities extended list of node capabilities
+ ### ClusterStatus
+ ClusterStatus
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `storage_classes` | [string](#string) | repeated | |
+ | `leases` | [Leases](#akash.provider.v1.Leases) | | |
+ | `inventory` | [Inventory](#akash.provider.v1.Inventory) | | |
-
-
-
-
-
+
+
-
+ ### Inventory
+ Inventory
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `cluster` | [akash.inventory.v1.Cluster](#akash.inventory.v1.Cluster) | | |
+ | `reservations` | [Reservations](#akash.provider.v1.Reservations) | | |
+
-
- Top
- ## akash/inventory/v1/resourcepair.proto
-
+
- ### ResourcePair
- ResourcePair to extents resource.Quantity to provide total and available units of the resource
+ ### Leases
+ Leases
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `allocatable` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `allocated` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `active` | [uint32](#uint32) | | |
-
-
-
-
-
+
+
-
+ ### ManifestStatus
+ ManifestStatus
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `deployments` | [uint32](#uint32) | | |
+
-
- Top
- ## akash/inventory/v1/gpu.proto
-
+
- ### GPU
- GPUInfo reports GPU inventory details
+ ### Reservations
+ Reservations
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `info` | [GPUInfo](#akash.inventory.v1.GPUInfo) | repeated | |
+ | `pending` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
+ | `active` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
-
+
- ### GPUInfo
- GPUInfo reports GPU details
+ ### ReservationsMetric
+ ReservationsMetric
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `vendor` | [string](#string) | | |
- | `vendor_id` | [string](#string) | | |
- | `name` | [string](#string) | | |
- | `modelid` | [string](#string) | | |
- | `interface` | [string](#string) | | |
- | `memory_size` | [string](#string) | | |
+ | `count` | [uint32](#uint32) | | |
+ | `resources` | [ResourcesMetric](#akash.provider.v1.ResourcesMetric) | | |
-
-
-
-
-
+
+
-
+ ### ResourcesMetric
+ ResourceMetrics
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `cpu` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `memory` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `gpu` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `ephemeral_storage` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `storage` | [ResourcesMetric.StorageEntry](#akash.provider.v1.ResourcesMetric.StorageEntry) | repeated | |
+
-
- Top
- ## akash/inventory/v1/storage.proto
-
+
- ### Storage
- Storage reports Storage inventory details
+ ### ResourcesMetric.StorageEntry
+
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
- | `info` | [StorageInfo](#akash.inventory.v1.StorageInfo) | | |
+ | `key` | [string](#string) | | |
+ | `value` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
-
+
- ### StorageInfo
- StorageInfo reports Storage details
+ ### Status
+ Status
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `class` | [string](#string) | | |
- | `iops` | [string](#string) | | |
+ | `errors` | [string](#string) | repeated | |
+ | `cluster` | [ClusterStatus](#akash.provider.v1.ClusterStatus) | | |
+ | `bid_engine` | [BidEngineStatus](#akash.provider.v1.BidEngineStatus) | | |
+ | `manifest` | [ManifestStatus](#akash.provider.v1.ManifestStatus) | | |
+ | `public_hostnames` | [string](#string) | repeated | |
@@ -1228,10 +1076,10 @@
-
+
Top
- ## akash/inventory/v1/service.proto
+ ## akash/provider/v1/service.proto
@@ -1241,26 +1089,15 @@
-
-
- ### ClusterRPC
- ClusterRPC defines the RPC server of cluster
-
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `QueryCluster` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Cluster](#akash.inventory.v1.Cluster) | QueryCluster defines a method to query hardware state of the cluster buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/inventory|
- | `StreamCluster` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Cluster](#akash.inventory.v1.Cluster) stream | StreamCluster defines a method to stream hardware state of the cluster buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
-
-
-
+
- ### NodeRPC
- NodeRPC defines the RPC server of node
+ ### ProviderRPC
+ ProviderRPC defines the RPC server for provider
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `QueryNode` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Node](#akash.inventory.v1.Node) | QueryNode defines a method to query hardware state of the node buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/node|
- | `StreamNode` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Node](#akash.inventory.v1.Node) stream | StreamNode defines a method to stream hardware state of the node buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
+ | `GetStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) | GetStatus defines a method to query provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/status|
+ | `StreamStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) stream | Status defines a method to stream provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
diff --git a/docs/swagger-ui/swagger.yaml b/docs/swagger-ui/swagger.yaml
index ab848a95..8597ed41 100644
--- a/docs/swagger-ui/swagger.yaml
+++ b/docs/swagger-ui/swagger.yaml
@@ -4,7 +4,7 @@ info:
description: A REST interface for state queries
version: 1.0.0
paths:
- /akash/audit/v1beta3/audit/attributes/list:
+ /akash/audit/v1/audit/attributes/list:
get:
summary: |-
AllProvidersAttributes queries all providers
@@ -43,9 +43,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -148,7 +149,7 @@ paths:
type: boolean
tags:
- Query
- /akash/audit/v1beta3/audit/attributes/{auditor}/{owner}:
+ /akash/audit/v1/audit/attributes/{auditor}/{owner}:
get:
summary: >-
ProviderAuditorAttributes queries provider signed attributes by specific
@@ -190,9 +191,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -247,7 +249,7 @@ paths:
type: string
tags:
- Query
- /akash/audit/v1beta3/audit/attributes/{owner}/list:
+ /akash/audit/v1/audit/attributes/{owner}/list:
get:
summary: |-
ProviderAttributes queries all provider signed attributes
@@ -286,9 +288,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -395,7 +398,7 @@ paths:
type: boolean
tags:
- Query
- /akash/provider/v1beta3/auditor/{auditor}/list:
+ /akash/provider/v1/auditor/{auditor}/list:
get:
summary: |-
AuditorAttributes queries all providers signed by this auditor
@@ -434,9 +437,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -543,7 +547,7 @@ paths:
type: boolean
tags:
- Query
- /akash/cert/v1beta3/certificates/list:
+ /akash/cert/1/certificates/list:
get:
summary: Certificates queries certificates
operationId: Certificates
@@ -594,9 +598,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -650,9 +655,18 @@ paths:
required: false
type: string
- name: filter.state
+ description: |2-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - valid: CertificateValid denotes state for deployment active
+ - revoked: CertificateRevoked denotes state for deployment closed
in: query
required: false
type: string
+ enum:
+ - invalid
+ - valid
+ - revoked
+ default: invalid
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
@@ -711,7 +725,7 @@ paths:
type: boolean
tags:
- Query
- /akash/deployment/v1beta3/deployments/info:
+ /akash/deployment/v1/deployments/info:
get:
summary: Deployment queries deployment details
operationId: Deployment
@@ -724,7 +738,7 @@ paths:
deployment:
type: object
properties:
- deployment_id:
+ id:
type: object
properties:
owner:
@@ -745,8 +759,10 @@ paths:
declaring dummy state
- active: DeploymentActive denotes state for deployment active
- closed: DeploymentClosed denotes state for deployment closed
- title: State is an enum which refers to state of deployment
- version:
+ title: >-
+ DeploymentState is an enum which refers to state of
+ deployment
+ hash:
type: string
format: byte
created_at:
@@ -758,7 +774,7 @@ paths:
items:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -788,7 +804,7 @@ paths:
- paused: GroupOrdered denotes state for group ordered
- insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- closed: GroupClosed denotes state for group closed
- title: State is an enum which refers to state of group
+ title: GroupState is an enum which refers to state of group
group_spec:
type: object
properties:
@@ -1000,7 +1016,7 @@ paths:
title: >-
ResourceUnit extends Resources and adds Count
along with the Price
- title: GroupSpec stores group specifications
+ title: Spec stores group specifications
created_at:
type: string
format: int64
@@ -1137,7 +1153,7 @@ paths:
format: uint64
tags:
- Query
- /akash/deployment/v1beta3/deployments/list:
+ /akash/deployment/v1/deployments/list:
get:
summary: Deployments queries deployments
operationId: Deployments
@@ -1155,7 +1171,7 @@ paths:
deployment:
type: object
properties:
- deployment_id:
+ id:
type: object
properties:
owner:
@@ -1176,8 +1192,10 @@ paths:
declaring dummy state
- active: DeploymentActive denotes state for deployment active
- closed: DeploymentClosed denotes state for deployment closed
- title: State is an enum which refers to state of deployment
- version:
+ title: >-
+ DeploymentState is an enum which refers to state of
+ deployment
+ hash:
type: string
format: byte
created_at:
@@ -1191,7 +1209,7 @@ paths:
items:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -1221,7 +1239,9 @@ paths:
- paused: GroupOrdered denotes state for group ordered
- insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- closed: GroupClosed denotes state for group closed
- title: State is an enum which refers to state of group
+ title: >-
+ GroupState is an enum which refers to state of
+ group
group_spec:
type: object
properties:
@@ -1433,7 +1453,7 @@ paths:
title: >-
ResourceUnit extends Resources and adds
Count along with the Price
- title: GroupSpec stores group specifications
+ title: Spec stores group specifications
created_at:
type: string
format: int64
@@ -1544,9 +1564,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -1601,9 +1622,18 @@ paths:
type: string
format: uint64
- name: filters.state
+ description: |2-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
in: query
required: false
type: string
+ enum:
+ - invalid
+ - active
+ - closed
+ default: invalid
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
@@ -1662,7 +1692,7 @@ paths:
type: boolean
tags:
- Query
- /akash/deployment/v1beta3/groups/info:
+ /akash/deployment/v1/groups/info:
get:
summary: Group queries group details
operationId: Group
@@ -1675,7 +1705,7 @@ paths:
group:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -1705,7 +1735,7 @@ paths:
- paused: GroupOrdered denotes state for group ordered
- insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- closed: GroupClosed denotes state for group closed
- title: State is an enum which refers to state of group
+ title: GroupState is an enum which refers to state of group
group_spec:
type: object
properties:
@@ -1917,7 +1947,7 @@ paths:
title: >-
ResourceUnit extends Resources and adds Count along
with the Price
- title: GroupSpec stores group specifications
+ title: Spec stores group specifications
created_at:
type: string
format: int64
@@ -1962,7 +1992,7 @@ paths:
format: int64
tags:
- Query
- /akash/market/v1beta3/bids/info:
+ /akash/market/v1beta5/bids/info:
get:
summary: Bid queries bid details
operationId: Bid
@@ -1975,7 +2005,7 @@ paths:
bid:
type: object
properties:
- bid_id:
+ id:
type: object
properties:
owner:
@@ -1997,20 +2027,20 @@ paths:
state:
type: string
enum:
- - invalid
- - open
- - active
- - lost
- - closed
- default: invalid
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
+ - bid_invalid: Prefix should start with 0 in enum. So
declaring dummy state
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - closed: BidClosed denotes state for bid closed
- title: State is an enum which refers to state of bid
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState is an enum which refers to state of bid
price:
type: object
properties:
@@ -2030,6 +2060,155 @@ paths:
created_at:
type: string
format: int64
+ resources_offer:
+ type: array
+ items:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: >-
+ ResourceOffer describes resources that provider is
+ offering
+
+ for deployment
title: Bid stores BidID, state of bid and price
escrow_account:
type: object
@@ -2175,7 +2354,7 @@ paths:
type: string
tags:
- Query
- /akash/market/v1beta3/bids/list:
+ /akash/market/v1beta5/bids/list:
get:
summary: Bids queries bids with filters
operationId: Bids
@@ -2193,7 +2372,7 @@ paths:
bid:
type: object
properties:
- bid_id:
+ id:
type: object
properties:
owner:
@@ -2215,20 +2394,20 @@ paths:
state:
type: string
enum:
- - invalid
- - open
- - active
- - lost
- - closed
- default: invalid
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
- declaring dummy state
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - closed: BidClosed denotes state for bid closed
- title: State is an enum which refers to state of bid
+ - bid_invalid: Prefix should start with 0 in enum.
+ So declaring dummy state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState is an enum which refers to state of bid
price:
type: object
properties:
@@ -2248,6 +2427,161 @@ paths:
created_at:
type: string
format: int64
+ resources_offer:
+ type: array
+ items:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: >-
+ ResourceOffer describes resources that provider is
+ offering
+
+ for deployment
title: Bid stores BidID, state of bid and price
escrow_account:
type: object
@@ -2353,9 +2687,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -2422,9 +2757,22 @@ paths:
required: false
type: string
- name: filters.state
+ description: |2-
+ - bid_invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
in: query
required: false
type: string
+ enum:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
@@ -2483,7 +2831,7 @@ paths:
type: boolean
tags:
- Query
- /akash/market/v1beta3/leases/info:
+ /akash/market/v1beta5/leases/info:
get:
summary: Lease queries lease details
operationId: Lease
@@ -2496,7 +2844,7 @@ paths:
lease:
type: object
properties:
- lease_id:
+ id:
type: object
properties:
owner:
@@ -2516,17 +2864,17 @@ paths:
state:
type: string
enum:
- - invalid
- - active
- - insufficient_funds
- - closed
- default: invalid
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
+ - lease_invalid: Prefix should start with 0 in enum. So
declaring dummy state
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - closed: LeaseClosed denotes state for lease closed
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_closed: LeaseClosed denotes state for lease closed
title: State is an enum which refers to state of lease
price:
type: object
@@ -2678,7 +3026,7 @@ paths:
type: string
tags:
- Query
- /akash/market/v1beta3/leases/list:
+ /akash/market/v1beta5/leases/list:
get:
summary: Leases queries leases with filters
operationId: Leases
@@ -2696,7 +3044,7 @@ paths:
lease:
type: object
properties:
- lease_id:
+ id:
type: object
properties:
owner:
@@ -2716,17 +3064,17 @@ paths:
state:
type: string
enum:
- - invalid
- - active
- - insufficient_funds
- - closed
- default: invalid
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
- declaring dummy state
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - closed: LeaseClosed denotes state for lease closed
+ - lease_invalid: Prefix should start with 0 in enum.
+ So declaring dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_closed: LeaseClosed denotes state for lease closed
title: State is an enum which refers to state of lease
price:
type: object
@@ -2839,9 +3187,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -2910,9 +3259,20 @@ paths:
required: false
type: string
- name: filters.state
+ description: |2-
+ - lease_invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_closed: LeaseClosed denotes state for lease closed
in: query
required: false
type: string
+ enum:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
@@ -2971,7 +3331,7 @@ paths:
type: boolean
tags:
- Query
- /akash/market/v1beta3/orders/info:
+ /akash/market/v1beta5/orders/info:
get:
summary: Order queries order details
operationId: Order
@@ -2984,7 +3344,7 @@ paths:
order:
type: object
properties:
- order_id:
+ id:
type: object
properties:
owner:
@@ -3002,18 +3362,18 @@ paths:
state:
type: string
enum:
- - invalid
- - open
- - active
- - closed
- default: invalid
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
+ - order_invalid: Prefix should start with 0 in enum. So
declaring dummy state
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - closed: OrderClosed denotes state for order lost
- title: State is an enum which refers to state of order
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState is an enum which refers to state of order
spec:
type: object
properties:
@@ -3225,7 +3585,7 @@ paths:
title: >-
ResourceUnit extends Resources and adds Count along
with the Price
- title: GroupSpec stores group specifications
+ title: Spec stores group specifications
created_at:
type: string
format: int64
@@ -3275,7 +3635,7 @@ paths:
format: int64
tags:
- Query
- /akash/market/v1beta3/orders/list:
+ /akash/market/v1beta5/orders/list:
get:
summary: Orders queries orders with filters
operationId: Orders
@@ -3290,7 +3650,7 @@ paths:
items:
type: object
properties:
- order_id:
+ id:
type: object
properties:
owner:
@@ -3308,18 +3668,18 @@ paths:
state:
type: string
enum:
- - invalid
- - open
- - active
- - closed
- default: invalid
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
description: >-
- - invalid: Prefix should start with 0 in enum. So
+ - order_invalid: Prefix should start with 0 in enum. So
declaring dummy state
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - closed: OrderClosed denotes state for order lost
- title: State is an enum which refers to state of order
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState is an enum which refers to state of order
spec:
type: object
properties:
@@ -3531,7 +3891,7 @@ paths:
title: >-
ResourceUnit extends Resources and adds Count
along with the Price
- title: GroupSpec stores group specifications
+ title: Spec stores group specifications
created_at:
type: string
format: int64
@@ -3542,9 +3902,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -3609,9 +3970,20 @@ paths:
type: integer
format: int64
- name: filters.state
+ description: |2-
+ - order_invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
in: query
required: false
type: string
+ enum:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
@@ -3670,7 +4042,7 @@ paths:
type: boolean
tags:
- Query
- /akash/provider/v1beta3/providers:
+ /akash/provider/v1beta4/providers:
get:
summary: Providers queries providers
operationId: Providers
@@ -3706,7 +4078,7 @@ paths:
type: string
website:
type: string
- title: ProviderInfo
+ title: Info
title: Provider stores owner and host details
pagination:
type: object
@@ -3714,9 +4086,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -3819,7 +4192,7 @@ paths:
type: boolean
tags:
- Query
- /akash/provider/v1beta3/providers/{owner}:
+ /akash/provider/v1beta4/providers/{owner}:
get:
summary: Provider queries provider details
operationId: Provider
@@ -3853,7 +4226,7 @@ paths:
type: string
website:
type: string
- title: ProviderInfo
+ title: Info
title: Provider stores owner and host details
title: >-
QueryProviderResponse is response type for the Query/Provider RPC
@@ -3887,4633 +4260,4622 @@ paths:
type: string
tags:
- Query
- /node_info:
+ /cosmos/auth/v1beta1/account_info/{address}:
get:
- description: Information about the connected node
- summary: The properties of the connected node
- tags:
- - Gaia REST
- produces:
- - application/json
+ summary: AccountInfo queries account info which is common to all account types.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: AccountInfo
responses:
'200':
- description: Node status
+ description: A successful response.
schema:
type: object
properties:
- application_version:
- properties:
- build_tags:
- type: string
- client_name:
- type: string
- commit:
- type: string
- go:
- type: string
- name:
- type: string
- server_name:
- type: string
- version:
- type: string
- node_info:
+ info:
+ description: info is the account info which is represented by BaseAccount.
+ type: object
properties:
- id:
- type: string
- moniker:
+ address:
type: string
- example: validator-name
- protocol_version:
+ pub_key:
+ type: object
properties:
- p2p:
- type: string
- example: 7
- block:
+ type_url:
type: string
- example: 10
- app:
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: 0
- network:
- type: string
- example: gaia-2
- channels:
- type: string
- listen_addr:
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ account_number:
type: string
- example: 192.168.56.1:26656
- version:
- description: Tendermint version
+ format: uint64
+ sequence:
type: string
- example: 0.15.0
- other:
- description: more information on versions
- type: object
- properties:
- tx_index:
- type: string
- example: 'on'
- rpc_address:
- type: string
- example: tcp://0.0.0.0:26657
- '500':
- description: Failed to query node status
- /syncing:
- get:
- summary: Syncing state of node
- tags:
- - Tendermint RPC
- description: Get if the node is currently syning with other nodes
- produces:
- - application/json
- responses:
- '200':
- description: Node syncing status
+ format: uint64
+ description: |-
+ QueryAccountInfoResponse is the Query/AccountInfo response type.
+
+ Since: cosmos-sdk 0.47
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- syncing:
- type: boolean
- '500':
- description: Server internal error
- /blocks/latest:
- get:
- summary: Get the latest block
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address
+ description: address is the account address string.
+ in: path
+ required: true
+ type: string
tags:
- - Tendermint RPC
- produces:
- - application/json
+ - Query
+ /cosmos/auth/v1beta1/accounts:
+ get:
+ summary: Accounts returns all the existing accounts.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+
+
+ Since: cosmos-sdk 0.43
+ operationId: Accounts
responses:
'200':
- description: The latest block
+ description: A successful response.
schema:
type: object
properties:
- block_meta:
- type: object
- properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- block:
- type: object
- properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- txs:
- type: array
- items:
- type: string
- evidence:
- type: array
- items:
- type: string
- last_commit:
- type: object
- properties:
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- precommits:
- type: array
- items:
- type: object
- properties:
- validator_address:
- type: string
- validator_index:
- type: string
- example: '0'
- height:
- type: string
- example: '0'
- round:
- type: string
- example: '0'
- timestamp:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- type:
- type: number
- example: 2
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- signature:
- type: string
- example: >-
- 7uTC74QlknqYWEwg7Vn6M8Om7FuZ0EO4bjvuj6rwH1mTUJrRuMMZvAAqT9VjNgP0RA/TDp6u/92AqrZfXJSpBQ==
- '500':
- description: Server internal error
- /blocks/{height}:
- get:
- summary: Get a block at a certain height
- tags:
- - Tendermint RPC
- produces:
- - application/json
- parameters:
- - in: path
- name: height
- description: Block height
- required: true
- type: number
- x-example: 1
- responses:
- '200':
- description: The block at a specific height
- schema:
- type: object
- properties:
- block_meta:
- type: object
- properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- block:
- type: object
- properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- txs:
- type: array
- items:
- type: string
- evidence:
- type: array
- items:
- type: string
- last_commit:
- type: object
- properties:
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- precommits:
- type: array
- items:
- type: object
- properties:
- validator_address:
- type: string
- validator_index:
- type: string
- example: '0'
- height:
- type: string
- example: '0'
- round:
- type: string
- example: '0'
- timestamp:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- type:
- type: number
- example: 2
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- signature:
- type: string
- example: >-
- 7uTC74QlknqYWEwg7Vn6M8Om7FuZ0EO4bjvuj6rwH1mTUJrRuMMZvAAqT9VjNgP0RA/TDp6u/92AqrZfXJSpBQ==
- '400':
- description: Invalid height
- '404':
- description: Request block height doesn't
- '500':
- description: Server internal error
- /validatorsets/latest:
- get:
- summary: Get the latest validator set
- tags:
- - Tendermint RPC
- produces:
- - application/json
- responses:
- '200':
- description: The validator set at the latest block height
- schema:
- type: object
- properties:
- block_height:
- type: string
- validators:
+ accounts:
type: array
items:
type: object
properties:
- address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- pub_key:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- voting_power:
+ type_url:
type: string
- example: '1000'
- proposer_priority:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '1000'
- '500':
- description: Server internal error
- /validatorsets/{height}:
- get:
- summary: Get a validator set a certain height
- tags:
- - Tendermint RPC
- produces:
- - application/json
- parameters:
- - in: path
- name: height
- description: Block height
- required: true
- type: number
- x-example: 1
- responses:
- '200':
- description: The validator set at a specific block height
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: accounts are the existing accounts
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryAccountsResponse is the response type for the Query/Accounts
+ RPC method.
+
+
+ Since: cosmos-sdk 0.43
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- block_height:
+ error:
type: string
- validators:
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- pub_key:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- voting_power:
- type: string
- example: '1000'
- proposer_priority:
- type: string
- example: '1000'
- '400':
- description: Invalid height
- '404':
- description: Block at height not available
- '500':
- description: Server internal error
- /txs/{hash}:
- get:
- deprecated: true
- summary: Get a Tx by hash
- tags:
- - Transactions
- description: Retrieve a transaction using its hash.
- produces:
- - application/json
- parameters:
- - in: path
- name: hash
- description: Tx hash
- required: true
- type: string
- x-example: BCBE20E8D46758B96AE5883B792858296AC06E51435490FBDCAE25A72B3CC76B
- responses:
- '200':
- description: Tx with the provided hash
- schema:
- type: object
- properties:
- hash:
- type: string
- example: >-
- D085138D913993919295FF4B0A9107F1F2CDE0D37A87CE0644E217CBF3B49656
- height:
- type: number
- example: 368
- tx:
- type: object
- properties:
- msg:
- type: array
- items:
+ type_url:
type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- result:
- type: object
- properties:
- log:
- type: string
- gas_wanted:
- type: string
- example: '200000'
- gas_used:
- type: string
- example: '26354'
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- '500':
- description: Internal Server Error
- /txs:
- get:
- deprecated: true
- tags:
- - Transactions
- summary: Search transactions
- description: Search transactions by events.
- produces:
- - application/json
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
parameters:
- - in: query
- name: message.action
+ - 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: >-
- transaction events such as 'message.action=send' which results in
- the following endpoint: 'GET /txs?message.action=send'. note that
- each module documents its own events. look for xx_events.md in the
- corresponding cosmos-sdk/docs/spec directory
- x-example: send
- - in: query
- name: message.sender
+ 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: >-
- transaction tags with sender: 'GET
- /txs?message.action=send&message.sender=cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv'
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: query
- name: page
- description: Page number
- type: integer
- x-example: 1
- - in: query
- name: limit
- description: Maximum number of items per page
- type: integer
- x-example: 1
- - in: query
- name: tx.minheight
- type: integer
- description: transactions on blocks with height greater or equal this value
- x-example: 25
- - in: query
- name: tx.maxheight
- type: integer
- description: transactions on blocks with height less than or equal this value
- x-example: 800000
- responses:
- '200':
- description: All txs matching the provided events
- schema:
- type: object
- properties:
- total_count:
- type: number
- example: 1
- count:
- type: number
- example: 1
- page_number:
- type: number
- example: 1
- page_total:
- type: number
- example: 1
- limit:
- type: number
- example: 30
- txs:
- type: array
- items:
- type: object
- properties:
- hash:
- type: string
- example: >-
- D085138D913993919295FF4B0A9107F1F2CDE0D37A87CE0644E217CBF3B49656
- height:
- type: number
- example: 368
- tx:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- result:
- type: object
- properties:
- log:
- type: string
- gas_wanted:
- type: string
- example: '200000'
- gas_used:
- type: string
- example: '26354'
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- '400':
- description: Invalid search events
- '500':
- description: Internal Server Error
- post:
- tags:
- - Transactions
- summary: Broadcast a signed tx
- description: Broadcast a signed tx to a full node
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: txBroadcast
+ 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: >-
- The tx must be a signed StdTx. The supported broadcast modes include
- `"block"`(return after tx commit), `"sync"`(return afer CheckTx) and
- `"async"`(return right away).
- required: true
- schema:
- type: object
- properties:
- tx:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- mode:
- type: string
- example: block
- responses:
- '200':
- description: Tx broadcasting result
- schema:
- type: object
- properties:
- check_tx:
- type: object
- properties:
- code:
- type: integer
- data:
- type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
- type: string
- log:
- type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 0
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- deliver_tx:
- type: object
- properties:
- code:
- type: integer
- data:
- type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
- type: string
- log:
- type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 5
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- height:
- type: integer
- '500':
- description: Internal Server Error
- /txs/encode:
- post:
- deprecated: true
- tags:
- - Transactions
- summary: Encode a transaction to the Amino wire format
- description: >-
- Encode a transaction (signed or not) from JSON to base64-encoded Amino
- serialized bytes
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: tx
- description: The tx to encode
- required: true
- schema:
- type: object
- properties:
- tx:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- responses:
- '200':
- description: The tx was successfully decoded and re-encoded
- schema:
- type: object
- properties:
- tx:
- type: string
- example: The base64-encoded Amino-serialized bytes for the tx
- '400':
- description: The tx was malformated
- '500':
- description: Server internal error
- /txs/decode:
- post:
- deprecated: true
+ 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:
- - Transactions
- summary: Decode a transaction from the Amino wire format
- description: >-
- Decode a transaction (signed or not) from base64-encoded Amino
- serialized bytes to JSON
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: tx
- description: The tx to decode
- required: true
- schema:
- type: object
- properties:
- tx:
- type: string
- example: >-
- SvBiXe4KPqijYZoKFFHEzJ8c2HPAfv2EFUcIhx0yPagwEhTy0vPA+GGhCEslKXa4Af0uB+mfShoMCgVzdGFrZRIDMTAwEgQQwJoM
- responses:
- '200':
- description: The tx was successfully decoded
- schema:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: The tx was malformated
- '500':
- description: Server internal error
- /bank/balances/{address}:
+ - Query
+ /cosmos/auth/v1beta1/accounts/{address}:
get:
- deprecated: true
- summary: Get the account balances
- tags:
- - Bank
- produces:
- - application/json
- parameters:
- - in: path
- name: address
- description: Account address in bech32 format
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
+ summary: Account returns account details based on address.
+ operationId: Account
responses:
'200':
- description: Account balances
- schema:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '500':
- description: Server internal error
- /bank/accounts/{address}/transfers:
- post:
- deprecated: true
- summary: Send coins from one account to another
- tags:
- - Bank
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: path
- name: address
- description: Account address in bech32 format
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: body
- name: account
- description: The sender and tx information
- required: true
+ description: A successful response.
schema:
type: object
properties:
- base_req:
+ account:
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
+ type_url:
type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all
+ types that they
+
+ expect it to use in the context of Any. However, for URLs
+ which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
+ format: byte
description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- responses:
- '202':
- description: Tx was succesfully generated
+ Must be a valid serialized protocol buffer of the above
+ specified type.
+ description: >-
+ `Any` contains an arbitrary serialized protocol buffer message
+ along with a
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in
+ the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default
+ use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the last
+ '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding a
+ field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryAccountResponse is the response type for the Query/Account
+ RPC method.
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
+ error:
type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid request
- '500':
- description: Server internal error
- /bank/total:
- get:
- deprecated: true
- summary: Total supply of coins in the chain
- tags:
- - Bank
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- total:
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '50'
- '500':
- description: Internal Server Error
- /bank/total/{denomination}:
- parameters:
- - in: path
- name: denomination
- description: Coin denomination
- required: true
- type: string
- x-example: uatom
- get:
- deprecated: true
- summary: Total supply of a single coin denomination
- tags:
- - Bank
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: string
- '400':
- description: Invalid coin denomination
- '500':
- description: Internal Server Error
- /auth/accounts/{address}:
- get:
- deprecated: true
- summary: Get the account information on blockchain
- tags:
- - Auth
- produces:
- - application/json
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
parameters:
- - in: path
- name: address
- description: Account address
+ - name: address
+ description: address defines the address to query for.
+ in: path
required: true
type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
+ tags:
+ - Query
+ /cosmos/auth/v1beta1/address_by_id/{id}:
+ get:
+ summary: AccountAddressByID returns account address based on account number.
+ description: 'Since: cosmos-sdk 0.46.2'
+ operationId: AccountAddressByID
responses:
'200':
- description: Account information on the blockchain
+ description: A successful response.
schema:
type: object
properties:
- type:
+ account_address:
type: string
- value:
- type: object
- properties:
- account_number:
- type: string
- address:
- type: string
- coins:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- public_key:
- type: object
- properties:
- type:
- type: string
- value:
- type: string
- sequence:
- type: string
- '500':
- description: Server internel error
- /staking/delegators/{delegatorAddr}/delegations:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- get:
- deprecated: true
- summary: Get all delegations from a delegator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- shares:
- type: string
- balance:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- post:
- summary: Submit delegation
- parameters:
- - in: body
- name: delegation
- description: Delegate an amount of liquid coins to a validator
+ description: 'Since: cosmos-sdk 0.46.2'
+ title: >-
+ QueryAccountAddressByIDResponse is the response type for
+ AccountAddressByID rpc method
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- delegator_address:
+ error:
type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- validator_address:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- amount:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- tags:
- - Staking
- consumes:
- - application/json
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- msg:
+ details:
type: array
items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid delegator address or delegation request body
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/delegations/{validatorAddr}:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Query the current delegation between a delegator and a validator
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: id
+ description: |-
+ Deprecated, use account_id instead
+
+ id is the account number of the address to be queried. This field
+ should have been an uint64 (like all account numbers), and will be
+ updated to uint64 in a future version of the auth query.
+ in: path
+ required: true
+ type: string
+ format: int64
+ - name: account_id
+ description: |-
+ account_id is the account number of the address to be queried.
+
+ Since: cosmos-sdk 0.47
+ in: query
+ required: false
+ type: string
+ format: uint64
tags:
- - Staking
- produces:
- - application/json
+ - Query
+ /cosmos/auth/v1beta1/bech32:
+ get:
+ summary: Bech32Prefix queries bech32Prefix
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: Bech32Prefix
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- shares:
+ bech32_prefix:
type: string
- balance:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '400':
- description: Invalid delegator address or validator address
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/unbonding_delegations:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- get:
- deprecated: true
- summary: Get all unbonding delegations from a delegator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
- type: integer
- min_time:
- type: integer
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- post:
- summary: Submit an unbonding delegation
- parameters:
- - in: body
- name: delegation
- description: Unbond an amount of bonded shares from a validator
+ description: >-
+ Bech32PrefixResponse is the response type for Bech32Prefix rpc
+ method.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- delegator_address:
+ error:
type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- validator_address:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- amount:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
tags:
- - Staking
- consumes:
- - application/json
- produces:
- - application/json
+ - Query
+ /cosmos/auth/v1beta1/bech32/{address_bytes}:
+ get:
+ summary: AddressBytesToString converts Account Address bytes to string
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: AddressBytesToString
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
+ address_string:
type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid delegator address or unbonding delegation request body
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/unbonding_delegations/{validatorAddr}:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Query all unbonding delegations between a delegator and a validator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
+ description: >-
+ AddressBytesToStringResponse is the response type for
+ AddressString rpc method.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- delegator_address:
+ error:
type: string
- validator_address:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- entries:
+ details:
type: array
items:
type: object
properties:
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
+ type_url:
type: string
- min_time:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- '400':
- description: Invalid delegator address or validator address
- '500':
- description: Internal Server Error
- /staking/redelegations:
- parameters:
- - in: query
- name: delegator
- description: Bech32 AccAddress of Delegator
- required: false
- type: string
- - in: query
- name: validator_from
- description: Bech32 ValAddress of SrcValidator
- required: false
- type: string
- - in: query
- name: validator_to
- description: Bech32 ValAddress of DstValidator
- required: false
- type: string
- get:
- deprecated: true
- summary: Get all redelegations (filter by query params)
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address_bytes
+ in: path
+ required: true
+ type: string
+ format: byte
tags:
- - Staking
- produces:
- - application/json
+ - Query
+ /cosmos/auth/v1beta1/bech32/{address_string}:
+ get:
+ summary: AddressStringToBytes converts Address string to bytes
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: AddressStringToBytes
responses:
'200':
- description: OK
- schema:
- type: array
- items:
- $ref: '#/definitions/Redelegation'
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/redelegations:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- post:
- deprecated: true
- summary: Submit a redelegation
- parameters:
- - in: body
- name: delegation
- description: The sender and tx information
+ description: A successful response.
schema:
type: object
properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- delegator_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- validator_src_addressess:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- validator_dst_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- shares:
+ address_bytes:
type: string
- example: '100'
- tags:
- - Staking
- consumes:
- - application/json
- produces:
- - application/json
- responses:
- '200':
- description: Tx was succesfully generated
+ format: byte
+ description: >-
+ AddressStringToBytesResponse is the response type for AddressBytes
+ rpc method.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- msg:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid delegator address or redelegation request body
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/validators:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- get:
- deprecated: true
- summary: Query all validators that a delegator is bonded to
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
- type: string
- delegator_shares:
- type: string
- description:
- type: object
- properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
- type: string
- details:
- type: string
- bond_height:
- type: string
- example: '0'
- bond_intra_tx_counter:
- type: integer
- example: 0
- unbonding_height:
- type: string
- example: '0'
- unbonding_time:
- type: string
- example: '1970-01-01T00:00:00Z'
- commission:
type: object
properties:
- rate:
- type: string
- example: '0'
- max_rate:
- type: string
- example: '0'
- max_change_rate:
+ type_url:
type: string
- example: '0'
- update_time:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '1970-01-01T00:00:00Z'
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- /staking/delegators/{delegatorAddr}/validators/{validatorAddr}:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: path
- name: validatorAddr
- description: Bech32 ValAddress of Delegator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Query a validator that a delegator is bonded to
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address_string
+ in: path
+ required: true
+ type: string
tags:
- - Staking
- produces:
- - application/json
+ - Query
+ /cosmos/auth/v1beta1/module_accounts:
+ get:
+ summary: ModuleAccounts returns all the existing module accounts.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: ModuleAccounts
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
- type: string
- delegator_shares:
- type: string
- description:
- type: object
- properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
- type: string
- details:
- type: string
- bond_height:
- type: string
- example: '0'
- bond_intra_tx_counter:
- type: integer
- example: 0
- unbonding_height:
- type: string
- example: '0'
- unbonding_time:
- type: string
- example: '1970-01-01T00:00:00Z'
- commission:
- type: object
- properties:
- rate:
- type: string
- example: '0'
- max_rate:
- type: string
- example: '0'
- max_change_rate:
- type: string
- example: '0'
- update_time:
- type: string
- example: '1970-01-01T00:00:00Z'
- '400':
- description: Invalid delegator address or validator address
- '500':
- description: Internal Server Error
- /staking/validators:
- get:
- deprecated: true
- summary: >-
- Get all validator candidates. By default it returns only the bonded
- validators.
- parameters:
- - in: query
- name: status
- type: string
- description: >-
- The validator bond status. Must be either 'bonded', 'unbonded', or
- 'unbonding'.
- x-example: bonded
- - in: query
- name: page
- description: The page number.
- type: integer
- x-example: 1
- - in: query
- name: limit
- description: The maximum number of items per page.
- type: integer
- x-example: 1
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
- type: string
- delegator_shares:
- type: string
- description:
- type: object
- properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
- type: string
- details:
- type: string
- bond_height:
- type: string
- example: '0'
- bond_intra_tx_counter:
- type: integer
- example: 0
- unbonding_height:
- type: string
- example: '0'
- unbonding_time:
- type: string
- example: '1970-01-01T00:00:00Z'
- commission:
+ accounts:
+ type: array
+ items:
type: object
properties:
- rate:
- type: string
- example: '0'
- max_rate:
- type: string
- example: '0'
- max_change_rate:
+ type_url:
type: string
- example: '0'
- update_time:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '1970-01-01T00:00:00Z'
- '500':
- description: Internal Server Error
- /staking/validators/{validatorAddr}:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Query the information from a single validator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryModuleAccountsResponse is the response type for the
+ Query/ModuleAccounts RPC method.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
- type: string
- delegator_shares:
- type: string
- description:
- type: object
- properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
- type: string
- details:
- type: string
- bond_height:
+ error:
type: string
- example: '0'
- bond_intra_tx_counter:
+ code:
type: integer
- example: 0
- unbonding_height:
- type: string
- example: '0'
- unbonding_time:
+ format: int32
+ message:
type: string
- example: '1970-01-01T00:00:00Z'
- commission:
- type: object
- properties:
- rate:
- type: string
- example: '0'
- max_rate:
- type: string
- example: '0'
- max_change_rate:
- type: string
- example: '0'
- update_time:
- type: string
- example: '1970-01-01T00:00:00Z'
- '400':
- description: Invalid validator address
- '500':
- description: Internal Server Error
- /staking/validators/{validatorAddr}/delegations:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Get all delegations from a validator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- shares:
- type: string
- balance:
+ details:
+ type: array
+ items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '50'
- '400':
- description: Invalid validator address
- '500':
- description: Internal Server Error
- /staking/validators/{validatorAddr}/unbonding_delegations:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Get all unbonding delegations from a validator
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
- type: integer
- min_time:
- type: integer
- '400':
- description: Invalid validator address
- '500':
- description: Internal Server Error
- /staking/pool:
- get:
- deprecated: true
- summary: Get the current state of the staking pool
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- loose_tokens:
- type: string
- bonded_tokens:
- type: string
- inflation_last_time:
- type: string
- inflation:
- type: string
- date_last_commission_reset:
- type: string
- prev_bonded_shares:
- type: string
- '500':
- description: Internal Server Error
- /staking/parameters:
+ - Query
+ /cosmos/auth/v1beta1/module_accounts/{name}:
get:
- deprecated: true
- summary: Get the current staking parameter values
- tags:
- - Staking
- produces:
- - application/json
+ summary: ModuleAccountByName returns the module account info by module name
+ operationId: ModuleAccountByName
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- inflation_rate_change:
- type: string
- inflation_max:
- type: string
- inflation_min:
- type: string
- goal_bonded:
- type: string
- unbonding_time:
- type: string
- max_validators:
- type: integer
- bond_denom:
- type: string
- '500':
- description: Internal Server Error
- /slashing/signing_infos:
- get:
- deprecated: true
- summary: Get sign info of given all validators
- description: Get sign info of all validators
- produces:
- - application/json
- tags:
- - Slashing
- parameters:
- - in: query
- name: page
- description: Page number
- type: integer
- required: true
- x-example: 1
- - in: query
- name: limit
- description: Maximum number of items per page
- type: integer
- required: true
- x-example: 5
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- start_height:
- type: string
- index_offset:
- type: string
- jailed_until:
- type: string
- missed_blocks_counter:
- type: string
- '400':
- description: Invalid validator public key for one of the validators
- '500':
- description: Internal Server Error
- /slashing/validators/{validatorAddr}/unjail:
- post:
- deprecated: true
- summary: Unjail a jailed validator
- description: Send transaction to unjail a jailed validator
- consumes:
- - application/json
- produces:
- - application/json
- tags:
- - Slashing
- parameters:
- - type: string
- description: Bech32 validator address
- name: validatorAddr
- required: true
- in: path
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- - description: ''
- name: UnjailBody
- in: body
- required: true
- schema:
- type: object
- properties:
- base_req:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- responses:
- '200':
- description: Tx was succesfully generated
- schema:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
+ account:
type: object
properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ type_url:
type: string
- example: '0'
- sequence:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all
+ types that they
+
+ expect it to use in the context of Any. However, for URLs
+ which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '0'
- '400':
- description: Invalid validator address or base_req
- '500':
- description: Internal Server Error
- /slashing/parameters:
- get:
- deprecated: true
- summary: Get the current slashing parameters
- tags:
- - Slashing
- produces:
- - application/json
- responses:
- '200':
- description: OK
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in
+ the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default
+ use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the last
+ '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding a
+ field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryModuleAccountByNameResponse is the response type for the
+ Query/ModuleAccountByName RPC method.
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- max_evidence_age:
- type: string
- signed_blocks_window:
- type: string
- min_signed_per_window:
- type: string
- double_sign_unbond_duration:
- type: string
- downtime_unbond_duration:
- type: string
- slash_fraction_double_sign:
+ error:
type: string
- slash_fraction_downtime:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- '500':
- description: Internal Server Error
- /gov/proposals:
- post:
- deprecated: true
- summary: Submit a proposal
- description: Send transaction to submit a proposal
- consumes:
- - application/json
- produces:
- - application/json
- tags:
- - Governance
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
parameters:
- - description: >-
- valid value of `"proposal_type"` can be `"text"`,
- `"parameter_change"`, `"software_upgrade"`
- name: post_proposal_body
- in: body
+ - name: name
+ 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:
- base_req:
+ params:
+ description: params defines the parameters of the module.
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
+ max_memo_characters:
type: string
- example: Cosmos-Hub
- account_number:
+ format: uint64
+ tx_sig_limit:
type: string
- example: '0'
- sequence:
+ format: uint64
+ tx_size_cost_per_byte:
type: string
- example: '1'
- gas:
+ format: uint64
+ sig_verify_cost_ed25519:
type: string
- example: '200000'
- gas_adjustment:
+ format: uint64
+ sig_verify_cost_secp256k1:
type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- title:
- type: string
- description:
- type: string
- proposal_type:
+ 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
- example: text
- proposer:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- initial_deposit:
+ details:
type: array
items:
type: object
properties:
- denom:
- type: string
- example: stake
- amount:
+ type_url:
type: string
- example: '50'
- responses:
- '200':
- description: Tx was succesfully generated
- schema:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ tags:
+ - Query
+ /cosmos/bank/v1beta1/balances/{address}:
+ get:
+ summary: AllBalances queries the balance of all coins for a single account.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ 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:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ next_key:
type: string
- example: '0'
- sequence:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '0'
- '400':
- description: Invalid proposal body
- '500':
- description: Internal Server Error
- get:
- deprecated: true
- summary: Query proposals
- description: Query proposals information with parameters
- produces:
- - application/json
- tags:
- - Governance
+ 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:
- - in: query
- name: voter
- description: voter address
+ - 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
- - in: query
- name: depositor
- description: depositor address
+ 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
- - in: query
- name: status
+ format: uint64
+ - name: pagination.limit
description: >-
- proposal status, valid values can be `"deposit_period"`,
- `"voting_period"`, `"passed"`, `"rejected"`
+ 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
+ /cosmos/bank/v1beta1/balances/{address}/by_denom:
+ get:
+ summary: Balance queries the balance of a single coin for a single account.
+ operationId: Balance
responses:
'200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- proposal_id:
- type: integer
- title:
- type: string
- description:
- type: string
- proposal_type:
- type: string
- proposal_status:
- type: string
- final_tally_result:
- type: object
- properties:
- 'yes':
- type: string
- example: '0.0000000000'
- abstain:
- type: string
- example: '0.0000000000'
- 'no':
- type: string
- example: '0.0000000000'
- no_with_veto:
- type: string
- example: '0.0000000000'
- submit_time:
- type: string
- total_deposit:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- voting_start_time:
- type: string
- '400':
- description: Invalid query parameters
- '500':
- description: Internal Server Error
- /gov/proposals/param_change:
- post:
- deprecated: true
- summary: Generate a parameter change proposal transaction
- description: Generate a parameter change proposal transaction
- consumes:
- - application/json
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - description: >-
- The parameter change proposal body that contains all parameter
- changes
- name: post_proposal_body
- in: body
- required: true
+ description: A successful response.
schema:
type: object
properties:
- base_req:
+ balance:
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
+ denom:
type: string
- example: '200000'
- gas_adjustment:
+ amount:
type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- title:
- type: string
- x-example: Param Change
- description:
+ 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
- x-example: Update max validators
- proposer:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- deposit:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- changes:
+ details:
type: array
items:
type: object
properties:
- subspace:
- type: string
- example: staking
- key:
- type: string
- example: MaxValidators
- subkey:
+ type_url:
type: string
- example: ''
value:
- type: object
+ 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: query
+ required: false
+ type: string
+ tags:
+ - Query
+ /cosmos/bank/v1beta1/denom_owners/{denom}:
+ get:
+ summary: >-
+ DenomOwners queries for all account addresses that own a particular
+ token
+
+ denomination.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+
+
+ Since: cosmos-sdk 0.46
+ operationId: DenomOwners
responses:
'200':
- description: The transaction was succesfully generated
+ description: A successful response.
schema:
type: object
properties:
- msg:
+ denom_owners:
type: array
items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- 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
- example: stake
amount:
type: string
- example: '50'
- memo:
- type: string
- signature:
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ pagination:
+ description: pagination defines the pagination in the response.
type: object
properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ next_key:
type: string
- example: '0'
- sequence:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '0'
- '400':
- description: Invalid proposal body
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}:
- get:
- deprecated: true
- summary: Query a proposal
- description: Query a proposal by id
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- name: proposalId
- required: true
- in: path
- x-example: '2'
- responses:
- '200':
- description: OK
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- proposal_id:
+ error:
+ type: string
+ code:
type: integer
- title:
+ format: int32
+ message:
type: string
- description:
- type: string
- proposal_type:
- type: string
- proposal_status:
- type: string
- final_tally_result:
- type: object
- properties:
- 'yes':
- type: string
- example: '0.0000000000'
- abstain:
- type: string
- example: '0.0000000000'
- 'no':
- type: string
- example: '0.0000000000'
- no_with_veto:
- type: string
- example: '0.0000000000'
- submit_time:
- type: string
- total_deposit:
+ details:
type: array
items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ value:
type: string
- example: '50'
- voting_start_time:
- type: string
- '400':
- description: Invalid proposal id
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/proposer:
- get:
- deprecated: true
- summary: Query proposer
- description: Query for the proposer for a proposal
- produces:
- - application/json
- tags:
- - Governance
+ format: byte
parameters:
- - type: string
- name: proposalId
- required: true
+ - name: denom
+ description: >-
+ denom defines the coin denomination to query all account holders
+ for.
in: path
- x-example: '2'
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- proposal_id:
- type: string
- proposer:
- type: string
- '400':
- description: Invalid proposal ID
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/deposits:
- get:
- deprecated: true
- summary: Query deposits
- description: Query deposits by proposalId
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- name: proposalId
required: true
- in: path
- x-example: '2'
+ 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
+ /cosmos/bank/v1beta1/denoms_metadata:
+ get:
+ summary: |-
+ DenomsMetadata queries the client metadata for all registered coin
+ denominations.
+ operationId: DenomsMetadata
responses:
'200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- proposal_id:
- type: string
- depositor:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- '400':
- description: Invalid proposal id
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Deposit tokens to a proposal
- description: Send transaction to deposit tokens to a proposal
- consumes:
- - application/json
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- - description: ''
- name: post_deposit_body
- in: body
- required: true
+ description: A successful response.
schema:
type: object
properties:
- base_req:
+ 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 = 10^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
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains
+ additional information. Optional.
+
+
+ Since: cosmos-sdk 0.46
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ 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:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
+ next_key:
type: string
- example: '200000'
- gas_adjustment:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- depositor:
+ 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
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- amount:
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ value:
type: string
- example: '50'
+ 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
+ /cosmos/bank/v1beta1/denoms_metadata/{denom}:
+ get:
+ summary: DenomsMetadata queries the client metadata of a given coin denomination.
+ operationId: DenomMetadata
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
+ metadata:
type: object
properties:
- gas:
+ description:
type: string
- amount:
+ denom_units:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
+ 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 = 10^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
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ description: >-
+ base represents the base denom (should be the DenomUnit
+ with exponent = 0).
+ display:
type: string
- example: '0'
- sequence:
+ description: |-
+ display indicates the suggested denom that should be
+ displayed in clients.
+ name:
type: string
- example: '0'
- '400':
- description: Invalid proposal id or deposit body
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/deposits/{depositor}:
- get:
- deprecated: true
- summary: Query deposit
- description: Query deposit by proposalId and depositor address
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- - type: string
- description: Bech32 depositor address
- name: depositor
- required: true
- in: path
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- responses:
- '200':
- description: OK
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains
+ additional information. Optional.
+
+
+ Since: cosmos-sdk 0.46
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ 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:
- amount:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ value:
type: string
- example: '50'
- proposal_id:
- type: string
- depositor:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- '400':
- description: Invalid proposal id or depositor address
- '404':
- description: Found no deposit
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/votes:
- get:
- deprecated: true
- summary: Query voters
- description: Query voters information by proposalId
- produces:
- - application/json
- tags:
- - Governance
+ format: byte
parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
+ - name: denom
+ description: denom is the coin denom to query the metadata for.
in: path
- x-example: '2'
+ 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: OK
- schema:
- type: array
- items:
- type: object
- properties:
- voter:
- type: string
- proposal_id:
- type: string
- option:
- type: string
- '400':
- description: Invalid proposal id
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Vote a proposal
- description: Send transaction to vote a proposal
- consumes:
- - application/json
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- - description: >-
- valid value of `"option"` field can be `"yes"`, `"no"`,
- `"no_with_veto"` and `"abstain"`
- name: post_vote_body
- in: body
- required: true
+ description: A successful response.
schema:
type: object
properties:
- base_req:
+ params:
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
+ send_enabled:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
+ enabled:
+ type: boolean
+ description: >-
+ SendEnabled maps coin denom to a send_enabled status
+ (whether a denom is
+
+ sendable).
description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- voter:
+ Deprecated: Use of SendEnabled in params is deprecated.
+
+ For genesis, use the newly added send_enabled field in the
+ genesis object.
+
+ Storage, lookup, and manipulation of this information is
+ now in the keeper.
+
+
+ As of cosmos-sdk 0.47, this only exists for backwards
+ compatibility of genesis files.
+ default_send_enabled:
+ type: 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
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- option:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- example: 'yes'
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ value:
+ type: string
+ format: byte
+ tags:
+ - Query
+ /cosmos/bank/v1beta1/send_enabled:
+ get:
+ summary: SendEnabled queries for SendEnabled entries.
+ description: >-
+ This query only returns denominations that have specific SendEnabled
+ settings.
+
+ Any denomination that does not have a specific setting will use the
+ default
+
+ params.default_send_enabled, and will not be returned by this query.
+
+
+ Since: cosmos-sdk 0.47
+ operationId: SendEnabled
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
+ send_enabled:
type: array
items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
+ type: object
+ properties:
+ denom:
+ type: string
+ enabled:
+ type: boolean
+ description: >-
+ SendEnabled maps coin denom to a send_enabled status
+ (whether a denom is
+
+ sendable).
+ pagination:
+ description: >-
+ pagination defines the pagination in the response. This field
+ is only
+
+ populated if the denoms field in the request is empty.
type: object
properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ next_key:
type: string
- example: '0'
- sequence:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '0'
- '400':
- description: Invalid proposal id or vote body
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/votes/{voter}:
- get:
- deprecated: true
- summary: Query vote
- description: Query vote information by proposal Id and voter address
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- - type: string
- description: Bech32 voter address
- name: voter
- required: true
- in: path
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- responses:
- '200':
- description: OK
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QuerySendEnabledResponse defines the RPC response of a SendEnable
+ query.
+
+
+ Since: cosmos-sdk 0.47
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- voter:
- type: string
- proposal_id:
+ error:
type: string
- option:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- '400':
- description: Invalid proposal id or voter address
- '404':
- description: Found no vote
- '500':
- description: Internal Server Error
- /gov/proposals/{proposalId}/tally:
- get:
- deprecated: true
- summary: Get a proposal's tally result at the current time
- description: >-
- Gets a proposal's tally result at the current time. If the proposal is
- pending deposits (i.e status 'DepositPeriod') it returns an empty tally
- result.
- produces:
- - application/json
- tags:
- - Governance
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ value:
+ type: string
+ format: byte
parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- 'yes':
- type: string
- example: '0.0000000000'
- abstain:
- type: string
- example: '0.0000000000'
- 'no':
- type: string
- example: '0.0000000000'
- no_with_veto:
- type: string
- example: '0.0000000000'
- '400':
- description: Invalid proposal id
- '500':
- description: Internal Server Error
- /gov/parameters/deposit:
+ - name: denoms
+ description: >-
+ denoms is the specific denoms you want look up. Leave empty to get
+ all entries.
+ in: query
+ required: false
+ type: array
+ items:
+ type: string
+ collectionFormat: multi
+ - name: pagination.key
+ description: |-
+ key is a value returned in PageResponse.next_key to begin
+ querying the next page most efficiently. Only one of offset or key
+ should be set.
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: pagination.offset
+ description: >-
+ offset is a numeric offset that can be used when key is unavailable.
+
+ It is less efficient than using key. Only one of offset or key
+ should
+
+ be set.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.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
+ /cosmos/bank/v1beta1/spendable_balances/{address}:
get:
- deprecated: true
- summary: Query governance deposit parameters
+ summary: >-
+ SpendableBalances queries the spendable balance of all coins for a
+ single
+
+ account.
description: >-
- Query governance deposit parameters. The max_deposit_period units are in
- nanoseconds.
- produces:
- - application/json
- tags:
- - Governance
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+
+
+ Since: cosmos-sdk 0.46
+ operationId: SpendableBalances
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- min_deposit:
+ balances:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- max_deposit_period:
- type: string
- example: '86400000000000'
- '400':
- description: is not a valid query request path
- '404':
- description: Found no deposit parameters
- '500':
- description: Internal Server Error
- /gov/parameters/tallying:
- get:
- deprecated: true
- summary: Query governance tally parameters
- description: Query governance tally parameters
- produces:
- - application/json
- tags:
- - Governance
- responses:
- '200':
- description: OK
+ 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 spendable balances of all the coins.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QuerySpendableBalancesResponse defines the gRPC response structure
+ for querying
+
+ an account's spendable balances.
+
+
+ Since: cosmos-sdk 0.46
+ default:
+ description: An unexpected error response.
schema:
+ type: object
properties:
- threshold:
- type: string
- example: '0.5000000000'
- veto:
+ error:
type: string
- example: '0.3340000000'
- governance_penalty:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- example: '0.0100000000'
- '400':
- description: is not a valid query request path
- '404':
- description: Found no tally parameters
- '500':
- description: Internal Server Error
- /gov/parameters/voting:
- get:
- deprecated: true
- summary: Query governance voting parameters
- description: >-
- Query governance voting parameters. The voting_period units are in
- nanoseconds.
- produces:
- - application/json
+ 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 spendable 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
+ - 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:
- - Governance
- responses:
- '200':
- description: OK
- schema:
- properties:
- voting_period:
- type: string
- example: '86400000000000'
- '400':
- description: is not a valid query request path
- '404':
- description: Found no voting parameters
- '500':
- description: Internal Server Error
- /distribution/delegators/{delegatorAddr}/rewards:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos167w96tdvmazakdwkw2u57227eduula2cy572lf
+ - Query
+ /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom:
get:
- deprecated: true
- summary: Get the total rewards balance from all delegations
+ summary: >-
+ SpendableBalanceByDenom queries the spendable balance of a single denom
+ for
+
+ a single account.
description: >-
- Get the sum of all the rewards earned by delegations by a single
- delegator
- produces:
- - application/json
- tags:
- - Distribution
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+
+
+ Since: cosmos-sdk 0.47
+ operationId: SpendableBalanceByDenom
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- rewards:
+ 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: >-
+ QuerySpendableBalanceByDenomResponse defines the gRPC response
+ structure for
+
+ querying an account's spendable balance for a specific denom.
+
+
+ Since: cosmos-sdk 0.47
+ 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:
- validator_address:
+ type_url:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- reward:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- total:
+ 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: query
+ required: false
+ type: string
+ tags:
+ - Query
+ /cosmos/bank/v1beta1/supply:
+ get:
+ summary: TotalSupply queries the total supply of all coins.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: TotalSupply
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ supply:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Withdraw all the delegator's delegation rewards
- description: Withdraw all the delegator's delegation rewards
- tags:
- - Distribution
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: Withdraw request body
- schema:
- properties:
- base_req:
+ 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.
+
+ Since: cosmos-sdk 0.43
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
+ next_key:
type: string
- example: '200000'
- gas_adjustment:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- responses:
- '200':
- description: OK
+ 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:
- msg:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid delegator address
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /distribution/delegators/{delegatorAddr}/rewards/{validatorAddr}:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Query a delegation reward
- description: Query a single delegation reward by a delegator
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Withdraw a delegation reward
- description: Withdraw a delegator's delegation reward from a single validator
- tags:
- - Distribution
- consumes:
- - application/json
- produces:
- - application/json
+ type: object
+ properties:
+ type_url:
+ type: string
+ value:
+ type: string
+ format: byte
parameters:
- - in: body
- name: Withdraw request body
- schema:
- properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid delegator address or delegation body
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /distribution/delegators/{delegatorAddr}/withdraw_address:
- parameters:
- - in: path
- name: delegatorAddr
- description: Bech32 AccAddress of Delegator
- required: true
- type: string
- x-example: cosmos167w96tdvmazakdwkw2u57227eduula2cy572lf
+ - 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
+ /cosmos/bank/v1beta1/supply/by_denom:
get:
- deprecated: true
- summary: Get the rewards withdrawal address
+ summary: SupplyOf queries the supply of a single coin.
description: >-
- Get the delegations' rewards withdrawal address. This is the address in
- which the user will receive the reward funds
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- '400':
- description: Invalid delegator address
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Replace the rewards withdrawal address
- description: Replace the delegations' rewards withdrawal address for a new one.
- tags:
- - Distribution
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: Withdraw request body
- schema:
- properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
- withdraw_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: SupplyOf
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
+ amount:
type: object
properties:
- gas:
+ denom:
type: string
amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
type: string
- example: '0'
- '400':
- description: Invalid delegator or withdraw address
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /distribution/validators/{validatorAddr}:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Validator distribution information
- description: Query the distribution information of a single validator
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
+ 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:
- operator_address:
+ error:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- self_bond_rewards:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- val_commission:
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- denom:
+ type_url:
type: string
- example: stake
- amount:
+ value:
type: string
- example: '50'
- '400':
- description: Invalid validator address
- '500':
- description: Internal Server Error
- /distribution/validators/{validatorAddr}/outstanding_rewards:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- get:
- deprecated: true
- summary: Fee distribution outstanding rewards of a single validator
+ format: byte
+ parameters:
+ - name: denom
+ description: denom is the coin denom to query balances for.
+ in: query
+ required: false
+ type: string
tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '500':
- description: Internal Server Error
- /distribution/validators/{validatorAddr}/rewards:
- parameters:
- - in: path
- name: validatorAddr
- description: Bech32 OperatorAddress of validator
- required: true
- type: string
- x-example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
+ - Query
+ /cosmos/base/tendermint/v1beta1/abci_query:
get:
- deprecated: true
- summary: Commission and self-delegation rewards of a single validator
- description: Query the commission and self-delegation rewards of validator.
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '400':
- description: Invalid validator address
- '500':
- description: Internal Server Error
- post:
- deprecated: true
- summary: Withdraw the validator's rewards
- description: Withdraw the validator's self-delegation and commissions rewards
- tags:
- - Distribution
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: Withdraw request body
- schema:
- properties:
- base_req:
- type: object
- properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in
- conjunction with generate_only)
+ summary: >-
+ ABCIQuery defines a query handler that supports ABCI queries directly to
+ the
+
+ application, bypassing Tendermint completely. The ABCI query must
+ contain
+
+ a valid and supported path, including app, custom, p2p, and store.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: ABCIQuery
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
+ code:
+ type: integer
+ format: int64
+ log:
+ type: string
+ info:
+ type: string
+ index:
+ type: string
+ format: int64
+ key:
+ type: string
+ format: byte
+ value:
+ type: string
+ format: byte
+ proof_ops:
type: object
properties:
- gas:
- type: string
- amount:
+ ops:
type: array
items:
type: object
properties:
- denom:
+ type:
type: string
- example: stake
- amount:
+ key:
type: string
- example: '50'
- memo:
- type: string
- signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- '400':
- description: Invalid validator address
- '401':
- description: Key password is wrong
- '500':
- description: Internal Server Error
- /distribution/community_pool:
- get:
- deprecated: true
- summary: Community pool parameters
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- '500':
- description: Internal Server Error
- /distribution/parameters:
- get:
- deprecated: true
- summary: Fee distribution parameters
- tags:
- - Distribution
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- properties:
- base_proposer_reward:
- type: string
- bonus_proposer_reward:
+ format: byte
+ data:
+ type: string
+ format: byte
+ description: >-
+ ProofOp defines an operation used for calculating Merkle
+ root. The data could
+
+ be arbitrary format, providing necessary data for
+ example neighbouring node
+
+ hash.
+
+
+ Note: This type is a duplicate of the ProofOp proto type
+ defined in Tendermint.
+ description: >-
+ ProofOps is Merkle proof defined by the list of ProofOps.
+
+
+ Note: This type is a duplicate of the ProofOps proto type
+ defined in Tendermint.
+ height:
type: string
- community_tax:
+ format: int64
+ codespace:
type: string
- '500':
- description: Internal Server Error
- /minting/parameters:
- get:
- deprecated: true
- summary: Minting module parameters
- tags:
- - Mint
- produces:
- - application/json
- responses:
- '200':
- description: OK
+ description: >-
+ ABCIQueryResponse defines the response structure for the ABCIQuery
+ gRPC query.
+
+
+ Note: This type is a duplicate of the ResponseQuery proto type
+ defined in
+
+ Tendermint.
+ default:
+ description: An unexpected error response.
schema:
+ type: object
properties:
- mint_denom:
- type: string
- inflation_rate_change:
- type: string
- inflation_max:
- type: string
- inflation_min:
- type: string
- goal_bonded:
+ error:
type: string
- blocks_per_year:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- '500':
- description: Internal Server Error
- /minting/inflation:
- get:
- deprecated: true
- summary: Current minting inflation value
- tags:
- - Mint
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: string
- '500':
- description: Internal Server Error
- /minting/annual-provisions:
- get:
- deprecated: true
- summary: Current minting annual provisions value
- tags:
- - Mint
- produces:
- - application/json
- responses:
- '200':
- description: OK
- schema:
- type: string
- '500':
- description: Internal Server Error
- /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:
+ details:
type: array
items:
type: object
@@ -8615,7 +8977,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -8625,13 +8987,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -8653,7 +9018,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -8690,461 +9054,1147 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- title: accounts are the existing accounts
- pagination:
- description: pagination defines the pagination in the response.
+ parameters:
+ - name: data
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: path
+ in: query
+ required: false
+ type: string
+ - name: height
+ in: query
+ required: false
+ type: string
+ format: int64
+ - name: prove
+ in: query
+ required: false
+ type: boolean
+ tags:
+ - Service
+ /cosmos/base/tendermint/v1beta1/blocks/latest:
+ get:
+ summary: GetLatestBlock returns the latest block.
+ operationId: GetLatestBlock
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ block_id:
type: object
properties:
- next_key:
+ hash:
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
-
- protocol buffer message. This string must contain at
- least
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ block:
+ title: 'Deprecated: please use `sdk_block` instead'
+ type: object
+ properties:
+ header:
+ type: object
+ properties:
+ version:
+ title: basic block info
+ type: object
+ properties:
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ description: >-
+ Consensus captures the consensus rules for processing
+ a block in the blockchain,
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
-
- protocol buffer message. This string must contain at least
-
- one "/" character. The last segment of the URL's path must
- represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in a
- canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary all
- types that they
-
- expect it to use in the context of Any. However, for URLs
- which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
- * If no scheme is provided, `https` is assumed.
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ This means that block.AppHash does not include these
+ txs.
+ title: >-
+ Data contains the set of transactions included in the
+ block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- Note: this functionality is not currently available in the
- official
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
- protobuf release, and it is not used for type URLs
- beginning with
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- type.googleapis.com.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a
+ validator signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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,
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ including all blockchain data structures
+ and the rules of the application's
- used 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
-
- URL that describes the type of the serialized message.
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a
+ block was committed by a set of
+ validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a
+ set of validators attempting to mislead a light
+ client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by
+ a set of validators.
+ sdk_block:
+ title: 'Since: cosmos-sdk 0.47'
+ 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
- Protobuf library provides support to pack/unpack Any values in
- the form
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer
+ address, formatted as a Bech32 string.
- of utility functions or additional generated methods of the
- Any type.
+ In Tendermint, this type is `bytes`, but in the SDK,
+ we convert it to a Bech32 string
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
- Example 1: Pack and unpack a message in C++.
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ This means that block.AppHash does not include these
+ txs.
+ title: >-
+ Data contains the set of transactions included in the
+ block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- Example 2: Pack and unpack a message in Java.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- Example 3: Pack and unpack a message in Python.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by default
- use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the last
- '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with an
-
- additional field `@type` which contains the type URL. Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding a
- field
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a
+ validator signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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,
- `value` which holds the custom JSON in addition to the `@type`
+ including all blockchain data structures
+ and the rules of the application's
- field. Example (for message [google.protobuf.Duration][]):
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a
+ block was committed by a set of
+ validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a
+ set of validators attempting to mislead a light
+ client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by
+ a set of validators.
+ description: >-
+ Block is tendermint type Block, with the Header proposer
+ address
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ field converted to bech32 string.
description: >-
- QueryAccountResponse is the response type for the Query/Account
- RPC method.
+ GetLatestBlockResponse is the response type for the
+ Query/GetLatestBlock RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9257,7 +10307,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -9267,13 +10317,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -9295,7 +10348,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -9332,951 +10384,1409 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- parameters:
- - name: address
- description: address defines the address to query for.
- in: path
- required: true
- type: string
tags:
- - Query
- /cosmos/auth/v1beta1/params:
+ - Service
+ /cosmos/base/tendermint/v1beta1/blocks/{height}:
get:
- summary: Params queries all parameters.
- operationId: AuthParams
+ summary: GetBlockByHeight queries block for given height.
+ operationId: GetBlockByHeight
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- params:
- description: params defines the parameters of the module.
+ block_id:
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:
+ hash:
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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
+ format: byte
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ block:
+ title: 'Deprecated: please use `sdk_block` instead'
+ type: object
+ properties:
+ header:
+ type: object
+ properties:
+ version:
+ title: basic block info
+ type: object
+ properties:
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ description: >-
+ Consensus captures the consensus rules for processing
+ a block in the blockchain,
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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.
+ 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:
+ 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
+ title: BlockID
+ 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.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
- NOTE: The amount field is an Int which implements the custom
- method
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- 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
+ This means that block.AppHash does not include these
+ txs.
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
+ Data contains the set of transactions included in the
+ block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- a count of the total number of items available for pagination in
- UIs.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
- count_total is only respected when offset is used. It is ignored
- when key
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- 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.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a
+ validator signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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,
- NOTE: The amount field is an Int which implements the custom
- method
+ including all blockchain data structures
+ and the rules of the application's
- 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.
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a
+ block was committed by a set of
+ validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a
+ set of validators attempting to mislead a light
+ client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by
+ a set of validators.
+ sdk_block:
+ title: 'Since: cosmos-sdk 0.47'
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
+ 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,
- 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.
+ including all blockchain data structures and the rules
+ of the application's
- It is less efficient than using key. Only one of offset or key
- should
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer
+ address, formatted as a Bech32 string.
- 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.
+ In Tendermint, this type is `bytes`, but in the SDK,
+ we convert it to a Bech32 string
- 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
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
- a count of the total number of items available for pagination in
- UIs.
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- count_total is only respected when offset is used. It is ignored
- when key
+ This means that block.AppHash does not include these
+ txs.
+ title: >-
+ Data contains the set of transactions included in the
+ block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
- 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.
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
+
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed
+ message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or
+ commit vote from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a
+ validator signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a
+ block was committed by a set of
+ validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a
+ set of validators attempting to mislead a light
+ client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by
+ a set of validators.
+ description: >-
+ Block is tendermint type Block, with the Header proposer
+ address
+
+ field converted to bech32 string.
+ description: >-
+ GetBlockByHeightResponse is the response type for the
+ Query/GetBlockByHeight RPC method.
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- metadatas:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- description:
+ type_url:
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
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
- raise the base_denom to in order to equal the
- given DenomUnit's denom
+ protocol buffer message. This string must contain at
+ least
- 1 denom = 1^exponent base_denom
+ one "/" character. The last segment of the URL's path
+ must represent
- (e.g. with a base_denom of uatom, one can create a
- DenomUnit of 'atom' with
+ the fully qualified name of the type (as in
- 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
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- 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
+ (e.g., leading "." is not accepted).
- 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
+ In practice, teams usually precompile into the binary
+ all types that they
- 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
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
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.
+ 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
- It is less efficient than using key. Only one of offset or key
- should
+ URL that describes the type of the serialized message.
- 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
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- a count of the total number of items available for pagination in
- UIs.
+ of utility functions or additional generated methods of the
+ Any type.
- 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
+ Example 1: Pack and unpack a message in C++.
- raise the base_denom to in order to equal the given
- DenomUnit's denom
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- 1 denom = 1^exponent base_denom
+ Example 2: Pack and unpack a message in Java.
- (e.g. with a base_denom of uatom, one can create a
- DenomUnit of 'atom' with
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- 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
+ Example 3: Pack and unpack a message in Python.
- 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
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- 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
+ Example 4: Pack and unpack a message in Go
- 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
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
parameters:
- - name: denom
- description: denom is the coin denom to query the metadata for.
+ - name: height
in: path
required: true
type: string
+ format: int64
tags:
- - Query
- /cosmos/bank/v1beta1/params:
+ - Service
+ /cosmos/base/tendermint/v1beta1/node_info:
get:
- summary: Params queries the parameters of x/bank module.
- operationId: BankParams
+ summary: GetNodeInfo queries the current node info.
+ operationId: GetNodeInfo
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- params:
+ default_node_info:
type: object
properties:
- send_enabled:
+ protocol_version:
+ type: object
+ properties:
+ p2p:
+ type: string
+ format: uint64
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ default_node_id:
+ type: string
+ listen_addr:
+ type: string
+ network:
+ type: string
+ version:
+ type: string
+ channels:
+ type: string
+ format: byte
+ moniker:
+ type: string
+ other:
+ type: object
+ properties:
+ tx_index:
+ type: string
+ rpc_address:
+ type: string
+ application_version:
+ type: object
+ properties:
+ name:
+ type: string
+ app_name:
+ type: string
+ version:
+ type: string
+ git_commit:
+ type: string
+ build_tags:
+ type: string
+ go_version:
+ type: string
+ build_deps:
type: array
items:
type: object
properties:
- denom:
+ path:
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.
+ title: module path
+ version:
+ type: string
+ title: module version
+ sum:
+ type: string
+ title: checksum
+ title: Module is the type for VersionInfo
+ cosmos_sdk_version:
+ type: string
+ title: 'Since: cosmos-sdk 0.43'
+ description: VersionInfo is the type for the GetNodeInfoResponse message.
description: >-
- QueryParamsResponse defines the response type for querying x/bank
- parameters.
+ GetNodeInfoResponse is the response type for the Query/GetNodeInfo
+ RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -10294,172 +11804,197 @@ paths:
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.
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+ protocol buffer message. This string must contain at
+ least
- NOTE: The amount field is an Int which implements the custom
- method
+ one "/" character. The last segment of the URL's path
+ must represent
- 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
+ the fully qualified name of the type (as in
- was set, its value is undefined otherwise
- title: >-
- QueryTotalSupplyResponse is the response type for the
- Query/TotalSupply RPC
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- 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
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
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.
+ 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
- It is less efficient than using key. Only one of offset or key
- should
+ URL that describes the type of the serialized message.
- 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
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- a count of the total number of items available for pagination in
- UIs.
+ of utility functions or additional generated methods of the
+ Any type.
- 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
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
tags:
- - Query
- /cosmos/bank/v1beta1/supply/{denom}:
+ - Service
+ /cosmos/base/tendermint/v1beta1/syncing:
get:
- summary: SupplyOf queries the supply of a single coin.
- operationId: SupplyOf
+ summary: GetSyncing queries node syncing.
+ operationId: GetSyncing
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.
+ syncing:
+ type: boolean
description: >-
- QuerySupplyOfResponse is the response type for the Query/SupplyOf
+ GetSyncingResponse is the response type for the Query/GetSyncing
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -10477,617 +12012,441 @@ paths:
properties:
type_url:
type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
value:
type: string
format: byte
- parameters:
- - name: denom
- description: denom is the coin denom to query balances for.
- in: path
- required: true
- type: string
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
tags:
- - Query
- /cosmos/base/tendermint/v1beta1/blocks/latest:
+ - Service
+ /cosmos/base/tendermint/v1beta1/validatorsets/latest:
get:
- summary: GetLatestBlock returns the latest block.
- operationId: GetLatestBlock
+ summary: GetLatestValidatorSet queries latest validator-set.
+ operationId: GetLatestValidatorSet
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- block_id:
- 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
- title: BlockID
- block:
- type: object
- properties:
- header:
- type: object
- properties:
- version:
- title: basic block info
- type: object
- properties:
- block:
- type: string
- format: uint64
- app:
- type: string
- format: uint64
- description: >-
- Consensus captures the consensus rules for processing
- a block in the blockchain,
+ block_height:
+ type: string
+ format: int64
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ pub_key:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
- including all blockchain data structures and the rules
- of the application's
+ protocol buffer message. This string must contain at
+ least
- state transition machine.
- chain_id:
- type: string
- height:
- type: string
- format: int64
- time:
- type: string
- format: date-time
- last_block_id:
- 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
- title: BlockID
- 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.
- data:
- type: object
- properties:
- txs:
- type: array
- items:
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used with implementation specific semantics.
+ value:
type: string
format: byte
- description: >-
- Txs that will be applied by state @ block.Height+1.
+ 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
- NOTE: not all txs here are valid. We're just agreeing
- on the order first.
+ URL that describes the type of the serialized message.
- This means that block.AppHash does not include these
- txs.
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ pagination:
+ description: pagination defines an pagination for the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
title: >-
- Data contains the set of transactions included in the
- block
- evidence:
- type: object
- properties:
- evidence:
- type: array
- items:
- type: object
- properties:
- duplicate_vote_evidence:
- type: object
- properties:
- vote_a:
- type: object
- properties:
- type:
- type: string
- enum:
- - SIGNED_MSG_TYPE_UNKNOWN
- - SIGNED_MSG_TYPE_PREVOTE
- - SIGNED_MSG_TYPE_PRECOMMIT
- - SIGNED_MSG_TYPE_PROPOSAL
- default: SIGNED_MSG_TYPE_UNKNOWN
- description: >-
- SignedMsgType is a type of signed
- message in the consensus.
+ total is total number of results available if
+ PageRequest.count_total
- - SIGNED_MSG_TYPE_PREVOTE: Votes
- - SIGNED_MSG_TYPE_PROPOSAL: Proposals
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- timestamp:
- type: string
- format: date-time
- validator_address:
- type: string
- format: byte
- validator_index:
- type: integer
- format: int32
- signature:
- type: string
- format: byte
- description: >-
- Vote represents a prevote, precommit, or
- commit vote from validators for
+ was set, its value is undefined otherwise
+ description: >-
+ GetLatestValidatorSetResponse is the response type for the
+ Query/GetValidatorSetByHeight RPC method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ 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
- consensus.
- vote_b:
- type: object
- properties:
- type:
- type: string
- enum:
- - SIGNED_MSG_TYPE_UNKNOWN
- - SIGNED_MSG_TYPE_PREVOTE
- - SIGNED_MSG_TYPE_PRECOMMIT
- - SIGNED_MSG_TYPE_PROPOSAL
- default: SIGNED_MSG_TYPE_UNKNOWN
- description: >-
- SignedMsgType is a type of signed
- message in the consensus.
+ protocol buffer message. This string must contain at
+ least
- - SIGNED_MSG_TYPE_PREVOTE: Votes
- - SIGNED_MSG_TYPE_PROPOSAL: Proposals
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- timestamp:
- type: string
- format: date-time
- validator_address:
- type: string
- format: byte
- validator_index:
- type: integer
- format: int32
- signature:
- type: string
- format: byte
- description: >-
- Vote represents a prevote, precommit, or
- commit vote from validators for
+ one "/" character. The last segment of the URL's path
+ must represent
- consensus.
- total_voting_power:
- type: string
- format: int64
- validator_power:
- type: string
- format: int64
- timestamp:
- type: string
- format: date-time
- description: >-
- DuplicateVoteEvidence contains evidence of a
- validator signed two conflicting votes.
- light_client_attack_evidence:
- type: object
- properties:
- conflicting_block:
- type: object
- properties:
- signed_header:
- 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,
+ the fully qualified name of the type (as in
- 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:
- 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
- title: BlockID
- 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.
- commit:
- type: object
- properties:
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- signatures:
- type: array
- items:
- type: object
- properties:
- block_id_flag:
- type: string
- enum:
- - BLOCK_ID_FLAG_UNKNOWN
- - BLOCK_ID_FLAG_ABSENT
- - BLOCK_ID_FLAG_COMMIT
- - BLOCK_ID_FLAG_NIL
- default: BLOCK_ID_FLAG_UNKNOWN
- title: >-
- BlockIdFlag indicates which BlcokID the
- signature is for
- validator_address:
- type: string
- format: byte
- timestamp:
- type: string
- format: date-time
- signature:
- type: string
- format: byte
- description: >-
- CommitSig is a part of the Vote included
- in a Commit.
- description: >-
- Commit contains the evidence that a
- block was committed by a set of
- validators.
- validator_set:
- type: object
- properties:
- validators:
- type: array
- items:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- proposer:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- total_voting_power:
- type: string
- format: int64
- common_height:
- type: string
- format: int64
- byzantine_validators:
- type: array
- items:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- total_voting_power:
- type: string
- format: int64
- timestamp:
- type: string
- format: date-time
- description: >-
- LightClientAttackEvidence contains evidence of a
- set of validators attempting to mislead a light
- client.
- last_commit:
- type: object
- properties:
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- signatures:
- type: array
- items:
- type: object
- properties:
- block_id_flag:
- type: string
- enum:
- - BLOCK_ID_FLAG_UNKNOWN
- - BLOCK_ID_FLAG_ABSENT
- - BLOCK_ID_FLAG_COMMIT
- - BLOCK_ID_FLAG_NIL
- default: BLOCK_ID_FLAG_UNKNOWN
- title: >-
- BlockIdFlag indicates which BlcokID the
- signature is for
- validator_address:
- type: string
- format: byte
- timestamp:
- type: string
- format: date-time
- signature:
- type: string
- format: byte
- description: >-
- CommitSig is a part of the Vote included in a
- Commit.
- description: >-
- Commit contains the evidence that a block was committed by
- a set of validators.
- description: >-
- GetLatestBlockResponse is the response type for the
- Query/GetLatestBlock 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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
(e.g., leading "." is not accepted).
@@ -11169,7 +12528,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -11179,13 +12538,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -11207,7 +12569,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -11244,855 +12605,295 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
+ 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:
- Service
- /cosmos/base/tendermint/v1beta1/blocks/{height}:
+ /cosmos/base/tendermint/v1beta1/validatorsets/{height}:
get:
- summary: GetBlockByHeight queries block for given height.
- operationId: GetBlockByHeight
+ summary: GetValidatorSetByHeight queries validator-set at a given height.
+ operationId: GetValidatorSetByHeight
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- block_id:
- 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
- title: BlockID
- block:
- type: object
- properties:
- header:
- type: object
- properties:
- version:
- title: basic block info
- type: object
- properties:
- block:
- type: string
- format: uint64
- app:
- type: string
- format: uint64
- description: >-
- Consensus captures the consensus rules for processing
- a block in the blockchain,
+ block_height:
+ type: string
+ format: int64
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ pub_key:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
- including all blockchain data structures and the rules
- of the application's
+ protocol buffer message. This string must contain at
+ least
- state transition machine.
- chain_id:
- type: string
- height:
- type: string
- format: int64
- time:
- type: string
- format: date-time
- last_block_id:
- 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
- title: BlockID
- 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.
- data:
- type: object
- properties:
- txs:
- type: array
- items:
- type: string
- format: byte
- description: >-
- Txs that will be applied by state @ block.Height+1.
+ one "/" character. The last segment of the URL's
+ path must represent
- NOTE: not all txs here are valid. We're just agreeing
- on the order first.
+ the fully qualified name of the type (as in
- This means that block.AppHash does not include these
- txs.
- title: >-
- Data contains the set of transactions included in the
- block
- evidence:
- type: object
- properties:
- evidence:
- type: array
- items:
- type: object
- properties:
- duplicate_vote_evidence:
- type: object
- properties:
- vote_a:
- type: object
- properties:
- type:
- type: string
- enum:
- - SIGNED_MSG_TYPE_UNKNOWN
- - SIGNED_MSG_TYPE_PREVOTE
- - SIGNED_MSG_TYPE_PRECOMMIT
- - SIGNED_MSG_TYPE_PROPOSAL
- default: SIGNED_MSG_TYPE_UNKNOWN
- description: >-
- SignedMsgType is a type of signed
- message in the consensus.
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
- - SIGNED_MSG_TYPE_PREVOTE: Votes
- - SIGNED_MSG_TYPE_PROPOSAL: Proposals
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- timestamp:
- type: string
- format: date-time
- validator_address:
- type: string
- format: byte
- validator_index:
- type: integer
- format: int32
- signature:
- type: string
- format: byte
- description: >-
- Vote represents a prevote, precommit, or
- commit vote from validators for
+ (e.g., leading "." is not accepted).
- consensus.
- vote_b:
- type: object
- properties:
- type:
- type: string
- enum:
- - SIGNED_MSG_TYPE_UNKNOWN
- - SIGNED_MSG_TYPE_PREVOTE
- - SIGNED_MSG_TYPE_PRECOMMIT
- - SIGNED_MSG_TYPE_PROPOSAL
- default: SIGNED_MSG_TYPE_UNKNOWN
- description: >-
- SignedMsgType is a type of signed
- message in the consensus.
- - SIGNED_MSG_TYPE_PREVOTE: Votes
- - SIGNED_MSG_TYPE_PROPOSAL: Proposals
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- timestamp:
- type: string
- format: date-time
- validator_address:
- type: string
- format: byte
- validator_index:
- type: integer
- format: int32
- signature:
- type: string
- format: byte
- description: >-
- Vote represents a prevote, precommit, or
- commit vote from validators for
+ In practice, teams usually precompile into the
+ binary all types that they
- consensus.
- total_voting_power:
- type: string
- format: int64
- validator_power:
- type: string
- format: int64
- timestamp:
- type: string
- format: date-time
- description: >-
- DuplicateVoteEvidence contains evidence of a
- validator signed two conflicting votes.
- light_client_attack_evidence:
- type: object
- properties:
- conflicting_block:
- type: object
- properties:
- signed_header:
- 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,
+ expect it to use in the context of Any. However, for
+ URLs which use the
- including all blockchain data structures
- and the rules of the application's
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
- state transition machine.
- chain_id:
- type: string
- height:
- type: string
- format: int64
- time:
- type: string
- format: date-time
- last_block_id:
- 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
- title: BlockID
- 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.
- commit:
- type: object
- properties:
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- signatures:
- type: array
- items:
- type: object
- properties:
- block_id_flag:
- type: string
- enum:
- - BLOCK_ID_FLAG_UNKNOWN
- - BLOCK_ID_FLAG_ABSENT
- - BLOCK_ID_FLAG_COMMIT
- - BLOCK_ID_FLAG_NIL
- default: BLOCK_ID_FLAG_UNKNOWN
- title: >-
- BlockIdFlag indicates which BlcokID the
- signature is for
- validator_address:
- type: string
- format: byte
- timestamp:
- type: string
- format: date-time
- signature:
- type: string
- format: byte
- description: >-
- CommitSig is a part of the Vote included
- in a Commit.
- description: >-
- Commit contains the evidence that a
- block was committed by a set of
- validators.
- validator_set:
- type: object
- properties:
- validators:
- type: array
- items:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- proposer:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- total_voting_power:
- type: string
- format: int64
- common_height:
- type: string
- format: int64
- byzantine_validators:
- type: array
- items:
- type: object
- properties:
- address:
- type: string
- format: byte
- pub_key:
- type: object
- properties:
- ed25519:
- type: string
- format: byte
- secp256k1:
- type: string
- format: byte
- title: >-
- PublicKey defines the keys available for
- use with Tendermint Validators
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- total_voting_power:
- type: string
- format: int64
- timestamp:
- type: string
- format: date-time
- description: >-
- LightClientAttackEvidence contains evidence of a
- set of validators attempting to mislead a light
- client.
- last_commit:
- type: object
- properties:
- height:
- type: string
- format: int64
- round:
- type: integer
- format: int32
- block_id:
- 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
- title: BlockID
- signatures:
- type: array
- items:
- type: object
- properties:
- block_id_flag:
- type: string
- enum:
- - BLOCK_ID_FLAG_UNKNOWN
- - BLOCK_ID_FLAG_ABSENT
- - BLOCK_ID_FLAG_COMMIT
- - BLOCK_ID_FLAG_NIL
- default: BLOCK_ID_FLAG_UNKNOWN
- title: >-
- BlockIdFlag indicates which BlcokID the
- signature is for
- validator_address:
- type: string
- format: byte
- timestamp:
- type: string
- format: date-time
- signature:
- type: string
- format: byte
- description: >-
- CommitSig is a part of the Vote included in a
- Commit.
- description: >-
- Commit contains the evidence that a block was committed by
- a set of validators.
- description: >-
- GetBlockByHeightResponse is the response type for the
- Query/GetBlockByHeight 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
+ server that maps type URLs to message definitions as
+ follows:
- protocol buffer message. This string must contain at
- least
- one "/" character. The last segment of the URL's path
- must represent
+ * If no scheme is provided, `https` is assumed.
- the fully qualified name of the type (as in
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ Note: this functionality is not currently available
+ in the official
- (e.g., leading "." is not accepted).
+ protobuf release, and it is not used for type URLs
+ beginning with
+ type.googleapis.com.
- In practice, teams usually precompile into the binary
- all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ used 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
- server that maps type URLs to message definitions as
- follows:
+ URL that describes the type of the serialized message.
- * If no scheme is provided, `https` is assumed.
+ Protobuf library provides support to pack/unpack Any
+ values in the form
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ of utility functions or additional generated methods of
+ the Any type.
- Note: this functionality is not currently available in
- the official
- protobuf release, and it is not used for type URLs
- beginning with
+ Example 1: Pack and unpack a message in C++.
- type.googleapis.com.
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+ Example 2: Pack and unpack a message in Java.
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- used 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
+ Example 3: Pack and unpack a message in Python.
- URL that describes the type of the serialized message.
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+ Example 4: Pack and unpack a message in Go
- Protobuf library provides support to pack/unpack Any values
- in the form
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- of utility functions or additional generated methods of the
- Any type.
+ The pack methods provided by protobuf library will by
+ default use
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
- Example 1: Pack and unpack a message in C++.
+ methods only use the fully qualified type name after the
+ last '/'
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
- Example 2: Pack and unpack a message in Java.
+ name "y.z".
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
- Example 3: Pack and unpack a message in Python.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ JSON
- Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
+ The JSON representation of an `Any` value uses the
+ regular
- representation of the deserialized, embedded message, with
- an
+ representation of the deserialized, embedded message,
+ with an
- additional field `@type` which contains the type URL.
- Example:
+ additional field `@type` which contains the type URL.
+ Example:
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- If the embedded message type is well-known and has a custom
- JSON
+ If the embedded message type is well-known and has a
+ custom JSON
- representation, that representation will be embedded adding
- a field
+ representation, that representation will be embedded
+ adding a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ `value` which holds the custom JSON in addition to the
+ `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ field. Example (for message
+ [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- parameters:
- - name: height
- in: path
- required: true
- type: string
- format: int64
- tags:
- - Service
- /cosmos/base/tendermint/v1beta1/node_info:
- get:
- summary: GetNodeInfo queries the current node info.
- operationId: GetNodeInfo
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- default_node_info:
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ pagination:
+ description: pagination defines an pagination for the response.
type: object
properties:
- protocol_version:
- type: object
- properties:
- p2p:
- type: string
- format: uint64
- block:
- type: string
- format: uint64
- app:
- type: string
- format: uint64
- default_node_id:
- type: string
- listen_addr:
- type: string
- network:
- type: string
- version:
- type: string
- channels:
+ next_key:
type: string
format: byte
- moniker:
- type: string
- other:
- type: object
- properties:
- tx_index:
- type: string
- rpc_address:
- type: string
- application_version:
- type: object
- properties:
- name:
- type: string
- app_name:
- type: string
- version:
- type: string
- git_commit:
- type: string
- build_tags:
- type: string
- go_version:
- type: string
- build_deps:
- type: array
- items:
- type: object
- properties:
- path:
- type: string
- title: module path
- version:
- type: string
- title: module version
- sum:
- type: string
- title: checksum
- title: Module is the type for VersionInfo
- cosmos_sdk_version:
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- description: VersionInfo is the type for the GetNodeInfoResponse message.
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
description: >-
- GetNodeInfoResponse is the request type for the Query/GetNodeInfo
- RPC method.
+ GetValidatorSetByHeightResponse is the response type for the
+ Query/GetValidatorSetByHeight RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -12205,7 +13006,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -12215,13 +13016,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -12243,7 +13047,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -12280,26 +13083,106 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
+ parameters:
+ - name: height
+ in: path
+ required: true
+ type: string
+ format: int64
+ - name: pagination.key
+ description: |-
+ key is a value returned in PageResponse.next_key to begin
+ querying the next page most efficiently. Only one of offset or key
+ should be set.
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: pagination.offset
+ description: >-
+ offset is a numeric offset that can be used when key is unavailable.
+
+ It is less efficient than using key. Only one of offset or key
+ should
+
+ be set.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.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:
- Service
- /cosmos/base/tendermint/v1beta1/syncing:
+ /cosmos/distribution/v1beta1/community_pool:
get:
- summary: GetSyncing queries node syncing.
- operationId: GetSyncing
+ summary: CommunityPool queries the community pool coins.
+ operationId: CommunityPool
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- syncing:
- type: boolean
- format: boolean
+ 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: >-
- GetSyncingResponse is the response type for the Query/GetSyncing
+ QueryCommunityPoolResponse is the response type for the
+ Query/CommunityPool
+
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -12317,405 +13200,76 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
tags:
- - Service
- /cosmos/base/tendermint/v1beta1/validatorsets/latest:
+ - Query
+ /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards:
get:
- summary: GetLatestValidatorSet queries latest validator-set.
- operationId: GetLatestValidatorSet
+ summary: |-
+ DelegationTotalRewards queries the total rewards accrued by a each
+ validator.
+ operationId: DelegationTotalRewards
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- block_height:
- type: string
- format: int64
- validators:
+ rewards:
type: array
items:
type: object
properties:
- address:
+ validator_address:
type: string
- pub_key:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the
- type of the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's
- path must represent
+ 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.
- the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
+ NOTE: The amount field is an Dec which implements the
+ custom method
- (e.g., leading "." is not accepted).
+ 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.
- In practice, teams usually precompile into the
- binary all types that they
+ NOTE: The amount field is an Dec which implements the custom
+ method
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available
- in the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods of
- the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the
- regular
-
- representation of the deserialized, embedded message,
- with an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message
- [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- voting_power:
- type: string
- format: int64
- proposer_priority:
- type: string
- format: int64
- description: Validator is the type for the validator-set.
- pagination:
- description: pagination defines an pagination for the response.
- type: object
- properties:
- 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: >-
- GetLatestValidatorSetResponse is the response type for the
- Query/GetValidatorSetByHeight RPC 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -12733,461 +13287,152 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used with implementation specific semantics.
value:
type: string
format: byte
- description: >-
- Must be a valid serialized protocol buffer of the above
- specified type.
+ 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: >-
- `Any` contains an arbitrary serialized protocol buffer
- message along with a
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
+ DecCoin defines a token with a denomination and a decimal
+ amount.
- `value` which holds the custom JSON in addition to the
- `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ NOTE: The amount field is an Dec which implements the custom
+ method
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ 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: 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
+ - name: delegator_address
+ description: delegator_address defines the delegator address to query for.
+ in: path
+ required: true
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
+ - name: validator_address
+ description: validator_address defines the validator address to query for.
+ in: path
+ required: true
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:
- - Service
- /cosmos/base/tendermint/v1beta1/validatorsets/{height}:
+ - Query
+ /cosmos/distribution/v1beta1/delegators/{delegator_address}/validators:
get:
- summary: GetValidatorSetByHeight queries validator-set at a given height.
- operationId: GetValidatorSetByHeight
+ summary: DelegatorValidators queries the validators of a delegator.
+ operationId: DelegatorValidators
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- block_height:
- type: string
- format: int64
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:
- address:
+ type_url:
type: string
- pub_key:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the
- type of the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's
- path must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the
- binary all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available
- in the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods of
- the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the
- regular
-
- representation of the deserialized, embedded message,
- with an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message
- [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- voting_power:
- type: string
- format: int64
- proposer_priority:
+ value:
type: string
- format: int64
- description: Validator is the type for the validator-set.
- pagination:
- description: pagination defines an pagination for the response.
- type: object
- properties:
- 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: >-
- GetValidatorSetByHeightResponse is the response type for the
- Query/GetValidatorSetByHeight RPC method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13205,275 +13450,54 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
parameters:
- - name: height
+ - name: delegator_address
+ description: delegator_address defines the delegator address to query for.
in: path
required: true
type: string
- format: int64
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.limit
- description: >-
- limit is the total number of results to be returned in the result
- page.
-
- If left empty it will default to a value to be set by each app.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.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:
- - Service
- /cosmos/distribution/v1beta1/community_pool:
+ - Query
+ /cosmos/distribution/v1beta1/params:
get:
- summary: CommunityPool queries the community pool coins.
- operationId: CommunityPool
+ summary: Params queries params of the distribution module.
+ operationId: DistributionParams
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.
-
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ community_tax:
+ type: string
+ base_proposer_reward:
+ type: string
+ description: >-
+ Deprecated: The base_proposer_reward field is deprecated
+ and is no longer used
- NOTE: The amount field is an Dec which implements the custom
- method
+ in the x/distribution module's reward mechanism.
+ bonus_proposer_reward:
+ type: string
+ description: >-
+ Deprecated: The bonus_proposer_reward field is deprecated
+ and is no longer used
- signatures required by gogoproto.
- description: pool defines community pool's coins.
+ in the x/distribution module's reward mechanism.
+ withdraw_addr_enabled:
+ type: boolean
description: >-
- QueryCommunityPoolResponse is the response type for the
- Query/CommunityPool
-
- RPC method.
+ QueryParamsResponse is the response type for the Query/Params RPC
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13496,48 +13520,41 @@ paths:
format: byte
tags:
- Query
- /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards:
+ /cosmos/distribution/v1beta1/validators/{validator_address}:
get:
- summary: |-
- DelegationTotalRewards queries the total rewards accrued by a each
- validator.
- operationId: DelegationTotalRewards
+ summary: >-
+ ValidatorDistributionInfo queries validator commission and
+ self-delegation rewards for validator
+ operationId: ValidatorDistributionInfo
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- rewards:
+ operator_address:
+ type: string
+ description: operator_address defines the validator operator address.
+ self_bond_rewards:
type: array
items:
type: object
properties:
- validator_address:
+ denom:
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.
+ 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
+ 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:
+ signatures required by gogoproto.
+ description: self_bond_rewards defines the self delegations rewards.
+ commission:
type: array
items:
type: object
@@ -13555,12 +13572,12 @@ paths:
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.
+ description: commission defines the commission the validator received.
+ description: >-
+ QueryValidatorDistributionInfoResponse is the response type for
+ the Query/ValidatorDistributionInfo RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13582,73 +13599,6 @@ paths:
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
@@ -13656,152 +13606,6 @@ paths:
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.
@@ -13813,7 +13617,7 @@ paths:
type: object
properties:
commission:
- description: commission defines the commision the validator received.
+ description: commission defines the commission the validator received.
type: object
properties:
commission:
@@ -13838,7 +13642,7 @@ paths:
QueryValidatorCommissionResponse is the response type for the
Query/ValidatorCommission RPC method
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13910,7 +13714,7 @@ paths:
Query/ValidatorOutstandingRewards RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13977,9 +13781,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -13992,7 +13797,7 @@ paths:
QueryValidatorSlashesResponse is the response type for the
Query/ValidatorSlashes RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -14081,15 +13886,16 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
/cosmos/evidence/v1beta1/evidence:
@@ -14204,7 +14010,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14214,13 +14020,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -14242,7 +14051,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14287,9 +14095,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -14304,7 +14113,7 @@ paths:
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -14417,7 +14226,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14427,13 +14236,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -14455,7 +14267,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14539,18 +14350,19 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
- /cosmos/evidence/v1beta1/evidence/{evidence_hash}:
+ /cosmos/evidence/v1beta1/evidence/{hash}:
get:
summary: Evidence queries evidence based on evidence hash.
operationId: Evidence
@@ -14659,7 +14471,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14669,13 +14481,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -14697,7 +14512,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14735,7 +14549,7 @@ paths:
QueryEvidenceResponse is the response type for the Query/Evidence
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -14848,7 +14662,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14858,13 +14672,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -14886,7 +14703,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14924,11 +14740,21 @@ paths:
"value": "1.212s"
}
parameters:
- - name: evidence_hash
- description: evidence_hash defines the hash of the requested evidence.
+ - name: hash
+ description: |-
+ hash defines the evidence hash of the requested evidence.
+
+ Since: cosmos-sdk 0.47
in: path
required: true
type: string
+ - name: evidence_hash
+ description: |-
+ evidence_hash defines the hash of the requested evidence.
+ Deprecated: Use hash, a HEX encoded string, instead.
+ in: query
+ required: false
+ type: string
format: byte
tags:
- Query
@@ -14948,7 +14774,7 @@ paths:
properties:
voting_period:
type: string
- description: Length of the voting period.
+ description: Duration of the voting period.
deposit_params:
description: deposit_params defines the parameters related to deposit.
type: object
@@ -14976,7 +14802,8 @@ paths:
description: >-
Maximum period for Atom holders to deposit on a proposal.
Initial value: 2
- months.
+
+ months.
tally_params:
description: tally_params defines the parameters related to tally.
type: object
@@ -14987,7 +14814,8 @@ paths:
description: >-
Minimum percentage of total stake needed to vote for a
result to be
- considered valid.
+
+ considered valid.
threshold:
type: string
format: byte
@@ -15000,12 +14828,13 @@ paths:
description: >-
Minimum value of Veto votes to Total votes ratio for
proposal to be
- vetoed. Default value: 1/3.
+
+ vetoed. Default value: 1/3.
description: >-
QueryParamsResponse is the response type for the Query/Params RPC
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -15118,7 +14947,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15128,13 +14957,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -15156,7 +14988,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15223,6 +15054,7 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
content:
type: object
properties:
@@ -15323,7 +15155,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15333,13 +15165,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -15361,7 +15196,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the
regular
@@ -15401,6 +15235,7 @@ paths:
"value": "1.212s"
}
status:
+ description: status defines the proposal status.
type: string
enum:
- PROPOSAL_STATUS_UNSPECIFIED
@@ -15410,41 +15245,41 @@ paths:
- PROPOSAL_STATUS_REJECTED
- PROPOSAL_STATUS_FAILED
default: PROPOSAL_STATUS_UNSPECIFIED
+ final_tally_result:
description: >-
- ProposalStatus enumerates the valid statuses of a
- proposal.
+ final_tally_result is the final tally result of the
+ proposal. When
- - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
- - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
- period.
- - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
- period.
- - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
- passed.
- - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
- been rejected.
- - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
- failed.
- final_tally_result:
+ querying a proposal via gRPC, this field is not
+ populated until the
+
+ proposal's voting period has ended.
type: object
properties:
'yes':
type: string
+ description: yes is the number of yes votes on a proposal.
abstain:
type: string
+ description: >-
+ abstain is the number of abstain votes on a
+ proposal.
'no':
type: string
+ description: no is the number of no votes on a proposal.
no_with_veto:
type: string
- description: >-
- TallyResult defines a standard tally for a governance
- proposal.
+ description: >-
+ no_with_veto is the number of no with veto votes on
+ a proposal.
submit_time:
type: string
format: date-time
+ description: submit_time is the time of proposal submission.
deposit_end_time:
type: string
format: date-time
+ description: deposit_end_time is the end time for deposition.
total_deposit:
type: array
items:
@@ -15463,15 +15298,21 @@ paths:
custom method
signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
voting_start_time:
type: string
format: date-time
+ description: >-
+ voting_start_time is the starting time to vote on a
+ proposal.
voting_end_time:
type: string
format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
description: >-
Proposal defines the core field members of a governance
proposal.
+ description: proposals defines all the requested governance proposals.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -15479,9 +15320,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -15496,7 +15338,7 @@ paths:
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -15609,7 +15451,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15619,13 +15461,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -15647,7 +15492,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15689,7 +15533,7 @@ paths:
description: |-
proposal_status defines the status of the proposals.
- - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
+ - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
- PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
period.
- PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
@@ -15767,15 +15611,16 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
/cosmos/gov/v1beta1/proposals/{proposal_id}:
@@ -15794,6 +15639,7 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
content:
type: object
properties:
@@ -15894,7 +15740,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15904,13 +15750,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -15932,7 +15781,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15970,6 +15818,7 @@ paths:
"value": "1.212s"
}
status:
+ description: status defines the proposal status.
type: string
enum:
- PROPOSAL_STATUS_UNSPECIFIED
@@ -15979,41 +15828,39 @@ paths:
- PROPOSAL_STATUS_REJECTED
- PROPOSAL_STATUS_FAILED
default: PROPOSAL_STATUS_UNSPECIFIED
+ final_tally_result:
description: >-
- ProposalStatus enumerates the valid statuses of a
- proposal.
+ final_tally_result is the final tally result of the
+ proposal. When
- - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
- - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
- period.
- - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
- period.
- - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
- passed.
- - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
- been rejected.
- - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
- failed.
- final_tally_result:
+ querying a proposal via gRPC, this field is not populated
+ until the
+
+ proposal's voting period has ended.
type: object
properties:
'yes':
type: string
+ description: yes is the number of yes votes on a proposal.
abstain:
type: string
+ description: abstain is the number of abstain votes on a proposal.
'no':
type: string
+ description: no is the number of no votes on a proposal.
no_with_veto:
type: string
- description: >-
- TallyResult defines a standard tally for a governance
- proposal.
+ description: >-
+ no_with_veto is the number of no with veto votes on a
+ proposal.
submit_time:
type: string
format: date-time
+ description: submit_time is the time of proposal submission.
deposit_end_time:
type: string
format: date-time
+ description: deposit_end_time is the end time for deposition.
total_deposit:
type: array
items:
@@ -16031,12 +15878,17 @@ paths:
custom method
signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
voting_start_time:
type: string
format: date-time
+ description: >-
+ voting_start_time is the starting time to vote on a
+ proposal.
voting_end_time:
type: string
format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
description: >-
Proposal defines the core field members of a governance
proposal.
@@ -16044,7 +15896,7 @@ paths:
QueryProposalResponse is the response type for the Query/Proposal
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -16157,7 +16009,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16167,275 +16019,287 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ any, err := anypb.New(foo)
+ if err != nil {
...
}
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
+ type: string
+ description: >-
+ depositor defines the deposit addresses from the
+ proposals.
+ 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: amount to be deposited by depositor.
+ description: >-
+ Deposit defines an amount deposited by an account address to
+ an active
+
+ proposal.
+ description: deposits defines the requested deposits.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -16457,7 +16321,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -16547,15 +16410,16 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}:
@@ -16576,8 +16440,12 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
depositor:
type: string
+ description: >-
+ depositor defines the deposit addresses from the
+ proposals.
amount:
type: array
items:
@@ -16595,6 +16463,7 @@ paths:
custom method
signatures required by gogoproto.
+ description: amount to be deposited by depositor.
description: >-
Deposit defines an amount deposited by an account address to
an active
@@ -16604,7 +16473,7 @@ paths:
QueryDepositResponse is the response type for the Query/Deposit
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -16717,7 +16586,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16727,13 +16596,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -16755,7 +16627,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -16817,24 +16688,28 @@ paths:
type: object
properties:
tally:
+ description: tally defines the requested tally.
type: object
properties:
'yes':
type: string
+ description: yes is the number of yes votes on a proposal.
abstain:
type: string
+ description: abstain is the number of abstain votes on a proposal.
'no':
type: string
+ description: no is the number of no votes on a proposal.
no_with_veto:
type: string
- description: >-
- TallyResult defines a standard tally for a governance
- proposal.
+ description: >-
+ no_with_veto is the number of no with veto votes on a
+ proposal.
description: >-
QueryTallyResultResponse is the response type for the Query/Tally
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -16947,7 +16822,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16957,13 +16832,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -16985,7 +16863,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -17049,8 +16926,10 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
voter:
type: string
+ description: voter is the voter address of the proposal.
option:
description: >-
Deprecated: Prefer to use `options` instead. This field
@@ -17075,6 +16954,9 @@ paths:
type: object
properties:
option:
+ description: >-
+ option defines the valid vote options, it must not
+ contain duplicate vote options.
type: string
enum:
- VOTE_OPTION_UNSPECIFIED
@@ -17083,26 +16965,27 @@ paths:
- VOTE_OPTION_NO
- VOTE_OPTION_NO_WITH_VETO
default: VOTE_OPTION_UNSPECIFIED
- description: >-
- VoteOption enumerates the valid vote options for a
- given governance proposal.
-
- - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
- - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
- - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
- - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
- - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
weight:
type: string
+ description: >-
+ weight is the vote weight associated with the vote
+ option.
description: >-
WeightedVoteOption defines a unit of vote for vote
split.
+
+
+ Since: cosmos-sdk 0.43
+ description: |-
+ options is the weighted vote options.
+
+ Since: cosmos-sdk 0.43
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.
+ description: votes defines the queried votes.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -17110,9 +16993,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -17125,7 +17009,7 @@ paths:
QueryVotesResponse is the response type for the Query/Votes RPC
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -17238,7 +17122,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17248,13 +17132,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -17276,7 +17163,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -17366,15 +17252,16 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}:
@@ -17393,8 +17280,10 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
voter:
type: string
+ description: voter is the voter address of the proposal.
option:
description: >-
Deprecated: Prefer to use `options` instead. This field is
@@ -17419,6 +17308,9 @@ paths:
type: object
properties:
option:
+ description: >-
+ option defines the valid vote options, it must not
+ contain duplicate vote options.
type: string
enum:
- VOTE_OPTION_UNSPECIFIED
@@ -17427,20 +17319,21 @@ paths:
- VOTE_OPTION_NO
- VOTE_OPTION_NO_WITH_VETO
default: VOTE_OPTION_UNSPECIFIED
- description: >-
- VoteOption enumerates the valid vote options for a
- given governance proposal.
-
- - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
- - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
- - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
- - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
- - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
weight:
type: string
+ description: >-
+ weight is the vote weight associated with the vote
+ option.
description: >-
WeightedVoteOption defines a unit of vote for vote
split.
+
+
+ Since: cosmos-sdk 0.43
+ description: |-
+ options is the weighted vote options.
+
+ Since: cosmos-sdk 0.43
description: >-
Vote defines a vote on a governance proposal.
@@ -17450,7 +17343,7 @@ paths:
QueryVoteResponse is the response type for the Query/Vote RPC
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -17563,7 +17456,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17573,13 +17466,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -17601,7 +17497,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -17646,253 +17541,149 @@ paths:
type: string
format: uint64
- name: voter
- description: voter defines the oter address for the proposals.
+ description: voter defines the voter 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:
+ /cosmos/gov/v1/params/{params_type}:
get:
- summary: Params returns the total set of minting parameters.
- operationId: MintParams
+ summary: Params queries all parameters of the gov module.
+ operationId: GovV1Params
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- params:
- description: params defines the parameters of the module.
+ voting_params:
+ description: |-
+ Deprecated: Prefer to use `params` instead.
+ voting_params defines the parameters related to voting.
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:
+ voting_period:
type: string
- title: goal of percent bonded atoms
- blocks_per_year:
+ description: Duration of the voting period.
+ deposit_params:
+ description: |-
+ Deprecated: Prefer to use `params` instead.
+ 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
- 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.
+ description: >-
+ Maximum period for Atom holders to deposit on a proposal.
+ Initial value: 2
+
+ months.
+ tally_params:
+ description: |-
+ Deprecated: Prefer to use `params` instead.
+ tally_params defines the parameters related to tally.
type: object
properties:
- subspace:
+ quorum:
type: string
- key:
+ description: >-
+ Minimum percentage of total stake needed to vote for a
+ result to be
+
+ considered valid.
+ threshold:
type: string
- value:
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass.
+ Default value: 0.5.
+ veto_threshold:
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:
+ description: >-
+ Minimum value of Veto votes to Total votes ratio for
+ proposal to be
+
+ vetoed. Default value: 1/3.
params:
+ description: |-
+ params defines all the paramaters of x/gov module.
+
+ Since: cosmos-sdk 0.47
type: object
properties:
- signed_blocks_window:
+ 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
- format: int64
- min_signed_per_window:
+ description: >-
+ Maximum period for Atom holders to deposit on a proposal.
+ Initial value: 2
+
+ months.
+ voting_period:
type: string
- format: byte
- downtime_jail_duration:
+ description: Duration of the voting period.
+ quorum:
type: string
- slash_fraction_double_sign:
+ description: >-
+ Minimum percentage of total stake needed to vote for a
+ result to be
+ considered valid.
+ threshold:
type: string
- format: byte
- slash_fraction_downtime:
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass.
+ Default value: 0.5.
+ veto_threshold:
type: string
- format: byte
- description: >-
- Params represents the parameters used for by the slashing
- module.
- title: >-
+ description: >-
+ Minimum value of Veto votes to Total votes ratio for
+ proposal to be
+ vetoed. Default value: 1/3.
+ min_initial_deposit_ratio:
+ type: string
+ description: >-
+ The ratio representing the proportion of the deposit value
+ that must be paid at proposal submission.
+ description: >-
QueryParamsResponse is the response type for the Query/Params RPC
- method
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -17910,351 +17701,489 @@ paths:
properties:
type_url:
type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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/slashing/v1beta1/signing_infos:
+ /cosmos/gov/v1/proposals:
get:
- summary: SigningInfos queries signing info of all validators
- operationId: SigningInfos
+ summary: Proposals queries all proposals based on given status.
+ operationId: GovV1Proposal
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- info:
+ proposals:
type: array
items:
type: object
properties:
- address:
- type: string
- start_height:
+ id:
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
+ format: uint64
+ description: id defines the unique id of the proposal.
+ messages:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
- in a block and may have signed a precommit or not. This
- in conjunction with the
+ protocol buffer message. This string must contain
+ at least
- `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
+ one "/" character. The last segment of the URL's
+ path must represent
- 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.
+ the fully qualified name of the type (as in
- Note that `Sum(MissedBlocksBitArray)` always equals
- `MissedBlocksCounter`.
- description: >-
- ValidatorSigningInfo defines a validator's signing info for
- monitoring their
+ `path/google.protobuf.Duration`). The name should
+ be in a canonical form
- 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
+ (e.g., leading "." is not accepted).
- was set, its value is undefined otherwise
- description: >-
- PageResponse is to be embedded in gRPC response messages where
- the
- corresponding request message has used PageRequest.
+ In practice, teams usually precompile into the
+ binary all types that they
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: >-
- QuerySigningInfosResponse is the response type for the
- Query/SigningInfos RPC
+ expect it to use in the context of Any. However,
+ for URLs which use the
- 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.
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
- It is less efficient than using key. Only one of offset or key
- should
+ server that maps type URLs to message definitions
+ as follows:
- 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
+ * If no scheme is provided, `https` is assumed.
- a count of the total number of items available for pagination in
- UIs.
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- count_total is only respected when offset is used. It is ignored
- when key
+ Note: this functionality is not currently
+ available in the official
- 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
+ protobuf release, and it is not used for type URLs
+ beginning with
- in a block and may have signed a precommit or not. This in
- conjunction with the
+ type.googleapis.com.
- `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.
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
- Note that `Sum(MissedBlocksBitArray)` always equals
- `MissedBlocksCounter`.
- description: >-
- ValidatorSigningInfo defines a validator's signing info for
- monitoring their
+ used 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
- 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
+ URL that describes the type of the serialized message.
- 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:
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods
+ of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL
+ and the unpack
+
+ methods only use the fully qualified type name after
+ the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ messages are the arbitrary messages to be executed if
+ the proposal passes.
+ status:
+ description: status defines the proposal status.
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.
+ 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
+ final_tally_result:
description: >-
- Delegation represents the bond with tokens held by an
- account. It is
+ final_tally_result is the final tally result of the
+ proposal. When
- owned by one delegator, and is associated with the
- voting power of one
+ querying a proposal via gRPC, this field is not
+ populated until the
- validator.
- balance:
+ proposal's voting period has ended.
type: object
properties:
- denom:
+ yes_count:
type: string
- amount:
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
type: string
- description: >-
- Coin defines a token with a denomination and an amount.
+ description: >-
+ abstain_count is the number of abstain votes on a
+ proposal.
+ no_count:
+ type: string
+ description: no_count is the number of no votes on a proposal.
+ no_with_veto_count:
+ type: string
+ description: >-
+ no_with_veto_count is the number of no with veto
+ votes on a proposal.
+ submit_time:
+ type: string
+ format: date-time
+ description: submit_time is the time of proposal submission.
+ deposit_end_time:
+ type: string
+ format: date-time
+ description: deposit_end_time is the end time for deposition.
+ 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
+ NOTE: The amount field is an Int which implements the
+ custom method
- signatures required by gogoproto.
+ signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
+ voting_start_time:
+ type: string
+ format: date-time
+ description: >-
+ voting_start_time is the starting time to vote on a
+ proposal.
+ voting_end_time:
+ type: string
+ format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the
+ proposal.
+ title:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: title is the title of the proposal
+ summary:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: summary is a short summary of the proposal
+ proposer:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: Proposer is the address of the proposal sumbitter
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.
+ Proposal defines the core field members of a governance
+ proposal.
+ description: proposals defines all the requested governance proposals.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -18262,9 +18191,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -18273,11 +18203,13 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- description: |-
- QueryDelegatorDelegationsResponse is response type for the
- Query/DelegatorDelegations RPC method.
+ description: >-
+ QueryProposalsResponse is the response type for the
+ Query/Proposals RPC
+
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -18390,7 +18322,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18400,13 +18332,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -18428,7 +18363,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -18466,10 +18400,41 @@ paths:
"value": "1.212s"
}
parameters:
- - name: delegator_addr
- description: delegator_addr defines the delegator address to query for.
- in: path
- required: true
+ - name: proposal_status
+ description: |-
+ proposal_status defines the status of the proposals.
+
+ - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
+ - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
+ period.
+ - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
+ period.
+ - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
+ passed.
+ - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
+ been rejected.
+ - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
+ failed.
+ 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: |-
@@ -18517,165 +18482,318 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
- /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations:
+ /cosmos/gov/v1/proposals/{proposal_id}:
get:
- summary: Redelegations queries redelegations of given address.
- operationId: Redelegations
+ summary: Proposal queries proposal details based on ProposalID.
+ operationId: GovV1Proposal
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- redelegation_responses:
- type: array
- items:
- type: object
- properties:
- redelegation:
+ proposal:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id defines the unique id of the proposal.
+ messages:
+ type: array
+ items:
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_url:
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
+ A URL/resource name that uniquely identifies the
+ type of the serialized
- 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
+ protocol buffer message. This string must contain at
+ least
- contains a balance in addition to shares which is more
- suitable for client
+ one "/" character. The last segment of the URL's
+ path must represent
- responses.
- description: >-
- RedelegationResponse is equivalent to a Redelegation except
- that its entries
+ the fully qualified name of the type (as in
- contain a balance in addition to shares which is more
- suitable for client
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
- responses.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ messages are the arbitrary messages to be executed if the
+ proposal passes.
+ status:
+ description: status defines the proposal status.
type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ 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
+ final_tally_result:
+ description: >-
+ final_tally_result is the final tally result of the
+ proposal. When
+
+ querying a proposal via gRPC, this field is not populated
+ until the
+
+ proposal's voting period has ended.
+ type: object
+ properties:
+ yes_count:
+ type: string
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
+ type: string
+ description: >-
+ abstain_count is the number of abstain votes on a
+ proposal.
+ no_count:
+ type: string
+ description: no_count is the number of no votes on a proposal.
+ no_with_veto_count:
+ type: string
+ description: >-
+ no_with_veto_count is the number of no with veto votes
+ on a proposal.
+ submit_time:
type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ format: date-time
+ description: submit_time is the time of proposal submission.
+ deposit_end_time:
+ type: string
+ format: date-time
+ description: deposit_end_time is the end time for deposition.
+ 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.
- was set, its value is undefined otherwise
- description: >-
- QueryRedelegationsResponse is response type for the
- Query/Redelegations RPC
- method.
+ NOTE: The amount field is an Int which implements the
+ custom method
+
+ signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
+ voting_start_time:
+ type: string
+ format: date-time
+ description: >-
+ voting_start_time is the starting time to vote on a
+ proposal.
+ voting_end_time:
+ type: string
+ format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the
+ proposal.
+ title:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: title is the title of the proposal
+ summary:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: summary is a short summary of the proposal
+ proposer:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: Proposer is the address of the proposal sumbitter
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -18788,7 +18906,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18798,13 +18916,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -18826,7 +18947,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -18864,143 +18984,63 @@ paths:
"value": "1.212s"
}
parameters:
- - name: delegator_addr
- description: delegator_addr defines the delegator address to query for.
+ - name: proposal_id
+ description: proposal_id defines the unique id of the proposal.
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:
+ /cosmos/gov/v1/proposals/{proposal_id}/deposits:
get:
- summary: >-
- DelegatorUnbondingDelegations queries all unbonding delegations of a
- given
-
- delegator address.
- operationId: DelegatorUnbondingDelegations
+ summary: Deposits queries all deposits of a single proposal.
+ operationId: GovV1Deposit
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- unbonding_responses:
+ deposits:
type: array
items:
type: object
properties:
- delegator_address:
+ proposal_id:
type: string
- description: >-
- delegator_address is the bech32-encoded address of the
- delegator.
- validator_address:
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
type: string
description: >-
- validator_address is the bech32-encoded address of the
- validator.
- entries:
+ depositor defines the deposit addresses from the
+ proposals.
+ amount:
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:
+ denom:
type: string
- description: >-
- initial_balance defines the tokens initially
- scheduled to receive at completion.
- balance:
+ amount:
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.
+ 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: amount to be deposited by depositor.
description: >-
- UnbondingDelegation stores all of a single delegator's
- unbonding bonds
+ Deposit defines an amount deposited by an account address to
+ an active
- for a single validator in an time-ordered list.
+ proposal.
+ description: deposits defines the requested deposits.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -19008,9 +19048,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -19020,12 +19061,10 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryUnbondingDelegatorDelegationsResponse is response type for
- the
-
- Query/UnbondingDelegatorDelegations RPC method.
+ QueryDepositsResponse is the response type for the Query/Deposits
+ RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -19138,7 +19177,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19148,13 +19187,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -19176,7 +19218,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -19214,11 +19255,12 @@ paths:
"value": "1.212s"
}
parameters:
- - name: delegator_addr
- description: delegator_addr defines the delegator address to query for.
+ - 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
@@ -19265,366 +19307,308 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
- /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators:
+ /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}:
get:
- summary: |-
- DelegatorValidators queries all validators info for given delegator
- address.
- operationId: StakingDelegatorValidators
+ summary: >-
+ Deposit queries single deposit information based proposalID,
+ depositAddr.
+ operationId: GovV1Deposit
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validators:
+ deposit:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
+ type: string
+ description: >-
+ depositor defines the deposit addresses from the
+ proposals.
+ 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: amount to be deposited by depositor.
+ 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:
- operator_address:
+ type_url:
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
+ A URL/resource name that uniquely identifies the type of
+ the serialized
- protocol buffer message. This string must contain at
- least
+ protocol buffer message. This string must contain at
+ least
- one "/" character. The last segment of the URL's
- path must represent
+ one "/" character. The last segment of the URL's path
+ must represent
- the fully qualified name of the type (as in
+ the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- (e.g., leading "." is not accepted).
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the
- binary all types that they
+ In practice, teams usually precompile into the binary
+ all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ expect it to use in the context of Any. However, for
+ URLs which use the
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
- server that maps type URLs to message definitions as
- follows:
+ server that maps type URLs to message definitions as
+ follows:
- * If no scheme is provided, `https` is assumed.
+ * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- Note: this functionality is not currently available
- in the official
+ Note: this functionality is not currently available in
+ the official
- protobuf release, and it is not used for type URLs
- beginning with
+ protobuf release, and it is not used for type URLs
+ beginning with
- type.googleapis.com.
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty
- scheme) might be
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
- used with implementation specific semantics.
- value:
- type: string
- format: byte
- description: >-
- Must be a valid serialized protocol buffer of the
- above specified type.
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
description: >-
- `Any` contains an arbitrary serialized protocol buffer
- message along with a
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods of
- the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Must be a valid serialized protocol buffer of the above
+ specified type.
+ description: >-
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- Example 2: Pack and unpack a message in Java.
+ URL that describes the type of the serialized message.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
- Example 3: Pack and unpack a message in Python.
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ of utility functions or additional generated methods of the
+ Any type.
- Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ Example 1: Pack and unpack a message in C++.
- The pack methods provided by protobuf library will by
- default use
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
+ Example 2: Pack and unpack a message in Java.
- methods only use the fully qualified type name after the
- last '/'
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
+ Example 3: Pack and unpack a message in Python.
- name "y.z".
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+ Example 4: Pack and unpack a message in Go
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- JSON
+ The pack methods provided by protobuf library will by
+ default use
- ====
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- The JSON representation of an `Any` value uses the
- regular
+ methods only use the fully qualified type name after the
+ last '/'
- representation of the deserialized, embedded message,
- with an
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- additional field `@type` which contains the type URL.
- Example:
+ name "y.z".
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
- If the embedded message type is well-known and has a
- custom JSON
+ JSON
- representation, that representation will be embedded
- adding a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ The JSON representation of an `Any` value uses the regular
- field. Example (for message
- [google.protobuf.Duration][]):
+ representation of the deserialized, embedded message, with
+ an
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
+ additional field `@type` which contains the type URL.
+ Example:
- Validator's bond shares and their exchange rate to coins.
- Slashing results in
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- a decrease in the exchange rate, allowing correct
- calculation of future
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- undelegations without iterating over delegators. When coins
- are delegated to
+ If the embedded message type is well-known and has a custom
+ JSON
- this validator, the validator is credited with a delegation
- whose number of
+ representation, that representation will be embedded adding
+ a field
- bond shares is based on the amount of coins delegated
- divided by the current
+ `value` which holds the custom JSON in addition to the
+ `@type`
- exchange rate. Voting power can be calculated as total
- bonded shares
+ field. Example (for message [google.protobuf.Duration][]):
- multiplied by exchange rate.
- description: validators defines the the validators' info of a delegator.
- pagination:
- description: pagination defines the pagination in the response.
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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/v1/proposals/{proposal_id}/tally:
+ get:
+ summary: TallyResult queries the tally of a proposal vote.
+ operationId: GovV1TallyResult
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ tally:
+ description: tally defines the requested tally.
type: object
properties:
- next_key:
+ yes_count:
type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
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.
+ description: >-
+ abstain_count is the number of abstain votes on a
+ proposal.
+ no_count:
+ type: string
+ description: no_count is the number of no votes on a proposal.
+ no_with_veto_count:
+ type: string
+ description: >-
+ no_with_veto_count is the number of no with veto votes on
+ a proposal.
+ description: >-
+ QueryTallyResultResponse is the response type for the Query/Tally
+ RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -19737,7 +19721,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19747,13 +19731,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -19775,7 +19762,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -19813,393 +19799,412 @@ paths:
"value": "1.212s"
}
parameters:
- - name: delegator_addr
- description: delegator_addr defines the delegator address to query for.
+ - name: proposal_id
+ description: proposal_id defines the unique id of the proposal.
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}:
+ /cosmos/gov/v1/proposals/{proposal_id}/votes:
get:
- summary: |-
- DelegatorValidator queries validator info for given delegator validator
- pair.
- operationId: DelegatorValidator
+ summary: Votes queries votes of a given proposal.
+ operationId: GovV1Votes
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validator:
+ votes:
+ type: array
+ items:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ voter:
+ type: string
+ description: voter is the voter address of the proposal.
+ options:
+ type: array
+ items:
+ type: object
+ properties:
+ option:
+ description: >-
+ option defines the valid vote options, it must not
+ contain duplicate vote options.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ weight:
+ type: string
+ description: >-
+ weight is the vote weight associated with the vote
+ option.
+ description: >-
+ WeightedVoteOption defines a unit of vote for vote
+ split.
+ description: options is the weighted vote options.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ vote.
+ description: >-
+ Vote defines a vote on a governance proposal.
+
+ A Vote consists of a proposal ID, the voter, and the vote
+ option.
+ description: votes defines the queried votes.
+ pagination:
+ description: pagination defines the pagination in the response.
type: object
properties:
- operator_address:
+ next_key:
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
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
- protocol buffer message. This string must contain at
- least
+ 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
- one "/" character. The last segment of the URL's path
- must represent
+ protocol buffer message. This string must contain at
+ least
- the fully qualified name of the type (as in
+ one "/" character. The last segment of the URL's path
+ must represent
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
+ the fully qualified name of the type (as in
- (e.g., leading "." is not accepted).
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the binary
- all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ In practice, teams usually precompile into the binary
+ all types that they
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
+ expect it to use in the context of Any. However, for
+ URLs which use the
- server that maps type URLs to message definitions as
- follows:
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+ server that maps type URLs to message definitions as
+ follows:
- * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * If no scheme is provided, `https` is assumed.
- Note: this functionality is not currently available in
- the official
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- protobuf release, and it is not used for type URLs
- beginning with
+ Note: this functionality is not currently available in
+ the official
- type.googleapis.com.
+ protobuf release, and it is not used for type URLs
+ beginning with
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty
- scheme) might be
- used 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
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
- URL that describes the type of the serialized message.
+ used 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
+ URL that describes the type of the serialized message.
- Protobuf library provides support to pack/unpack Any
- values in the form
- of utility functions or additional generated methods of
- the Any type.
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
- Example 1: Pack and unpack a message in C++.
+ Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ }
- Example 2: Pack and unpack a message in Java.
+ Example 2: Pack and unpack a message in Java.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- The pack methods provided by protobuf library will by
- default use
+ The pack methods provided by protobuf library will by
+ default use
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- methods only use the fully qualified type name after the
- last '/'
+ methods only use the fully qualified type name after the
+ last '/'
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- name "y.z".
+ name "y.z".
- JSON
+ JSON
- ====
- The JSON representation of an `Any` value uses the regular
+ The JSON representation of an `Any` value uses the regular
- representation of the deserialized, embedded message, with
- an
+ representation of the deserialized, embedded message, with
+ an
- additional field `@type` which contains the type URL.
- Example:
+ additional field `@type` which contains the type URL.
+ Example:
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- If the embedded message type is well-known and has a
- custom JSON
+ If the embedded message type is well-known and has a custom
+ JSON
- representation, that representation will be embedded
- adding a field
+ representation, that representation will be embedded adding
+ a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ `value` which holds the custom JSON in addition to the
+ `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ field. Example (for message [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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.
- Validator's bond shares and their exchange rate to coins.
- Slashing results in
+ It is less efficient than using key. Only one of offset or key
+ should
- a decrease in the exchange rate, allowing correct calculation
- of future
+ 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.
- undelegations without iterating over delegators. When coins
- are delegated to
+ 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
- this validator, the validator is credited with a delegation
- whose number of
+ a count of the total number of items available for pagination in
+ UIs.
- bond shares is based on the amount of coins delegated divided
- by the current
+ count_total is only respected when offset is used. It is ignored
+ when key
- exchange rate. Voting power can be calculated as total bonded
- shares
+ 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.
- multiplied by exchange rate.
- description: |-
- QueryDelegatorValidatorResponse response type for the
- Query/DelegatorValidator RPC method.
+
+ Since: cosmos-sdk 0.43
+ in: query
+ required: false
+ type: boolean
+ tags:
+ - Query
+ /cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}:
+ get:
+ summary: Vote queries voted information based on proposalID, voterAddr.
+ operationId: GovV1Vote
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ vote:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ voter:
+ type: string
+ description: voter is the voter address of the proposal.
+ options:
+ type: array
+ items:
+ type: object
+ properties:
+ option:
+ description: >-
+ option defines the valid vote options, it must not
+ contain duplicate vote options.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ weight:
+ type: string
+ description: >-
+ weight is the vote weight associated with the vote
+ option.
+ description: >-
+ WeightedVoteOption defines a unit of vote for vote
+ split.
+ description: options is the weighted vote options.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ vote.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -20312,7 +20317,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -20322,13 +20327,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -20350,7 +20358,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -20388,431 +20395,83 @@ paths:
"value": "1.212s"
}
parameters:
- - name: delegator_addr
- description: delegator_addr defines the delegator address to query for.
+ - name: proposal_id
+ description: proposal_id defines the unique id of the proposal.
in: path
required: true
type: string
- - name: validator_addr
- description: validator_addr defines the validator address to query for.
+ format: uint64
+ - name: voter
+ description: voter defines the voter address for the proposals.
in: path
required: true
type: string
tags:
- Query
- /cosmos/staking/v1beta1/historical_info/{height}:
+ /cosmos/mint/v1beta1/annual_provisions:
get:
- summary: HistoricalInfo queries the historical info for given height.
- operationId: HistoricalInfo
+ summary: AnnualProvisions current minting annual provisions value.
+ operationId: AnnualProvisions
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
-
- protocol buffer message. This string must
- contain at least
-
- one "/" character. The last segment of the URL's
- path must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name
- should be in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the
- binary all types that they
-
- expect it to use in the context of Any. However,
- for URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message
- definitions as follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup
- results based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently
- available in the official
-
- protobuf release, and it is not used for type
- URLs beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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
-
- URL that describes the type of the serialized
- message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods
- of the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will
- by default use
-
- 'type.googleapis.com/full.type.name' as the type URL
- and the unpack
-
- methods only use the fully qualified type name after
- the last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z"
- will yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the
- regular
-
- representation of the deserialized, embedded
- message, with an
-
- additional field `@type` which contains the type
- URL. Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to
- the `@type`
-
- field. Example (for message
- [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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.
+ 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: >-
- QueryHistoricalInfoResponse is response type for the
- Query/HistoricalInfo RPC
+ QueryInflationResponse is the response type for the
+ Query/Inflation RPC
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -20830,189 +20489,15 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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:
+ /cosmos/mint/v1beta1/params:
get:
- summary: Parameters queries the staking parameters.
- operationId: StakingParams
+ summary: Params returns the total set of minting parameters.
+ operationId: MintParams
responses:
'200':
description: A successful response.
@@ -21020,36 +20505,33 @@ paths:
type: object
properties:
params:
- description: params holds all the parameters of this module.
+ description: params defines the parameters of the module.
type: object
properties:
- unbonding_time:
+ mint_denom:
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:
+ title: type of coin to mint
+ inflation_rate_change:
type: string
- description: bond_denom defines the bondable coin denomination.
+ 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 response type for the Query/Params RPC
+ QueryParamsResponse is the response type for the Query/Params RPC
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -21067,199 +20549,38 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
tags:
- Query
- /cosmos/staking/v1beta1/pool:
+ /cosmos/params/v1beta1/params:
get:
- summary: Pool queries the pool info.
- operationId: Pool
+ 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:
- pool:
- description: pool defines the pool info.
+ param:
+ description: param defines the queried parameter.
type: object
properties:
- not_bonded_tokens:
+ subspace:
type: string
- bonded_tokens:
+ key:
type: string
- description: QueryPoolResponse is response type for the Query/Pool RPC method.
+ value:
+ type: string
+ description: >-
+ QueryParamsResponse is response type for the Query/Params RPC
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -21277,512 +20598,216 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a custom
- JSON
-
- representation, that representation will be embedded adding
- a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ 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/staking/v1beta1/validators:
+ /cosmos/params/v1beta1/subspaces:
get:
- summary: Validators queries all validators that match the given status.
- operationId: Validators
+ summary: >-
+ Subspaces queries for all registered subspaces and all keys for a
+ subspace.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: Subspaces
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validators:
+ subspaces:
type: array
items:
type: object
properties:
- operator_address:
+ subspace:
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
-
- protocol buffer message. This string must contain at
- least
+ keys:
+ type: array
+ items:
+ type: string
+ description: >-
+ Subspace defines a parameter subspace name and all the keys
+ that exist for
- one "/" character. The last segment of the URL's
- path must represent
+ the subspace.
- the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
+ Since: cosmos-sdk 0.46
+ description: >-
+ QuerySubspacesResponse defines the response types for querying for
+ all
- (e.g., leading "." is not accepted).
+ registered subspaces and all keys for a subspace.
- In practice, teams usually precompile into the
- binary all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available
- in the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods of
- the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the
- regular
-
- representation of the deserialized, embedded message,
- with an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message
- [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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).
+ Since: cosmos-sdk 0.46
+ 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
- enum:
- - BOND_STATUS_UNSPECIFIED
- - BOND_STATUS_UNBONDED
- - BOND_STATUS_UNBONDING
- - BOND_STATUS_BONDED
- default: BOND_STATUS_UNSPECIFIED
- tokens:
+ value:
type: string
- description: >-
- tokens define the delegated tokens (incl.
- self-delegation).
- delegator_shares:
+ format: byte
+ 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
- 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:
+ 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: >-
- unbonding_height defines, if unbonding, the height at
- which this validator has begun unbonding.
- unbonding_time:
+ 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: >-
- 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
+ Timestamp until which the validator is jailed due to
+ liveness downtime.
+ tombstoned:
+ type: boolean
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
+ Whether or not a validator has been tombstoned (killed
+ out of validator set). It is set
- bond shares is based on the amount of coins delegated
- divided by the current
+ 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.
- exchange rate. Voting power can be calculated as total
- bonded shares
+ Note that `Sum(MissedBlocksBitArray)` always equals
+ `MissedBlocksCounter`.
+ description: >-
+ ValidatorSigningInfo defines a validator's signing info for
+ monitoring their
- multiplied by exchange rate.
- description: validators contains all the queried validators.
+ liveness activity.
+ title: info is the signing info of all validators
pagination:
- description: pagination defines the pagination in the response.
type: object
properties:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -21791,11 +20816,23 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
+ description: >-
+ PageResponse is to be embedded in gRPC response messages where
+ the
+
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
title: >-
- QueryValidatorsResponse is response type for the Query/Validators
- RPC method
+ QuerySigningInfosResponse is the response type for the
+ Query/SigningInfos RPC
+
+ method
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -21813,32 +20850,303 @@ paths:
properties:
type_url:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
+ 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.
- protocol buffer message. This string must contain at
- least
+ It is less efficient than using key. Only one of offset or key
+ should
- one "/" character. The last segment of the URL's path
- must represent
+ 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.
- the fully qualified name of the type (as in
+ 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
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ a count of the total number of items available for pagination in
+ UIs.
- (e.g., leading "." is not accepted).
+ count_total is only respected when offset is used. It is ignored
+ when key
+ is set.
+ in: query
+ required: false
+ type: boolean
+ - name: pagination.reverse
+ description: >-
+ reverse is set to true if results are to be returned in the
+ descending order.
- In practice, teams usually precompile into the binary
- all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ Since: cosmos-sdk 0.43
+ in: query
+ required: false
+ type: 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
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ 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
+ 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.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
server that maps type URLs to message definitions as
follows:
@@ -21908,7 +21216,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -21918,13 +21226,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -21946,7 +21257,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -21984,10 +21294,10 @@ paths:
"value": "1.212s"
}
parameters:
- - name: status
- description: status enables to query for validators matching a given status.
- in: query
- required: false
+ - name: delegator_addr
+ description: delegator_addr defines the delegator address to query for.
+ in: path
+ required: true
type: string
- name: pagination.key
description: |-
@@ -22035,440 +21345,296 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
- /cosmos/staking/v1beta1/validators/{validator_addr}:
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations:
get:
- summary: Validator queries validator info for given validator address.
- operationId: Validator
+ summary: Redelegations queries redelegations of given address.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: Redelegations
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validator:
+ 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.
+ unbonding_id:
+ type: string
+ format: uint64
+ title: >-
+ Incrementing id that uniquely identifies this
+ entry
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ Strictly positive if this entry's unbonding
+ has been stopped by external modules
+ 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.
+ unbonding_id:
+ type: string
+ format: uint64
+ title: >-
+ Incrementing id that uniquely identifies this
+ entry
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ Strictly positive if this entry's unbonding
+ has been stopped by external modules
+ 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:
- operator_address:
+ next_key:
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
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
- protocol buffer message. This string must contain at
- least
+ was set, its value is undefined otherwise
+ description: >-
+ QueryRedelegationsResponse is response type for the
+ Query/Redelegations RPC
- one "/" character. The last segment of the URL's path
- must represent
+ 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
- the fully qualified name of the type (as in
+ protocol buffer message. This string must contain at
+ least
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
+ one "/" character. The last segment of the URL's path
+ must represent
- (e.g., leading "." is not accepted).
+ the fully qualified name of the type (as in
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- In practice, teams usually precompile into the binary
- all types that they
+ (e.g., leading "." is not accepted).
- expect it to use in the context of Any. However, for
- URLs which use the
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
+ In practice, teams usually precompile into the binary
+ all types that they
- server that maps type URLs to message definitions as
- follows:
+ expect it to use in the context of Any. However, for
+ URLs which use the
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
- * If no scheme is provided, `https` is assumed.
+ server that maps type URLs to message definitions as
+ follows:
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
- Note: this functionality is not currently available in
- the official
+ * If no scheme is provided, `https` is assumed.
- protobuf release, and it is not used for type URLs
- beginning with
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- type.googleapis.com.
+ Note: this functionality is not currently available in
+ the official
+ protobuf release, and it is not used for type URLs
+ beginning with
- Schemes other than `http`, `https` (or the empty
- scheme) might be
+ type.googleapis.com.
- used 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
- URL that describes the type of the serialized message.
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+ used 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
- Protobuf library provides support to pack/unpack Any
- values in the form
+ URL that describes the type of the serialized message.
- of utility functions or additional generated methods of
- the Any type.
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- Example 1: Pack and unpack a message in C++.
+ of utility functions or additional generated methods of the
+ Any type.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
- Example 2: Pack and unpack a message in Java.
+ Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values
- in the form
-
- of utility functions or additional generated methods of the
- Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
...
}
@@ -22481,7 +21647,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -22491,13 +21657,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -22519,7 +21688,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -22557,73 +21725,161 @@ paths:
"value": "1.212s"
}
parameters:
- - name: validator_addr
- description: validator_addr defines the validator address to query for.
+ - 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
+ - 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
- /cosmos/staking/v1beta1/validators/{validator_addr}/delegations:
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations:
get:
- summary: ValidatorDelegations queries delegate info for given validator.
- operationId: ValidatorDelegations
+ summary: >-
+ DelegatorUnbondingDelegations queries all unbonding delegations of a
+ given
+
+ delegator address.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: DelegatorUnbondingDelegations
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- delegation_responses:
+ unbonding_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.
+ delegator_address:
+ type: string
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
+ delegator_address is the bech32-encoded address of the
+ delegator.
+ validator_address:
+ 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.
+ 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.
+ unbonding_id:
+ type: string
+ format: uint64
+ title: >-
+ Incrementing id that uniquely identifies this
+ entry
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ Strictly positive if this entry's unbonding has
+ been stopped by external modules
+ description: >-
+ UnbondingDelegationEntry defines an unbonding object
+ with relevant metadata.
+ description: entries are the unbonding delegation entries.
description: >-
- DelegationResponse is equivalent to Delegation except that
- it contains a
+ UnbondingDelegation stores all of a single delegator's
+ unbonding bonds
- balance in addition to shares which is more suitable for
- client responses.
+ for a single validator in an time-ordered list.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -22631,9 +21887,10 @@ paths:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -22642,11 +21899,13 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- title: |-
- QueryValidatorDelegationsResponse is response type for the
- Query/ValidatorDelegations RPC method
+ description: >-
+ QueryUnbondingDelegatorDelegationsResponse is response type for
+ the
+
+ Query/UnbondingDelegatorDelegations RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -22759,7 +22018,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -22769,13 +22028,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -22797,7 +22059,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -22835,8 +22096,8 @@ paths:
"value": "1.212s"
}
parameters:
- - name: validator_addr
- description: validator_addr defines the validator address to query for.
+ - name: delegator_addr
+ description: delegator_addr defines the delegator address to query for.
in: path
required: true
type: string
@@ -22886,346 +22147,391 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
- format: boolean
tags:
- Query
- /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}:
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators:
get:
- summary: Delegation queries delegate info for given validator delegator pair.
- operationId: Delegation
+ summary: |-
+ DelegatorValidators queries all validators info for given delegator
+ address.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: StakingDelegatorValidators
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:
+ validators:
type: array
items:
type: object
properties:
- type_url:
+ operator_address:
type: string
description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
+ 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
- protocol buffer message. This string must contain at
- least
+ protocol buffer message. This string must contain at
+ least
- one "/" character. The last segment of the URL's path
- must represent
+ one "/" character. The last segment of the URL's
+ path must represent
- the fully qualified name of the type (as in
+ the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
- (e.g., leading "." is not accepted).
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the binary
- all types that they
+ In practice, teams usually precompile into the
+ binary all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ expect it to use in the context of Any. However, for
+ URLs which use the
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
- server that maps type URLs to message definitions as
- follows:
+ server that maps type URLs to message definitions as
+ follows:
- * If no scheme is provided, `https` is assumed.
+ * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- Note: this functionality is not currently available in
- the official
+ Note: this functionality is not currently available
+ in the official
- protobuf release, and it is not used for type URLs
- beginning with
+ protobuf release, and it is not used for type URLs
+ beginning with
- type.googleapis.com.
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
- used with implementation specific semantics.
- value:
- type: string
- format: byte
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
+ description: >-
+ Must be a valid serialized protocol buffer of the
+ above specified type.
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
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- URL that describes the type of the serialized message.
+ URL that describes the type of the serialized message.
- Protobuf library provides support to pack/unpack Any values
- in the form
+ Protobuf library provides support to pack/unpack Any
+ values in the form
- of utility functions or additional generated methods of the
- Any type.
+ of utility functions or additional generated methods of
+ the Any type.
- Example 1: Pack and unpack a message in C++.
+ Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- Example 2: Pack and unpack a message in Java.
+ Example 2: Pack and unpack a message in Java.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- The pack methods provided by protobuf library will by
- default use
+ The pack methods provided by protobuf library will by
+ default use
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
- methods only use the fully qualified type name after the
- last '/'
+ methods only use the fully qualified type name after the
+ last '/'
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
- name "y.z".
+ name "y.z".
- JSON
+ JSON
- ====
- The JSON representation of an `Any` value uses the regular
+ The JSON representation of an `Any` value uses the
+ regular
- representation of the deserialized, embedded message, with
- an
+ representation of the deserialized, embedded message,
+ with an
- additional field `@type` which contains the type URL.
- Example:
+ additional field `@type` which contains the type URL.
+ Example:
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- If the embedded message type is well-known and has a custom
- JSON
+ If the embedded message type is well-known and has a
+ custom JSON
- representation, that representation will be embedded adding
- a field
+ representation, that representation will be embedded
+ adding a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ `value` which holds the custom JSON in addition to the
+ `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ field. Example (for message
+ [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ jailed:
+ type: 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:
- creation_height:
+ moniker:
type: string
- format: int64
description: >-
- creation_height is the height which the unbonding
- took place.
- completion_time:
+ moniker defines a human-readable name for the
+ validator.
+ identity:
type: string
- format: date-time
description: >-
- completion_time is the unix time for unbonding
- completion.
- initial_balance:
+ 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: >-
- initial_balance defines the tokens initially
- scheduled to receive at completion.
- balance:
+ security_contact defines an optional email for
+ security contact.
+ details:
type: string
- description: balance defines the tokens to receive at completion.
+ description: details define other optional details.
+ unbonding_height:
+ type: string
+ format: int64
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
+ 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.
- for a single validator in an time-ordered list.
- description: >-
- QueryDelegationResponse is response type for the
- Query/UnbondingDelegation
- RPC method.
+ Since: cosmos-sdk 0.46
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ strictly positive if this validator's unbonding has been
+ stopped by external modules
+ unbonding_ids:
+ type: array
+ items:
+ type: string
+ format: uint64
+ title: >-
+ list of unbonding ids, each uniquely identifing an
+ unbonding of this validator
+ 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 validators' info of a delegator.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ QueryDelegatorValidatorsResponse is response type for the
+ Query/DelegatorValidators RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -23338,7 +22644,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23348,13 +22654,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -23376,7 +22685,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -23414,106 +22722,412 @@ paths:
"value": "1.212s"
}
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
+ - 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
- /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations:
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}:
get:
- summary: >-
- ValidatorUnbondingDelegations queries unbonding delegations of a
- validator.
- operationId: ValidatorUnbondingDelegations
+ summary: |-
+ DelegatorValidator queries validator info for given delegator validator
+ pair.
+ operationId: DelegatorValidator
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:
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ jailed:
+ type: 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:
- creation_height:
- type: string
- format: int64
- description: >-
- creation_height is the height which the unbonding
- took place.
- completion_time:
+ rate:
type: string
- format: date-time
description: >-
- completion_time is the unix time for unbonding
- completion.
- initial_balance:
+ rate is the commission rate charged to delegators,
+ as a fraction.
+ max_rate:
type: string
description: >-
- initial_balance defines the tokens initially
- scheduled to receive at completion.
- balance:
+ max_rate defines the maximum commission rate which
+ validator can ever charge, as a fraction.
+ max_change_rate:
type: string
description: >-
- balance defines the tokens to receive at
- completion.
+ max_change_rate defines the maximum daily increase
+ of the validator commission, as a fraction.
+ update_time:
+ type: string
+ format: date-time
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:
+ update_time is the last time the commission rate was
+ changed.
+ min_self_delegation:
type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ description: >-
+ min_self_delegation is the validator's self declared
+ minimum self delegation.
+
+
+ Since: cosmos-sdk 0.46
+ unbonding_on_hold_ref_count:
type: string
- format: uint64
+ format: int64
title: >-
- total is total number of results available if
- PageRequest.count_total
+ strictly positive if this validator's unbonding has been
+ stopped by external modules
+ unbonding_ids:
+ type: array
+ items:
+ type: string
+ format: uint64
+ title: >-
+ list of unbonding ids, each uniquely identifing an
+ unbonding of this validator
+ description: >-
+ Validator defines a validator, together with the total amount
+ of the
- was set, its value is undefined otherwise
- description: >-
- QueryValidatorUnbondingDelegationsResponse is response type for
- the
+ Validator's bond shares and their exchange rate to coins.
+ Slashing results in
- Query/ValidatorUnbondingDelegations RPC method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -23626,7 +23240,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23636,13 +23250,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -23664,7 +23281,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -23702,152 +23318,449 @@ paths:
"value": "1.212s"
}
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
- - 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/tx/v1beta1/simulate:
- post:
- summary: Simulate simulates executing a transaction for estimating gas usage.
- operationId: Simulate
+ /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:
- gas_info:
- description: gas_info is the information about gas used in the simulation.
+ hist:
+ description: hist defines the historical info at the given height.
type: object
properties:
- gas_wanted:
- type: string
- format: uint64
- description: >-
- GasWanted is the maximum units of work we allow this tx to
- perform.
- gas_used:
- type: string
- format: uint64
- description: GasUsed is the amount of gas actually consumed.
- result:
- description: result is the result of the simulation.
- type: object
- properties:
- data:
- type: string
- format: byte
- description: >-
- Data is any data returned from message or handler
- execution. It MUST be
+ 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,
- length prefixed in order to separate data from multiple
- message executions.
- log:
- type: string
- description: >-
- Log contains the log information from message or handler
- execution.
- events:
+ 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:
- type:
+ operator_address:
type: string
- attributes:
+ 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
+
+ protocol buffer message. This string must
+ contain at least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name
+ should be in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However,
+ for URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message
+ definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup
+ results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently
+ available in the official
+
+ protobuf release, and it is not used for type
+ URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized
+ message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods
+ of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will
+ by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL
+ and the unpack
+
+ methods only use the fully qualified type name after
+ the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z"
+ will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded
+ message, with an
+
+ additional field `@type` which contains the type
+ URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to
+ the `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ jailed:
+ type: 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.
+
+
+ Since: cosmos-sdk 0.46
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ strictly positive if this validator's unbonding has
+ been stopped by external modules
+ unbonding_ids:
type: array
items:
- type: object
- properties:
- key:
- type: string
- format: byte
- value:
- type: string
- format: byte
- index:
- type: boolean
- format: boolean
- description: >-
- EventAttribute is a single key-value pair,
- associated with an event.
+ type: string
+ format: uint64
+ title: >-
+ list of unbonding ids, each uniquely identifing an
+ unbonding of this validator
description: >-
- Event allows application developers to attach additional
- information to
+ Validator defines a validator, together with the total
+ amount of the
- ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx
- and ResponseDeliverTx.
+ Validator's bond shares and their exchange rate to
+ coins. Slashing results in
- Later, transactions may be queried using these events.
- description: >-
- Events contains a slice of Event objects that were emitted
- during message
+ a decrease in the exchange rate, allowing correct
+ calculation of future
- or handler execution.
- description: |-
- SimulateResponse is the response type for the
- Service.SimulateRPC method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -23960,7 +23873,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23970,13 +23883,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -23998,7 +23914,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24036,24 +23951,60 @@ paths:
"value": "1.212s"
}
parameters:
- - name: body
- in: body
+ - name: height
+ description: height defines at which height to query the historical info.
+ in: path
required: true
- schema:
- $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest'
+ type: string
+ format: int64
tags:
- - Service
- /cosmos/tx/v1beta1/txs:
+ - Query
+ /cosmos/staking/v1beta1/params:
get:
- summary: GetTxsEvent fetches txs by event.
- operationId: GetTxsEvent
+ summary: Parameters queries the staking parameters.
+ operationId: StakingParams
responses:
'200':
description: A successful response.
schema:
- $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse'
+ 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.
+ min_commission_rate:
+ type: string
+ title: >-
+ min_commission_rate is the chain-wide minimum commission
+ rate that a validator can charge their delegators
+ description: >-
+ QueryParamsResponse is response type for the Query/Params RPC
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -24166,7 +24117,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -24176,13 +24127,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -24204,7 +24158,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24241,375 +24194,29 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- parameters:
- - name: events
- description: events is the list of transaction event type.
- in: query
- required: false
- type: array
- items:
- type: string
- collectionFormat: multi
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.limit
- description: >-
- limit is the total number of results to be returned in the result
- page.
-
- If left empty it will default to a value to be set by each app.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.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
- - name: order_by
- description: |2-
- - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
- - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order
- - ORDER_BY_DESC: ORDER_BY_DESC defines descending order
- in: query
- required: false
- type: string
- enum:
- - ORDER_BY_UNSPECIFIED
- - ORDER_BY_ASC
- - ORDER_BY_DESC
- default: ORDER_BY_UNSPECIFIED
tags:
- - Service
- post:
- summary: BroadcastTx broadcast transaction.
- operationId: BroadcastTx
+ - Query
+ /cosmos/staking/v1beta1/pool:
+ get:
+ summary: Pool queries the pool info.
+ operationId: Pool
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- tx_response:
+ pool:
+ description: pool defines the pool info.
type: object
properties:
- height:
- type: string
- format: int64
- title: The block height
- txhash:
- type: string
- description: The transaction hash.
- codespace:
- type: string
- title: Namespace for the Code
- code:
- type: integer
- format: int64
- description: Response code.
- data:
- type: string
- description: Result bytes, if any.
- raw_log:
- type: string
- description: >-
- The output of the application's logger (raw string). May
- be
-
- non-deterministic.
- logs:
- type: array
- items:
- type: object
- properties:
- msg_index:
- type: integer
- format: int64
- log:
- type: string
- events:
- type: array
- items:
- type: object
- properties:
- type:
- type: string
- attributes:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- description: >-
- Attribute defines an attribute wrapper where
- the key and value are
-
- strings instead of raw bytes.
- description: >-
- StringEvent defines en Event object wrapper where
- all the attributes
-
- contain key/value pairs that are strings instead
- of raw bytes.
- description: >-
- Events contains a slice of Event objects that were
- emitted during some
-
- execution.
- description: >-
- ABCIMessageLog defines a structure containing an indexed
- tx ABCI message log.
- description: >-
- The output of the application's logger (typed). May be
- non-deterministic.
- info:
- type: string
- description: Additional information. May be non-deterministic.
- gas_wanted:
- type: string
- format: int64
- description: Amount of gas requested for transaction.
- gas_used:
+ not_bonded_tokens:
type: string
- format: int64
- description: Amount of gas consumed by transaction.
- tx:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type
- of the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any
- values in the form
-
- of utility functions or additional generated methods of
- the Any type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
-
- Example 3: Pack and unpack a message in Python.
-
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
-
- Example 4: Pack and unpack a message in Go
-
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
-
- The pack methods provided by protobuf library will by
- default use
-
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
-
- methods only use the fully qualified type name after the
- last '/'
-
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
-
- name "y.z".
-
-
-
- JSON
-
- ====
-
- The JSON representation of an `Any` value uses the regular
-
- representation of the deserialized, embedded message, with
- an
-
- additional field `@type` which contains the type URL.
- Example:
-
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
-
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
-
- If the embedded message type is well-known and has a
- custom JSON
-
- representation, that representation will be embedded
- adding a field
-
- `value` which holds the custom JSON in addition to the
- `@type`
-
- field. Example (for message [google.protobuf.Duration][]):
-
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- timestamp:
+ bonded_tokens:
type: string
- description: >-
- Time of the previous block. For heights > 1, it's the
- weighted median of
-
- the timestamps of the valid votes in the block.LastCommit.
- For height == 1,
-
- it's genesis time.
- description: >-
- TxResponse defines a structure containing relevant tx data and
- metadata. The
-
- tags are stringified and the log is JSON decoded.
- description: |-
- BroadcastTxResponse is the response type for the
- Service.BroadcastTx method.
+ description: QueryPoolResponse is response type for the Query/Pool RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -24722,7 +24329,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -24732,13 +24339,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -24760,7 +24370,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24797,270 +24406,379 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- parameters:
- - name: body
- in: body
- required: true
- schema:
- type: object
- properties:
- tx_bytes:
- type: string
- format: byte
- description: tx_bytes is the raw transaction.
- mode:
- type: string
- enum:
- - BROADCAST_MODE_UNSPECIFIED
- - BROADCAST_MODE_BLOCK
- - BROADCAST_MODE_SYNC
- - BROADCAST_MODE_ASYNC
- default: BROADCAST_MODE_UNSPECIFIED
- description: >-
- BroadcastMode specifies the broadcast mode for the
- TxService.Broadcast RPC method.
-
- - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
- - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
- the tx to be committed in a block.
- - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
- a CheckTx execution response only.
- - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
- immediately.
- description: >-
- BroadcastTxRequest is the request type for the
- Service.BroadcastTxRequest
-
- RPC method.
tags:
- - Service
- /cosmos/tx/v1beta1/txs/{hash}:
+ - Query
+ /cosmos/staking/v1beta1/validators:
get:
- summary: GetTx fetches a tx by hash.
- operationId: GetTx
+ summary: Validators queries all validators that match the given status.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: Validators
responses:
'200':
description: A successful response.
- schema:
- $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse'
- default:
- description: An unexpected error response
schema:
type: object
properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
+ validators:
type: array
items:
type: object
properties:
- type_url:
+ operator_address:
type: string
description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
+ 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
- protocol buffer message. This string must contain at
- least
+ protocol buffer message. This string must contain at
+ least
- one "/" character. The last segment of the URL's path
- must represent
+ one "/" character. The last segment of the URL's
+ path must represent
- the fully qualified name of the type (as in
+ the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
- (e.g., leading "." is not accepted).
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the binary
- all types that they
+ In practice, teams usually precompile into the
+ binary all types that they
- expect it to use in the context of Any. However, for
- URLs which use the
+ expect it to use in the context of Any. However, for
+ URLs which use the
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
- server that maps type URLs to message definitions as
- follows:
+ server that maps type URLs to message definitions as
+ follows:
- * If no scheme is provided, `https` is assumed.
+ * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- Note: this functionality is not currently available in
- the official
+ Note: this functionality is not currently available
+ in the official
- protobuf release, and it is not used for type URLs
- beginning with
+ protobuf release, and it is not used for type URLs
+ beginning with
- type.googleapis.com.
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
- used with implementation specific semantics.
- value:
- type: string
- format: byte
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
+ description: >-
+ Must be a valid serialized protocol buffer of the
+ above specified type.
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
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- URL that describes the type of the serialized message.
+ URL that describes the type of the serialized message.
- Protobuf library provides support to pack/unpack Any values
- in the form
+ Protobuf library provides support to pack/unpack Any
+ values in the form
- of utility functions or additional generated methods of the
- Any type.
+ of utility functions or additional generated methods of
+ the Any type.
- Example 1: Pack and unpack a message in C++.
+ Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- Example 2: Pack and unpack a message in Java.
+ Example 2: Pack and unpack a message in Java.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- The pack methods provided by protobuf library will by
- default use
+ The pack methods provided by protobuf library will by
+ default use
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
- methods only use the fully qualified type name after the
- last '/'
+ methods only use the fully qualified type name after the
+ last '/'
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
- name "y.z".
+ name "y.z".
- JSON
+ JSON
- ====
- The JSON representation of an `Any` value uses the regular
+ The JSON representation of an `Any` value uses the
+ regular
- representation of the deserialized, embedded message, with
- an
+ representation of the deserialized, embedded message,
+ with an
- additional field `@type` which contains the type URL.
- Example:
+ additional field `@type` which contains the type URL.
+ Example:
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- If the embedded message type is well-known and has a custom
- JSON
+ If the embedded message type is well-known and has a
+ custom JSON
- representation, that representation will be embedded adding
- a field
+ representation, that representation will be embedded
+ adding a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ `value` which holds the custom JSON in addition to the
+ `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ field. Example (for message
+ [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- parameters:
- - name: hash
- description: hash is the tx hash to query, encoded as a hex string.
- in: path
- required: true
- type: string
- tags:
- - Service
- /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
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ jailed:
+ type: 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.
- method.
+
+ Since: cosmos-sdk 0.46
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ strictly positive if this validator's unbonding has been
+ stopped by external modules
+ unbonding_ids:
+ type: array
+ items:
+ type: string
+ format: uint64
+ title: >-
+ list of unbonding ids, each uniquely identifing an
+ unbonding of this validator
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ title: >-
+ QueryValidatorsResponse is response type for the Query/Validators
+ RPC method
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -25173,7 +24891,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -25183,13 +24901,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -25211,7 +24932,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25249,74 +24969,88 @@ paths:
"value": "1.212s"
}
parameters:
- - name: name
- description: name is the name of the applied plan to query for.
- in: path
- required: true
+ - 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
+ - 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
- /cosmos/upgrade/v1beta1/current_plan:
+ /cosmos/staking/v1beta1/validators/{validator_addr}:
get:
- summary: CurrentPlan queries the current upgrade plan.
- operationId: CurrentPlan
+ summary: Validator queries validator info for given validator address.
+ operationId: Validator
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- plan:
- description: plan is the current upgrade plan.
+ validator:
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:
+ operator_address:
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:
+ operator_address defines the address of the validator's
+ operator; bech encoded in JSON.
+ consensus_pubkey:
type: object
properties:
type_url:
@@ -25416,7 +25150,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -25426,13 +25160,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -25454,7 +25191,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25491,91 +25227,230 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- 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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based
- on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty scheme)
- might be
-
- used with implementation specific semantics.
- value:
- type: string
- format: byte
- description: >-
- Must be a valid serialized protocol buffer of the above
+ jailed:
+ type: 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.
+
+
+ Since: cosmos-sdk 0.46
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ strictly positive if this validator's unbonding has been
+ stopped by external modules
+ unbonding_ids:
+ type: array
+ items:
+ type: string
+ format: uint64
+ title: >-
+ list of unbonding ids, each uniquely identifing an
+ unbonding of this validator
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
@@ -25610,7 +25485,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -25620,13 +25495,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -25648,7 +25526,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25685,41 +25562,103 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
+ parameters:
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
+ in: path
+ required: true
+ type: string
tags:
- Query
- /cosmos/upgrade/v1beta1/module_versions:
+ /cosmos/staking/v1beta1/validators/{validator_addr}/delegations:
get:
- summary: ModuleVersions queries the list of module versions from state.
- operationId: ModuleVersions
+ summary: ValidatorDelegations queries delegate info for given validator.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: ValidatorDelegations
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- module_versions:
+ delegation_responses:
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
+ 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
- RPC method.
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ title: |-
+ QueryValidatorDelegationsResponse is response type for the
+ Query/ValidatorDelegations RPC method
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -25832,7 +25771,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -25842,13 +25781,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -25870,7 +25812,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25908,40 +25849,132 @@ paths:
"value": "1.212s"
}
parameters:
- - name: module_name
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
+ in: path
+ required: true
+ type: string
+ - name: pagination.key
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.
+ 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
- /cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}:
+ /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}:
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
+ summary: Delegation queries delegate info for given validator delegator pair.
+ operationId: Delegation
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
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -26054,7 +26087,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -26064,13 +26097,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -26092,7 +26128,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -26130,227 +26165,387 @@ paths:
"value": "1.212s"
}
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
+ - 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
- format: int64
tags:
- Query
- /cosmos/authz/v1beta1/grants:
+ /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation:
get:
- summary: Returns list of `Authorization`, granted to the grantee by the granter.
- operationId: Grants
+ summary: |-
+ UnbondingDelegation queries unbonding info for given validator delegator
+ pair.
+ operationId: UnbondingDelegation
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- grants:
- type: array
- items:
- type: object
- properties:
- authorization:
+ 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:
- type_url:
+ creation_height:
type: string
+ format: int64
description: >-
- A URL/resource name that uniquely identifies the
- type of the serialized
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's
- path must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the
- binary all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
+ 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.
+ unbonding_id:
+ type: string
+ format: uint64
+ title: Incrementing id that uniquely identifies this entry
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ Strictly positive if this entry's unbonding has been
+ stopped by external modules
+ 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
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
+ for a single validator in an time-ordered list.
+ description: >-
+ QueryDelegationResponse is response type for the
+ Query/UnbondingDelegation
- server that maps type URLs to message definitions as
- follows:
+ 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
+ protocol buffer message. This string must contain at
+ least
- * If no scheme is provided, `https` is assumed.
+ one "/" character. The last segment of the URL's path
+ must represent
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ the fully qualified name of the type (as in
- Note: this functionality is not currently available
- in the official
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- protobuf release, and it is not used for type URLs
- beginning with
+ (e.g., leading "." is not accepted).
- type.googleapis.com.
+ In practice, teams usually precompile into the binary
+ all types that they
- Schemes other than `http`, `https` (or the empty
- scheme) might be
+ expect it to use in the context of Any. However, for
+ URLs which use the
- used with implementation specific semantics.
- value:
- type: string
- format: byte
- description: >-
- Must be a valid serialized protocol buffer of the
- above specified type.
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
description: >-
- `Any` contains an arbitrary serialized protocol buffer
- message along with a
+ Must be a valid serialized protocol buffer of the above
+ specified type.
+ description: >-
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- URL that describes the type of the serialized message.
+ URL that describes the type of the serialized message.
- Protobuf library provides support to pack/unpack Any
- values in the form
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- of utility functions or additional generated methods of
- the Any type.
+ of utility functions or additional generated methods of the
+ Any type.
- Example 1: Pack and unpack a message in C++.
+ Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- Example 2: Pack and unpack a message in Java.
+ Example 2: Pack and unpack a message in Java.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- The pack methods provided by protobuf library will by
- default use
+ The pack methods provided by protobuf library will by
+ default use
- 'type.googleapis.com/full.type.name' as the type URL and
- the unpack
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- methods only use the fully qualified type name after the
- last '/'
+ methods only use the fully qualified type name after the
+ last '/'
- in the type URL, for example "foo.bar.com/x/y.z" will
- yield type
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- name "y.z".
+ name "y.z".
- JSON
+ JSON
- ====
- The JSON representation of an `Any` value uses the
- regular
+ The JSON representation of an `Any` value uses the regular
- representation of the deserialized, embedded message,
- with an
+ representation of the deserialized, embedded message, with
+ an
- additional field `@type` which contains the type URL.
- Example:
+ additional field `@type` which contains the type URL.
+ Example:
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- If the embedded message type is well-known and has a
- custom JSON
+ If the embedded message type is well-known and has a custom
+ JSON
- representation, that representation will be embedded
- adding a field
+ representation, that representation will be embedded adding
+ a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ `value` which holds the custom JSON in addition to the
+ `@type`
- field. Example (for message
- [google.protobuf.Duration][]):
+ field. Example (for message [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- expiration:
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
+
+ gas if the pagination field is incorrectly set.
+ operationId: ValidatorUnbondingDelegations
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ unbonding_responses:
+ type: array
+ items:
+ type: object
+ properties:
+ delegator_address:
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.
+ 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.
+ unbonding_id:
+ type: string
+ format: uint64
+ title: >-
+ Incrementing id that uniquely identifies this
+ entry
+ unbonding_on_hold_ref_count:
+ type: string
+ format: int64
+ title: >-
+ Strictly positive if this entry's unbonding has
+ been stopped by external modules
+ 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 an pagination for the response.
+ description: pagination defines the pagination in the response.
type: object
properties:
next_key:
type: string
format: byte
- title: |-
+ description: |-
next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
+ query the next page most efficiently. It will be empty if
+ there are no more results.
total:
type: string
format: uint64
@@ -26360,10 +26555,12 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryGrantsResponse is the response type for the
- Query/Authorizations RPC method.
+ QueryValidatorUnbondingDelegationsResponse is response type for
+ the
+
+ Query/ValidatorUnbondingDelegations RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -26476,7 +26673,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -26486,13 +26683,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -26514,7 +26714,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -26552,20 +26751,10 @@ paths:
"value": "1.212s"
}
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
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
+ in: path
+ required: true
type: string
- name: pagination.key
description: |-
@@ -26613,117 +26802,30 @@ paths:
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.
+
+
+ Since: cosmos-sdk 0.43
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
+ /cosmos/tx/v1beta1/decode:
+ post:
+ summary: TxDecode decodes the transaction.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: TxDecode
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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's path
- must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the binary
- all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available in
- the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
-
- Schemes other than `http`, `https` (or the empty
- scheme) might be
-
- used 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.
+ $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse'
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -26836,7 +26938,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -26846,13 +26948,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -26874,7 +26979,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -26912,144 +27016,46 @@ paths:
"value": "1.212s"
}
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
+ - name: body
+ in: body
required: true
- type: string
+ schema:
+ type: object
+ properties:
+ tx_bytes:
+ type: string
+ format: byte
+ description: tx_bytes is the raw transaction.
+ description: |-
+ TxDecodeRequest is the request type for the Service.TxDecode
+ RPC method.
+
+ Since: cosmos-sdk 0.47
tags:
- - Query
- /cosmos/feegrant/v1beta1/allowances/{grantee}:
- get:
- summary: Allowances returns all the grants for address.
- operationId: Allowances
+ - Service
+ /cosmos/tx/v1beta1/decode/amino:
+ post:
+ summary: TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: TxDecodeAmino
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
-
- protocol buffer message. This string must contain at
- least
-
- one "/" character. The last segment of the URL's
- path must represent
-
- the fully qualified name of the type (as in
-
- `path/google.protobuf.Duration`). The name should be
- in a canonical form
-
- (e.g., leading "." is not accepted).
-
-
- In practice, teams usually precompile into the
- binary all types that they
-
- expect it to use in the context of Any. However, for
- URLs which use the
-
- scheme `http`, `https`, or no scheme, one can
- optionally set up a type
-
- server that maps type URLs to message definitions as
- follows:
-
-
- * If no scheme is provided, `https` is assumed.
-
- * An HTTP GET on the URL must yield a
- [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results
- based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
-
- Note: this functionality is not currently available
- in the official
-
- protobuf release, and it is not used for type URLs
- beginning with
-
- type.googleapis.com.
-
+ amino_json:
+ type: string
+ description: >-
+ TxDecodeAminoResponse is the response type for the
+ Service.TxDecodeAmino
- Schemes other than `http`, `https` (or the empty
- scheme) might be
+ RPC method.
- used 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.
+ Since: cosmos-sdk 0.47
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -27162,7 +27168,7 @@ paths:
foo = any.unpack(Foo.class);
}
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -27172,13 +27178,16 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
...
foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
+ if err := any.UnmarshalTo(foo); err != nil {
...
}
@@ -27200,7 +27209,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -27238,6533 +27246,28465 @@ paths:
"value": "1.212s"
}
parameters:
- - name: grantee
- in: path
+ - name: body
+ in: body
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.
+ schema:
+ type: object
+ properties:
+ amino_binary:
+ type: string
+ format: byte
+ description: >-
+ TxDecodeAminoRequest is the request type for the
+ Service.TxDecodeAmino
- It is less efficient than using key. Only one of offset or key
- should
+ RPC method.
- 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
+ Since: cosmos-sdk 0.47
+ tags:
+ - Service
+ /cosmos/tx/v1beta1/encode:
+ post:
+ summary: TxEncode encodes the transaction.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: TxEncode
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ tx_bytes:
+ type: string
+ format: byte
+ description: tx_bytes is the encoded transaction bytes.
+ description: |-
+ TxEncodeResponse is the response type for the
+ Service.TxEncode method.
- a count of the total number of items available for pagination in
- UIs.
+ Since: cosmos-sdk 0.47
+ 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
- count_total is only respected when offset is used. It is ignored
- when key
+ protocol buffer message. This string must contain at
+ least
- 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
-definitions:
- akash.audit.v1beta3.Provider:
- 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
- akash.audit.v1beta3.QueryProvidersResponse:
- 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
+ one "/" character. The last segment of the URL's path
+ must represent
- was set, its value is undefined otherwise
- description: |-
- PageResponse is to be embedded in gRPC response messages where the
- corresponding request message has used PageRequest.
+ the fully qualified name of the type (as in
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: QueryProvidersResponse is response type for the Query/Providers RPC method
- akash.base.v1beta3.Attribute:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- title: Attribute represents key value pair
- cosmos.base.query.v1beta1.PageRequest:
- type: object
- properties:
- key:
- type: string
- format: byte
- 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.
- offset:
- type: string
- format: uint64
- 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.
- limit:
- type: string
- format: uint64
- description: >-
- limit is the total number of results to be returned in the result
- page.
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- If left empty it will default to a value to be set by each app.
- count_total:
- type: boolean
- description: >-
- count_total is set to true to indicate that the result set should
- include
+ (e.g., leading "." is not accepted).
- 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
+ In practice, teams usually precompile into the binary
+ all types that they
- is set.
- format: boolean
- reverse:
- type: boolean
- description: >-
- reverse is set to true if results are to be returned in the descending
- order.
+ expect it to use in the context of Any. However, for
+ URLs which use the
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
- Since: cosmos-sdk 0.43
- format: boolean
- description: |-
- message SomeRequest {
- Foo some_parameter = 1;
- PageRequest pagination = 2;
- }
- title: |-
- PageRequest is to be embedded in gRPC request messages for efficient
- pagination. Ex:
- cosmos.base.query.v1beta1.PageResponse:
- 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
- corresponding request message has used PageRequest.
+ server that maps type URLs to message definitions as
+ follows:
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- google.protobuf.Any:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type of the
- serialized
- protocol buffer message. This string must contain at least
+ * If no scheme is provided, `https` is assumed.
- one "/" character. The last segment of the URL's path must represent
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- the fully qualified name of the type (as in
+ Note: this functionality is not currently available in
+ the official
- `path/google.protobuf.Duration`). The name should be in a canonical
- form
+ protobuf release, and it is not used for type URLs
+ beginning with
- (e.g., leading "." is not accepted).
+ type.googleapis.com.
- In practice, teams usually precompile into the binary all types that
- they
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
- expect it to use in the context of Any. However, for URLs which use
- the
+ used 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
- scheme `http`, `https`, or no scheme, one can optionally set up a type
+ URL that describes the type of the serialized message.
- server that maps type URLs to message definitions as follows:
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- * If no scheme is provided, `https` is assumed.
+ of utility functions or additional generated methods of the
+ Any type.
- * An HTTP GET on the URL must yield a [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
- Note: this functionality is not currently available in the official
+ Example 1: Pack and unpack a message in C++.
- protobuf release, and it is not used for type URLs beginning with
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- type.googleapis.com.
+ Example 2: Pack and unpack a message in Java.
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Schemes other than `http`, `https` (or the empty scheme) might be
+ Example 3: Pack and unpack a message in Python.
- used 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
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- URL that describes the type of the serialized message.
+ Example 4: Pack and unpack a message in Go
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- Protobuf library provides support to pack/unpack Any values in the form
+ The pack methods provided by protobuf library will by
+ default use
- of utility functions or additional generated methods of the Any type.
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+ methods only use the fully qualified type name after the
+ last '/'
- Example 1: Pack and unpack a message in C++.
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ name "y.z".
- Example 2: Pack and unpack a message in Java.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
- Example 3: Pack and unpack a message in Python.
+ JSON
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
- Example 4: Pack and unpack a message in Go
+ The JSON representation of an `Any` value uses the regular
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ representation of the deserialized, embedded message, with
+ an
- The pack methods provided by protobuf library will by default use
+ additional field `@type` which contains the type URL.
+ Example:
- 'type.googleapis.com/full.type.name' as the type URL and the unpack
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- methods only use the fully qualified type name after the last '/'
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- in the type URL, for example "foo.bar.com/x/y.z" will yield type
+ If the embedded message type is well-known and has a custom
+ JSON
- name "y.z".
+ representation, that representation will be embedded adding
+ a field
+ `value` which holds the custom JSON in addition to the
+ `@type`
+ field. Example (for message [google.protobuf.Duration][]):
- JSON
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: body
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeRequest'
+ tags:
+ - Service
+ /cosmos/tx/v1beta1/encode/amino:
+ post:
+ summary: TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: TxEncodeAmino
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ amino_binary:
+ type: string
+ format: byte
+ description: >-
+ TxEncodeAminoResponse is the response type for the
+ Service.TxEncodeAmino
- ====
+ RPC method.
- The JSON representation of an `Any` value uses the regular
- representation of the deserialized, embedded message, with an
+ Since: cosmos-sdk 0.47
+ 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
- additional field `@type` which contains the type URL. Example:
+ protocol buffer message. This string must contain at
+ least
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ one "/" character. The last segment of the URL's path
+ must represent
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ the fully qualified name of the type (as in
- If the embedded message type is well-known and has a custom JSON
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- representation, that representation will be embedded adding a field
+ (e.g., leading "." is not accepted).
- `value` which holds the custom JSON in addition to the `@type`
- field. Example (for message [google.protobuf.Duration][]):
+ In practice, teams usually precompile into the binary
+ all types that they
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- grpc.gateway.runtime.Error:
- 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
+ expect it to use in the context of Any. However, for
+ URLs which use the
- protocol buffer message. This string must contain at least
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
- one "/" character. The last segment of the URL's path must
- represent
+ server that maps type URLs to message definitions as
+ follows:
- the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be in a
- canonical form
+ * If no scheme is provided, `https` is assumed.
- (e.g., leading "." is not accepted).
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+ Note: this functionality is not currently available in
+ the official
- In practice, teams usually precompile into the binary all types
- that they
+ protobuf release, and it is not used for type URLs
+ beginning with
- expect it to use in the context of Any. However, for URLs which
- use the
+ type.googleapis.com.
- scheme `http`, `https`, or no scheme, one can optionally set up
- a type
- server that maps type URLs to message definitions as follows:
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+ used 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
- * If no scheme is provided, `https` is assumed.
+ URL that describes the type of the serialized message.
- * An HTTP GET on the URL must yield a [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
- Note: this functionality is not currently available in the
- official
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- protobuf release, and it is not used for type URLs beginning
- with
+ of utility functions or additional generated methods of the
+ Any type.
- type.googleapis.com.
+ Example 1: Pack and unpack a message in C++.
- Schemes other than `http`, `https` (or the empty scheme) might
- be
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- used 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
+ Example 2: Pack and unpack a message in Java.
- URL that describes the type of the serialized message.
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+ Example 3: Pack and unpack a message in Python.
- Protobuf library provides support to pack/unpack Any values in the
- form
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- of utility functions or additional generated methods of the Any
- type.
+ Example 4: Pack and unpack a message in Go
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- Example 1: Pack and unpack a message in C++.
+ The pack methods provided by protobuf library will by
+ default use
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- Example 2: Pack and unpack a message in Java.
+ methods only use the fully qualified type name after the
+ last '/'
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- Example 3: Pack and unpack a message in Python.
+ name "y.z".
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
- Example 4: Pack and unpack a message in Go
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ JSON
- The pack methods provided by protobuf library will by default use
- 'type.googleapis.com/full.type.name' as the type URL and the unpack
+ The JSON representation of an `Any` value uses the regular
- methods only use the fully qualified type name after the last '/'
+ representation of the deserialized, embedded message, with
+ an
- in the type URL, for example "foo.bar.com/x/y.z" will yield type
+ additional field `@type` which contains the type URL.
+ Example:
- name "y.z".
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+ If the embedded message type is well-known and has a custom
+ JSON
- JSON
+ representation, that representation will be embedded adding
+ a field
- ====
+ `value` which holds the custom JSON in addition to the
+ `@type`
- The JSON representation of an `Any` value uses the regular
+ field. Example (for message [google.protobuf.Duration][]):
- representation of the deserialized, embedded message, with an
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: body
+ in: body
+ required: true
+ schema:
+ type: object
+ properties:
+ amino_json:
+ type: string
+ description: >-
+ TxEncodeAminoRequest is the request type for the
+ Service.TxEncodeAmino
- additional field `@type` which contains the type URL. Example:
+ RPC method.
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ Since: cosmos-sdk 0.47
+ tags:
+ - Service
+ /cosmos/tx/v1beta1/simulate:
+ post:
+ summary: Simulate simulates executing a transaction for estimating gas usage.
+ operationId: Simulate
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ gas_info:
+ description: gas_info is the information about gas used in the simulation.
+ type: object
+ properties:
+ gas_wanted:
+ type: string
+ format: uint64
+ description: >-
+ GasWanted is the maximum units of work we allow this tx to
+ perform.
+ gas_used:
+ type: string
+ format: uint64
+ description: GasUsed is the amount of gas actually consumed.
+ result:
+ description: result is the result of the simulation.
+ type: object
+ properties:
+ data:
+ type: string
+ format: byte
+ description: >-
+ Data is any data returned from message or handler
+ execution. It MUST be
- If the embedded message type is well-known and has a custom JSON
+ length prefixed in order to separate data from multiple
+ message executions.
- representation, that representation will be embedded adding a field
+ Deprecated. This field is still populated, but prefer
+ msg_response instead
- `value` which holds the custom JSON in addition to the `@type`
+ because it also contains the Msg response typeURL.
+ log:
+ type: string
+ description: >-
+ Log contains the log information from message or handler
+ execution.
+ events:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ attributes:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ index:
+ type: boolean
+ description: >-
+ EventAttribute is a single key-value pair,
+ associated with an event.
+ description: >-
+ Event allows application developers to attach additional
+ information to
- field. Example (for message [google.protobuf.Duration][]):
+ ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx
+ and ResponseDeliverTx.
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- akash.cert.v1beta3.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
- - valid: CertificateValid denotes state for deployment active
- - 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
- akash.cert.v1beta3.Certificate.State:
- type: string
- enum:
- - invalid
- - valid
- - revoked
- default: invalid
- description: |-
- - invalid: Prefix should start with 0 in enum. So declaring dummy state
- - valid: CertificateValid denotes state for deployment active
- - revoked: CertificateRevoked denotes state for deployment closed
- title: State is an enum which refers to state of deployment
- akash.cert.v1beta3.CertificateFilter:
- type: object
- properties:
- owner:
- type: string
- serial:
- type: string
- state:
- type: string
- title: CertificateFilter defines filters used to filter certificates
- akash.cert.v1beta3.CertificateResponse:
- 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
- - valid: CertificateValid denotes state for deployment active
- - 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
- akash.cert.v1beta3.QueryCertificatesResponse:
- 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
- - valid: CertificateValid denotes state for deployment active
- - 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
+ Later, transactions may be queried using these events.
+ description: >-
+ Events contains a slice of Event objects that were emitted
+ during message
- was set, its value is undefined otherwise
- description: |-
- PageResponse is to be embedded in gRPC response messages where the
- corresponding request message has used PageRequest.
+ or handler execution.
+ msg_responses:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: >-
- QueryCertificatesResponse is response type for the Query/Certificates RPC
- method
- akash.base.v1beta3.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
- akash.base.v1beta3.Endpoint:
- 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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
- akash.base.v1beta3.Endpoint.Kind:
- type: string
- enum:
- - SHARED_HTTP
- - RANDOM_PORT
- - LEASED_IP
- default: SHARED_HTTP
- description: |-
- - SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - LEASED_IP: Describes an endpoint that becomes a leased IP
- title: This describes how the endpoint is implemented when the lease is deployed
- akash.base.v1beta3.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
- akash.base.v1beta3.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
- akash.base.v1beta3.PlacementRequirements:
- 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
- akash.base.v1beta3.ResourceValue:
- type: object
- properties:
- val:
- type: string
- format: byte
- title: Unit stores cpu, memory and storage metrics
- akash.base.v1beta3.Resources:
- 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:
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ msg_responses contains the Msg handler responses type
+ packed in Anys.
+
+
+ Since: cosmos-sdk 0.46
+ description: |-
+ SimulateResponse is the response type for the
+ Service.SimulateRPC method.
+ default:
+ description: An unexpected error response.
+ schema:
type: object
properties:
- val:
+ error:
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:
+ code:
+ type: integer
+ format: int32
+ message:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
- akash.base.v1beta3.SignedBy:
- 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
- title: >-
- SignedBy represents validation accounts that tenant expects signatures for
- provider attributes
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
- AllOf has precedence i.e. if there is at least one entry AnyOf is ignored
- regardless to how many
+ protocol buffer message. This string must contain at
+ least
- entries there
+ one "/" character. The last segment of the URL's path
+ must represent
- this behaviour to be discussed
- akash.base.v1beta3.Storage:
- 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
- akash.deployment.v1beta3.Deployment:
- type: object
- properties:
- deployment_id:
- type: object
- properties:
- owner:
- type: string
- dseq:
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: body
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest'
+ tags:
+ - Service
+ /cosmos/tx/v1beta1/txs:
+ get:
+ summary: GetTxsEvent fetches txs by event.
+ operationId: GetTxsEvent
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse'
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: events
+ description: events is the list of transaction event type.
+ in: query
+ required: false
+ type: array
+ items:
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
- - active: DeploymentActive denotes state for deployment active
- - 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
- akash.deployment.v1beta3.Deployment.State:
- type: string
- enum:
- - invalid
- - active
- - closed
- default: invalid
- description: |-
- - invalid: Prefix should start with 0 in enum. So declaring dummy state
- - active: DeploymentActive denotes state for deployment active
- - closed: DeploymentClosed denotes state for deployment closed
- title: State is an enum which refers to state of deployment
- akash.deployment.v1beta3.DeploymentFilters:
- type: object
- properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- state:
- type: string
- title: DeploymentFilters defines filters used to filter deployments
- akash.deployment.v1beta3.DeploymentID:
- type: object
- properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- title: DeploymentID stores owner and sequence number
- akash.deployment.v1beta3.Group:
+ collectionFormat: multi
+ - name: pagination.key
+ description: |-
+ key is a value returned in PageResponse.next_key to begin
+ querying the next page most efficiently. Only one of offset or key
+ should be set.
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: pagination.offset
+ description: >-
+ offset is a numeric offset that can be used when key is unavailable.
+
+ It is less efficient than using key. Only one of offset or key
+ should
+
+ be set.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.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
+ - name: order_by
+ description: |2-
+ - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
+ - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order
+ - ORDER_BY_DESC: ORDER_BY_DESC defines descending order
+ in: query
+ required: false
+ type: string
+ enum:
+ - ORDER_BY_UNSPECIFIED
+ - ORDER_BY_ASC
+ - ORDER_BY_DESC
+ default: ORDER_BY_UNSPECIFIED
+ - name: page
+ description: >-
+ page is the page number to query, starts at 1. If not provided, will
+ default to first page.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ tags:
+ - Service
+ post:
+ summary: BroadcastTx broadcast transaction.
+ operationId: BroadcastTx
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ tx_response:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ title: The block height
+ txhash:
+ type: string
+ description: The transaction hash.
+ codespace:
+ type: string
+ title: Namespace for the Code
+ code:
+ type: integer
+ format: int64
+ description: Response code.
+ data:
+ type: string
+ description: Result bytes, if any.
+ raw_log:
+ type: string
+ description: >-
+ The output of the application's logger (raw string). May
+ be
+
+ non-deterministic.
+ logs:
+ type: array
+ items:
+ type: object
+ properties:
+ msg_index:
+ type: integer
+ format: int64
+ log:
+ type: string
+ events:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ attributes:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ description: >-
+ Attribute defines an attribute wrapper where
+ the key and value are
+
+ strings instead of raw bytes.
+ description: >-
+ StringEvent defines en Event object wrapper where
+ all the attributes
+
+ contain key/value pairs that are strings instead
+ of raw bytes.
+ description: >-
+ Events contains a slice of Event objects that were
+ emitted during some
+
+ execution.
+ description: >-
+ ABCIMessageLog defines a structure containing an indexed
+ tx ABCI message log.
+ description: >-
+ The output of the application's logger (typed). May be
+ non-deterministic.
+ info:
+ type: string
+ description: Additional information. May be non-deterministic.
+ gas_wanted:
+ type: string
+ format: int64
+ description: Amount of gas requested for transaction.
+ gas_used:
+ type: string
+ format: int64
+ description: Amount of gas consumed by transaction.
+ tx:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ timestamp:
+ type: string
+ description: >-
+ Time of the previous block. For heights > 1, it's the
+ weighted median of
+
+ the timestamps of the valid votes in the block.LastCommit.
+ For height == 1,
+
+ it's genesis time.
+ events:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ attributes:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ index:
+ type: boolean
+ description: >-
+ EventAttribute is a single key-value pair,
+ associated with an event.
+ description: >-
+ Event allows application developers to attach additional
+ information to
+
+ ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx
+ and ResponseDeliverTx.
+
+ Later, transactions may be queried using these events.
+ description: >-
+ Events defines all the events emitted by processing a
+ transaction. Note,
+
+ these events include those emitted by processing all the
+ messages and those
+
+ emitted from the ante. Whereas Logs contains the events,
+ with
+
+ additional metadata, emitted only by processing the
+ messages.
+
+
+ Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
+ description: >-
+ TxResponse defines a structure containing relevant tx data and
+ metadata. The
+
+ tags are stringified and the log is JSON decoded.
+ description: |-
+ BroadcastTxResponse is the response type for the
+ Service.BroadcastTx 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: body
+ in: body
+ required: true
+ schema:
+ type: object
+ properties:
+ tx_bytes:
+ type: string
+ format: byte
+ description: tx_bytes is the raw transaction.
+ mode:
+ type: string
+ enum:
+ - BROADCAST_MODE_UNSPECIFIED
+ - BROADCAST_MODE_BLOCK
+ - BROADCAST_MODE_SYNC
+ - BROADCAST_MODE_ASYNC
+ default: BROADCAST_MODE_UNSPECIFIED
+ description: >-
+ BroadcastMode specifies the broadcast mode for the
+ TxService.Broadcast RPC method.
+
+ - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
+ - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,
+ BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x
+ onwards.
+ - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
+ a CheckTx execution response only.
+ - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
+ immediately.
+ description: >-
+ BroadcastTxRequest is the request type for the
+ Service.BroadcastTxRequest
+
+ RPC method.
+ tags:
+ - Service
+ /cosmos/tx/v1beta1/txs/block/{height}:
+ get:
+ summary: GetBlockWithTxs fetches a block with decoded txs.
+ description: 'Since: cosmos-sdk 0.45.2'
+ operationId: GetBlockWithTxs
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse'
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: height
+ description: height is the height of the block to query.
+ in: path
+ required: true
+ type: string
+ format: int64
+ - name: pagination.key
+ description: |-
+ key is a value returned in PageResponse.next_key to begin
+ querying the next page most efficiently. Only one of offset or key
+ should be set.
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: pagination.offset
+ description: >-
+ offset is a numeric offset that can be used when key is unavailable.
+
+ It is less efficient than using key. Only one of offset or key
+ should
+
+ be set.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.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:
+ - Service
+ /cosmos/tx/v1beta1/txs/{hash}:
+ get:
+ summary: GetTx fetches a tx by hash.
+ operationId: GetTx
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.GetTxResponse'
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: hash
+ description: hash is the tx hash to query, encoded as a hex string.
+ in: path
+ required: true
+ type: string
+ tags:
+ - Service
+ /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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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/authority:
+ get:
+ summary: Returns the account with authority to conduct upgrades
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: Authority
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ address:
+ type: string
+ description: 'Since: cosmos-sdk 0.46'
+ title: QueryAuthorityResponse is the response type for Query/Authority
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ tags:
+ - Query
+ /cosmos/upgrade/v1beta1/module_versions:
+ get:
+ summary: ModuleVersions queries the list of module versions from state.
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+ Since: cosmos-sdk 0.43
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+
+ This rpc is deprecated now that IBC has its own replacement
+
+ (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
+ operationId: UpgradedConsensusState
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ upgraded_consensus_state:
+ type: string
+ format: byte
+ title: 'Since: cosmos-sdk 0.43'
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ expiration:
+ type: string
+ format: date-time
+ title: >-
+ time when the grant will expire and will be pruned. If
+ null, then the grant
+
+ doesn't have a time expiration (other conditions in
+ `authorization`
+
+ may apply to invalidate the grant)
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+ - 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
+ /cosmos/authz/v1beta1/grants/grantee/{grantee}:
+ get:
+ summary: GranteeGrants returns a list of `GrantAuthorization` by grantee.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: GranteeGrants
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ grants:
+ type: array
+ items:
+ type: object
+ properties:
+ granter:
+ type: string
+ grantee:
+ type: string
+ authorization:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ expiration:
+ type: string
+ format: date-time
+ title: >-
+ GrantAuthorization extends a grant with both the addresses
+ of the grantee and granter.
+
+ It is used in genesis.proto and query.proto
+ description: grants is a list of grants granted to the grantee.
+ pagination:
+ description: pagination defines an pagination for the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGranteeGrantsResponse is the response type for the
+ Query/GranteeGrants 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+ - 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
+ /cosmos/authz/v1beta1/grants/granter/{granter}:
+ get:
+ summary: GranterGrants returns list of `GrantAuthorization`, granted by granter.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: GranterGrants
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ grants:
+ type: array
+ items:
+ type: object
+ properties:
+ granter:
+ type: string
+ grantee:
+ type: string
+ authorization:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ expiration:
+ type: string
+ format: date-time
+ title: >-
+ GrantAuthorization extends a grant with both the addresses
+ of the grantee and granter.
+
+ It is used in genesis.proto and query.proto
+ description: grants is a list of grants granted by the granter.
+ pagination:
+ description: pagination defines an pagination for the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGranterGrantsResponse is the response type for the
+ Query/GranterGrants 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: granter
+ 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
+ /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, periodic, allowed fee
+ allowance.
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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, periodic, allowed fee
+ allowance.
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+ - 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
+ /cosmos/feegrant/v1beta1/issued/{granter}:
+ get:
+ summary: AllowancesByGranter returns all the grants given by an address
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: AllowancesByGranter
+ 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, periodic, allowed fee
+ allowance.
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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 that have been issued by the granter.
+ pagination:
+ description: pagination defines an pagination for the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryAllowancesByGranterResponse is the response type for the
+ Query/AllowancesByGranter RPC method.
+
+
+ Since: cosmos-sdk 0.46
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: granter
+ 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
+ /cosmos/nft/v1beta1/balance/{owner}/{class_id}:
+ get:
+ summary: >-
+ Balance queries the number of NFTs of a given class owned by the owner,
+ same as balanceOf in ERC721
+ operationId: NftBalance
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ amount:
+ type: string
+ format: uint64
+ title: >-
+ amount is the number of all NFTs of a given class owned by the
+ owner
+ title: >-
+ 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
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: owner
+ description: owner is the owner address of the nft
+ in: path
+ required: true
+ type: string
+ - name: class_id
+ description: class_id associated with the nft
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/nft/v1beta1/classes:
+ get:
+ summary: Classes queries all NFT classes
+ operationId: Classes
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ classes:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ title: >-
+ id defines the unique identifier of the NFT
+ classification, similar to the contract address of
+ ERC721
+ name:
+ type: string
+ title: >-
+ name defines the human-readable name of the NFT
+ classification. Optional
+ symbol:
+ type: string
+ title: >-
+ symbol is an abbreviated name for nft classification.
+ Optional
+ description:
+ type: string
+ title: >-
+ description is a brief description of nft
+ classification. Optional
+ uri:
+ type: string
+ title: >-
+ uri for the class metadata stored off chain. It can
+ define schema for Class and NFT `Data` attributes.
+ Optional
+ uri_hash:
+ type: string
+ title: >-
+ uri_hash is a hash of the document pointed by uri.
+ Optional
+ data:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: >-
+ data is the app specific metadata of the NFT class.
+ Optional
+ description: Class defines the class of the nft type.
+ description: class defines the class of the nft type.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ title: >-
+ QueryClassesResponse is the response type for the Query/Classes
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ 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
+ /cosmos/nft/v1beta1/classes/{class_id}:
+ get:
+ summary: Class queries an NFT class based on its id
+ operationId: Class
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ class:
+ type: object
+ properties:
+ id:
+ type: string
+ title: >-
+ id defines the unique identifier of the NFT
+ classification, similar to the contract address of ERC721
+ name:
+ type: string
+ title: >-
+ name defines the human-readable name of the NFT
+ classification. Optional
+ symbol:
+ type: string
+ title: >-
+ symbol is an abbreviated name for nft classification.
+ Optional
+ description:
+ type: string
+ title: >-
+ description is a brief description of nft classification.
+ Optional
+ uri:
+ type: string
+ title: >-
+ uri for the class metadata stored off chain. It can define
+ schema for Class and NFT `Data` attributes. Optional
+ uri_hash:
+ type: string
+ title: >-
+ uri_hash is a hash of the document pointed by uri.
+ Optional
+ data:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: >-
+ data is the app specific metadata of the NFT class.
+ Optional
+ description: Class defines the class of the nft type.
+ title: >-
+ QueryClassResponse is the response type for the Query/Class 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: class_id
+ description: class_id associated with the nft
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/nft/v1beta1/nfts:
+ get:
+ summary: >-
+ NFTs queries all NFTs of a given class or owner,choose at least one of
+ the two, similar to tokenByIndex in
+
+ ERC721Enumerable
+ operationId: NFTs
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ nfts:
+ type: array
+ items:
+ type: object
+ properties:
+ class_id:
+ type: string
+ title: >-
+ class_id associated with the NFT, similar to the
+ contract address of ERC721
+ id:
+ type: string
+ title: id is a unique identifier of the NFT
+ uri:
+ type: string
+ title: uri for the NFT metadata stored off chain
+ uri_hash:
+ type: string
+ title: uri_hash is a hash of the document pointed by uri
+ data:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: data is an app specific data of the NFT. Optional
+ description: NFT defines the NFT.
+ title: NFT defines the NFT
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ title: >-
+ QueryNFTsResponse is the response type for the Query/NFTs RPC
+ methods
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: class_id
+ description: class_id associated with the nft.
+ in: query
+ required: false
+ type: string
+ - name: owner
+ description: owner is the owner address of the nft.
+ 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
+ /cosmos/nft/v1beta1/nfts/{class_id}/{id}:
+ get:
+ summary: NFT queries an NFT based on its class and id.
+ operationId: NFT
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ nft:
+ type: object
+ properties:
+ class_id:
+ type: string
+ title: >-
+ class_id associated with the NFT, similar to the contract
+ address of ERC721
+ id:
+ type: string
+ title: id is a unique identifier of the NFT
+ uri:
+ type: string
+ title: uri for the NFT metadata stored off chain
+ uri_hash:
+ type: string
+ title: uri_hash is a hash of the document pointed by uri
+ data:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: data is an app specific data of the NFT. Optional
+ description: NFT defines the NFT.
+ title: owner is the owner address of the nft
+ title: QueryNFTResponse is the response type for the Query/NFT 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: class_id
+ description: class_id associated with the nft
+ in: path
+ required: true
+ type: string
+ - name: id
+ description: id is a unique identifier of the NFT
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/nft/v1beta1/owner/{class_id}/{id}:
+ get:
+ summary: >-
+ Owner queries the owner of the NFT based on its class and id, same as
+ ownerOf in ERC721
+ operationId: Owner
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ owner:
+ type: string
+ title: owner is the owner address of the nft
+ title: >-
+ QueryOwnerResponse is the response type for the Query/Owner 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: class_id
+ description: class_id associated with the nft
+ in: path
+ required: true
+ type: string
+ - name: id
+ description: id is a unique identifier of the NFT
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/nft/v1beta1/supply/{class_id}:
+ get:
+ summary: >-
+ Supply queries the number of NFTs from the given class, same as
+ totalSupply of ERC721.
+ operationId: Supply
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ amount:
+ type: string
+ format: uint64
+ title: amount is the number of all NFTs from the given class
+ title: >-
+ QuerySupplyResponse is the response type for the Query/Supply 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: class_id
+ description: class_id associated with the nft
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/group/v1/group_info/{group_id}:
+ get:
+ summary: GroupInfo queries group info based on group id.
+ operationId: GroupInfo
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ info:
+ description: info is the GroupInfo of the group.
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group's admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ group.
+ version:
+ type: string
+ format: uint64
+ title: >-
+ version is used to track changes to a group's membership
+ structure that
+
+ would break existing proposals. Whenever any members
+ weight is changed,
+
+ or any member is added or removed this version is
+ incremented and will
+
+ cause proposals based on older versions of this group to
+ fail
+ total_weight:
+ type: string
+ description: total_weight is the sum of the group members' weights.
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group was
+ created.
+ description: QueryGroupInfoResponse is the Query/GroupInfo response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: group_id
+ description: group_id is the unique ID of the group.
+ in: path
+ required: true
+ type: string
+ format: uint64
+ tags:
+ - Query
+ /cosmos/group/v1/group_members/{group_id}:
+ get:
+ summary: GroupMembers queries members of a group by group id.
+ operationId: GroupMembers
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ members:
+ type: array
+ items:
+ type: object
+ properties:
+ group_id:
+ type: string
+ format: uint64
+ description: group_id is the unique ID of the group.
+ member:
+ description: member is the member data.
+ type: object
+ properties:
+ address:
+ type: string
+ description: address is the member's account address.
+ weight:
+ type: string
+ description: >-
+ weight is the member's voting weight that should be
+ greater than 0.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the
+ member.
+ added_at:
+ type: string
+ format: date-time
+ description: >-
+ added_at is a timestamp specifying when a member was
+ added.
+ description: >-
+ GroupMember represents the relationship between a group and
+ a member.
+ description: members are the members of the group with given group_id.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGroupMembersResponse is the Query/GroupMembersResponse
+ response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: group_id
+ description: group_id is the unique ID of the group.
+ 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
+ - 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
+ /cosmos/group/v1/group_policies_by_admin/{admin}:
+ get:
+ summary: GroupPoliciesByAdmin queries group policies by admin address.
+ operationId: GroupPoliciesByAdmin
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ group_policies:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ description: address is the account address of group policy.
+ group_id:
+ type: string
+ format: uint64
+ description: group_id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the group
+ policy.
+ version:
+ type: string
+ format: uint64
+ description: >-
+ version is used to track changes to a group's
+ GroupPolicyInfo structure that
+
+ would create a different result on a running proposal.
+ decision_policy:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group policy
+ was created.
+ description: >-
+ GroupPolicyInfo represents the high-level on-chain
+ information for a group policy.
+ description: >-
+ group_policies are the group policies info with provided
+ admin.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGroupPoliciesByAdminResponse is the
+ Query/GroupPoliciesByAdmin response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: admin
+ description: admin is the admin address of the group policy.
+ 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
+ /cosmos/group/v1/group_policies_by_group/{group_id}:
+ get:
+ summary: GroupPoliciesByGroup queries group policies by group id.
+ operationId: GroupPoliciesByGroup
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ group_policies:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ description: address is the account address of group policy.
+ group_id:
+ type: string
+ format: uint64
+ description: group_id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the group
+ policy.
+ version:
+ type: string
+ format: uint64
+ description: >-
+ version is used to track changes to a group's
+ GroupPolicyInfo structure that
+
+ would create a different result on a running proposal.
+ decision_policy:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group policy
+ was created.
+ description: >-
+ GroupPolicyInfo represents the high-level on-chain
+ information for a group policy.
+ description: >-
+ group_policies are the group policies info associated with the
+ provided group.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGroupPoliciesByGroupResponse is the
+ Query/GroupPoliciesByGroup response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: group_id
+ description: group_id is the unique ID of the group policy's group.
+ 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
+ - 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
+ /cosmos/group/v1/group_policy_info/{address}:
+ get:
+ summary: >-
+ GroupPolicyInfo queries group policy info based on account address of
+ group policy.
+ operationId: GroupPolicyInfo
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ info:
+ type: object
+ properties:
+ address:
+ type: string
+ description: address is the account address of group policy.
+ group_id:
+ type: string
+ format: uint64
+ description: group_id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the group
+ policy.
+ version:
+ type: string
+ format: uint64
+ description: >-
+ version is used to track changes to a group's
+ GroupPolicyInfo structure that
+
+ would create a different result on a running proposal.
+ decision_policy:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type
+ of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group policy
+ was created.
+ description: >-
+ GroupPolicyInfo represents the high-level on-chain information
+ for a group policy.
+ description: >-
+ QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response
+ type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address
+ description: address is the account address of the group policy.
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/group/v1/groups_by_admin/{admin}:
+ get:
+ summary: GroupsByAdmin queries groups by admin address.
+ operationId: GroupsByAdmin
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ groups:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group's admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ group.
+ version:
+ type: string
+ format: uint64
+ title: >-
+ version is used to track changes to a group's membership
+ structure that
+
+ would break existing proposals. Whenever any members
+ weight is changed,
+
+ or any member is added or removed this version is
+ incremented and will
+
+ cause proposals based on older versions of this group to
+ fail
+ total_weight:
+ type: string
+ description: total_weight is the sum of the group members' weights.
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group was
+ created.
+ description: >-
+ GroupInfo represents the high-level on-chain information for
+ a group.
+ description: groups are the groups info with the provided admin.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse
+ response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: admin
+ description: admin is the account address of a group's admin.
+ 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
+ /cosmos/group/v1/groups_by_member/{address}:
+ get:
+ summary: GroupsByMember queries groups by member address.
+ operationId: GroupsByMember
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ groups:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id is the unique ID of the group.
+ admin:
+ type: string
+ description: admin is the account address of the group's admin.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ group.
+ version:
+ type: string
+ format: uint64
+ title: >-
+ version is used to track changes to a group's membership
+ structure that
+
+ would break existing proposals. Whenever any members
+ weight is changed,
+
+ or any member is added or removed this version is
+ incremented and will
+
+ cause proposals based on older versions of this group to
+ fail
+ total_weight:
+ type: string
+ description: total_weight is the sum of the group members' weights.
+ created_at:
+ type: string
+ format: date-time
+ description: >-
+ created_at is a timestamp specifying when a group was
+ created.
+ description: >-
+ GroupInfo represents the high-level on-chain information for
+ a group.
+ description: groups are the groups info with the provided group member.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryGroupsByMemberResponse is the Query/GroupsByMember response
+ type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address
+ description: address is the group member address.
+ 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
+ /cosmos/group/v1/proposal/{proposal_id}:
+ get:
+ summary: Proposal queries a proposal based on proposal id.
+ operationId: GroupProposal
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ proposal:
+ description: proposal is the proposal info.
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id is the unique id of the proposal.
+ group_policy_address:
+ type: string
+ description: >-
+ group_policy_address is the account address of group
+ policy.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the
+ proposal.
+ proposers:
+ type: array
+ items:
+ type: string
+ description: proposers are the account addresses of the proposers.
+ submit_time:
+ type: string
+ format: date-time
+ description: >-
+ submit_time is a timestamp specifying when a proposal was
+ submitted.
+ group_version:
+ type: string
+ format: uint64
+ description: >-
+ group_version tracks the version of the group at proposal
+ submission.
+
+ This field is here for informational purposes only.
+ group_policy_version:
+ type: string
+ format: uint64
+ description: >-
+ group_policy_version tracks the version of the group
+ policy at proposal submission.
+
+ When a decision policy is changed, existing proposals from
+ previous policy
+
+ versions will become invalid with the `ABORTED` status.
+
+ This field is here for informational purposes only.
+ status:
+ description: >-
+ status represents the high level position in the life
+ cycle of the proposal. Initial value is Submitted.
+ type: string
+ enum:
+ - PROPOSAL_STATUS_UNSPECIFIED
+ - PROPOSAL_STATUS_SUBMITTED
+ - PROPOSAL_STATUS_ACCEPTED
+ - PROPOSAL_STATUS_REJECTED
+ - PROPOSAL_STATUS_ABORTED
+ - PROPOSAL_STATUS_WITHDRAWN
+ default: PROPOSAL_STATUS_UNSPECIFIED
+ final_tally_result:
+ description: >-
+ final_tally_result contains the sums of all weighted votes
+ for this
+
+ proposal for each vote option. It is empty at submission,
+ and only
+
+ populated after tallying, at voting period end or at
+ proposal execution,
+
+ whichever happens first.
+ type: object
+ properties:
+ yes_count:
+ type: string
+ description: yes_count is the weighted sum of yes votes.
+ abstain_count:
+ type: string
+ description: abstain_count is the weighted sum of abstainers.
+ no_count:
+ type: string
+ description: no_count is the weighted sum of no votes.
+ no_with_veto_count:
+ type: string
+ description: no_with_veto_count is the weighted sum of veto.
+ voting_period_end:
+ type: string
+ format: date-time
+ description: >-
+ voting_period_end is the timestamp before which voting
+ must be done.
+
+ Unless a successful MsgExec is called before (to execute a
+ proposal whose
+
+ tally is successful before the voting period ends),
+ tallying will be done
+
+ at this point, and the `final_tally_result`and `status`
+ fields will be
+
+ accordingly updated.
+ executor_result:
+ description: >-
+ executor_result is the final result of the proposal
+ execution. Initial value is NotRun.
+ type: string
+ enum:
+ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED
+ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN
+ - PROPOSAL_EXECUTOR_RESULT_SUCCESS
+ - PROPOSAL_EXECUTOR_RESULT_FAILURE
+ default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED
+ messages:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be
+ in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available
+ in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods of
+ the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ messages is a list of `sdk.Msg`s that will be executed if
+ the proposal passes.
+ title:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: title is the title of the proposal
+ summary:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: summary is a short summary of the proposal
+ description: QueryProposalResponse is the Query/Proposal response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: proposal_id
+ description: proposal_id is the unique ID of a proposal.
+ in: path
+ required: true
+ type: string
+ format: uint64
+ tags:
+ - Query
+ /cosmos/group/v1/proposals/{proposal_id}/tally:
+ get:
+ summary: >-
+ TallyResult returns the tally result of a proposal. If the proposal is
+
+ still in voting period, then this query computes the current tally
+ state,
+
+ which might not be final. On the other hand, if the proposal is final,
+
+ then it simply returns the `final_tally_result` state stored in the
+
+ proposal itself.
+ operationId: GroupTallyResult
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ tally:
+ description: tally defines the requested tally.
+ type: object
+ properties:
+ yes_count:
+ type: string
+ description: yes_count is the weighted sum of yes votes.
+ abstain_count:
+ type: string
+ description: abstain_count is the weighted sum of abstainers.
+ no_count:
+ type: string
+ description: no_count is the weighted sum of no votes.
+ no_with_veto_count:
+ type: string
+ description: no_with_veto_count is the weighted sum of veto.
+ description: QueryTallyResultResponse is the Query/TallyResult response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: proposal_id
+ description: proposal_id is the unique id of a proposal.
+ in: path
+ required: true
+ type: string
+ format: uint64
+ tags:
+ - Query
+ /cosmos/group/v1/proposals_by_group_policy/{address}:
+ get:
+ summary: >-
+ ProposalsByGroupPolicy queries proposals based on account address of
+ group policy.
+ operationId: ProposalsByGroupPolicy
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ proposals:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uint64
+ description: id is the unique id of the proposal.
+ group_policy_address:
+ type: string
+ description: >-
+ group_policy_address is the account address of group
+ policy.
+ metadata:
+ type: string
+ description: >-
+ metadata is any arbitrary metadata attached to the
+ proposal.
+ proposers:
+ type: array
+ items:
+ type: string
+ description: proposers are the account addresses of the proposers.
+ submit_time:
+ type: string
+ format: date-time
+ description: >-
+ submit_time is a timestamp specifying when a proposal
+ was submitted.
+ group_version:
+ type: string
+ format: uint64
+ description: >-
+ group_version tracks the version of the group at
+ proposal submission.
+
+ This field is here for informational purposes only.
+ group_policy_version:
+ type: string
+ format: uint64
+ description: >-
+ group_policy_version tracks the version of the group
+ policy at proposal submission.
+
+ When a decision policy is changed, existing proposals
+ from previous policy
+
+ versions will become invalid with the `ABORTED` status.
+
+ This field is here for informational purposes only.
+ status:
+ description: >-
+ status represents the high level position in the life
+ cycle of the proposal. Initial value is Submitted.
+ type: string
+ enum:
+ - PROPOSAL_STATUS_UNSPECIFIED
+ - PROPOSAL_STATUS_SUBMITTED
+ - PROPOSAL_STATUS_ACCEPTED
+ - PROPOSAL_STATUS_REJECTED
+ - PROPOSAL_STATUS_ABORTED
+ - PROPOSAL_STATUS_WITHDRAWN
+ default: PROPOSAL_STATUS_UNSPECIFIED
+ final_tally_result:
+ description: >-
+ final_tally_result contains the sums of all weighted
+ votes for this
+
+ proposal for each vote option. It is empty at
+ submission, and only
+
+ populated after tallying, at voting period end or at
+ proposal execution,
+
+ whichever happens first.
+ type: object
+ properties:
+ yes_count:
+ type: string
+ description: yes_count is the weighted sum of yes votes.
+ abstain_count:
+ type: string
+ description: abstain_count is the weighted sum of abstainers.
+ no_count:
+ type: string
+ description: no_count is the weighted sum of no votes.
+ no_with_veto_count:
+ type: string
+ description: no_with_veto_count is the weighted sum of veto.
+ voting_period_end:
+ type: string
+ format: date-time
+ description: >-
+ voting_period_end is the timestamp before which voting
+ must be done.
+
+ Unless a successful MsgExec is called before (to execute
+ a proposal whose
+
+ tally is successful before the voting period ends),
+ tallying will be done
+
+ at this point, and the `final_tally_result`and `status`
+ fields will be
+
+ accordingly updated.
+ executor_result:
+ description: >-
+ executor_result is the final result of the proposal
+ execution. Initial value is NotRun.
+ type: string
+ enum:
+ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED
+ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN
+ - PROPOSAL_EXECUTOR_RESULT_SUCCESS
+ - PROPOSAL_EXECUTOR_RESULT_FAILURE
+ default: PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED
+ messages:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the
+ type of the serialized
+
+ protocol buffer message. This string must contain
+ at least
+
+ one "/" character. The last segment of the URL's
+ path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should
+ be in a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the
+ binary all types that they
+
+ expect it to use in the context of Any. However,
+ for URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can
+ optionally set up a type
+
+ server that maps type URLs to message definitions
+ as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results
+ based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently
+ available in the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty
+ scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any
+ values in the form
+
+ of utility functions or additional generated methods
+ of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL
+ and the unpack
+
+ methods only use the fully qualified type name after
+ the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the
+ regular
+
+ representation of the deserialized, embedded message,
+ with an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a
+ custom JSON
+
+ representation, that representation will be embedded
+ adding a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message
+ [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ messages is a list of `sdk.Msg`s that will be executed
+ if the proposal passes.
+ title:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: title is the title of the proposal
+ summary:
+ type: string
+ description: 'Since: cosmos-sdk 0.47'
+ title: summary is a short summary of the proposal
+ description: >-
+ Proposal defines a group proposal. Any member of a group can
+ submit a proposal
+
+ for a group policy to decide upon.
+
+ A proposal consists of a set of `sdk.Msg`s that will be
+ executed if the proposal
+
+ passes as well as some optional metadata associated with the
+ proposal.
+ description: proposals are the proposals with given group policy.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryProposalsByGroupPolicyResponse is the
+ Query/ProposalByGroupPolicy response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: address
+ description: >-
+ address is the account address of the group policy related to
+ proposals.
+ 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
+ /cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}:
+ get:
+ summary: VoteByProposalVoter queries a vote by proposal id and voter.
+ operationId: VoteByProposalVoter
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ vote:
+ description: vote is the vote with given proposal_id and voter.
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal is the unique ID of the proposal.
+ voter:
+ type: string
+ description: voter is the account address of the voter.
+ option:
+ description: option is the voter's choice on the proposal.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ metadata:
+ type: string
+ description: metadata is any arbitrary metadata attached to the vote.
+ submit_time:
+ type: string
+ format: date-time
+ description: submit_time is the timestamp when the vote was submitted.
+ description: >-
+ QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter
+ response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: proposal_id
+ description: proposal_id is the unique ID of a proposal.
+ in: path
+ required: true
+ type: string
+ format: uint64
+ - name: voter
+ description: voter is a proposal voter account address.
+ in: path
+ required: true
+ type: string
+ tags:
+ - Query
+ /cosmos/group/v1/votes_by_proposal/{proposal_id}:
+ get:
+ summary: VotesByProposal queries a vote by proposal id.
+ operationId: VotesByProposal
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ votes:
+ type: array
+ items:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal is the unique ID of the proposal.
+ voter:
+ type: string
+ description: voter is the account address of the voter.
+ option:
+ description: option is the voter's choice on the proposal.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ metadata:
+ type: string
+ description: metadata is any arbitrary metadata attached to the vote.
+ submit_time:
+ type: string
+ format: date-time
+ description: >-
+ submit_time is the timestamp when the vote was
+ submitted.
+ description: Vote represents a vote for a proposal.
+ description: votes are the list of votes for given proposal_id.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryVotesByProposalResponse is the Query/VotesByProposal response
+ type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: proposal_id
+ description: proposal_id is the unique ID of a 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
+ - 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
+ /cosmos/group/v1/votes_by_voter/{voter}:
+ get:
+ summary: VotesByVoter queries a vote by voter.
+ operationId: VotesByVoter
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ votes:
+ type: array
+ items:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal is the unique ID of the proposal.
+ voter:
+ type: string
+ description: voter is the account address of the voter.
+ option:
+ description: option is the voter's choice on the proposal.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ metadata:
+ type: string
+ description: metadata is any arbitrary metadata attached to the vote.
+ submit_time:
+ type: string
+ format: date-time
+ description: >-
+ submit_time is the timestamp when the vote was
+ submitted.
+ description: Vote represents a vote for a proposal.
+ description: votes are the list of votes by given voter.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: QueryVotesByVoterResponse is the Query/VotesByVoter response type.
+ 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
+
+ protocol buffer message. This string must contain at
+ least
+
+ one "/" character. The last segment of the URL's path
+ must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary
+ all types that they
+
+ expect it to use in the context of Any. However, for
+ URLs which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based
+ on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in
+ the official
+
+ protobuf release, and it is not used for type URLs
+ beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values
+ in the form
+
+ of utility functions or additional generated methods of the
+ Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by
+ default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the
+ last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with
+ an
+
+ additional field `@type` which contains the type URL.
+ Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom
+ JSON
+
+ representation, that representation will be embedded adding
+ a field
+
+ `value` which holds the custom JSON in addition to the
+ `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ parameters:
+ - name: voter
+ description: voter is a proposal voter account address.
+ 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
+definitions:
+ akash.audit.v1.Provider:
+ 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
+ akash.audit.v1.QueryProvidersResponse:
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: QueryProvidersResponse is response type for the Query/Providers RPC method
+ akash.base.attributes.v1.Attribute:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ title: Attribute represents key value pair
+ cosmos.base.query.v1beta1.PageRequest:
+ type: object
+ properties:
+ key:
+ type: string
+ format: byte
+ 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.
+ offset:
+ type: string
+ format: uint64
+ 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.
+ limit:
+ type: string
+ format: uint64
+ 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.
+ count_total:
+ type: boolean
+ 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.
+ reverse:
+ type: boolean
+ description: >-
+ reverse is set to true if results are to be returned in the descending
+ order.
+
+
+ Since: cosmos-sdk 0.43
+ description: |-
+ message SomeRequest {
+ Foo some_parameter = 1;
+ PageRequest pagination = 2;
+ }
+ title: |-
+ PageRequest is to be embedded in gRPC request messages for efficient
+ pagination. Ex:
+ cosmos.base.query.v1beta1.PageResponse:
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: |-
+ total is total number of results available if PageRequest.count_total
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ google.protobuf.Any:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a canonical
+ form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types that
+ they
+
+ expect it to use in the context of Any. However, for URLs which use
+ the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ grpc.gateway.runtime.Error:
+ 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
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up
+ a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ akash.cert.v1.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
+ - valid: CertificateValid denotes state for deployment active
+ - 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
+ akash.cert.v1.CertificateFilter:
+ type: object
+ properties:
+ owner:
+ type: string
+ serial:
+ type: string
+ state:
+ type: string
+ enum:
+ - invalid
+ - valid
+ - revoked
+ default: invalid
+ description: >-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - valid: CertificateValid denotes state for deployment active
+ - revoked: CertificateRevoked denotes state for deployment closed
+ title: State is an enum which refers to state of deployment
+ title: CertificateFilter defines filters used to filter certificates
+ akash.cert.v1.CertificateResponse:
+ 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
+ - valid: CertificateValid denotes state for deployment active
+ - 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
+ akash.cert.v1.QueryCertificatesResponse:
+ 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
+ - valid: CertificateValid denotes state for deployment active
+ - 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: >-
+ QueryCertificatesResponse is response type for the Query/Certificates RPC
+ method
+ akash.cert.v1.State:
+ type: string
+ enum:
+ - invalid
+ - valid
+ - revoked
+ default: invalid
+ description: |-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - valid: CertificateValid denotes state for deployment active
+ - revoked: CertificateRevoked denotes state for deployment closed
+ title: State is an enum which refers to state of deployment
+ akash.base.attributes.v1.PlacementRequirements:
+ 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
+ akash.base.attributes.v1.SignedBy:
+ 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
+ title: >-
+ SignedBy represents validation accounts that tenant expects signatures for
+ provider attributes
+
+ AllOf has precedence i.e. if there is at least one entry AnyOf is ignored
+ regardless to how many
+
+ entries there
+
+ this behaviour to be discussed
+ akash.base.resources.v1beta4.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
+ akash.base.resources.v1beta4.Endpoint:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ akash.base.resources.v1beta4.Endpoint.Kind:
+ type: string
+ enum:
+ - SHARED_HTTP
+ - RANDOM_PORT
+ - LEASED_IP
+ default: SHARED_HTTP
+ description: |-
+ - SHARED_HTTP: Describes an endpoint that becomes a Kubernetes Ingress
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - LEASED_IP: Describes an endpoint that becomes a leased IP
+ title: This describes how the endpoint is implemented when the lease is deployed
+ akash.base.resources.v1beta4.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
+ akash.base.resources.v1beta4.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
+ akash.base.resources.v1beta4.ResourceValue:
+ type: object
+ properties:
+ val:
+ type: string
+ format: byte
+ title: Unit stores cpu, memory and storage metrics
+ akash.base.resources.v1beta4.Resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ akash.base.resources.v1beta4.Storage:
+ 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
+ akash.deployment.v1.Deployment:
+ type: object
+ properties:
+ 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
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
+ title: DeploymentState is an enum which refers to state of deployment
+ hash:
+ type: string
+ format: byte
+ created_at:
+ type: string
+ format: int64
+ title: Deployment stores deploymentID, state and version details
+ akash.deployment.v1.DeploymentID:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ title: DeploymentID stores owner and sequence number
+ akash.deployment.v1.DeploymentState:
+ type: string
+ enum:
+ - invalid
+ - active
+ - closed
+ default: invalid
+ description: |-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
+ title: DeploymentState is an enum which refers to state of deployment
+ akash.deployment.v1.GroupID:
+ 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
+ akash.deployment.v1beta4.DeploymentFilters:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ state:
+ type: string
+ enum:
+ - invalid
+ - active
+ - closed
+ default: invalid
+ description: >-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
+ title: DeploymentState is an enum which refers to state of deployment
+ title: DeploymentFilters defines filters used to filter deployments
+ akash.deployment.v1beta4.Group:
+ type: object
+ properties:
+ 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
+ - open: GroupOpen denotes state for group open
+ - paused: GroupOrdered denotes state for group ordered
+ - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
+ - closed: GroupClosed denotes state for group closed
+ title: GroupState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec stores group specifications
+ created_at:
+ type: string
+ format: int64
+ title: Group stores group id, state and specifications of group
+ akash.deployment.v1beta4.GroupSpec:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec stores group specifications
+ akash.deployment.v1beta4.GroupState:
+ type: string
+ enum:
+ - invalid
+ - open
+ - paused
+ - insufficient_funds
+ - closed
+ default: invalid
+ description: |-
+ - invalid: Prefix should start with 0 in enum. So declaring dummy state
+ - open: GroupOpen denotes state for group open
+ - paused: GroupOrdered denotes state for group ordered
+ - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
+ - closed: GroupClosed denotes state for group closed
+ title: GroupState is an enum which refers to state of group
+ akash.deployment.v1beta4.QueryDeploymentResponse:
+ type: object
+ properties:
+ deployment:
+ type: object
+ properties:
+ 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
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
+ title: DeploymentState is an enum which refers to state of deployment
+ hash:
+ 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:
+ 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
+ - open: GroupOpen denotes state for group open
+ - paused: GroupOrdered denotes state for group ordered
+ - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
+ - closed: GroupClosed denotes state for group closed
+ title: GroupState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec 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
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - 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
+ akash.deployment.v1beta4.QueryDeploymentsResponse:
+ type: object
+ properties:
+ deployments:
+ type: array
+ items:
+ type: object
+ properties:
+ deployment:
+ type: object
+ properties:
+ 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
+ - active: DeploymentActive denotes state for deployment active
+ - closed: DeploymentClosed denotes state for deployment closed
+ title: >-
+ DeploymentState is an enum which refers to state of
+ deployment
+ hash:
+ 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:
+ 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
+ - open: GroupOpen denotes state for group open
+ - paused: GroupOrdered denotes state for group ordered
+ - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
+ - closed: GroupClosed denotes state for group closed
+ title: GroupState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec 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
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: >-
+ QueryDeploymentsResponse is response type for the Query/Deployments RPC
+ method
+ akash.deployment.v1beta4.QueryGroupResponse:
+ type: object
+ properties:
+ group:
+ type: object
+ properties:
+ 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
+ - open: GroupOpen denotes state for group open
+ - paused: GroupOrdered denotes state for group ordered
+ - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
+ - closed: GroupClosed denotes state for group closed
+ title: GroupState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec 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
+ akash.deployment.v1beta4.ResourceUnit:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ akash.escrow.v1.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
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - 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
+ akash.escrow.v1.AccountID:
+ type: object
+ properties:
+ scope:
+ type: string
+ xid:
+ type: string
+ title: AccountID is the account identifier
+ akash.escrow.v1.AccountState:
+ type: string
+ enum:
+ - invalid
+ - open
+ - closed
+ - overdrawn
+ default: invalid
+ description: |-
+ - invalid: AccountStateInvalid is an invalid state
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - overdrawn: AccountOverdrawn is the state when an account is overdrawn
+ title: State stores state for an escrow account
+ cosmos.base.v1beta1.DecCoin:
+ 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.
+ akash.deployment.v1.MsgDepositDeploymentResponse:
+ type: object
+ description: >-
+ MsgCreateDeploymentResponse defines the Msg/CreateDeployment response
+ type.
+ akash.deployment.v1beta4.MsgCloseDeploymentResponse:
+ type: object
+ description: MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
+ akash.deployment.v1beta4.MsgCloseGroupResponse:
+ type: object
+ description: MsgCloseGroupResponse defines the Msg/CloseGroup response type.
+ akash.deployment.v1beta4.MsgCreateDeploymentResponse:
+ type: object
+ description: >-
+ MsgCreateDeploymentResponse defines the Msg/CreateDeployment response
+ type.
+ akash.deployment.v1beta4.MsgPauseGroupResponse:
+ type: object
+ description: MsgPauseGroupResponse defines the Msg/PauseGroup response type.
+ akash.deployment.v1beta4.MsgStartGroupResponse:
+ type: object
+ description: MsgStartGroupResponse defines the Msg/StartGroup response type.
+ akash.deployment.v1beta4.MsgUpdateDeploymentResponse:
+ type: object
+ description: >-
+ MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response
+ type.
+ cosmos.base.v1beta1.Coin:
+ 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.
+ akash.escrow.v1.FractionalPayment:
+ 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
+ - open: PaymentStateOpen is the state when the payment is open
+ - closed: PaymentStateClosed is the state when the payment is closed
+ - 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
+ akash.escrow.v1.FractionalPayment.State:
+ type: string
+ enum:
+ - invalid
+ - open
+ - closed
+ - overdrawn
+ default: invalid
+ description: |-
+ - invalid: PaymentStateInvalid is the state when the payment is invalid
+ - open: PaymentStateOpen is the state when the payment is open
+ - closed: PaymentStateClosed is the state when the payment is closed
+ - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn
+ title: Payment State
+ akash.market.v1.BidFilters:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ gseq:
+ type: integer
+ format: int64
+ oseq:
+ type: integer
+ format: int64
+ provider:
+ type: string
+ state:
+ type: string
+ enum:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
+ description: >-
+ - bid_invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState is an enum which refers to state of bid
+ title: BidFilters defines flags for bid list filter
+ akash.market.v1.BidID:
+ 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).
+ akash.market.v1.BidState:
+ type: string
+ enum:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
+ description: >-
+ - bid_invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState is an enum which refers to state of bid
+ akash.market.v1.Lease:
+ type: object
+ properties:
+ 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:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
+ description: >-
+ - lease_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_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
+ akash.market.v1.LeaseFilters:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ gseq:
+ type: integer
+ format: int64
+ oseq:
+ type: integer
+ format: int64
+ provider:
+ type: string
+ state:
+ type: string
+ enum:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
+ description: >-
+ - lease_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_closed: LeaseClosed denotes state for lease closed
+ title: State is an enum which refers to state of lease
+ title: LeaseFilters defines flags for lease list filter
+ akash.market.v1.LeaseID:
+ 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
+ akash.market.v1.LeaseState:
+ type: string
+ enum:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
+ description: >-
+ - lease_invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_closed: LeaseClosed denotes state for lease closed
+ title: State is an enum which refers to state of lease
+ akash.market.v1.OrderFilters:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ gseq:
+ type: integer
+ format: int64
+ oseq:
+ type: integer
+ format: int64
+ state:
+ type: string
+ enum:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
+ description: >-
+ - order_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState is an enum which refers to state of order
+ title: OrderFilters defines flags for order list filter
+ akash.market.v1.OrderID:
+ 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
+ akash.market.v1.OrderState:
+ type: string
+ enum:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
+ description: >-
+ - order_invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState is an enum which refers to state of order
+ akash.market.v1beta5.Bid:
+ type: object
+ properties:
+ 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:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
+ description: >-
+ - bid_invalid: Prefix should start with 0 in enum. So declaring dummy
+ state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState 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
+ resources_offer:
+ type: array
+ items:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: |-
+ ResourceOffer describes resources that provider is offering
+ for deployment
+ title: Bid stores BidID, state of bid and price
+ akash.market.v1beta5.Order:
+ type: object
+ properties:
+ 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:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
+ description: >-
+ - order_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec stores group specifications
+ created_at:
+ type: string
+ format: int64
+ title: Order stores orderID, state of order and other details
+ akash.market.v1beta5.QueryBidResponse:
+ type: object
+ properties:
+ bid:
+ type: object
+ properties:
+ 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:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
+ description: >-
+ - bid_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState 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
+ resources_offer:
+ type: array
+ items:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: |-
+ ResourceOffer describes resources that provider is offering
+ for deployment
+ 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
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - 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
+ akash.market.v1beta5.QueryBidsResponse:
+ type: object
+ properties:
+ bids:
+ type: array
+ items:
+ type: object
+ properties:
+ bid:
+ type: object
+ properties:
+ 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:
+ - bid_invalid
+ - bid_open
+ - bid_active
+ - bid_lost
+ - bid_closed
+ default: bid_invalid
+ description: >-
+ - bid_invalid: Prefix should start with 0 in enum. So
+ declaring dummy state
+ - bid_open: BidOpen denotes state for bid open
+ - bid_active: BidMatched denotes state for bid open
+ - bid_lost: BidLost denotes state for bid lost
+ - bid_closed: BidClosed denotes state for bid closed
+ title: BidState 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
+ resources_offer:
+ type: array
+ items:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: >-
+ ResourceOffer describes resources that provider is
+ offering
+
+ for deployment
+ 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
+ - open: AccountOpen is the state when an account is open
+ - closed: AccountClosed is the state when an account is closed
+ - 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: QueryBidsResponse is response type for the Query/Bids RPC method
+ akash.market.v1beta5.QueryLeaseResponse:
+ type: object
+ properties:
+ lease:
+ type: object
+ properties:
+ 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:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
+ description: >-
+ - lease_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_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
+ - open: PaymentStateOpen is the state when the payment is open
+ - closed: PaymentStateClosed is the state when the payment is closed
+ - 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
+ akash.market.v1beta5.QueryLeasesResponse:
+ type: object
+ properties:
+ leases:
+ type: array
+ items:
+ type: object
+ properties:
+ lease:
+ type: object
+ properties:
+ 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:
+ - lease_invalid
+ - lease_active
+ - lease_insufficient_funds
+ - lease_closed
+ default: lease_invalid
+ description: >-
+ - lease_invalid: Prefix should start with 0 in enum. So
+ declaring dummy state
+ - lease_active: LeaseActive denotes state for lease active
+ - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
+ - lease_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
+ - open: PaymentStateOpen is the state when the payment is open
+ - closed: PaymentStateClosed is the state when the payment is closed
+ - 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: QueryLeasesResponse is response type for the Query/Leases RPC method
+ akash.market.v1beta5.QueryOrderResponse:
+ type: object
+ properties:
+ order:
+ type: object
+ properties:
+ 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:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
+ description: >-
+ - order_invalid: Prefix should start with 0 in enum. So declaring
+ dummy state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec 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
+ akash.market.v1beta5.QueryOrdersResponse:
+ type: object
+ properties:
+ orders:
+ type: array
+ items:
+ type: object
+ properties:
+ 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:
+ - order_invalid
+ - order_open
+ - order_active
+ - order_closed
+ default: order_invalid
+ description: >-
+ - order_invalid: Prefix should start with 0 in enum. So
+ declaring dummy state
+ - order_open: OrderOpen denotes state for order open
+ - order_active: OrderMatched denotes state for order matched
+ - order_closed: OrderClosed denotes state for order lost
+ title: OrderState 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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: Spec 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: QueryOrdersResponse is response type for the Query/Orders RPC method
+ akash.market.v1beta5.ResourceOffer:
+ type: object
+ properties:
+ resources:
+ 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
+ - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
+ - 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
+ title: |-
+ ResourceOffer describes resources that provider is offering
+ for deployment
+ akash.market.v1beta5.MsgCloseBidResponse:
+ type: object
+ description: MsgCloseBidResponse defines the Msg/CloseBid response type.
+ akash.market.v1beta5.MsgCloseLeaseResponse:
+ type: object
+ description: MsgCloseLeaseResponse defines the Msg/CloseLease response type.
+ akash.market.v1beta5.MsgCreateBidResponse:
+ type: object
+ description: MsgCreateBidResponse defines the Msg/CreateBid response type.
+ akash.market.v1beta5.MsgCreateLeaseResponse:
+ type: object
+ title: MsgCreateLeaseResponse is the response from creating a lease
+ akash.market.v1beta5.MsgWithdrawLeaseResponse:
+ type: object
+ description: MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
+ akash.provider.v1beta4.Info:
+ type: object
+ properties:
+ email:
+ type: string
+ website:
+ type: string
+ title: Info
+ akash.provider.v1beta4.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: Info
+ title: Provider stores owner and host details
+ akash.provider.v1beta4.QueryProviderResponse:
+ 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: Info
+ title: Provider stores owner and host details
+ title: QueryProviderResponse is response type for the Query/Provider RPC method
+ akash.provider.v1beta4.QueryProvidersResponse:
+ 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: Info
+ title: Provider stores owner and host details
+ pagination:
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ PageResponse is to be embedded in gRPC response messages where the
+ corresponding request message has used PageRequest.
+
+ message SomeResponse {
+ repeated Bar results = 1;
+ PageResponse page = 2;
+ }
+ title: QueryProvidersResponse is response type for the Query/Providers RPC method
+ cosmos.auth.v1beta1.AddressBytesToStringResponse:
+ type: object
+ properties:
+ address_string:
+ type: string
+ description: >-
+ AddressBytesToStringResponse is the response type for AddressString rpc
+ method.
+
+
+ Since: cosmos-sdk 0.46
+ cosmos.auth.v1beta1.AddressStringToBytesResponse:
+ type: object
+ properties:
+ address_bytes:
+ type: string
+ format: byte
+ description: >-
+ AddressStringToBytesResponse is the response type for AddressBytes rpc
+ method.
+
+
+ Since: cosmos-sdk 0.46
+ cosmos.auth.v1beta1.BaseAccount:
+ type: object
+ properties:
+ address:
+ type: string
+ pub_key:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ account_number:
+ type: string
+ format: uint64
+ sequence:
+ type: string
+ format: uint64
+ description: >-
+ BaseAccount defines a base account type. It contains all the necessary
+ fields
+
+ for basic account functionality. Any custom account type should extend
+ this
+
+ type for additional functionality (e.g. vesting).
+ cosmos.auth.v1beta1.Bech32PrefixResponse:
+ type: object
+ properties:
+ bech32_prefix:
+ type: string
+ description: |-
+ Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
+
+ Since: cosmos-sdk 0.46
+ cosmos.auth.v1beta1.Params:
+ 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: Params defines the parameters for the auth module.
+ cosmos.auth.v1beta1.QueryAccountAddressByIDResponse:
+ type: object
+ properties:
+ account_address:
+ type: string
+ description: 'Since: cosmos-sdk 0.46.2'
+ title: >-
+ QueryAccountAddressByIDResponse is the response type for
+ AccountAddressByID rpc method
+ cosmos.auth.v1beta1.QueryAccountInfoResponse:
+ type: object
+ properties:
+ info:
+ description: info is the account info which is represented by BaseAccount.
+ type: object
+ properties:
+ address:
+ type: string
+ pub_key:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all
+ types that they
+
+ expect it to use in the context of Any. However, for URLs
+ which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set
+ up a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on
+ the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a
+ field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ account_number:
+ type: string
+ format: uint64
+ sequence:
+ type: string
+ format: uint64
+ description: |-
+ QueryAccountInfoResponse is the Query/AccountInfo response type.
+
+ Since: cosmos-sdk 0.47
+ cosmos.auth.v1beta1.QueryAccountResponse:
+ type: object
+ properties:
+ account:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryAccountResponse is the response type for the Query/Account RPC
+ method.
+ cosmos.auth.v1beta1.QueryAccountsResponse:
+ 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
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up
+ a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ title: accounts are the existing accounts
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryAccountsResponse is the response type for the Query/Accounts RPC
+ method.
+
+
+ Since: cosmos-sdk 0.43
+ cosmos.auth.v1beta1.QueryModuleAccountByNameResponse:
+ type: object
+ properties:
+ account:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryModuleAccountByNameResponse is the response type for the
+ Query/ModuleAccountByName RPC method.
+ cosmos.auth.v1beta1.QueryModuleAccountsResponse:
+ 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
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up
+ a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryModuleAccountsResponse is the response type for the
+ Query/ModuleAccounts RPC method.
+
+
+ Since: cosmos-sdk 0.46
+ cosmos.auth.v1beta1.QueryParamsResponse:
+ 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.
+ cosmos.bank.v1beta1.DenomOwner:
+ 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.
+
+ Since: cosmos-sdk 0.46
+ cosmos.bank.v1beta1.DenomUnit:
+ 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 = 10^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.
+ cosmos.bank.v1beta1.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 = 10^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
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains additional
+ information. Optional.
+
+
+ Since: cosmos-sdk 0.46
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ description: |-
+ Metadata represents a struct that describes
+ a basic token.
+ cosmos.bank.v1beta1.Params:
+ type: object
+ properties:
+ send_enabled:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ enabled:
+ type: boolean
+ description: >-
+ SendEnabled maps coin denom to a send_enabled status (whether a
+ denom is
+
+ sendable).
+ description: >-
+ Deprecated: Use of SendEnabled in params is deprecated.
+
+ For genesis, use the newly added send_enabled field in the genesis
+ object.
+
+ Storage, lookup, and manipulation of this information is now in the
+ keeper.
+
+
+ As of cosmos-sdk 0.47, this only exists for backwards compatibility of
+ genesis files.
+ default_send_enabled:
+ type: boolean
+ description: Params defines the parameters for the bank module.
+ cosmos.bank.v1beta1.QueryAllBalancesResponse:
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryAllBalancesResponse is the response type for the Query/AllBalances
+ RPC
+
+ method.
+ cosmos.bank.v1beta1.QueryBalanceResponse:
+ 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.
+ cosmos.bank.v1beta1.QueryDenomMetadataResponse:
+ 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 = 10^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
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains additional
+ information. Optional.
+
+
+ Since: cosmos-sdk 0.46
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ description: |-
+ Metadata represents a struct that describes
+ a basic token.
+ description: >-
+ QueryDenomMetadataResponse is the response type for the
+ Query/DenomMetadata RPC
+
+ method.
+ cosmos.bank.v1beta1.QueryDenomOwnersResponse:
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC
+ query.
+
+
+ Since: cosmos-sdk 0.46
+ cosmos.bank.v1beta1.QueryDenomsMetadataResponse:
+ 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 = 10^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
+ description: 'Since: cosmos-sdk 0.43'
+ 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.
+
+
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains additional
+ information. Optional.
+
+
+ Since: cosmos-sdk 0.46
+ 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.
+
+
+ Since: cosmos-sdk 0.46
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryDenomsMetadataResponse is the response type for the
+ Query/DenomsMetadata RPC
+
+ method.
+ cosmos.bank.v1beta1.QueryParamsResponse:
+ type: object
+ properties:
+ params:
+ type: object
+ properties:
+ send_enabled:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ enabled:
+ type: boolean
+ description: >-
+ SendEnabled maps coin denom to a send_enabled status (whether a
+ denom is
+
+ sendable).
+ description: >-
+ Deprecated: Use of SendEnabled in params is deprecated.
+
+ For genesis, use the newly added send_enabled field in the genesis
+ object.
+
+ Storage, lookup, and manipulation of this information is now in
+ the keeper.
+
+
+ As of cosmos-sdk 0.47, this only exists for backwards
+ compatibility of genesis files.
+ default_send_enabled:
+ type: boolean
+ description: Params defines the parameters for the bank module.
+ description: >-
+ QueryParamsResponse defines the response type for querying x/bank
+ parameters.
+ cosmos.bank.v1beta1.QuerySendEnabledResponse:
+ type: object
+ properties:
+ send_enabled:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ enabled:
+ type: boolean
+ description: >-
+ SendEnabled maps coin denom to a send_enabled status (whether a
+ denom is
+
+ sendable).
+ pagination:
+ description: |-
+ pagination defines the pagination in the response. This field is only
+ populated if the denoms field in the request is empty.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ QuerySendEnabledResponse defines the RPC response of a SendEnable query.
+
+ Since: cosmos-sdk 0.47
+ cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse:
+ 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: >-
+ QuerySpendableBalanceByDenomResponse defines the gRPC response structure
+ for
+
+ querying an account's spendable balance for a specific denom.
+
+
+ Since: cosmos-sdk 0.47
+ cosmos.bank.v1beta1.QuerySpendableBalancesResponse:
+ 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 spendable balances of all the coins.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QuerySpendableBalancesResponse defines the gRPC response structure for
+ querying
+
+ an account's spendable balances.
+
+
+ Since: cosmos-sdk 0.46
+ cosmos.bank.v1beta1.QuerySupplyOfResponse:
+ 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.
+ cosmos.bank.v1beta1.QueryTotalSupplyResponse:
+ 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.
+
+ Since: cosmos-sdk 0.43
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ title: >-
+ QueryTotalSupplyResponse is the response type for the Query/TotalSupply
+ RPC
+
+ method
+ cosmos.bank.v1beta1.SendEnabled:
+ type: object
+ properties:
+ denom:
+ type: string
+ enabled:
+ type: boolean
+ description: |-
+ SendEnabled maps coin denom to a send_enabled status (whether a denom is
+ sendable).
+ cosmos.base.tendermint.v1beta1.ABCIQueryResponse:
+ type: object
+ properties:
+ code:
+ type: integer
+ format: int64
+ log:
+ type: string
+ info:
+ type: string
+ index:
+ type: string
+ format: int64
+ key:
+ type: string
+ format: byte
+ value:
+ type: string
+ format: byte
+ proof_ops:
+ type: object
+ properties:
+ ops:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ key:
+ type: string
+ format: byte
+ data:
+ type: string
+ format: byte
+ description: >-
+ ProofOp defines an operation used for calculating Merkle root.
+ The data could
+
+ be arbitrary format, providing necessary data for example
+ neighbouring node
+
+ hash.
+
+
+ Note: This type is a duplicate of the ProofOp proto type defined
+ in Tendermint.
+ description: >-
+ ProofOps is Merkle proof defined by the list of ProofOps.
+
+
+ Note: This type is a duplicate of the ProofOps proto type defined in
+ Tendermint.
+ height:
+ type: string
+ format: int64
+ codespace:
+ type: string
+ description: >-
+ ABCIQueryResponse defines the response structure for the ABCIQuery gRPC
+ query.
+
+
+ Note: This type is a duplicate of the ResponseQuery proto type defined in
+
+ Tendermint.
+ cosmos.base.tendermint.v1beta1.Block:
+ type: object
+ properties:
+ header:
+ type: object
+ properties:
+ version:
+ title: basic block info
+ type: object
+ properties:
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ description: >-
+ Consensus captures the consensus rules for processing a block in
+ the blockchain,
+
+ 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:
+ 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
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer address, formatted
+ as a Bech32 string.
+
+ In Tendermint, this type is `bytes`, but in the SDK, we convert it
+ to a Bech32 string
+
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block was
+ committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set of
+ validators.
+ description: |-
+ Block is tendermint type Block, with the Header proposer address
+ field converted to bech32 string.
+ cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse:
+ type: object
+ properties:
+ block_id:
+ 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
+ title: BlockID
+ block:
+ title: 'Deprecated: please use `sdk_block` instead'
+ type: object
+ properties:
+ header:
+ type: object
+ properties:
+ version:
+ title: basic block info
+ type: object
+ properties:
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ description: >-
+ Consensus captures the consensus rules for processing a block
+ in the blockchain,
+
+ including all blockchain data structures and the rules of the
+ application's
+
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block
+ was committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set
+ of validators.
+ sdk_block:
+ title: 'Since: cosmos-sdk 0.47'
+ 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:
+ 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
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer address,
+ formatted as a Bech32 string.
+
+ In Tendermint, this type is `bytes`, but in the SDK, we
+ convert it to a Bech32 string
+
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block
+ was committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set
+ of validators.
+ description: |-
+ Block is tendermint type Block, with the Header proposer address
+ field converted to bech32 string.
+ description: >-
+ GetBlockByHeightResponse is the response type for the
+ Query/GetBlockByHeight RPC method.
+ cosmos.base.tendermint.v1beta1.GetLatestBlockResponse:
type: object
properties:
- group_id:
+ block_id:
type: object
properties:
- owner:
- type: string
- dseq:
+ hash:
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
- - open: GroupOpen denotes state for group open
- - paused: GroupOrdered denotes state for group ordered
- - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- - closed: GroupClosed denotes state for group closed
- title: State is an enum which refers to state of group
- group_spec:
+ format: byte
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ block:
+ title: 'Deprecated: please use `sdk_block` instead'
type: object
properties:
- name:
- type: string
- requirements:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
+ type: object
+ properties:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block
+ was committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
type: object
properties:
- signed_by:
- title: >-
- SignedBy list of keys that tenants expect to have signatures
- from
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
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:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ signatures:
type: array
items:
type: object
properties:
- key:
+ block_id_flag:
type: string
- value:
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
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:
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set
+ of validators.
+ sdk_block:
+ title: 'Since: cosmos-sdk 0.47'
+ 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:
+ 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
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer address,
+ formatted as a Bech32 string.
+
+ In Tendermint, this type is `bytes`, but in the SDK, we
+ convert it to a Bech32 string
+
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
type: object
properties:
- id:
- type: integer
- format: int64
- cpu:
+ duplicate_vote_evidence:
type: object
properties:
- units:
+ vote_a:
type: object
properties:
- val:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
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:
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
type: object
properties:
- val:
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
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:
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block
+ was committed by a set of validators.
+ validator_set:
type: object
properties:
- key:
- type: string
- value:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
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:
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
type: array
items:
type: object
properties:
- key:
+ address:
type: string
- value:
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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:
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
type: object
properties:
- denom:
+ block_id_flag:
type: string
- amount:
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
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
- akash.deployment.v1beta3.Group.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
- - open: GroupOpen denotes state for group open
- - paused: GroupOrdered denotes state for group ordered
- - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- - closed: GroupClosed denotes state for group closed
- title: State is an enum which refers to state of group
- akash.deployment.v1beta3.GroupID:
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set
+ of validators.
+ description: |-
+ Block is tendermint type Block, with the Header proposer address
+ field converted to bech32 string.
+ description: >-
+ GetLatestBlockResponse is the response type for the Query/GetLatestBlock
+ RPC method.
+ cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse:
type: object
properties:
- owner:
- type: string
- dseq:
+ block_height:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- title: GroupID stores owner, deployment sequence number and group sequence number
- akash.deployment.v1beta3.GroupSpec:
- 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:
+ validators:
type: array
items:
type: object
properties:
- resource:
+ address:
+ type: string
+ pub_key:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all
+ types that they
+
+ expect it to use in the context of Any. However, for URLs
+ which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set
+ up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on
+ the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in
+ the form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- 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.
+ Example 2: Pack and unpack a message in Java.
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- NOTE: The amount field is an Dec which implements the custom
- method
+ Example 3: Pack and unpack a message in Python.
- signatures required by gogoproto.
- title: ResourceUnit extends Resources and adds Count along with the Price
- title: GroupSpec stores group specifications
- akash.deployment.v1beta3.QueryDeploymentResponse:
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default
+ use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the last
+ '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a
+ field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ pagination:
+ description: pagination defines an pagination for the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ GetLatestValidatorSetResponse is the response type for the
+ Query/GetValidatorSetByHeight RPC method.
+ cosmos.base.tendermint.v1beta1.GetNodeInfoResponse:
type: object
properties:
- deployment:
+ default_node_info:
type: object
properties:
- deployment_id:
+ protocol_version:
type: object
properties:
- owner:
+ p2p:
type: string
- dseq:
+ format: uint64
+ block:
type: string
format: uint64
- title: DeploymentID stores owner and sequence number
- state:
+ app:
+ type: string
+ format: uint64
+ default_node_id:
+ type: string
+ listen_addr:
+ type: string
+ network:
type: string
- enum:
- - invalid
- - active
- - closed
- default: invalid
- description: >-
- - invalid: Prefix should start with 0 in enum. So declaring dummy
- state
- - active: DeploymentActive denotes state for deployment active
- - closed: DeploymentClosed denotes state for deployment closed
- title: State is an enum which refers to state of deployment
version:
type: string
+ channels:
+ type: string
format: byte
- created_at:
+ moniker:
type: string
- format: int64
- title: Deployment stores deploymentID, state and version details
- groups:
+ other:
+ type: object
+ properties:
+ tx_index:
+ type: string
+ rpc_address:
+ type: string
+ application_version:
+ type: object
+ properties:
+ name:
+ type: string
+ app_name:
+ type: string
+ version:
+ type: string
+ git_commit:
+ type: string
+ build_tags:
+ type: string
+ go_version:
+ type: string
+ build_deps:
+ type: array
+ items:
+ type: object
+ properties:
+ path:
+ type: string
+ title: module path
+ version:
+ type: string
+ title: module version
+ sum:
+ type: string
+ title: checksum
+ title: Module is the type for VersionInfo
+ cosmos_sdk_version:
+ type: string
+ title: 'Since: cosmos-sdk 0.43'
+ description: VersionInfo is the type for the GetNodeInfoResponse message.
+ description: >-
+ GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC
+ method.
+ cosmos.base.tendermint.v1beta1.GetSyncingResponse:
+ type: object
+ properties:
+ syncing:
+ type: boolean
+ description: >-
+ GetSyncingResponse is the response type for the Query/GetSyncing RPC
+ method.
+ cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse:
+ type: object
+ properties:
+ block_height:
+ type: string
+ format: int64
+ validators:
type: array
items:
type: object
properties:
- group_id:
+ address:
+ type: string
+ pub_key:
type: object
properties:
- owner:
+ type_url:
type: string
- dseq:
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all
+ types that they
+
+ expect it to use in the context of Any. However, for URLs
+ which use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set
+ up a type
+
+ server that maps type URLs to message definitions as
+ follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on
+ the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
+
+ used with implementation specific semantics.
+ value:
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
+ format: byte
+ description: >-
+ Must be a valid serialized protocol buffer of the above
+ specified type.
description: >-
- - invalid: Prefix should start with 0 in enum. So declaring
- dummy state
- - open: GroupOpen denotes state for group open
- - paused: GroupOrdered denotes state for group ordered
- - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- - 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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
+ `Any` contains an arbitrary serialized protocol buffer message
+ along with a
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in
+ the form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- 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.
+ Example 3: Pack and unpack a message in Python.
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- NOTE: The amount field is an Dec which implements the
- custom method
+ Example 4: Pack and unpack a message in Go
- signatures required by gogoproto.
- title: >-
- ResourceUnit extends Resources and adds Count along with
- the Price
- title: GroupSpec stores group specifications
- created_at:
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default
+ use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
+
+ methods only use the fully qualified type name after the last
+ '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a
+ field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ voting_power:
type: string
format: int64
- title: Group stores group id, state and specifications of group
- escrow_account:
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ pagination:
+ description: pagination defines an pagination for the response.
type: object
properties:
- 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
+ next_key:
type: string
- enum:
- - invalid
- - open
- - closed
- - overdrawn
- default: invalid
+ format: byte
description: |-
- - invalid: AccountStateInvalid is an invalid state
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - 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
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
- signatures required by gogoproto.
- title: total coins spent by this account
- settled_at:
+ was set, its value is undefined otherwise
+ description: >-
+ GetValidatorSetByHeightResponse is the response type for the
+ Query/GetValidatorSetByHeight RPC method.
+ cosmos.base.tendermint.v1beta1.Header:
+ type: object
+ properties:
+ version:
+ title: basic block info
+ type: object
+ properties:
+ block:
type: string
- format: int64
- title: block height at which this account was last settled
- depositor:
+ format: uint64
+ app:
type: string
- description: >-
- bech32 encoded account address of the depositor.
+ format: uint64
+ description: >-
+ Consensus captures the consensus rules for processing a block in the
+ blockchain,
- If depositor is same as the owner, then any incoming coins are
- added to the Balance.
+ including all blockchain data structures and the rules of the
+ application's
- If depositor isn't same as the owner, then any incoming coins are
- added to the Funds.
- funds:
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ type: object
+ properties:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- denom:
- type: string
- amount:
+ total:
+ type: integer
+ format: int64
+ hash:
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
- akash.deployment.v1beta3.QueryDeploymentsResponse:
- 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
- - active: DeploymentActive denotes state for deployment active
- - 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
- - open: GroupOpen denotes state for group open
- - paused: GroupOrdered denotes state for group ordered
- - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- - 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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ 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
+ description: >-
+ proposer_address is the original block proposer address, formatted as
+ a Bech32 string.
- 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.
+ In Tendermint, this type is `bytes`, but in the SDK, we convert it to
+ a Bech32 string
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ cosmos.base.tendermint.v1beta1.Module:
+ type: object
+ properties:
+ path:
+ type: string
+ title: module path
+ version:
+ type: string
+ title: module version
+ sum:
+ type: string
+ title: checksum
+ title: Module is the type for VersionInfo
+ cosmos.base.tendermint.v1beta1.ProofOp:
+ type: object
+ properties:
+ type:
+ type: string
+ key:
+ type: string
+ format: byte
+ data:
+ type: string
+ format: byte
+ description: >-
+ ProofOp defines an operation used for calculating Merkle root. The data
+ could
- NOTE: The amount field is an Dec which
- implements the custom method
+ be arbitrary format, providing necessary data for example neighbouring
+ node
- 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
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - 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.
+ hash.
- NOTE: The amount field is an Dec which implements the custom
- method
+ Note: This type is a duplicate of the ProofOp proto type defined in
+ Tendermint.
+ cosmos.base.tendermint.v1beta1.ProofOps:
+ type: object
+ properties:
+ ops:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ key:
+ type: string
+ format: byte
+ data:
+ type: string
+ format: byte
+ description: >-
+ ProofOp defines an operation used for calculating Merkle root. The
+ data could
- 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.
+ be arbitrary format, providing necessary data for example
+ neighbouring node
+ hash.
- 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.
+ Note: This type is a duplicate of the ProofOp proto type defined in
+ Tendermint.
+ description: >-
+ ProofOps is Merkle proof defined by the list of ProofOps.
- 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: This type is a duplicate of the ProofOps proto type defined in
+ Tendermint.
+ cosmos.base.tendermint.v1beta1.Validator:
+ type: object
+ properties:
+ address:
+ type: string
+ pub_key:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+ protocol buffer message. This string must contain at least
- NOTE: The amount field is an Dec which implements the custom
- method
+ one "/" character. The last segment of the URL's path must
+ represent
- signatures required by gogoproto.
- title: Account stores state for an escrow account
- title: >-
- QueryDeploymentResponse is response type for the Query/Deployment
- RPC method
- pagination:
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ cosmos.base.tendermint.v1beta1.VersionInfo:
+ type: object
+ properties:
+ name:
+ type: string
+ app_name:
+ type: string
+ version:
+ type: string
+ git_commit:
+ type: string
+ build_tags:
+ type: string
+ go_version:
+ type: string
+ build_deps:
+ type: array
+ items:
+ type: object
+ properties:
+ path:
+ type: string
+ title: module path
+ version:
+ type: string
+ title: module version
+ sum:
+ type: string
+ title: checksum
+ title: Module is the type for VersionInfo
+ cosmos_sdk_version:
+ type: string
+ title: 'Since: cosmos-sdk 0.43'
+ description: VersionInfo is the type for the GetNodeInfoResponse message.
+ tendermint.crypto.PublicKey:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: PublicKey defines the keys available for use with Tendermint Validators
+ tendermint.p2p.DefaultNodeInfo:
+ type: object
+ properties:
+ protocol_version:
type: object
properties:
- next_key:
+ p2p:
type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ format: uint64
+ block:
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
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: >-
- QueryDeploymentsResponse is response type for the Query/Deployments RPC
- method
- akash.deployment.v1beta3.QueryGroupResponse:
+ app:
+ type: string
+ format: uint64
+ default_node_id:
+ type: string
+ listen_addr:
+ type: string
+ network:
+ type: string
+ version:
+ type: string
+ channels:
+ type: string
+ format: byte
+ moniker:
+ type: string
+ other:
+ type: object
+ properties:
+ tx_index:
+ type: string
+ rpc_address:
+ type: string
+ tendermint.p2p.DefaultNodeInfoOther:
type: object
properties:
- group:
+ tx_index:
+ type: string
+ rpc_address:
+ type: string
+ tendermint.p2p.ProtocolVersion:
+ type: object
+ properties:
+ p2p:
+ type: string
+ format: uint64
+ block:
+ type: string
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ tendermint.types.Block:
+ type: object
+ properties:
+ header:
type: object
properties:
- group_id:
+ version:
+ title: basic block info
type: object
properties:
- owner:
+ block:
type: string
- dseq:
+ format: uint64
+ app:
type: string
format: uint64
- gseq:
- type: integer
- format: int64
- title: >-
- GroupID stores owner, deployment sequence number and group
- sequence number
- state:
+ 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:
+ 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
+ title: BlockID
+ 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
- enum:
- - invalid
- - open
- - paused
- - insufficient_funds
- - closed
- default: invalid
+ format: byte
+ title: consensus info
+ proposer_address:
+ type: string
+ format: byte
+ description: Header defines the structure of a Tendermint block header.
+ data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
description: >-
- - invalid: Prefix should start with 0 in enum. So declaring dummy
- state
- - open: GroupOpen denotes state for group open
- - paused: GroupOrdered denotes state for group ordered
- - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds
- - 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:
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the
+ order first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ evidence:
+ type: object
+ properties:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ duplicate_vote_evidence:
+ type: object
+ properties:
+ vote_a:
type: object
properties:
- key:
+ type:
type: string
- value:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
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:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ vote_b:
type: object
properties:
- id:
- type: integer
+ type:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
format: int64
- cpu:
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- units:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- val:
+ total:
+ type: integer
+ format: int64
+ hash:
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:
+ title: PartsetHeader
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote
+ from validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator
+ signed two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
type: object
properties:
- quantity:
+ header:
type: object
properties:
- val:
+ 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:
+ 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
+ title: BlockID
+ last_commit_hash:
type: string
format: byte
- title: Unit stores cpu, memory and storage metrics
- attributes:
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included
+ in a Commit.
+ description: >-
+ Commit contains the evidence that a block was
+ committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
type: array
items:
type: object
properties:
- key:
+ address:
type: string
- value:
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for
+ use with Tendermint Validators
+ voting_power:
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:
+ format: int64
+ proposer_priority:
type: string
- format: byte
- title: Unit stores cpu, memory and storage metrics
- attributes:
- type: array
- items:
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- key:
+ ed25519:
type: string
- value:
+ format: byte
+ secp256k1:
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:
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
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:
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- kind:
+ ed25519:
type: string
- enum:
- - SHARED_HTTP
- - RANDOM_PORT
- - LEASED_IP
- default: SHARED_HTTP
- description: >-
- - SHARED_HTTP: Describes an endpoint that
- becomes a Kubernetes Ingress
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
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
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
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
- akash.deployment.v1beta3.ResourceUnit:
- type: object
- properties:
- resource:
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ last_commit:
type: object
properties:
- id:
- type: integer
+ height:
+ type: string
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:
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- units:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- val:
+ total:
+ type: integer
+ format: int64
+ hash:
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:
+ title: PartsetHeader
+ title: BlockID
+ signatures:
type: array
items:
type: object
properties:
- kind:
+ block_id_flag:
type: string
enum:
- - SHARED_HTTP
- - RANDOM_PORT
- - LEASED_IP
- default: SHARED_HTTP
- description: >-
- - SHARED_HTTP: Describes an endpoint that becomes a
- Kubernetes Ingress
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
- akash.escrow.v1beta3.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
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - 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
- akash.escrow.v1beta3.Account.State:
- type: string
- enum:
- - invalid
- - open
- - closed
- - overdrawn
- default: invalid
- description: |-
- - invalid: AccountStateInvalid is an invalid state
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - overdrawn: AccountOverdrawn is the state when an account is overdrawn
- title: State stores state for an escrow account
- akash.escrow.v1beta3.AccountID:
- type: object
- properties:
- scope:
- type: string
- xid:
- type: string
- title: AccountID is the account identifier
- cosmos.base.v1beta1.DecCoin:
- 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.
- akash.deployment.v1beta3.MsgCloseDeploymentResponse:
- type: object
- description: MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
- akash.deployment.v1beta3.MsgCloseGroupResponse:
- type: object
- description: MsgCloseGroupResponse defines the Msg/CloseGroup response type.
- akash.deployment.v1beta3.MsgCreateDeploymentResponse:
- type: object
- description: >-
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response
- type.
- akash.deployment.v1beta3.MsgDepositDeploymentResponse:
- type: object
- description: >-
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response
- type.
- akash.deployment.v1beta3.MsgPauseGroupResponse:
- type: object
- description: MsgPauseGroupResponse defines the Msg/PauseGroup response type.
- akash.deployment.v1beta3.MsgStartGroupResponse:
- type: object
- description: MsgStartGroupResponse defines the Msg/StartGroup response type.
- akash.deployment.v1beta3.MsgUpdateDeploymentResponse:
- type: object
- description: >-
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response
- type.
- cosmos.base.v1beta1.Coin:
- 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.
- akash.escrow.v1beta3.FractionalPayment:
- 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
- - open: PaymentStateOpen is the state when the payment is open
- - closed: PaymentStateClosed is the state when the payment is closed
- - 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
- akash.escrow.v1beta3.FractionalPayment.State:
- type: string
- enum:
- - invalid
- - open
- - closed
- - overdrawn
- default: invalid
- description: |-
- - invalid: PaymentStateInvalid is the state when the payment is invalid
- - open: PaymentStateOpen is the state when the payment is open
- - closed: PaymentStateClosed is the state when the payment is closed
- - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn
- title: Payment State
- akash.market.v1beta3.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
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
description: >-
- - invalid: Prefix should start with 0 in enum. So declaring dummy
- state
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - 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
- akash.market.v1beta3.Bid.State:
- type: string
- enum:
- - invalid
- - open
- - active
- - lost
- - closed
- default: invalid
- description: |-
- - invalid: Prefix should start with 0 in enum. So declaring dummy state
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - closed: BidClosed denotes state for bid closed
- title: State is an enum which refers to state of bid
- akash.market.v1beta3.BidFilters:
- type: object
- properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
- type: string
- state:
- type: string
- title: BidFilters defines flags for bid list filter
- akash.market.v1beta3.BidID:
+ Commit contains the evidence that a block was committed by a set of
+ validators.
+ tendermint.types.BlockID:
type: object
properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ hash:
type: string
- description: |-
- BidID stores owner and all other seq numbers
- A successful bid becomes a Lease(ID).
- akash.market.v1beta3.Lease:
- type: object
- properties:
- lease_id:
+ format: byte
+ part_set_header:
type: object
properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
+ total:
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
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - 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:
+ hash:
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
- akash.market.v1beta3.Lease.State:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ tendermint.types.BlockIDFlag:
type: string
enum:
- - invalid
- - active
- - insufficient_funds
- - closed
- default: invalid
- description: |-
- - invalid: Prefix should start with 0 in enum. So declaring dummy state
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - closed: LeaseClosed denotes state for lease closed
- title: State is an enum which refers to state of lease
- akash.market.v1beta3.LeaseFilters:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ tendermint.types.Commit:
type: object
properties:
- owner:
- type: string
- dseq:
+ height:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- oseq:
+ round:
type: integer
- format: int64
- provider:
- type: string
- state:
- type: string
- title: LeaseFilters defines flags for lease list filter
- akash.market.v1beta3.LeaseID:
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set of
+ validators.
+ tendermint.types.CommitSig:
type: object
properties:
- owner:
+ block_id_flag:
type: string
- dseq:
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ format: byte
+ timestamp:
type: string
- title: LeaseID stores bid details of lease
- akash.market.v1beta3.Order:
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ tendermint.types.Data:
+ type: object
+ properties:
+ txs:
+ type: array
+ items:
+ type: string
+ format: byte
+ description: >-
+ Txs that will be applied by state @ block.Height+1.
+
+ NOTE: not all txs here are valid. We're just agreeing on the order
+ first.
+
+ This means that block.AppHash does not include these txs.
+ title: Data contains the set of transactions included in the block
+ tendermint.types.DuplicateVoteEvidence:
type: object
properties:
- order_id:
+ vote_a:
type: object
properties:
- owner:
+ type:
type: string
- dseq:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- oseq:
+ round:
type: integer
- format: int64
- title: OrderID stores owner and all other seq numbers
- state:
- type: string
- enum:
- - invalid
- - open
- - active
- - closed
- default: invalid
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
description: >-
- - invalid: Prefix should start with 0 in enum. So declaring dummy
- state
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - closed: OrderClosed denotes state for order lost
- title: State is an enum which refers to state of order
- spec:
+ Vote represents a prevote, precommit, or commit vote from validators
+ for
+
+ consensus.
+ vote_b:
type: object
properties:
- name:
+ type:
type: string
- requirements:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- signed_by:
- title: >-
- SignedBy list of keys that tenants expect to have signatures
- from
+ hash:
+ type: string
+ format: byte
+ part_set_header:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote from validators
+ for
- signatures required by gogoproto.
- title: >-
- ResourceUnit extends Resources and adds Count along with the
- Price
- title: GroupSpec stores group specifications
- created_at:
+ consensus.
+ total_voting_power:
type: string
format: int64
- title: Order stores orderID, state of order and other details
- akash.market.v1beta3.Order.State:
- type: string
- enum:
- - invalid
- - open
- - active
- - closed
- default: invalid
- description: |-
- - invalid: Prefix should start with 0 in enum. So declaring dummy state
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - closed: OrderClosed denotes state for order lost
- title: State is an enum which refers to state of order
- akash.market.v1beta3.OrderFilters:
- type: object
- properties:
- owner:
- type: string
- dseq:
+ validator_power:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- oseq:
- type: integer
- format: int64
- state:
- type: string
- title: OrderFilters defines flags for order list filter
- akash.market.v1beta3.OrderID:
- type: object
- properties:
- owner:
- type: string
- dseq:
+ timestamp:
type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- title: OrderID stores owner and all other seq numbers
- akash.market.v1beta3.QueryBidResponse:
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator signed two
+ conflicting votes.
+ tendermint.types.Evidence:
type: object
properties:
- bid:
+ duplicate_vote_evidence:
type: object
properties:
- bid_id:
+ vote_a:
type: object
properties:
- owner:
+ type:
type: string
- dseq:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- oseq:
+ round:
type: integer
- format: int64
- provider:
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
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
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - closed: BidClosed denotes state for bid closed
- title: State is an enum which refers to state of bid
- price:
- type: object
- properties:
- denom:
+ format: date-time
+ validator_address:
type: string
- amount:
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
type: string
+ format: byte
description: >-
- DecCoin defines a token with a denomination and a decimal amount.
-
-
- NOTE: The amount field is an Dec which implements the custom
- method
+ Vote represents a prevote, precommit, or commit vote from
+ validators for
- 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
+ consensus.
+ vote_b:
type: object
properties:
- scope:
- type: string
- xid:
+ type:
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
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - overdrawn: AccountOverdrawn is the state when an account is overdrawn
- balance:
- type: object
- properties:
- denom:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
type: string
- amount:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
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:
+ format: date-time
+ validator_address:
type: string
- amount:
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
type: string
+ format: byte
description: >-
- DecCoin defines a token with a denomination and a decimal amount.
-
-
- NOTE: The amount field is an Dec which implements the custom
- method
+ Vote represents a prevote, precommit, or commit vote from
+ validators for
- signatures required by gogoproto.
- title: total coins spent by this account
- settled_at:
+ consensus.
+ total_voting_power:
type: string
format: int64
- title: block height at which this account was last settled
- depositor:
+ validator_power:
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:
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator signed two
+ conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
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
- akash.market.v1beta3.QueryBidsResponse:
- 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
- - open: BidOpen denotes state for bid open
- - active: BidMatched denotes state for bid open
- - lost: BidLost denotes state for bid lost
- - 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
- - open: AccountOpen is the state when an account is open
- - closed: AccountClosed is the state when an account is closed
- - 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.
-
+ signed_header:
+ 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,
- NOTE: The amount field is an Dec which implements the custom
- method
+ including all blockchain data structures and the rules
+ of the application's
- signatures required by gogoproto.
- title: unspent coins received from the owner's wallet
- transferred:
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by
+ a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- denom:
+ ed25519:
type: string
- amount:
+ format: byte
+ secp256k1:
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:
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
type: string
format: int64
- title: block height at which this account was last settled
- depositor:
+ proposer_priority:
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
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: QueryBidsResponse is response type for the Query/Bids RPC method
- akash.market.v1beta3.QueryLeaseResponse:
- 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
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - 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:
+ format: int64
+ total_voting_power:
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:
+ timestamp:
type: string
- enum:
- - invalid
- - open
- - closed
- - overdrawn
- default: invalid
- description: >-
- - invalid: PaymentStateInvalid is the state when the payment is
- invalid
- - open: PaymentStateOpen is the state when the payment is open
- - closed: PaymentStateClosed is the state when the payment is closed
- - 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
- akash.market.v1beta3.QueryLeasesResponse:
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of validators
+ attempting to mislead a light client.
+ tendermint.types.EvidenceList:
type: object
properties:
- leases:
+ evidence:
type: array
items:
type: object
properties:
- lease:
+ duplicate_vote_evidence:
type: object
properties:
- lease_id:
+ vote_a:
type: object
properties:
- owner:
+ type:
type: string
- dseq:
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
type: string
- format: uint64
- gseq:
- type: integer
format: int64
- oseq:
+ round:
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
- - active: LeaseActive denotes state for lease active
- - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds
- - 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:
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
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
- - open: PaymentStateOpen is the state when the payment is open
- - closed: PaymentStateClosed is the state when the payment is closed
- - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn
- title: Payment State
- rate:
- type: object
- properties:
- denom:
+ format: date-time
+ validator_address:
type: string
- amount:
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
type: string
+ format: byte
description: >-
- DecCoin defines a token with a denomination and a decimal
- amount.
-
-
- NOTE: The amount field is an Dec which implements the custom
- method
+ Vote represents a prevote, precommit, or commit vote from
+ validators for
- signatures required by gogoproto.
- balance:
+ consensus.
+ vote_b:
type: object
properties:
- denom:
- type: string
- amount:
+ type:
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
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: >-
+ SignedMsgType is a type of signed message in the
+ consensus.
- signatures required by gogoproto.
- withdrawn:
- type: object
- properties:
- denom:
- type: string
- amount:
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ height:
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
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: QueryLeasesResponse is response type for the Query/Leases RPC method
- akash.market.v1beta3.QueryOrderResponse:
- 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
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - 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:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ timestamp:
+ type: string
+ format: date-time
+ validator_address:
+ type: string
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
+ type: string
+ format: byte
+ description: >-
+ Vote represents a prevote, precommit, or commit vote from
+ validators for
+
+ consensus.
+ total_voting_power:
+ type: string
+ format: int64
+ validator_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ DuplicateVoteEvidence contains evidence of a validator signed
+ two conflicting votes.
+ light_client_attack_evidence:
+ type: object
+ properties:
+ conflicting_block:
type: object
properties:
- resource:
+ signed_header:
type: object
properties:
- id:
- type: integer
- format: int64
- cpu:
+ header:
type: object
properties:
- units:
+ version:
+ title: basic block info
type: object
properties:
- val:
+ 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:
+ type: object
+ properties:
+ hash:
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:
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ 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.
+ commit:
type: object
properties:
- quantity:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- val:
+ hash:
type: string
format: byte
- title: Unit stores cpu, memory and storage metrics
- attributes:
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ signatures:
type: array
items:
type: object
properties:
- key:
+ block_id_flag:
type: string
- value:
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the
+ signature is for
+ validator_address:
type: string
- title: Attribute represents key value pair
- title: >-
- Memory stores resource quantity and memory
- attributes
- storage:
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: >-
+ CommitSig is a part of the Vote included in a
+ Commit.
+ description: >-
+ Commit contains the evidence that a block was
+ committed by a set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
type: array
items:
type: object
properties:
- name:
+ address:
type: string
- quantity:
+ format: byte
+ pub_key:
type: object
properties:
- val:
+ ed25519:
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:
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
type: object
properties:
- units:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- val:
+ ed25519:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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:
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use
+ with Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
type: string
- description: >-
- DecCoin defines a token with a denomination and a
- decimal amount.
-
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of
+ validators attempting to mislead a light client.
+ tendermint.types.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,
- NOTE: The amount field is an Dec which implements the
- custom method
+ including all blockchain data structures and the rules of the
+ application's
- signatures required by gogoproto.
- title: >-
- ResourceUnit extends Resources and adds Count along with the
- Price
- title: GroupSpec stores group specifications
- created_at:
+ state transition machine.
+ chain_id:
+ type: string
+ height:
+ type: string
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
+ type: object
+ properties:
+ hash:
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
- akash.market.v1beta3.QueryOrdersResponse:
+ format: byte
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ 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.
+ tendermint.types.LightBlock:
type: object
properties:
- orders:
- type: array
- items:
- type: object
- properties:
- order_id:
+ signed_header:
+ 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:
+ 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
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
+ 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
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set
+ of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
type: object
properties:
- owner:
+ address:
type: string
- dseq:
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
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
- - open: OrderOpen denotes state for order open
- - active: OrderMatched denotes state for order matched
- - closed: OrderClosed denotes state for order lost
- title: State is an enum which refers to state of order
- spec:
- type: object
- properties:
- name:
+ proposer_priority:
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:
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ tendermint.types.LightClientAttackEvidence:
+ type: object
+ properties:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ 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:
+ type: object
+ properties:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- key:
- type: string
- value:
+ total:
+ type: integer
+ format: int64
+ hash:
type: string
- title: Attribute represents key value pair
- title: >-
- Attribute list of attributes tenant expects from the
- provider
- title: PlacementRequirements
- resources:
- type: array
- items:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ 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.
+ commit:
+ type: object
+ properties:
+ height:
+ type: string
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- resource:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- id:
+ total:
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
- - RANDOM_PORT: Describes an endpoint that becomes a Kubernetes NodePort
- - 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:
+ hash:
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
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: QueryOrdersResponse is response type for the Query/Orders RPC method
- akash.market.v1beta3.MsgCloseBidResponse:
- type: object
- description: MsgCloseBidResponse defines the Msg/CloseBid response type.
- akash.market.v1beta3.MsgCloseLeaseResponse:
- type: object
- description: MsgCloseLeaseResponse defines the Msg/CloseLease response type.
- akash.market.v1beta3.MsgCreateBidResponse:
- type: object
- description: MsgCreateBidResponse defines the Msg/CreateBid response type.
- akash.market.v1beta3.MsgCreateLeaseResponse:
- type: object
- title: MsgCreateLeaseResponse is the response from creating a lease
- akash.market.v1beta3.MsgWithdrawLeaseResponse:
- type: object
- description: MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
- akash.provider.v1beta3.Provider:
- type: object
- properties:
- owner:
- type: string
- host_uri:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ signatures:
+ type: array
+ items:
+ type: object
+ properties:
+ block_id_flag:
+ type: string
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: >-
+ BlockIdFlag indicates which BlcokID the signature is
+ for
+ validator_address:
+ type: string
+ format: byte
+ timestamp:
+ type: string
+ format: date-time
+ signature:
+ type: string
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a
+ set of validators.
+ validator_set:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ common_height:
type: string
- attributes:
+ format: int64
+ byzantine_validators:
type: array
items:
type: object
properties:
- key:
+ address:
type: string
- value:
+ format: byte
+ pub_key:
+ type: object
+ properties:
+ ed25519:
+ type: string
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
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
- akash.provider.v1beta3.ProviderInfo:
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
+ type: string
+ format: int64
+ timestamp:
+ type: string
+ format: date-time
+ description: >-
+ LightClientAttackEvidence contains evidence of a set of validators
+ attempting to mislead a light client.
+ tendermint.types.PartSetHeader:
type: object
properties:
- email:
- type: string
- website:
+ total:
+ type: integer
+ format: int64
+ hash:
type: string
- title: ProviderInfo
- akash.provider.v1beta3.QueryProviderResponse:
+ format: byte
+ title: PartsetHeader
+ tendermint.types.SignedHeader:
type: object
properties:
- provider:
+ header:
type: object
properties:
- owner:
+ 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
- host_uri:
+ height:
type: string
- attributes:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- title: Attribute represents key value pair
- info:
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
type: object
properties:
- email:
- type: string
- website:
+ hash:
type: string
- title: ProviderInfo
- title: Provider stores owner and host details
- title: QueryProviderResponse is response type for the Query/Provider RPC method
- akash.provider.v1beta3.QueryProvidersResponse:
- type: object
- properties:
- providers:
- type: array
- items:
- type: object
- properties:
- owner:
- type: string
- host_uri:
- type: string
- attributes:
- type: array
- items:
+ format: byte
+ part_set_header:
type: object
properties:
- key:
- type: string
- value:
+ total:
+ type: integer
+ format: int64
+ hash:
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:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ last_commit_hash:
type: string
format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ title: hashes of block data
+ data_hash:
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
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: QueryProvidersResponse is response type for the Query/Providers RPC method
- CheckTxResult:
- type: object
- properties:
- code:
- type: integer
- data:
- type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
- type: string
- log:
- type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 0
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- DeliverTxResult:
- type: object
- properties:
- code:
- type: integer
- data:
- type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
- type: string
- log:
- type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 5
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- BroadcastTxCommitResult:
- type: object
- properties:
- check_tx:
- type: object
- properties:
- code:
- type: integer
- data:
+ format: byte
+ validators_hash:
type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
+ format: byte
+ title: hashes from the app output from the prev block
+ next_validators_hash:
type: string
- log:
+ format: byte
+ consensus_hash:
type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 0
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- deliver_tx:
- type: object
- properties:
- code:
- type: integer
- data:
+ format: byte
+ app_hash:
type: string
- gas_used:
- type: integer
- gas_wanted:
- type: integer
- info:
+ format: byte
+ last_results_hash:
type: string
- log:
+ format: byte
+ evidence_hash:
type: string
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- example:
- code: 5
- data: data
- log: log
- gas_used: 5000
- gas_wanted: 10000
- info: info
- tags:
- - ''
- - ''
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- height:
- type: integer
- KVPair:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- Msg:
- type: string
- Address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- ValidatorAddress:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- Coin:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- Hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- TxQuery:
- type: object
- properties:
- hash:
- type: string
- example: D085138D913993919295FF4B0A9107F1F2CDE0D37A87CE0644E217CBF3B49656
- height:
- type: number
- example: 368
- tx:
+ format: byte
+ title: consensus info
+ proposer_address:
+ type: string
+ format: byte
+ description: Header defines the structure of a Tendermint block header.
+ commit:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
+ height:
type: string
- signature:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- signature:
+ hash:
type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
+ format: byte
+ part_set_header:
type: object
properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
+ total:
+ type: integer
+ format: int64
+ hash:
type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- result:
- type: object
- properties:
- log:
- type: string
- gas_wanted:
- type: string
- example: '200000'
- gas_used:
- type: string
- example: '26354'
- tags:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ signatures:
type: array
items:
type: object
properties:
- key:
+ block_id_flag:
type: string
- value:
+ enum:
+ - BLOCK_ID_FLAG_UNKNOWN
+ - BLOCK_ID_FLAG_ABSENT
+ - BLOCK_ID_FLAG_COMMIT
+ - BLOCK_ID_FLAG_NIL
+ default: BLOCK_ID_FLAG_UNKNOWN
+ title: BlockIdFlag indicates which BlcokID the signature is for
+ validator_address:
type: string
- PaginatedQueryTxs:
- type: object
- properties:
- total_count:
- type: number
- example: 1
- count:
- type: number
- example: 1
- page_number:
- type: number
- example: 1
- page_total:
- type: number
- example: 1
- limit:
- type: number
- example: 30
- txs:
- type: array
- items:
- type: object
- properties:
- hash:
- type: string
- example: D085138D913993919295FF4B0A9107F1F2CDE0D37A87CE0644E217CBF3B49656
- height:
- type: number
- example: 368
- tx:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
- type: string
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- memo:
+ format: byte
+ timestamp:
type: string
+ format: date-time
signature:
- type: object
- properties:
- signature:
- type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '0'
- result:
- type: object
- properties:
- log:
type: string
- gas_wanted:
- type: string
- example: '200000'
- gas_used:
- type: string
- example: '26354'
- tags:
- type: array
- items:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- StdTx:
+ format: byte
+ description: CommitSig is a part of the Vote included in a Commit.
+ description: >-
+ Commit contains the evidence that a block was committed by a set of
+ validators.
+ tendermint.types.SignedMsgType:
+ type: string
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
+ tendermint.types.Validator:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- gas:
+ ed25519:
type: string
- amount:
- type: array
- items:
+ format: byte
+ secp256k1:
+ type: string
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ tendermint.types.ValidatorSet:
+ type: object
+ properties:
+ validators:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ format: byte
+ pub_key:
type: object
properties:
- denom:
+ ed25519:
type: string
- example: stake
- amount:
+ format: byte
+ secp256k1:
type: string
- example: '50'
- memo:
- type: string
- signature:
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
+ type: string
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
type: object
properties:
- signature:
+ address:
type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
+ format: byte
pub_key:
type: object
properties:
- type:
+ ed25519:
type: string
- example: tendermint/PubKeySecp256k1
- value:
+ format: byte
+ secp256k1:
type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ format: byte
+ title: >-
+ PublicKey defines the keys available for use with Tendermint
+ Validators
+ voting_power:
type: string
- example: '0'
- sequence:
+ format: int64
+ proposer_priority:
type: string
- example: '0'
- BlockID:
- type: object
- properties:
- hash:
+ format: int64
+ total_voting_power:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- BlockHeader:
+ format: int64
+ tendermint.types.Vote:
type: object
properties:
- chain_id:
+ type:
type: string
- example: cosmoshub-2
+ enum:
+ - SIGNED_MSG_TYPE_UNKNOWN
+ - SIGNED_MSG_TYPE_PREVOTE
+ - SIGNED_MSG_TYPE_PRECOMMIT
+ - SIGNED_MSG_TYPE_PROPOSAL
+ default: SIGNED_MSG_TYPE_UNKNOWN
+ description: |-
+ SignedMsgType is a type of signed message in the consensus.
+
+ - SIGNED_MSG_TYPE_PREVOTE: Votes
+ - SIGNED_MSG_TYPE_PROPOSAL: Proposals
height:
- type: number
- example: 1
- time:
type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
hash:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
+ format: byte
+ part_set_header:
type: object
properties:
total:
- type: number
- example: 0
+ type: integer
+ format: int64
hash:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ timestamp:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
+ format: date-time
+ validator_address:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
+ format: byte
+ validator_index:
+ type: integer
+ format: int32
+ signature:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
+ format: byte
+ description: |-
+ Vote represents a prevote, precommit, or commit vote from validators for
+ consensus.
+ tendermint.version.Consensus:
+ type: object
+ properties:
+ block:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
+ format: uint64
+ app:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
+ 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.
+ cosmos.distribution.v1beta1.DelegationDelegatorReward:
+ type: object
+ properties:
+ validator_address:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
+ 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.
+ cosmos.distribution.v1beta1.Params:
+ type: object
+ properties:
+ community_tax:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
+ base_proposer_reward:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
+ description: >-
+ Deprecated: The base_proposer_reward field is deprecated and is no
+ longer used
+
+ in the x/distribution module's reward mechanism.
+ bonus_proposer_reward:
type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- Block:
+ description: >-
+ Deprecated: The bonus_proposer_reward field is deprecated and is no
+ longer used
+
+ in the x/distribution module's reward mechanism.
+ withdraw_addr_enabled:
+ type: boolean
+ description: Params defines the set of params for the distribution module.
+ cosmos.distribution.v1beta1.QueryCommunityPoolResponse:
type: object
properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
+ 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.
+ cosmos.distribution.v1beta1.QueryDelegationRewardsResponse:
+ 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.
+ cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse:
+ type: object
+ properties:
+ rewards:
+ type: array
+ items:
+ type: object
+ properties:
+ validator_address:
+ type: string
+ reward:
+ type: array
+ items:
type: object
properties:
- total:
- type: number
- example: 0
- hash:
+ denom:
type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- txs:
+ 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: string
- evidence:
+ 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.
+ cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse:
+ type: object
+ properties:
+ validators:
type: array
items:
type: string
- last_commit:
- type: object
- properties:
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- precommits:
- type: array
- items:
- type: object
- properties:
- validator_address:
- type: string
- validator_index:
- type: string
- example: '0'
- height:
- type: string
- example: '0'
- round:
- type: string
- example: '0'
- timestamp:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- type:
- type: number
- example: 2
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- signature:
- type: string
- example: >-
- 7uTC74QlknqYWEwg7Vn6M8Om7FuZ0EO4bjvuj6rwH1mTUJrRuMMZvAAqT9VjNgP0RA/TDp6u/92AqrZfXJSpBQ==
- BlockQuery:
+ description: validators defines the validators a delegator is delegating for.
+ description: |-
+ QueryDelegatorValidatorsResponse is the response type for the
+ Query/DelegatorValidators RPC method.
+ cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse:
+ 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.
+ cosmos.distribution.v1beta1.QueryParamsResponse:
type: object
properties:
- block_meta:
+ params:
+ description: params defines the parameters of the module.
type: object
properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- block:
+ community_tax:
+ type: string
+ base_proposer_reward:
+ type: string
+ description: >-
+ Deprecated: The base_proposer_reward field is deprecated and is no
+ longer used
+
+ in the x/distribution module's reward mechanism.
+ bonus_proposer_reward:
+ type: string
+ description: >-
+ Deprecated: The bonus_proposer_reward field is deprecated and is
+ no longer used
+
+ in the x/distribution module's reward mechanism.
+ withdraw_addr_enabled:
+ type: boolean
+ description: QueryParamsResponse is the response type for the Query/Params RPC method.
+ cosmos.distribution.v1beta1.QueryValidatorCommissionResponse:
+ type: object
+ properties:
+ commission:
+ description: commission defines the commission the validator received.
type: object
properties:
- header:
- type: object
- properties:
- chain_id:
- type: string
- example: cosmoshub-2
- height:
- type: number
- example: 1
- time:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- num_txs:
- type: number
- example: 0
- last_block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- total_txs:
- type: number
- example: 35
- last_commit_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- data_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- next_validators_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- consensus_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- app_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- last_results_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- evidence_hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- proposer_address:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- version:
- type: object
- properties:
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- txs:
- type: array
- items:
- type: string
- evidence:
+ commission:
type: array
items:
- type: string
- last_commit:
- type: object
- properties:
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- precommits:
- type: array
- items:
- type: object
- properties:
- validator_address:
- type: string
- validator_index:
- type: string
- example: '0'
- height:
- type: string
- example: '0'
- round:
- type: string
- example: '0'
- timestamp:
- type: string
- example: '2017-12-30T05:53:09.287+01:00'
- type:
- type: number
- example: 2
- block_id:
- type: object
- properties:
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- parts:
- type: object
- properties:
- total:
- type: number
- example: 0
- hash:
- type: string
- example: EE5F3404034C524501629B56E0DDC38FAD651F04
- signature:
- type: string
- example: >-
- 7uTC74QlknqYWEwg7Vn6M8Om7FuZ0EO4bjvuj6rwH1mTUJrRuMMZvAAqT9VjNgP0RA/TDp6u/92AqrZfXJSpBQ==
- DelegationDelegatorReward:
+ 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
+ cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse:
type: object
properties:
- validator_address:
+ operator_address:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- reward:
+ description: operator_address defines the validator operator address.
+ self_bond_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: self_bond_rewards defines the self delegations rewards.
+ commission:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- DelegatorTotalRewards:
+ 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: commission defines the commission the validator received.
+ description: >-
+ QueryValidatorDistributionInfoResponse is the response type for the
+ Query/ValidatorDistributionInfo RPC method.
+ cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse:
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.
+ cosmos.distribution.v1beta1.QueryValidatorSlashesResponse:
+ type: object
+ properties:
+ slashes:
type: array
items:
type: object
properties:
- validator_address:
+ validator_period:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- reward:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- total:
+ 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
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: |-
+ QueryValidatorSlashesResponse is the response type for the
+ Query/ValidatorSlashes RPC method.
+ cosmos.distribution.v1beta1.ValidatorAccumulatedCommission:
+ type: object
+ properties:
+ commission:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- BaseReq:
+ 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: |-
+ ValidatorAccumulatedCommission represents accumulated commission
+ for a validator kept as a running counter, can be withdrawn at any time.
+ cosmos.distribution.v1beta1.ValidatorOutstandingRewards:
type: object
properties:
- from:
- type: string
- example: cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc
- description: Sender address or Keybase name to generate a transaction
- memo:
- type: string
- example: Sent via Cosmos Voyager 🚀
- chain_id:
- type: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
- type: string
- example: '1.2'
- fees:
+ rewards:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- simulate:
- type: boolean
- example: false
- description: >-
- Estimate gas for a transaction (cannot be used in conjunction with
- generate_only)
- TendermintValidator:
+ 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.
+ cosmos.distribution.v1beta1.ValidatorSlashEvent:
type: object
properties:
- address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- pub_key:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- voting_power:
+ validator_period:
type: string
- example: '1000'
- proposer_priority:
+ format: uint64
+ fraction:
type: string
- example: '1000'
- TextProposal:
+ 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.
+ cosmos.evidence.v1beta1.QueryAllEvidenceResponse:
type: object
properties:
- proposal_id:
- type: integer
- title:
- type: string
- description:
- type: string
- proposal_type:
- type: string
- proposal_status:
- type: string
- final_tally_result:
+ evidence:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up
+ a type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning
+ with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
+
+ used 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
+ type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: evidence returns all evidences.
+ pagination:
+ description: pagination defines the pagination in the response.
type: object
properties:
- 'yes':
+ next_key:
type: string
- example: '0.0000000000'
- abstain:
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
type: string
- example: '0.0000000000'
- 'no':
+ 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.
+ cosmos.evidence.v1beta1.QueryEvidenceResponse:
+ type: object
+ properties:
+ evidence:
+ type: object
+ properties:
+ type_url:
type: string
- example: '0.0000000000'
- no_with_veto:
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used with implementation specific semantics.
+ value:
type: string
- example: '0.0000000000'
- submit_time:
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ description: >-
+ QueryEvidenceResponse is the response type for the Query/Evidence RPC
+ method.
+ cosmos.gov.v1beta1.Deposit:
+ type: object
+ properties:
+ proposal_id:
type: string
- total_deposit:
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
+ type: string
+ description: depositor defines the deposit addresses from the proposals.
+ amount:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- voting_start_time:
- type: string
- Proposer:
- type: object
- properties:
- proposal_id:
- type: string
- proposer:
- type: string
- Deposit:
+ 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: amount to be deposited by depositor.
+ description: |-
+ Deposit defines an amount deposited by an account address to an active
+ proposal.
+ cosmos.gov.v1beta1.DepositParams:
type: object
properties:
- amount:
+ min_deposit:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- proposal_id:
- type: string
- depositor:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- TallyResult:
- type: object
- properties:
- 'yes':
- type: string
- example: '0.0000000000'
- abstain:
- type: string
- example: '0.0000000000'
- 'no':
- type: string
- example: '0.0000000000'
- no_with_veto:
+ 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
- example: '0.0000000000'
- Vote:
+ description: >-
+ Maximum period for Atom holders to deposit on a proposal. Initial
+ value: 2
+
+ months.
+ description: DepositParams defines the params for deposits on governance proposals.
+ cosmos.gov.v1beta1.Proposal:
type: object
properties:
- voter:
- type: string
proposal_id:
type: string
- option:
- type: string
- Validator:
- type: object
- properties:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
- type: string
- delegator_shares:
- type: string
- description:
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ content:
type: object
properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
+ type_url:
type: string
- details:
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
+
+ protocol buffer message. This string must contain at least
+
+ one "/" character. The last segment of the URL's path must
+ represent
+
+ the fully qualified name of the type (as in
+
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
+
+ (e.g., leading "." is not accepted).
+
+
+ In practice, teams usually precompile into the binary all types
+ that they
+
+ expect it to use in the context of Any. However, for URLs which
+ use the
+
+ scheme `http`, `https`, or no scheme, one can optionally set up a
+ type
+
+ server that maps type URLs to message definitions as follows:
+
+
+ * If no scheme is provided, `https` is assumed.
+
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
+
+ Note: this functionality is not currently available in the
+ official
+
+ protobuf release, and it is not used for type URLs beginning with
+
+ type.googleapis.com.
+
+
+ Schemes other than `http`, `https` (or the empty scheme) might be
+
+ used with implementation specific semantics.
+ value:
type: string
- bond_height:
- type: string
- example: '0'
- bond_intra_tx_counter:
- type: integer
- example: 0
- unbonding_height:
- type: string
- example: '0'
- unbonding_time:
+ 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
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any type.
+
+
+ Example 1: Pack and unpack a message in C++.
+
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
+
+ Example 2: Pack and unpack a message in Java.
+
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+
+ Example 3: Pack and unpack a message in Python.
+
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
+
+ Example 4: Pack and unpack a message in Go
+
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
+
+ The pack methods provided by protobuf library will by default use
+
+ 'type.googleapis.com/full.type.name' as the type URL and the unpack
+
+ methods only use the fully qualified type name after the last '/'
+
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
+
+ name "y.z".
+
+
+
+ JSON
+
+
+ The JSON representation of an `Any` value uses the regular
+
+ representation of the deserialized, embedded message, with an
+
+ additional field `@type` which contains the type URL. Example:
+
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
+
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
+
+ If the embedded message type is well-known and has a custom JSON
+
+ representation, that representation will be embedded adding a field
+
+ `value` which holds the custom JSON in addition to the `@type`
+
+ field. Example (for message [google.protobuf.Duration][]):
+
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ status:
+ description: status defines the proposal status.
type: string
- example: '1970-01-01T00:00:00Z'
- commission:
+ 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
+ final_tally_result:
+ description: |-
+ final_tally_result is the final tally result of the proposal. When
+ querying a proposal via gRPC, this field is not populated until the
+ proposal's voting period has ended.
type: object
properties:
- rate:
- type: string
- example: '0'
- max_rate:
- type: string
- example: '0'
- max_change_rate:
+ 'yes':
type: string
- example: '0'
- update_time:
+ description: yes is the number of yes votes on a proposal.
+ abstain:
type: string
- example: '1970-01-01T00:00:00Z'
- Delegation:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- shares:
- type: string
- balance:
- type: object
- properties:
- denom:
+ description: abstain is the number of abstain votes on a proposal.
+ 'no':
type: string
- example: stake
- amount:
+ description: no is the number of no votes on a proposal.
+ no_with_veto:
type: string
- example: '50'
- UnbondingDelegationPair:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- entries:
- type: array
- items:
- type: object
- properties:
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
- type: string
- min_time:
- type: string
- UnbondingEntries:
- type: object
- properties:
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
- type: string
- min_time:
- type: string
- UnbondingDelegation:
- type: object
- properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- initial_balance:
- type: string
- balance:
- type: string
- creation_height:
- type: integer
- min_time:
- type: integer
- Redelegation:
- type: object
- properties:
- delegator_address:
- type: string
- validator_src_address:
- type: string
- validator_dst_address:
- type: string
- entries:
- type: array
- items:
- $ref: '#/definitions/Redelegation'
- RedelegationEntry:
- type: object
- properties:
- creation_height:
- type: integer
- completion_time:
- type: integer
- initial_balance:
- type: string
- balance:
- type: string
- shares_dst:
+ description: no_with_veto is the number of no with veto votes on a proposal.
+ submit_time:
type: string
- ValidatorDistInfo:
- type: object
- properties:
- operator_address:
+ format: date-time
+ description: submit_time is the time of proposal submission.
+ deposit_end_time:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- self_bond_rewards:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- val_commission:
+ format: date-time
+ description: deposit_end_time is the end time for deposition.
+ total_deposit:
type: array
items:
type: object
properties:
denom:
type: string
- example: stake
amount:
type: string
- example: '50'
- PublicKey:
- type: object
- properties:
- type:
- type: string
- value:
- type: string
- SigningInfo:
- type: object
- properties:
- start_height:
- type: string
- index_offset:
- type: string
- jailed_until:
+ 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: total_deposit is the total deposit on the proposal.
+ voting_start_time:
type: string
- missed_blocks_counter:
+ format: date-time
+ description: voting_start_time is the starting time to vote on a proposal.
+ voting_end_time:
type: string
- ParamChange:
+ format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
+ description: Proposal defines the core field members of a governance proposal.
+ cosmos.gov.v1beta1.ProposalStatus:
+ 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.
+
+ - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
+ - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
+ period.
+ - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
+ period.
+ - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
+ passed.
+ - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
+ been rejected.
+ - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
+ failed.
+ cosmos.gov.v1beta1.QueryDepositResponse:
type: object
properties:
- subspace:
- type: string
- example: staking
- key:
- type: string
- example: MaxValidators
- subkey:
- type: string
- example: ''
- value:
+ deposit:
type: object
- Supply:
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
+ type: string
+ description: depositor defines the deposit addresses from the proposals.
+ 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: amount to be deposited by depositor.
+ 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.
+ cosmos.gov.v1beta1.QueryDepositsResponse:
type: object
properties:
- total:
+ deposits:
type: array
items:
type: object
properties:
- denom:
+ proposal_id:
type: string
- example: stake
- amount:
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ depositor:
type: string
- example: '50'
- cosmos.auth.v1beta1.Params:
+ description: depositor defines the deposit addresses from the proposals.
+ 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: amount to be deposited by depositor.
+ description: >-
+ Deposit defines an amount deposited by an account address to an
+ active
+
+ proposal.
+ description: deposits defines the requested deposits.
+ pagination:
+ description: pagination defines the pagination in the response.
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ description: |-
+ next_key is the key to be passed to PageRequest.key to
+ query the next page most efficiently. It will be empty if
+ there are no more results.
+ total:
+ type: string
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryDepositsResponse is the response type for the Query/Deposits RPC
+ method.
+ cosmos.gov.v1beta1.QueryParamsResponse:
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: Params defines the parameters for the auth module.
- cosmos.auth.v1beta1.QueryAccountResponse:
+ voting_params:
+ description: voting_params defines the parameters related to voting.
+ type: object
+ properties:
+ voting_period:
+ type: string
+ description: Duration 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
+
+ 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
+
+ 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
+
+ vetoed. Default value: 1/3.
+ description: QueryParamsResponse is the response type for the Query/Params RPC method.
+ cosmos.gov.v1beta1.QueryProposalResponse:
type: object
properties:
- account:
+ proposal:
type: object
properties:
- type_url:
+ proposal_id:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of the
- serialized
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ content:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
- protocol buffer message. This string must contain at least
+ protocol buffer message. This string must contain at least
- one "/" character. The last segment of the URL's path must
- represent
+ one "/" character. The last segment of the URL's path must
+ represent
- the fully qualified name of the type (as in
+ the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be in a
- canonical form
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
- (e.g., leading "." is not accepted).
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the binary all types
- that they
+ In practice, teams usually precompile into the binary all
+ types that they
- expect it to use in the context of Any. However, for URLs which
- use the
+ expect it to use in the context of Any. However, for URLs
+ which use the
- scheme `http`, `https`, or no scheme, one can optionally set up a
- type
+ scheme `http`, `https`, or no scheme, one can optionally set
+ up a type
- server that maps type URLs to message definitions as follows:
+ server that maps type URLs to message definitions as follows:
- * If no scheme is provided, `https` is assumed.
+ * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * An HTTP GET on the URL must yield a [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on
+ the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- Note: this functionality is not currently available in the
- official
+ Note: this functionality is not currently available in the
+ official
- protobuf release, and it is not used for type URLs beginning with
+ protobuf release, and it is not used for type URLs beginning
+ with
- type.googleapis.com.
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty scheme) might be
+ Schemes other than `http`, `https` (or the empty scheme) might
+ be
- used with implementation specific semantics.
- value:
- type: string
- format: byte
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
+ description: >-
+ Must be a valid serialized protocol buffer of the above
+ specified type.
description: >-
- Must be a valid serialized protocol buffer of the above specified
+ `Any` contains an arbitrary serialized protocol buffer message
+ along with a
+
+ URL that describes the type of the serialized message.
+
+
+ Protobuf library provides support to pack/unpack Any values in the
+ form
+
+ of utility functions or additional generated methods of the Any
type.
- description: >-
- `Any` contains an arbitrary serialized protocol buffer message along
- with a
- URL that describes the type of the serialized message.
+ Example 1: Pack and unpack a message in C++.
- Protobuf library provides support to pack/unpack Any values in the
- form
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- of utility functions or additional generated methods of the Any type.
+ Example 2: Pack and unpack a message in Java.
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- Example 1: Pack and unpack a message in C++.
+ Example 3: Pack and unpack a message in Python.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- Example 2: Pack and unpack a message in Java.
+ Example 4: Pack and unpack a message in Go
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- Example 3: Pack and unpack a message in Python.
+ The pack methods provided by protobuf library will by default use
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- Example 4: Pack and unpack a message in Go
+ methods only use the fully qualified type name after the last '/'
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
- The pack methods provided by protobuf library will by default use
+ name "y.z".
- 'type.googleapis.com/full.type.name' as the type URL and the unpack
- methods only use the fully qualified type name after the last '/'
- in the type URL, for example "foo.bar.com/x/y.z" will yield type
+ JSON
- name "y.z".
+ The JSON representation of an `Any` value uses the regular
+ representation of the deserialized, embedded message, with an
- JSON
+ additional field `@type` which contains the type URL. Example:
- ====
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- The JSON representation of an `Any` value uses the regular
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- representation of the deserialized, embedded message, with an
+ If the embedded message type is well-known and has a custom JSON
- additional field `@type` which contains the type URL. Example:
+ representation, that representation will be embedded adding a
+ field
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ `value` which holds the custom JSON in addition to the `@type`
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ field. Example (for message [google.protobuf.Duration][]):
- If the embedded message type is well-known and has a custom JSON
+ {
+ "@type": "type.googleapis.com/google.protobuf.Duration",
+ "value": "1.212s"
+ }
+ status:
+ description: status defines the proposal 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
+ final_tally_result:
+ description: >-
+ final_tally_result is the final tally result of the proposal. When
- representation, that representation will be embedded adding a field
+ querying a proposal via gRPC, this field is not populated until
+ the
- `value` which holds the custom JSON in addition to the `@type`
+ proposal's voting period has ended.
+ type: object
+ properties:
+ 'yes':
+ type: string
+ description: yes is the number of yes votes on a proposal.
+ abstain:
+ type: string
+ description: abstain is the number of abstain votes on a proposal.
+ 'no':
+ type: string
+ description: no is the number of no votes on a proposal.
+ no_with_veto:
+ type: string
+ description: >-
+ no_with_veto is the number of no with veto votes on a
+ proposal.
+ submit_time:
+ type: string
+ format: date-time
+ description: submit_time is the time of proposal submission.
+ deposit_end_time:
+ type: string
+ format: date-time
+ description: deposit_end_time is the end time for deposition.
+ 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.
- field. Example (for message [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ NOTE: The amount field is an Int which implements the custom
+ method
+
+ signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
+ voting_start_time:
+ type: string
+ format: date-time
+ description: voting_start_time is the starting time to vote on a proposal.
+ voting_end_time:
+ type: string
+ format: date-time
+ description: voting_end_time is the end time of voting on a proposal.
+ description: Proposal defines the core field members of a governance proposal.
description: >-
- QueryAccountResponse is the response type for the Query/Account RPC
+ QueryProposalResponse is the response type for the Query/Proposal RPC
method.
- cosmos.auth.v1beta1.QueryAccountsResponse:
+ cosmos.gov.v1beta1.QueryProposalsResponse:
type: object
properties:
- accounts:
+ proposals:
type: array
items:
type: object
properties:
- type_url:
+ proposal_id:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of the
- serialized
+ format: uint64
+ description: proposal_id defines the unique id of the proposal.
+ content:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
- protocol buffer message. This string must contain at least
+ protocol buffer message. This string must contain at least
- one "/" character. The last segment of the URL's path must
- represent
+ one "/" character. The last segment of the URL's path must
+ represent
- the fully qualified name of the type (as in
+ the fully qualified name of the type (as in
- `path/google.protobuf.Duration`). The name should be in a
- canonical form
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical form
- (e.g., leading "." is not accepted).
+ (e.g., leading "." is not accepted).
- In practice, teams usually precompile into the binary all types
- that they
+ In practice, teams usually precompile into the binary all
+ types that they
- expect it to use in the context of Any. However, for URLs which
- use the
+ expect it to use in the context of Any. However, for URLs
+ which use the
- scheme `http`, `https`, or no scheme, one can optionally set up
- a type
+ scheme `http`, `https`, or no scheme, one can optionally set
+ up a type
- server that maps type URLs to message definitions as follows:
+ server that maps type URLs to message definitions as
+ follows:
- * If no scheme is provided, `https` is assumed.
+ * If no scheme is provided, `https` is assumed.
- * An HTTP GET on the URL must yield a [google.protobuf.Type][]
- value in binary format, or produce an error.
- * Applications are allowed to cache lookup results based on the
- URL, or have them precompiled into a binary to avoid any
- lookup. Therefore, binary compatibility needs to be preserved
- on changes to types. (Use versioned type names to manage
- breaking changes.)
+ * An HTTP GET on the URL must yield a
+ [google.protobuf.Type][]
+ value in binary format, or produce an error.
+ * Applications are allowed to cache lookup results based on
+ the
+ URL, or have them precompiled into a binary to avoid any
+ lookup. Therefore, binary compatibility needs to be preserved
+ on changes to types. (Use versioned type names to manage
+ breaking changes.)
- Note: this functionality is not currently available in the
- official
+ Note: this functionality is not currently available in the
+ official
- protobuf release, and it is not used for type URLs beginning
- with
+ protobuf release, and it is not used for type URLs beginning
+ with
- type.googleapis.com.
+ type.googleapis.com.
- Schemes other than `http`, `https` (or the empty scheme) might
- be
+ Schemes other than `http`, `https` (or the empty scheme)
+ might be
- used with implementation specific semantics.
- value:
- type: string
- format: byte
+ used with implementation specific semantics.
+ value:
+ type: string
+ format: byte
+ description: >-
+ Must be a valid serialized protocol buffer of the above
+ specified type.
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
-
- URL that describes the type of the serialized message.
-
-
- Protobuf library provides support to pack/unpack Any values in the
- form
-
- of utility functions or additional generated methods of the Any
- type.
-
-
- Example 1: Pack and unpack a message in C++.
-
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
-
- Example 2: Pack and unpack a message in Java.
-
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ `Any` contains an arbitrary serialized protocol buffer message
+ along with a
- Example 3: Pack and unpack a message in Python.
+ URL that describes the type of the serialized message.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
- Example 4: Pack and unpack a message in Go
+ Protobuf library provides support to pack/unpack Any values in
+ the form
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ of utility functions or additional generated methods of the Any
+ type.
- The pack methods provided by protobuf library will by default use
- 'type.googleapis.com/full.type.name' as the type URL and the unpack
+ Example 1: Pack and unpack a message in C++.
- methods only use the fully qualified type name after the last '/'
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- in the type URL, for example "foo.bar.com/x/y.z" will yield type
+ Example 2: Pack and unpack a message in Java.
- name "y.z".
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
+ Example 3: Pack and unpack a message in Python.
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- JSON
+ Example 4: Pack and unpack a message in Go
- ====
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- The JSON representation of an `Any` value uses the regular
+ The pack methods provided by protobuf library will by default
+ use
- representation of the deserialized, embedded message, with an
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- additional field `@type` which contains the type URL. Example:
+ methods only use the fully qualified type name after the last
+ '/'
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ in the type URL, for example "foo.bar.com/x/y.z" will yield type
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ name "y.z".
- If the embedded message type is well-known and has a custom JSON
- representation, that representation will be embedded adding a field
- `value` which holds the custom JSON in addition to the `@type`
+ JSON
- field. Example (for message [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- 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
+ The JSON representation of an `Any` value uses the regular
- was set, its value is undefined otherwise
- description: >-
- QueryAccountsResponse is the response type for the Query/Accounts RPC
- method.
- cosmos.auth.v1beta1.QueryParamsResponse:
- 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.
- cosmos.bank.v1beta1.DenomOwner:
- 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.
+ representation of the deserialized, embedded message, with an
- 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.
- cosmos.bank.v1beta1.DenomUnit:
- 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
+ additional field `@type` which contains the type URL. Example:
- raise the base_denom to in order to equal the given DenomUnit's denom
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- 1 denom = 1^exponent base_denom
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName":