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/.envrc b/.envrc
index 481c4e38..0783ed12 100644
--- a/.envrc
+++ b/.envrc
@@ -2,7 +2,6 @@ AKASH_ROOT=$(pwd)
export AKASH_ROOT
dotenv
-dotenv_if_exists dev.env
TOOLS=${AKASH_ROOT}/script/tools.sh
SEMVER=${AKASH_ROOT}/script/semver.sh
@@ -19,6 +18,15 @@ fi
AKASH_DIRENV_SET=1
+dotenv_if_exists dev.env
+
+if [[ ${GOWORK} != "off" ]] && [[ -f go.work ]]; then
+ GOWORK=${AKASH_ROOT}/go.work
+else
+ GOWORK=off
+fi
+
+export TOOLS
export SEMVER
export GOTOOLCHAIN
export GOTOOLCHAIN_SEMVER
diff --git a/.gitignore b/.gitignore
index bb7af02f..34fd80f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,7 @@
vendor/
# Go workspace file
-go.work
+go.work*
# coverage
coverage.txt
diff --git a/.golangci.yaml b/.golangci.yaml
index 4ac032c1..cf9e769d 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -6,11 +6,8 @@ issues:
# Skip generated k8s code
run:
- skip-dirs:
- - "^go/node/types/v1beta1"
- - "^go/node/types/v1beta2"
- - "^go/node/market/v1beta3"
- skip-files:
+ exclude-dirs:
+ exclude-files:
- "\\.pb\\.go$"
- "\\.pb\\.gw\\.go$"
# Skip vendor/ etc
@@ -29,7 +26,7 @@ linters:
- staticcheck
- revive
- gosec
- - exportloopref
+ - copyloopvar
- prealloc
linters-settings:
gocritic:
diff --git a/Makefile b/Makefile
index d4b0a541..65fc7e70 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,52 @@ ifeq (, $(GOTOOLCHAIN))
$(error "GOTOOLCHAIN is not set")
endif
+ifeq ($(GO111MODULE),off)
+else
+ GOMOD=readonly
+endif
+
+ifneq ($(GOWORK),off)
+ ifeq ($(shell test -e ${AKASH_ROOT}/go/go.work && echo -n yes),yes)
+ GOWORK=${AKASH_ROOT}/go/go.work
+ else
+ GOWORK=off
+ endif
+endif
+
+ifneq ($(GOWORK),off)
+ ifeq ($(GOMOD),$(filter $(GOMOD),mod ""))
+$(error '-mod may only be set to readonly or vendor when in workspace mode, but it is set to ""')
+ endif
+endif
+
+ifeq ($(GOMOD),vendor)
+ ifneq ($(wildcard ./vendor/.),)
+$(error "go -mod is in vendor mode but vendor dir has not been found. consider to run go mod vendor")
+ endif
+endif
+
+GO_ROOT := go
+TS_ROOT := $(AKASH_TS_ROOT)
+
+BUMP_MOD ?=
+
GO := GO111MODULE=$(GO111MODULE) go
-GO_MOD_NAME := $(shell 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)
+GO_MOD_NAME := $(shell cd $(GO_ROOT); GOWORK=off go list -m 2>/dev/null)
+
+BUF_VERSION ?= 1.38.0
+PROTOC_VERSION ?= 26.1
+GOGOPROTO_VERSION ?= $(shell cd $(GO_ROOT); $(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_ROOT); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/cosmos-proto)
+PROTOC_GEN_GO_VERSION ?= $(shell cd $(GO_ROOT); $(GO) list -mod=readonly -m -f '{{ .Version }}' google.golang.org/protobuf)
+PROTOC_GEN_GRPC_GATEWAY_VERSION := $(shell cd $(GO_ROOT); $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/grpc-ecosystem/grpc-gateway)
+PROTOC_GEN_DOC_VERSION := $(shell cd $(GO_ROOT); $(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
+MOCKERY_VERSION ?= 2.45.0
+GOLANGCI_LINT_VERSION ?= v1.60.3
BUF_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/buf/$(BUF_VERSION)
PROTOC_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/protoc/$(PROTOC_VERSION)
@@ -58,8 +86,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
@@ -72,11 +100,14 @@ MOCKERY := $(AKASH_DEVCACHE_BIN)/mockery
GOLANGCI_LINT := $(AKASH_DEVCACHE_BIN)/golangci-lint
GOLANGCI_LINT_RUN := $(GOLANGCI_LINT) run
-GOLINT := $(GOLANGCI_LINT_RUN) ./... --disable-all --deadline=5m --enable
+GOLINT := $(GOLANGCI_LINT_RUN) ./... --disable-all --deadline=10m --enable
DOCKER_RUN := docker run --rm -v $(shell pwd):/workspace -w /workspace
DOCKER_BUF := $(DOCKER_RUN) bufbuild/buf:$(BUF_VERSION)
+GO_MODULES ?= $(shell find * -name go.mod -exec dirname {} \;)
+GO_TEST_DIRS ?= ./...
+
include $(AKASH_ROOT)/make/setup-cache.mk
include $(AKASH_ROOT)/make/mod.mk
include $(AKASH_ROOT)/make/test.mk
@@ -85,6 +116,10 @@ include $(AKASH_ROOT)/make/lint.mk
include $(AKASH_ROOT)/make/release-ts.mk
include $(AKASH_ROOT)/make/code-style.mk
+.PHONY: bump-%
+bump-%:
+ @./script/tools.sh bump "$*" "$(BUMP_MOD)"
+
.PHONY: clean
clean:
rm -rf $(AKASH_DEVCACHE)
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..cd2f4c0f
--- /dev/null
+++ b/buf.gen.ts.yaml
@@ -0,0 +1,11 @@
+version: v1
+plugins:
+ - name: ts
+ strategy: all
+ path: ./ts/node_modules/.bin/protoc-gen-ts_proto
+ out: ./ts/src/generated
+ opt: "esModuleInterop=true,forceLong=long,outputTypeRegistry=true,useExactTypes=false,outputIndex=true"
+ - name: grpc-gateway-ts
+ path: ./ts/node_modules/.bin/protoc-gen-ts_proto
+ out: ./.cache/tmp/ts/generated-grpc-js
+ opt: "esModuleInterop=true,forceLong=long,outputTypeRegistry=true,useExactTypes=false,outputServices=grpc-js"
\ No newline at end of file
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..2c75fea7 100644
--- a/docs/config.yaml
+++ b/docs/config.yaml
@@ -1,16 +1,28 @@
+---
swagger: '2.0'
info:
title: "AKASH - gRPC Gateway docs"
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: "./vendor/github.com/cosmos/cosmos-sdk/client/docs/swagger-ui/swagger.yaml"
+ - 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"
+ operationIds:
+ rename:
+ Params: DeploymentParams
+ - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/service.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/query.swagger.json"
+ operationIds:
+ rename:
+ Params: MarketParams
+ - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/service.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/provider/v1beta4/query.swagger.json"
+ - url: "./.cache/tmp/swagger-gen/akash/take/v1/query.swagger.json"
+ operationIds:
+ rename:
+ Params: TakeParams
+ - url: "./.cache/tmp/swagger-gen/akash/take/v1/service.swagger.json"
+ - url: "./go/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 5614aea7..95773ac1 100644
--- a/docs/proto/node.md
+++ b/docs/proto/node.md
@@ -4,734 +4,434 @@
## 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/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)
-
- - [Query](#akash.provider.v1beta3.Query)
-
- - [akash/provider/v1beta3/genesis.proto](#akash/provider/v1beta3/genesis.proto)
- - [GenesisState](#akash.provider.v1beta3.GenesisState)
-
- - [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)
-
- - [Msg](#akash.provider.v1beta3.Msg)
-
- - [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)
-
- - [Query](#akash.provider.v1beta2.Query)
-
- - [akash/provider/v1beta2/genesis.proto](#akash/provider/v1beta2/genesis.proto)
- - [GenesisState](#akash.provider.v1beta2.GenesisState)
-
- - [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)
-
- - [Msg](#akash.provider.v1beta2.Msg)
-
- - [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)
-
- - [Msg](#akash.provider.v1beta1.Msg)
-
- - [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)
-
- - [Msg](#akash.audit.v1beta3.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)
-
- - [Query](#akash.audit.v1beta3.Query)
-
- - [akash/audit/v1beta3/genesis.proto](#akash/audit/v1beta3/genesis.proto)
- - [GenesisState](#akash.audit.v1beta3.GenesisState)
-
- - [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)
-
- - [Msg](#akash.audit.v1beta2.Msg)
-
- - [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)
-
- - [Query](#akash.audit.v1beta2.Query)
-
- - [akash/audit/v1beta2/genesis.proto](#akash/audit/v1beta2/genesis.proto)
- - [GenesisState](#akash.audit.v1beta2.GenesisState)
-
- - [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)
-
- - [Msg](#akash.audit.v1beta1.Msg)
-
- - [akash/take/v1beta3/query.proto](#akash/take/v1beta3/query.proto)
- - [Query](#akash.take.v1beta3.Query)
-
- - [akash/take/v1beta3/genesis.proto](#akash/take/v1beta3/genesis.proto)
- - [GenesisState](#akash.take.v1beta3.GenesisState)
-
- - [akash/take/v1beta3/params.proto](#akash/take/v1beta3/params.proto)
- - [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate)
- - [Params](#akash.take.v1beta3.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/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/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)
+ - [akash/audit/v1/audit.proto](#akash/audit/v1/audit.proto)
+ - [AttributesFilters](#akash.audit.v1.AttributesFilters)
+ - [AuditedAttributesStore](#akash.audit.v1.AuditedAttributesStore)
+ - [AuditedProvider](#akash.audit.v1.AuditedProvider)
- - [Deployment.State](#akash.deployment.v1beta1.Deployment.State)
+ - [akash/audit/v1/event.proto](#akash/audit/v1/event.proto)
+ - [EventTrustedAuditorCreated](#akash.audit.v1.EventTrustedAuditorCreated)
+ - [EventTrustedAuditorDeleted](#akash.audit.v1.EventTrustedAuditorDeleted)
- - [Msg](#akash.deployment.v1beta1.Msg)
+ - [akash/audit/v1/genesis.proto](#akash/audit/v1/genesis.proto)
+ - [GenesisState](#akash.audit.v1.GenesisState)
- - [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)
+ - [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)
- - [Query](#akash.deployment.v1beta1.Query)
+ - [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)
- - [akash/deployment/v1beta1/authz.proto](#akash/deployment/v1beta1/authz.proto)
- - [DepositDeploymentAuthorization](#akash.deployment.v1beta1.DepositDeploymentAuthorization)
+ - [Query](#akash.audit.v1.Query)
- - [akash/deployment/v1beta1/genesis.proto](#akash/deployment/v1beta1/genesis.proto)
- - [GenesisDeployment](#akash.deployment.v1beta1.GenesisDeployment)
- - [GenesisState](#akash.deployment.v1beta1.GenesisState)
+ - [akash/audit/v1/service.proto](#akash/audit/v1/service.proto)
+ - [Msg](#akash.audit.v1.Msg)
- - [akash/deployment/v1beta1/params.proto](#akash/deployment/v1beta1/params.proto)
- - [Params](#akash.deployment.v1beta1.Params)
+ - [akash/base/resources/v1beta4/resourcevalue.proto](#akash/base/resources/v1beta4/resourcevalue.proto)
+ - [ResourceValue](#akash.base.resources.v1beta4.ResourceValue)
- - [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/base/resources/v1beta4/cpu.proto](#akash/base/resources/v1beta4/cpu.proto)
+ - [CPU](#akash.base.resources.v1beta4.CPU)
- - [akash/cert/v1beta2/genesis.proto](#akash/cert/v1beta2/genesis.proto)
- - [GenesisCertificate](#akash.cert.v1beta2.GenesisCertificate)
- - [GenesisState](#akash.cert.v1beta2.GenesisState)
+ - [akash/base/resources/v1beta4/endpoint.proto](#akash/base/resources/v1beta4/endpoint.proto)
+ - [Endpoint](#akash.base.resources.v1beta4.Endpoint)
- - [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)
+ - [Endpoint.Kind](#akash.base.resources.v1beta4.Endpoint.Kind)
- - [Account.State](#akash.escrow.v1beta3.Account.State)
- - [FractionalPayment.State](#akash.escrow.v1beta3.FractionalPayment.State)
+ - [akash/base/resources/v1beta4/gpu.proto](#akash/base/resources/v1beta4/gpu.proto)
+ - [GPU](#akash.base.resources.v1beta4.GPU)
- - [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)
+ - [akash/base/resources/v1beta4/memory.proto](#akash/base/resources/v1beta4/memory.proto)
+ - [Memory](#akash.base.resources.v1beta4.Memory)
- - [Query](#akash.escrow.v1beta3.Query)
+ - [akash/base/resources/v1beta4/storage.proto](#akash/base/resources/v1beta4/storage.proto)
+ - [Storage](#akash.base.resources.v1beta4.Storage)
- - [akash/escrow/v1beta3/genesis.proto](#akash/escrow/v1beta3/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta3.GenesisState)
+ - [akash/base/resources/v1beta4/resources.proto](#akash/base/resources/v1beta4/resources.proto)
+ - [Resources](#akash.base.resources.v1beta4.Resources)
- - [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)
+ - [akash/cert/v1/cert.proto](#akash/cert/v1/cert.proto)
+ - [Certificate](#akash.cert.v1.Certificate)
+ - [ID](#akash.cert.v1.ID)
- - [Account.State](#akash.escrow.v1beta2.Account.State)
- - [FractionalPayment.State](#akash.escrow.v1beta2.FractionalPayment.State)
+ - [State](#akash.cert.v1.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)
+ - [akash/cert/v1/filters.proto](#akash/cert/v1/filters.proto)
+ - [CertificateFilter](#akash.cert.v1.CertificateFilter)
- - [Query](#akash.escrow.v1beta2.Query)
+ - [akash/cert/v1/genesis.proto](#akash/cert/v1/genesis.proto)
+ - [GenesisCertificate](#akash.cert.v1.GenesisCertificate)
+ - [GenesisState](#akash.cert.v1.GenesisState)
- - [akash/escrow/v1beta2/genesis.proto](#akash/escrow/v1beta2/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta2.GenesisState)
+ - [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/escrow/v1beta1/types.proto](#akash/escrow/v1beta1/types.proto)
- - [Account](#akash.escrow.v1beta1.Account)
- - [AccountID](#akash.escrow.v1beta1.AccountID)
- - [Payment](#akash.escrow.v1beta1.Payment)
+ - [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)
- - [Account.State](#akash.escrow.v1beta1.Account.State)
- - [Payment.State](#akash.escrow.v1beta1.Payment.State)
+ - [Query](#akash.cert.v1.Query)
- - [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)
+ - [akash/cert/v1/service.proto](#akash/cert/v1/service.proto)
+ - [Msg](#akash.cert.v1.Msg)
- - [Query](#akash.escrow.v1beta1.Query)
+ - [akash/deployment/v1/authz.proto](#akash/deployment/v1/authz.proto)
+ - [DepositAuthorization](#akash.deployment.v1.DepositAuthorization)
- - [akash/escrow/v1beta1/genesis.proto](#akash/escrow/v1beta1/genesis.proto)
- - [GenesisState](#akash.escrow.v1beta1.GenesisState)
+ - [akash/deployment/v1/deployment.proto](#akash/deployment/v1/deployment.proto)
+ - [Deployment](#akash.deployment.v1.Deployment)
+ - [DeploymentID](#akash.deployment.v1.DeploymentID)
- - [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)
+ - [Deployment.State](#akash.deployment.v1.Deployment.State)
- - [Bid.State](#akash.market.v1beta4.Bid.State)
+ - [akash/deployment/v1/group.proto](#akash/deployment/v1/group.proto)
+ - [GroupID](#akash.deployment.v1.GroupID)
- - [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)
+ - [akash/deployment/v1/event.proto](#akash/deployment/v1/event.proto)
+ - [EventDeploymentClosed](#akash.deployment.v1.EventDeploymentClosed)
+ - [EventDeploymentCreated](#akash.deployment.v1.EventDeploymentCreated)
+ - [EventDeploymentUpdated](#akash.deployment.v1.EventDeploymentUpdated)
+ - [EventGroupClosed](#akash.deployment.v1.EventGroupClosed)
+ - [EventGroupPaused](#akash.deployment.v1.EventGroupPaused)
+ - [EventGroupStarted](#akash.deployment.v1.EventGroupStarted)
- - [Query](#akash.market.v1beta4.Query)
+ - [akash/deployment/v1/msg.proto](#akash/deployment/v1/msg.proto)
+ - [MsgDepositDeployment](#akash.deployment.v1.MsgDepositDeployment)
+ - [MsgDepositDeploymentResponse](#akash.deployment.v1.MsgDepositDeploymentResponse)
- - [akash/market/v1beta4/service.proto](#akash/market/v1beta4/service.proto)
- - [Msg](#akash.market.v1beta4.Msg)
+ - [akash/deployment/v1beta4/resourceunit.proto](#akash/deployment/v1beta4/resourceunit.proto)
+ - [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit)
- - [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)
+ - [akash/deployment/v1beta4/groupspec.proto](#akash/deployment/v1beta4/groupspec.proto)
+ - [GroupSpec](#akash.deployment.v1beta4.GroupSpec)
- - [Lease.State](#akash.market.v1beta4.Lease.State)
+ - [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/market/v1beta4/genesis.proto](#akash/market/v1beta4/genesis.proto)
- - [GenesisState](#akash.market.v1beta4.GenesisState)
+ - [akash/deployment/v1beta4/filters.proto](#akash/deployment/v1beta4/filters.proto)
+ - [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters)
+ - [GroupFilters](#akash.deployment.v1beta4.GroupFilters)
- - [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)
+ - [akash/deployment/v1beta4/group.proto](#akash/deployment/v1beta4/group.proto)
+ - [Group](#akash.deployment.v1beta4.Group)
- - [Order.State](#akash.market.v1beta4.Order.State)
+ - [Group.State](#akash.deployment.v1beta4.Group.State)
- - [akash/market/v1beta4/params.proto](#akash/market/v1beta4/params.proto)
- - [Params](#akash.market.v1beta4.Params)
+ - [akash/deployment/v1beta4/params.proto](#akash/deployment/v1beta4/params.proto)
+ - [Params](#akash.deployment.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)
+ - [akash/deployment/v1beta4/genesis.proto](#akash/deployment/v1beta4/genesis.proto)
+ - [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment)
+ - [GenesisState](#akash.deployment.v1beta4.GenesisState)
- - [Bid.State](#akash.market.v1beta3.Bid.State)
+ - [akash/deployment/v1beta4/groupmsg.proto](#akash/deployment/v1beta4/groupmsg.proto)
+ - [MsgCloseGroup](#akash.deployment.v1beta4.MsgCloseGroup)
+ - [MsgCloseGroupResponse](#akash.deployment.v1beta4.MsgCloseGroupResponse)
+ - [MsgPauseGroup](#akash.deployment.v1beta4.MsgPauseGroup)
+ - [MsgPauseGroupResponse](#akash.deployment.v1beta4.MsgPauseGroupResponse)
+ - [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup)
+ - [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse)
- - [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)
+ - [akash/deployment/v1beta4/paramsmsg.proto](#akash/deployment/v1beta4/paramsmsg.proto)
+ - [MsgUpdateParams](#akash.deployment.v1beta4.MsgUpdateParams)
+ - [MsgUpdateParamsResponse](#akash.deployment.v1beta4.MsgUpdateParamsResponse)
- - [Query](#akash.market.v1beta3.Query)
+ - [akash/escrow/v1/accountid.proto](#akash/escrow/v1/accountid.proto)
+ - [AccountID](#akash.escrow.v1.AccountID)
- - [akash/market/v1beta3/service.proto](#akash/market/v1beta3/service.proto)
- - [Msg](#akash.market.v1beta3.Msg)
+ - [akash/escrow/v1/account.proto](#akash/escrow/v1/account.proto)
+ - [Account](#akash.escrow.v1.Account)
- - [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)
+ - [Account.State](#akash.escrow.v1.Account.State)
- - [Lease.State](#akash.market.v1beta3.Lease.State)
+ - [akash/deployment/v1beta4/query.proto](#akash/deployment/v1beta4/query.proto)
+ - [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest)
+ - [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse)
+ - [QueryDeploymentsRequest](#akash.deployment.v1beta4.QueryDeploymentsRequest)
+ - [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse)
+ - [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest)
+ - [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse)
+ - [QueryParamsRequest](#akash.deployment.v1beta4.QueryParamsRequest)
+ - [QueryParamsResponse](#akash.deployment.v1beta4.QueryParamsResponse)
- - [akash/market/v1beta3/genesis.proto](#akash/market/v1beta3/genesis.proto)
- - [GenesisState](#akash.market.v1beta3.GenesisState)
+ - [Query](#akash.deployment.v1beta4.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/deployment/v1beta4/service.proto](#akash/deployment/v1beta4/service.proto)
+ - [Msg](#akash.deployment.v1beta4.Msg)
- - [Order.State](#akash.market.v1beta3.Order.State)
-
- - [akash/market/v1beta3/params.proto](#akash/market/v1beta3/params.proto)
- - [Params](#akash.market.v1beta3.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)
-
- - [Bid.State](#akash.market.v1beta2.Bid.State)
-
- - [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)
-
- - [Query](#akash.market.v1beta2.Query)
-
- - [akash/market/v1beta2/service.proto](#akash/market/v1beta2/service.proto)
- - [Msg](#akash.market.v1beta2.Msg)
-
- - [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/discovery/v1/client_info.proto](#akash/discovery/v1/client_info.proto)
+ - [ClientInfo](#akash.discovery.v1.ClientInfo)
- - [Lease.State](#akash.market.v1beta2.Lease.State)
+ - [akash/discovery/v1/akash.proto](#akash/discovery/v1/akash.proto)
+ - [Akash](#akash.discovery.v1.Akash)
- - [akash/market/v1beta2/genesis.proto](#akash/market/v1beta2/genesis.proto)
- - [GenesisState](#akash.market.v1beta2.GenesisState)
+ - [akash/escrow/v1/fractional_payment.proto](#akash/escrow/v1/fractional_payment.proto)
+ - [FractionalPayment](#akash.escrow.v1.FractionalPayment)
- - [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)
+ - [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State)
- - [Order.State](#akash.market.v1beta2.Order.State)
+ - [akash/escrow/v1/genesis.proto](#akash/escrow/v1/genesis.proto)
+ - [GenesisState](#akash.escrow.v1.GenesisState)
- - [akash/market/v1beta2/params.proto](#akash/market/v1beta2/params.proto)
- - [Params](#akash.market.v1beta2.Params)
+ - [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/inflation/v1beta3/genesis.proto](#akash/inflation/v1beta3/genesis.proto)
- - [GenesisState](#akash.inflation.v1beta3.GenesisState)
+ - [Query](#akash.escrow.v1.Query)
- - [akash/inflation/v1beta3/params.proto](#akash/inflation/v1beta3/params.proto)
- - [Params](#akash.inflation.v1beta3.Params)
+ - [akash/gov/v1beta3/params.proto](#akash/gov/v1beta3/params.proto)
+ - [DepositParams](#akash.gov.v1beta3.DepositParams)
- - [akash/inflation/v1beta2/genesis.proto](#akash/inflation/v1beta2/genesis.proto)
- - [GenesisState](#akash.inflation.v1beta2.GenesisState)
+ - [akash/gov/v1beta3/genesis.proto](#akash/gov/v1beta3/genesis.proto)
+ - [GenesisState](#akash.gov.v1beta3.GenesisState)
- [akash/inflation/v1beta2/params.proto](#akash/inflation/v1beta2/params.proto)
- [Params](#akash.inflation.v1beta2.Params)
- - [akash/base/v1beta3/memory.proto](#akash/base/v1beta3/memory.proto)
- - [Memory](#akash.base.v1beta3.Memory)
-
- - [akash/base/v1beta3/cpu.proto](#akash/base/v1beta3/cpu.proto)
- - [CPU](#akash.base.v1beta3.CPU)
-
- - [akash/base/v1beta3/resources.proto](#akash/base/v1beta3/resources.proto)
- - [Resources](#akash.base.v1beta3.Resources)
-
- - [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)
-
- - [akash/base/v1beta3/endpoint.proto](#akash/base/v1beta3/endpoint.proto)
- - [Endpoint](#akash.base.v1beta3.Endpoint)
-
- - [Endpoint.Kind](#akash.base.v1beta3.Endpoint.Kind)
-
- - [akash/base/v1beta3/gpu.proto](#akash/base/v1beta3/gpu.proto)
- - [GPU](#akash.base.v1beta3.GPU)
+ - [akash/inflation/v1beta2/genesis.proto](#akash/inflation/v1beta2/genesis.proto)
+ - [GenesisState](#akash.inflation.v1beta2.GenesisState)
- - [akash/base/v1beta3/storage.proto](#akash/base/v1beta3/storage.proto)
- - [Storage](#akash.base.v1beta3.Storage)
+ - [akash/inflation/v1beta3/params.proto](#akash/inflation/v1beta3/params.proto)
+ - [Params](#akash.inflation.v1beta3.Params)
- - [akash/base/v1beta3/resourcevalue.proto](#akash/base/v1beta3/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta3.ResourceValue)
+ - [akash/inflation/v1beta3/genesis.proto](#akash/inflation/v1beta3/genesis.proto)
+ - [GenesisState](#akash.inflation.v1beta3.GenesisState)
- - [akash/base/v1beta2/resourceunits.proto](#akash/base/v1beta2/resourceunits.proto)
- - [ResourceUnits](#akash.base.v1beta2.ResourceUnits)
+ - [akash/market/v1/bid.proto](#akash/market/v1/bid.proto)
+ - [BidID](#akash.market.v1.BidID)
+
+ - [akash/market/v1/order.proto](#akash/market/v1/order.proto)
+ - [OrderID](#akash.market.v1.OrderID)
+
+ - [akash/market/v1/lease.proto](#akash/market/v1/lease.proto)
+ - [Lease](#akash.market.v1.Lease)
+ - [LeaseID](#akash.market.v1.LeaseID)
+
+ - [Lease.State](#akash.market.v1.Lease.State)
+
+ - [akash/market/v1/event.proto](#akash/market/v1/event.proto)
+ - [EventBidClosed](#akash.market.v1.EventBidClosed)
+ - [EventBidCreated](#akash.market.v1.EventBidCreated)
+ - [EventLeaseClosed](#akash.market.v1.EventLeaseClosed)
+ - [EventLeaseCreated](#akash.market.v1.EventLeaseCreated)
+ - [EventOrderClosed](#akash.market.v1.EventOrderClosed)
+ - [EventOrderCreated](#akash.market.v1.EventOrderCreated)
+
+ - [akash/market/v1/filters.proto](#akash/market/v1/filters.proto)
+ - [LeaseFilters](#akash.market.v1.LeaseFilters)
+
+ - [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)
+
+ - [Bid.State](#akash.market.v1beta5.Bid.State)
+
+ - [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)
+
+ - [akash/market/v1beta5/filters.proto](#akash/market/v1beta5/filters.proto)
+ - [BidFilters](#akash.market.v1beta5.BidFilters)
+ - [OrderFilters](#akash.market.v1beta5.OrderFilters)
+
+ - [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)
+
+ - [Order.State](#akash.market.v1beta5.Order.State)
+
+ - [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/paramsmsg.proto](#akash/market/v1beta5/paramsmsg.proto)
+ - [MsgUpdateParams](#akash.market.v1beta5.MsgUpdateParams)
+ - [MsgUpdateParamsResponse](#akash.market.v1beta5.MsgUpdateParamsResponse)
+
+ - [akash/market/v1beta5/query.proto](#akash/market/v1beta5/query.proto)
+ - [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest)
+ - [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse)
+ - [QueryBidsRequest](#akash.market.v1beta5.QueryBidsRequest)
+ - [QueryBidsResponse](#akash.market.v1beta5.QueryBidsResponse)
+ - [QueryLeaseRequest](#akash.market.v1beta5.QueryLeaseRequest)
+ - [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse)
+ - [QueryLeasesRequest](#akash.market.v1beta5.QueryLeasesRequest)
+ - [QueryLeasesResponse](#akash.market.v1beta5.QueryLeasesResponse)
+ - [QueryOrderRequest](#akash.market.v1beta5.QueryOrderRequest)
+ - [QueryOrderResponse](#akash.market.v1beta5.QueryOrderResponse)
+ - [QueryOrdersRequest](#akash.market.v1beta5.QueryOrdersRequest)
+ - [QueryOrdersResponse](#akash.market.v1beta5.QueryOrdersResponse)
+ - [QueryParamsRequest](#akash.market.v1beta5.QueryParamsRequest)
+ - [QueryParamsResponse](#akash.market.v1beta5.QueryParamsResponse)
+
+ - [Query](#akash.market.v1beta5.Query)
+
+ - [akash/market/v1beta5/service.proto](#akash/market/v1beta5/service.proto)
+ - [Msg](#akash.market.v1beta5.Msg)
+
+ - [akash/provider/v1beta4/event.proto](#akash/provider/v1beta4/event.proto)
+ - [EventProviderCreated](#akash.provider.v1beta4.EventProviderCreated)
+ - [EventProviderDeleted](#akash.provider.v1beta4.EventProviderDeleted)
+ - [EventProviderUpdated](#akash.provider.v1beta4.EventProviderUpdated)
+
+ - [akash/provider/v1beta4/provider.proto](#akash/provider/v1beta4/provider.proto)
+ - [Info](#akash.provider.v1beta4.Info)
+ - [Provider](#akash.provider.v1beta4.Provider)
+
+ - [akash/provider/v1beta4/genesis.proto](#akash/provider/v1beta4/genesis.proto)
+ - [GenesisState](#akash.provider.v1beta4.GenesisState)
+
+ - [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/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/provider/v1beta4/service.proto](#akash/provider/v1beta4/service.proto)
+ - [Msg](#akash.provider.v1beta4.Msg)
- - [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/staking/v1beta3/params.proto](#akash/staking/v1beta3/params.proto)
+ - [Params](#akash.staking.v1beta3.Params)
- - [akash/base/v1beta2/endpoint.proto](#akash/base/v1beta2/endpoint.proto)
- - [Endpoint](#akash.base.v1beta2.Endpoint)
+ - [akash/staking/v1beta3/genesis.proto](#akash/staking/v1beta3/genesis.proto)
+ - [GenesisState](#akash.staking.v1beta3.GenesisState)
- - [Endpoint.Kind](#akash.base.v1beta2.Endpoint.Kind)
+ - [akash/staking/v1beta3/paramsmsg.proto](#akash/staking/v1beta3/paramsmsg.proto)
+ - [MsgUpdateParams](#akash.staking.v1beta3.MsgUpdateParams)
+ - [MsgUpdateParamsResponse](#akash.staking.v1beta3.MsgUpdateParamsResponse)
- - [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/staking/v1beta3/query.proto](#akash/staking/v1beta3/query.proto)
+ - [QueryParamsRequest](#akash.staking.v1beta3.QueryParamsRequest)
+ - [QueryParamsResponse](#akash.staking.v1beta3.QueryParamsResponse)
- - [akash/base/v1beta2/resourcevalue.proto](#akash/base/v1beta2/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta2.ResourceValue)
+ - [Query](#akash.staking.v1beta3.Query)
- - [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/staking/v1beta3/service.proto](#akash/staking/v1beta3/service.proto)
+ - [Msg](#akash.staking.v1beta3.Msg)
- - [akash/base/v1beta1/endpoint.proto](#akash/base/v1beta1/endpoint.proto)
- - [Endpoint](#akash.base.v1beta1.Endpoint)
+ - [akash/take/v1/params.proto](#akash/take/v1/params.proto)
+ - [DenomTakeRate](#akash.take.v1.DenomTakeRate)
+ - [Params](#akash.take.v1.Params)
- - [Endpoint.Kind](#akash.base.v1beta1.Endpoint.Kind)
+ - [akash/take/v1/genesis.proto](#akash/take/v1/genesis.proto)
+ - [GenesisState](#akash.take.v1.GenesisState)
- - [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/take/v1/paramsmsg.proto](#akash/take/v1/paramsmsg.proto)
+ - [MsgUpdateParams](#akash.take.v1.MsgUpdateParams)
+ - [MsgUpdateParamsResponse](#akash.take.v1.MsgUpdateParamsResponse)
- - [akash/base/v1beta1/resourcevalue.proto](#akash/base/v1beta1/resourcevalue.proto)
- - [ResourceValue](#akash.base.v1beta1.ResourceValue)
+ - [akash/take/v1/query.proto](#akash/take/v1/query.proto)
+ - [QueryParamsRequest](#akash.take.v1.QueryParamsRequest)
+ - [QueryParamsResponse](#akash.take.v1.QueryParamsResponse)
- - [akash/gov/v1beta3/genesis.proto](#akash/gov/v1beta3/genesis.proto)
- - [GenesisState](#akash.gov.v1beta3.GenesisState)
+ - [Query](#akash.take.v1.Query)
- - [akash/gov/v1beta3/params.proto](#akash/gov/v1beta3/params.proto)
- - [DepositParams](#akash.gov.v1beta3.DepositParams)
+ - [akash/take/v1/service.proto](#akash/take/v1/service.proto)
+ - [Msg](#akash.take.v1.Msg)
- [Scalar Value Types](#scalar-value-types)
-
+
Top
- ## akash/discovery/v1/client_info.proto
+ ## akash/base/attributes/v1/attribute.proto
-
+
- ### ClientInfo
- ClientInfo akash specific client info
+ ### Attribute
+ Attribute represents key value pair
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `api_version` | [string](#string) | | |
+ | `key` | [string](#string) | | |
+ | `value` | [string](#string) | | |
-
-
-
-
-
+
+
-
+ ### PlacementRequirements
+ PlacementRequirements
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `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 |
+
-
- Top
- ## akash/discovery/v1/akash.proto
-
+
- ### Akash
- Akash akash specific RPC parameters
+ ### 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 |
| ----- | ---- | ----- | ----------- |
- | `client_info` | [ClientInfo](#akash.discovery.v1.ClientInfo) | | |
+ | `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 |
@@ -747,110 +447,134 @@
-
+
Top
- ## akash/provider/v1beta3/query.proto
+ ## akash/audit/v1/audit.proto
-
+
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
+ ### AttributesFilters
+ AttributesFilters defines filters used to filter deployments
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
+ | `auditors` | [string](#string) | repeated | |
+ | `owners` | [string](#string) | repeated | |
-
+
- ### QueryProviderResponse
- QueryProviderResponse is response type for the Query/Provider RPC method
+ ### AuditedAttributesStore
+ Attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `provider` | [Provider](#akash.provider.v1beta3.Provider) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
+
- ### QueryProvidersRequest
- QueryProvidersRequest is request type for the Query/Providers RPC method
+ ### AuditedProvider
+ Provider stores owner auditor and attributes details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `owner` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Top
+ ## akash/audit/v1/event.proto
-
+
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
+ ### EventTrustedAuditorCreated
+ EventTrustedAuditorCreated defines an SDK message for signing a provider attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta3.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `owner` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
-
+
+
-
+ ### EventTrustedAuditorDeleted
+ EventTrustedAuditorCreated defines an SDK message for signing a provider attributes
-
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `owner` | [string](#string) | | |
+ | `auditor` | [string](#string) | | |
+
+
-
- ### 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
+ ## akash/audit/v1/genesis.proto
-
+
### GenesisState
- GenesisState defines the basic genesis state used by provider module
+ GenesisState defines the basic genesis state used by audit module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta3.Provider) | repeated | |
+ | `providers` | [AuditedProvider](#akash.audit.v1.AuditedProvider) | repeated | |
@@ -866,157 +590,147 @@
-
+
Top
- ## akash/provider/v1beta3/provider.proto
+ ## akash/audit/v1/msg.proto
-
+
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
+ ### MsgDeleteProviderAttributes
+ MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
| 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) | | |
+ | `auditor` | [string](#string) | | |
+ | `keys` | [string](#string) | repeated | |
-
+
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
+ ### MsgDeleteProviderAttributesResponse
+ MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
-
+
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
+ ### 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 | |
-
+
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
+ ### MsgSignProviderAttributesResponse
+ MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Top
+ ## akash/audit/v1/query.proto
-
+
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
+ ### QueryAllProvidersAttributesRequest
+ QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
| 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) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
-
-
-
-
-
-
-
-
- ### Provider
- Provider stores owner and host details
+ ### QueryAuditorAttributesRequest
+ QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
| 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) | | |
+ | `auditor` | [string](#string) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
- ### ProviderInfo
- ProviderInfo
+ ### QueryProviderAttributesRequest
+ QueryProviderAttributesRequest is request type for the Query/Provider RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
-
-
-
-
+
- ### Msg
- Msg defines the provider Msg service
+ ### QueryProviderAuditorRequest
+ QueryProviderAuditorRequest is request type for the Query/Providers RPC method
- | 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 | |
-
-
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `auditor` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
-
- Top
- ## akash/provider/v1beta2/query.proto
-
+
### QueryProviderRequest
QueryProviderRequest is request type for the Query/Provider RPC method
@@ -1024,6 +738,7 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
+ | `auditor` | [string](#string) | | |
| `owner` | [string](#string) | | |
@@ -1031,49 +746,48 @@
-
+
- ### QueryProviderResponse
- QueryProviderResponse is response type for the Query/Provider RPC method
+ ### QueryProvidersResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `provider` | [Provider](#akash.provider.v1beta2.Provider) | | |
-
+ | `providers` | [AuditedProvider](#akash.audit.v1.AuditedProvider) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
- ### 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
+ ### 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|
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta2.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
+ Top
+ ## akash/audit/v1/service.proto
@@ -1083,36 +797,36 @@
-
+
- ### Query
- Query defines the gRPC querier service
+ ### Msg
+ Msg defines the provider Msg 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}|
+ | `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/provider/v1beta2/genesis.proto
+ ## akash/base/resources/v1beta4/resourcevalue.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by provider module
+ ### ResourceValue
+ Unit stores cpu, memory and storage metrics
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.provider.v1beta2.Provider) | repeated | |
+ | `val` | [bytes](#bytes) | | |
@@ -1128,122 +842,100 @@
-
+
Top
- ## akash/provider/v1beta2/provider.proto
+ ## akash/base/resources/v1beta4/cpu.proto
-
+
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
+ ### CPU
+ CPU stores resource units and cpu config attributes
| 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) | | |
-
-
-
+ | `units` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
-
-
- ### 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.
-
+
+ Top
+ ## akash/base/resources/v1beta4/endpoint.proto
-
+
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
+ ### Endpoint
+ Endpoint describes a publicly accessible IP service
| 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) | | |
+ | `kind` | [Endpoint.Kind](#akash.base.resources.v1beta4.Endpoint.Kind) | | |
+ | `sequence_number` | [uint32](#uint32) | | |
+
+
-
+
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
+ ### 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 |
-
+
-
-
+
- ### 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) | | |
-
+
+ Top
+ ## akash/base/resources/v1beta4/gpu.proto
-
+
- ### ProviderInfo
- ProviderInfo
+ ### GPU
+ GPU stores resource units and cpu config attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
+ | `units` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
@@ -1255,138 +947,146 @@
-
-
-
- ### 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
+ ## akash/base/resources/v1beta4/memory.proto
-
+
- ### MsgCreateProvider
- MsgCreateProvider defines an SDK message for creating a provider
+ ### Memory
+ Memory stores resource quantity and memory attributes
| 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) | | |
+ | `quantity` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
+
- ### MsgCreateProviderResponse
- MsgCreateProviderResponse defines the Msg/CreateProvider response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/base/resources/v1beta4/storage.proto
-
+
- ### MsgDeleteProvider
- MsgDeleteProvider defines an SDK message for deleting a provider
+ ### Storage
+ Storage stores resource quantity and storage attributes
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
+ | `name` | [string](#string) | | |
+ | `quantity` | [ResourceValue](#akash.base.resources.v1beta4.ResourceValue) | | |
+ | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | |
-
-
+
- ### MsgDeleteProviderResponse
- MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/base/resources/v1beta4/resources.proto
-
+
- ### MsgUpdateProvider
- MsgUpdateProvider defines an SDK message for updating a provider
+ ### 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 |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `host_uri` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
- | `info` | [ProviderInfo](#akash.provider.v1beta1.ProviderInfo) | | |
+ | `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 | |
-
-
+
- ### MsgUpdateProviderResponse
- MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/cert/v1/cert.proto
-
+
- ### Provider
- Provider stores owner and host details
+ ### Certificate
+ Certificate stores state, certificate and it's public key
| 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) | | |
+ | `state` | [State](#akash.cert.v1.State) | | |
+ | `cert` | [bytes](#bytes) | | |
+ | `pubkey` | [bytes](#bytes) | | |
-
+
- ### ProviderInfo
- ProviderInfo
+ ### ID
+ ID stores owner and sequence number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `email` | [string](#string) | | |
- | `website` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
+ | `serial` | [string](#string) | | |
@@ -1394,219 +1094,207 @@
-
+
+
-
+ ### 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 |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
- | `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/v1beta3/audit.proto
+ ## akash/cert/v1/filters.proto
-
+
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
+ ### CertificateFilter
+ CertificateFilter defines filters used to filter certificates
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
+ | `owner` | [string](#string) | | |
+ | `serial` | [string](#string) | | |
+ | `state` | [string](#string) | | |
-
-
+
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta3.AuditedAttributes) | repeated | |
+
+ Top
+ ## akash/cert/v1/genesis.proto
-
+
- ### AuditedAttributes
- Attributes
+ ### GenesisCertificate
+ GenesisCertificate defines certificate entry at genesis
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `certificate` | [Certificate](#akash.cert.v1.Certificate) | | |
-
+
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
+ ### GenesisState
+ GenesisState defines the basic genesis state used by cert module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
+ | `certificates` | [GenesisCertificate](#akash.cert.v1.GenesisCertificate) | repeated | |
-
-
+
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/cert/v1/msg.proto
-
+
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
+ ### MsgCreateCertificate
+ MsgCreateCertificate defines an SDK message for creating certificate
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `cert` | [bytes](#bytes) | | |
+ | `pubkey` | [bytes](#bytes) | | |
-
+
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
+ ### MsgCreateCertificateResponse
+ MsgCreateCertificateResponse defines the Msg/CreateCertificate response type.
-
+
- ### Provider
- Provider stores owner auditor and attributes details
+ ### MsgRevokeCertificate
+ MsgRevokeCertificate defines an SDK message for revoking certificate
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta3.Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `id` | [ID](#akash.cert.v1.ID) | | |
-
-
-
-
-
-
-
+
- ### Msg
- Msg defines the provider Msg service
+ ### MsgRevokeCertificateResponse
+ MsgRevokeCertificateResponse defines the Msg/RevokeCertificate response type.
- | 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) | | |
+
+ Top
+ ## akash/cert/v1/query.proto
-
+
- ### QueryAuditorAttributesRequest
- QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
+ ### CertificateResponse
+ CertificateResponse contains a single X509 certificate and its serial number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `certificate` | [Certificate](#akash.cert.v1.Certificate) | | |
+ | `serial` | [string](#string) | | |
-
+
- ### QueryProviderAttributesRequest
- QueryProviderAttributesRequest is request type for the Query/Provider RPC method
+ ### QueryCertificatesRequest
+ QueryDeploymentsRequest is request type for the Query/Deployments RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
+ | `filter` | [CertificateFilter](#akash.cert.v1.CertificateFilter) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
@@ -1614,51 +1302,45 @@
-
+
- ### QueryProviderAuditorRequest
- QueryProviderAuditorRequest is request type for the Query/Providers RPC method
+ ### QueryCertificatesResponse
+ QueryCertificatesResponse is response type for the Query/Certificates RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
-
+ | `certificates` | [CertificateResponse](#akash.cert.v1.CertificateResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
-
- ### 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
+ ### 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/v1/certificates/list|
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.audit.v1beta3.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
+ Top
+ ## akash/cert/v1/service.proto
@@ -1668,38 +1350,37 @@
-
+
- ### Query
- Query defines the gRPC querier service
+ ### Msg
+ Msg defines the provider Msg 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|
+ | `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/audit/v1beta3/genesis.proto
+ ## akash/deployment/v1/authz.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by audit 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 |
| ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta3.AuditedAttributes) | repeated | |
+ | `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. |
@@ -1715,126 +1396,87 @@
-
+
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 | |
-
-
-
+ ## akash/deployment/v1/deployment.proto
-
+
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta2.AuditedAttributes) | repeated | |
-
-
-
-
-
-
-
-
- ### AuditedAttributes
- Attributes
+ ### Deployment
+ Deployment stores deploymentID, state and checksum details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `state` | [Deployment.State](#akash.deployment.v1.Deployment.State) | | |
+ | `hash` | [bytes](#bytes) | | |
+ | `created_at` | [int64](#int64) | | |
-
+
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
+ ### DeploymentID
+ DeploymentID stores owner and sequence number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
-
+ | `dseq` | [uint64](#uint64) | | |
-
-
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes 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 |
-
- ### 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.
-
+
+ Top
+ ## akash/deployment/v1/group.proto
-
+
- ### Provider
- Provider stores owner auditor and attributes details
+ ### GroupID
+ GroupID stores owner, deployment sequence number and group sequence number
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta2.Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
@@ -1846,117 +1488,103 @@
-
-
-
- ### 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
+ ## akash/deployment/v1/event.proto
-
+
- ### QueryAllProvidersAttributesRequest
- QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
+ ### EventDeploymentClosed
+ EventDeploymentClosed is triggered when deployment is closed on chain
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
-
+
- ### QueryAuditorAttributesRequest
- QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
+ ### EventDeploymentCreated
+ EventDeploymentCreated event is triggered when deployment is created on chain
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `hash` | [bytes](#bytes) | | |
-
+
- ### QueryProviderAttributesRequest
- QueryProviderAttributesRequest is request type for the Query/Provider RPC method
+ ### EventDeploymentUpdated
+ EventDeploymentUpdated is triggered when deployment is updated on chain
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `hash` | [bytes](#bytes) | | |
-
+
- ### QueryProviderAuditorRequest
- QueryProviderAuditorRequest is request type for the Query/Providers RPC method
+ ### EventGroupClosed
+ EventGroupClosed is triggered when deployment group is closed
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
+ | `id` | [GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### QueryProviderRequest
- QueryProviderRequest is request type for the Query/Provider RPC method
+ ### EventGroupPaused
+ EventGroupPaused is triggered when deployment group is paused
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditor` | [string](#string) | | |
- | `owner` | [string](#string) | | |
+ | `id` | [GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### QueryProvidersResponse
- QueryProvidersResponse is response type for the Query/Providers RPC method
+ ### EventGroupStarted
+ EventGroupStarted is triggered when deployment group is started
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `providers` | [Provider](#akash.audit.v1beta2.Provider) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `id` | [GroupID](#akash.deployment.v1.GroupID) | | |
@@ -1968,174 +1596,251 @@
-
-
-
- ### 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
+ ## akash/deployment/v1/msg.proto
-
+
- ### GenesisState
- GenesisState defines the basic genesis state used by audit module
+ ### MsgDepositDeployment
+ MsgDepositDeployment deposits more funds into the deposit account
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta2.AuditedAttributes) | repeated | |
+ | `id` | [DeploymentID](#akash.deployment.v1.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.
-
+
+
+
+
+
+
+
+
+
-
+
Top
- ## akash/audit/v1beta1/audit.proto
+ ## akash/deployment/v1beta4/resourceunit.proto
-
+
- ### AttributesFilters
- AttributesFilters defines filters used to filter deployments
+ ### ResourceUnit
+ ResourceUnit extends Resources and adds Count along with the Price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `auditors` | [string](#string) | repeated | |
- | `owners` | [string](#string) | repeated | |
+ | `resource` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
+ | `count` | [uint32](#uint32) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
+
+
+
+
+
+
+
+
+
+
+
+ Top
+
+ ## akash/deployment/v1beta4/groupspec.proto
-
- ### AttributesResponse
- AttributesResponse represents details of deployment along with group details
+
+
+
+ ### GroupSpec
+ Spec stores group specifications
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `attributes` | [AuditedAttributes](#akash.audit.v1beta1.AuditedAttributes) | repeated | |
+ | `name` | [string](#string) | | |
+ | `requirements` | [akash.base.attributes.v1.PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements) | | |
+ | `resources` | [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) | repeated | |
+
+
+
+
+
+
+
+
-
+
+
+ Top
- ### AuditedAttributes
- Attributes
+ ## akash/deployment/v1beta4/deploymentmsg.proto
+
+
+
+
+
+ ### MsgCloseDeployment
+ MsgCloseDeployment defines an SDK message for closing deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
-
+
- ### MsgDeleteProviderAttributes
- MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes
+ ### MsgCloseDeploymentResponse
+ MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
+
+
+
+
+
+
+
+
+ ### MsgCreateDeployment
+ MsgCreateDeployment defines an SDK message for creating deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `keys` | [string](#string) | repeated | |
+ | `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 |
-
+
- ### MsgDeleteProviderAttributesResponse
- MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.
+ ### MsgCreateDeploymentResponse
+ MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
-
+
- ### MsgSignProviderAttributes
- MsgSignProviderAttributes defines an SDK message for signing a provider attributes
+ ### MsgUpdateDeployment
+ MsgUpdateDeployment defines an SDK message for updating deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
+ | `hash` | [bytes](#bytes) | | |
-
+
- ### MsgSignProviderAttributesResponse
- MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.
+ ### MsgUpdateDeploymentResponse
+ MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
+
+
+
+
+
+
+
+
+
-
+
+ Top
- ### Provider
- Provider stores owner auditor and attributes details
+ ## akash/deployment/v1beta4/filters.proto
+
+
+
+
+
+ ### DeploymentFilters
+ DeploymentFilters defines filters used to filter deployments
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | |
- | `auditor` | [string](#string) | | |
- | `attributes` | [akash.base.v1beta1.Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `state` | [string](#string) | | |
+
+
+
+
+
+
+
+
+ ### GroupFilters
+ GroupFilters defines filters used to filter groups
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint64](#uint64) | | |
+ | `state` | [string](#string) | | |
@@ -2147,62 +1852,75 @@
+
+
-
+
+
+ Top
- ### Msg
- Msg defines the provider Msg service
+ ## akash/deployment/v1beta4/group.proto
+
- | 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 | |
-
+
+ ### Group
+ Group stores group id, state and specifications of group
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
+ | `state` | [Group.State](#akash.deployment.v1beta4.Group.State) | | |
+ | `group_spec` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
+ | `created_at` | [int64](#int64) | | |
-
- Top
- ## akash/take/v1beta3/query.proto
-
+
+
-
+ ### 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 |
-
- ### Query
- Query defines the gRPC querier service
+
+
+
- | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
- | ----------- | ------------ | ------------- | ------------| ------- | -------- |
-
-
+
Top
- ## akash/take/v1beta3/genesis.proto
+ ## akash/deployment/v1beta4/params.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### Params
+ Params defines the parameters for the x/deployment module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.take.v1beta3.Params) | | |
+ | `min_deposits` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
@@ -2218,39 +1936,39 @@
-
+
Top
- ## akash/take/v1beta3/params.proto
+ ## akash/deployment/v1beta4/genesis.proto
-
+
- ### DenomTakeRate
- DenomTakeRate describes take rate for specified denom
+ ### GenesisDeployment
+ GenesisDeployment defines the basic genesis state used by deployment module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `denom` | [string](#string) | | |
- | `rate` | [uint32](#uint32) | | |
+ | `deployment` | [akash.deployment.v1.Deployment](#akash.deployment.v1.Deployment) | | |
+ | `groups` | [Group](#akash.deployment.v1beta4.Group) | repeated | |
-
+
- ### Params
- Params defines the parameters for the x/take package
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `denom_take_rates` | [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate) | repeated | denom -> % take rate |
- | `default_take_rate` | [uint32](#uint32) | | |
+ | `deployments` | [GenesisDeployment](#akash.deployment.v1beta4.GenesisDeployment) | repeated | |
+ | `params` | [Params](#akash.deployment.v1beta4.Params) | | |
@@ -2266,14 +1984,14 @@
-
+
Top
- ## akash/deployment/v1beta3/groupmsg.proto
+ ## akash/deployment/v1beta4/groupmsg.proto
-
+
### MsgCloseGroup
MsgCloseGroup defines SDK message to close a single Group within a Deployment.
@@ -2281,14 +1999,14 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
### MsgCloseGroupResponse
MsgCloseGroupResponse defines the Msg/CloseGroup response type.
@@ -2298,7 +2016,7 @@
-
+
### MsgPauseGroup
MsgPauseGroup defines SDK message to close a single Group within a Deployment.
@@ -2306,14 +2024,14 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
### MsgPauseGroupResponse
MsgPauseGroupResponse defines the Msg/PauseGroup response type.
@@ -2323,7 +2041,7 @@
-
+
### MsgStartGroup
MsgStartGroup defines SDK message to close a single Group within a Deployment.
@@ -2331,14 +2049,14 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta3.GroupID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
### MsgStartGroupResponse
MsgStartGroupResponse defines the Msg/StartGroup response type.
@@ -2357,25 +2075,41 @@
-
+
Top
- ## akash/deployment/v1beta3/resourceunit.proto
+ ## akash/deployment/v1beta4/paramsmsg.proto
-
+
- ### ResourceUnit
- ResourceUnit extends Resources and adds Count along with the Price
+ ### MsgUpdateParams
+ MsgUpdateParams is the Msg/UpdateParams request type.
+
+Since: akash v1.0.0
| 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) | | |
+ | `authority` | [string](#string) | | authority is the address of the governance account. |
+ | `params` | [Params](#akash.deployment.v1beta4.Params) | | params defines the x/deployment parameters to update.
+
+NOTE: All parameters must be supplied. |
+
+
+
+
+
+
+
+ ### MsgUpdateParamsResponse
+ MsgUpdateParamsResponse defines the response structure for executing a
+MsgUpdateParams message.
+
+Since: akash v1.0.0
+
@@ -2390,25 +2124,23 @@
-
+
Top
- ## akash/deployment/v1beta3/group.proto
+ ## akash/escrow/v1/accountid.proto
-
+
- ### Group
- Group stores group id, state and specifications of group
+ ### AccountID
+ AccountID is the account identifier
| 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) | | |
+ | `scope` | [string](#string) | | |
+ | `xid` | [string](#string) | | |
@@ -2416,21 +2148,6 @@
-
-
-
- ### 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 |
-
-
@@ -2439,24 +2156,29 @@
-
+
Top
- ## akash/deployment/v1beta3/groupid.proto
+ ## akash/escrow/v1/account.proto
-
+
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
+ ### Account
+ Account stores state for an escrow account
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
+ | `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` | [Account.State](#akash.escrow.v1.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. |
@@ -2464,6 +2186,20 @@
+
+
+
+ ### 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 |
+
+
@@ -2472,184 +2208,158 @@
-
+
Top
- ## akash/deployment/v1beta3/deployment.proto
+ ## akash/deployment/v1beta4/query.proto
-
+
- ### Deployment
- Deployment stores deploymentID, state and version details
+ ### QueryDeploymentRequest
+ QueryDeploymentRequest is request type for the Query/Deployment RPC method
| 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) | | |
+ | `id` | [akash.deployment.v1.DeploymentID](#akash.deployment.v1.DeploymentID) | | |
-
+
- ### DeploymentFilters
- DeploymentFilters defines filters used to filter deployments
+ ### QueryDeploymentResponse
+ QueryDeploymentResponse is response type for the Query/Deployment RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `state` | [string](#string) | | |
+ | `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) | | |
-
+
- ### DeploymentID
- DeploymentID stores owner and sequence number
+ ### QueryDeploymentsRequest
+ QueryDeploymentsRequest is request type for the Query/Deployments RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
+ | `filters` | [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters) | | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
-
-
+
- ### Deployment.State
- State is an enum which refers to state of deployment
+ ### QueryDeploymentsResponse
+ QueryDeploymentsResponse is response type for the Query/Deployments RPC method
- | 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 |
+ | ----- | ---- | ----- | ----------- |
+ | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
-
- Top
- ## akash/deployment/v1beta3/query.proto
-
+
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
+ ### QueryGroupRequest
+ QueryGroupRequest is request type for the Query/Group RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
+ | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | |
-
+
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
+ ### QueryGroupResponse
+ QueryGroupResponse is response type for the Query/Group 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) | | |
+ | `group` | [Group](#akash.deployment.v1beta4.Group) | | |
-
+
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
+ ### QueryParamsRequest
+ QueryParamsRequest is the request type for the Query/Params 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
+ ### QueryParamsResponse
+ QueryParamsResponse is the response type for the Query/Params RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta3.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `params` | [Params](#akash.deployment.v1beta4.Params) | | params defines the parameters of the module. |
-
-
-
- ### 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
+ ### 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|
+ | `Params` | [QueryParamsRequest](#akash.deployment.v1beta4.QueryParamsRequest) | [QueryParamsResponse](#akash.deployment.v1beta4.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/deployment/v1beta4/params|
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta3.Group) | | |
+
+
+
+ Top
+ ## akash/deployment/v1beta4/service.proto
@@ -2659,131 +2369,160 @@
-
+
- ### Query
- Query defines the gRPC querier service
+ ### Msg
+ Msg defines the x/deployment Msg 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|
+ | `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. | |
+ | `UpdateParams` | [MsgUpdateParams](#akash.deployment.v1beta4.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.deployment.v1beta4.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/deployment module parameters. The authority is hard-coded to the x/gov module account.
+
+Since: akash v1.0.0 | |
-
+
Top
- ## akash/deployment/v1beta3/deploymentmsg.proto
+ ## akash/discovery/v1/client_info.proto
-
+
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
+ ### ClientInfo
+ ClientInfo akash specific client info
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
+ | `api_version` | [string](#string) | | |
-
-
+
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/discovery/v1/akash.proto
-
+
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
+ ### Akash
+ Akash akash specific RPC parameters
| 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 |
+ | `client_info` | [ClientInfo](#akash.discovery.v1.ClientInfo) | | |
-
-
+
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/escrow/v1/fractional_payment.proto
-
+
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
+ ### FractionalPayment
+ Payment stores state for a payment
| 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 |
+ | `account_id` | [AccountID](#akash.escrow.v1.AccountID) | | |
+ | `payment_id` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
+ | `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) | | |
+
+
-
+
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
+ ### FractionalPayment.State
+ State defines 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 |
-
+
-
-
+
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta3.DeploymentID) | | |
- | `version` | [bytes](#bytes) | | |
-
+
+ Top
+ ## akash/escrow/v1/genesis.proto
-
+
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
+ ### GenesisState
+ GenesisState defines the basic genesis state used by the escrow module
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `accounts` | [Account](#akash.escrow.v1.Account) | repeated | |
+ | `payments` | [FractionalPayment](#akash.escrow.v1.FractionalPayment) | repeated | |
+
+
@@ -2797,55 +2536,78 @@
-
+
Top
- ## akash/deployment/v1beta3/service.proto
+ ## akash/escrow/v1/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) | | |
+
+
-
- ### Msg
- Msg defines the deployment Msg service.
+
+
+
+ ### QueryAccountsResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
- | 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. | |
-
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `accounts` | [Account](#akash.escrow.v1.Account) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
+
-
- Top
+
+
+ ### QueryPaymentsRequest
+ QueryPaymentRequest is request type for the Query/Payment RPC method
- ## akash/deployment/v1beta3/authz.proto
+
+ | 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) | | |
+
-
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
+
+
+
+ ### QueryPaymentsResponse
+ QueryProvidersResponse is response type for the Query/Providers RPC method
| 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. |
+ | `payments` | [FractionalPayment](#akash.escrow.v1.FractionalPayment) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
@@ -2857,43 +2619,37 @@ the granter's account for a deployment.
-
-
-
-
- Top
+
- ## akash/deployment/v1beta3/genesis.proto
-
+ ### 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|
-
-
- ### 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 | |
-
+
+ Top
+ ## akash/gov/v1beta3/params.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### DepositParams
+ DepositParams defines the parameters for the x/gov module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deployments` | [GenesisDeployment](#akash.deployment.v1beta3.GenesisDeployment) | repeated | |
- | `params` | [Params](#akash.deployment.v1beta3.Params) | | |
+ | `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 |
@@ -2909,24 +2665,22 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta3/groupspec.proto
+ ## akash/gov/v1beta3/genesis.proto
-
+
- ### GroupSpec
- GroupSpec stores group specifications
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `requirements` | [akash.base.v1beta3.PlacementRequirements](#akash.base.v1beta3.PlacementRequirements) | | |
- | `resources` | [ResourceUnit](#akash.deployment.v1beta3.ResourceUnit) | repeated | |
+ | `deposit_params` | [DepositParams](#akash.gov.v1beta3.DepositParams) | | |
@@ -2942,14 +2696,14 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta3/params.proto
+ ## akash/inflation/v1beta2/params.proto
-
+
### Params
Params defines the parameters for the x/deployment package
@@ -2957,7 +2711,9 @@ the granter's account for a deployment.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `min_deposits` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
+ | `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]. |
@@ -2973,83 +2729,87 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/groupmsg.proto
+ ## akash/inflation/v1beta2/genesis.proto
-
+
- ### MsgCloseGroup
- MsgCloseGroup defines SDK message to close a single Group within a Deployment.
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
+ | `params` | [Params](#akash.inflation.v1beta2.Params) | | |
-
-
+
- ### MsgCloseGroupResponse
- MsgCloseGroupResponse defines the Msg/CloseGroup response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/inflation/v1beta3/params.proto
-
+
- ### MsgPauseGroup
- MsgPauseGroup defines SDK message to close a single Group within a Deployment.
+ ### Params
+ Params defines the parameters for the x/deployment package
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
+ | `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]. |
-
-
+
- ### MsgPauseGroupResponse
- MsgPauseGroupResponse defines the Msg/PauseGroup response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/inflation/v1beta3/genesis.proto
-
+
- ### MsgStartGroup
- MsgStartGroup defines SDK message to close a single Group within a Deployment.
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
-
-
-
-
-
+ | `params` | [Params](#akash.inflation.v1beta3.Params) | | |
-
-
- ### MsgStartGroupResponse
- MsgStartGroupResponse defines the Msg/StartGroup response type.
-
@@ -3064,25 +2824,27 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/group.proto
+ ## akash/market/v1/bid.proto
-
+
- ### Group
- Group stores group id, state and specifications of group
+ ### BidID
+ BidID stores owner and all other seq numbers
+A successful bid becomes a Lease(ID).
| 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) | | |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
+ | `provider` | [string](#string) | | |
@@ -3090,21 +2852,6 @@ the granter's account for a deployment.
-
-
-
- ### 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 |
-
-
@@ -3113,17 +2860,17 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/groupid.proto
+ ## akash/market/v1/order.proto
-
+
- ### GroupID
- GroupID stores owner, deployment sequence number and group sequence number
+ ### OrderID
+ OrderID stores owner and all other seq numbers
| Field | Type | Label | Description |
@@ -3131,6 +2878,7 @@ the granter's account for a deployment.
| `owner` | [string](#string) | | |
| `dseq` | [uint64](#uint64) | | |
| `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
@@ -3146,58 +2894,45 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/deployment.proto
+ ## akash/market/v1/lease.proto
-
+
- ### Deployment
- Deployment stores deploymentID, state and version details
+ ### Lease
+ Lease stores LeaseID, state of lease and price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deployment_id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `state` | [Deployment.State](#akash.deployment.v1beta2.Deployment.State) | | |
- | `version` | [bytes](#bytes) | | |
+ | `id` | [LeaseID](#akash.market.v1.LeaseID) | | |
+ | `state` | [Lease.State](#akash.market.v1.Lease.State) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
| `created_at` | [int64](#int64) | | |
+ | `closed_on` | [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
+ ### 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) | | |
@@ -3206,16 +2941,17 @@ the granter's account for a deployment.
-
+
- ### Deployment.State
- State is an enum which refers to state of deployment
+ ### 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 | DeploymentActive denotes state for deployment active |
- | closed | 2 | DeploymentClosed denotes state for deployment closed |
+ | 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 |
@@ -3226,101 +2962,99 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/query.proto
+ ## akash/market/v1/event.proto
-
+
- ### QueryDeploymentRequest
- QueryDeploymentRequest is request type for the Query/Deployment RPC method
+ ### EventBidClosed
+ EventBidClosed
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
+ | `id` | [BidID](#akash.market.v1.BidID) | | |
-
+
- ### QueryDeploymentResponse
- QueryDeploymentResponse is response type for the Query/Deployment RPC method
+ ### EventBidCreated
+ EventBidCreated
| 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) | | |
+ | `id` | [BidID](#akash.market.v1.BidID) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
-
+
- ### QueryDeploymentsRequest
- QueryDeploymentsRequest is request type for the Query/Deployments RPC method
+ ### EventLeaseClosed
+ EventLeaseClosed
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `filters` | [DeploymentFilters](#akash.deployment.v1beta2.DeploymentFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
+ | `id` | [LeaseID](#akash.market.v1.LeaseID) | | |
-
+
- ### QueryDeploymentsResponse
- QueryDeploymentsResponse is response type for the Query/Deployments RPC method
+ ### EventLeaseCreated
+ EventLeaseCreated
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deployments` | [QueryDeploymentResponse](#akash.deployment.v1beta2.QueryDeploymentResponse) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `id` | [LeaseID](#akash.market.v1.LeaseID) | | |
+ | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |
-
+
- ### QueryGroupRequest
- QueryGroupRequest is request type for the Query/Group RPC method
+ ### EventOrderClosed
+ EventOrderClosed
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [GroupID](#akash.deployment.v1beta2.GroupID) | | |
+ | `id` | [OrderID](#akash.market.v1.OrderID) | | |
-
+
- ### QueryGroupResponse
- QueryGroupResponse is response type for the Query/Group RPC method
+ ### EventOrderCreated
+ EventOrderCreated
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `group` | [Group](#akash.deployment.v1beta2.Group) | | |
+ | `id` | [OrderID](#akash.market.v1.OrderID) | | |
@@ -3332,130 +3066,184 @@ the granter's account for a deployment.
+
+
-
+
+
+ Top
- ### Query
- Query defines the gRPC querier service
+ ## akash/market/v1/filters.proto
+
+
+
+
+
+ ### 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) | | |
+
+
- | 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
+ ## akash/market/v1beta5/resourcesoffer.proto
-
+
- ### MsgCloseDeployment
- MsgCloseDeployment defines an SDK message for closing deployment
+ ### ResourceOffer
+ ResourceOffer describes resources that provider is offering
+for deployment
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
+ | `resources` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
+ | `count` | [uint32](#uint32) | | |
-
-
+
- ### MsgCloseDeploymentResponse
- MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
+
+
+
+
+
+
+
+ Top
+ ## akash/market/v1beta5/bid.proto
-
+
- ### MsgCreateDeployment
- MsgCreateDeployment defines an SDK message for creating deployment
+ ### Bid
+ Bid stores BidID, state of bid and price
| 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 |
+ | `id` | [akash.market.v1.BidID](#akash.market.v1.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 | |
+
+
-
+
- ### MsgCreateDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
+ ### Bid.State
+ BidState 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/v1beta5/bidmsg.proto
-
+
- ### MsgDepositDeployment
- MsgDepositDeployment deposits more funds into the deposit account
+ ### MsgCloseBid
+ MsgCloseBid defines an SDK message for closing bid
| 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 |
+ | `id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
-
+
- ### MsgDepositDeploymentResponse
- MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
+ ### MsgCloseBidResponse
+ MsgCloseBidResponse defines the Msg/CloseBid response type.
-
+
- ### MsgUpdateDeployment
- MsgUpdateDeployment defines an SDK message for updating deployment
+ ### MsgCreateBid
+ MsgCreateBid defines an SDK message for creating Bid
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `id` | [DeploymentID](#akash.deployment.v1beta2.DeploymentID) | | |
- | `version` | [bytes](#bytes) | | |
+ | `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 | |
-
+
- ### MsgUpdateDeploymentResponse
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
+ ### MsgCreateBidResponse
+ MsgCreateBidResponse defines the Msg/CreateBid response type.
@@ -3471,55 +3259,46 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/service.proto
+ ## akash/market/v1beta5/filters.proto
-
-
-
-
-
-
-
+
- ### Msg
- Msg defines the deployment Msg service.
+ ### BidFilters
+ BidFilters defines flags for bid list filter
- | 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. | |
-
-
+ | 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/v1beta2/authz.proto
-
+
- ### DepositDeploymentAuthorization
- DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
-the granter's account for a deployment.
+ ### OrderFilters
+ OrderFilters defines flags for order list filter
| 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. |
+ | `owner` | [string](#string) | | |
+ | `dseq` | [uint64](#uint64) | | |
+ | `gseq` | [uint32](#uint32) | | |
+ | `oseq` | [uint32](#uint32) | | |
+ | `state` | [string](#string) | | |
@@ -3535,3806 +3314,57 @@ the granter's account for a deployment.
-
+
Top
- ## akash/deployment/v1beta2/genesis.proto
+ ## akash/market/v1beta5/params.proto
-
+
- ### GenesisDeployment
- GenesisDeployment defines the basic genesis state used by deployment module
+ ### Params
+ Params is the params for the x/market 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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by market 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 | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/order.proto
-
-
-
-
-
- ### Order
- Order stores orderID, state of order and other details
-
-
- | 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) | | |
-
-
-
-
-
-
-
-
- ### OrderFilters
- OrderFilters defines flags for order list filter
-
-
- | 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
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
- ### 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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta4/params.proto
-
-
-
-
-
- ### Params
- Params is the params for the x/market module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta3/bid.proto
-
-
-
-
-
- ### Bid
- Bid stores BidID, state of bid and price
-
-
- | 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) | | |
-
-
-
-
-
-
-
-
- ### 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.v1beta3.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.v1beta3.OrderID) | | |
- | `provider` | [string](#string) | | |
- | `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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta3/query.proto
-
-
-
-
-
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta3.BidID) | | |
-
-
-
-
-
-
-
-
- ### QueryBidResponse
- QueryBidResponse is response type for the Query/Bid RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid` | [Bid](#akash.market.v1beta3.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.v1beta3.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.v1beta3.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.v1beta3.LeaseID) | | |
-
-
-
-
-
-
-
-
- ### 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) | | |
-
-
-
-
-
-
-
-
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [LeaseFilters](#akash.market.v1beta3.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.v1beta3.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.v1beta3.OrderID) | | |
-
-
-
-
-
-
-
-
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta3.Order) | | |
-
-
-
-
-
-
-
-
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta3.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.v1beta3.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.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
-
- ## akash/market/v1beta3/service.proto
-
-
-
-
-
-
-
-
-
-
-
- ### 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
-
-
-
-
-
- ### Lease
- Lease stores LeaseID, state of lease and price
-
-
- | 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) | | |
-
-
-
-
-
-
-
-
- ### 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.v1beta3.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.v1beta3.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.v1beta3.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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta3/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by market module
-
-
- | 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 | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta3/order.proto
-
-
-
-
-
- ### Order
- Order stores orderID, state of order and other details
-
-
- | 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) | | |
-
-
-
-
-
-
-
-
- ### OrderFilters
- OrderFilters defines flags for order list filter
-
-
- | 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
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
- ### 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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta3/params.proto
-
-
-
-
-
- ### Params
- Params is the params for the x/market module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
- | `order_max_bids` | [uint32](#uint32) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta2/bid.proto
-
-
-
-
-
- ### Bid
- Bid stores BidID, state of bid and price
-
-
- | 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) | | |
- | `created_at` | [int64](#int64) | | |
-
-
-
-
-
-
-
-
- ### 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.v1beta2.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.v1beta2.OrderID) | | |
- | `provider` | [string](#string) | | |
- | `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 |
-
-
-
-
-
-
-
-
-
-
-
- Top
-
- ## akash/market/v1beta2/query.proto
-
-
-
-
-
- ### QueryBidRequest
- QueryBidRequest is request type for the Query/Bid RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `id` | [BidID](#akash.market.v1beta2.BidID) | | |
-
-
-
-
-
-
-
-
- ### 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) | | |
-
-
-
-
-
-
-
-
- ### QueryBidsRequest
- QueryBidsRequest is request type for the Query/Bids RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [BidFilters](#akash.market.v1beta2.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.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) | | |
-
-
-
-
-
-
-
-
- ### QueryLeaseResponse
- QueryLeaseResponse is response type for the Query/Lease RPC method
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `lease` | [Lease](#akash.market.v1beta2.Lease) | | |
- | `escrow_payment` | [akash.escrow.v1beta2.FractionalPayment](#akash.escrow.v1beta2.FractionalPayment) | | |
-
-
-
-
-
-
-
-
- ### QueryLeasesRequest
- QueryLeasesRequest is request type for the Query/Leases RPC method
-
-
- | 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
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `leases` | [QueryLeaseResponse](#akash.market.v1beta2.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.v1beta2.OrderID) | | |
-
+ | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
+ | `order_max_bids` | [uint32](#uint32) | | |
-
-
-
- ### QueryOrderResponse
- QueryOrderResponse is response type for the Query/Order RPC method
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `order` | [Order](#akash.market.v1beta2.Order) | | |
-
-
+
-
+
-
-
+
- ### QueryOrdersRequest
- QueryOrdersRequest is request type for the Query/Orders RPC method
+
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `filters` | [OrderFilters](#akash.market.v1beta2.OrderFilters) | | |
- | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
-
+
+ Top
+ ## akash/market/v1beta5/order.proto
-
+
- ### QueryOrdersResponse
- QueryOrdersResponse is response type for the Query/Orders RPC method
+ ### Order
+ Order stores orderID, state of order and other details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta2.Order) | repeated | |
- | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+ | `id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | |
+ | `state` | [Order.State](#akash.market.v1beta5.Order.State) | | |
+ | `spec` | [akash.deployment.v1beta4.GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | |
+ | `created_at` | [int64](#int64) | | |
@@ -7342,125 +3372,70 @@ 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.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|
-
-
+
-
-
-
- Top
+ ### Order.State
+ State is an enum which refers to state of order
- ## akash/market/v1beta2/service.proto
+ | 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 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/market/v1beta5/genesis.proto
-
+
- ### Lease
- Lease stores LeaseID, state of lease and price
+ ### GenesisState
+ GenesisState defines the basic genesis state used by market module
| 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) | | |
+ | `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 | |
-
-
-
- ### 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) | | |
-
+
+ Top
+ ## akash/market/v1beta5/leasemsg.proto
-
+
### MsgCloseLease
MsgCloseLease defines an SDK message for closing order
@@ -7468,14 +3443,14 @@ A successful bid becomes a Lease(ID).
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `lease_id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
+ | `lease_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
-
+
### MsgCloseLeaseResponse
MsgCloseLeaseResponse defines the Msg/CloseLease response type.
@@ -7485,7 +3460,7 @@ A successful bid becomes a Lease(ID).
-
+
### MsgCreateLease
MsgCreateLease is sent to create a lease
@@ -7493,14 +3468,14 @@ A successful bid becomes a Lease(ID).
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [BidID](#akash.market.v1beta2.BidID) | | |
+ | `bid_id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | |
-
+
### MsgCreateLeaseResponse
MsgCreateLeaseResponse is the response from creating a lease
@@ -7510,22 +3485,22 @@ A successful bid becomes a Lease(ID).
-
+
### MsgWithdrawLease
- MsgWithdrawLease defines an SDK message for closing bid
+ MsgWithdrawLease defines an SDK message for withdrawing lease funds
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `bid_id` | [LeaseID](#akash.market.v1beta2.LeaseID) | | |
+ | `bid_id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
-
+
### MsgWithdrawLeaseResponse
MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
@@ -7536,20 +3511,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 |
-
-
@@ -7558,116 +3519,47 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/genesis.proto
-
-
-
-
-
- ### GenesisState
- GenesisState defines the basic genesis state used by market module
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `orders` | [Order](#akash.market.v1beta2.Order) | repeated | |
- | `leases` | [Lease](#akash.market.v1beta2.Lease) | repeated | |
- | `params` | [Params](#akash.market.v1beta2.Params) | | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ## akash/market/v1beta5/paramsmsg.proto
-
- Top
- ## akash/market/v1beta2/order.proto
+
-
-
+ ### MsgUpdateParams
+ MsgUpdateParams is the Msg/UpdateParams request type.
- ### Order
- Order stores orderID, state of order and other details
+Since: akash v1.0.0
| 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) | | |
-
-
-
-
-
-
-
-
- ### OrderFilters
- OrderFilters defines flags for order list filter
+ | `authority` | [string](#string) | | authority is the address of the governance account. |
+ | `params` | [Params](#akash.market.v1beta5.Params) | | params defines the x/deployment parameters to update.
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
- | `state` | [string](#string) | | |
+NOTE: All parameters must be supplied. |
-
-
- ### OrderID
- OrderID stores owner and all other seq numbers
-
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `owner` | [string](#string) | | |
- | `dseq` | [uint64](#uint64) | | |
- | `gseq` | [uint32](#uint32) | | |
- | `oseq` | [uint32](#uint32) | | |
-
-
+
-
+ ### MsgUpdateParamsResponse
+ MsgUpdateParamsResponse defines the response structure for executing a
+MsgUpdateParams message.
-
+Since: akash v1.0.0
-
-
- ### 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 |
+
+
@@ -7676,215 +3568,220 @@ A successful bid becomes a Lease(ID).
-
+
Top
- ## akash/market/v1beta2/params.proto
+ ## akash/market/v1beta5/query.proto
-
+
- ### Params
- Params is the params for the x/market module
+ ### QueryBidRequest
+ QueryBidRequest is request type for the Query/Bid RPC method
| 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) | | |
-
-
-
-
-
+
+
-
+ ### QueryBidResponse
+ QueryBidResponse is response type for the Query/Bid RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `bid` | [Bid](#akash.market.v1beta5.Bid) | | |
+ | `escrow_account` | [akash.escrow.v1.Account](#akash.escrow.v1.Account) | | |
+
-
- Top
- ## akash/inflation/v1beta3/genesis.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### QueryBidsRequest
+ QueryBidsRequest is request type for the Query/Bids RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.inflation.v1beta3.Params) | | |
+ | `filters` | [BidFilters](#akash.market.v1beta5.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/inflation/v1beta3/params.proto
-
+
- ### Params
- Params defines the parameters for the x/deployment package
+ ### QueryLeaseRequest
+ QueryLeaseRequest is request type for the Query/Lease RPC method
| 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]. |
+ | `id` | [akash.market.v1.LeaseID](#akash.market.v1.LeaseID) | | |
-
-
-
-
-
+
+
-
+ ### QueryLeaseResponse
+ QueryLeaseResponse is response type for the Query/Lease RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `lease` | [akash.market.v1.Lease](#akash.market.v1.Lease) | | |
+ | `escrow_payment` | [akash.escrow.v1.FractionalPayment](#akash.escrow.v1.FractionalPayment) | | |
+
-
- Top
- ## akash/inflation/v1beta2/genesis.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### QueryLeasesRequest
+ QueryLeasesRequest is request type for the Query/Leases RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `params` | [Params](#akash.inflation.v1beta2.Params) | | |
+ | `filters` | [akash.market.v1.LeaseFilters](#akash.market.v1.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.v1beta5.QueryLeaseResponse) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
-
- Top
- ## akash/inflation/v1beta2/params.proto
-
+
- ### Params
- Params defines the parameters for the x/deployment package
+ ### QueryOrderRequest
+ QueryOrderRequest is request type for the Query/Order RPC method
| 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]. |
+ | `id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | |
-
-
-
-
-
+
+
-
+ ### QueryOrderResponse
+ QueryOrderResponse is response type for the Query/Order RPC method
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `order` | [Order](#akash.market.v1beta5.Order) | | |
+
-
- Top
- ## akash/base/v1beta3/memory.proto
-
+
- ### Memory
- Memory stores resource quantity and memory attributes
+ ### QueryOrdersRequest
+ QueryOrdersRequest is request type for the Query/Orders RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `filters` | [OrderFilters](#akash.market.v1beta5.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.v1beta5.Order) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
+
+
-
+
+
+
+ ### QueryParamsRequest
+ QueryParamsRequest is the request type for the Query/Params RPC method.
+
-
- Top
- ## akash/base/v1beta3/cpu.proto
-
+
- ### CPU
- CPU stores resource units and cpu config attributes
+ ### QueryParamsResponse
+ QueryParamsResponse is the response type for the Query/Params RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `params` | [Params](#akash.market.v1beta5.Params) | | params defines the parameters of the module. |
@@ -7896,35 +3793,30 @@ A successful bid becomes a Lease(ID).
-
-
-
-
- Top
+
- ## akash/base/v1beta3/resources.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|
+ | `Params` | [QueryParamsRequest](#akash.market.v1beta5.QueryParamsRequest) | [QueryParamsResponse](#akash.market.v1beta5.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/market/v1beta5/params|
-
-
- ### 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` | [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 | |
-
+
+ Top
+ ## akash/market/v1beta5/service.proto
@@ -7933,62 +3825,73 @@ if field is nil resource is not present in the given data-structure
+
+
+
+ ### 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. | |
+ | `UpdateParams` | [MsgUpdateParams](#akash.market.v1beta5.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.market.v1beta5.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account.
+
+Since: akash v1.0.0 | |
+
-
+
Top
- ## akash/base/v1beta3/attribute.proto
+ ## akash/provider/v1beta4/event.proto
-
+
- ### Attribute
- Attribute represents key value pair
+ ### EventProviderCreated
+ EventProviderCreated defines an SDK message for provider created event
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [string](#string) | | |
+ | `owner` | [string](#string) | | |
-
+
- ### PlacementRequirements
- PlacementRequirements
+ ### EventProviderDeleted
+ EventProviderDeleted defines an SDK message for provider deleted event
| 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 |
+ | `owner` | [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
+ ### EventProviderUpdated
+ EventProviderUpdated defines an SDK message for provider updated event
| 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) | | |
@@ -8004,43 +3907,48 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta3/endpoint.proto
+ ## akash/provider/v1beta4/provider.proto
-
+
- ### Endpoint
- Endpoint describes a publicly accessible IP service
+ ### Info
+ Info
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `kind` | [Endpoint.Kind](#akash.base.v1beta3.Endpoint.Kind) | | |
- | `sequence_number` | [uint32](#uint32) | | |
+ | `email` | [string](#string) | | |
+ | `website` | [string](#string) | | |
-
-
-
+
- ### Endpoint.Kind
- This describes how the endpoint is implemented when the lease is deployed
+ ### Provider
+ Provider stores owner and host details
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `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) | | |
+
+
- | 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 |
+
+
@@ -8049,23 +3957,22 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta3/gpu.proto
+ ## akash/provider/v1beta4/genesis.proto
-
+
- ### GPU
- GPU stores resource units and cpu config attributes
+ ### GenesisState
+ GenesisState defines the basic genesis state used by provider module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.Attribute) | repeated | |
+ | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
@@ -8081,91 +3988,89 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta3/storage.proto
+ ## akash/provider/v1beta4/msg.proto
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### MsgCreateProvider
+ MsgCreateProvider defines an SDK message for creating a provider
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `quantity` | [ResourceValue](#akash.base.v1beta3.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta3.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) | | |
-
-
-
-
-
+
+
-
+ ### MsgCreateProviderResponse
+ MsgCreateProviderResponse defines the Msg/CreateProvider response type.
-
-
- Top
- ## akash/base/v1beta3/resourcevalue.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### MsgDeleteProvider
+ MsgDeleteProvider defines an SDK message for deleting a provider
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `owner` | [string](#string) | | |
-
-
-
-
-
+
+
-
+ ### MsgDeleteProviderResponse
+ MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.
-
-
- Top
- ## akash/base/v1beta2/resourceunits.proto
-
+
- ### ResourceUnits
- ResourceUnits describes all available resources types for deployment/node etc
-if field is nil resource is not present in the given data-structure
+ ### MsgUpdateProvider
+ MsgUpdateProvider defines an SDK message for updating a provider
| 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 | |
+ | `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.
+
@@ -8180,90 +4085,68 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/base/v1beta2/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.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 |
+ | `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/v1beta2/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.v1beta2.Endpoint.Kind) | | |
- | `sequence_number` | [uint32](#uint32) | | |
+ | `providers` | [Provider](#akash.provider.v1beta4.Provider) | repeated | |
+ | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
@@ -8271,77 +4154,69 @@ 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 |
+
-
-
-
+ ### 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/v1beta2/resource.proto
-
-
+ ## akash/provider/v1beta4/service.proto
-
- ### CPU
- CPU stores resource units and cpu config attributes
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
-
-
+
-
+
-
+
- ### Memory
- Memory stores resource quantity and memory 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 |
- | ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+
+
+
+ Top
+ ## akash/staking/v1beta3/params.proto
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### Params
+ Params extends the parameters for the x/staking module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `quantity` | [ResourceValue](#akash.base.v1beta2.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta2.Attribute) | repeated | |
+ | `min_commission_rate` | [string](#string) | | min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators |
@@ -8357,22 +4232,22 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta2/resourcevalue.proto
+ ## akash/staking/v1beta3/genesis.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `params` | [Params](#akash.staking.v1beta3.Params) | | |
@@ -8388,60 +4263,42 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta1/attribute.proto
+ ## akash/staking/v1beta3/paramsmsg.proto
-
+
- ### Attribute
- Attribute represents key value pair
+ ### MsgUpdateParams
+ MsgUpdateParams is the Msg/UpdateParams request type.
+
+Since: akash v1.0.0
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [string](#string) | | |
-
-
+ | `authority` | [string](#string) | | authority is the address of the governance account. |
+ | `params` | [Params](#akash.staking.v1beta3.Params) | | params defines the x/deployment parameters to update.
+NOTE: All parameters must be supplied. |
-
-
-
- ### PlacementRequirements
- PlacementRequirements
- | 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 |
-
-
+
-
-
+ ### MsgUpdateParamsResponse
+ MsgUpdateParamsResponse defines the response structure for executing a
+MsgUpdateParams message.
- ### 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
+Since: akash v1.0.0
- | 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 |
-
-
@@ -8455,22 +4312,32 @@ this behaviour to be discussed
-
+
Top
- ## akash/base/v1beta1/endpoint.proto
+ ## akash/staking/v1beta3/query.proto
-
+
- ### Endpoint
- Endpoint describes a publicly accessible IP service
+ ### QueryParamsRequest
+ QueryParamsRequest is the request type for the Query/Params RPC method.
+
+
+
+
+
+
+
+
+ ### QueryParamsResponse
+ QueryParamsResponse is the response type for the Query/Params RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `kind` | [Endpoint.Kind](#akash.base.v1beta1.Endpoint.Kind) | | |
+ | `params` | [Params](#akash.staking.v1beta3.Params) | | params defines the parameters of the module. |
@@ -8478,94 +4345,85 @@ 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 |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Params` | [QueryParamsRequest](#akash.staking.v1beta3.QueryParamsRequest) | [QueryParamsResponse](#akash.staking.v1beta3.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/staking/v1beta3/params|
+
-
+
Top
- ## akash/base/v1beta1/resource.proto
+ ## akash/staking/v1beta3/service.proto
-
-
+
- ### CPU
- CPU stores resource units and cpu config attributes
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `units` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
-
-
+
+
-
-
+ ### Msg
+ Msg defines the market Msg service
- ### Memory
- Memory stores resource quantity and memory attributes
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `UpdateParams` | [MsgUpdateParams](#akash.staking.v1beta3.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.staking.v1beta3.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account.
+Since: akash v1.0.0 | |
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+
+
+
+ Top
+ ## akash/take/v1/params.proto
-
+
- ### ResourceUnits
- ResourceUnits describes all available resources types for deployment/node etc
-if field is nil resource is not present in the given data-structure
+ ### DenomTakeRate
+ DenomTakeRate describes take rate for specified denom
| 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 | |
+ | `denom` | [string](#string) | | |
+ | `rate` | [uint32](#uint32) | | |
-
+
- ### Storage
- Storage stores resource quantity and storage attributes
+ ### Params
+ Params defines the parameters for the x/take package
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `quantity` | [ResourceValue](#akash.base.v1beta1.ResourceValue) | | |
- | `attributes` | [Attribute](#akash.base.v1beta1.Attribute) | repeated | |
+ | `denom_take_rates` | [DenomTakeRate](#akash.take.v1.DenomTakeRate) | repeated | denom -> % take rate |
+ | `default_take_rate` | [uint32](#uint32) | | |
@@ -8581,22 +4439,22 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/base/v1beta1/resourcevalue.proto
+ ## akash/take/v1/genesis.proto
-
+
- ### ResourceValue
- Unit stores cpu, memory and storage metrics
+ ### GenesisState
+ GenesisState stores slice of genesis deployment instance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `val` | [bytes](#bytes) | | |
+ | `params` | [Params](#akash.take.v1.Params) | | |
@@ -8612,23 +4470,41 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/gov/v1beta3/genesis.proto
+ ## akash/take/v1/paramsmsg.proto
-
+
- ### GenesisState
- GenesisState stores slice of genesis deployment instance
+ ### MsgUpdateParams
+ MsgUpdateParams is the Msg/UpdateParams request type.
+
+Since: akash v1.0.0
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `deposit_params` | [DepositParams](#akash.gov.v1beta3.DepositParams) | | |
+ | `authority` | [string](#string) | | authority is the address of the governance account. |
+ | `params` | [Params](#akash.take.v1.Params) | | params defines the x/deployment parameters to update.
+
+NOTE: All parameters must be supplied. |
+
+
+
+
+
+
+
+ ### MsgUpdateParamsResponse
+ MsgUpdateParamsResponse defines the response structure for executing a
+MsgUpdateParams message.
+
+Since: akash v1.0.0
+
@@ -8643,25 +4519,61 @@ if field is nil resource is not present in the given data-structure
-
+
Top
- ## akash/gov/v1beta3/params.proto
+ ## akash/take/v1/query.proto
-
+
- ### DepositParams
- DepositParams defines the parameters for the x/gov module
+ ### QueryParamsRequest
+ QueryParamsRequest is the request type for the Query/Params RPC method.
+
+
+
+
+
+
+
+
+ ### QueryParamsResponse
+ QueryParamsResponse is the response type for the Query/Params RPC method.
| 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 |
+ | `params` | [Params](#akash.take.v1.Params) | | params defines the parameters of the module. |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ### Query
+ Query defines the gRPC querier service
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `Params` | [QueryParamsRequest](#akash.take.v1.QueryParamsRequest) | [QueryParamsResponse](#akash.take.v1.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/take/v1/params|
+
+
+
+
+ Top
+ ## akash/take/v1/service.proto
@@ -8670,6 +4582,18 @@ if field is nil resource is not present in the given data-structure
+
+
+
+ ### Msg
+ Msg defines the market Msg service
+
+ | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
+ | ----------- | ------------ | ------------- | ------------| ------- | -------- |
+ | `UpdateParams` | [MsgUpdateParams](#akash.take.v1.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.take.v1.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account.
+
+Since: akash v1.0.0 | |
+
diff --git a/docs/proto/provider.md b/docs/proto/provider.md
index 853de01c..2af7eee7 100644
--- a/docs/proto/provider.md
+++ b/docs/proto/provider.md
@@ -4,34 +4,69 @@
## 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/inventory/v1/cpu.proto](#akash/inventory/v1/cpu.proto)
+ - [CPU](#akash.inventory.v1.CPU)
+ - [CPUInfo](#akash.inventory.v1.CPUInfo)
+
+ - [akash/inventory/v1/gpu.proto](#akash/inventory/v1/gpu.proto)
+ - [GPU](#akash.inventory.v1.GPU)
+ - [GPUInfo](#akash.inventory.v1.GPUInfo)
+
+ - [akash/inventory/v1/memory.proto](#akash/inventory/v1/memory.proto)
+ - [Memory](#akash.inventory.v1.Memory)
+ - [MemoryInfo](#akash.inventory.v1.MemoryInfo)
+
+ - [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/manifest/v2beta1/httpoptions.proto](#akash/manifest/v2beta1/httpoptions.proto)
- - [ServiceExposeHTTPOptions](#akash.manifest.v2beta1.ServiceExposeHTTPOptions)
+ - [akash/inventory/v1/storage.proto](#akash/inventory/v1/storage.proto)
+ - [Storage](#akash.inventory.v1.Storage)
+ - [StorageInfo](#akash.inventory.v1.StorageInfo)
+
+ - [akash/inventory/v1/cluster.proto](#akash/inventory/v1/cluster.proto)
+ - [Cluster](#akash.inventory.v1.Cluster)
+
+ - [akash/inventory/v1/service.proto](#akash/inventory/v1/service.proto)
+ - [ClusterRPC](#akash.inventory.v1.ClusterRPC)
+ - [NodeRPC](#akash.inventory.v1.NodeRPC)
- - [akash/manifest/v2beta1/serviceexpose.proto](#akash/manifest/v2beta1/serviceexpose.proto)
- - [ServiceExpose](#akash.manifest.v2beta1.ServiceExpose)
+ - [akash/manifest/v2beta3/httpoptions.proto](#akash/manifest/v2beta3/httpoptions.proto)
+ - [ServiceExposeHTTPOptions](#akash.manifest.v2beta3.ServiceExposeHTTPOptions)
- - [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/manifest/v2beta3/serviceexpose.proto](#akash/manifest/v2beta3/serviceexpose.proto)
+ - [ServiceExpose](#akash.manifest.v2beta3.ServiceExpose)
- - [akash/manifest/v2beta2/group.proto](#akash/manifest/v2beta2/group.proto)
- - [Group](#akash.manifest.v2beta2.Group)
+ - [akash/manifest/v2beta3/service.proto](#akash/manifest/v2beta3/service.proto)
+ - [ImageCredentials](#akash.manifest.v2beta3.ImageCredentials)
+ - [Service](#akash.manifest.v2beta3.Service)
+ - [ServiceParams](#akash.manifest.v2beta3.ServiceParams)
+ - [StorageParams](#akash.manifest.v2beta3.StorageParams)
- - [akash/manifest/v2beta2/httpoptions.proto](#akash/manifest/v2beta2/httpoptions.proto)
- - [ServiceExposeHTTPOptions](#akash.manifest.v2beta2.ServiceExposeHTTPOptions)
+ - [akash/manifest/v2beta3/group.proto](#akash/manifest/v2beta3/group.proto)
+ - [Group](#akash.manifest.v2beta3.Group)
- - [akash/manifest/v2beta2/serviceexpose.proto](#akash/manifest/v2beta2/serviceexpose.proto)
- - [ServiceExpose](#akash.manifest.v2beta2.ServiceExpose)
+ - [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)
- - [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)
+ - [LeaseRPC](#akash.provider.lease.v1.LeaseRPC)
- [akash/provider/v1/status.proto](#akash/provider/v1/status.proto)
- [BidEngineStatus](#akash.provider.v1.BidEngineStatus)
@@ -48,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 | |
@@ -117,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) | | |
@@ -192,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) | | |
@@ -263,23 +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 | |
+
+
+
+
+
+
+
+
+ ### MemoryInfo
+ MemoryInfo reports Memory details
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `vendor` | [string](#string) | | |
+ | `type` | [string](#string) | | |
+ | `total_size` | [string](#string) | | |
+ | `speed` | [string](#string) | | |
@@ -295,27 +272,27 @@
-
+
Top
- ## akash/manifest/v2beta2/httpoptions.proto
+ ## akash/inventory/v1/resources.proto
-
+
- ### ServiceExposeHTTPOptions
- ServiceExposeHTTPOptions
+ ### NodeResources
+ NodeResources reports node 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 | |
+ | `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) | | |
@@ -331,30 +308,39 @@
-
+
Top
- ## akash/manifest/v2beta2/serviceexpose.proto
+ ## akash/inventory/v1/node.proto
-
+
- ### ServiceExpose
- ServiceExpose stores exposed ports and hosts details
+ ### Node
+ Node 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 |
+ | `name` | [string](#string) | | |
+ | `resources` | [NodeResources](#akash.inventory.v1.NodeResources) | | |
+ | `capabilities` | [NodeCapabilities](#akash.inventory.v1.NodeCapabilities) | | |
+
+
+
+
+
+
+
+
+ ### NodeCapabilities
+ NodeCapabilities extended list of node capabilities
+
+
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `storage_classes` | [string](#string) | repeated | |
@@ -370,81 +356,71 @@
-
+
Top
- ## akash/manifest/v2beta2/service.proto
+ ## akash/inventory/v1/storage.proto
-
+
- ### Service
- Service stores name, image, args, env, unit, count and expose list of service
+ ### Storage
+ Storage reports Storage 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) | | |
+ | `quantity` | [ResourcePair](#akash.inventory.v1.ResourcePair) | | |
+ | `info` | [StorageInfo](#akash.inventory.v1.StorageInfo) | | |
-
+
- ### ServiceImageCredentials
- Credentials to fetch image from registry
+ ### StorageInfo
+ StorageInfo reports Storage details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `host` | [string](#string) | | |
- | `email` | [string](#string) | | |
- | `username` | [string](#string) | | |
- | `password` | [string](#string) | | |
+ | `class` | [string](#string) | | |
+ | `iops` | [string](#string) | | |
-
-
+
- ### ServiceParams
- ServiceParams
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `storage` | [StorageParams](#akash.manifest.v2beta2.StorageParams) | repeated | |
+
+ Top
+ ## akash/inventory/v1/cluster.proto
-
+
- ### StorageParams
- StorageParams
+ ### Cluster
+ Cluster reports inventory across entire cluster
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `name` | [string](#string) | | |
- | `mount` | [string](#string) | | |
- | `read_only` | [bool](#bool) | | |
+ | `nodes` | [Node](#akash.inventory.v1.Node) | repeated | |
+ | `storage` | [Storage](#akash.inventory.v1.Storage) | repeated | |
@@ -460,171 +436,227 @@
-
+
Top
- ## akash/provider/v1/status.proto
+ ## 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 | |
-
+
+
- ### BidEngineStatus
- BidEngineStatus
+ ### 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 | |
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `orders` | [uint32](#uint32) | | |
+
+
+
+ Top
+ ## akash/manifest/v2beta3/httpoptions.proto
-
+
- ### ClusterStatus
- ClusterStatus
+ ### ServiceExposeHTTPOptions
+ ServiceExposeHTTPOptions
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `leases` | [Leases](#akash.provider.v1.Leases) | | |
- | `inventory` | [Inventory](#akash.provider.v1.Inventory) | | |
+ | `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 | |
-
-
+
- ### Inventory
- Inventory
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `cluster` | [akash.inventory.v1.Cluster](#akash.inventory.v1.Cluster) | | |
- | `reservations` | [Reservations](#akash.provider.v1.Reservations) | | |
+
+ Top
+ ## akash/manifest/v2beta3/serviceexpose.proto
-
+
- ### Leases
- Leases
+ ### ServiceExpose
+ ServiceExpose stores exposed ports and hosts details
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `active` | [uint32](#uint32) | | |
+ | `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.v2beta3.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 |
-
-
+
- ### ManifestStatus
- ManifestStatus
+
+
+
+
+
-
- | Field | Type | Label | Description |
- | ----- | ---- | ----- | ----------- |
- | `deployments` | [uint32](#uint32) | | |
+
+ Top
+ ## akash/manifest/v2beta3/service.proto
-
+
- ### Reservations
- Reservations
+ ### ImageCredentials
+ Credentials to fetch image from registry
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `pending` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
- | `active` | [ReservationsMetric](#akash.provider.v1.ReservationsMetric) | | |
+ | `host` | [string](#string) | | |
+ | `email` | [string](#string) | | |
+ | `username` | [string](#string) | | |
+ | `password` | [string](#string) | | |
-
+
- ### ReservationsMetric
- ReservationsMetric
+ ### 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.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | |
| `count` | [uint32](#uint32) | | |
- | `resources` | [ResourcesMetric](#akash.provider.v1.ResourcesMetric) | | |
+ | `expose` | [ServiceExpose](#akash.manifest.v2beta3.ServiceExpose) | repeated | |
+ | `params` | [ServiceParams](#akash.manifest.v2beta3.ServiceParams) | | |
+ | `credentials` | [ImageCredentials](#akash.manifest.v2beta3.ImageCredentials) | | |
-
+
- ### ResourcesMetric
- ResourceMetrics
+ ### ServiceParams
+ ServiceParams
| 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 | |
+ | `storage` | [StorageParams](#akash.manifest.v2beta3.StorageParams) | repeated | |
+ | `credentials` | [ImageCredentials](#akash.manifest.v2beta3.ImageCredentials) | | |
-
+
- ### ResourcesMetric.StorageEntry
-
+ ### StorageParams
+ StorageParams
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
- | `key` | [string](#string) | | |
- | `value` | [k8s.io.apimachinery.pkg.api.resource.Quantity](#k8s.io.apimachinery.pkg.api.resource.Quantity) | | |
+ | `name` | [string](#string) | | |
+ | `mount` | [string](#string) | | |
+ | `read_only` | [bool](#bool) | | |
+
+
+
+
+
+
+
+
-
+
+
+ Top
- ### Status
- Status
+ ## akash/manifest/v2beta3/group.proto
+
+
+
+
+
+ ### Group
+ Group store name and list of services
| 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) | | |
+ | `name` | [string](#string) | | |
+ | `services` | [Service](#akash.manifest.v2beta3.Service) | repeated | |
@@ -640,186 +672,203 @@
-
+
Top
- ## akash/provider/v1/service.proto
+ ## akash/provider/lease/v1/service.proto
-
-
-
+
+
-
+ ### ForwarderPortStatus
+ ForwarderPortStatus
-
+ | Field | Type | Label | Description |
+ | ----- | ---- | ----- | ----------- |
+ | `host` | [string](#string) | | |
+ | `port` | [uint32](#uint32) | | |
+ | `external_port` | [uint32](#uint32) | | |
+ | `proto` | [string](#string) | | |
+ | `name` | [string](#string) | | |
+
+
- ### 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) | | |
@@ -831,176 +880,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 | |
@@ -1016,10 +1077,10 @@
-
+
Top
- ## akash/inventory/v1/service.proto
+ ## akash/provider/v1/service.proto
@@ -1029,26 +1090,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..ddc9c451 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/v1/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
@@ -711,7 +716,7 @@ paths:
type: boolean
tags:
- Query
- /akash/deployment/v1beta3/deployments/info:
+ /akash/deployment/v1beta4/deployments/info:
get:
summary: Deployment queries deployment details
operationId: Deployment
@@ -724,7 +729,7 @@ paths:
deployment:
type: object
properties:
- deployment_id:
+ id:
type: object
properties:
owner:
@@ -746,19 +751,19 @@ paths:
- 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:
+ hash:
type: string
format: byte
created_at:
type: string
format: int64
- title: Deployment stores deploymentID, state and version details
+ title: Deployment stores deploymentID, state and checksum details
groups:
type: array
items:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -1000,7 +1005,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 +1142,7 @@ paths:
format: uint64
tags:
- Query
- /akash/deployment/v1beta3/deployments/list:
+ /akash/deployment/v1beta4/deployments/list:
get:
summary: Deployments queries deployments
operationId: Deployments
@@ -1155,7 +1160,7 @@ paths:
deployment:
type: object
properties:
- deployment_id:
+ id:
type: object
properties:
owner:
@@ -1177,21 +1182,21 @@ paths:
- 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:
+ hash:
type: string
format: byte
created_at:
type: string
format: int64
title: >-
- Deployment stores deploymentID, state and version
+ Deployment stores deploymentID, state and checksum
details
groups:
type: array
items:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -1433,7 +1438,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 +1549,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
@@ -1662,7 +1668,7 @@ paths:
type: boolean
tags:
- Query
- /akash/deployment/v1beta3/groups/info:
+ /akash/deployment/v1beta4/groups/info:
get:
summary: Group queries group details
operationId: Group
@@ -1675,7 +1681,7 @@ paths:
group:
type: object
properties:
- group_id:
+ id:
type: object
properties:
owner:
@@ -1917,7 +1923,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 +1968,66 @@ paths:
format: int64
tags:
- Query
- /akash/market/v1beta3/bids/info:
+ /akash/deployment/v1beta4/params:
+ get:
+ summary: Params returns the total set of minting parameters.
+ operationId: DeploymentParams
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ min_deposits:
+ 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: Params defines the parameters for the x/deployment module
+ 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
+ /akash/market/v1beta5/bids/info:
get:
summary: Bid queries bid details
operationId: Bid
@@ -1975,7 +2040,7 @@ paths:
bid:
type: object
properties:
- bid_id:
+ id:
type: object
properties:
owner:
@@ -2010,7 +2075,7 @@ paths:
- 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
+ title: BidState is an enum which refers to state of bid
price:
type: object
properties:
@@ -2030,6 +2095,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 +2389,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 +2407,7 @@ paths:
bid:
type: object
properties:
- bid_id:
+ id:
type: object
properties:
owner:
@@ -2228,7 +2442,7 @@ paths:
- 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
+ title: BidState is an enum which refers to state of bid
price:
type: object
properties:
@@ -2248,6 +2462,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 +2722,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
@@ -2483,7 +2853,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 +2866,7 @@ paths:
lease:
type: object
properties:
- lease_id:
+ id:
type: object
properties:
owner:
@@ -2580,7 +2950,7 @@ paths:
- 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
+ title: State defines payment state
rate:
type: object
properties:
@@ -2678,7 +3048,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 +3066,7 @@ paths:
lease:
type: object
properties:
- lease_id:
+ id:
type: object
properties:
owner:
@@ -2780,7 +3150,7 @@ paths:
- 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
+ title: State defines payment state
rate:
type: object
properties:
@@ -2839,9 +3209,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
@@ -2971,7 +3342,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 +3355,7 @@ paths:
order:
type: object
properties:
- order_id:
+ id:
type: object
properties:
owner:
@@ -3225,7 +3596,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 +3646,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 +3661,7 @@ paths:
items:
type: object
properties:
- order_id:
+ id:
type: object
properties:
owner:
@@ -3531,7 +3902,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 +3913,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
@@ -3670,7 +4042,67 @@ paths:
type: boolean
tags:
- Query
- /akash/provider/v1beta3/providers:
+ /akash/market/v1beta5/params:
+ get:
+ summary: Params returns the total set of minting parameters.
+ operationId: MarketParams
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ bid_min_deposit:
+ 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.
+ order_max_bids:
+ type: integer
+ format: int64
+ title: Params is the params for the x/market module
+ 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
+ /akash/provider/v1beta4/providers:
get:
summary: Providers queries providers
operationId: Providers
@@ -3706,7 +4138,7 @@ paths:
type: string
website:
type: string
- title: ProviderInfo
+ title: Info
title: Provider stores owner and host details
pagination:
type: object
@@ -3714,9 +4146,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 +4252,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 +4286,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,4638 +4320,3026 @@ paths:
type: string
tags:
- Query
- /node_info:
- get:
- description: Information about the connected node
- summary: The properties of the connected node
- tags:
- - Gaia REST
- produces:
- - application/json
- responses:
- '200':
- description: Node status
- 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:
- properties:
- id:
- type: string
- moniker:
- type: string
- example: validator-name
- protocol_version:
- properties:
- p2p:
- type: string
- example: 7
- block:
- type: string
- example: 10
- app:
- type: string
- example: 0
- network:
- type: string
- example: gaia-2
- channels:
- type: string
- listen_addr:
- type: string
- example: 192.168.56.1:26656
- version:
- description: Tendermint version
- 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
- schema:
- type: object
- properties:
- syncing:
- type: boolean
- '500':
- description: Server internal error
- /blocks/latest:
- get:
- summary: Get the latest block
- tags:
- - Tendermint RPC
- produces:
- - application/json
- responses:
- '200':
- description: The latest block
- 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}:
+ /akash/take/v1/params:
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
+ summary: Params returns the total set of minting parameters.
+ operationId: TakeParams
responses:
'200':
- description: The block at a specific height
+ 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:
+ 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
- txs:
- type: array
- items:
- type: string
- evidence:
+ denom_take_rates:
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
+ type: object
+ properties:
+ denom:
+ type: string
+ rate:
+ type: integer
+ format: int64
+ title: DenomTakeRate describes take rate for specified denom
+ title: denom -> % take rate
+ default_take_rate:
+ type: integer
+ format: int64
+ title: Params defines the parameters for the x/take package
+ description: >-
+ QueryParamsResponse is the response type for the Query/Params RPC
+ method.
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- block_height:
+ error:
type: string
- validators:
- 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'
- '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
- schema:
- type: object
- properties:
- block_height:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- validators:
+ 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_url:
type: string
- example: '1000'
- proposer_priority:
+ value:
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
+ format: byte
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
+ - Query
+ /cosmos/auth/v1beta1/account_info/{address}:
+ get:
+ summary: AccountInfo queries account info which is common to all account types.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: AccountInfo
responses:
'200':
- description: Tx with the provided hash
+ description: A successful response.
schema:
type: object
properties:
- hash:
- type: string
- example: >-
- D085138D913993919295FF4B0A9107F1F2CDE0D37A87CE0644E217CBF3B49656
- height:
- type: number
- example: 368
- tx:
+ info:
+ description: info is the account info which is represented by BaseAccount.
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:
type: string
- signature:
+ pub_key:
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'
- result:
- type: object
- properties:
- log:
- type: string
- gas_wanted:
+ 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: '200000'
- gas_used:
+ format: uint64
+ sequence:
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
- parameters:
- - in: query
- name: message.action
- type: string
- 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
- type: string
- 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:
+ 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:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- hash:
+ type_url:
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
+ 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: body
- name: txBroadcast
- 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).
+ - name: address
+ description: address is the account address string.
+ in: path
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
+ type: string
+ tags:
+ - 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: Tx broadcasting result
+ description: A successful response.
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
- 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}:
- 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
- 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
- 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)
- amount:
+ accounts:
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'
- responses:
- '202':
- 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:
+ 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:
- 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 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
+ 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:
- total:
+ 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:
+ 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
- parameters:
- - in: path
- name: address
- description: Account address
- required: true
- type: string
- x-example: cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
- responses:
- '200':
- description: Account information on the blockchain
- schema:
- type: object
- properties:
- type:
- 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
+ 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: body
- name: delegation
- description: Delegate an amount of liquid coins to a validator
- 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_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- amount:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
+ - 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:
- - Staking
- consumes:
- - application/json
- produces:
- - application/json
- 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 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
+ - Query
+ /cosmos/auth/v1beta1/accounts/{address}:
get:
- deprecated: true
- summary: Query the current delegation between a delegator and a validator
- tags:
- - Staking
- produces:
- - application/json
+ summary: Account returns account details based on address.
+ operationId: Account
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- delegator_address:
- type: string
- validator_address:
- type: string
- shares:
- type: string
- balance:
+ account:
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 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
+ 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.
+ 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 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
+ 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 defines the address to query for.
+ in: path
+ required: true
+ type: string
tags:
- - Staking
- produces:
- - application/json
+ - 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: OK
+ description: A successful response.
schema:
type: object
properties:
- delegator_address:
+ account_address:
type: string
- validator_address:
+ 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:
+ error:
+ type: string
+ 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: 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
- 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:
+ bech32_prefix:
type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- validator_dst_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- shares:
- type: string
- example: '100'
- tags:
- - Staking
- consumes:
- - application/json
- produces:
- - application/json
- responses:
- '200':
- description: Tx was succesfully generated
+ 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:
- 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_url:
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:
+ 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"
+ }
tags:
- - Staking
- 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:
- operator_address:
- type: string
- description: bech32 encoded address
- example: cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l
- consensus_pubkey:
- type: string
- example: >-
- cosmosvalconspub1zcjduepq0vu2zgkgk49efa0nqwzndanq5m4c7pa3u4apz4g2r9gspqg6g9cs3k9cuf
- jailed:
- type: boolean
- status:
- type: integer
- tokens:
+ address_string:
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:
+ 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:
+ 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 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:
+ details:
+ 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
+ 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
+ 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:
+ address_bytes:
type: string
- description:
- type: object
- properties:
- moniker:
- type: string
- identity:
- type: string
- website:
- type: string
- security_contact:
- type: string
- details:
- type: string
- bond_height:
+ 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:
+ 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: string
- example: stake
- amount:
+ type_url:
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
- 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:
- get:
- deprecated: true
- summary: Get the current staking parameter values
- tags:
- - Staking
- produces:
- - application/json
- responses:
- '200':
- description: OK
- 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
+ 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:
- - type: string
- description: Bech32 validator address
- name: validatorAddr
- required: true
+ - name: address_string
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:
- 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 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
- 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:
- type: string
- slash_fraction_downtime:
- 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
+ type: string
tags:
- - Governance
- parameters:
- - description: >-
- valid value of `"proposal_type"` can be `"text"`,
- `"parameter_change"`, `"software_upgrade"`
- name: post_proposal_body
- in: body
- required: true
- 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)
- title:
- type: string
- description:
- type: string
- proposal_type:
- type: string
- example: text
- proposer:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- initial_deposit:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- 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:
- 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 proposal body
- '500':
- description: Internal Server Error
+ - Query
+ /cosmos/auth/v1beta1/module_accounts:
get:
- deprecated: true
- summary: Query proposals
- description: Query proposals information with parameters
- produces:
- - application/json
- tags:
- - Governance
- parameters:
- - in: query
- name: voter
- description: voter address
- required: false
- type: string
- - in: query
- name: depositor
- description: depositor address
- required: false
- type: string
- - in: query
- name: status
- description: >-
- proposal status, valid values can be `"deposit_period"`,
- `"voting_period"`, `"passed"`, `"rejected"`
- required: false
- type: string
+ summary: ModuleAccounts returns all the existing module accounts.
+ description: 'Since: cosmos-sdk 0.46'
+ operationId: ModuleAccounts
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:
- 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)
- title:
- type: string
- x-example: Param Change
- description:
- type: string
- x-example: Update max validators
- proposer:
- 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:
+ accounts:
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
- responses:
- '200':
- description: The transaction 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:
- 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 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
+ 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
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- proposal_id:
- type: integer
- title:
- type: string
- description:
- type: string
- proposal_type:
- type: string
- proposal_status:
+ error:
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:
+ code:
+ type: integer
+ format: int32
+ message:
type: string
- total_deposit:
+ 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'
- 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
+ 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:
- - Governance
- parameters:
- - type: string
- name: proposalId
- required: true
- 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:
+ - Query
+ /cosmos/auth/v1beta1/module_accounts/{name}:
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'
+ summary: ModuleAccountByName returns the module account info by module name
+ operationId: ModuleAccountByName
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:
+ 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: string
- example: Cosmos-Hub
- account_number:
- type: string
- example: '0'
- sequence:
- type: string
- example: '1'
- gas:
- type: string
- example: '200000'
- gas_adjustment:
+ type_url:
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:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- amount:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- example: stake
- amount:
- type: string
- example: '50'
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- msg:
- type: array
- items:
- type: string
- fee:
- type: object
- properties:
- gas:
+ 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
- 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 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
+ 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:
- 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:
+ 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'
- 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
- parameters:
- - type: string
- description: proposal id
- name: proposalId
- required: true
- in: path
- x-example: '2'
- 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
+ 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:
- - type: string
- description: proposal id
- name: proposalId
- required: true
+ - name: name
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
- 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)
- voter:
- type: string
- description: bech32 encoded address
- example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
- option:
- type: string
- example: 'yes'
+ type: string
+ tags:
+ - Query
+ /cosmos/auth/v1beta1/params:
+ get:
+ summary: Params queries all parameters.
+ operationId: AuthParams
responses:
'200':
- description: OK
+ description: A successful response.
schema:
type: object
properties:
- msg:
- type: array
- items:
- type: string
- fee:
+ params:
+ description: params defines the parameters of the module.
type: object
properties:
- gas:
+ max_memo_characters:
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:
+ format: uint64
+ tx_sig_limit:
type: string
- example: >-
- MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
- pub_key:
- type: object
- properties:
- type:
- type: string
- example: tendermint/PubKeySecp256k1
- value:
- type: string
- example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
- account_number:
+ format: uint64
+ tx_size_cost_per_byte:
type: string
- example: '0'
- sequence:
+ format: uint64
+ sig_verify_cost_ed25519:
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
- schema:
- type: object
- properties:
- voter:
- type: string
- proposal_id:
- type: string
- option:
- 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
- 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:
- get:
- deprecated: true
- summary: Query governance deposit parameters
- description: >-
- Query governance deposit parameters. The max_deposit_period units are in
- nanoseconds.
- produces:
- - application/json
- tags:
- - Governance
- responses:
- '200':
- description: OK
+ format: uint64
+ sig_verify_cost_secp256k1:
+ type: string
+ format: uint64
+ description: >-
+ QueryParamsResponse is the response type for the Query/Params RPC
+ method.
+ default:
+ description: An unexpected error response.
schema:
type: object
properties:
- min_deposit:
- 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
- schema:
- 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
- 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
- get:
- deprecated: true
- summary: Get the total rewards balance from all delegations
- description: >-
- Get the sum of all the rewards earned by delegations by a single
- delegator
- produces:
- - application/json
- tags:
- - Distribution
- responses:
- '200':
- description: OK
- schema:
- type: object
- properties:
- rewards:
- type: array
- items:
- type: object
- properties:
- validator_address:
- 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:
+ details:
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:
- 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
- '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
- 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
- get:
- deprecated: true
- summary: Get the rewards withdrawal address
- 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
- 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 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
- schema:
- type: object
- properties:
- operator_address:
- 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:
- 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
- /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
- 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
- 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)
- 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 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:
- type: string
- community_tax:
- 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
- schema:
- properties:
- mint_denom:
- type: string
- inflation_rate_change:
- type: string
- inflation_max:
- type: string
- inflation_min:
- type: string
- goal_bonded:
- type: string
- blocks_per_year:
- 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:
- type: array
- items:
- type: object
- properties:
- type_url:
+ type_url:
type: string
description: >-
A URL/resource name that uniquely identifies the type of
@@ -8615,7 +7436,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 +7446,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 +7477,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -8690,7 +7513,41 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- title: accounts are the existing accounts
+ 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
@@ -8698,9 +7555,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
@@ -8710,10 +7568,12 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryAccountsResponse is the response type for the Query/Accounts
- RPC method.
+ QueryAllBalancesResponse is the response type for the
+ Query/AllBalances RPC
+
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -8731,176 +7591,459 @@ 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).
+ 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
- In practice, teams usually precompile into the binary
- all types that they
+ 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.
- expect it to use in the context of Any. However, for
- URLs which use the
+ 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
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ a count of the total number of items available for pagination in
+ UIs.
- server that maps type URLs to message definitions as
- follows:
+ 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.
- * 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.)
+ 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: A successful response.
+ schema:
+ type: object
+ properties:
+ balance:
+ type: object
+ properties:
+ denom:
+ type: string
+ amount:
+ type: string
+ description: >-
+ Coin defines a token with a denomination and an amount.
- Note: this functionality is not currently available in
- the official
- protobuf release, and it is not used for type URLs
- beginning with
+ NOTE: The amount field is an Int which implements the custom
+ method
- type.googleapis.com.
+ 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: 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
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ gas if the pagination field is incorrectly set.
- used with implementation specific semantics.
- value:
+
+ Since: cosmos-sdk 0.46
+ operationId: DenomOwners
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ denom_owners:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
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
+ 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.
- URL that describes the type of the serialized message.
+ NOTE: The amount field is an Int which implements the
+ custom method
- Protobuf library provides support to pack/unpack Any values
- in the form
+ signatures required by gogoproto.
+ description: >-
+ DenomOwner defines structure representing an account that
+ owns or holds a
- of utility functions or additional generated methods of the
- Any type.
+ particular denominated token. It contains the account
+ address and account
+ balance of the denominated token.
- Example 1: Pack and unpack a message in C++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ 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
- Example 2: Pack and unpack a message in Java.
+ was set, its value is undefined otherwise
+ description: >-
+ QueryDenomOwnersResponse defines the RPC response of a DenomOwners
+ RPC query.
- 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.
+ 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
+ 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.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ It is less efficient than using key. Only one of offset or key
+ should
- Example 4: Pack and unpack a message in Go
+ 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.
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ 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
- The pack methods provided by protobuf library will by
- default use
+ a count of the total number of items available for pagination in
+ UIs.
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
+ count_total is only respected when offset is used. It is ignored
+ when key
- methods only use the fully qualified type name after the
- last '/'
+ 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 the type URL, for example "foo.bar.com/x/y.z" will yield
- type
- name "y.z".
+ 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: A successful response.
+ schema:
+ type: object
+ properties:
+ metadatas:
+ type: array
+ items:
+ type: object
+ properties:
+ description:
+ type: string
+ denom_units:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ description: >-
+ denom represents the string name of the given
+ denom unit (e.g uatom).
+ exponent:
+ type: integer
+ format: int64
+ description: >-
+ exponent represents power of 10 exponent that one
+ must
+ raise the base_denom to in order to equal the
+ given DenomUnit's denom
+ 1 denom = 10^exponent base_denom
- JSON
+ (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
- The JSON representation of an `Any` value uses the regular
+ be the same as the display.
- representation of the deserialized, embedded message, with
- an
- additional field `@type` which contains the type URL.
- Example:
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains
+ additional information. Optional.
- 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.46
+ uri_hash:
+ type: string
+ description: >-
+ URIHash is a sha256 hash of a document pointed by URI.
+ It's used to verify that
- If the embedded message type is well-known and has a custom
- JSON
+ the document didn't change. Optional.
- representation, that representation will be embedded adding
- a field
- `value` which holds the custom JSON in addition to the
- `@type`
+ 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
- field. Example (for message [google.protobuf.Duration][]):
+ was set, its value is undefined otherwise
+ description: >-
+ QueryDenomsMetadataResponse is the response type for the
+ Query/DenomsMetadata RPC
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ 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: |-
@@ -8948,203 +8091,124 @@ 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/auth/v1beta1/accounts/{address}:
+ /cosmos/bank/v1beta1/denoms_metadata/{denom}:
get:
- summary: Account returns account details based on address.
- operationId: Account
+ summary: DenomsMetadata queries the client metadata of a given coin denomination.
+ operationId: DenomMetadata
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- account:
+ metadata:
type: object
properties:
- type_url:
+ description:
type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
+ 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
- protocol buffer message. This string must contain at least
+ raise the base_denom to in order to equal the given
+ DenomUnit's denom
- one "/" character. The last segment of the URL's path must
- represent
+ 1 denom = 10^exponent base_denom
- the fully qualified name of the type (as in
+ (e.g. with a base_denom of uatom, one can create a
+ DenomUnit of 'atom' with
- `path/google.protobuf.Duration`). The name should be in a
- canonical form
+ 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
- (e.g., leading "." is not accepted).
+ be the same as the display.
- In practice, teams usually precompile into the binary all
- types that they
+ Since: cosmos-sdk 0.43
+ uri:
+ type: string
+ description: >-
+ URI to a document (on or off-chain) that contains
+ additional information. Optional.
- 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:
+ Since: cosmos-sdk 0.46
+ uri_hash:
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
+ URIHash is a sha256 hash of a document pointed by URI.
+ It's used to verify that
- `value` which holds the custom JSON in addition to the `@type`
+ the document didn't change. Optional.
- field. Example (for message [google.protobuf.Duration][]):
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
+ Since: cosmos-sdk 0.46
+ description: |-
+ Metadata represents a struct that describes
+ a basic token.
description: >-
- QueryAccountResponse is the response type for the Query/Account
- RPC method.
+ QueryDenomMetadataResponse is the response type for the
+ Query/DenomMetadata RPC
+
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9162,188 +8226,21 @@ 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: address
- description: address defines the address to query for.
+ - name: denom
+ description: denom is the coin denom to query the metadata for.
in: path
required: true
type: string
tags:
- Query
- /cosmos/auth/v1beta1/params:
+ /cosmos/bank/v1beta1/params:
get:
- summary: Params queries all parameters.
- operationId: AuthParams
+ summary: Params queries the parameters of x/bank module.
+ operationId: BankParams
responses:
'200':
description: A successful response.
@@ -9351,29 +8248,42 @@ paths:
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
+ 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 is the response type for the Query/Params RPC
- method.
+ QueryParamsResponse defines the response type for querying x/bank
+ parameters.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9391,182 +8301,182 @@ 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
+ 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.
- the fully qualified name of the type (as in
+ Any denomination that does not have a specific setting will use the
+ default
- `path/google.protobuf.Duration`). The name should be in
- a canonical form
+ params.default_send_enabled, and will not be returned by this query.
- (e.g., leading "." is not accepted).
+ Since: cosmos-sdk 0.47
+ operationId: SendEnabled
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ 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
- In practice, teams usually precompile into the binary
- all types that they
+ sendable).
+ pagination:
+ description: >-
+ pagination defines the pagination in the response. This field
+ is only
- expect it to use in the context of Any. However, for
- URLs which use the
+ 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
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ was set, its value is undefined otherwise
+ description: >-
+ QuerySendEnabledResponse defines the RPC response of a SendEnable
+ query.
- server that maps type URLs to message definitions as
- follows:
+ 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
+ value:
+ type: string
+ format: byte
+ parameters:
+ - 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.
- * If no scheme is provided, `https` is assumed.
+ It is less efficient than using key. Only one of offset or key
+ should
- * 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.)
+ 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.
- Note: this functionality is not currently available in
- the official
+ 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 release, and it is not used for type URLs
- beginning with
+ a count of the total number of items available for pagination in
+ UIs.
- type.googleapis.com.
+ 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.
- 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
+ Since: cosmos-sdk 0.43
+ in: query
+ required: false
+ type: boolean
+ tags:
+ - Query
+ /cosmos/bank/v1beta1/spendable_balances/{address}:
+ get:
+ summary: >-
+ SpendableBalances queries the spendable balance of all coins for a
+ single
- representation, that representation will be embedded adding
- a field
+ account.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
- `value` which holds the custom JSON in addition to the
- `@type`
+ gas if the pagination field is incorrectly set.
- 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
+ Since: cosmos-sdk 0.46
+ operationId: SpendableBalances
responses:
'200':
description: A successful response.
@@ -9590,7 +8500,7 @@ paths:
method
signatures required by gogoproto.
- description: balances is the balances of all the coins.
+ description: balances is the spendable balances of all the coins.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -9598,9 +8508,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
@@ -9610,12 +8521,15 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryAllBalancesResponse is the response type for the
- Query/AllBalances RPC
+ QuerySpendableBalancesResponse defines the gRPC response structure
+ for querying
- method.
+ an account's spendable balances.
+
+
+ Since: cosmos-sdk 0.46
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9638,7 +8552,7 @@ paths:
format: byte
parameters:
- name: address
- description: address is the address to query balances for.
+ description: address is the address to query spendable balances for.
in: path
required: true
type: string
@@ -9688,21 +8602,34 @@ 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/bank/v1beta1/balances/{address}/{denom}:
+ /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom:
get:
- summary: Balance queries the balance of a single coin for a single account.
- operationId: Balance
+ summary: >-
+ SpendableBalanceByDenom queries the spendable balance of a single denom
+ 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.
+
+
+ Since: cosmos-sdk 0.47
+ operationId: SpendableBalanceByDenom
responses:
'200':
description: A successful response.
@@ -9725,10 +8652,15 @@ paths:
signatures required by gogoproto.
description: >-
- QueryBalanceResponse is the response type for the Query/Balance
- RPC method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9757,68 +8689,58 @@ paths:
type: string
- name: denom
description: denom is the coin denom to query balances for.
- in: path
- required: true
+ in: query
+ required: false
type: string
tags:
- Query
- /cosmos/bank/v1beta1/denom_owners/{denom}:
+ /cosmos/bank/v1beta1/supply:
get:
- summary: >-
- DenomOwners queries for all account addresses that own a particular
- token
+ summary: TotalSupply queries the total supply of all coins.
+ description: >-
+ When called from another module, this query might consume a high amount
+ of
- denomination.
- operationId: DenomOwners
+ gas if the pagination field is incorrectly set.
+ operationId: TotalSupply
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- denom_owners:
+ supply:
type: array
items:
type: object
properties:
- address:
+ denom:
+ type: string
+ amount:
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
+ Coin defines a token with a denomination and an amount.
- particular denominated token. It contains the account
- address and account
- balance of the denominated token.
+ 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.
+ description: |-
+ pagination defines the pagination in the response.
+
+ Since: cosmos-sdk 0.43
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
@@ -9827,11 +8749,13 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- description: >-
- QueryDenomOwnersResponse defines the RPC response of a DenomOwners
- RPC query.
+ title: >-
+ QueryTotalSupplyResponse is the response type for the
+ Query/TotalSupply RPC
+
+ method
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -9853,13 +8777,6 @@ paths:
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
@@ -9906,138 +8823,53 @@ 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/bank/v1beta1/denoms_metadata:
+ /cosmos/bank/v1beta1/supply/by_denom:
get:
- summary: |-
- DenomsMetadata queries the client metadata for all registered coin
- denominations.
- operationId: DenomsMetadata
+ summary: SupplyOf queries the supply of a single coin.
+ description: >-
+ 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: A successful response.
schema:
type: object
properties:
- metadatas:
- type: array
- items:
- type: object
- properties:
- description:
- type: string
- denom_units:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- description: >-
- denom represents the string name of the given
- denom unit (e.g uatom).
- exponent:
- type: integer
- format: int64
- description: >-
- exponent represents power of 10 exponent that one
- must
-
- raise the base_denom to in order to equal the
- given DenomUnit's denom
-
- 1 denom = 1^exponent base_denom
-
- (e.g. with a base_denom of uatom, one can create a
- DenomUnit of 'atom' with
-
- exponent = 6, thus: 1 atom = 10^6 uatom).
- aliases:
- type: array
- items:
- type: string
- title: >-
- aliases is a list of string aliases for the given
- denom
- description: |-
- DenomUnit represents a struct that describes a given
- denomination unit of the basic token.
- title: >-
- denom_units represents the list of DenomUnit's for a
- given coin
- base:
- type: string
- description: >-
- base represents the base denom (should be the DenomUnit
- with exponent = 0).
- display:
- type: string
- description: |-
- display indicates the suggested denom that should be
- displayed in clients.
- name:
- type: string
- title: 'name defines the name of the token (eg: Cosmos Atom)'
- symbol:
- type: string
- description: >-
- symbol is the token symbol usually shown on exchanges
- (eg: ATOM). This can
-
- be the same as the display.
- uri:
- type: string
- description: >-
- URI to a document (on or off-chain) that contains
- additional information. Optional.
- uri_hash:
- type: string
- description: >-
- URIHash is a sha256 hash of a document pointed by URI.
- It's used to verify that
-
- the document didn't change. Optional.
- description: |-
- Metadata represents a struct that describes
- a basic token.
- description: >-
- metadata provides the client information for all the
- registered tokens.
- pagination:
- description: pagination defines the pagination in the response.
+ amount:
type: object
properties:
- next_key:
+ denom:
type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ amount:
type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ description: >-
+ Coin defines a token with a denomination and an amount.
- was set, its value is undefined otherwise
- description: >-
- QueryDenomsMetadataResponse is the response type for the
- Query/DenomsMetadata RPC
- method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -10059,159 +8891,97 @@ paths:
type: string
format: byte
parameters:
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.limit
- description: >-
- limit is the total number of results to be returned in the result
- page.
-
- If left empty it will default to a value to be set by each app.
+ - name: denom
+ description: denom is the coin denom to query balances for.
in: query
required: false
type: string
- format: uint64
- - name: pagination.count_total
- description: >-
- count_total is set to true to indicate that the result set should
- include
-
- a count of the total number of items available for pagination in
- UIs.
-
- count_total is only respected when offset is used. It is ignored
- when key
-
- is set.
- in: query
- required: false
- type: boolean
- format: boolean
- - name: pagination.reverse
- description: >-
- reverse is set to true if results are to be returned in the
- descending order.
- in: query
- required: false
- type: boolean
- format: boolean
tags:
- Query
- /cosmos/bank/v1beta1/denoms_metadata/{denom}:
+ /cosmos/base/tendermint/v1beta1/abci_query:
get:
- summary: DenomsMetadata queries the client metadata of a given coin denomination.
- operationId: DenomMetadata
+ 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: A successful response.
schema:
type: object
properties:
- metadata:
+ 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:
- description:
- type: string
- denom_units:
+ ops:
type: array
items:
type: object
properties:
- denom:
+ type:
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
+ key:
+ type: string
+ format: byte
+ data:
+ type: string
+ format: byte
+ description: >-
+ ProofOp defines an operation used for calculating Merkle
+ root. The data could
- raise the base_denom to in order to equal the given
- DenomUnit's denom
+ be arbitrary format, providing necessary data for
+ example neighbouring node
- 1 denom = 1^exponent base_denom
+ hash.
- (e.g. with a base_denom of uatom, one can create a
- DenomUnit of 'atom' with
- exponent = 6, thus: 1 atom = 10^6 uatom).
- aliases:
- type: array
- items:
- type: string
- title: >-
- aliases is a list of string aliases for the given
- denom
- description: |-
- DenomUnit represents a struct that describes a given
- denomination unit of the basic token.
- title: >-
- denom_units represents the list of DenomUnit's for a given
- coin
- base:
- type: string
- description: >-
- base represents the base denom (should be the DenomUnit
- with exponent = 0).
- display:
- type: string
- description: |-
- display indicates the suggested denom that should be
- displayed in clients.
- name:
- type: string
- title: 'name defines the name of the token (eg: Cosmos Atom)'
- symbol:
- type: string
- description: >-
- symbol is the token symbol usually shown on exchanges (eg:
- ATOM). This can
+ 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.
- be the same as the display.
- uri:
- type: string
- description: >-
- URI to a document (on or off-chain) that contains
- additional information. Optional.
- uri_hash:
- type: string
- description: >-
- URIHash is a sha256 hash of a document pointed by URI.
- It's used to verify that
- the document didn't change. Optional.
- description: |-
- Metadata represents a struct that describes
- a basic token.
+ Note: This type is a duplicate of the ProofOps proto type
+ defined in Tendermint.
+ height:
+ type: string
+ format: int64
+ codespace:
+ type: string
description: >-
- QueryDenomMetadataResponse is the response type for the
- Query/DenomMetadata RPC
+ ABCIQueryResponse defines the response structure for the ABCIQuery
+ gRPC query.
- method.
+
+ Note: This type is a duplicate of the ResponseQuery proto type
+ defined in
+
+ Tendermint.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -10229,265 +8999,199 @@ paths:
properties:
type_url:
type: string
- value:
- type: string
- format: byte
- parameters:
- - name: denom
- description: denom is the coin denom to query the metadata for.
- in: path
- required: true
- type: string
- tags:
- - Query
- /cosmos/bank/v1beta1/params:
- get:
- summary: Params queries the parameters of x/bank module.
- operationId: BankParams
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- params:
- type: object
- properties:
- send_enabled:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- enabled:
- type: boolean
- format: boolean
description: >-
- SendEnabled maps coin denom to a send_enabled status
- (whether a denom is
+ A URL/resource name that uniquely identifies the type of
+ the serialized
- sendable).
- default_send_enabled:
- type: boolean
- format: boolean
- description: Params defines the parameters for the bank module.
- description: >-
- QueryParamsResponse defines the response type for querying x/bank
- parameters.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
+ 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
- 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: >-
+ Must be a valid serialized protocol buffer of the above
+ specified type.
description: >-
- Coin defines a token with a denomination and an amount.
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
+ URL that describes the type of the serialized message.
- NOTE: The amount field is an Int which implements the custom
- method
- signatures required by gogoproto.
- title: supply is the supply of the coins
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ Protobuf library provides support to pack/unpack Any values
+ in the form
- was set, its value is undefined otherwise
- title: >-
- QueryTotalSupplyResponse is the response type for the
- Query/TotalSupply RPC
+ of utility functions or additional generated methods of the
+ Any type.
- 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
+
+ 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.
+ - name: data
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.
+ - name: path
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.
+ - name: height
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.
+ format: int64
+ - name: prove
in: query
required: false
type: boolean
- format: boolean
- tags:
- - Query
- /cosmos/bank/v1beta1/supply/{denom}:
- get:
- summary: SupplyOf queries the supply of a single coin.
- operationId: SupplyOf
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- amount:
- type: object
- properties:
- denom:
- type: string
- amount:
- type: string
- description: >-
- Coin defines a token with a denomination and an amount.
-
-
- NOTE: The amount field is an Int which implements the custom
- method
-
- signatures required by gogoproto.
- description: >-
- QuerySupplyOfResponse is the response type for the Query/SupplyOf
- RPC method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- parameters:
- - name: denom
- description: denom is the coin denom to query balances for.
- in: path
- required: true
- type: string
tags:
- - Query
+ - Service
/cosmos/base/tendermint/v1beta1/blocks/latest:
get:
summary: GetLatestBlock returns the latest block.
@@ -10516,6 +9220,7 @@ paths:
title: PartsetHeader
title: BlockID
block:
+ title: 'Deprecated: please use `sdk_block` instead'
type: object
properties:
header:
@@ -11052,228 +9757,8 @@ paths:
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
-
- (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/blocks/{height}:
- get:
- summary: GetBlockByHeight queries block for given height.
- operationId: GetBlockByHeight
- 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:
+ sdk_block:
+ title: 'Since: cosmos-sdk 0.47'
type: object
properties:
header:
@@ -11351,7 +9836,14 @@ paths:
title: consensus info
proposer_address:
type: string
- format: byte
+ 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
@@ -11810,11 +10302,16 @@ paths:
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.
+ 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:
@@ -11927,7 +10424,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()
@@ -11937,13 +10434,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 {
...
}
@@ -11965,7 +10465,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -12002,265 +10501,1579 @@ paths:
"@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:
+ /cosmos/base/tendermint/v1beta1/blocks/{height}:
get:
- summary: GetNodeInfo queries the current node info.
- operationId: GetNodeInfo
+ summary: GetBlockByHeight queries block for given height.
+ operationId: GetBlockByHeight
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- default_node_info:
+ block_id:
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:
+ hash:
type: string
format: byte
- moniker:
- type: string
- other:
+ part_set_header:
type: object
properties:
- tx_index:
- type: string
- rpc_address:
+ total:
+ type: integer
+ format: int64
+ hash:
type: string
- application_version:
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ block:
+ title: 'Deprecated: please use `sdk_block` instead'
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
- description: VersionInfo is the type for the GetNodeInfoResponse message.
- description: >-
- GetNodeInfoResponse is the request type for the Query/GetNodeInfo
- 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
+ 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,
- (e.g., leading "." is not accepted).
+ 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.
- In practice, teams usually precompile into the binary
- all types that they
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- expect it to use in the context of Any. However, for
- URLs which use the
+ 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.
- scheme `http`, `https`, or no scheme, one can optionally
- set up a type
+ - 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
- 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
+ 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.
- URL that describes the type of the serialized message.
+ - 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,
- Protobuf library provides support to pack/unpack Any values
- in the form
+ including all blockchain data structures
+ and the rules of the application's
- of utility functions or additional generated methods of the
- Any 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.
+ 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
- Example 1: Pack and unpack a message in C++.
+ 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.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ In Tendermint, this type is `bytes`, but in the SDK,
+ we convert it to a Bech32 string
- Example 2: Pack and unpack a message in Java.
+ 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.
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ NOTE: not all txs here are valid. We're just agreeing
+ on the order first.
- Example 3: Pack and unpack a message in Python.
+ 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.
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ - 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
- Example 4: Pack and unpack a message in Go
+ 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.
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ - 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
- The pack methods provided by protobuf library will by
- default use
+ 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,
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
+ including all blockchain data structures
+ and the rules of the application's
- methods only use the fully qualified type name after the
- last '/'
+ 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
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
+ 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:
+ 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
- name "y.z".
+ 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
- JSON
+ `path/google.protobuf.Duration`). The name should be in
+ a canonical form
- ====
+ (e.g., leading "." is not accepted).
- The JSON representation of an `Any` value uses the regular
- representation of the deserialized, embedded message, with
- an
+ In practice, teams usually precompile into the binary
+ all types that they
- additional field `@type` which contains the type URL.
- Example:
+ expect it to use in the context of Any. However, for
+ URLs which use the
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ scheme `http`, `https`, or no scheme, one can optionally
+ set up a type
- {
- "@type": "type.googleapis.com/google.profile.Person",
+ 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
+ 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: 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:
+ 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:
+ 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.
+ 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":
}
@@ -12294,12 +12107,11 @@ paths:
properties:
syncing:
type: boolean
- format: boolean
description: >-
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:
@@ -12412,7 +12224,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()
@@ -12422,13 +12234,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 {
...
}
@@ -12450,7 +12265,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -12609,7 +12423,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()
@@ -12619,13 +12433,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 {
...
}
@@ -12647,7 +12464,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the
regular
@@ -12700,9 +12516,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
@@ -12715,7 +12532,7 @@ paths:
GetLatestValidatorSetResponse 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:
@@ -12828,7 +12645,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()
@@ -12838,13 +12655,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 {
...
}
@@ -12866,7 +12686,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -12950,15 +12769,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:
- Service
/cosmos/base/tendermint/v1beta1/validatorsets/{height}:
@@ -13081,7 +12901,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()
@@ -13091,13 +12911,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 {
...
}
@@ -13119,7 +12942,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the
regular
@@ -13172,9 +12994,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
@@ -13187,7 +13010,7 @@ paths:
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:
@@ -13300,7 +13123,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()
@@ -13310,13 +13133,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 {
...
}
@@ -13338,7 +13164,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -13427,15 +13252,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:
- Service
/cosmos/distribution/v1beta1/community_pool:
@@ -13473,7 +13299,7 @@ paths:
RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13560,7 +13386,7 @@ paths:
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:
@@ -13622,7 +13448,7 @@ paths:
QueryDelegationRewardsResponse is the response type for the
Query/DelegationRewards RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13677,7 +13503,7 @@ paths:
QueryDelegatorValidatorsResponse is the response type for the
Query/DelegatorValidators RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13723,7 +13549,7 @@ paths:
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:
@@ -13770,16 +13596,105 @@ paths:
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
- format: boolean
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:
+ 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}:
+ get:
+ summary: >-
+ ValidatorDistributionInfo queries validator commission and
+ self-delegation rewards for validator
+ operationId: ValidatorDistributionInfo
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ operator_address:
+ type: string
+ 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
+ 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: 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.
schema:
type: object
properties:
@@ -13800,6 +13715,12 @@ paths:
value:
type: string
format: byte
+ parameters:
+ - name: validator_address
+ description: validator_address defines the validator address to query for.
+ in: path
+ required: true
+ type: string
tags:
- Query
/cosmos/distribution/v1beta1/validators/{validator_address}/commission:
@@ -13813,7 +13734,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 +13759,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 +13831,7 @@ paths:
Query/ValidatorOutstandingRewards RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -13977,9 +13898,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 +13914,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 +14003,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 +14127,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,226 +14137,232 @@ 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"
- }
- description: evidence returns all evidences.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
-
- was set, its value is undefined otherwise
- description: >-
- QueryAllEvidenceResponse is the response type for the
- Query/AllEvidence RPC
-
- method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- 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"
+ }
+ description: evidence returns all evidences.
+ 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: >-
+ QueryAllEvidenceResponse is the response type for the
+ Query/AllEvidence RPC
+
+ method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ 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 {
...
}
@@ -14455,7 +14384,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14539,18 +14467,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 +14588,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 +14598,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 +14629,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14735,7 +14666,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 +14779,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 +14789,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 +14820,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -14924,11 +14857,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 +14891,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 +14919,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 +14931,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 +14945,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 +15064,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 +15074,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 +15105,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15223,6 +15171,7 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
content:
type: object
properties:
@@ -15323,7 +15272,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 +15282,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 +15313,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the
regular
@@ -15401,6 +15352,7 @@ paths:
"value": "1.212s"
}
status:
+ description: status defines the proposal status.
type: string
enum:
- PROPOSAL_STATUS_UNSPECIFIED
@@ -15410,41 +15362,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 +15415,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 +15437,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 +15455,7 @@ paths:
method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -15609,7 +15568,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 +15578,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 +15609,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15689,7 +15650,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 +15728,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 +15756,7 @@ paths:
proposal_id:
type: string
format: uint64
+ description: proposal_id defines the unique id of the proposal.
content:
type: object
properties:
@@ -15894,7 +15857,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 +15867,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 +15898,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -15970,6 +15935,7 @@ paths:
"value": "1.212s"
}
status:
+ description: status defines the proposal status.
type: string
enum:
- PROPOSAL_STATUS_UNSPECIFIED
@@ -15979,41 +15945,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 +15995,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 +16013,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 +16126,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,13 +16136,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 {
...
}
@@ -16195,7 +16167,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -16259,8 +16230,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:
@@ -16279,11 +16254,13 @@ 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
proposal.
+ description: deposits defines the requested deposits.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -16291,9 +16268,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
@@ -16306,7 +16284,7 @@ paths:
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:
@@ -16419,7 +16397,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()
@@ -16429,13 +16407,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 {
...
}
@@ -16457,7 +16438,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -16547,15 +16527,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 +16557,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 +16580,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 +16590,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 +16703,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 +16713,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 +16744,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -16817,24 +16805,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 +16939,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,304 +16949,316 @@ 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}/votes:
- get:
- summary: Votes queries votes of a given proposal.
- operationId: Votes
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- votes:
- type: array
- items:
- type: object
- properties:
- proposal_id:
- type: string
- format: uint64
- voter:
- type: string
- option:
- description: >-
- Deprecated: Prefer to use `options` instead. This field
- is set in queries
-
- if and only if `len(options) == 1` and that option has
- weight 1. In all
-
- other cases, this field will default to
- VOTE_OPTION_UNSPECIFIED.
- type: string
- enum:
- - VOTE_OPTION_UNSPECIFIED
- - VOTE_OPTION_YES
- - VOTE_OPTION_ABSTAIN
- - VOTE_OPTION_NO
- - VOTE_OPTION_NO_WITH_VETO
- default: VOTE_OPTION_UNSPECIFIED
- options:
- type: array
- items:
- type: object
- properties:
- option:
- type: string
- enum:
- - VOTE_OPTION_UNSPECIFIED
- - VOTE_OPTION_YES
- - VOTE_OPTION_ABSTAIN
- - VOTE_OPTION_NO
- - VOTE_OPTION_NO_WITH_VETO
- default: VOTE_OPTION_UNSPECIFIED
- description: >-
- VoteOption enumerates the valid vote options for a
- given governance proposal.
-
- - 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: >-
- WeightedVoteOption defines a unit of vote for vote
- split.
- description: >-
- Vote defines a vote on a governance proposal.
-
- A Vote consists of a proposal ID, the voter, and the vote
- option.
- description: votes defined the queried votes.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
-
- was set, its value is undefined otherwise
- description: >-
- QueryVotesResponse is the response type for the Query/Votes RPC
- method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
-
- 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}/votes:
+ get:
+ summary: Votes queries votes of a given proposal.
+ operationId: Votes
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ votes:
+ type: array
+ items:
+ type: object
+ properties:
+ proposal_id:
+ type: string
+ format: uint64
+ 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 set in queries
+
+ if and only if `len(options) == 1` and that option has
+ weight 1. In all
+
+ other cases, this field will default to
+ VOTE_OPTION_UNSPECIFIED.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ options:
+ type: array
+ items:
+ type: object
+ properties:
+ option:
+ 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.
+
+
+ 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 defines the queried votes.
+ 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: >-
+ 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
+
+ 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 {
...
}
@@ -17276,7 +17280,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -17366,15 +17369,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 +17397,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 +17425,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 +17436,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 +17460,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 +17573,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 +17583,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 +17614,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -17646,638 +17658,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:
+ /cosmos/gov/v1/params/{params_type}:
get:
- summary: Inflation returns the current minting inflation value.
- operationId: Inflation
+ summary: Params queries all parameters of the gov module.
+ operationId: GovV1Params
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
+ voting_params:
+ description: |-
+ Deprecated: Prefer to use `params` instead.
+ voting_params defines the parameters related to voting.
+ type: object
+ properties:
+ voting_period:
+ type: string
+ 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.
- method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- tags:
- - Query
- /cosmos/mint/v1beta1/params:
- get:
- summary: Params returns the total set of minting parameters.
- operationId: MintParams
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
+
+ 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: |-
+ Deprecated: Prefer to use `params` instead.
+ tally_params defines the parameters related to tally.
+ type: object
+ properties:
+ quorum:
+ type: string
+ description: >-
+ Minimum percentage of total stake needed to vote for a
+ result to be
+
+ considered valid.
+ threshold:
+ type: string
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass.
+ Default value: 0.5.
+ veto_threshold:
+ type: string
+ description: >-
+ Minimum value of Veto votes to Total votes ratio for
+ proposal to be
+
+ vetoed. Default value: 1/3.
params:
- description: params defines the parameters of the module.
+ description: |-
+ params defines all the paramaters of x/gov module.
+
+ Since: cosmos-sdk 0.47
type: object
properties:
- mint_denom:
+ 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
- title: type of coin to mint
- inflation_rate_change:
+ description: >-
+ Maximum period for Atom holders to deposit on a proposal.
+ Initial value: 2
+
+ months.
+ voting_period:
type: string
- title: maximum annual change in inflation rate
- inflation_max:
+ description: Duration of the voting period.
+ quorum:
type: string
- title: maximum inflation rate
- inflation_min:
+ description: >-
+ Minimum percentage of total stake needed to vote for a
+ result to be
+ considered valid.
+ threshold:
type: string
- title: minimum inflation rate
- goal_bonded:
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass.
+ Default value: 0.5.
+ veto_threshold:
type: string
- title: goal of percent bonded atoms
- blocks_per_year:
+ 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
- format: uint64
- title: expected blocks per year
+ 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.
default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- tags:
- - Query
- /cosmos/params/v1beta1/params:
- get:
- summary: |-
- Params queries a specific parameter of a module, given its subspace and
- key.
- operationId: Params
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- param:
- description: param defines the queried parameter.
- type: object
- properties:
- subspace:
- type: string
- key:
- type: string
- value:
- type: string
- description: >-
- QueryParamsResponse is response type for the Query/Params RPC
- method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- parameters:
- - name: subspace
- description: subspace defines the module to query the parameter for.
- in: query
- required: false
- type: string
- - name: key
- description: key defines the key of the parameter in the subspace.
- in: query
- required: false
- type: string
- tags:
- - Query
- /cosmos/slashing/v1beta1/params:
- get:
- summary: Params queries the parameters of slashing module
- operationId: SlashingParams
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- params:
- type: object
- properties:
- signed_blocks_window:
- type: string
- format: int64
- min_signed_per_window:
- type: string
- format: byte
- downtime_jail_duration:
- type: string
- slash_fraction_double_sign:
- type: string
- format: byte
- slash_fraction_downtime:
- type: string
- format: byte
- description: >-
- Params represents the parameters used for by the slashing
- module.
- title: >-
- QueryParamsResponse is the response type for the Query/Params RPC
- method
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- tags:
- - Query
- /cosmos/slashing/v1beta1/signing_infos:
- get:
- summary: SigningInfos queries signing info of all validators
- operationId: SigningInfos
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- info:
- type: array
- items:
- type: object
- properties:
- address:
- type: string
- start_height:
- type: string
- format: int64
- title: >-
- Height at which validator was first a candidate OR was
- unjailed
- index_offset:
- type: string
- format: int64
- description: >-
- Index which is incremented each time the validator was a
- bonded
-
- in a block and may have signed a precommit or not. This
- in conjunction with the
-
- `SignedBlocksWindow` param determines the index in the
- `MissedBlocksBitArray`.
- jailed_until:
- type: string
- format: date-time
- description: >-
- Timestamp until which the validator is jailed due to
- liveness downtime.
- tombstoned:
- type: boolean
- format: boolean
- description: >-
- Whether or not a validator has been tombstoned (killed
- out of validator set). It is set
-
- once the validator commits an equivocation or for any
- other configured misbehiavor.
- missed_blocks_counter:
- type: string
- format: int64
- description: >-
- A counter kept to avoid unnecessary array reads.
-
- Note that `Sum(MissedBlocksBitArray)` always equals
- `MissedBlocksCounter`.
- description: >-
- ValidatorSigningInfo defines a validator's signing info for
- monitoring their
-
- liveness activity.
- title: info is the signing info of all validators
- pagination:
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
-
- was set, its value is undefined otherwise
- description: >-
- PageResponse is to be embedded in gRPC response messages where
- the
-
- corresponding request message has used PageRequest.
-
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: >-
- QuerySigningInfosResponse is the response type for the
- Query/SigningInfos RPC
-
- method
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- parameters:
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.limit
- description: >-
- limit is the total number of results to be returned in the result
- page.
-
- If left empty it will default to a value to be set by each app.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.count_total
- description: >-
- count_total is set to true to indicate that the result set should
- include
-
- a count of the total number of items available for pagination in
- UIs.
-
- count_total is only respected when offset is used. It is ignored
- when key
-
- is set.
- in: query
- required: false
- type: boolean
- format: boolean
- - name: pagination.reverse
- description: >-
- reverse is set to true if results are to be returned in the
- descending order.
- in: query
- required: false
- type: boolean
- format: boolean
- tags:
- - Query
- /cosmos/slashing/v1beta1/signing_infos/{cons_address}:
- get:
- summary: SigningInfo queries the signing info of given cons address
- operationId: SigningInfo
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- val_signing_info:
- type: object
- properties:
- address:
- type: string
- start_height:
- type: string
- format: int64
- title: >-
- Height at which validator was first a candidate OR was
- unjailed
- index_offset:
- type: string
- format: int64
- description: >-
- Index which is incremented each time the validator was a
- bonded
-
- in a block and may have signed a precommit or not. This in
- conjunction with the
-
- `SignedBlocksWindow` param determines the index in the
- `MissedBlocksBitArray`.
- jailed_until:
- type: string
- format: date-time
- description: >-
- Timestamp until which the validator is jailed due to
- liveness downtime.
- tombstoned:
- type: boolean
- format: boolean
- description: >-
- Whether or not a validator has been tombstoned (killed out
- of validator set). It is set
-
- once the validator commits an equivocation or for any
- other configured misbehiavor.
- missed_blocks_counter:
- type: string
- format: int64
- description: >-
- A counter kept to avoid unnecessary array reads.
-
- Note that `Sum(MissedBlocksBitArray)` always equals
- `MissedBlocksCounter`.
- description: >-
- ValidatorSigningInfo defines a validator's signing info for
- monitoring their
-
- liveness activity.
- title: >-
- val_signing_info is the signing info of requested val cons
- address
- title: >-
- QuerySigningInfoResponse is the response type for the
- Query/SigningInfo RPC
-
- method
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- value:
- type: string
- format: byte
- parameters:
- - name: cons_address
- description: cons_address is the address to query signing info of
- in: path
- required: true
- type: string
- tags:
- - Query
- /cosmos/staking/v1beta1/delegations/{delegator_addr}:
- get:
- summary: >-
- DelegatorDelegations queries all delegations of a given delegator
- address.
- operationId: DelegatorDelegations
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- delegation_responses:
- type: array
- items:
- type: object
- properties:
- delegation:
- type: object
- properties:
- delegator_address:
- type: string
- description: >-
- delegator_address is the bech32-encoded address of
- the delegator.
- validator_address:
- type: string
- description: >-
- validator_address is the bech32-encoded address of
- the validator.
- shares:
- type: string
- description: shares define the delegation shares received.
- description: >-
- Delegation represents the bond with tokens held by an
- account. It is
-
- owned by one delegator, and is associated with the
- voting power of one
-
- validator.
- balance:
- type: object
- properties:
- denom:
- type: string
- amount:
- type: string
- description: >-
- Coin defines a token with a denomination and an amount.
-
-
- NOTE: The amount field is an Int which implements the
- custom method
-
- signatures required by gogoproto.
- description: >-
- DelegationResponse is equivalent to Delegation except that
- it contains a
-
- balance in addition to shares which is more suitable for
- client responses.
- description: >-
- delegation_responses defines all the delegations' info of a
- delegator.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
-
- was set, its value is undefined otherwise
- description: |-
- QueryDelegatorDelegationsResponse is response type for the
- Query/DelegatorDelegations RPC method.
- default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -18390,7 +17913,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 +17923,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 +17954,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -18466,191 +17991,316 @@ 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: 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
+ - name: params_type
description: >-
- limit is the total number of results to be returned in the result
- page.
+ params_type defines which parameters to query for, can be one of
+ "voting",
- If left empty it will default to a value to be set by each app.
- in: query
- required: false
+ "tallying" or "deposit".
+ 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:
- Query
- /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations:
+ /cosmos/gov/v1/proposals:
get:
- summary: Redelegations queries redelegations of given address.
- operationId: Redelegations
+ summary: Proposals queries all proposals based on given status.
+ operationId: GovV1Proposal
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- redelegation_responses:
+ proposals:
type: array
items:
type: object
properties:
- redelegation:
+ id:
+ type: string
+ 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
+
+ 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 are the arbitrary messages to be executed if
+ the proposal passes.
+ 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
+
+ querying a proposal via gRPC, this field is not
+ populated until the
+
+ proposal's voting period has ended.
type: object
properties:
- delegator_address:
+ yes_count:
type: string
- description: >-
- delegator_address is the bech32-encoded address of
- the delegator.
- validator_src_address:
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
type: string
description: >-
- validator_src_address is the validator redelegation
- source operator address.
- validator_dst_address:
+ 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: >-
- validator_dst_address is the validator redelegation
- destination operator address.
- entries:
- type: array
- items:
- type: object
- properties:
- creation_height:
- type: string
- format: int64
- description: >-
- creation_height defines the height which the
- redelegation took place.
- completion_time:
- type: string
- format: date-time
- description: >-
- completion_time defines the unix time for
- redelegation completion.
- initial_balance:
- type: string
- description: >-
- initial_balance defines the initial balance
- when redelegation started.
- shares_dst:
- type: string
- description: >-
- shares_dst is the amount of
- destination-validator shares created by
- redelegation.
- description: >-
- RedelegationEntry defines a redelegation object
- with relevant metadata.
- description: entries are the redelegation entries.
- description: >-
- Redelegation contains the list of a particular
- delegator's redelegating bonds
-
- from a particular source validator to a particular
- destination validator.
- entries:
+ 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:
- 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:
+ denom:
+ type: string
+ amount:
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
+ Coin defines a token with a denomination and an
+ amount.
- 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
+ NOTE: The amount field is an Int which implements the
+ custom method
- responses.
+ 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: proposals defines all the requested governance proposals.
pagination:
description: pagination defines the pagination in the response.
type: object
@@ -18658,9 +18308,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
@@ -18670,12 +18321,12 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryRedelegationsResponse is response type for the
- Query/Redelegations RPC
+ 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:
@@ -18788,7 +18439,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 +18449,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 +18480,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -18864,18 +18517,39 @@ 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
- - name: src_validator_addr
- description: src_validator_addr defines the validator address to redelegate from.
+ 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: dst_validator_addr
- description: dst_validator_addr defines the validator address to redelegate to.
+ - name: depositor
+ description: depositor defines the deposit addresses from the proposals.
in: query
required: false
type: string
@@ -18925,471 +18599,129 @@ 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}/unbonding_delegations:
+ /cosmos/gov/v1/proposals/{proposal_id}:
get:
- summary: >-
- DelegatorUnbondingDelegations queries all unbonding delegations of a
- given
-
- delegator address.
- operationId: DelegatorUnbondingDelegations
+ summary: Proposal queries proposal details based on ProposalID.
+ operationId: GovV1Proposal
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- unbonding_responses:
- type: array
- items:
- type: object
- properties:
- delegator_address:
- type: string
- description: >-
- delegator_address is the bech32-encoded address of the
- delegator.
- validator_address:
- type: string
- description: >-
- validator_address is the bech32-encoded address of the
- validator.
- entries:
- type: array
- items:
- type: object
- properties:
- creation_height:
- type: string
- format: int64
- description: >-
- creation_height is the height which the unbonding
- took place.
- completion_time:
- type: string
- format: date-time
- description: >-
- completion_time is the unix time for unbonding
- completion.
- initial_balance:
- type: string
- description: >-
- initial_balance defines the tokens initially
- scheduled to receive at completion.
- balance:
- type: string
- description: >-
- balance defines the tokens to receive at
- completion.
- description: >-
- UnbondingDelegationEntry defines an unbonding object
- with relevant metadata.
- description: entries are the unbonding delegation entries.
- description: >-
- UnbondingDelegation stores all of a single delegator's
- unbonding bonds
-
- for a single validator in an time-ordered list.
- pagination:
- description: pagination defines the pagination in the response.
+ proposal:
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:
+ id:
type: string
format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
-
- was set, its value is undefined otherwise
- description: >-
- QueryUnbondingDelegatorDelegationsResponse is response type for
- the
-
- Query/UnbondingDelegatorDelegations RPC method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
- type: array
- items:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type of
- the serialized
+ 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
- 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.
-
- 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: delegator_addr
- description: delegator_addr defines the delegator address to query for.
- in: path
- required: true
- type: string
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.limit
- description: >-
- limit is the total number of results to be returned in the result
- page.
-
- If left empty it will default to a value to be set by each app.
- in: query
- required: false
- type: string
- format: uint64
- - name: pagination.count_total
- description: >-
- count_total is set to true to indicate that the result set should
- include
-
- a count of the total number of items available for pagination in
- UIs.
-
- count_total is only respected when offset is used. It is ignored
- when key
-
- is set.
- in: query
- required: false
- type: boolean
- format: boolean
- - name: pagination.reverse
- description: >-
- reverse is set to true if results are to be returned in the
- descending order.
- in: query
- required: false
- type: boolean
- format: boolean
- tags:
- - Query
- /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators:
- get:
- summary: |-
- DelegatorValidators queries all validators info for given delegator
- address.
- operationId: StakingDelegatorValidators
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- validators:
- type: array
- items:
- type: object
- properties:
- operator_address:
- type: string
- description: >-
- operator_address defines the address of the validator's
- operator; bech encoded in JSON.
- consensus_pubkey:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the
- type of the serialized
-
- 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.
+ Example 2: Pack and unpack a message in Java.
Foo foo = ...;
Any any = Any.pack(foo);
@@ -19398,7 +18730,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()
@@ -19408,13 +18740,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 {
...
}
@@ -19436,7 +18771,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the
regular
@@ -19475,156 +18809,108 @@ paths:
"@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.
+ description: >-
+ messages are the arbitrary messages to be executed if the
+ proposal passes.
+ 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
+
+ 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: 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:
- 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:
+ denom:
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:
+ amount:
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
+ Coin defines a token with a denomination and an amount.
- 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
+ NOTE: The amount field is an Int which implements the
+ custom method
- multiplied by exchange rate.
- description: validators defines the the validators' info of a delegator.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
+ signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
+ voting_start_time:
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: date-time
+ description: >-
+ voting_start_time is the starting time to vote on a
+ proposal.
+ voting_end_time:
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.
+ 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:
@@ -19737,7 +19023,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 +19033,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 +19064,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -19813,393 +19101,87 @@ 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}/deposits:
get:
- summary: |-
- DelegatorValidator queries validator info for given delegator validator
- pair.
- operationId: DelegatorValidator
+ summary: Deposits queries all deposits of a single proposal.
+ operationId: GovV1Deposit
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validator:
- type: object
- properties:
- operator_address:
- type: string
- description: >-
- operator_address defines the address of the validator's
- operator; bech encoded in JSON.
- consensus_pubkey:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the type
- of the serialized
-
- 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.
+ 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:
- rate:
- type: string
- description: >-
- rate is the commission rate charged to delegators,
- as a fraction.
- max_rate:
+ denom:
type: string
- description: >-
- max_rate defines the maximum commission rate which
- validator can ever charge, as a fraction.
- max_change_rate:
+ amount:
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
+ Coin defines a token with a denomination and an
+ amount.
- undelegations without iterating over delegators. When coins
- are delegated to
- this validator, the validator is credited with a delegation
- whose number of
+ NOTE: The amount field is an Int which implements the
+ custom method
- bond shares is based on the amount of coins delegated divided
- by the current
+ signatures required by gogoproto.
+ description: amount to be deposited by depositor.
+ description: >-
+ Deposit defines an amount deposited by an account address to
+ an active
- exchange rate. Voting power can be calculated as total bonded
- shares
+ 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
- multiplied by exchange rate.
- description: |-
- QueryDelegatorValidatorResponse response type for the
- Query/DelegatorValidator RPC method.
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -20312,7 +19294,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 +19304,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 +19335,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -20388,431 +19372,122 @@ 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.
- in: path
- required: true
+ 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/staking/v1beta1/historical_info/{height}:
+ /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}:
get:
- summary: HistoricalInfo queries the historical info for given height.
- operationId: HistoricalInfo
+ summary: >-
+ Deposit queries single deposit information based proposalID,
+ depositAddr.
+ operationId: GovV1Deposit
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- hist:
- description: hist defines the historical info at the given height.
+ deposit:
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:
+ 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:
- operator_address:
+ denom:
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
+ amount:
+ type: string
+ description: >-
+ Coin defines a token with a denomination and an amount.
- 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
+ NOTE: The amount field is an Int which implements the
+ custom method
- exchange rate. Voting power can be calculated as total
- bonded shares
+ signatures required by gogoproto.
+ description: amount to be deposited by depositor.
+ description: >-
+ Deposit defines an amount deposited by an account address to
+ an active
- multiplied by exchange rate.
+ proposal.
description: >-
- QueryHistoricalInfoResponse is response type for the
- Query/HistoricalInfo RPC
-
- method.
+ 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:
@@ -20925,7 +19600,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()
@@ -20935,13 +19610,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 {
...
}
@@ -20963,7 +19641,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -21001,55 +19678,54 @@ paths:
"value": "1.212s"
}
parameters:
- - name: height
- description: height defines at which height to query the historical info.
+ - 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
- format: int64
tags:
- Query
- /cosmos/staking/v1beta1/params:
+ /cosmos/gov/v1/proposals/{proposal_id}/tally:
get:
- summary: Parameters queries the staking parameters.
- operationId: StakingParams
+ summary: TallyResult queries the tally of a proposal vote.
+ operationId: GovV1TallyResult
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- params:
- description: params holds all the parameters of this module.
+ tally:
+ description: tally defines the requested tally.
type: object
properties:
- unbonding_time:
+ yes_count:
+ type: string
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
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:
+ abstain_count is the number of abstain votes on a
+ proposal.
+ no_count:
type: string
- description: bond_denom defines the bondable coin denomination.
+ 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: >-
- QueryParamsResponse is response type for the Query/Params RPC
- method.
+ 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:
@@ -21162,7 +19838,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()
@@ -21172,13 +19848,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 {
...
}
@@ -21200,7 +19879,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -21237,29 +19915,98 @@ paths:
"@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/staking/v1beta1/pool:
+ /cosmos/gov/v1/proposals/{proposal_id}/votes:
get:
- summary: Pool queries the pool info.
- operationId: Pool
+ summary: Votes queries votes of a given proposal.
+ operationId: GovV1Votes
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- pool:
- description: pool defines the pool info.
+ 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:
- not_bonded_tokens:
+ next_key:
type: string
- bonded_tokens:
+ 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
- description: QueryPoolResponse is response type for the Query/Pool RPC method.
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
+
+ was set, its value is undefined otherwise
+ description: >-
+ QueryVotesResponse is the response type for the Query/Votes RPC
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -21372,7 +20119,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()
@@ -21382,13 +20129,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 {
...
}
@@ -21410,7 +20160,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -21447,355 +20196,132 @@ paths:
"@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.
+
+ 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:
+ /cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}:
get:
- summary: Validators queries all validators that match the given status.
- operationId: Validators
+ summary: Vote queries voted information based on proposalID, voterAddr.
+ operationId: GovV1Vote
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validators:
- type: array
- items:
- type: object
- properties:
- operator_address:
- type: string
- description: >-
- operator_address defines the address of the validator's
- operator; bech encoded in JSON.
- consensus_pubkey:
- type: object
- properties:
- type_url:
- type: string
- description: >-
- A URL/resource name that uniquely identifies the
- type of the serialized
-
- 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.
+ 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:
- 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
+ option:
description: >-
- security_contact defines an optional email for
- security contact.
- details:
+ option defines the valid vote options, it must not
+ contain duplicate vote options.
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:
+ 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
- format: date-time
description: >-
- update_time is the last time the commission rate was
- changed.
- min_self_delegation:
- type: string
+ weight is the vote weight associated with the vote
+ option.
description: >-
- min_self_delegation is the validator's self declared
- minimum self delegation.
- description: >-
- Validator defines a validator, together with the total
- amount of the
-
- Validator's bond shares and their exchange rate to coins.
- Slashing results in
-
- a decrease in the exchange rate, allowing correct
- calculation of future
-
- undelegations without iterating over delegators. When coins
- are delegated to
-
- this validator, the validator is credited with a delegation
- whose number of
-
- bond shares is based on the amount of coins delegated
- divided by the current
-
- exchange rate. Voting power can be calculated as total
- bonded shares
-
- multiplied by exchange rate.
- description: validators contains all the queried validators.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
+ WeightedVoteOption defines a unit of vote for vote
+ split.
+ description: options is the weighted vote options.
+ metadata:
type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ description: >-
+ metadata is any arbitrary metadata to attached to the
+ vote.
+ description: >-
+ Vote defines a vote on a governance proposal.
- was set, its value is undefined otherwise
- title: >-
- QueryValidatorsResponse is response type for the Query/Validators
- RPC method
+ 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:
@@ -21908,7 +20434,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 +20444,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 +20475,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -21984,391 +20512,143 @@ paths:
"value": "1.212s"
}
parameters:
- - name: status
- description: status enables to query for validators matching a given status.
- in: query
- required: false
- type: string
- - name: pagination.key
- description: |-
- key is a value returned in PageResponse.next_key to begin
- querying the next page most efficiently. Only one of offset or key
- should be set.
- in: query
- required: false
- type: string
- format: byte
- - name: pagination.offset
- description: >-
- offset is a numeric offset that can be used when key is unavailable.
-
- It is less efficient than using key. Only one of offset or key
- should
-
- be set.
- in: query
- required: false
+ - name: proposal_id
+ description: proposal_id defines the unique id of the proposal.
+ 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: voter
+ description: voter defines the voter address for the proposals.
+ 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
+ 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
- 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
+ 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/staking/v1beta1/validators/{validator_addr}:
+ /cosmos/mint/v1beta1/params:
get:
- summary: Validator queries validator info for given validator address.
- operationId: Validator
+ summary: Params returns the total set of minting parameters.
+ operationId: MintParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- validator:
+ params:
+ description: params defines the parameters of the module.
type: object
properties:
- operator_address:
+ mint_denom:
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:
+ title: type of coin to mint
+ inflation_rate_change:
type: string
- description: >-
- tokens define the delegated tokens (incl.
- self-delegation).
- delegator_shares:
+ title: maximum annual change in inflation rate
+ inflation_max:
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:
+ title: maximum inflation rate
+ inflation_min:
type: string
- format: int64
- description: >-
- unbonding_height defines, if unbonding, the height at
- which this validator has begun unbonding.
- unbonding_time:
+ title: minimum inflation rate
+ goal_bonded:
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:
+ title: goal of percent bonded atoms
+ blocks_per_year:
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
+ 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -22386,221 +20666,511 @@ 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: validator_addr
- description: validator_addr defines the validator address to query for.
- in: path
- required: true
- type: string
tags:
- Query
- /cosmos/staking/v1beta1/validators/{validator_addr}/delegations:
+ /cosmos/params/v1beta1/params:
get:
- summary: ValidatorDelegations queries delegate info for given validator.
- operationId: ValidatorDelegations
+ 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:
- delegation_responses:
+ param:
+ description: param defines the queried parameter.
+ type: object
+ properties:
+ subspace:
+ type: string
+ key:
+ type: string
+ value:
+ type: string
+ description: >-
+ QueryParamsResponse is response type for the Query/Params RPC
+ method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
type: array
items:
type: object
properties:
- 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
+ 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/params/v1beta1/subspaces:
+ get:
+ 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:
+ subspaces:
+ type: array
+ items:
+ type: object
+ properties:
+ subspace:
+ type: string
+ keys:
+ type: array
+ items:
+ type: string
+ description: >-
+ Subspace defines a parameter subspace name and all the keys
+ that exist for
+
+ the subspace.
+
+
+ Since: cosmos-sdk 0.46
+ description: >-
+ QuerySubspacesResponse defines the response types for querying for
+ all
+
+ registered subspaces and all keys for a subspace.
+
+
+ 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
+ value:
+ type: string
+ 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
+ value:
+ type: string
+ format: byte
+ tags:
+ - Query
+ /cosmos/slashing/v1beta1/signing_infos:
+ get:
+ summary: SigningInfos queries signing info of all validators
+ operationId: SigningInfos
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ info:
+ type: array
+ items:
+ type: object
+ properties:
+ address:
+ type: string
+ start_height:
+ type: string
+ format: int64
+ title: >-
+ Height at which validator was first a candidate OR was
+ unjailed
+ index_offset:
+ type: string
+ format: int64
+ description: >-
+ Index which is incremented each time the validator was a
+ bonded
+
+ in a block and may have signed a precommit or not. This
+ in conjunction with the
+
+ `SignedBlocksWindow` param determines the index in the
+ `MissedBlocksBitArray`.
+ jailed_until:
+ type: string
+ format: date-time
+ description: >-
+ Timestamp until which the validator is jailed due to
+ liveness downtime.
+ tombstoned:
+ type: boolean
+ description: >-
+ Whether or not a validator has been tombstoned (killed
+ out of validator set). It is set
+
+ once the validator commits an equivocation or for any
+ other configured misbehiavor.
+ missed_blocks_counter:
+ type: string
+ format: int64
+ description: >-
+ A counter kept to avoid unnecessary array reads.
+
+ Note that `Sum(MissedBlocksBitArray)` always equals
+ `MissedBlocksCounter`.
+ description: >-
+ ValidatorSigningInfo defines a validator's signing info for
+ monitoring their
+
+ liveness activity.
+ title: info is the signing info of all validators
+ pagination:
+ type: object
+ properties:
+ next_key:
+ type: string
+ format: byte
+ 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: >-
+ QuerySigningInfosResponse is the response type for the
+ Query/SigningInfos RPC
+
+ method
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ value:
+ type: string
+ format: byte
+ parameters:
+ - name: pagination.key
+ description: |-
+ key is a value returned in PageResponse.next_key to begin
+ querying the next page most efficiently. Only one of offset or key
+ should be set.
+ in: query
+ required: false
+ type: string
+ format: byte
+ - name: pagination.offset
+ description: >-
+ offset is a numeric offset that can be used when key is unavailable.
+
+ It is less efficient than using key. Only one of offset or key
+ should
+
+ be set.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.limit
+ description: >-
+ limit is the total number of results to be returned in the result
+ page.
+
+ If left empty it will default to a value to be set by each app.
+ in: query
+ required: false
+ type: string
+ format: uint64
+ - name: pagination.count_total
+ description: >-
+ count_total is set to true to indicate that the result set should
+ include
+
+ a count of the total number of items available for pagination in
+ UIs.
+
+ count_total is only respected when offset is used. It is ignored
+ when key
+
+ is set.
+ in: query
+ required: false
+ type: boolean
+ - 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/slashing/v1beta1/signing_infos/{cons_address}:
+ get:
+ summary: SigningInfo queries the signing info of given cons address
+ operationId: SigningInfo
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ val_signing_info:
+ type: object
+ properties:
+ address:
+ type: string
+ start_height:
+ type: string
+ format: int64
+ title: >-
+ Height at which validator was first a candidate OR was
+ unjailed
+ index_offset:
+ type: string
+ format: int64
+ description: >-
+ Index which is incremented each time the validator was a
+ bonded
+
+ in a block and may have signed a precommit or not. This in
+ conjunction with the
+
+ `SignedBlocksWindow` param determines the index in the
+ `MissedBlocksBitArray`.
+ jailed_until:
+ type: string
+ format: date-time
+ description: >-
+ Timestamp until which the validator is jailed due to
+ liveness downtime.
+ tombstoned:
+ type: boolean
+ 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:
@@ -22624,6 +21194,9 @@ paths:
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
@@ -22631,9 +21204,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 +21216,11 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- title: |-
- QueryValidatorDelegationsResponse is response type for the
- Query/ValidatorDelegations RPC method
+ description: |-
+ QueryDelegatorDelegationsResponse is response type for the
+ Query/DelegatorDelegations RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -22759,7 +21333,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 +21343,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 +21374,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -22835,8 +21411,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 +21462,196 @@ 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}/redelegations:
get:
- summary: Delegation queries delegate info for given validator delegator pair.
- operationId: Delegation
+ 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:
- 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:
+ redelegation_responses:
type: array
items:
type: object
properties:
- type_url:
- type: string
+ 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: >-
- 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.
+ 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
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ contains a balance in addition to shares which is more
+ suitable for client
- used with implementation specific semantics.
- value:
- type: string
- format: byte
- description: >-
- Must be a valid serialized protocol buffer of the above
- specified type.
+ responses.
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`
+ RedelegationResponse is equivalent to a Redelegation except
+ that its entries
- field. Example (for message [google.protobuf.Duration][]):
+ contain a balance in addition to shares which is more
+ suitable for client
- {
- "@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:
+ responses.
+ pagination:
+ description: pagination defines the pagination in the response.
type: object
properties:
- delegator_address:
+ next_key:
type: string
- description: >-
- delegator_address is the bech32-encoded address of the
- delegator.
- validator_address:
+ 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
- description: >-
- validator_address is the bech32-encoded address of the
- validator.
- entries:
- type: array
- items:
- type: object
- properties:
- creation_height:
- type: string
- format: int64
- description: >-
- creation_height is the height which the unbonding
- took place.
- completion_time:
- type: string
- format: date-time
- description: >-
- completion_time is the unix time for unbonding
- completion.
- initial_balance:
- type: string
- description: >-
- initial_balance defines the tokens initially
- scheduled to receive at completion.
- balance:
- type: string
- description: balance defines the tokens to receive at completion.
- description: >-
- UnbondingDelegationEntry defines an unbonding object
- with relevant metadata.
- description: entries are the unbonding delegation entries.
- description: >-
- UnbondingDelegation stores all of a single delegator's
- unbonding bonds
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
- for a single validator in an time-ordered list.
+ was set, its value is undefined otherwise
description: >-
- QueryDelegationResponse is response type for the
- Query/UnbondingDelegation
+ QueryRedelegationsResponse is response type for the
+ Query/Redelegations RPC
- RPC method.
+ method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -23338,7 +21764,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 +21774,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 +21805,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -23414,24 +21842,92 @@ 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: 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}/unbonding_delegations:
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations:
get:
summary: >-
- ValidatorUnbondingDelegations queries unbonding delegations of a
- validator.
- operationId: ValidatorUnbondingDelegations
+ 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.
@@ -23480,6 +21976,18 @@ paths:
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.
@@ -23496,9 +22004,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
@@ -23508,12 +22017,12 @@ paths:
was set, its value is undefined otherwise
description: >-
- QueryValidatorUnbondingDelegationsResponse is response type for
+ QueryUnbondingDelegatorDelegationsResponse is response type for
the
- Query/ValidatorUnbondingDelegations RPC method.
+ Query/UnbondingDelegatorDelegations RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -23626,7 +22135,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 +22145,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 +22176,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -23702,8 +22213,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
@@ -23753,307 +22264,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/tx/v1beta1/simulate:
- post:
- summary: Simulate simulates executing a transaction for estimating gas usage.
- operationId: Simulate
+ /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators:
+ get:
+ 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:
- 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
-
- 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:
- type: array
- items:
- type: object
- properties:
- type:
- type: string
- attributes:
- 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.
- 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 contains a slice of Event objects that were emitted
- during message
-
- or handler execution.
- description: |-
- SimulateResponse is the response type for the
- Service.SimulateRPC 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: 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'
+ {
+ "@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: 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:
@@ -24166,7 +22761,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 +22771,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 +22802,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24242,14 +22839,11 @@ paths:
"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: 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
@@ -24296,126 +22890,39 @@ 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
- - 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/delegators/{delegator_addr}/validators/{validator_addr}:
+ get:
+ summary: |-
+ DelegatorValidator queries validator info for given delegator validator
+ pair.
+ operationId: DelegatorValidator
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- tx_response:
+ validator:
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:
+ operator_address:
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:
+ operator_address defines the address of the validator's
+ operator; bech encoded in JSON.
+ consensus_pubkey:
type: object
properties:
type_url:
@@ -24515,7 +23022,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()
@@ -24525,13 +23032,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 {
...
}
@@ -24553,7 +23063,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24590,26 +23099,152 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- timestamp:
+ 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: >-
- Time of the previous block. For heights > 1, it's the
- weighted median of
+ 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.
- the timestamps of the valid votes in the block.LastCommit.
- For height == 1,
- it's genesis time.
+ 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: >-
- TxResponse defines a structure containing relevant tx data and
- metadata. The
+ Validator defines a validator, together with the total amount
+ of the
- tags are stringified and the log is JSON decoded.
+ 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: |-
- BroadcastTxResponse is the response type for the
- Service.BroadcastTx method.
+ QueryDelegatorValidatorResponse response type for the
+ Query/DelegatorValidator RPC method.
default:
- description: An unexpected error response
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -24722,7 +23357,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 +23367,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 +23398,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -24798,155 +23435,551 @@ paths:
"value": "1.212s"
}
parameters:
- - name: body
- in: body
+ - name: delegator_addr
+ description: delegator_addr defines the delegator address to query for.
+ in: path
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.
+ type: string
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
+ in: path
+ required: true
+ type: string
tags:
- - Service
- /cosmos/tx/v1beta1/txs/{hash}:
+ - Query
+ /cosmos/staking/v1beta1/historical_info/{height}:
get:
- summary: GetTx fetches a tx by hash.
- operationId: GetTx
+ summary: HistoricalInfo queries the historical info for given height.
+ operationId: HistoricalInfo
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
+ 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,
- protocol buffer message. This string must contain at
- least
+ including all blockchain data structures and the rules
+ of the application's
- one "/" character. The last segment of the URL's path
- must represent
+ 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
- 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 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: 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: >-
+ QueryHistoricalInfoResponse is response type for the
+ Query/HistoricalInfo RPC
+
+ method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ 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.
@@ -24957,7 +23990,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()
@@ -24967,13 +24000,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 {
...
}
@@ -24995,7 +24031,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25033,34 +24068,60 @@ paths:
"value": "1.212s"
}
parameters:
- - name: hash
- description: hash is the tx hash to query, encoded as a hex string.
+ - name: height
+ description: height defines at which height to query the historical info.
in: path
required: true
type: string
+ format: int64
tags:
- - Service
- /cosmos/upgrade/v1beta1/applied_plan/{name}:
+ - Query
+ /cosmos/staking/v1beta1/params:
get:
- summary: AppliedPlan queries a previously applied upgrade plan by its name.
- operationId: AppliedPlan
+ summary: Parameters queries the staking parameters.
+ operationId: StakingParams
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.
+ 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: >-
- QueryAppliedPlanResponse is the response type for the
- Query/AppliedPlan RPC
-
+ 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:
@@ -25173,7 +24234,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 +24244,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 +24275,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25248,305 +24311,78 @@ paths:
"@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/current_plan:
+ /cosmos/staking/v1beta1/pool:
get:
- summary: CurrentPlan queries the current upgrade plan.
- operationId: CurrentPlan
+ summary: Pool queries the pool info.
+ operationId: Pool
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- plan:
- description: plan is the current upgrade plan.
+ pool:
+ description: pool defines the pool info.
type: object
properties:
- name:
+ not_bonded_tokens:
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:
+ bonded_tokens:
type: string
- format: date-time
- description: >-
- Deprecated: Time based upgrades have been deprecated. Time
- based upgrade logic
+ description: QueryPoolResponse is response type for the Query/Pool RPC method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
- has been removed from the SDK.
+ protocol buffer message. This string must contain at
+ least
- 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
+ one "/" character. The last segment of the URL's path
+ must represent
- 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
+ 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
-
- 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"
- }
- 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.
+ * If no scheme is provided, `https` is assumed.
* An HTTP GET on the URL must yield a
[google.protobuf.Type][]
@@ -25610,7 +24446,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 +24456,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 +24487,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -25687,670 +24525,364 @@ paths:
}
tags:
- Query
- /cosmos/upgrade/v1beta1/module_versions:
+ /cosmos/staking/v1beta1/validators:
get:
- summary: ModuleVersions queries the list of module versions from state.
- operationId: ModuleVersions
+ 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:
type: object
properties:
- module_versions:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- title: name of the app module
- version:
- type: string
- format: uint64
- title: consensus version of the app module
- description: ModuleVersion specifies a module and its consensus version.
- description: >-
- module_versions is a list of module names with their consensus
- versions.
- description: >-
- QueryModuleVersionsResponse is the response type for the
- Query/ModuleVersions
-
- RPC method.
- default:
- description: An unexpected error response
- schema:
- type: object
- properties:
- error:
- type: string
- code:
- type: integer
- format: int32
- message:
- type: string
- details:
+ 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
-
- URL that describes the type of the serialized message.
+ `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++.
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Example 1: Pack and unpack a message in C++.
- Example 2: Pack and unpack a message in Java.
+ Foo foo = ...;
+ Any any;
+ any.PackFrom(foo);
+ ...
+ if (any.UnpackTo(&foo)) {
+ ...
+ }
- Foo foo = ...;
- Any any = Any.pack(foo);
- ...
- if (any.is(Foo.class)) {
- foo = any.unpack(Foo.class);
- }
+ Example 2: Pack and unpack a message in Java.
- Example 3: Pack and unpack a message in Python.
+ 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.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ Example 3: Pack and unpack a message in Python.
- Example 4: Pack and unpack a message in Go
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ Example 4: Pack and unpack a message in Go
- The pack methods provided by protobuf library will by
- default use
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- 'type.googleapis.com/full.type.name' as the type URL and the
- unpack
+ The pack methods provided by protobuf library will by
+ default use
- methods only use the fully qualified type name after the
- last '/'
+ 'type.googleapis.com/full.type.name' as the type URL and
+ the unpack
- in the type URL, for example "foo.bar.com/x/y.z" will yield
- type
+ methods only use the fully qualified type name after the
+ last '/'
- name "y.z".
+ in the type URL, for example "foo.bar.com/x/y.z" will
+ yield type
+ name "y.z".
- JSON
- ====
+ JSON
- The JSON representation of an `Any` value uses the regular
- representation of the deserialized, embedded message, with
- an
+ The JSON representation of an `Any` value uses the
+ regular
- additional field `@type` which contains the type URL.
- Example:
+ representation of the deserialized, embedded message,
+ with an
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ additional field `@type` which contains the type URL.
+ Example:
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- If the embedded message type is well-known and has a custom
- JSON
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- representation, that representation will be embedded adding
- a field
+ If the embedded message type is well-known and has a
+ custom JSON
- `value` which holds the custom JSON in addition to the
- `@type`
+ representation, that representation will be embedded
+ adding a field
- field. Example (for message [google.protobuf.Duration][]):
+ `value` which holds the custom JSON in addition to the
+ `@type`
- {
- "@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
- operationId: UpgradedConsensusState
- responses:
- '200':
- description: A successful response.
- schema:
- type: object
- properties:
- upgraded_consensus_state:
- type: string
- format: byte
- description: >-
- QueryUpgradedConsensusStateResponse is the response type for the
- Query/UpgradedConsensusState
+ field. Example (for message
+ [google.protobuf.Duration][]):
- 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": "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: >-
- 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:
+ tokens define the delegated tokens (incl.
+ self-delegation).
+ delegator_shares:
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: 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:
+ delegator_shares defines total shares issued to a
+ validator's delegators.
+ description:
+ description: >-
+ description defines the description terms for the
+ validator.
type: object
properties:
- type_url:
+ moniker:
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:
+ moniker defines a human-readable name for the
+ validator.
+ identity:
type: string
- format: byte
description: >-
- Must be a valid serialized protocol buffer of the
- above specified type.
+ 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: >-
- `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
+ 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.
- representation of the deserialized, embedded message,
- with an
- additional field `@type` which contains the type URL.
- Example:
+ 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
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ Validator's bond shares and their exchange rate to coins.
+ Slashing results in
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ a decrease in the exchange rate, allowing correct
+ calculation of future
- If the embedded message type is well-known and has a
- custom JSON
+ undelegations without iterating over delegators. When coins
+ are delegated to
- representation, that representation will be embedded
- adding a field
+ this validator, the validator is credited with a delegation
+ whose number of
- `value` which holds the custom JSON in addition to the
- `@type`
+ bond shares is based on the amount of coins delegated
+ divided by the current
- field. Example (for message
- [google.protobuf.Duration][]):
+ exchange rate. Voting power can be calculated as total
+ bonded shares
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- expiration:
- type: string
- format: date-time
- description: |-
- Grant gives permissions to execute
- the provide method with expiration time.
- description: >-
- authorizations is a list of grants granted for grantee by
- granter.
+ multiplied by exchange rate.
+ description: validators contains all the queried validators.
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
@@ -26359,11 +24891,11 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- description: >-
- QueryGrantsResponse is the response type for the
- Query/Authorizations RPC method.
+ 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:
@@ -26476,7 +25008,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 +25018,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 +25049,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -26552,18 +25086,8 @@ 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.
+ - name: status
+ description: status enables to query for validators matching a given status.
in: query
required: false
type: string
@@ -26613,43 +25137,37 @@ 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}:
+ /cosmos/staking/v1beta1/validators/{validator_addr}:
get:
- summary: Allowance returns fee granted to the grantee by the granter.
- operationId: Allowance
+ summary: Validator queries validator info for given validator address.
+ operationId: Validator
responses:
'200':
description: A successful response.
schema:
type: object
properties:
- allowance:
- description: allowance is a allowance granted for grantee by granter.
+ validator:
type: object
properties:
- granter:
- type: string
- description: >-
- granter is the address of the user granting an allowance
- of their funds.
- grantee:
+ operator_address:
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.
+ operator_address defines the address of the validator's
+ operator; bech encoded in JSON.
+ consensus_pubkey:
type: object
properties:
type_url:
@@ -26716,14 +25234,262 @@ paths:
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.
+ 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: 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
+ description: An unexpected error response.
schema:
type: object
properties:
@@ -26836,7 +25602,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 +25612,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 +25643,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -26912,131 +25680,89 @@ 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.
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
in: path
required: true
type: string
tags:
- Query
- /cosmos/feegrant/v1beta1/allowances/{grantee}:
+ /cosmos/staking/v1beta1/validators/{validator_addr}/delegations:
get:
- summary: Allowances returns all the grants for address.
- operationId: Allowances
+ 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:
- allowances:
+ delegation_responses:
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.
+ delegation:
type: object
properties:
- type_url:
+ delegator_address:
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.)
+ 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
- Note: this functionality is not currently available
- in the official
+ owned by one delegator, and is associated with the
+ voting power of one
- protobuf release, and it is not used for type URLs
- beginning with
+ validator.
+ balance:
+ type: object
+ properties:
+ denom:
+ type: string
+ amount:
+ type: string
+ description: >-
+ Coin defines a token with a denomination and an amount.
- type.googleapis.com.
+ NOTE: The amount field is an Int which implements the
+ custom method
- Schemes other than `http`, `https` (or the empty
- scheme) might be
+ signatures required by gogoproto.
+ description: >-
+ DelegationResponse is equivalent to Delegation except that
+ it contains a
- 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.
+ balance in addition to shares which is more suitable for
+ client responses.
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
@@ -27045,11 +25771,11 @@ paths:
PageRequest.count_total
was set, its value is undefined otherwise
- description: >-
- QueryAllowancesResponse is the response type for the
- Query/Allowances RPC method.
+ 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:
@@ -27162,7 +25888,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 +25898,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 +25929,6 @@ paths:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -27238,7 +25966,8 @@ paths:
"value": "1.212s"
}
parameters:
- - name: grantee
+ - name: validator_addr
+ description: validator_addr defines the validator address to query for.
in: path
required: true
type: string
@@ -27288,6483 +26017,29906 @@ 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
-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:
+ /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}:
+ get:
+ summary: Delegation queries delegate info for given validator delegator pair.
+ operationId: Delegation
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ type: object
+ properties:
+ delegation_response:
type: object
properties:
- 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
+ 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
- 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.
+ owned by one delegator, and is associated with the voting
+ power of one
- 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.
+ validator.
+ balance:
+ type: object
+ properties:
+ denom:
+ type: string
+ amount:
+ type: string
+ description: >-
+ Coin defines a token with a denomination and an amount.
- 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.
+ NOTE: The amount field is an Int which implements the
+ custom method
- count_total is only respected when offset is used. It is ignored when
- key
+ signatures required by gogoproto.
+ description: >-
+ DelegationResponse is equivalent to Delegation except that it
+ contains a
- is set.
- format: boolean
- reverse:
- type: boolean
- description: >-
- reverse is set to true if results are to be returned in the descending
- order.
+ balance in addition to shares which is more suitable for
+ client responses.
+ description: >-
+ QueryDelegationResponse is response type for the Query/Delegation
+ RPC method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+ protocol buffer message. This string must contain at
+ least
- 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.
+ one "/" character. The last segment of the URL's path
+ must represent
- 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
+ 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);
+ }
- Foo foo = ...;
- Any any;
- any.PackFrom(foo);
- ...
- if (any.UnpackTo(&foo)) {
- ...
- }
+ Example 3: Pack and unpack a message in Python.
- Example 2: Pack and unpack a message in Java.
+ 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.class)) {
- foo = any.unpack(Foo.class);
- }
+ Example 4: Pack and unpack a message in Go
- Example 3: Pack and unpack a message in Python.
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- foo = Foo(...)
- any = Any()
- any.Pack(foo)
- ...
- if any.Is(Foo.DESCRIPTOR):
- any.Unpack(foo)
- ...
+ The pack methods provided by protobuf library will by
+ default use
- Example 4: Pack and unpack a message in Go
+ 'type.googleapis.com/full.type.name' as the type URL and the
+ unpack
- foo := &pb.Foo{...}
- any, err := ptypes.MarshalAny(foo)
- ...
- foo := &pb.Foo{}
- if err := ptypes.UnmarshalAny(any, foo); err != nil {
- ...
- }
+ methods only use the fully qualified type name after the
+ last '/'
- The pack methods provided by protobuf library will by default use
+ in the type URL, for example "foo.bar.com/x/y.z" will yield
+ type
- 'type.googleapis.com/full.type.name' as the type URL and the unpack
+ name "y.z".
- 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
- JSON
+ representation of the deserialized, embedded message, with
+ an
- ====
+ additional field `@type` which contains the type URL.
+ Example:
- The JSON representation of an `Any` value uses the regular
+ package google.profile;
+ message Person {
+ string first_name = 1;
+ string last_name = 2;
+ }
- representation of the deserialized, embedded message, with an
+ {
+ "@type": "type.googleapis.com/google.profile.Person",
+ "firstName": ,
+ "lastName":
+ }
- additional field `@type` which contains the type URL. Example:
+ If the embedded message type is well-known and has a custom
+ JSON
- package google.profile;
- message Person {
- string first_name = 1;
- string last_name = 2;
- }
+ representation, that representation will be embedded adding
+ a field
- {
- "@type": "type.googleapis.com/google.profile.Person",
- "firstName": ,
- "lastName":
- }
+ `value` which holds the custom JSON in addition to the
+ `@type`
- If the embedded message type is well-known and has a custom JSON
+ field. Example (for message [google.protobuf.Duration][]):
- representation, that representation will be embedded adding a field
+ {
+ "@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: 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
- `value` which holds the custom JSON in addition to the `@type`
+ for a single validator in an time-ordered list.
+ description: >-
+ QueryDelegationResponse is response type for the
+ Query/UnbondingDelegation
- field. Example (for message [google.protobuf.Duration][]):
+ 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
- {
- "@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
- 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.
+ description: >-
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- 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.
- 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 := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- 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
- 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}/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
- {
- "@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
+ 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
+ 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 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: >-
- - 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
+ QueryValidatorUnbondingDelegationsResponse is response type for
+ the
+
+ Query/ValidatorUnbondingDelegations RPC method.
+ default:
+ description: An unexpected error response.
+ schema:
+ type: object
+ properties:
+ error:
+ type: string
+ code:
+ type: integer
+ format: int32
+ message:
+ type: string
+ details:
+ type: array
+ items:
+ type: object
+ properties:
+ type_url:
+ type: string
+ description: >-
+ A URL/resource name that uniquely identifies the type of
+ the serialized
+
+ 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: >-
- - 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
+ `Any` contains an arbitrary serialized protocol buffer
+ message along with a
- 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.
+ URL that describes the type of the serialized message.
- 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:
+
+ 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: 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
+ - 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/tx/v1beta1/decode:
+ post:
+ summary: TxDecode decodes the transaction.
+ description: 'Since: cosmos-sdk 0.47'
+ operationId: TxDecode
+ responses:
+ '200':
+ description: A successful response.
+ schema:
+ $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse'
+ default:
+ description: An unexpected error response.
+ schema:
type: object
properties:
- val:
+ 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
- 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:
+ 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:
+ - 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:
+ amino_json:
+ type: string
+ description: >-
+ TxDecodeAminoResponse is the response type for the
+ Service.TxDecodeAmino
+
+ RPC method.
+
+
+ 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
+
+ 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:
+ amino_binary:
+ type: string
+ format: byte
+ description: >-
+ TxDecodeAminoRequest is the request type for the
+ Service.TxDecodeAmino
+
+ RPC method.
+
+
+ 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.
+
+ 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
+
+ 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:
+ $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.
+
+
+ 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
+
+ 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:
+ amino_json:
+ type: string
+ description: >-
+ TxEncodeAminoRequest is the request type for the
+ Service.TxEncodeAmino
+
+ RPC method.
+
+
+ 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
+
+ length prefixed in order to separate data from multiple
+ message executions.
+
+ Deprecated. This field is still populated, but prefer
+ msg_response instead
+
+ because it also contains the Msg response typeURL.
+ log:
+ type: string
+ description: >-
+ Log contains the log information from message or handler
+ execution.
+ events:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ type: string
+ attributes:
+ type: array
+ items:
+ type: object
+ properties:
+ key:
+ type: string
+ value:
+ type: string
+ index:
+ type: boolean
+ 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 contains a slice of Event objects that were emitted
+ during message
+
+ 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
+
+ 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:
+ 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:
+ $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
+ 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.AuditedProvider:
+ 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
+ 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: State 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 checksum details
+ akash.deployment.v1.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.v1.DeploymentID:
+ type: object
+ properties:
+ owner:
+ type: string
+ dseq:
+ type: string
+ format: uint64
+ title: DeploymentID stores owner and sequence number
+ 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
+ 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: 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
+
+ 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.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.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.Params:
+ type: object
+ properties:
+ min_deposits:
+ 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: Params defines the parameters for the x/deployment module
+ 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: State 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 checksum 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: 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
+
+ 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: State 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 checksum 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: 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
+
+ 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: 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
+
+ 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.QueryParamsResponse:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ min_deposits:
+ 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: Params defines the parameters for the x/deployment module
+ description: QueryParamsResponse is the response type for the Query/Params 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.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.v1.AccountID:
+ type: object
+ properties:
+ scope:
+ type: string
+ xid:
+ type: string
+ title: AccountID is the account identifier
+ 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.
+ 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.
+ akash.deployment.v1beta4.MsgUpdateParamsResponse:
+ type: object
+ description: |-
+ MsgUpdateParamsResponse defines the response structure for executing a
+ MsgUpdateParams message.
+
+ Since: akash v1.0.0
+ 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: State defines 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: State defines payment state
+ 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.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:
+ - 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
+ akash.market.v1.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
+ 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
+ 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.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.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:
+ - 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: 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.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: BidState is an enum which refers to state of bid
+ akash.market.v1beta5.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.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:
+ - 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:
+ 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.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.v1beta5.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
+ title: OrderFilters defines flags for order list filter
+ akash.market.v1beta5.Params:
+ type: object
+ properties:
+ bid_min_deposit:
+ 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.
+ order_max_bids:
+ type: integer
+ format: int64
+ title: Params is the params for the x/market module
+ 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:
+ - 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: 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:
+ - 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: 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:
+ - 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:
+ 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: State defines 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:
+ - 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:
+ 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: State defines 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:
+ - 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:
+ 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:
+ - 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:
+ 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.QueryParamsResponse:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ bid_min_deposit:
+ 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.
+ order_max_bids:
+ type: integer
+ format: int64
+ title: Params is the params for the x/market module
+ description: QueryParamsResponse is the response type for the Query/Params 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.MsgUpdateParamsResponse:
+ type: object
+ description: |-
+ MsgUpdateParamsResponse defines the response structure for executing a
+ MsgUpdateParams message.
+
+ Since: akash v1.0.0
+ 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
+ akash.take.v1.DenomTakeRate:
+ type: object
+ properties:
+ denom:
+ type: string
+ rate:
+ type: integer
+ format: int64
+ title: DenomTakeRate describes take rate for specified denom
+ akash.take.v1.Params:
+ type: object
+ properties:
+ denom_take_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ rate:
+ type: integer
+ format: int64
+ title: DenomTakeRate describes take rate for specified denom
+ title: denom -> % take rate
+ default_take_rate:
+ type: integer
+ format: int64
+ title: Params defines the parameters for the x/take package
+ akash.take.v1.QueryParamsResponse:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ denom_take_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ denom:
+ type: string
+ rate:
+ type: integer
+ format: int64
+ title: DenomTakeRate describes take rate for specified denom
+ title: denom -> % take rate
+ default_take_rate:
+ type: integer
+ format: int64
+ title: Params defines the parameters for the x/take package
+ description: QueryParamsResponse is the response type for the Query/Params RPC method.
+ akash.take.v1.MsgUpdateParamsResponse:
+ type: object
+ description: |-
+ MsgUpdateParamsResponse defines the response structure for executing a
+ MsgUpdateParams message.
+
+ Since: akash v1.0.0
+ 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:
- quantity:
+ header:
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:
+ version:
+ title: basic block info
type: object
properties:
- key:
+ block:
type: string
- value:
+ format: uint64
+ app:
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: 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:
- 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
+ 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.
- AllOf has precedence i.e. if there is at least one entry AnyOf is ignored
- regardless to how many
+ In Tendermint, this type is `bytes`, but in the SDK, we
+ convert it to a Bech32 string
- entries there
+ 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.
- 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:
- 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:
- 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:
+ 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:
- 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:
+ evidence:
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:
+ 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
- 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:
+ 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:
- key:
- type: string
- value:
+ hash:
type: string
- title: Attribute represents key value pair
- title: >-
- Storage stores resource quantity and storage
- attributes
- gpu:
+ 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:
- units:
+ conflicting_block:
type: object
properties:
- val:
- type: string
- format: byte
- title: Unit stores cpu, memory and storage metrics
- attributes:
+ 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:
- 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:
- 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.v1beta3.GroupSpec:
+ 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:
- name:
- type: string
- requirements:
+ 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:
+ 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
- title: all_of all keys in this list must have signed attributes
- any_of:
+ 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: 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:
+ duplicate_vote_evidence:
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:
+ vote_a:
type: object
properties:
- key:
- type: string
- value:
+ type:
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
+ 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.
- 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.
+ - 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.
- NOTE: The amount field is an Dec which implements the custom
- method
+ - 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
- signatures required by gogoproto.
- title: ResourceUnit extends Resources and adds Count along with the Price
- title: GroupSpec stores group specifications
- akash.deployment.v1beta3.QueryDeploymentResponse:
- 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
+ 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:
- 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:
+ conflicting_block:
+ type: object
+ properties:
+ signed_header:
+ type: object
+ properties:
+ header:
type: object
properties:
- key:
+ 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
- value:
+ height:
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:
+ 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:
- key:
- type: string
- value:
+ height:
type: string
- title: Attribute represents key value pair
- title: >-
- Memory stores resource quantity and memory
- attributes
- storage:
- 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
+ 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:
- name:
- type: string
- quantity:
- type: object
- properties:
- val:
- type: string
- format: byte
- title: Unit stores cpu, memory and storage metrics
- attributes:
+ 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: >-
- 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:
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ proposer:
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:
+ format: int64
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
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:
+ 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
- price:
- type: object
- properties:
- denom:
- type: string
- amount:
- type: string
- description: >-
- DecCoin defines a token with a denomination and a
- decimal amount.
-
-
- NOTE: The amount field is an Dec which implements the
- custom method
-
- signatures required by gogoproto.
- title: >-
- ResourceUnit extends Resources and adds Count along with
- the Price
- title: GroupSpec stores group specifications
- created_at:
- type: string
- format: int64
- title: Group stores group id, state and specifications of group
- escrow_account:
+ 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:
- 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:
+ header:
type: object
properties:
- denom:
- type: string
- amount:
- type: string
- description: >-
- DecCoin defines a token with a denomination and a decimal amount.
-
+ 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:
- type: object
- properties:
- denom:
- type: string
- amount:
+ state transition machine.
+ chain_id:
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:
+ height:
type: string
- amount:
+ format: int64
+ time:
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:
+ format: date-time
+ last_block_id:
type: object
properties:
- group_id:
+ hash:
+ type: string
+ format: byte
+ part_set_header:
type: object
properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- gseq:
+ total:
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:
+ hash:
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: 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:
- key:
+ hash:
type: string
- value:
+ 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
- title: Attribute represents key value pair
- title: >-
- Attribute list of attributes tenant expects from
- the provider
- title: PlacementRequirements
- resources:
- type: array
- items:
+ 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
+ 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: >-
- 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:
+ 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
+ secp256k1:
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:
+ 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
+ secp256k1:
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:
+ 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.
-
-
- 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:
+ 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: int64
- title: Group stores group id, state and specifications of group
- escrow_account:
- type: object
- properties:
- id:
- title: unique identifier for this escrow account
+ 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:
- scope:
+ block_id_flag:
type: string
- xid:
+ 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
- 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:
+ format: byte
+ timestamp:
type: string
- amount:
+ 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:
+ 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: >-
- DecCoin defines a token with a denomination and a decimal
- amount.
+ 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: 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.
+ 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.
- title: total coins spent by this account
- settled_at:
- type: string
- format: int64
- title: block height at which this account was last settled
- depositor:
+
+ 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: >-
- bech32 encoded account address of the depositor.
+ 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 depositor is same as the owner, then any incoming coins
- are added to the Balance.
+ URL that describes the type of the serialized message.
- 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.
+ Protobuf library provides support to pack/unpack Any values in
+ the form
- NOTE: The amount field is an Dec which implements the custom
- method
+ of utility functions or additional generated methods of the Any
+ type.
- signatures required by gogoproto.
- title: Account stores state for an escrow account
- title: >-
- QueryDeploymentResponse is response type for the Query/Deployment
- RPC method
- pagination:
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
- was set, its value is undefined otherwise
- description: |-
- PageResponse is to be embedded in gRPC response messages where the
- corresponding request message has used PageRequest.
+ Example 1: Pack and unpack a message in C++.
- message SomeResponse {
- repeated Bar results = 1;
- PageResponse page = 2;
- }
- title: >-
- QueryDeploymentsResponse is response type for the Query/Deployments RPC
- method
- akash.deployment.v1beta3.QueryGroupResponse:
- type: object
- properties:
- group:
- type: object
- properties:
- group_id:
- type: object
- properties:
- owner:
- type: string
- dseq:
- type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- title: >-
- GroupID stores owner, deployment sequence number and group
- sequence number
- state:
- type: string
- enum:
- - invalid
- - open
- - paused
- - insufficient_funds
- - closed
- default: invalid
- description: >-
- - invalid: Prefix should start with 0 in enum. So declaring dummy
- state
- - 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
+ 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);
+ }
+
+ 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":
+ }
- NOTE: The amount field is an Dec which implements the
- custom method
+ If the embedded message type is well-known and has a custom JSON
- signatures required by gogoproto.
- title: >-
- ResourceUnit extends Resources and adds Count along with the
- Price
- title: GroupSpec stores group specifications
- created_at:
+ 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: 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:
+ 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:
- resource:
+ default_node_info:
type: object
properties:
- id:
- type: integer
- format: int64
- cpu:
+ protocol_version:
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:
+ 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:
- 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:
+ 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:
- name:
+ path:
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:
+ 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:
+ address:
+ type: string
+ pub_key:
type: object
properties:
- kind:
+ type_url:
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
+ A URL/resource name that uniquely identifies the type of the
+ serialized
- if field is nil resource is not present in the given data-structure
- count:
- type: integer
- format: int64
- price:
+ 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"
+ }
+ 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:
- denom:
+ next_key:
type: string
- amount:
+ 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
- description: |-
- DecCoin defines a token with a denomination and a decimal amount.
+ format: uint64
+ title: >-
+ total is total number of results available if
+ PageRequest.count_total
- 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:
+ 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:
- id:
- title: unique identifier for this escrow account
+ version:
+ title: basic block info
type: object
properties:
- scope:
+ block:
type: string
- xid:
+ format: uint64
+ app:
type: string
- owner:
+ 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
- title: bech32 encoded account address of the owner of this escrow account
- state:
- title: current state of this escrow account
+ height:
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:
+ format: int64
+ time:
+ type: string
+ format: date-time
+ last_block_id:
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: total coins spent by this account
- settled_at:
+ 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: int64
- title: block height at which this account was last settled
- depositor:
+ 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: >-
- bech32 encoded account address of the depositor.
-
- If depositor is same as the owner, then any incoming coins are added
- to the Balance.
+ proposer_address is the original block proposer address, formatted as
+ a Bech32 string.
- 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.
+ In Tendermint, this type is `bytes`, but in the SDK, we convert it to
+ a Bech32 string
- 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:
+ for better UX.
+ description: Header defines the structure of a Tendermint block header.
+ cosmos.base.tendermint.v1beta1.Module:
type: object
properties:
- scope:
+ path:
type: string
- xid:
+ title: module path
+ version:
type: string
- title: AccountID is the account identifier
- cosmos.base.v1beta1.DecCoin:
+ title: module version
+ sum:
+ type: string
+ title: checksum
+ title: Module is the type for VersionInfo
+ cosmos.base.tendermint.v1beta1.ProofOp:
type: object
properties:
- denom:
+ type:
type: string
- amount:
+ key:
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
+ format: byte
+ data:
+ type: string
+ format: byte
description: >-
- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response
- type.
- cosmos.base.v1beta1.Coin:
+ 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.
+ cosmos.base.tendermint.v1beta1.ProofOps:
type: object
properties:
- denom:
- type: string
- amount:
- type: string
- description: |-
- Coin defines a token with a denomination and an amount.
+ 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
- NOTE: The amount field is an Int which implements the custom method
- signatures required by gogoproto.
- akash.escrow.v1beta3.FractionalPayment:
+ 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.
+ cosmos.base.tendermint.v1beta1.Validator:
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:
+ address:
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:
+ pub_key:
type: object
properties:
- denom:
- type: string
- amount:
+ type_url:
type: string
- description: |-
- DecCoin defines a token with a denomination and a decimal amount.
+ description: >-
+ A URL/resource name that uniquely identifies the type of the
+ serialized
- 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.
+ protocol buffer message. This string must contain at least
- 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.
+ one "/" character. The last segment of the URL's path must
+ represent
- 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:
+ 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
- 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
+ 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: 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.
+ `Any` contains an arbitrary serialized protocol buffer message along
+ with a
- NOTE: The amount field is an Dec which implements the custom method
- signatures required by gogoproto.
- created_at:
+ 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
- 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:
+ proposer_priority:
+ type: string
+ format: int64
+ description: Validator is the type for the validator-set.
+ cosmos.base.tendermint.v1beta1.VersionInfo:
type: object
properties:
- owner:
+ name:
type: string
- dseq:
+ app_name:
type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ version:
type: string
- state:
+ git_commit:
type: string
- title: BidFilters defines flags for bid list filter
- akash.market.v1beta3.BidID:
- type: object
- properties:
- owner:
+ build_tags:
type: string
- dseq:
+ go_version:
type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ 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
- description: |-
- BidID stores owner and all other seq numbers
- A successful bid becomes a Lease(ID).
- akash.market.v1beta3.Lease:
+ title: 'Since: cosmos-sdk 0.43'
+ description: VersionInfo is the type for the GetNodeInfoResponse message.
+ tendermint.crypto.PublicKey:
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:
+ ed25519:
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:
+ 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:
- denom:
+ p2p:
type: string
- amount:
+ format: uint64
+ block:
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:
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ default_node_id:
type: string
- format: int64
- closed_on:
+ listen_addr:
type: string
- format: int64
- title: Lease stores LeaseID, state of lease and price
- akash.market.v1beta3.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
- akash.market.v1beta3.LeaseFilters:
- type: object
- properties:
- owner:
+ network:
type: string
- dseq:
+ version:
type: string
- format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ channels:
type: string
- state:
+ format: byte
+ moniker:
type: string
- title: LeaseFilters defines flags for lease list filter
- akash.market.v1beta3.LeaseID:
+ other:
+ type: object
+ properties:
+ tx_index:
+ type: string
+ rpc_address:
+ type: string
+ tendermint.p2p.DefaultNodeInfoOther:
type: object
properties:
- owner:
+ tx_index:
type: string
- dseq:
+ rpc_address:
+ type: string
+ tendermint.p2p.ProtocolVersion:
+ type: object
+ properties:
+ p2p:
type: string
format: uint64
- gseq:
- type: integer
- format: int64
- oseq:
- type: integer
- format: int64
- provider:
+ block:
type: string
- title: LeaseID stores bid details of lease
- akash.market.v1beta3.Order:
+ format: uint64
+ app:
+ type: string
+ format: uint64
+ tendermint.types.Block:
type: object
properties:
- order_id:
+ 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
- dseq:
+ height:
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:
+ time:
type: string
- requirements:
+ format: date-time
+ last_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:
+ 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:
- resource:
+ duplicate_vote_evidence:
type: object
properties:
- id:
- type: integer
- format: int64
- cpu:
+ vote_a:
type: object
properties:
- units:
+ 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:
- val:
+ 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
+ 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:
- quantity:
+ 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:
- val:
+ 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: 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:
+ format: int64
+ common_height:
+ type: string
+ format: int64
+ byzantine_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:
- 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:
+ secp256k1:
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
+ format: byte
title: >-
- This describes how the endpoint is implemented
- when the lease is deployed
- sequence_number:
- type: integer
+ PublicKey defines the keys available for use with
+ Tendermint Validators
+ voting_power:
+ type: string
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:
+ proposer_priority:
+ type: string
+ format: int64
+ total_voting_power:
type: string
- amount:
+ format: int64
+ timestamp:
type: string
+ format: date-time
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:
+ 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.
+ tendermint.types.BlockID:
+ type: object
+ properties:
+ hash:
type: string
- format: int64
- title: Order stores orderID, state of order and other details
- akash.market.v1beta3.Order.State:
+ format: byte
+ part_set_header:
+ type: object
+ properties:
+ total:
+ type: integer
+ format: int64
+ hash:
+ type: string
+ format: byte
+ title: PartsetHeader
+ title: BlockID
+ tendermint.types.BlockIDFlag:
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:
+ - 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
- state:
- type: string
- title: OrderFilters defines flags for order list filter
- akash.market.v1beta3.OrderID:
+ 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
- title: OrderID stores owner and all other seq numbers
- akash.market.v1beta3.QueryBidResponse:
+ 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.
+ tendermint.types.Data:
type: object
properties:
- bid:
+ 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:
+ vote_a:
type: object
properties:
- bid_id:
+ 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:
- 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).
- state:
+ 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:
- - 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:
+ - 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:
- 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:
+ 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: int64
- title: Bid stores BidID, state of bid and price
- escrow_account:
+ 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.
+ tendermint.types.Evidence:
+ type: object
+ properties:
+ duplicate_vote_evidence:
type: object
properties:
- id:
- title: unique identifier for this escrow account
+ vote_a:
type: object
properties:
- scope:
+ type:
type: string
- xid:
+ 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
- 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:
+ 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
- amount:
+ format: date-time
+ validator_address:
+ type: string
+ 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: unspent coins received from the owner's wallet
- transferred:
+ consensus.
+ vote_b:
type: object
properties:
- denom:
+ type:
type: string
- amount:
+ 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: >-
- 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:
+ format: int64
+ round:
+ type: integer
+ format: int32
+ block_id:
type: object
properties:
- key:
- type: string
- value:
+ 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
+ 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": ,
+ "lastName":
+ }
- (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom'
- with
+ If the embedded message type is well-known and has a custom JSON
- 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
+ representation, that representation will be embedded adding a
+ field
- raise the base_denom to in order to equal the given DenomUnit's
- denom
+ `value` which holds the custom JSON in addition to the `@type`
- 1 denom = 1^exponent base_denom
+ field. Example (for message [google.protobuf.Duration][]):
- (e.g. with a base_denom of uatom, one can create a DenomUnit of
- 'atom' with
+ {
+ "@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
- exponent = 6, thus: 1 atom = 10^6 uatom).
- aliases:
+ 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: >-
+ 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: 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
+ type: object
+ properties:
+ denom:
+ type: string
+ amount:
+ type: string
+ description: >-
+ Coin defines a token with a denomination and an amount.
- be the same as the display.
- uri:
- type: string
- description: >-
- URI to a document (on or off-chain) that contains additional
- information. Optional.
- uri_hash:
- type: string
- description: >-
- URIHash is a sha256 hash of a document pointed by URI. It's used to
- verify that
- the document didn't change. Optional.
- description: |-
- Metadata represents a struct that describes
- a basic token.
- cosmos.bank.v1beta1.Params:
- type: object
- properties:
- send_enabled:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- enabled:
- type: boolean
- format: boolean
- description: >-
- SendEnabled maps coin denom to a send_enabled status (whether a
- denom is
+ NOTE: The amount field is an Int which implements the custom
+ method
- sendable).
- default_send_enabled:
- type: boolean
- format: 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:
+ signatures required by gogoproto.
+ description: total_deposit is the total deposit on the proposal.
+ voting_start_time:
type: string
- amount:
+ format: date-time
+ description: voting_start_time is the starting time to vote on a proposal.
+ voting_end_time:
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.
+ 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
@@ -33772,9 +55924,10 @@ definitions:
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
@@ -33783,248 +55936,157 @@ definitions:
PageRequest.count_total
was set, its value is undefined otherwise
- description: >-
- QueryAllBalancesResponse is the response type for the Query/AllBalances
- RPC
-
+ description: |-
+ QueryProposalsResponse is the response type for the Query/Proposals RPC
method.
- cosmos.bank.v1beta1.QueryBalanceResponse:
+ cosmos.gov.v1beta1.QueryTallyResultResponse:
type: object
properties:
- balance:
+ tally:
+ description: tally defines the requested tally.
type: object
properties:
- denom:
+ 'yes':
type: string
- amount:
+ description: yes is the number of yes votes on a proposal.
+ abstain:
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: 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.
description: >-
- QueryBalanceResponse is the response type for the Query/Balance RPC
+ QueryTallyResultResponse is the response type for the Query/Tally RPC
method.
- cosmos.bank.v1beta1.QueryDenomMetadataResponse:
+ cosmos.gov.v1beta1.QueryVoteResponse:
type: object
properties:
- metadata:
+ vote:
type: object
properties:
- description:
- type: string
- denom_units:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- description: >-
- denom represents the string name of the given denom unit
- (e.g uatom).
- exponent:
- type: integer
- format: int64
- description: >-
- exponent represents power of 10 exponent that one must
-
- raise the base_denom to in order to equal the given
- DenomUnit's denom
-
- 1 denom = 1^exponent base_denom
-
- (e.g. with a base_denom of uatom, one can create a DenomUnit
- of 'atom' with
-
- exponent = 6, thus: 1 atom = 10^6 uatom).
- aliases:
- type: array
- items:
- type: string
- title: aliases is a list of string aliases for the given denom
- description: |-
- DenomUnit represents a struct that describes a given
- denomination unit of the basic token.
- title: denom_units represents the list of DenomUnit's for a given coin
- base:
- type: string
- description: >-
- base represents the base denom (should be the DenomUnit with
- exponent = 0).
- display:
- type: string
- description: |-
- display indicates the suggested denom that should be
- displayed in clients.
- name:
- type: string
- title: 'name defines the name of the token (eg: Cosmos Atom)'
- symbol:
- type: string
- description: >-
- symbol is the token symbol usually shown on exchanges (eg: ATOM).
- This can
-
- be the same as the display.
- uri:
+ proposal_id:
type: string
- description: >-
- URI to a document (on or off-chain) that contains additional
- information. Optional.
- uri_hash:
+ 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: >-
- URIHash is a sha256 hash of a document pointed by URI. It's used
- to verify that
+ Deprecated: Prefer to use `options` instead. This field is set in
+ queries
- 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
+ if and only if `len(options) == 1` and that option has weight 1.
+ In all
- 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:
+ other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ options:
+ type: array
+ items:
type: object
properties:
- denom:
+ option:
+ description: >-
+ option defines the valid vote options, it must not contain
+ duplicate vote options.
type: string
- amount:
+ 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: >-
- 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
+ description: weight is the vote weight associated with the vote option.
+ description: |-
+ WeightedVoteOption defines a unit of vote for vote split.
- balance of the denominated token.
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ Since: cosmos-sdk 0.43
+ description: |-
+ options is the weighted vote options.
- was set, its value is undefined otherwise
- description: >-
- QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC
- query.
- cosmos.bank.v1beta1.QueryDenomsMetadataResponse:
+ 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: QueryVoteResponse is the response type for the Query/Vote RPC method.
+ cosmos.gov.v1beta1.QueryVotesResponse:
type: object
properties:
- metadatas:
+ votes:
type: array
items:
type: object
properties:
- description:
- type: string
- denom_units:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- description: >-
- denom represents the string name of the given denom unit
- (e.g uatom).
- exponent:
- type: integer
- format: int64
- description: >-
- exponent represents power of 10 exponent that one must
-
- raise the base_denom to in order to equal the given
- DenomUnit's denom
-
- 1 denom = 1^exponent base_denom
-
- (e.g. with a base_denom of uatom, one can create a
- DenomUnit of 'atom' with
-
- exponent = 6, thus: 1 atom = 10^6 uatom).
- aliases:
- type: array
- items:
- type: string
- title: aliases is a list of string aliases for the given denom
- description: |-
- DenomUnit represents a struct that describes a given
- denomination unit of the basic token.
- title: denom_units represents the list of DenomUnit's for a given coin
- base:
- type: string
- description: >-
- base represents the base denom (should be the DenomUnit with
- exponent = 0).
- display:
- type: string
- description: |-
- display indicates the suggested denom that should be
- displayed in clients.
- name:
- type: string
- title: 'name defines the name of the token (eg: Cosmos Atom)'
- symbol:
+ proposal_id:
type: string
- description: >-
- symbol is the token symbol usually shown on exchanges (eg:
- ATOM). This can
-
- be the same as the display.
- uri:
+ 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: >-
- URI to a document (on or off-chain) that contains additional
- information. Optional.
- uri_hash:
+ Deprecated: Prefer to use `options` instead. This field is set
+ in queries
+
+ if and only if `len(options) == 1` and that option has weight 1.
+ In all
+
+ other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
type: string
- description: >-
- URIHash is a sha256 hash of a document pointed by URI. It's used
- to verify that
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ options:
+ type: array
+ items:
+ type: object
+ properties:
+ option:
+ 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.
- the document didn't change. Optional.
+ Since: cosmos-sdk 0.43
+ description: |-
+ options is the weighted vote options.
+
+ Since: cosmos-sdk 0.43
description: |-
- Metadata represents a struct that describes
- a basic token.
- description: >-
- metadata provides the client information for all the registered
- tokens.
+ 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
@@ -34032,9 +56094,10 @@ definitions:
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
@@ -34043,61 +56106,161 @@ definitions:
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:
+ description: QueryVotesResponse is the response type for the Query/Votes RPC method.
+ cosmos.gov.v1beta1.TallyParams:
type: object
properties:
- params:
- type: object
- properties:
- send_enabled:
- type: array
- items:
- type: object
- properties:
- denom:
- type: string
- enabled:
- type: boolean
- format: boolean
+ 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: TallyParams defines the params for tallying votes on governance proposals.
+ cosmos.gov.v1beta1.TallyResult:
+ 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.
+ description: TallyResult defines a standard tally for a governance proposal.
+ cosmos.gov.v1beta1.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.
+ option:
+ description: >-
+ Deprecated: Prefer to use `options` instead. This field is set in
+ queries
+
+ if and only if `len(options) == 1` and that option has weight 1. In
+ all
+
+ other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ options:
+ type: array
+ items:
+ type: object
+ properties:
+ option:
description: >-
- SendEnabled maps coin denom to a send_enabled status (whether a
- denom is
+ 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.
- sendable).
- default_send_enabled:
- type: boolean
- format: boolean
- description: Params defines the parameters for the bank module.
+ 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.
+ cosmos.gov.v1beta1.VoteOption:
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
description: >-
- QueryParamsResponse defines the response type for querying x/bank
- parameters.
- cosmos.bank.v1beta1.QuerySupplyOfResponse:
+ 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.
+ cosmos.gov.v1beta1.VotingParams:
type: object
properties:
- amount:
- type: object
- properties:
- denom:
- type: string
- amount:
- type: string
- description: |-
- Coin defines a token with a denomination and an amount.
+ voting_period:
+ type: string
+ description: Duration of the voting period.
+ description: VotingParams defines the params for voting on governance proposals.
+ cosmos.gov.v1beta1.WeightedVoteOption:
+ 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.
- 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:
+ Since: cosmos-sdk 0.43
+ cosmos.gov.v1.Deposit:
type: object
properties:
- supply:
+ 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
@@ -34111,1342 +56274,1707 @@ definitions:
NOTE: The amount field is an Int which implements the custom method
signatures required by gogoproto.
- title: supply is the supply of the coins
- pagination:
- description: pagination defines the pagination in the response.
- type: object
- properties:
- next_key:
- type: string
- format: byte
- title: |-
- next_key is the key to be passed to PageRequest.key to
- query the next page most efficiently
- total:
- type: string
- format: uint64
- title: >-
- total is total number of results available if
- PageRequest.count_total
+ description: amount to be deposited by depositor.
+ description: |-
+ Deposit defines an amount deposited by an account address to an active
+ proposal.
+ cosmos.gov.v1.DepositParams:
+ 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.
- was set, its value is undefined otherwise
- title: >-
- QueryTotalSupplyResponse is the response type for the Query/TotalSupply
- RPC
+ 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
- method
- cosmos.bank.v1beta1.SendEnabled:
+ months.
+ description: DepositParams defines the params for deposits on governance proposals.
+ cosmos.gov.v1.Params:
type: object
properties:
- denom:
+ 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
- enabled:
- type: boolean
- format: boolean
+ description: >-
+ Maximum period for Atom holders to deposit on a proposal. Initial
+ value: 2
+
+ months.
+ voting_period:
+ type: string
+ description: Duration of the voting period.
+ quorum:
+ type: string
+ description: |-
+ Minimum percentage of total stake needed to vote for a result to be
+ considered valid.
+ threshold:
+ type: string
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass. Default value:
+ 0.5.
+ veto_threshold:
+ type: string
+ 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: |-
- SendEnabled maps coin denom to a send_enabled status (whether a denom is
- sendable).
- cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse:
+ Params defines the parameters for the x/gov module.
+
+ Since: cosmos-sdk 0.47
+ cosmos.gov.v1.Proposal:
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,
+ id:
+ type: string
+ 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
- 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
+
+ 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)) {
+ ...
+ }
- NOTE: not all txs here are valid. We're just agreeing on the
- order first.
+ Example 2: Pack and unpack a message in Java.
- 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.
+ Foo foo = ...;
+ Any any = Any.pack(foo);
+ ...
+ if (any.is(Foo.class)) {
+ foo = any.unpack(Foo.class);
+ }
- - 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
+ Example 3: Pack and unpack a message in Python.
- 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.
+ foo = Foo(...)
+ any = Any()
+ any.Pack(foo)
+ ...
+ if any.Is(Foo.DESCRIPTOR):
+ any.Unpack(foo)
+ ...
- - 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
+ Example 4: Pack and unpack a message in Go
- 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,
+ foo := &pb.Foo{...}
+ any, err := anypb.New(foo)
+ if err != nil {
+ ...
+ }
+ ...
+ foo := &pb.Foo{}
+ if err := any.UnmarshalTo(foo); err != nil {
+ ...
+ }
- including all blockchain data structures
- and the rules of the application's
+ The pack methods provided by protobuf library will by default use
- 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.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
+ 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: 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
+ 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.
+ cosmos.gov.v1.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.v1.QueryDepositResponse:
+ type: object
+ properties:
+ 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.
+ cosmos.gov.v1.QueryDepositsResponse:
+ 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:
- hash:
+ denom:
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.
+ 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: >-
- GetBlockByHeightResponse is the response type for the
- Query/GetBlockByHeight RPC method.
- cosmos.base.tendermint.v1beta1.GetLatestBlockResponse:
+ QueryDepositsResponse is the response type for the Query/Deposits RPC
+ method.
+ cosmos.gov.v1.QueryParamsResponse:
type: object
properties:
- block_id:
+ voting_params:
+ description: |-
+ Deprecated: Prefer to use `params` instead.
+ voting_params defines the parameters related to voting.
type: object
properties:
- hash:
+ voting_period:
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:
+ 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:
- 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,
+ 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.
- 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:
+ 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: |-
+ Deprecated: Prefer to use `params` instead.
+ tally_params defines the parameters related to tally.
+ type: object
+ properties:
+ quorum:
+ type: string
+ description: >-
+ Minimum percentage of total stake needed to vote for a result to
+ be
+
+ considered valid.
+ threshold:
+ type: string
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass. Default
+ value: 0.5.
+ veto_threshold:
+ type: string
+ 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:
+ 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.
+ voting_period:
+ type: string
+ description: Duration of the voting period.
+ quorum:
+ type: string
+ description: >-
+ Minimum percentage of total stake needed to vote for a result to
+ be
+ considered valid.
+ threshold:
+ type: string
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass. Default
+ value: 0.5.
+ veto_threshold:
+ type: string
+ 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.
+ cosmos.gov.v1.QueryProposalResponse:
+ type: object
+ properties:
+ 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:
+ 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 are the arbitrary messages to be executed if the proposal
+ passes.
+ 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
+
+ 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
- format: byte
- last_results_hash:
+ description: yes_count is the number of yes votes on a proposal.
+ abstain_count:
type: string
- format: byte
- evidence_hash:
+ description: abstain_count is the number of abstain votes on a proposal.
+ no_count:
type: string
- format: byte
- title: consensus info
- proposer_address:
+ description: no_count is the number of no votes on a proposal.
+ no_with_veto_count:
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.
+ 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: 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.
+ NOTE: The amount field is an Int which implements the custom
+ method
- - 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
+ 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.
+ cosmos.gov.v1.QueryProposalsResponse:
+ type: object
+ properties:
+ proposals:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ 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
- 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
+ `path/google.protobuf.Duration`). The name should be in a
+ canonical 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
- 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:
+ (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
+ 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: 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:
- hash:
+ denom:
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.
+ 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: 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: proposals defines all the requested governance proposals.
+ 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: |-
+ QueryProposalsResponse is the response type for the Query/Proposals RPC
+ method.
+ cosmos.gov.v1.QueryTallyResultResponse:
+ type: object
+ properties:
+ tally:
+ description: tally defines the requested tally.
+ 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: >-
- Commit contains the evidence that a block was committed by a set
- of validators.
+ no_with_veto_count is the number of no with veto votes on a
+ proposal.
description: >-
- GetLatestBlockResponse is the response type for the Query/GetLatestBlock
- RPC method.
- cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse:
+ QueryTallyResultResponse is the response type for the Query/Tally RPC
+ method.
+ cosmos.gov.v1.QueryVoteResponse:
type: object
properties:
- block_height:
- type: string
- format: int64
- validators:
+ 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.
+ cosmos.gov.v1.QueryVotesResponse:
+ type: object
+ properties:
+ votes:
type: array
items:
type: object
properties:
- address:
+ proposal_id:
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).
-
+ 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:
+ 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
- In practice, teams usually precompile into the binary all
- types that they
+ was set, its value is undefined otherwise
+ description: QueryVotesResponse is the response type for the Query/Votes RPC method.
+ cosmos.gov.v1.TallyParams:
+ type: object
+ properties:
+ quorum:
+ type: string
+ description: |-
+ Minimum percentage of total stake needed to vote for a result to be
+ considered valid.
+ threshold:
+ type: string
+ description: >-
+ Minimum proportion of Yes votes for proposal to pass. Default value:
+ 0.5.
+ veto_threshold:
+ type: string
+ description: |-
+ Minimum value of Veto votes to Total votes ratio for proposal to be
+ vetoed. Default value: 1/3.
+ description: TallyParams defines the params for tallying votes on governance proposals.
+ cosmos.gov.v1.TallyResult:
+ 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.
+ description: TallyResult defines a standard tally for a governance proposal.
+ cosmos.gov.v1.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.
+ cosmos.gov.v1.VoteOption:
+ type: string
+ enum:
+ - VOTE_OPTION_UNSPECIFIED
+ - VOTE_OPTION_YES
+ - VOTE_OPTION_ABSTAIN
+ - VOTE_OPTION_NO
+ - VOTE_OPTION_NO_WITH_VETO
+ default: VOTE_OPTION_UNSPECIFIED
+ description: >-
+ VoteOption enumerates the valid vote options for a given governance
+ proposal.
- expect it to use in the context of Any. However, for URLs
- which use the
+ - 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.
+ cosmos.gov.v1.VotingParams:
+ type: object
+ properties:
+ voting_period:
+ type: string
+ description: Duration of the voting period.
+ description: VotingParams defines the params for voting on governance proposals.
+ cosmos.gov.v1.WeightedVoteOption:
+ 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.
+ cosmos.mint.v1beta1.Params:
+ type: object
+ properties:
+ mint_denom:
+ type: string
+ title: type of coin to mint
+ inflation_rate_change:
+ type: string
+ title: maximum annual change in inflation rate
+ inflation_max:
+ type: string
+ title: maximum inflation rate
+ inflation_min:
+ type: string
+ title: minimum inflation rate
+ goal_bonded:
+ type: string
+ title: goal of percent bonded atoms
+ blocks_per_year:
+ type: string
+ format: uint64
+ title: expected blocks per year
+ description: Params defines the parameters for the x/mint module.
+ cosmos.mint.v1beta1.QueryAnnualProvisionsResponse:
+ 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.
+ cosmos.mint.v1beta1.QueryInflationResponse:
+ 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.
+ cosmos.mint.v1beta1.QueryParamsResponse:
+ type: object
+ properties:
+ params:
+ description: params defines the parameters of the module.
+ type: object
+ properties:
+ mint_denom:
+ type: string
+ title: type of coin to mint
+ inflation_rate_change:
+ type: string
+ title: maximum annual change in inflation rate
+ inflation_max:
+ type: string
+ title: maximum inflation rate
+ inflation_min:
+ type: string
+ title: minimum inflation rate
+ goal_bonded:
+ type: string
+ title: goal of percent bonded atoms
+ blocks_per_year:
+ type: string
+ format: uint64
+ title: expected blocks per year
+ description: QueryParamsResponse is the response type for the Query/Params RPC method.
+ cosmos.params.v1beta1.ParamChange:
+ type: object
+ properties:
+ subspace:
+ type: string
+ key:
+ type: string
+ value:
+ type: string
+ description: |-
+ ParamChange defines an individual parameter change, for use in
+ ParameterChangeProposal.
+ cosmos.params.v1beta1.QueryParamsResponse:
+ type: object
+ properties:
+ param:
+ description: param defines the queried parameter.
+ type: object
+ properties:
+ subspace:
+ type: string
+ key:
+ type: string
+ value:
+ type: string
+ description: QueryParamsResponse is response type for the Query/Params RPC method.
+ cosmos.params.v1beta1.QuerySubspacesResponse:
+ type: object
+ properties:
+ subspaces:
+ type: array
+ items:
+ type: object
+ properties:
+ subspace:
+ type: string
+ keys:
+ type: array
+ items:
+ type: string
+ description: >-
+ Subspace defines a parameter subspace name and all the keys that
+ exist for
- scheme `http`, `https`, or no scheme, one can optionally set
- up a type
+ the subspace.
- server that maps type URLs to message definitions as
- follows:
+ Since: cosmos-sdk 0.46
+ description: |-
+ QuerySubspacesResponse defines the response types for querying for all
+ registered subspaces and all keys for a subspace.
- * If no scheme is provided, `https` is assumed.
+ Since: cosmos-sdk 0.46
+ cosmos.params.v1beta1.Subspace:
+ type: object
+ properties:
+ subspace:
+ type: string
+ keys:
+ type: array
+ items:
+ type: string
+ description: |-
+ Subspace defines a parameter subspace name and all the keys that exist for
+ the subspace.
- * 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.)
+ Since: cosmos-sdk 0.46
+ cosmos.slashing.v1beta1.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.
+ cosmos.slashing.v1beta1.QueryParamsResponse:
+ 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
+ cosmos.slashing.v1beta1.QuerySigningInfoResponse:
+ 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
- Note: this functionality is not currently available in the
- official
+ in a block and may have signed a precommit or not. This in
+ conjunction with the
- protobuf release, and it is not used for type URLs beginning
- with
+ `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
- type.googleapis.com.
+ 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
- Schemes other than `http`, `https` (or the empty scheme)
- might be
+ 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
- used with implementation specific semantics.
- value:
- type: string
- format: byte
- description: >-
- Must be a valid serialized protocol buffer of the above
- specified type.
+ method
+ cosmos.slashing.v1beta1.QuerySigningInfosResponse:
+ 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: >-
- `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`
+ Index which is incremented each time the validator was a bonded
- field. Example (for message [google.protobuf.Duration][]):
+ in a block and may have signed a precommit or not. This in
+ conjunction with the
- {
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "1.212s"
- }
- voting_power:
+ `SignedBlocksWindow` param determines the index in the
+ `MissedBlocksBitArray`.
+ jailed_until:
type: string
- format: int64
- proposer_priority:
+ 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: Validator is the type for the validator-set.
+ description: >-
+ A counter kept to avoid unnecessary array reads.
+
+ Note that `Sum(MissedBlocksBitArray)` always equals
+ `MissedBlocksCounter`.
+ description: >-
+ ValidatorSigningInfo defines a validator's signing info for
+ monitoring their
+
+ liveness activity.
+ title: info is the signing info of all validators
pagination:
- description: pagination defines an pagination for 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
@@ -35455,106 +57983,291 @@ definitions:
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: >-
+ QuerySigningInfosResponse is the response type for the Query/SigningInfos
+ RPC
+
+ method
+ cosmos.slashing.v1beta1.ValidatorSigningInfo:
+ type: object
+ properties:
+ address:
+ type: string
+ start_height:
+ type: string
+ format: int64
+ title: Height at which validator was first a candidate OR was unjailed
+ index_offset:
+ type: string
+ format: int64
+ description: >-
+ Index which is incremented each time the validator was a bonded
+
+ in a block and may have signed a precommit or not. This in conjunction
+ with the
+
+ `SignedBlocksWindow` param determines the index in the
+ `MissedBlocksBitArray`.
+ jailed_until:
+ type: string
+ format: date-time
+ description: >-
+ Timestamp until which the validator is jailed due to liveness
+ downtime.
+ tombstoned:
+ type: boolean
+ 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: >-
- GetLatestValidatorSetResponse is the response type for the
- Query/GetValidatorSetByHeight RPC method.
- cosmos.base.tendermint.v1beta1.GetNodeInfoResponse:
+ ValidatorSigningInfo defines a validator's signing info for monitoring
+ their
+
+ liveness activity.
+ cosmos.staking.v1beta1.BondStatus:
+ type: string
+ enum:
+ - BOND_STATUS_UNSPECIFIED
+ - BOND_STATUS_UNBONDED
+ - BOND_STATUS_UNBONDING
+ - BOND_STATUS_BONDED
+ default: BOND_STATUS_UNSPECIFIED
+ description: |-
+ BondStatus is the status of a validator.
+
+ - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.
+ - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.
+ - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.
+ - BOND_STATUS_BONDED: BONDED defines a validator that is bonded.
+ cosmos.staking.v1beta1.Commission:
type: object
properties:
- default_node_info:
+ commission_rates:
+ description: >-
+ commission_rates defines the initial commission rates to be used for
+ creating a validator.
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:
+ rate:
type: string
- listen_addr:
+ description: rate is the commission rate charged to delegators, as a fraction.
+ max_rate:
type: string
- network:
+ 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.
+ description: Commission defines commission parameters for a given validator.
+ cosmos.staking.v1beta1.CommissionRates:
+ 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.
+ description: >-
+ CommissionRates defines the initial commission rates to be used for
+ creating
+
+ a validator.
+ cosmos.staking.v1beta1.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.
+ cosmos.staking.v1beta1.DelegationResponse:
+ 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.
+ cosmos.staking.v1beta1.Description:
+ 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.
+ description: Description defines a validator description.
+ cosmos.staking.v1beta1.HistoricalInfo:
+ 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
- channels:
+ height:
type: string
- format: byte
- moniker:
+ format: int64
+ time:
type: string
- other:
+ format: date-time
+ last_block_id:
+ title: prev block info
type: object
properties:
- tx_index:
- type: string
- rpc_address:
+ hash:
type: string
- application_version:
- type: object
- properties:
- name:
+ 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
- app_name:
+ format: byte
+ title: hashes of block data
+ data_hash:
type: string
- version:
+ format: byte
+ validators_hash:
type: string
- git_commit:
+ format: byte
+ title: hashes from the app output from the prev block
+ next_validators_hash:
type: string
- build_tags:
+ format: byte
+ consensus_hash:
type: string
- go_version:
+ format: byte
+ app_hash:
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:
+ format: byte
+ last_results_hash:
type: string
- description: VersionInfo is the type for the GetNodeInfoResponse message.
- description: >-
- GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC
- method.
- cosmos.base.tendermint.v1beta1.GetSyncingResponse:
- type: object
- properties:
- syncing:
- type: boolean
- format: 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:
+ 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:
- address:
+ operator_address:
type: string
- pub_key:
+ description: >-
+ operator_address defines the address of the validator's
+ operator; bech encoded in JSON.
+ consensus_pubkey:
type: object
properties:
type_url:
@@ -35653,7 +58366,7 @@ definitions:
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()
@@ -35663,13 +58376,16 @@ definitions:
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 {
...
}
@@ -35690,7 +58406,6 @@ definitions:
JSON
- ====
The JSON representation of an `Any` value uses the regular
@@ -35723,1115 +58438,1084 @@ definitions:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
- voting_power:
+ 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
- format: int64
- proposer_priority:
+ enum:
+ - BOND_STATUS_UNSPECIFIED
+ - BOND_STATUS_UNBONDED
+ - BOND_STATUS_UNBONDING
+ - BOND_STATUS_BONDED
+ default: BOND_STATUS_UNSPECIFIED
+ tokens:
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.
- 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.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
-
- 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":