diff --git a/public/data/openapi.swagger.yaml b/public/data/openapi.swagger.yaml index 948a3654..16e5d69a 100644 --- a/public/data/openapi.swagger.yaml +++ b/public/data/openapi.swagger.yaml @@ -3,10 +3,354 @@ info: title: ZetaChain - gRPC Gateway docs description: Documentation for the API of ZetaChain. paths: + /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: A successful response. + schema: + 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 + 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 string. + in: path + required: true + type: string + tags: + - Query /cosmos/auth/v1beta1/accounts: get: - summary: Accounts returns all the existing accounts - description: 'Since: cosmos-sdk 0.43' + 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': @@ -96,7 +440,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() @@ -106,13 +450,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 { ... } @@ -128,8 +475,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -277,7 +622,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() @@ -287,13 +632,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 { ... } @@ -309,8 +657,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -483,7 +829,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() @@ -493,13 +839,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 { ... } @@ -515,8 +864,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -643,7 +990,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() @@ -653,13 +1000,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 { ... } @@ -675,8 +1025,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -825,7 +1173,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() @@ -835,13 +1183,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 { ... } @@ -857,8 +1208,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -892,6 +1241,8 @@ paths: 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. @@ -899,6 +1250,15 @@ paths: 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: - Query /cosmos/auth/v1beta1/bech32: @@ -1012,7 +1372,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() @@ -1022,13 +1382,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 { ... } @@ -1044,8 +1407,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1189,7 +1550,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() @@ -1199,13 +1560,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 { ... } @@ -1221,8 +1585,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1373,7 +1735,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() @@ -1383,13 +1745,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 { ... } @@ -1405,8 +1770,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1537,7 +1900,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() @@ -1547,13 +1910,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 { ... } @@ -1569,8 +1935,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1699,7 +2063,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() @@ -1709,13 +2073,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 { ... } @@ -1731,8 +2098,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1855,7 +2220,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() @@ -1865,13 +2230,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 { ... } @@ -1887,8 +2255,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2015,7 +2381,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() @@ -2025,13 +2391,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 { ... } @@ -2047,8 +2416,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2211,7 +2578,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() @@ -2221,13 +2588,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 { ... } @@ -2243,8 +2613,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2280,6 +2648,10 @@ paths: /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': @@ -2470,7 +2842,12 @@ paths: DenomOwners queries for all account addresses that own a particular token denomination. - description: 'Since: cosmos-sdk 0.46' + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 operationId: DenomOwners responses: '200': @@ -2944,6 +3321,14 @@ paths: 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. @@ -2973,12 +3358,157 @@ paths: format: byte tags: - Query + /cosmos/bank/v1beta1/send_enabled: + get: + summary: SendEnabled queries for SendEnabled entries. + description: >- + This query only returns denominations that have specific SendEnabled settings. + + Any denomination that does not have a specific setting will use the default + + params.default_send_enabled, and will not be returned by this query. + + Since: cosmos-sdk 0.47 + operationId: SendEnabled + responses: + '200': + description: 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 + + 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 + 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. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query /cosmos/bank/v1beta1/spendable_balances/{address}: get: - summary: |- - SpendableBalances queries the spenable balance of all coins for a single + summary: >- + SpendableBalances queries the spendable balance of all coins for a single + account. - description: 'Since: cosmos-sdk 0.46' + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 operationId: SpendableBalances responses: '200': @@ -3105,9 +3635,86 @@ paths: type: boolean tags: - Query + /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom: + get: + 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. + schema: + type: object + properties: + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + + querying an account's spendable balance for a specific denom. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + 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/supply: get: summary: TotalSupply queries the total supply of all coins. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: TotalSupply responses: '200': @@ -3233,6 +3840,10 @@ paths: /cosmos/bank/v1beta1/supply/by_denom: get: 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': @@ -3288,11 +3899,11 @@ paths: /cosmos/base/tendermint/v1beta1/abci_query: get: summary: >- - ABCIQuery defines a query handler that supports ABCI queries directly to + ABCIQuery defines a query handler that supports ABCI queries directly to the - the application, bypassing Tendermint completely. The ABCI query must + application, bypassing Tendermint completely. The ABCI query must contain - contain a valid and supported path, including app, custom, p2p, and store. + a valid and supported path, including app, custom, p2p, and store. description: 'Since: cosmos-sdk 0.46' operationId: ABCIQuery responses: @@ -3336,28 +3947,22 @@ paths: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + 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. + 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. + 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. + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. Note: This type is a duplicate of the ResponseQuery proto type defined in @@ -3456,7 +4061,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() @@ -3466,13 +4071,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 { ... } @@ -3488,8 +4096,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -4600,9 +5206,7 @@ paths: field converted to bech32 string. description: >- - GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - - method. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. default: description: An unexpected error response. schema: @@ -4697,7 +5301,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() @@ -4707,13 +5311,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 { ... } @@ -4729,8 +5336,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -5822,9 +6427,7 @@ paths: field converted to bech32 string. description: >- - GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - - RPC method. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. default: description: An unexpected error response. schema: @@ -5919,7 +6522,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() @@ -5929,13 +6532,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 { ... } @@ -5951,8 +6557,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6071,9 +6675,7 @@ paths: 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. + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. default: description: An unexpected error response. schema: @@ -6168,7 +6770,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() @@ -6178,13 +6780,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 { ... } @@ -6200,8 +6805,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6342,7 +6945,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() @@ -6352,13 +6955,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 { ... } @@ -6374,8 +6980,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6508,7 +7112,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() @@ -6518,13 +7122,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 { ... } @@ -6540,8 +7147,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6597,9 +7202,8 @@ paths: 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. + description: >- + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: @@ -6694,7 +7298,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() @@ -6704,13 +7308,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 { ... } @@ -6726,8 +7333,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6910,7 +7515,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() @@ -6920,13 +7525,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 { ... } @@ -6942,8 +7550,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6999,9 +7605,8 @@ paths: 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. + description: >- + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: @@ -7096,7 +7701,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() @@ -7106,13 +7711,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 { ... } @@ -7128,8 +7736,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -7535,8 +8141,16 @@ 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 description: >- @@ -7565,6 +8179,84 @@ paths: 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: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + type: string + tags: + - Query /cosmos/distribution/v1beta1/validators/{validator_address}/commission: get: summary: ValidatorCommission queries accumulated commission for a validator. @@ -7576,7 +8268,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: @@ -7928,7 +8620,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() @@ -7938,13 +8630,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 { ... } @@ -7960,8 +8655,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8109,7 +8802,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() @@ -8119,13 +8812,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 { ... } @@ -8141,8 +8837,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8225,7 +8919,7 @@ paths: type: 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 @@ -8315,7 +9009,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() @@ -8325,13 +9019,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 { ... } @@ -8347,8 +9044,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8475,7 +9170,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() @@ -8485,13 +9180,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 { ... } @@ -8507,8 +9205,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8540,11 +9236,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 @@ -8564,7 +9270,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 @@ -8590,7 +9296,7 @@ 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 @@ -8601,7 +9307,7 @@ paths: description: >- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -8613,7 +9319,7 @@ 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: @@ -8710,7 +9416,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() @@ -8720,13 +9426,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 { ... } @@ -8742,8 +9451,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8803,6 +9510,7 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -8883,7 +9591,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() @@ -8893,13 +9601,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 { ... } @@ -8915,8 +9626,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8948,6 +9657,7 @@ paths: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -8957,24 +9667,6 @@ paths: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -8986,18 +9678,26 @@ paths: 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: @@ -9013,14 +9713,19 @@ paths: 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: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -9137,7 +9842,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() @@ -9147,13 +9852,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 { ... } @@ -9169,8 +9877,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9305,6 +10011,7 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -9385,7 +10092,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() @@ -9395,13 +10102,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 { ... } @@ -9417,8 +10127,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9450,6 +10158,7 @@ paths: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -9459,24 +10168,6 @@ paths: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -9488,18 +10179,25 @@ paths: 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: @@ -9515,12 +10213,16 @@ paths: 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: >- @@ -9619,7 +10321,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() @@ -9629,13 +10331,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 { ... } @@ -9651,8 +10356,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9710,8 +10413,11 @@ 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: @@ -9727,10 +10433,12 @@ paths: 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 @@ -9845,7 +10553,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() @@ -9855,13 +10563,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 { ... } @@ -9877,8 +10588,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9984,8 +10693,11 @@ 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: @@ -10001,6 +10713,7 @@ paths: 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 @@ -10101,7 +10814,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() @@ -10111,13 +10824,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 { ... } @@ -10133,8 +10849,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10195,12 +10909,17 @@ paths: 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: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. default: @@ -10297,7 +11016,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() @@ -10307,13 +11026,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 { ... } @@ -10329,8 +11051,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10388,8 +11108,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 set in queries @@ -10411,6 +11133,8 @@ 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 @@ -10419,26 +11143,23 @@ 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 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: >- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -10553,7 +11274,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() @@ -10563,13 +11284,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 { ... } @@ -10585,8 +11309,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10691,8 +11413,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 set in queries @@ -10714,6 +11438,8 @@ 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 @@ -10722,21 +11448,18 @@ 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 - title: '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. @@ -10837,7 +11560,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() @@ -10847,13 +11570,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 { ... } @@ -10869,8 +11595,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10926,14 +11650,18 @@ paths: type: object properties: voting_params: - description: voting_params defines the parameters related to voting. + description: |- + Deprecated: Prefer to use `params` instead. + voting_params defines the parameters related to voting. type: object 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. + description: |- + Deprecated: Prefer to use `params` instead. + deposit_params defines the parameters related to deposit. type: object properties: min_deposit: @@ -10957,9 +11685,11 @@ 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. + description: |- + Deprecated: Prefer to use `params` instead. + tally_params defines the parameters related to tally. type: object properties: quorum: @@ -10967,6 +11697,54 @@ paths: 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 @@ -10978,6 +11756,10 @@ paths: 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. default: @@ -11074,7 +11856,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() @@ -11084,13 +11866,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 { ... } @@ -11106,8 +11891,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11167,6 +11950,7 @@ paths: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -11249,7 +12033,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() @@ -11259,13 +12043,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 { ... } @@ -11281,8 +12068,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11313,7 +12098,10 @@ paths: "@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 @@ -11323,24 +12111,6 @@ paths: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -11352,18 +12122,26 @@ paths: 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: @@ -11379,18 +12157,35 @@ paths: 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 @@ -11507,7 +12302,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() @@ -11517,13 +12312,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 { ... } @@ -11539,8 +12337,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11675,6 +12471,7 @@ paths: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -11757,7 +12554,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() @@ -11767,13 +12564,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 { ... } @@ -11789,8 +12589,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11821,7 +12619,10 @@ paths: "@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 @@ -11831,24 +12632,6 @@ paths: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -11860,18 +12643,26 @@ paths: 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: @@ -11887,16 +12678,32 @@ paths: 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: >- @@ -11995,7 +12802,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() @@ -12005,13 +12812,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 { ... } @@ -12027,8 +12837,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12086,8 +12894,11 @@ 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: @@ -12103,10 +12914,12 @@ paths: 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 @@ -12221,7 +13034,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() @@ -12231,13 +13044,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 { ... } @@ -12253,8 +13069,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12360,8 +13174,11 @@ 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: @@ -12377,6 +13194,7 @@ paths: 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 @@ -12477,7 +13295,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() @@ -12487,13 +13305,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 { ... } @@ -12509,8 +13330,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12571,12 +13390,18 @@ paths: 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: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. default: @@ -12673,7 +13498,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() @@ -12683,13 +13508,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 { ... } @@ -12705,8 +13533,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12764,14 +13590,18 @@ 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. 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 @@ -12780,18 +13610,13 @@ 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. + description: options is the weighted vote options. metadata: type: string description: >- @@ -12800,7 +13625,7 @@ paths: Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -12915,7 +13740,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() @@ -12925,13 +13750,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 { ... } @@ -12947,8 +13775,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13053,14 +13879,18 @@ 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. 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 @@ -13069,18 +13899,13 @@ 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. + description: options is the weighted vote options. metadata: type: string description: >- @@ -13185,7 +14010,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -13195,13 +14020,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13217,8 +14045,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13685,6 +14511,10 @@ paths: 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': @@ -13851,7 +14681,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() @@ -13861,13 +14691,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 { ... } @@ -13883,8 +14716,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13975,6 +14806,10 @@ paths: /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations: get: 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': @@ -14025,6 +14860,16 @@ paths: 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. @@ -14058,6 +14903,16 @@ paths: 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: @@ -14190,7 +15045,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() @@ -14200,13 +15055,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 { ... } @@ -14222,8 +15080,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14327,6 +15183,10 @@ paths: 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': @@ -14370,6 +15230,16 @@ paths: 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. @@ -14493,7 +15363,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() @@ -14503,13 +15373,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 { ... } @@ -14525,8 +15398,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14619,6 +15490,10 @@ paths: 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': @@ -14715,7 +15590,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() @@ -14725,13 +15600,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 { ... } @@ -14747,8 +15625,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14866,6 +15742,18 @@ paths: 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 @@ -14998,7 +15886,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() @@ -15008,13 +15896,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 { ... } @@ -15030,8 +15921,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15218,7 +16107,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() @@ -15228,13 +16117,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 { ... } @@ -15250,8 +16142,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15369,6 +16259,18 @@ paths: 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 @@ -15482,7 +16384,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() @@ -15492,13 +16394,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 { ... } @@ -15514,8 +16419,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15737,7 +16640,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() @@ -15747,13 +16650,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 { ... } @@ -15769,8 +16675,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15888,6 +16792,18 @@ paths: 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 @@ -16002,7 +16918,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() @@ -16012,13 +16928,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 { ... } @@ -16034,8 +16953,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16209,7 +17126,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() @@ -16219,13 +17136,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 { ... } @@ -16241,8 +17161,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16388,7 +17306,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() @@ -16398,13 +17316,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 { ... } @@ -16420,8 +17341,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16457,6 +17376,10 @@ paths: /cosmos/staking/v1beta1/validators: get: 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': @@ -16553,7 +17476,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() @@ -16563,13 +17486,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 { ... } @@ -16585,8 +17511,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16704,6 +17628,18 @@ paths: 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 @@ -16835,7 +17771,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() @@ -16845,13 +17781,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 { ... } @@ -16867,8 +17806,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17053,7 +17990,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() @@ -17063,13 +18000,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 { ... } @@ -17085,8 +18025,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17204,6 +18142,18 @@ paths: 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 @@ -17316,7 +18266,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() @@ -17326,13 +18276,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 { ... } @@ -17348,8 +18301,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17391,6 +18342,10 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}/delegations: get: 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': @@ -17555,7 +18510,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() @@ -17565,13 +18520,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 { ... } @@ -17587,8 +18545,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17822,7 +18778,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() @@ -17832,13 +18788,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 { ... } @@ -17854,234 +18813,242 @@ paths: 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: delegator_addr - description: delegator_addr defines the delegator address to query for. - in: path - required: true - type: string - tags: - - Query - /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: - get: - summary: |- - UnbondingDelegation queries unbonding info for given validator delegator - pair. - operationId: UnbondingDelegation - responses: - '200': - description: A successful response. - schema: - type: object - properties: - unbond: - type: object - properties: - delegator_address: - type: string - description: >- - delegator_address is the bech32-encoded address of the delegator. - validator_address: - type: string - description: >- - validator_address is the bech32-encoded address of the validator. - entries: - type: array - items: - type: object - properties: - creation_height: - type: string - format: int64 - description: >- - creation_height is the height which the unbonding took place. - completion_time: - type: string - format: date-time - description: >- - completion_time is the unix time for unbonding completion. - initial_balance: - type: string - description: >- - initial_balance defines the tokens initially scheduled to receive at completion. - balance: - type: string - description: balance defines the tokens to receive at completion. - description: >- - UnbondingDelegationEntry defines an unbonding object with relevant metadata. - description: entries are the unbonding delegation entries. - description: >- - UnbondingDelegation stores all of a single delegator's unbonding bonds - - for a single validator in an time-ordered list. - description: >- - QueryDelegationResponse is response type for the Query/UnbondingDelegation - - RPC method. - default: - description: An unexpected error response. - schema: - type: object - properties: - error: - type: string - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - type_url: - type: string - description: >- - A URL/resource name that uniquely identifies the type of the serialized - - 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 + - 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 + + for a single validator in an time-ordered list. + description: >- + QueryDelegationResponse is response type for the Query/UnbondingDelegation + + RPC method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + 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 @@ -18130,6 +19097,10 @@ paths: get: summary: >- ValidatorUnbondingDelegations queries unbonding delegations of a validator. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: ValidatorUnbondingDelegations responses: '200': @@ -18173,6 +19144,16 @@ paths: 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. @@ -18296,7 +19277,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() @@ -18306,13 +19287,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 { ... } @@ -18328,8 +19312,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18417,233 +19399,16 @@ paths: type: boolean tags: - Query - /cosmos/tx/v1beta1/simulate: + /cosmos/tx/v1beta1/decode: post: - summary: Simulate simulates executing a transaction for estimating gas usage. - operationId: Simulate + summary: TxDecode decodes the transaction. + description: 'Since: cosmos-sdk 0.47' + operationId: TxDecode 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 - format: byte - value: - type: string - format: byte - 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 := 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: >- - 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. + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse' default: description: An unexpected error response. schema: @@ -18738,7 +19503,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() @@ -18748,13 +19513,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 { ... } @@ -18770,8 +19538,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18807,18 +19573,38 @@ paths: in: body required: true schema: - $ref: '#/definitions/cosmos.tx.v1beta1.SimulateRequest' + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 tags: - Service - /cosmos/tx/v1beta1/txs: - get: - summary: GetTxsEvent fetches txs by event. - operationId: GetTxsEvent + /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: - $ref: '#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse' + 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: @@ -18913,7 +19699,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() @@ -18923,13 +19709,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 { ... } @@ -18945,8 +19734,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18978,31 +19765,993 @@ 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: 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 + - 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 @@ -19234,7 +20983,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() @@ -19244,13 +20993,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 { ... } @@ -19266,8 +21018,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19320,10 +21070,8 @@ paths: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -19445,7 +21193,213 @@ 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() + 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() @@ -19455,218 +21409,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) - ... - 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: body - in: body - required: true - schema: - type: object - properties: - tx_bytes: - type: string - format: byte - description: tx_bytes is the raw transaction. - mode: - type: string - enum: - - BROADCAST_MODE_UNSPECIFIED - - BROADCAST_MODE_BLOCK - - BROADCAST_MODE_SYNC - - BROADCAST_MODE_ASYNC - default: BROADCAST_MODE_UNSPECIFIED - description: >- - BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - - - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - the tx to be committed in a block. - - - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - a CheckTx execution response only. - - - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - immediately. - description: >- - BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - - RPC method. - tags: - - Service - /cosmos/tx/v1beta1/txs/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 := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19682,8 +21434,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19875,7 +21625,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() @@ -19885,13 +21635,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 { ... } @@ -19907,8 +21660,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20059,7 +21810,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() @@ -20069,13 +21820,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 { ... } @@ -20091,8 +21845,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20240,7 +21992,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() @@ -20250,13 +22002,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 { ... } @@ -20272,8 +22027,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20348,9 +22101,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20437,7 +22188,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() @@ -20447,13 +22198,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 { ... } @@ -20469,8 +22223,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20599,7 +22351,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() @@ -20609,13 +22361,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 { ... } @@ -20631,8 +22386,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20794,7 +22547,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() @@ -20804,13 +22557,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 { ... } @@ -20826,8 +22582,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20992,7 +22746,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() @@ -21002,13 +22756,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 { ... } @@ -21024,8 +22781,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21162,7 +22917,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 +22927,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 { ... } @@ -21194,8 +22952,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21354,7 +23110,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() @@ -21364,13 +23120,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 { ... } @@ -21386,8 +23145,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21584,7 +23341,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() @@ -21594,13 +23351,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 { ... } @@ -21616,8 +23376,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21770,7 +23528,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() @@ -21780,13 +23538,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 { ... } @@ -21802,8 +23563,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21990,7 +23749,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() @@ -22000,13 +23759,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 { ... } @@ -22022,8 +23784,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22176,7 +23936,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() @@ -22186,13 +23946,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 { ... } @@ -22208,8 +23971,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22307,7 +24068,7 @@ paths: type: object properties: info: - description: info is the GroupInfo for the group. + description: info is the GroupInfo of the group. type: object properties: id: @@ -22435,7 +24196,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() @@ -22445,13 +24206,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 { ... } @@ -22467,8 +24231,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22510,7 +24272,7 @@ paths: - Query /cosmos/group/v1/group_members/{group_id}: get: - summary: GroupMembers queries members of a group + summary: GroupMembers queries members of a group by group id. operationId: GroupMembers responses: '200': @@ -22664,7 +24426,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() @@ -22674,13 +24436,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 { ... } @@ -22696,8 +24461,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22788,7 +24551,7 @@ paths: - Query /cosmos/group/v1/group_policies_by_admin/{admin}: get: - summary: GroupsByAdmin queries group policies by admin address. + summary: GroupPoliciesByAdmin queries group policies by admin address. operationId: GroupPoliciesByAdmin responses: '200': @@ -22814,7 +24577,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -22902,7 +24665,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() @@ -22912,13 +24675,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 { ... } @@ -22934,8 +24700,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23089,7 +24853,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() @@ -23099,13 +24863,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 { ... } @@ -23121,8 +24888,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23238,7 +25003,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -23326,7 +25091,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() @@ -23336,13 +25101,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 { ... } @@ -23358,8 +25126,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23513,7 +25279,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() @@ -23523,13 +25289,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 { ... } @@ -23545,8 +25314,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23662,7 +25429,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -23750,7 +25517,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() @@ -23760,13 +25527,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 { ... } @@ -23782,8 +25552,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23917,7 +25685,242 @@ 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() + 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() @@ -23927,247 +25930,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) - ... - 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: 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 := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24183,8 +25955,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24434,7 +26204,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() @@ -24444,13 +26214,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 { ... } @@ -24466,8 +26239,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24580,7 +26351,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the proposal. + metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -24650,7 +26421,7 @@ paths: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -24749,7 +26520,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() @@ -24759,13 +26530,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 { ... } @@ -24781,8 +26555,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24815,6 +26587,14 @@ paths: } 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. @@ -24910,7 +26690,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() @@ -24920,13 +26700,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 { ... } @@ -24942,8 +26725,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25113,7 +26894,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() @@ -25123,13 +26904,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 { ... } @@ -25145,8 +26929,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25213,7 +26995,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the proposal. + metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -25283,7 +27065,7 @@ paths: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -25382,7 +27164,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() @@ -25392,13 +27174,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 { ... } @@ -25414,8 +27199,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25448,6 +27231,14 @@ paths: } 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 @@ -25571,7 +27362,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() @@ -25581,13 +27372,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 { ... } @@ -25603,8 +27397,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25726,8 +27518,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -25828,7 +27619,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() @@ -25838,13 +27629,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 { ... } @@ -25860,8 +27654,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25908,7 +27700,7 @@ paths: - Query /cosmos/group/v1/votes_by_proposal/{proposal_id}: get: - summary: VotesByProposal queries a vote by proposal. + summary: VotesByProposal queries a vote by proposal id. operationId: VotesByProposal responses: '200': @@ -25940,8 +27732,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -26063,7 +27854,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() @@ -26073,13 +27864,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 { ... } @@ -26095,8 +27889,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -26219,8 +28011,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -26341,7 +28132,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() @@ -26351,13 +28142,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 { ... } @@ -26373,8 +28167,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -26406,11 +28198,446 @@ paths: "value": "1.212s" } parameters: - - name: voter - description: voter is a proposal voter account address. + - 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 + /zeta-chain/authority/authorization/{msg_url}: + get: + operationId: Query_Authorization + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/authorityQueryAuthorizationResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: msg_url + in: path + required: true + type: string + tags: + - Query + /zeta-chain/authority/authorizations: + get: + operationId: Query_AuthorizationList + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/authorityQueryAuthorizationListResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/authority/chainInfo: + get: + summary: Queries ChainInfo + operationId: Query_ChainInfo + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/authorityQueryGetChainInfoResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/authority/policies: + get: + summary: Queries Policies + operationId: Query_Policies + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/authorityQueryGetPoliciesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/cctx: + get: + summary: Queries a list of cctx items. + operationId: Query_CctxAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + 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 + /zeta-chain/crosschain/cctx/{chainID}/{nonce}: + get: + summary: Queries a cctx by nonce. + operationId: Query_CctxByNonce + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainID + in: path + required: true + type: string + format: int64 + - name: nonce + in: path + required: true + type: string + format: uint64 + tags: + - Query + /zeta-chain/crosschain/cctx/{index}: + get: + summary: Queries a send by index. + operationId: Query_Cctx + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/convertGasToZeta: + get: + operationId: Query_ConvertGasToZeta + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryConvertGasToZetaResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainId + in: query + required: false + type: string + format: int64 + - name: gasLimit + in: query + required: false + type: string + tags: + - Query + /zeta-chain/crosschain/gasPrice: + get: + summary: Queries a list of gasPrice items. + operationId: Query_GasPriceAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllGasPriceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + 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 + /zeta-chain/crosschain/gasPrice/{index}: + get: + summary: Queries a gasPrice by index. + operationId: Query_GasPrice + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetGasPriceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/inTxHashToCctx: + get: + summary: 'Deprecated(v17): use InboundHashToCctxAll' + operationId: Query_InTxHashToCctxAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllInboundHashToCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + 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 + /zeta-chain/crosschain/inTxHashToCctx/{inboundHash}: + get: + summary: 'Deprecated(v17): use InboundHashToCctx' + operationId: Query_InTxHashToCctx + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetInboundHashToCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: inboundHash + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/inTxHashToCctxData/{inboundHash}: + get: + summary: 'Deprecated(v17): use InboundHashToCctxData' + operationId: Query_InTxHashToCctxData + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryInboundHashToCctxDataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: inboundHash in: path required: true type: string + tags: + - Query + /zeta-chain/crosschain/inTxTracker: + get: + summary: 'Deprecated(v17): use InboundTrackerAll' + operationId: Query_InTxTrackerAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllInboundTrackersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -26421,39 +28648,33 @@ paths: type: string format: byte - name: pagination.offset - description: >- + 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: >- + 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: >- + 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: >- + description: |- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 @@ -26462,20 +28683,25 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/cctx: + /zeta-chain/crosschain/inTxTrackerByChain/{chain_id}: get: - summary: Queries a list of send items. - operationId: Query_CctxAll + summary: 'Deprecated(v17): use InboundTrackerAllByChain' + operationId: Query_InTxTrackerAllByChain responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllCctxResponse' + $ref: '#/definitions/crosschainQueryAllInboundTrackerByChainResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -26521,116 +28747,147 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/cctx/{chainID}/{nonce}: + /zeta-chain/crosschain/inboundHashToCctx: get: - summary: Queries a send by nonce. - operationId: Query_CctxByNonce + summary: Queries a list of InboundHashToCctx items. + operationId: Query_InboundHashToCctxAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetCctxResponse' + $ref: '#/definitions/crosschainQueryAllInboundHashToCctxResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chainID - in: path - required: true + - 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: int64 - - name: nonce - in: path - required: true + 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 - /zeta-chain/crosschain/cctx/{index}: + /zeta-chain/crosschain/inboundHashToCctx/{inboundHash}: get: - summary: Queries a send by index. - operationId: Query_Cctx + summary: Queries a InboundHashToCctx by index. + operationId: Query_InboundHashToCctx responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetCctxResponse' + $ref: '#/definitions/crosschainQueryGetInboundHashToCctxResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: index + - name: inboundHash in: path required: true type: string tags: - Query - /zeta-chain/crosschain/cctxPending: + /zeta-chain/crosschain/inboundHashToCctxData/{inboundHash}: get: - summary: Queries a list of pending cctxs. - operationId: Query_CctxListPending + summary: Queries a InboundHashToCctx data by index. + operationId: Query_InboundHashToCctxData responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryListCctxPendingResponse' + $ref: '#/definitions/crosschainQueryInboundHashToCctxDataResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chain_id - in: query - required: false + - name: inboundHash + in: path + required: true type: string - format: int64 - - name: limit - in: query - required: false - type: integer - format: int64 tags: - Query - /zeta-chain/crosschain/convertGasToZeta: + /zeta-chain/crosschain/inboundTracker/{chain_id}/{tx_hash}: get: - operationId: Query_ConvertGasToZeta + operationId: Query_InboundTracker responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryConvertGasToZetaResponse' + $ref: '#/definitions/crosschainQueryInboundTrackerResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chainId - in: query - required: false + - name: chain_id + in: path + required: true type: string format: int64 - - name: gasLimit - in: query - required: false + - name: tx_hash + in: path + required: true type: string tags: - Query - /zeta-chain/crosschain/gasPrice: + /zeta-chain/crosschain/inboundTrackerByChain/{chain_id}: get: - summary: Queries a list of gasPrice items. - operationId: Query_GasPriceAll + operationId: Query_InboundTrackerAllByChain responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllGasPriceResponse' + $ref: '#/definitions/crosschainQueryAllInboundTrackerByChainResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -26676,74 +28933,73 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/gasPrice/{index}: + /zeta-chain/crosschain/inboundTrackers: get: - summary: Queries a gasPrice by index. - operationId: Query_GasPrice + operationId: Query_InboundTrackerAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetGasPriceResponse' + $ref: '#/definitions/crosschainQueryAllInboundTrackersResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: index - in: path - required: true + - 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 - tags: - - Query - /zeta-chain/crosschain/get_tss_address: - get: - summary: |- - GetTssAddress queries the tss address of the module. - Deprecated: Moved to observer - TODO: remove after v12 once upgrade testing is no longer needed with v11 - https://github.com/zeta-chain/node/issues/1547 - operationId: Query_GetTssAddress - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorecrosschainQueryGetTssAddressResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}: - get: - summary: Queries a InTxHashToCctx data by index. - operationId: Query_InTxHashToCctxData - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryInTxHashToCctxDataResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: inTxHash - in: path - required: true + 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 - /zeta-chain/crosschain/inTxHashToCctx: + /zeta-chain/crosschain/lastBlockHeight: get: - summary: Queries a list of InTxHashToCctx items. - operationId: Query_InTxHashToCctxAll + summary: Queries a list of lastBlockHeight items. + operationId: Query_LastBlockHeightAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllInTxHashToCctxResponse' + $ref: '#/definitions/crosschainQueryAllLastBlockHeightResponse' default: description: An unexpected error response. schema: @@ -26794,44 +29050,55 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/inTxHashToCctx/{inTxHash}: + /zeta-chain/crosschain/lastBlockHeight/{index}: get: - summary: Queries a InTxHashToCctx by index. - operationId: Query_InTxHashToCctx + summary: Queries a lastBlockHeight by index. + operationId: Query_LastBlockHeight responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetInTxHashToCctxResponse' + $ref: '#/definitions/crosschainQueryGetLastBlockHeightResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: inTxHash + - name: index in: path required: true type: string tags: - Query - /zeta-chain/crosschain/inTxTrackerByChain/{chain_id}: + /zeta-chain/crosschain/lastZetaHeight: get: - operationId: Query_InTxTrackerAllByChain + summary: Queries a list of lastMetaHeight items. + operationId: Query_LastZetaHeight + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryLastZetaHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/outTxTracker: + get: + summary: 'Deprecated(v17): use OutboundTrackerAll' + operationId: Query_OutTxTrackerAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllInTxTrackerByChainResponse' + $ref: '#/definitions/crosschainQueryAllOutboundTrackerResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chain_id - in: path - required: true - type: string - format: int64 - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -26877,19 +29144,51 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/inTxTrackers: + /zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}: get: - operationId: Query_InTxTrackerAll + summary: 'Deprecated(v17): use OutboundTracker' + operationId: Query_OutTxTracker + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetOutboundTrackerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainID + in: path + required: true + type: string + format: int64 + - name: nonce + in: path + required: true + type: string + format: uint64 + tags: + - Query + /zeta-chain/crosschain/outTxTrackerByChain/{chain}: + get: + summary: 'Deprecated(v17): use OutboundTrackerAllByChain' + operationId: Query_OutTxTrackerAllByChain responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllInTxTrackersResponse' + $ref: '#/definitions/crosschainQueryAllOutboundTrackerByChainResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: + - name: chain + in: path + required: true + type: string + format: int64 - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -26935,15 +29234,15 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/lastBlockHeight: + /zeta-chain/crosschain/outboundTracker: get: - summary: Queries a list of lastBlockHeight items. - operationId: Query_LastBlockHeightAll + summary: Queries a list of OutboundTracker items. + operationId: Query_OutboundTrackerAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllLastBlockHeightResponse' + $ref: '#/definitions/crosschainQueryAllOutboundTrackerResponse' default: description: An unexpected error response. schema: @@ -26994,55 +29293,50 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/lastBlockHeight/{index}: + /zeta-chain/crosschain/outboundTracker/{chainID}/{nonce}: get: - summary: Queries a lastBlockHeight by index. - operationId: Query_LastBlockHeight + summary: Queries a outbound tracker by index. + operationId: Query_OutboundTracker responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetLastBlockHeightResponse' + $ref: '#/definitions/crosschainQueryGetOutboundTrackerResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: index + - name: chainID in: path required: true type: string + format: int64 + - name: nonce + in: path + required: true + type: string + format: uint64 tags: - Query - /zeta-chain/crosschain/lastZetaHeight: - get: - summary: Queries a list of lastMetaHeight items. - operationId: Query_LastZetaHeight - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryLastZetaHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/outTxTracker: + /zeta-chain/crosschain/outboundTrackerByChain/{chain}: get: - summary: Queries a list of OutTxTracker items. - operationId: Query_OutTxTrackerAll + operationId: Query_OutboundTrackerAllByChain responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllOutTxTrackerResponse' + $ref: '#/definitions/crosschainQueryAllOutboundTrackerByChainResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: + - name: chain + in: path + required: true + type: string + format: int64 - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -27088,50 +29382,221 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}: + /zeta-chain/crosschain/pendingCctx: get: - summary: Queries a OutTxTracker by index. - operationId: Query_OutTxTracker + summary: Queries a list of pending cctxs. + operationId: Query_ListPendingCctx responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryGetOutTxTrackerResponse' + $ref: '#/definitions/crosschainQueryListPendingCctxResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chainID - in: path - required: true + - name: chain_id + in: query + required: false type: string format: int64 - - name: nonce + - name: limit + in: query + required: false + type: integer + format: int64 + tags: + - Query + /zeta-chain/crosschain/pendingCctxWithinRateLimit: + get: + summary: Queries a list of pending cctxs within rate limit. + operationId: Query_ListPendingCctxWithinRateLimit + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryListPendingCctxWithinRateLimitResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: limit + in: query + required: false + type: integer + format: int64 + tags: + - Query + /zeta-chain/crosschain/protocolFee: + get: + operationId: Query_ProtocolFee + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryMessagePassingProtocolFeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/rateLimiterFlags: + get: + summary: Queries the rate limiter flags + operationId: Query_RateLimiterFlags + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryRateLimiterFlagsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/rateLimiterInput: + get: + summary: Queries the input data of rate limiter. + operationId: Query_RateLimiterInput + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryRateLimiterInputResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: limit + in: query + required: false + type: integer + format: int64 + - name: window + in: query + required: false + type: string + format: int64 + tags: + - Query + /zeta-chain/crosschain/zetaAccounting: + get: + operationId: Query_ZetaAccounting + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryZetaAccountingResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/emissions/get_emissions_factors: + get: + summary: Queries a list of GetEmmisonsFactors items. + operationId: Query_GetEmissionsFactors + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryGetEmissionsFactorsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/emissions/list_addresses: + get: + summary: Queries a list of ListBalances items. + operationId: Query_ListPoolAddresses + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryListPoolAddressesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/emissions/params: + get: + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/emissions/show_available_emissions/{address}: + get: + summary: Queries a list of ShowAvailableEmissions items. + operationId: Query_ShowAvailableEmissions + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryShowAvailableEmissionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: address in: path required: true type: string - format: uint64 tags: - Query - /zeta-chain/crosschain/outTxTrackerByChain/{chain}: + /zeta-chain/fungible/code_hash/{address}: get: - operationId: Query_OutTxTrackerAllByChain + summary: Code hash query the code hash of a contract. + operationId: Query_CodeHash responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryAllOutTxTrackerByChainResponse' + $ref: '#/definitions/fungibleQueryCodeHashResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chain + - name: address in: path required: true type: string - format: int64 + tags: + - Query + /zeta-chain/fungible/foreign_coins: + get: + summary: Queries a list of ForeignCoins items. + operationId: Query_ForeignCoinsAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryAllForeignCoinsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -27177,143 +29642,163 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorecrosschainQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/protocolFee: - get: - operationId: Query_ProtocolFee - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryMessagePassingProtocolFeeResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/zetaAccounting: + /zeta-chain/fungible/foreign_coins/{index}: get: - operationId: Query_ZetaAccounting + summary: Queries a ForeignCoins by index. + operationId: Query_ForeignCoins responses: "200": description: A successful response. schema: - $ref: '#/definitions/crosschainQueryZetaAccountingResponse' + $ref: '#/definitions/fungibleQueryGetForeignCoinsResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string tags: - Query - /zeta-chain/emissions/get_emissions_factors: + /zeta-chain/fungible/gas_stability_pool_address: get: - summary: Queries a list of GetEmmisonsFactors items. - operationId: Query_GetEmissionsFactors + summary: Queries the address of a gas stability pool on a given chain. + operationId: Query_GasStabilityPoolAddress responses: "200": description: A successful response. schema: - $ref: '#/definitions/emissionsQueryGetEmissionsFactorsResponse' + $ref: '#/definitions/fungibleQueryGetGasStabilityPoolAddressResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/emissions/list_addresses: + /zeta-chain/fungible/gas_stability_pool_balance/{chain_id}: get: - summary: Queries a list of ListBalances items. - operationId: Query_ListPoolAddresses + summary: Queries the balance of a gas stability pool on a given chain. + operationId: Query_GasStabilityPoolBalance responses: "200": description: A successful response. schema: - $ref: '#/definitions/emissionsQueryListPoolAddressesResponse' + $ref: '#/definitions/fungibleQueryGetGasStabilityPoolBalanceResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 tags: - Query - /zeta-chain/emissions/params: + /zeta-chain/fungible/system_contract: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params + summary: Queries SystemContract + operationId: Query_SystemContract responses: "200": description: A successful response. schema: - $ref: '#/definitions/zetacoreemissionsQueryParamsResponse' + $ref: '#/definitions/fungibleQueryGetSystemContractResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/emissions/show_available_emissions/{address}: + /zeta-chain/lightclient/block_headers: get: - summary: Queries a list of ShowAvailableEmissions items. - operationId: Query_ShowAvailableEmissions + operationId: Query_BlockHeaderAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/emissionsQueryShowAvailableEmissionsResponse' + $ref: '#/definitions/lightclientQueryAllBlockHeaderResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: address - in: path - required: true + - 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 - /zeta-chain/fungible/code_hash/{address}: + /zeta-chain/lightclient/block_headers/{block_hash}: get: - summary: Code hash query the code hash of a contract. - operationId: Query_CodeHash + operationId: Query_BlockHeader responses: "200": description: A successful response. schema: - $ref: '#/definitions/fungibleQueryCodeHashResponse' + $ref: '#/definitions/lightclientQueryGetBlockHeaderResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: address + - name: block_hash in: path required: true type: string + format: byte tags: - Query - /zeta-chain/fungible/foreign_coins: + /zeta-chain/lightclient/chain_state: get: - summary: Queries a list of ForeignCoins items. - operationId: Query_ForeignCoinsAll + operationId: Query_ChainStateAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/fungibleQueryAllForeignCoinsResponse' + $ref: '#/definitions/lightclientQueryAllChainStateResponse' default: description: An unexpected error response. schema: @@ -27364,90 +29849,116 @@ paths: type: boolean tags: - Query - /zeta-chain/fungible/foreign_coins/{index}: + /zeta-chain/lightclient/chain_state/{chain_id}: get: - summary: Queries a ForeignCoins by index. - operationId: Query_ForeignCoins + operationId: Query_ChainState responses: "200": description: A successful response. schema: - $ref: '#/definitions/fungibleQueryGetForeignCoinsResponse' + $ref: '#/definitions/lightclientQueryGetChainStateResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: index + - name: chain_id in: path required: true type: string + format: int64 tags: - Query - /zeta-chain/fungible/gas_stability_pool_address: - get: - summary: Queries the address of a gas stability pool on a given chain. - operationId: Query_GasStabilityPoolAddress - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/fungibleQueryGetGasStabilityPoolAddressResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/fungible/gas_stability_pool_balance/{chain_id}: + /zeta-chain/lightclient/header_enabled_chains: get: - summary: Queries the balance of a gas stability pool on a given chain. - operationId: Query_GasStabilityPoolBalance + operationId: Query_HeaderEnabledChains responses: "200": description: A successful response. schema: - $ref: '#/definitions/fungibleQueryGetGasStabilityPoolBalanceResponse' + $ref: '#/definitions/lightclientQueryHeaderEnabledChainsResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chain_id - in: path - required: true - type: string - format: int64 tags: - Query - /zeta-chain/fungible/params: + /zeta-chain/lightclient/header_supported_chains: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params + operationId: Query_HeaderSupportedChains responses: "200": description: A successful response. schema: - $ref: '#/definitions/zetacorefungibleQueryParamsResponse' + $ref: '#/definitions/lightclientQueryHeaderSupportedChainsResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/fungible/system_contract: + /zeta-chain/lightclient/prove: get: - summary: Queries SystemContract - operationId: Query_SystemContract + operationId: Query_Prove responses: "200": description: A successful response. schema: - $ref: '#/definitions/fungibleQueryGetSystemContractResponse' + $ref: '#/definitions/lightclientQueryProveResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain_id + in: query + required: false + type: string + format: int64 + - name: tx_hash + in: query + required: false + type: string + - name: proof.ethereum_proof.keys + in: query + required: false + type: array + items: + type: string + format: byte + collectionFormat: multi + - name: proof.ethereum_proof.values + in: query + required: false + type: array + items: + type: string + format: byte + collectionFormat: multi + - name: proof.bitcoin_proof.tx_bytes + in: query + required: false + type: string + format: byte + - name: proof.bitcoin_proof.path + in: query + required: false + type: string + format: byte + - name: proof.bitcoin_proof.index + in: query + required: false + type: integer + format: int64 + - name: block_hash + in: query + required: false + type: string + - name: tx_index + in: query + required: false + type: string + format: int64 tags: - Query /zeta-chain/observer/TSS: @@ -27590,7 +30101,7 @@ paths: type: boolean tags: - Query - /zeta-chain/observer/chainNonces/{index}: + /zeta-chain/observer/chainNonces/{chain_id}: get: summary: Queries a chainNonces by index. operationId: Query_ChainNonces @@ -27604,10 +30115,11 @@ paths: schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: index + - name: chain_id in: path required: true type: string + format: int64 tags: - Query /zeta-chain/observer/crosschain_flags: @@ -27683,182 +30195,120 @@ paths: type: boolean tags: - Query - /zeta-chain/observer/get_all_block_headers: + /zeta-chain/observer/get_chain_params: get: - operationId: Query_GetAllBlockHeaders + summary: Queries a list of GetChainParams items. + operationId: Query_GetChainParams responses: "200": description: A successful response. schema: - $ref: '#/definitions/observerQueryAllBlockHeaderResponse' + $ref: '#/definitions/observerQueryGetChainParamsResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' - 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 - /zeta-chain/observer/get_block_header_by_hash/{block_hash}: + /zeta-chain/observer/get_chain_params_for_chain/{chain_id}: get: - operationId: Query_GetBlockHeaderByHash + summary: Queries a list of GetChainParamsForChain items. + operationId: Query_GetChainParamsForChain responses: "200": description: A successful response. schema: - $ref: '#/definitions/observerQueryGetBlockHeaderByHashResponse' + $ref: '#/definitions/observerQueryGetChainParamsForChainResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: block_hash + - name: chain_id in: path required: true type: string - format: byte + format: int64 tags: - Query - /zeta-chain/observer/get_block_header_state_by_chain_id/{chain_id}: + /zeta-chain/observer/get_tss_address/{bitcoin_chain_id}: get: - operationId: Query_GetBlockHeaderStateByChain + summary: Queries a list of GetTssAddress items. + operationId: Query_GetTssAddress responses: "200": description: A successful response. schema: - $ref: '#/definitions/observerQueryGetBlockHeaderStateResponse' + $ref: '#/definitions/observerQueryGetTssAddressResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chain_id + - name: bitcoin_chain_id in: path required: true type: string format: int64 tags: - Query - /zeta-chain/observer/get_chain_params: - get: - summary: Queries a list of GetChainParams items. - operationId: Query_GetChainParams - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetChainParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/get_chain_params_for_chain/{chain_id}: + /zeta-chain/observer/get_tss_address_historical/{finalized_zeta_height}/{bitcoin_chain_id}: get: - summary: Queries a list of GetChainParamsForChain items. - operationId: Query_GetChainParamsForChain + operationId: Query_GetTssAddressByFinalizedHeight responses: "200": description: A successful response. schema: - $ref: '#/definitions/observerQueryGetChainParamsForChainResponse' + $ref: '#/definitions/observerQueryGetTssAddressByFinalizedHeightResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: chain_id + - name: finalized_zeta_height + in: path + required: true + type: string + format: int64 + - name: bitcoin_chain_id in: path required: true type: string format: int64 tags: - Query - /zeta-chain/observer/get_tss_address/{bitcoin_chain_id}: + /zeta-chain/observer/getAllTssFundsMigrators: get: - summary: Queries a list of GetTssAddress items. - operationId: Query_GetTssAddress + summary: Queries all TssFundMigratorInfo + operationId: Query_TssFundsMigratorInfoAll responses: "200": description: A successful response. schema: - $ref: '#/definitions/zetacoreobserverQueryGetTssAddressResponse' + $ref: '#/definitions/observerQueryTssFundsMigratorInfoAllResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' - parameters: - - name: bitcoin_chain_id - in: path - required: true - type: string - format: int64 tags: - Query - /zeta-chain/observer/get_tss_address_historical/{finalized_zeta_height}/{bitcoin_chain_id}: + /zeta-chain/observer/getTssFundsMigrator: get: - operationId: Query_GetTssAddressByFinalizedHeight + summary: Queries the TssFundMigratorInfo for a specific chain + operationId: Query_TssFundsMigratorInfo responses: "200": description: A successful response. schema: - $ref: '#/definitions/observerQueryGetTssAddressByFinalizedHeightResponse' + $ref: '#/definitions/observerQueryTssFundsMigratorInfoResponse' default: description: An unexpected error response. schema: $ref: '#/definitions/googlerpcStatus' parameters: - - name: finalized_zeta_height - in: path - required: true - type: string - format: int64 - - name: bitcoin_chain_id - in: path - required: true + - name: chain_id + in: query + required: false type: string format: int64 tags: @@ -27996,21 +30446,6 @@ paths: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/observer/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacoreobserverQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query /zeta-chain/observer/pendingNonces: get: operationId: Query_PendingNoncesAll @@ -28089,71 +30524,6 @@ paths: format: int64 tags: - Query - /zeta-chain/observer/prove: - get: - summary: merkle proof verification - operationId: Query_Prove - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryProveResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chain_id - in: query - required: false - type: string - format: int64 - - name: tx_hash - in: query - required: false - type: string - - name: proof.ethereum_proof.keys - in: query - required: false - type: array - items: - type: string - format: byte - collectionFormat: multi - - name: proof.ethereum_proof.values - in: query - required: false - type: array - items: - type: string - format: byte - collectionFormat: multi - - name: proof.bitcoin_proof.tx_bytes - in: query - required: false - type: string - format: byte - - name: proof.bitcoin_proof.path - in: query - required: false - type: string - format: byte - - name: proof.bitcoin_proof.index - in: query - required: false - type: integer - format: int64 - - name: block_hash - in: query - required: false - type: string - - name: tx_index - in: query - required: false - type: string - format: int64 - tags: - - Query /zeta-chain/observer/supportedChains: get: operationId: Query_SupportedChains @@ -28271,7 +30641,7 @@ paths: description: balance is the balance of the EVM denomination. code_hash: type: string - description: code hash is the hex-formatted code bytes from the EOA. + description: code_hash is the hex-formatted code bytes from the EOA. nonce: type: string format: uint64 @@ -28372,7 +30742,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() @@ -28382,7 +30752,7 @@ 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 := anypb.New(foo) @@ -28407,8 +30777,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28558,7 +30926,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() @@ -28568,7 +30936,7 @@ 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 := anypb.New(foo) @@ -28593,8 +30961,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28648,7 +31014,8 @@ paths: properties: base_fee: type: string - description: BaseFeeResponse returns the EIP1559 base fee. + title: base_fee is the EIP1559 base fee + description: QueryBaseFeeResponse returns the EIP1559 base fee. default: description: An unexpected error response. schema: @@ -28743,7 +31110,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() @@ -28753,7 +31120,7 @@ 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 := anypb.New(foo) @@ -28778,8 +31145,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28923,201 +31288,7 @@ paths: 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 ethereum hex address to query the code for. - in: path - required: true - type: string - tags: - - Query - /ethermint/evm/v1/cosmos_account/{address}: - get: - summary: CosmosAccount queries an Ethereum account's Cosmos Address. - operationId: CosmosAccount - responses: - '200': - description: A successful response. - schema: - type: object - properties: - cosmos_address: - type: string - description: cosmos_address is the cosmos address of the account. - sequence: - type: string - format: uint64 - description: sequence is the account's sequence number. - account_number: - type: string - format: uint64 - title: account_number is the account numbert - description: >- - QueryCosmosAccountResponse is the response type for the Query/CosmosAccount - - 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. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -29127,7 +31298,7 @@ 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 := anypb.New(foo) @@ -29152,7 +31323,197 @@ paths: 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 ethereum hex address to query the code for. + in: path + required: true + type: string + tags: + - Query + /ethermint/evm/v1/cosmos_account/{address}: + get: + summary: CosmosAccount queries an Ethereum account's Cosmos Address. + operationId: CosmosAccount + responses: + '200': + description: A successful response. + schema: + type: object + properties: + cosmos_address: + type: string + description: cosmos_address is the cosmos address of the account. + sequence: + type: string + format: uint64 + description: sequence is the account's sequence number. + account_number: + type: string + format: uint64 + title: account_number is the account number + description: >- + QueryCosmosAccountResponse is the response type for the Query/CosmosAccount + + 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 @@ -29205,7 +31566,17 @@ paths: gas: type: string format: uint64 - title: the estimated gas + title: gas returns the estimated gas + ret: + type: string + format: byte + title: >- + ret is the returned data from evm function (result or data supplied with revert + + opcode) + vm_error: + type: string + title: vm_error is the error returned by vm execution title: EstimateGasResponse defines EstimateGas response default: description: An unexpected error response. @@ -29301,7 +31672,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() @@ -29311,7 +31682,7 @@ 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 := anypb.New(foo) @@ -29336,8 +31707,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29370,25 +31739,26 @@ paths: } parameters: - name: args - description: same json format as the json rpc api. + description: args uses the same json format as the json rpc api. in: query required: false type: string format: byte - name: gas_cap - description: the default gas cap to be used. + description: gas_cap defines the default gas cap to be used. in: query required: false type: string format: uint64 - name: proposer_address - description: the proposer of the requested block. + description: proposer_address of the requested block in hex format. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -29408,7 +31778,7 @@ paths: hash: type: string title: >- - ethereum transaction hash in hex format. This hash differs from the + hash of the ethereum transaction in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See @@ -29425,25 +31795,28 @@ paths: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: >- + data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: >- + block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: >- + block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -29451,7 +31824,7 @@ paths: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -29462,6 +31835,10 @@ paths: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. description: >- logs contains the transaction hash and the proto-compatible ethereum @@ -29470,16 +31847,17 @@ paths: type: string format: byte title: >- - returned data from evm function (result or data supplied with revert + ret is the returned data from evm function (result or data supplied with revert opcode) vm_error: type: string - title: vm error is the error returned by vm execution + title: vm_error is the error returned by vm execution gas_used: type: string format: uint64 - title: gas consumed by the transaction + title: >- + gas_used specifies how much gas was consumed by the transaction description: MsgEthereumTxResponse defines the Msg/EthereumTx response type. default: description: An unexpected error response. @@ -29575,7 +31953,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() @@ -29585,7 +31963,7 @@ 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 := anypb.New(foo) @@ -29610,8 +31988,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29644,25 +32020,26 @@ paths: } parameters: - name: args - description: same json format as the json rpc api. + description: args uses the same json format as the json rpc api. in: query required: false type: string format: byte - name: gas_cap - description: the default gas cap to be used. + description: gas_cap defines the default gas cap to be used. in: query required: false type: string format: uint64 - name: proposer_address - description: the proposer of the requested block. + description: proposer_address of the requested block in hex format. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -29686,94 +32063,104 @@ paths: evm_denom: type: string description: >- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean title: >- - enable call toggles state transitions that use the vm.Call function + enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: title: >- - chain config defines the EVM chain configuration parameters + chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string title: >- - Homestead switch block (nil no fork, 0 = already homestead) + homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean title: >- - Whether the nodes supports or opposes the DAO hard-fork + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string title: >- - Byzantium switch block (nil no fork, 0 = already on byzantium) + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string title: >- - Constantinople switch block (nil no fork, 0 = already activated) + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string title: >- - Istanbul switch block (nil no fork, 0 = already on istanbul) + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string title: >- - Berlin switch block (nil = no fork, 0 = already on berlin) + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string title: >- - London switch block (nil = no fork, 0 = already on london) + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string title: >- - Virtual fork after The Merge to use as a network splitter + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: >- + cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values @@ -29781,7 +32168,7 @@ paths: allow_unprotected_txs: type: boolean description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters @@ -29881,7 +32268,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() @@ -29891,7 +32278,7 @@ 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 := anypb.New(foo) @@ -29916,8 +32303,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29963,7 +32348,7 @@ paths: value: type: string description: >- - key defines the storage state value hash associated with the given key. + value defines the storage state value hash associated with the given key. description: >- QueryStorageResponse is the response type for the Query/Storage RPC @@ -30062,7 +32447,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() @@ -30072,7 +32457,7 @@ 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 := anypb.New(foo) @@ -30097,8 +32482,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30131,8 +32514,7 @@ paths: } parameters: - name: address - description: >- - / address is the ethereum hex address to query the storage state for. + description: address is the ethereum hex address to query the storage state for. in: path required: true type: string @@ -30157,6 +32539,7 @@ paths: data: type: string format: byte + title: data is the response serialized in bytes title: QueryTraceBlockResponse defines TraceBlock response default: description: An unexpected error response. @@ -30252,7 +32635,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() @@ -30262,7 +32645,7 @@ 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 := anypb.New(foo) @@ -30287,8 +32670,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30321,63 +32702,67 @@ paths: } parameters: - name: trace_config.tracer - description: custom javascript tracer. + description: tracer is a custom javascript tracer. in: query required: false type: string - name: trace_config.timeout description: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. in: query required: false type: string - name: trace_config.reexec - description: number of blocks the tracer is willing to go back. + description: >- + reexec defines the number of blocks the tracer is willing to go back. in: query required: false type: string format: uint64 - name: trace_config.disable_stack - description: disable stack capture. + description: disable_stack switches stack capture. in: query required: false type: boolean - name: trace_config.disable_storage - description: disable storage capture. + description: disable_storage switches storage capture. in: query required: false type: boolean - name: trace_config.debug - description: print output during capture end. + description: debug can be used to print output during capture end. in: query required: false type: boolean - name: trace_config.limit - description: maximum length of output, but zero means unlimited. + description: >- + limit defines the maximum length of output, but zero means unlimited. in: query required: false type: integer format: int32 - name: trace_config.overrides.homestead_block - description: Homestead switch block (nil no fork, 0 = already homestead). + description: homestead_block switch (nil no fork, 0 = already homestead). in: query required: false type: string - name: trace_config.overrides.dao_fork_block - description: TheDAO hard-fork switch block (nil no fork). + description: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). in: query required: false type: string - name: trace_config.overrides.dao_fork_support - description: Whether the nodes supports or opposes the DAO hard-fork. + description: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. in: query required: false type: boolean - name: trace_config.overrides.eip150_block description: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork). in: query @@ -30385,113 +32770,132 @@ paths: type: string - name: trace_config.overrides.eip150_hash description: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed). + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). in: query required: false type: string - name: trace_config.overrides.eip155_block - description: EIP155Block HF block. + description: 'eip155_block: EIP155Block HF block.' in: query required: false type: string - name: trace_config.overrides.eip158_block - description: EIP158 HF block. + description: 'eip158_block: EIP158 HF block.' in: query required: false type: string - name: trace_config.overrides.byzantium_block - description: Byzantium switch block (nil no fork, 0 = already on byzantium). + description: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). in: query required: false type: string - name: trace_config.overrides.constantinople_block - description: Constantinople switch block (nil no fork, 0 = already activated). + description: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.petersburg_block - description: Petersburg switch block (nil same as Constantinople). + description: >- + petersburg_block: Petersburg switch block (nil same as Constantinople). in: query required: false type: string - name: trace_config.overrides.istanbul_block - description: Istanbul switch block (nil no fork, 0 = already on istanbul). + description: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). in: query required: false type: string - name: trace_config.overrides.muir_glacier_block description: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.berlin_block - description: Berlin switch block (nil = no fork, 0 = already on berlin). + description: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). in: query required: false type: string - name: trace_config.overrides.london_block - description: London switch block (nil = no fork, 0 = already on london). + description: >- + london_block: London switch block (nil = no fork, 0 = already on london). in: query required: false type: string - name: trace_config.overrides.arrow_glacier_block description: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.gray_glacier_block description: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.merge_netsplit_block - description: Virtual fork after The Merge to use as a network splitter. + description: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. + in: query + required: false + type: string + - name: trace_config.overrides.shanghai_block + description: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai). + in: query + required: false + type: string + - name: trace_config.overrides.cancun_block + description: cancun_block switch block (nil = no fork, 0 = already on cancun). in: query required: false type: string - name: trace_config.enable_memory - description: enable memory capture. + description: enable_memory switches memory capture. in: query required: false type: boolean - name: trace_config.enable_return_data - description: enable return data capture. + description: enable_return_data switches the capture of return data. in: query required: false type: boolean - name: trace_config.tracer_json_config - description: tracer config. + description: tracer_json_config configures the tracer using a JSON string. in: query required: false type: string - name: block_number - description: block number. + description: block_number of the traced block. in: query required: false type: string format: int64 - name: block_hash - description: block hex hash. + description: block_hash (hex) of the traced block. in: query required: false type: string - name: block_time - description: block time. + description: block_time of the traced block. in: query required: false type: string format: date-time - name: proposer_address - description: the proposer of the requested block. + description: proposer_address is the address of the requested block. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -30511,7 +32915,7 @@ paths: data: type: string format: byte - title: response serialized in bytes + title: data is the response serialized in bytes title: QueryTraceTxResponse defines TraceTx response default: description: An unexpected error response. @@ -30607,7 +33011,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() @@ -30617,7 +33021,7 @@ 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 := anypb.New(foo) @@ -30642,8 +33046,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30729,82 +33131,88 @@ paths: type: string format: byte - name: msg.size - description: 'DEPRECATED: encoded storage size of the transaction.' + description: size is the encoded storage size of the transaction (DEPRECATED). in: query required: false type: number format: double - name: msg.hash - description: transaction hash in hex format. + description: hash of the transaction in hex format. in: query required: false type: string - name: msg.from - description: |- - ethereum signer address in hex format. This address value is checked + description: >- + from is the ethereum signer address in hex format. This address value is checked + against the address derived from the signature (V, R, S) using the + secp256k1 elliptic curve. in: query required: false type: string - name: trace_config.tracer - description: custom javascript tracer. + description: tracer is a custom javascript tracer. in: query required: false type: string - name: trace_config.timeout description: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. in: query required: false type: string - name: trace_config.reexec - description: number of blocks the tracer is willing to go back. + description: >- + reexec defines the number of blocks the tracer is willing to go back. in: query required: false type: string format: uint64 - name: trace_config.disable_stack - description: disable stack capture. + description: disable_stack switches stack capture. in: query required: false type: boolean - name: trace_config.disable_storage - description: disable storage capture. + description: disable_storage switches storage capture. in: query required: false type: boolean - name: trace_config.debug - description: print output during capture end. + description: debug can be used to print output during capture end. in: query required: false type: boolean - name: trace_config.limit - description: maximum length of output, but zero means unlimited. + description: >- + limit defines the maximum length of output, but zero means unlimited. in: query required: false type: integer format: int32 - name: trace_config.overrides.homestead_block - description: Homestead switch block (nil no fork, 0 = already homestead). + description: homestead_block switch (nil no fork, 0 = already homestead). in: query required: false type: string - name: trace_config.overrides.dao_fork_block - description: TheDAO hard-fork switch block (nil no fork). + description: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). in: query required: false type: string - name: trace_config.overrides.dao_fork_support - description: Whether the nodes supports or opposes the DAO hard-fork. + description: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. in: query required: false type: boolean - name: trace_config.overrides.eip150_block description: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork). in: query @@ -30812,113 +33220,132 @@ paths: type: string - name: trace_config.overrides.eip150_hash description: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed). + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). in: query required: false type: string - name: trace_config.overrides.eip155_block - description: EIP155Block HF block. + description: 'eip155_block: EIP155Block HF block.' in: query required: false type: string - name: trace_config.overrides.eip158_block - description: EIP158 HF block. + description: 'eip158_block: EIP158 HF block.' in: query required: false type: string - name: trace_config.overrides.byzantium_block - description: Byzantium switch block (nil no fork, 0 = already on byzantium). + description: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). in: query required: false type: string - name: trace_config.overrides.constantinople_block - description: Constantinople switch block (nil no fork, 0 = already activated). + description: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.petersburg_block - description: Petersburg switch block (nil same as Constantinople). + description: >- + petersburg_block: Petersburg switch block (nil same as Constantinople). in: query required: false type: string - name: trace_config.overrides.istanbul_block - description: Istanbul switch block (nil no fork, 0 = already on istanbul). + description: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). in: query required: false type: string - name: trace_config.overrides.muir_glacier_block description: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.berlin_block - description: Berlin switch block (nil = no fork, 0 = already on berlin). + description: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). in: query required: false type: string - name: trace_config.overrides.london_block - description: London switch block (nil = no fork, 0 = already on london). + description: >- + london_block: London switch block (nil = no fork, 0 = already on london). in: query required: false type: string - name: trace_config.overrides.arrow_glacier_block description: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.gray_glacier_block description: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.merge_netsplit_block - description: Virtual fork after The Merge to use as a network splitter. + description: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. + in: query + required: false + type: string + - name: trace_config.overrides.shanghai_block + description: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai). + in: query + required: false + type: string + - name: trace_config.overrides.cancun_block + description: cancun_block switch block (nil = no fork, 0 = already on cancun). in: query required: false type: string - name: trace_config.enable_memory - description: enable memory capture. + description: enable_memory switches memory capture. in: query required: false type: boolean - name: trace_config.enable_return_data - description: enable return data capture. + description: enable_return_data switches the capture of return data. in: query required: false type: boolean - name: trace_config.tracer_json_config - description: tracer config. + description: tracer_json_config configures the tracer using a JSON string. in: query required: false type: string - name: block_number - description: block number of requested transaction. + description: block_number of requested transaction. in: query required: false type: string format: int64 - name: block_hash - description: block hex hash of requested transaction. + description: block_hash of requested transaction. in: query required: false type: string - name: block_time - description: block time of requested transaction. + description: block_time of requested transaction. in: query required: false type: string format: date-time - name: proposer_address - description: the proposer of the requested block. + description: proposer_address is the proposer of the requested block. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -31047,7 +33474,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() @@ -31057,7 +33484,7 @@ 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 := anypb.New(foo) @@ -31082,8 +33509,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31142,6 +33567,168 @@ definitions: 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: @@ -31178,6 +33765,170 @@ definitions: 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: @@ -31261,7 +34012,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() @@ -31271,13 +34022,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 { ... } @@ -31293,8 +34047,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31412,7 +34164,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() @@ -31422,13 +34174,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 { ... } @@ -31444,8 +34199,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31582,7 +34335,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() @@ -31592,13 +34345,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 { ... } @@ -31614,8 +34370,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31733,7 +34487,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() @@ -31743,13 +34497,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 { ... } @@ -31765,8 +34522,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31976,7 +34731,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() @@ -31986,7 +34741,7 @@ 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 := anypb.New(foo) @@ -32011,8 +34766,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -32135,7 +34888,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() @@ -32145,7 +34898,7 @@ 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 := anypb.New(foo) @@ -32170,8 +34923,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -32343,6 +35094,14 @@ definitions: 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. @@ -32660,11 +35419,80 @@ definitions: 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: @@ -32827,28 +35655,25 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + 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: |- + 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. + 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. + 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 @@ -34410,9 +37235,7 @@ definitions: 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. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: type: object properties: @@ -35458,9 +38281,7 @@ definitions: 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. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: type: object properties: @@ -35554,7 +38375,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() @@ -35564,13 +38385,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 { ... } @@ -35586,8 +38410,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -35643,9 +38465,8 @@ definitions: 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. + description: >- + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: type: object properties: @@ -35718,9 +38539,8 @@ definitions: 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. + description: >- + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. cosmos.base.tendermint.v1beta1.GetSyncingResponse: type: object properties: @@ -35821,7 +38641,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() @@ -35831,13 +38651,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 { ... } @@ -35853,8 +38676,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -35910,9 +38731,8 @@ definitions: 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. + description: >- + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.Header: type: object properties: @@ -36020,13 +38840,11 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + 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. + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. cosmos.base.tendermint.v1beta1.ProofOps: type: object properties: @@ -36046,18 +38864,15 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + 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: |- + 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. + Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. cosmos.base.tendermint.v1beta1.Validator: type: object properties: @@ -36143,7 +38958,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() @@ -36153,13 +38968,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 { ... } @@ -36175,8 +38993,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -38603,8 +41419,16 @@ definitions: 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: Params defines the set of params for the distribution module. @@ -38729,8 +41553,16 @@ definitions: 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. @@ -38738,7 +41570,7 @@ definitions: type: object properties: commission: - description: commission defines the commision the validator received. + description: commission defines the commission the validator received. type: object properties: commission: @@ -38759,6 +41591,44 @@ definitions: title: |- QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method + cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse: + 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. cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: type: object properties: @@ -38965,7 +41835,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() @@ -38975,13 +41845,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 { ... } @@ -38997,8 +41870,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39135,7 +42006,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() @@ -39145,13 +42016,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 { ... } @@ -39167,8 +42041,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39207,8 +42079,10 @@ definitions: 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: @@ -39223,6 +42097,7 @@ definitions: 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. @@ -39249,7 +42124,7 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. description: DepositParams defines the params for deposits on governance proposals. cosmos.gov.v1beta1.Proposal: type: object @@ -39257,6 +42132,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39337,7 +42213,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() @@ -39347,13 +42223,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 { ... } @@ -39369,8 +42248,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39402,6 +42279,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -39411,20 +42289,6 @@ definitions: - 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. final_tally_result: description: |- final_tally_result is the final tally result of the proposal. When @@ -39434,18 +42298,24 @@ definitions: 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: @@ -39460,12 +42330,15 @@ definitions: 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. cosmos.gov.v1beta1.ProposalStatus: type: string @@ -39500,8 +42373,10 @@ definitions: 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: @@ -39517,6 +42392,7 @@ definitions: 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. @@ -39533,8 +42409,10 @@ definitions: 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: @@ -39550,10 +42428,12 @@ definitions: 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 @@ -39583,7 +42463,7 @@ definitions: 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 @@ -39609,7 +42489,7 @@ definitions: 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 @@ -39620,7 +42500,7 @@ definitions: description: >- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -39632,7 +42512,7 @@ definitions: 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. cosmos.gov.v1beta1.QueryProposalResponse: type: object @@ -39643,6 +42523,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39723,7 +42604,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() @@ -39733,13 +42614,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 { ... } @@ -39755,8 +42639,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39788,6 +42670,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -39797,20 +42680,6 @@ definitions: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -39822,18 +42691,25 @@ definitions: 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: @@ -39849,12 +42725,15 @@ definitions: 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: >- QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -39869,6 +42748,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39949,7 +42829,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() @@ -39959,13 +42839,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 { ... } @@ -39981,8 +42864,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -40014,6 +42895,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -40023,20 +42905,6 @@ definitions: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -40048,18 +42916,25 @@ definitions: 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: @@ -40075,13 +42950,17 @@ definitions: 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: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -40112,12 +42991,16 @@ definitions: 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: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. cosmos.gov.v1beta1.QueryVoteResponse: @@ -40129,8 +43012,10 @@ definitions: 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 @@ -40152,6 +43037,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40160,21 +43047,17 @@ definitions: - 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 - title: '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. @@ -40190,8 +43073,10 @@ definitions: 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 @@ -40213,6 +43098,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40221,25 +43108,21 @@ definitions: - 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 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -40267,7 +43150,7 @@ definitions: format: byte description: |- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -40278,19 +43161,23 @@ definitions: format: byte 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: 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 @@ -40298,8 +43185,10 @@ definitions: 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 @@ -40321,6 +43210,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40329,21 +43220,17 @@ definitions: - 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 - title: '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. @@ -40369,12 +43256,14 @@ definitions: properties: voting_period: type: string - description: Length of the voting period. + 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 @@ -40383,16 +43272,9 @@ definitions: - 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. @@ -40403,8 +43285,10 @@ definitions: 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: @@ -40419,6 +43303,7 @@ definitions: 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. @@ -40445,14 +43330,64 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. description: DepositParams defines the params for deposits on governance proposals. + cosmos.gov.v1.Params: + 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: |- + Params defines the parameters for the x/gov module. + + Since: cosmos-sdk 0.47 cosmos.gov.v1.Proposal: type: object properties: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -40535,7 +43470,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() @@ -40545,13 +43480,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 { ... } @@ -40567,8 +43505,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -40599,7 +43535,10 @@ definitions: "@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 @@ -40609,20 +43548,6 @@ definitions: - 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. final_tally_result: description: |- final_tally_result is the final tally result of the proposal. When @@ -40632,18 +43557,25 @@ definitions: 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: @@ -40658,15 +43590,30 @@ definitions: 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 @@ -40701,8 +43648,10 @@ definitions: 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: @@ -40718,6 +43667,7 @@ definitions: 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. @@ -40734,8 +43684,10 @@ definitions: 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: @@ -40751,10 +43703,12 @@ definitions: 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 @@ -40779,14 +43733,18 @@ definitions: type: object properties: voting_params: - description: voting_params defines the parameters related to voting. + description: |- + Deprecated: Prefer to use `params` instead. + voting_params defines the parameters related to voting. type: object 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. + description: |- + Deprecated: Prefer to use `params` instead. + deposit_params defines the parameters related to deposit. type: object properties: min_deposit: @@ -40810,9 +43768,11 @@ definitions: 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. + description: |- + Deprecated: Prefer to use `params` instead. + tally_params defines the parameters related to tally. type: object properties: quorum: @@ -40820,6 +43780,54 @@ definitions: 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 @@ -40831,6 +43839,10 @@ definitions: 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 @@ -40841,6 +43853,7 @@ definitions: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -40923,7 +43936,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() @@ -40933,13 +43946,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 { ... } @@ -40955,8 +43971,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -40987,7 +44001,10 @@ definitions: "@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 @@ -40997,20 +44014,6 @@ definitions: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -41022,18 +44025,25 @@ definitions: 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: @@ -41049,15 +44059,30 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: Proposal defines the core field members of a governance proposal. description: >- QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -41072,6 +44097,7 @@ definitions: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -41154,7 +44180,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() @@ -41164,13 +44190,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 { ... } @@ -41186,8 +44215,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -41218,7 +44245,10 @@ definitions: "@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 @@ -41228,20 +44258,6 @@ definitions: - 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. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -41253,18 +44269,25 @@ definitions: 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: @@ -41280,16 +44303,32 @@ definitions: 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 @@ -41320,12 +44359,17 @@ definitions: 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: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. cosmos.gov.v1.QueryVoteResponse: @@ -41337,14 +44381,18 @@ definitions: 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 @@ -41353,17 +44401,11 @@ definitions: - 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. + description: options is the weighted vote options. metadata: type: string description: metadata is any arbitrary metadata to attached to the vote. @@ -41382,14 +44424,18 @@ definitions: 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 @@ -41398,24 +44444,18 @@ definitions: - 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. + 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 defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -41442,7 +44482,7 @@ definitions: type: string description: |- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string description: >- @@ -41451,19 +44491,23 @@ definitions: type: string 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: 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 @@ -41471,14 +44515,18 @@ definitions: 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 @@ -41487,17 +44535,11 @@ definitions: - 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. + description: options is the weighted vote options. metadata: type: string description: metadata is any arbitrary metadata to attached to the vote. @@ -41526,12 +44568,14 @@ definitions: properties: voting_period: type: string - description: Length of the voting period. + 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 @@ -41540,16 +44584,9 @@ definitions: - 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. cosmos.mint.v1beta1.Params: type: object @@ -41573,7 +44610,7 @@ definitions: type: string format: uint64 title: expected blocks per year - description: Params holds parameters for the mint module. + description: Params defines the parameters for the x/mint module. cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: type: object properties: @@ -42183,7 +45220,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() @@ -42193,13 +45230,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 { ... } @@ -42215,8 +45255,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -42330,6 +45368,18 @@ definitions: 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 @@ -42380,7 +45430,7 @@ definitions: type: string title: >- min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators - description: Params defines the parameters for the staking module. + description: Params defines the parameters for the x/staking module. cosmos.staking.v1beta1.Pool: type: object properties: @@ -42540,6 +45590,15 @@ definitions: 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. @@ -42658,7 +45717,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() @@ -42668,13 +45727,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 { ... } @@ -42690,8 +45752,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -42804,6 +45864,18 @@ definitions: 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 @@ -42915,7 +45987,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() @@ -42925,13 +45997,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 { ... } @@ -42947,8 +46022,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43062,6 +46135,18 @@ definitions: 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 @@ -43271,7 +46356,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() @@ -43281,13 +46366,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 { ... } @@ -43303,8 +46391,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43418,6 +46504,18 @@ definitions: 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 @@ -43527,6 +46625,15 @@ definitions: 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. @@ -43560,6 +46667,15 @@ definitions: 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: @@ -43631,6 +46747,15 @@ definitions: 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. @@ -43796,7 +46921,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() @@ -43806,13 +46931,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 { ... } @@ -43828,8 +46956,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43942,6 +47068,18 @@ definitions: 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 @@ -43996,6 +47134,15 @@ definitions: 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. @@ -44116,7 +47263,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() @@ -44126,13 +47273,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 { ... } @@ -44148,8 +47298,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -44263,6 +47411,18 @@ definitions: 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 @@ -44337,6 +47497,15 @@ definitions: 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. @@ -44362,6 +47531,15 @@ definitions: 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. cosmos.staking.v1beta1.RedelegationEntryResponse: type: object @@ -44386,6 +47564,15 @@ definitions: 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: @@ -44436,6 +47623,15 @@ definitions: 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. @@ -44469,6 +47665,15 @@ definitions: 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: @@ -44514,6 +47719,15 @@ definitions: 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. @@ -44538,6 +47752,15 @@ definitions: 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. cosmos.staking.v1beta1.Validator: @@ -44627,7 +47850,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() @@ -44637,13 +47860,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 { ... } @@ -44659,8 +47885,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -44772,6 +47996,18 @@ definitions: 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 @@ -44877,10 +48113,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -44977,7 +48211,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() @@ -44987,13 +48221,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 { ... } @@ -45009,8 +48246,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45224,7 +48459,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() @@ -45234,13 +48469,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 { ... } @@ -45256,8 +48494,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45310,10 +48546,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -45507,8 +48741,8 @@ definitions: 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_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. @@ -45534,8 +48768,8 @@ definitions: 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_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. @@ -45706,7 +48940,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() @@ -45716,13 +48950,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 { ... } @@ -45738,8 +48975,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45792,10 +49027,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -46588,7 +49821,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() @@ -46598,13 +49831,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 { ... } @@ -46620,8 +49856,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -46674,10 +49908,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -46871,7 +50103,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() @@ -46881,13 +50113,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 { ... } @@ -46903,8 +50138,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -46957,10 +50190,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -47282,7 +50513,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() @@ -47292,13 +50523,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 { ... } @@ -47314,8 +50548,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47430,10 +50662,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -47530,7 +50760,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() @@ -47540,13 +50770,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 { ... } @@ -47562,8 +50795,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47715,7 +50946,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() @@ -47725,13 +50956,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 { ... } @@ -47747,8 +50981,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47889,7 +51121,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() @@ -47899,13 +51131,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 { ... } @@ -47921,8 +51156,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48041,7 +51274,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() @@ -48051,13 +51284,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 { ... } @@ -48073,8 +51309,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48214,7 +51448,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() @@ -48224,13 +51458,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 { ... } @@ -48246,8 +51483,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48388,7 +51623,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() @@ -48398,13 +51633,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 { ... } @@ -48420,8 +51658,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48540,7 +51776,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() @@ -48550,13 +51786,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 { ... } @@ -48572,8 +51811,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48611,6 +51848,94 @@ definitions: and can't be handled, they will be ignored description: TxBody is the body of a transaction that all signers sign over. + cosmos.tx.v1beta1.TxDecodeAminoRequest: + 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 + cosmos.tx.v1beta1.TxDecodeAminoResponse: + type: object + properties: + amino_json: + type: string + description: |- + TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxDecodeRequest: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxDecodeResponse: + type: object + properties: + tx: + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + description: tx is the decoded transaction. + description: |- + TxDecodeResponse is the response type for the + Service.TxDecode method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeAminoRequest: + type: object + properties: + amino_json: + type: string + description: |- + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeAminoResponse: + 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 + cosmos.tx.v1beta1.TxEncodeRequest: + type: object + properties: + tx: + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + description: tx is the transaction to encode. + description: |- + TxEncodeRequest is the request type for the Service.TxEncode + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeResponse: + 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 tendermint.abci.Event: type: object properties: @@ -48623,10 +51948,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: EventAttribute is a single key-value pair, associated with an event. @@ -48641,10 +51964,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: EventAttribute is a single key-value pair, associated with an event. @@ -48693,9 +52014,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: |- @@ -48781,7 +52100,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() @@ -48791,13 +52110,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 { ... } @@ -48813,8 +52135,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48900,9 +52220,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -48989,7 +52307,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() @@ -48999,13 +52317,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 { ... } @@ -49021,8 +52342,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49178,7 +52497,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() @@ -49188,13 +52507,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 { ... } @@ -49210,8 +52532,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49341,7 +52661,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() @@ -49351,13 +52671,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 { ... } @@ -49373,8 +52696,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49504,7 +52825,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() @@ -49514,13 +52835,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 { ... } @@ -49536,8 +52860,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49688,187 +53010,7 @@ definitions: 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" - } - 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. - cosmos.authz.v1beta1.QueryGrantsResponse: - 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. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49878,13 +53020,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 { ... } @@ -49900,7 +53045,186 @@ definitions: 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. + cosmos.authz.v1beta1.QueryGrantsResponse: + 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 @@ -50389,7 +53713,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() @@ -50399,13 +53723,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 { ... } @@ -50421,8 +53748,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50551,7 +53876,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() @@ -50561,13 +53886,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 { ... } @@ -50583,8 +53911,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50623,6 +53949,7 @@ definitions: 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 cosmos.nft.v1beta1.QueryClassResponse: type: object @@ -50731,7 +54058,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() @@ -50741,13 +54068,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 { ... } @@ -50763,8 +54093,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50908,7 +54236,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() @@ -50918,13 +54246,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 { ... } @@ -50940,8 +54271,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50974,7 +54303,9 @@ definitions: } 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: @@ -50991,14 +54322,6 @@ definitions: 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: QueryClassesResponse is the response type for the Query/Classes RPC method cosmos.nft.v1beta1.QueryNFTResponse: type: object @@ -51099,7 +54422,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() @@ -51109,13 +54432,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 { ... } @@ -51131,8 +54457,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51165,6 +54489,7 @@ definitions: } 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 cosmos.nft.v1beta1.QueryNFTsResponse: type: object @@ -51267,7 +54592,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() @@ -51277,13 +54602,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 { ... } @@ -51299,8 +54627,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51333,7 +54659,9 @@ definitions: } 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: @@ -51350,20 +54678,13 @@ definitions: 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: QueryNFTsResponse is the response type for the Query/NFTs RPC methods cosmos.nft.v1beta1.QueryOwnerResponse: 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 cosmos.nft.v1beta1.QuerySupplyResponse: type: object @@ -51371,6 +54692,7 @@ definitions: 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 cosmos.group.v1.GroupInfo: type: object @@ -51445,7 +54767,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -51533,7 +54855,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() @@ -51543,13 +54865,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 { ... } @@ -51565,8 +54890,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51634,7 +54957,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -51702,7 +55025,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -51801,7 +55124,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() @@ -51811,13 +55134,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 { ... } @@ -51833,8 +55159,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51867,6 +55191,14 @@ definitions: } 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 @@ -51917,7 +55249,7 @@ definitions: type: object properties: info: - description: info is the GroupInfo for the group. + description: info is the GroupInfo of the group. type: object properties: id: @@ -52021,8 +55353,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52110,7 +55441,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() @@ -52120,13 +55451,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 { ... } @@ -52142,8 +55476,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52222,8 +55554,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52311,7 +55642,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() @@ -52321,13 +55652,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 { ... } @@ -52343,8 +55677,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52422,8 +55754,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52511,7 +55842,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() @@ -52521,13 +55852,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 { ... } @@ -52543,8 +55877,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52716,7 +56048,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -52786,7 +56118,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -52885,7 +56217,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() @@ -52895,13 +56227,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 { ... } @@ -52917,8 +56252,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52951,6 +56284,14 @@ definitions: } 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. cosmos.group.v1.QueryProposalsByGroupPolicyResponse: type: object @@ -52969,7 +56310,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -53039,7 +56380,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -53138,7 +56479,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() @@ -53148,13 +56489,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 { ... } @@ -53170,8 +56514,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -53204,6 +56546,14 @@ definitions: } 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 @@ -53279,7 +56629,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53313,7 +56663,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53366,7 +56716,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53430,7 +56780,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53462,45 +56812,168 @@ definitions: format: int64 balance: type: string - bitcoinProof: + authorityAuthorization: type: object properties: - tx_bytes: + msg_url: type: string - format: byte - path: - type: string - format: byte - index: - type: integer - format: int64 - commonBlockHeader: + title: The URL of the message that needs to be authorized + authorized_policy: + $ref: '#/definitions/authorityPolicyType' + title: The policy that is authorized to access the message + title: |- + Authorization defines the authorization required to access use a message + which needs special permissions + authorityAuthorizationList: type: object properties: - height: - type: string - format: int64 - hash: - type: string - format: byte - parent_hash: - type: string - format: byte - chain_id: + authorizations: + type: array + items: + type: object + $ref: '#/definitions/authorityAuthorization' + title: AuthorizationList holds the list of authorizations on zetachain + authorityChainInfo: + type: object + properties: + chains: + type: array + items: + type: object + $ref: '#/definitions/chainsChain' + title: |- + ChainInfo contains static information about the chains + This structure is used to dynamically update these info on a live network + before hardcoding the values in a upgrade + authorityMsgAddAuthorizationResponse: + type: object + description: MsgAddAuthorizationResponse defines the MsgAddAuthorizationResponse service. + authorityMsgRemoveAuthorizationResponse: + type: object + description: |- + MsgRemoveAuthorizationResponse defines the MsgRemoveAuthorizationResponse + service. + authorityMsgUpdateChainInfoResponse: + type: object + description: MsgUpdateChainInfoResponse defines the MsgUpdateChainInfoResponse service. + authorityMsgUpdatePoliciesResponse: + type: object + description: MsgUpdatePoliciesResponse defines the MsgUpdatePoliciesResponse service. + authorityPolicies: + type: object + properties: + items: + type: array + items: + type: object + $ref: '#/definitions/authorityPolicy' + title: Policy contains info about authority policies + authorityPolicy: + type: object + properties: + policy_type: + $ref: '#/definitions/authorityPolicyType' + address: type: string - format: int64 - header: - $ref: '#/definitions/commonHeaderData' - title: chain specific header - commonChain: + authorityPolicyType: + type: string + enum: + - groupEmergency + - groupOperational + - groupAdmin + - groupEmpty + default: groupEmergency + description: |- + - groupEmergency: Used for emergency situations that require immediate action + - groupOperational: Used for operational tasks like changing + - groupAdmin: non-sensitive protocol parameters + + Used for administrative tasks like changing sensitive + - groupEmpty: protocol parameters or moving funds + + Used for empty policy, no action is allowed + title: PolicyType defines the type of policy + authorityQueryAuthorizationListResponse: + type: object + properties: + authorization_list: + $ref: '#/definitions/authorityAuthorizationList' + title: |- + QueryAuthorizationListResponse is the response type for the + Query/AuthorizationList RPC + authorityQueryAuthorizationResponse: + type: object + properties: + authorization: + $ref: '#/definitions/authorityAuthorization' + description: |- + QueryAuthorizationResponse is the response type for the Query/Authorization + RPC method. + authorityQueryGetChainInfoResponse: + type: object + properties: + chain_info: + $ref: '#/definitions/authorityChainInfo' + description: |- + QueryGetChainInfoResponse is the response type for the Query/ChainInfo RPC + method. + authorityQueryGetPoliciesResponse: + type: object + properties: + policies: + $ref: '#/definitions/authorityPolicies' + description: |- + QueryGetPoliciesResponse is the response type for the Query/Policies RPC + method. + chainsCCTXGateway: + type: string + enum: + - zevm + - observers + default: zevm + description: |- + - zevm: zevm is the internal CCTX gateway to process outbound on the ZEVM and read + inbound events from the ZEVM only used for ZetaChain chains + - observers: observers is the CCTX gateway for chains relying on the observer set to + observe inbounds and TSS for outbounds + title: CCTXGateway describes for the chain the gateway used to handle CCTX outbounds + chainsChain: type: object properties: - chain_name: - $ref: '#/definitions/commonChainName' chain_id: type: string format: int64 - commonChainName: + title: ChainId is the unique identifier of the chain + chain_name: + $ref: '#/definitions/chainsChainName' + title: |- + ChainName is the name of the chain + Deprecated(v19): replaced with Name + network: + $ref: '#/definitions/chainsNetwork' + title: Network is the network of the chain + network_type: + $ref: '#/definitions/chainsNetworkType' + description: 'NetworkType is the network type of the chain: mainnet, testnet, etc..' + vm: + $ref: '#/definitions/chainsVm' + title: Vm is the virtual machine used in the chain + consensus: + $ref: '#/definitions/chainsConsensus' + title: Consensus is the underlying consensus algorithm used by the chain + is_external: + type: boolean + title: IsExternal describe if the chain is ZetaChain or external + cctx_gateway: + $ref: '#/definitions/chainsCCTXGateway' + title: CCTXGateway is the gateway used to handle CCTX outbounds + name: + type: string + title: Name is the name of the chain + title: |- + Chain represents static data about a blockchain network + it is identified by a unique chain ID + chainsChainName: type: string enum: - empty @@ -53511,22 +56984,87 @@ definitions: - bsc_mainnet - goerli_testnet - mumbai_testnet - - ganache_testnet - - baobab_testnet - bsc_testnet - zeta_testnet - btc_testnet - sepolia_testnet - goerli_localnet - btc_regtest + - amoy_testnet + - optimism_mainnet + - optimism_sepolia + - base_mainnet + - base_sepolia + - solana_mainnet + - solana_devnet + - solana_localnet default: empty title: |- - - goerli_testnet: Testnet - - goerli_localnet: LocalNet - zeta_localnet = 13; - - btc_regtest: Athens - zeta_athensnet=15; - commonCoinType: + ChainName represents the name of the chain + Deprecated(v19): replaced with Chain.Name as string + chainsConsensus: + type: string + enum: + - ethereum + - tendermint + - bitcoin + - op_stack + - solana_consensus + default: ethereum + title: |- + Consensus represents the consensus algorithm used by the chain + this can represent the consensus of a L1 + this can also represent the solution of a L2 + chainsNetwork: + type: string + enum: + - eth + - zeta + - btc + - polygon + - bsc + - optimism + - base + - solana + default: eth + title: |- + Network represents the network of the chain + there is a single instance of the network on mainnet + then the network can have eventual testnets or devnets + chainsNetworkType: + type: string + enum: + - mainnet + - testnet + - privnet + - devnet + default: mainnet + title: |- + NetworkType represents the network type of the chain + Mainnet, Testnet, Privnet, Devnet + chainsReceiveStatus: + type: string + enum: + - created + - success + - failed + default: created + description: '- created: Created is used for inbounds' + title: |- + ReceiveStatus represents the status of an outbound + TODO: Rename and move + https://github.com/zeta-chain/node/issues/2257 + chainsVm: + type: string + enum: + - no_vm + - evm + - svm + default: no_vm + title: |- + Vm represents the virtual machine type of the chain to support smart + contracts + coinCoinType: type: string enum: - Zeta @@ -53538,40 +57076,6 @@ definitions: - Gas: Ether, BNB, Matic, Klay, BTC, etc - ERC20: ERC20 token - Cmd: not a real coin, rather a command - commonHeaderData: - type: object - properties: - ethereum_header: - type: string - format: byte - title: binary encoded headers; RLP for ethereum - bitcoin_header: - type: string - format: byte - title: 80-byte little-endian encoded binary data - commonProof: - type: object - properties: - ethereum_proof: - $ref: '#/definitions/ethereumProof' - bitcoin_proof: - $ref: '#/definitions/bitcoinProof' - commonPubKeySet: - type: object - properties: - secp256k1: - type: string - ed25519: - type: string - title: PubKeySet contains two pub keys , secp256k1 and ed25519 - commonReceiveStatus: - type: string - enum: - - Created - - Success - - Failed - default: Created - title: '- Created: some observer sees inbound tx' crosschainCctxStatus: type: string enum: @@ -53582,13 +57086,20 @@ definitions: - Reverted - Aborted default: PendingInbound - title: |- - - PendingInbound: some observer sees inbound tx + description: |2- + - PendingInbound: some observer sees inbound tx - PendingOutbound: super majority observer see inbound tx - OutboundMined: the corresponding outbound tx is mined - PendingRevert: outbound cannot succeed; should revert inbound - Reverted: inbound reverted. - - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. But the amount can be refunded to zetachain using and admin proposal + - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. + crosschainConversion: + type: object + properties: + zrc20: + type: string + rate: + type: string crosschainCrossChainTx: type: object properties: @@ -53603,13 +57114,13 @@ definitions: title: Not used by protocol , just relayed across cctx_status: $ref: '#/definitions/zetacorecrosschainStatus' - inbound_tx_params: - $ref: '#/definitions/crosschainInboundTxParams' - outbound_tx_params: + inbound_params: + $ref: '#/definitions/crosschainInboundParams' + outbound_params: type: array items: type: object - $ref: '#/definitions/crosschainOutboundTxParams' + $ref: '#/definitions/crosschainOutboundParams' crosschainGasPrice: type: object properties: @@ -53637,56 +57148,64 @@ definitions: median_index: type: string format: uint64 - crosschainInTxHashToCctx: + title: index of the median gas price in the prices array + priority_fees: + type: array + items: + type: string + format: uint64 + title: priority fees for EIP-1559 + crosschainInboundHashToCctx: type: object properties: - in_tx_hash: + inbound_hash: type: string cctx_index: type: array items: type: string - crosschainInTxTracker: - type: object - properties: - chain_id: - type: string - format: int64 - tx_hash: - type: string - coin_type: - $ref: '#/definitions/commonCoinType' - crosschainInboundTxParams: + crosschainInboundParams: type: object properties: sender: type: string - title: this address is the immediate contract/EOA that calls the Connector.send() + title: this address is the immediate contract/EOA that calls sender_chain_id: type: string format: int64 + title: the Connector.send() tx_origin: type: string title: this address is the EOA that signs the inbound tx coin_type: - $ref: '#/definitions/commonCoinType' + $ref: '#/definitions/coinCoinType' asset: type: string title: for ERC20 coin type, the asset is an address of the ERC20 contract amount: type: string - inbound_tx_observed_hash: + observed_hash: type: string - inbound_tx_observed_external_height: + observed_external_height: type: string format: uint64 - inbound_tx_ballot_index: + ballot_index: type: string - inbound_tx_finalized_zeta_height: + finalized_zeta_height: type: string format: uint64 tx_finalization_status: $ref: '#/definitions/crosschainTxFinalizationStatus' + crosschainInboundTracker: + type: object + properties: + chain_id: + type: string + format: int64 + tx_hash: + type: string + coin_type: + $ref: '#/definitions/coinCoinType' crosschainLastBlockHeight: type: object properties: @@ -53696,37 +57215,37 @@ definitions: type: string chain: type: string - lastSendHeight: + lastInboundHeight: type: string format: uint64 - lastReceiveHeight: + lastOutboundHeight: type: string format: uint64 crosschainMsgAbortStuckCCTXResponse: type: object - crosschainMsgAddToInTxTrackerResponse: + crosschainMsgAddInboundTrackerResponse: type: object - crosschainMsgAddToOutTxTrackerResponse: + crosschainMsgAddOutboundTrackerResponse: type: object properties: is_removed: type: boolean title: if the tx was removed from the tracker due to no pending cctx - crosschainMsgCreateTSSVoterResponse: - type: object - crosschainMsgGasPriceVoterResponse: - type: object crosschainMsgMigrateTssFundsResponse: type: object crosschainMsgRefundAbortedCCTXResponse: type: object - crosschainMsgRemoveFromOutTxTrackerResponse: + crosschainMsgRemoveOutboundTrackerResponse: + type: object + crosschainMsgUpdateRateLimiterFlagsResponse: type: object crosschainMsgUpdateTssAddressResponse: type: object - crosschainMsgVoteOnObservedInboundTxResponse: + crosschainMsgVoteGasPriceResponse: type: object - crosschainMsgVoteOnObservedOutboundTxResponse: + crosschainMsgVoteInboundResponse: + type: object + crosschainMsgVoteOutboundResponse: type: object crosschainMsgWhitelistERC20Response: type: object @@ -53735,24 +57254,7 @@ definitions: type: string cctx_index: type: string - crosschainOutTxTracker: - type: object - properties: - index: - type: string - title: 'format: "chain-nonce"' - chain_id: - type: string - format: int64 - nonce: - type: string - format: uint64 - hash_list: - type: array - items: - type: object - $ref: '#/definitions/crosschainTxHashList' - crosschainOutboundTxParams: + crosschainOutboundParams: type: object properties: receiver: @@ -53761,39 +57263,58 @@ definitions: type: string format: int64 coin_type: - $ref: '#/definitions/commonCoinType' + $ref: '#/definitions/coinCoinType' amount: type: string - outbound_tx_tss_nonce: + tss_nonce: type: string format: uint64 - outbound_tx_gas_limit: + gas_limit: type: string format: uint64 - outbound_tx_gas_price: + gas_price: + type: string + gas_priority_fee: type: string - outbound_tx_hash: + hash: type: string title: |- the above are commands for zetaclients the following fields are used when the outbound tx is mined - outbound_tx_ballot_index: + ballot_index: type: string - outbound_tx_observed_external_height: + observed_external_height: type: string format: uint64 - outbound_tx_gas_used: + gas_used: type: string format: uint64 - outbound_tx_effective_gas_price: + effective_gas_price: type: string - outbound_tx_effective_gas_limit: + effective_gas_limit: type: string format: uint64 tss_pubkey: type: string tx_finalization_status: $ref: '#/definitions/crosschainTxFinalizationStatus' + crosschainOutboundTracker: + type: object + properties: + index: + type: string + title: 'format: "chain-nonce"' + chain_id: + type: string + format: int64 + nonce: + type: string + format: uint64 + hash_list: + type: array + items: + type: object + $ref: '#/definitions/crosschainTxHash' crosschainQueryAllCctxResponse: type: object properties: @@ -53814,34 +57335,34 @@ definitions: $ref: '#/definitions/crosschainGasPrice' pagination: $ref: '#/definitions/v1beta1PageResponse' - crosschainQueryAllInTxHashToCctxResponse: + crosschainQueryAllInboundHashToCctxResponse: type: object properties: - inTxHashToCctx: + inboundHashToCctx: type: array items: type: object - $ref: '#/definitions/crosschainInTxHashToCctx' + $ref: '#/definitions/crosschainInboundHashToCctx' pagination: $ref: '#/definitions/v1beta1PageResponse' - crosschainQueryAllInTxTrackerByChainResponse: + crosschainQueryAllInboundTrackerByChainResponse: type: object properties: - inTxTracker: + inboundTracker: type: array items: type: object - $ref: '#/definitions/crosschainInTxTracker' + $ref: '#/definitions/crosschainInboundTracker' pagination: $ref: '#/definitions/v1beta1PageResponse' - crosschainQueryAllInTxTrackersResponse: + crosschainQueryAllInboundTrackersResponse: type: object properties: - inTxTracker: + inboundTracker: type: array items: type: object - $ref: '#/definitions/crosschainInTxTracker' + $ref: '#/definitions/crosschainInboundTracker' pagination: $ref: '#/definitions/v1beta1PageResponse' crosschainQueryAllLastBlockHeightResponse: @@ -53854,24 +57375,24 @@ definitions: $ref: '#/definitions/crosschainLastBlockHeight' pagination: $ref: '#/definitions/v1beta1PageResponse' - crosschainQueryAllOutTxTrackerByChainResponse: + crosschainQueryAllOutboundTrackerByChainResponse: type: object properties: - outTxTracker: + outboundTracker: type: array items: type: object - $ref: '#/definitions/crosschainOutTxTracker' + $ref: '#/definitions/crosschainOutboundTracker' pagination: $ref: '#/definitions/v1beta1PageResponse' - crosschainQueryAllOutTxTrackerResponse: + crosschainQueryAllOutboundTrackerResponse: type: object properties: - outTxTracker: + outboundTracker: type: array items: type: object - $ref: '#/definitions/crosschainOutTxTracker' + $ref: '#/definitions/crosschainOutboundTracker' pagination: $ref: '#/definitions/v1beta1PageResponse' crosschainQueryConvertGasToZetaResponse: @@ -53894,22 +57415,22 @@ definitions: properties: GasPrice: $ref: '#/definitions/crosschainGasPrice' - crosschainQueryGetInTxHashToCctxResponse: + crosschainQueryGetInboundHashToCctxResponse: type: object properties: - inTxHashToCctx: - $ref: '#/definitions/crosschainInTxHashToCctx' + inboundHashToCctx: + $ref: '#/definitions/crosschainInboundHashToCctx' crosschainQueryGetLastBlockHeightResponse: type: object properties: LastBlockHeight: $ref: '#/definitions/crosschainLastBlockHeight' - crosschainQueryGetOutTxTrackerResponse: + crosschainQueryGetOutboundTrackerResponse: type: object properties: - outTxTracker: - $ref: '#/definitions/crosschainOutTxTracker' - crosschainQueryInTxHashToCctxDataResponse: + outboundTracker: + $ref: '#/definitions/crosschainOutboundTracker' + crosschainQueryInboundHashToCctxDataResponse: type: object properties: CrossChainTxs: @@ -53917,13 +57438,18 @@ definitions: items: type: object $ref: '#/definitions/crosschainCrossChainTx' + crosschainQueryInboundTrackerResponse: + type: object + properties: + inbound_tracker: + $ref: '#/definitions/crosschainInboundTracker' crosschainQueryLastZetaHeightResponse: type: object properties: Height: type: string format: int64 - crosschainQueryListCctxPendingResponse: + crosschainQueryListPendingCctxResponse: type: object properties: CrossChainTx: @@ -53934,16 +57460,83 @@ definitions: totalPending: type: string format: uint64 + crosschainQueryListPendingCctxWithinRateLimitResponse: + type: object + properties: + cross_chain_tx: + type: array + items: + type: object + $ref: '#/definitions/crosschainCrossChainTx' + total_pending: + type: string + format: uint64 + current_withdraw_window: + type: string + format: int64 + current_withdraw_rate: + type: string + rate_limit_exceeded: + type: boolean crosschainQueryMessagePassingProtocolFeeResponse: type: object properties: feeInZeta: type: string + crosschainQueryRateLimiterFlagsResponse: + type: object + properties: + rateLimiterFlags: + $ref: '#/definitions/crosschainRateLimiterFlags' + crosschainQueryRateLimiterInputResponse: + type: object + properties: + height: + type: string + format: int64 + cctxs_missed: + type: array + items: + type: object + $ref: '#/definitions/crosschainCrossChainTx' + cctxs_pending: + type: array + items: + type: object + $ref: '#/definitions/crosschainCrossChainTx' + total_pending: + type: string + format: uint64 + past_cctxs_value: + type: string + pending_cctxs_value: + type: string + lowest_pending_cctx_height: + type: string + format: int64 crosschainQueryZetaAccountingResponse: type: object properties: aborted_zeta_amount: type: string + crosschainRateLimiterFlags: + type: object + properties: + enabled: + type: boolean + window: + type: string + format: int64 + title: window in blocks + rate: + type: string + title: rate in azeta per block + conversions: + type: array + items: + type: object + $ref: '#/definitions/crosschainConversion' + title: conversion in azeta per token crosschainTxFinalizationStatus: type: string enum: @@ -53955,7 +57548,7 @@ definitions: - NotFinalized: the corresponding tx is not finalized - Finalized: the corresponding tx is finalized but not executed yet - Executed: the corresponding tx is executed - crosschainTxHashList: + crosschainTxHash: type: object properties: tx_hash: @@ -53964,6 +57557,18 @@ definitions: type: string proved: type: boolean + cryptoPubKeySet: + type: object + properties: + secp256k1: + type: string + ed25519: + type: string + title: PubKeySet contains two pub keys , secp256k1 and ed25519 + emissionsMsgUpdateParamsResponse: + type: object + emissionsMsgWithdrawEmissionResponse: + type: object emissionsQueryGetEmissionsFactorsResponse: type: object properties: @@ -53982,24 +57587,18 @@ definitions: type: string emission_module_address: type: string + emissionsQueryParamsResponse: + type: object + properties: + params: + $ref: '#/definitions/zetacoreemissionsParams' + description: params holds all the parameters of this module. + description: QueryParamsResponse is response type for the Query/Params RPC method. emissionsQueryShowAvailableEmissionsResponse: type: object properties: amount: type: string - ethereumProof: - type: object - properties: - keys: - type: array - items: - type: string - format: byte - values: - type: array - items: - type: string - format: byte fungibleForeignCoins: type: object properties: @@ -54020,7 +57619,7 @@ definitions: symbol: type: string coin_type: - $ref: '#/definitions/commonCoinType' + $ref: '#/definitions/coinCoinType' gas_limit: type: string format: uint64 @@ -54046,16 +57645,20 @@ definitions: type: string systemContract: type: string + fungibleMsgPauseZRC20Response: + type: object fungibleMsgRemoveForeignCoinResponse: type: object + fungibleMsgUnpauseZRC20Response: + type: object fungibleMsgUpdateContractBytecodeResponse: type: object + fungibleMsgUpdateGatewayContractResponse: + type: object fungibleMsgUpdateSystemContractResponse: type: object fungibleMsgUpdateZRC20LiquidityCapResponse: type: object - fungibleMsgUpdateZRC20PausedStatusResponse: - type: object fungibleMsgUpdateZRC20WithdrawFeeResponse: type: object fungibleQueryAllForeignCoinsResponse: @@ -54110,12 +57713,8 @@ definitions: type: string connector_zevm: type: string - fungibleUpdatePausedStatusAction: - type: string - enum: - - PAUSE - - UNPAUSE - default: PAUSE + gateway: + type: string googlerpcStatus: type: object properties: @@ -54129,13 +57728,88 @@ definitions: items: type: object $ref: '#/definitions/protobufAny' - observerAdmin_Policy: + lightclientChainState: type: object properties: - policy_type: - $ref: '#/definitions/observerPolicy_Type' - address: + chain_id: type: string + format: int64 + latest_height: + type: string + format: int64 + earliest_height: + type: string + format: int64 + latest_block_hash: + type: string + format: byte + title: ChainState defines the overall state of the block headers for a given chain + lightclientHeaderSupportedChain: + type: object + properties: + chain_id: + type: string + format: int64 + enabled: + type: boolean + title: |- + HeaderSupportedChain is a structure containing information of weather a chain + is enabled or not for block header verification + lightclientMsgDisableHeaderVerificationResponse: + type: object + lightclientMsgEnableHeaderVerificationResponse: + type: object + lightclientQueryAllBlockHeaderResponse: + type: object + properties: + block_headers: + type: array + items: + type: object + $ref: '#/definitions/proofsBlockHeader' + pagination: + $ref: '#/definitions/v1beta1PageResponse' + lightclientQueryAllChainStateResponse: + type: object + properties: + chain_state: + type: array + items: + type: object + $ref: '#/definitions/lightclientChainState' + pagination: + $ref: '#/definitions/v1beta1PageResponse' + lightclientQueryGetBlockHeaderResponse: + type: object + properties: + block_header: + $ref: '#/definitions/proofsBlockHeader' + lightclientQueryGetChainStateResponse: + type: object + properties: + chain_state: + $ref: '#/definitions/lightclientChainState' + lightclientQueryHeaderEnabledChainsResponse: + type: object + properties: + header_enabled_chains: + type: array + items: + type: object + $ref: '#/definitions/lightclientHeaderSupportedChain' + lightclientQueryHeaderSupportedChainsResponse: + type: object + properties: + header_supported_chains: + type: array + items: + type: object + $ref: '#/definitions/lightclientHeaderSupportedChain' + lightclientQueryProveResponse: + type: object + properties: + valid: + type: boolean observerBallotStatus: type: string enum: @@ -54155,28 +57829,6 @@ definitions: items: type: object $ref: '#/definitions/observerNode' - observerBlockHeaderState: - type: object - properties: - chain_id: - type: string - format: int64 - latest_height: - type: string - format: int64 - earliest_height: - type: string - format: int64 - latest_block_hash: - type: string - format: byte - observerBlockHeaderVerificationFlags: - type: object - properties: - isEthTypeChainEnabled: - type: boolean - isBtcTypeChainEnabled: - type: boolean observerChainNonces: type: object properties: @@ -54184,6 +57836,7 @@ definitions: type: string index: type: string + title: 'deprecated(v19): index has been replaced by chain_id for unique identifier' chain_id: type: string format: int64 @@ -54209,10 +57862,10 @@ definitions: gas_price_ticker: type: string format: uint64 - in_tx_ticker: + inbound_ticker: type: string format: uint64 - out_tx_ticker: + outbound_ticker: type: string format: uint64 watch_utxo_ticker: @@ -54224,10 +57877,10 @@ definitions: type: string erc20_custody_contract_address: type: string - outbound_tx_schedule_interval: + outbound_schedule_interval: type: string format: int64 - outbound_tx_schedule_lookahead: + outbound_schedule_lookahead: type: string format: int64 ballot_threshold: @@ -54236,6 +57889,8 @@ definitions: type: string is_supported: type: boolean + gateway_address: + type: string observerChainParamsList: type: object properties: @@ -54253,8 +57908,6 @@ definitions: type: boolean gasPriceIncreaseFlags: $ref: '#/definitions/observerGasPriceIncreaseFlags' - blockHeaderVerificationFlags: - $ref: '#/definitions/observerBlockHeaderVerificationFlags' observerGasPriceIncreaseFlags: type: object properties: @@ -54275,7 +57928,9 @@ definitions: maxPendingCctxs: type: integer format: int64 - title: Maximum number of pending crosschain transactions to check for gas price increase + title: |- + Maximum number of pending crosschain transactions to check for gas price + increase observerKeygen: type: object properties: @@ -54306,22 +57961,42 @@ definitions: last_change_height: type: string format: int64 - observerMsgAddBlameVoteResponse: + observerMsgAddObserverResponse: type: object - observerMsgAddBlockHeaderResponse: + observerMsgDisableCCTXResponse: type: object - observerMsgAddObserverResponse: + observerMsgEnableCCTXResponse: type: object observerMsgRemoveChainParamsResponse: type: object + observerMsgResetChainNoncesResponse: + type: object observerMsgUpdateChainParamsResponse: type: object - observerMsgUpdateCrosschainFlagsResponse: + observerMsgUpdateGasPriceIncreaseFlagsResponse: type: object observerMsgUpdateKeygenResponse: type: object observerMsgUpdateObserverResponse: type: object + observerMsgVoteBlameResponse: + type: object + observerMsgVoteBlockHeaderResponse: + type: object + properties: + ballot_created: + type: boolean + vote_finalized: + type: boolean + observerMsgVoteTSSResponse: + type: object + properties: + ballot_created: + type: boolean + vote_finalized: + type: boolean + keygen_success: + type: boolean observerNode: type: object properties: @@ -54341,7 +58016,7 @@ definitions: granteeAddress: type: string granteePubkey: - $ref: '#/definitions/commonPubKeySet' + $ref: '#/definitions/cryptoPubKeySet' nodeStatus: $ref: '#/definitions/observerNodeStatus' observerNodeStatus: @@ -54358,23 +58033,11 @@ definitions: type: string enum: - EmptyObserverType - - InBoundTx - - OutBoundTx + - InboundTx + - OutboundTx - TSSKeyGen - TSSKeySign default: EmptyObserverType - observerObserverParams: - type: object - properties: - chain: - $ref: '#/definitions/commonChain' - ballot_threshold: - type: string - min_observer_delegation: - type: string - is_supported: - type: boolean - title: 'Deprecated: Use ChainParamsList' observerObserverUpdateReason: type: string enum: @@ -54397,12 +58060,6 @@ definitions: tss: type: string title: store key is tss+chainid - observerPolicy_Type: - type: string - enum: - - group1 - - group2 - default: group1 observerQueryAllBlameRecordsResponse: type: object properties: @@ -54413,16 +58070,6 @@ definitions: $ref: '#/definitions/observerBlame' pagination: $ref: '#/definitions/v1beta1PageResponse' - observerQueryAllBlockHeaderResponse: - type: object - properties: - block_headers: - type: array - items: - type: object - $ref: '#/definitions/commonBlockHeader' - pagination: - $ref: '#/definitions/v1beta1PageResponse' observerQueryAllChainNoncesResponse: type: object properties: @@ -54480,16 +58127,6 @@ definitions: properties: blame_info: $ref: '#/definitions/observerBlame' - observerQueryGetBlockHeaderByHashResponse: - type: object - properties: - block_header: - $ref: '#/definitions/commonBlockHeader' - observerQueryGetBlockHeaderStateResponse: - type: object - properties: - block_header_state: - $ref: '#/definitions/observerBlockHeaderState' observerQueryGetChainNoncesResponse: type: object properties: @@ -54532,6 +58169,13 @@ definitions: type: string btc: type: string + observerQueryGetTssAddressResponse: + type: object + properties: + eth: + type: string + btc: + type: string observerQueryHasVotedResponse: type: object properties: @@ -54549,11 +58193,6 @@ definitions: properties: pending_nonces: $ref: '#/definitions/observerPendingNonces' - observerQueryProveResponse: - type: object - properties: - valid: - type: boolean observerQueryShowObserverCountResponse: type: object properties: @@ -54566,7 +58205,20 @@ definitions: type: array items: type: object - $ref: '#/definitions/commonChain' + $ref: '#/definitions/chainsChain' + observerQueryTssFundsMigratorInfoAllResponse: + type: object + properties: + tss_funds_migrators: + type: array + items: + type: object + $ref: '#/definitions/observerTssFundMigratorInfo' + observerQueryTssFundsMigratorInfoResponse: + type: object + properties: + tss_funds_migrator: + $ref: '#/definitions/observerTssFundMigratorInfo' observerQueryTssHistoryResponse: type: object properties: @@ -54596,6 +58248,14 @@ definitions: keyGenZetaHeight: type: string format: int64 + observerTssFundMigratorInfo: + type: object + properties: + chain_id: + type: string + format: int64 + migration_cctx_index: + type: string observerVoteType: type: string enum: @@ -54603,7 +58263,10 @@ definitions: - FailureObservation - NotYetVoted default: SuccessObservation - description: ' - FailureObservation: Failure observation means , the message that this voter is observing failed / reverted . It does not mean it was unable to observe.' + description: |2- + - FailureObservation: Failure observation means , the the message that + - NotYetVoted: this voter is observing failed / reverted . It does + not mean it was unable to observe. observerVoterList: type: object properties: @@ -54611,6 +58274,67 @@ definitions: type: string vote_type: $ref: '#/definitions/observerVoteType' + pkgproofsProof: + type: object + properties: + ethereum_proof: + $ref: '#/definitions/proofsethereumProof' + bitcoin_proof: + $ref: '#/definitions/proofsbitcoinProof' + proofsBlockHeader: + type: object + properties: + height: + type: string + format: int64 + hash: + type: string + format: byte + parent_hash: + type: string + format: byte + chain_id: + type: string + format: int64 + header: + $ref: '#/definitions/proofsHeaderData' + title: chain specific header + proofsHeaderData: + type: object + properties: + ethereum_header: + type: string + format: byte + title: binary encoded headers; RLP for ethereum + bitcoin_header: + type: string + format: byte + title: 80-byte little-endian encoded binary data + proofsbitcoinProof: + type: object + properties: + tx_bytes: + type: string + format: byte + path: + type: string + format: byte + index: + type: integer + format: int64 + proofsethereumProof: + type: object + properties: + keys: + type: array + items: + type: string + format: byte + values: + type: array + items: + type: string + format: byte protobufAny: type: object properties: @@ -54685,30 +58409,6 @@ definitions: repeated Bar results = 1; PageResponse page = 2; } - zetacorecrosschainParams: - type: object - properties: - enabled: - type: boolean - description: Params defines the parameters for the module. - zetacorecrosschainQueryGetTssAddressResponse: - type: object - properties: - eth: - type: string - btc: - type: string - title: |- - Deprecated: Moved to observer - TODO: remove after v12 once upgrade testing is no longer needed with v11 - https://github.com/zeta-chain/node/issues/1547 - zetacorecrosschainQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacorecrosschainParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. zetacorecrosschainStatus: type: object properties: @@ -54742,117 +58442,85 @@ definitions: type: string observer_slash_amount: type: string - description: Params defines the parameters for the module. - zetacoreemissionsQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacoreemissionsParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. - zetacorefungibleParams: - type: object - description: Params defines the parameters for the module. - zetacorefungibleQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacorefungibleParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. - zetacoreobserverParams: - type: object - properties: - observer_params: - type: array - items: - type: object - $ref: '#/definitions/observerObserverParams' - title: 'Deprecated: Use ChainParamsList' - admin_policy: - type: array - items: - type: object - $ref: '#/definitions/observerAdmin_Policy' ballot_maturity_blocks: type: string format: int64 description: Params defines the parameters for the module. - zetacoreobserverQueryGetTssAddressResponse: - type: object - properties: - eth: - type: string - btc: - type: string - zetacoreobserverQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacoreobserverParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. ethermint.evm.v1.ChainConfig: type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: 'petersburg_block: Petersburg switch block (nil same as Constantinople)' istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values @@ -54863,7 +58531,17 @@ definitions: gas: type: string format: uint64 - title: the estimated gas + title: gas returns the estimated gas + ret: + type: string + format: byte + title: >- + ret is the returned data from evm function (result or data supplied with revert + + opcode) + vm_error: + type: string + title: vm_error is the error returned by vm execution title: EstimateGasResponse defines EstimateGas response ethermint.evm.v1.Log: type: object @@ -54875,25 +58553,25 @@ definitions: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -54901,7 +58579,7 @@ definitions: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -54912,6 +58590,10 @@ definitions: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. ethermint.evm.v1.MsgEthereumTx: type: object properties: @@ -54995,7 +58677,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() @@ -55005,7 +58687,7 @@ 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 := anypb.New(foo) @@ -55030,8 +58712,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -55062,19 +58742,21 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: inner transaction data + title: data is inner transaction data of the Ethereum transaction size: type: number format: double - title: 'DEPRECATED: encoded storage size of the transaction' + title: size is the encoded storage size of the transaction (DEPRECATED) hash: type: string - title: transaction hash in hex format + title: hash of the transaction in hex format from: type: string - title: |- - ethereum signer address in hex format. This address value is checked + title: >- + from is the ethereum signer address in hex format. This address value is checked + against the address derived from the signature (V, R, S) using the + secp256k1 elliptic curve description: MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. ethermint.evm.v1.MsgEthereumTxResponse: @@ -55082,9 +58764,11 @@ definitions: properties: hash: type: string - title: |- - ethereum transaction hash in hex format. This hash differs from the + title: >- + hash of the ethereum transaction in hex format. This hash differs from the + Tendermint sha256 hash of the transaction bytes. See + https://github.com/tendermint/tendermint/issues/6539 for reference logs: type: array @@ -55098,25 +58782,25 @@ definitions: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -55124,7 +58808,7 @@ definitions: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -55135,22 +58819,27 @@ definitions: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. description: |- logs contains the transaction hash and the proto-compatible ethereum logs. ret: type: string format: byte - title: |- - returned data from evm function (result or data supplied with revert + title: >- + ret is the returned data from evm function (result or data supplied with revert + opcode) vm_error: type: string - title: vm error is the error returned by vm execution + title: vm_error is the error returned by vm execution gas_used: type: string format: uint64 - title: gas consumed by the transaction + title: gas_used specifies how much gas was consumed by the transaction description: MsgEthereumTxResponse defines the Msg/EthereumTx response type. ethermint.evm.v1.Params: type: object @@ -55158,92 +58847,107 @@ definitions: evm_denom: type: string description: |- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean - title: enable call toggles state transitions that use the vm.Call function + title: enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: - title: chain config defines the EVM chain configuration parameters + title: chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. allow_unprotected_txs: type: boolean - description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 - + description: |- + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters ethermint.evm.v1.QueryAccountResponse: @@ -55254,7 +58958,7 @@ definitions: description: balance is the balance of the EVM denomination. code_hash: type: string - description: code hash is the hex-formatted code bytes from the EOA. + description: code_hash is the hex-formatted code bytes from the EOA. nonce: type: string format: uint64 @@ -55274,7 +58978,8 @@ definitions: properties: base_fee: type: string - description: BaseFeeResponse returns the EIP1559 base fee. + title: base_fee is the EIP1559 base fee + description: QueryBaseFeeResponse returns the EIP1559 base fee. ethermint.evm.v1.QueryCodeResponse: type: object properties: @@ -55298,7 +59003,7 @@ definitions: account_number: type: string format: uint64 - title: account_number is the account numbert + title: account_number is the account number description: >- QueryCosmosAccountResponse is the response type for the Query/CosmosAccount @@ -55313,95 +59018,110 @@ definitions: evm_denom: type: string description: >- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean title: >- - enable call toggles state transitions that use the vm.Call function + enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: - title: chain config defines the EVM chain configuration parameters + title: chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string title: >- - Constantinople switch block (nil no fork, 0 = already activated) + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: >- + cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. allow_unprotected_txs: type: boolean - description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 - + description: |- + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters description: >- @@ -55412,7 +59132,7 @@ definitions: value: type: string description: >- - key defines the storage state value hash associated with the given key. + value defines the storage state value hash associated with the given key. description: |- QueryStorageResponse is the response type for the Query/Storage RPC method. @@ -55422,6 +59142,7 @@ definitions: data: type: string format: byte + title: data is the response serialized in bytes title: QueryTraceBlockResponse defines TraceBlock response ethermint.evm.v1.QueryTraceTxResponse: type: object @@ -55429,7 +59150,7 @@ definitions: data: type: string format: byte - title: response serialized in bytes + title: data is the response serialized in bytes title: QueryTraceTxResponse defines TraceTx response ethermint.evm.v1.QueryValidatorAccountResponse: type: object @@ -55453,106 +59174,121 @@ definitions: properties: tracer: type: string - title: custom javascript tracer + title: tracer is a custom javascript tracer timeout: type: string title: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls reexec: type: string format: uint64 - title: number of blocks the tracer is willing to go back + title: reexec defines the number of blocks the tracer is willing to go back disable_stack: type: boolean - title: disable stack capture + title: disable_stack switches stack capture disable_storage: type: boolean - title: disable storage capture + title: disable_storage switches storage capture debug: type: boolean - title: print output during capture end + title: debug can be used to print output during capture end limit: type: integer format: int32 - title: maximum length of output, but zero means unlimited + title: limit defines the maximum length of output, but zero means unlimited overrides: - title: >- - Chain overrides, can be used to execute a trace using future fork rules + title: overrides can be used to execute a trace using future fork rules type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. enable_memory: type: boolean - title: enable memory capture + title: enable_memory switches memory capture enable_return_data: type: boolean - title: enable return data capture + title: enable_return_data switches the capture of return data tracer_json_config: type: string - title: tracer config + title: tracer_json_config configures the tracer using a JSON string description: TraceConfig holds extra parameters to trace functions. host: zetachain-athens.blockpi.network/lcd/v1/public diff --git a/src/pages/architecture/modules/authority/messages.md b/src/pages/architecture/modules/authority/messages.md new file mode 100644 index 00000000..8ee4264b --- /dev/null +++ b/src/pages/architecture/modules/authority/messages.md @@ -0,0 +1,49 @@ +# Messages + +## MsgUpdatePolicies + +UpdatePolicies updates policies + +```proto +message MsgUpdatePolicies { + string creator = 1; + Policies policies = 2; +} +``` + +## MsgUpdateChainInfo + +UpdateChainInfo updates the chain info structure that adds new static chain info or overwrite existing chain info +on the hard-coded chain info + +```proto +message MsgUpdateChainInfo { + string creator = 1; + ChainInfo chain_info = 2; +} +``` + +## MsgAddAuthorization + +AddAuthorization defines a method to add an authorization.If the authorization already exists, it will be overwritten with the provided policy. +This should be called by the admin policy account. + +```proto +message MsgAddAuthorization { + string creator = 1; + string msg_url = 2; + PolicyType authorized_policy = 3; +} +``` + +## MsgRemoveAuthorization + +RemoveAuthorization removes the authorization from the list. It should be called by the admin policy account. + +```proto +message MsgRemoveAuthorization { + string creator = 1; + string msg_url = 2; +} +``` + diff --git a/src/pages/architecture/modules/crosschain/messages.md b/src/pages/architecture/modules/crosschain/messages.md new file mode 100644 index 00000000..feb02afc --- /dev/null +++ b/src/pages/architecture/modules/crosschain/messages.md @@ -0,0 +1,274 @@ +# Messages + +## MsgAddOutboundTracker + +AddOutboundTracker adds a new record to the outbound transaction tracker. +only the admin policy account and the observer validators are authorized to broadcast this message without proof. +If no pending cctx is found, the tracker is removed, if there is an existed tracker with the nonce & chainID. + +```proto +message MsgAddOutboundTracker { + string creator = 1; + int64 chain_id = 2; + uint64 nonce = 3; + string tx_hash = 4; + pkg.proofs.Proof proof = 5; + string block_hash = 6; + int64 tx_index = 7; +} +``` + +## MsgAddInboundTracker + +AddInboundTracker adds a new record to the inbound transaction tracker. + +```proto +message MsgAddInboundTracker { + string creator = 1; + int64 chain_id = 2; + string tx_hash = 3; + pkg.coin.CoinType coin_type = 4; + pkg.proofs.Proof proof = 5; + string block_hash = 6; + int64 tx_index = 7; +} +``` + +## MsgRemoveOutboundTracker + +RemoveOutboundTracker removes a record from the outbound transaction tracker by chain ID and nonce. + +Authorized: admin policy group 1. + +```proto +message MsgRemoveOutboundTracker { + string creator = 1; + int64 chain_id = 2; + uint64 nonce = 3; +} +``` + +## MsgVoteGasPrice + +VoteGasPrice submits information about the connected chain's gas price at a specific block +height. Gas price submitted by each validator is recorded separately and a +median index is updated. + +Only observer validators are authorized to broadcast this message. + +```proto +message MsgVoteGasPrice { + string creator = 1; + int64 chain_id = 2; + uint64 price = 3; + uint64 priority_fee = 6; + uint64 block_number = 4; +} +``` + +## MsgVoteOutbound + +VoteOutbound casts a vote on an outbound transaction observed on a connected chain (after +it has been broadcasted to and finalized on a connected chain). If this is +the first vote, a new ballot is created. When a threshold of votes is +reached, the ballot is finalized. When a ballot is finalized, the outbound +transaction is processed. + +If the observation is successful, the difference between zeta burned +and minted is minted by the bank module and deposited into the module +account. + +If the observation is unsuccessful, the logic depends on the previous +status. + +If the previous status was `PendingOutbound`, a new revert transaction is +created. To cover the revert transaction fee, the required amount of tokens +submitted with the CCTX are swapped using a Uniswap V2 contract instance on +ZetaChain for the ZRC20 of the gas token of the receiver chain. The ZRC20 +tokens are then +burned. The nonce is updated. If everything is successful, the CCTX status is +changed to `PendingRevert`. + +If the previous status was `PendingRevert`, the CCTX is aborted. + +```mermaid +stateDiagram-v2 + + state observation <> + state success_old_status <> + state fail_old_status <> + PendingOutbound --> observation: Finalize outbound + observation --> success_old_status: Observation succeeded + success_old_status --> Reverted: Old status is PendingRevert + success_old_status --> OutboundMined: Old status is PendingOutbound + observation --> fail_old_status: Observation failed + fail_old_status --> PendingRevert: Old status is PendingOutbound + fail_old_status --> Aborted: Old status is PendingRevert + PendingOutbound --> Aborted: Finalize outbound error + +``` + +Only observer validators are authorized to broadcast this message. + +```proto +message MsgVoteOutbound { + string creator = 1; + string cctx_hash = 2; + string observed_outbound_hash = 3; + uint64 observed_outbound_block_height = 4; + uint64 observed_outbound_gas_used = 10; + string observed_outbound_effective_gas_price = 11; + uint64 observed_outbound_effective_gas_limit = 12; + string value_received = 5; + pkg.chains.ReceiveStatus status = 6; + int64 outbound_chain = 7; + uint64 outbound_tss_nonce = 8; + pkg.coin.CoinType coin_type = 9; +} +``` + +## MsgVoteInbound + +VoteInbound casts a vote on an inbound transaction observed on a connected chain. If this +is the first vote, a new ballot is created. When a threshold of votes is +reached, the ballot is finalized. When a ballot is finalized, a new CCTX is +created. + +If the receiver chain is ZetaChain, `HandleEVMDeposit` is called. If the +tokens being deposited are ZETA, `MintZetaToEVMAccount` is called and the +tokens are minted to the receiver account on ZetaChain. If the tokens being +deposited are gas tokens or ERC20 of a connected chain, ZRC20's `deposit` +method is called and the tokens are deposited to the receiver account on +ZetaChain. If the message is not empty, system contract's `depositAndCall` +method is also called and an omnichain contract on ZetaChain is executed. +Omnichain contract address and arguments are passed as part of the message. +If everything is successful, the CCTX status is changed to `OutboundMined`. + +If the receiver chain is a connected chain, the `FinalizeInbound` method is +called to prepare the CCTX to be processed as an outbound transaction. To +cover the outbound transaction fee, the required amount of tokens submitted +with the CCTX are swapped using a Uniswap V2 contract instance on ZetaChain +for the ZRC20 of the gas token of the receiver chain. The ZRC20 tokens are +then burned. The nonce is updated. If everything is successful, the CCTX +status is changed to `PendingOutbound`. + +```mermaid +stateDiagram-v2 + + state evm_deposit_success <> + state finalize_inbound <> + state evm_deposit_error <> + PendingInbound --> evm_deposit_success: Receiver is ZetaChain + evm_deposit_success --> OutboundMined: EVM deposit success + evm_deposit_success --> evm_deposit_error: EVM deposit error + evm_deposit_error --> PendingRevert: Contract error + evm_deposit_error --> Aborted: Internal error, invalid chain, gas, nonce + PendingInbound --> finalize_inbound: Receiver is connected chain + finalize_inbound --> Aborted: Finalize inbound error + finalize_inbound --> PendingOutbound: Finalize inbound success + +``` + +Only observer validators are authorized to broadcast this message. + +```proto +message MsgVoteInbound { + string creator = 1; + string sender = 2; + int64 sender_chain_id = 3; + string receiver = 4; + int64 receiver_chain = 5; + string amount = 6; + string message = 8; + string inbound_hash = 9; + uint64 inbound_block_height = 10; + uint64 gas_limit = 11; + pkg.coin.CoinType coin_type = 12; + string tx_origin = 13; + string asset = 14; + uint64 event_index = 15; +} +``` + +## MsgWhitelistERC20 + +WhitelistERC20 deploys a new zrc20, create a foreign coin object for the ERC20 +and emit a crosschain tx to whitelist the ERC20 on the external chain + +Authorized: admin policy group 1. + +```proto +message MsgWhitelistERC20 { + string creator = 1; + string erc20_address = 2; + int64 chain_id = 3; + string name = 4; + string symbol = 5; + uint32 decimals = 6; + int64 gas_limit = 7; +} +``` + +## MsgUpdateTssAddress + +UpdateTssAddress updates the TSS address. + +```proto +message MsgUpdateTssAddress { + string creator = 1; + string tss_pubkey = 2; +} +``` + +## MsgMigrateTssFunds + +MigrateTssFunds migrates the funds from the current TSS to the new TSS + +```proto +message MsgMigrateTssFunds { + string creator = 1; + int64 chain_id = 2; + string amount = 3; +} +``` + +## MsgAbortStuckCCTX + +AbortStuckCCTX aborts a stuck CCTX +Authorized: admin policy group 2 + +```proto +message MsgAbortStuckCCTX { + string creator = 1; + string cctx_index = 2; +} +``` + +## MsgRefundAbortedCCTX + +RefundAbortedCCTX refunds the aborted CCTX. +It verifies if the CCTX is aborted and not refunded, and if the refund address is valid. +It refunds the amount to the refund address and sets the CCTX as refunded. +Refer to documentation for GetRefundAddress for the refund address logic. +Refer to documentation for GetAbortedAmount for the aborted amount logic. + +```proto +message MsgRefundAbortedCCTX { + string creator = 1; + string cctx_index = 2; + string refund_address = 3; +} +``` + +## MsgUpdateRateLimiterFlags + +UpdateRateLimiterFlags updates the rate limiter flags. +Authorized: admin policy operational. + +```proto +message MsgUpdateRateLimiterFlags { + string creator = 1; + RateLimiterFlags rate_limiter_flags = 2; +} +``` + diff --git a/src/pages/architecture/modules/crosschain/overview.md b/src/pages/architecture/modules/crosschain/overview.md new file mode 100644 index 00000000..8af50ba8 --- /dev/null +++ b/src/pages/architecture/modules/crosschain/overview.md @@ -0,0 +1,90 @@ +--- +sidebar_position: 1 +--- + +# Overview + +The `crosschain` module tracks inbound and outbound cross-chain transactions +(CCTX). + +The main actors interacting with the Crosschain module are observer validators +(or "observers"). Observers are running an off-chain program (called +`zetaclient`) that watches connected blockchains for inbound transactions and +watches ZetaChain for pending outbound transactions and watches connected chains +for outbound transactions. + +After observing an inbound or an outbound transaction, an observer participates +in a voting process. + +## Voting + +When an observer submits a vote for a transaction a `ballot` is created (if it +wasn't created before). Observers are allowed to cast votes that will be +associated with this ballot. Based on `BallotThreshold`, when enough votes are +cast ballot is considered to be "finalized". + +The last vote that moves the ballot to the "finalized" state triggers execution +and pays the gas costs of the cross-chain transaction. + +Any votes cast after the ballot has been finalized are discarded. + +## Inbound Transaction + +Inbound transactions are cross-chain transactions observed on connected chains. +To vote on an inbound transaction an observer broadcasts +`MsgVoteInbound`. + +The last vote that moves the ballot to the "finalized" state triggers execution +of the cross-chain transaction. + +If the destination chain is ZetaChain and the CCTX does not contain a message, +ZRC20 tokens are deposited into an account on ZetaChain. + +If the destination chain is ZetaChain and the CCTX contains a message, ZRC20 +tokens are deposited and a contract on ZetaChain is called. Contract address and +the arguments for the contract call are contained within the message. + +If the destination chain is not ZetaChain, the status of a transaction is +changed to "pending outbound" and the CCTX to be processed as an outbound +transaction. + +## Outbound Transaction + +### Pending Outbound + +Observers watch ZetaChain for pending outbound transactions. To process a +pending outbound transactions observers enter into a TSS keysign ceremony to +sign the transaction, and then broadcast the signed transaction to the connected +blockchains. + +### Observed Outbound + +Observers watch connected blockchains for the broadcasted outbound transactions. +Once a transaction is "confirmed" (or "mined") on a connected blockchains, +observers vote on ZetaChain by sending a `VoteOutbound` message. + +After the vote passes the threshold, the voting is finalized and a transaction's +status is changed to final. + +## Permissions + +| Message | Admin policy account | Observer validator | +|-----------------------------| -------------------- | ------------------ | +| MsgVoteTSS | | ✅ | +| MsgGasPriceVoter | | ✅ | +| MsgVoteOutbound | | ✅ | +| MsgVoteInbound | | ✅ | +| MsgAddOutboundTracker | ✅ | ✅ | +| MsgRemoveOutboundTracker | ✅ | | + +## State + +The module stores the following information in the state: + +- List of outbound transactions +- List of chain nonces +- List of last chain heights +- List of cross-chain transactions +- Mapping between inbound transactions and cross-chain transactions +- TSS key +- Gas prices on connected chains submitted by observers diff --git a/src/pages/architecture/modules/emissions/messages.md b/src/pages/architecture/modules/emissions/messages.md new file mode 100644 index 00000000..b3549681 --- /dev/null +++ b/src/pages/architecture/modules/emissions/messages.md @@ -0,0 +1,28 @@ +# Messages + +## MsgUpdateParams + +UpdateParams defines a governance operation for updating the x/emissions module parameters. +The authority is hard-coded to the x/gov module account. + +```proto +message MsgUpdateParams { + string authority = 1; + Params params = 2; +} +``` + +## MsgWithdrawEmission + +WithdrawEmission allows the user to withdraw from their withdrawable emissions. +on a successful withdrawal, the amount is transferred from the undistributed rewards pool to the user's account. +if the amount to be withdrawn is greater than the available withdrawable emission, the max available amount is withdrawn. +if the pool does not have enough balance to process this request, an error is returned. + +```proto +message MsgWithdrawEmission { + string creator = 1; + string amount = 2; +} +``` + diff --git a/src/pages/architecture/modules/emissions/overview.md b/src/pages/architecture/modules/emissions/overview.md new file mode 100644 index 00000000..7a503d88 --- /dev/null +++ b/src/pages/architecture/modules/emissions/overview.md @@ -0,0 +1,23 @@ +--- +sidebar_position: 1 +--- + +# Overview + +The `emissions` module is responsible for orchestrating rewards distribution for +observers, validators and TSS signers. Currently, it only distributes rewards to +validators every block. The undistributed amount for TSS and observers is stored +in their respective pools. + +The distribution of rewards is implemented in the begin blocker. + +The module keeps track of parameters used for calculating rewards: + +- Maximum bond factor +- Minimum bond factor +- Average block time +- Target bond ratio +- Validator emission percentage +- Observer emission percentage +- TSS Signer emission percentage +- Duration factor constant diff --git a/src/pages/architecture/modules/fungible/messages.md b/src/pages/architecture/modules/fungible/messages.md new file mode 100644 index 00000000..ce624844 --- /dev/null +++ b/src/pages/architecture/modules/fungible/messages.md @@ -0,0 +1,153 @@ +# Messages + +## MsgDeploySystemContracts + +DeploySystemContracts deploy new instances of the system contracts + +Authorized: admin policy group 2. + +```proto +message MsgDeploySystemContracts { + string creator = 1; +} +``` + +## MsgDeployFungibleCoinZRC20 + +DeployFungibleCoinZRC20 deploys a fungible coin from a connected chains as a ZRC20 on ZetaChain. + +If this is a gas coin, the following happens: + +* ZRC20 contract for the coin is deployed +* contract address of ZRC20 is set as a token address in the system +contract +* ZETA tokens are minted and deposited into the module account +* setGasZetaPool is called on the system contract to add the information +about the pool to the system contract +* addLiquidityETH is called to add liquidity to the pool + +If this is a non-gas coin, the following happens: + +* ZRC20 contract for the coin is deployed +* The coin is added to the list of foreign coins in the module's state + +Authorized: admin policy group 2. + +```proto +message MsgDeployFungibleCoinZRC20 { + string creator = 1; + string ERC20 = 2; + int64 foreign_chain_id = 3; + uint32 decimals = 4; + string name = 5; + string symbol = 6; + pkg.coin.CoinType coin_type = 7; + int64 gas_limit = 8; +} +``` + +## MsgRemoveForeignCoin + +RemoveForeignCoin removes a coin from the list of foreign coins in the +module's state. + +Authorized: admin policy group 2. + +```proto +message MsgRemoveForeignCoin { + string creator = 1; + string zrc20_address = 2; +} +``` + +## MsgUpdateSystemContract + +UpdateSystemContract updates the system contract + +```proto +message MsgUpdateSystemContract { + string creator = 1; + string new_system_contract_address = 2; +} +``` + +## MsgUpdateContractBytecode + +UpdateContractBytecode updates the bytecode of a contract from the bytecode +of an existing contract Only a ZRC20 contract or the WZeta connector contract +can be updated IMPORTANT: the new contract bytecode must have the same +storage layout as the old contract bytecode the new contract can add new +variable but cannot remove any existing variable + +Authozied: admin policy group 2 + +```proto +message MsgUpdateContractBytecode { + string creator = 1; + string contract_address = 2; + string new_code_hash = 3; +} +``` + +## MsgUpdateZRC20WithdrawFee + +UpdateZRC20WithdrawFee updates the withdraw fee and gas limit of a zrc20 token + +```proto +message MsgUpdateZRC20WithdrawFee { + string creator = 1; + string zrc20_address = 2; + string new_withdraw_fee = 6; + string new_gas_limit = 7; +} +``` + +## MsgUpdateZRC20LiquidityCap + +UpdateZRC20LiquidityCap updates the liquidity cap for a ZRC20 token. + +Authorized: admin policy group 2. + +```proto +message MsgUpdateZRC20LiquidityCap { + string creator = 1; + string zrc20_address = 2; + string liquidity_cap = 3; +} +``` + +## MsgPauseZRC20 + +PauseZRC20 pauses a list of ZRC20 tokens +Authorized: admin policy group groupEmergency. + +```proto +message MsgPauseZRC20 { + string creator = 1; + string zrc20_addresses = 2; +} +``` + +## MsgUnpauseZRC20 + +UnpauseZRC20 unpauses the ZRC20 token +Authorized: admin policy group groupOperational. + +```proto +message MsgUnpauseZRC20 { + string creator = 1; + string zrc20_addresses = 2; +} +``` + +## MsgUpdateGatewayContract + +UpdateGatewayContract updates the zevm gateway contract used by the ZetaChain protocol to read inbounds and process outbounds + +```proto +message MsgUpdateGatewayContract { + string creator = 1; + string new_gateway_contract_address = 2; +} +``` + diff --git a/src/pages/architecture/modules/fungible/overview.md b/src/pages/architecture/modules/fungible/overview.md new file mode 100644 index 00000000..1420c79e --- /dev/null +++ b/src/pages/architecture/modules/fungible/overview.md @@ -0,0 +1,31 @@ +--- +sidebar_position: 1 +--- + +# Overview + +The `fungible` module facilitates the deployment of fungible tokens of connected +blockchains (called "foreign coins") on ZetaChain. + +Foreign coins are represented as ZRC20 tokens on ZetaChain. + +When a foreign coin is deployed on ZetaChain, a ZRC20 contract is deployed, a +pool is created, liquidity is added to the pool, and the foreign coin is added +to the list of foreign coins in the module's state. + +The module contains the logic for: + +- Deploying a foreign coin on ZetaChain +- Deploying a system contract, Uniswap and wrapped ZETA +- Depositing to and calling omnichain smart contracts on ZetaChain from + connected chains (`DepositZRC20AndCallContract` and `DepositZRC20`) + +the module depends heavily on the +[protocol contracts](https://github.com/zeta-chain/protocol-contracts). + +## State + +The `fungible` module keeps track of the following state: + +- System contract address +- A list of foreign coins diff --git a/src/pages/architecture/modules/lightclient/messages.md b/src/pages/architecture/modules/lightclient/messages.md new file mode 100644 index 00000000..394d4b73 --- /dev/null +++ b/src/pages/architecture/modules/lightclient/messages.md @@ -0,0 +1,26 @@ +# Messages + +## MsgEnableHeaderVerification + +EnableHeaderVerification enables the verification flags for the given chain IDs +Enabled chains allow the submissions of block headers and using it to verify the correctness of proofs + +```proto +message MsgEnableHeaderVerification { + string creator = 1; + int64 chain_id_list = 2; +} +``` + +## MsgDisableHeaderVerification + +DisableHeaderVerification disables the verification flags for the given chain IDs +Disabled chains do not allow the submissions of block headers or using it to verify the correctness of proofs + +```proto +message MsgDisableHeaderVerification { + string creator = 1; + int64 chain_id_list = 2; +} +``` + diff --git a/src/pages/architecture/modules/observer/messages.md b/src/pages/architecture/modules/observer/messages.md new file mode 100644 index 00000000..045de795 --- /dev/null +++ b/src/pages/architecture/modules/observer/messages.md @@ -0,0 +1,166 @@ +# Messages + +## MsgAddObserver + +AddObserver adds an observer address to the observer set + +```proto +message MsgAddObserver { + string creator = 1; + string observer_address = 2; + string zetaclient_grantee_pubkey = 3; + bool add_node_account_only = 4; +} +``` + +## MsgUpdateObserver + +UpdateObserver handles updating an observer address +Authorized: admin policy (admin update), old observer address (if the +reason is that the observer was tombstoned). + +```proto +message MsgUpdateObserver { + string creator = 1; + string old_observer_address = 2; + string new_observer_address = 3; + ObserverUpdateReason update_reason = 4; +} +``` + +## MsgUpdateChainParams + +UpdateChainParams updates chain parameters for a specific chain, or add a new one. +Chain parameters include: confirmation count, outbound transaction schedule interval, ZETA token, +connector and ERC20 custody contract addresses, etc. +Only the admin policy account is authorized to broadcast this message. + +```proto +message MsgUpdateChainParams { + string creator = 1; + ChainParams chainParams = 2; +} +``` + +## MsgRemoveChainParams + +RemoveChainParams removes chain parameters for a specific chain. + +```proto +message MsgRemoveChainParams { + string creator = 1; + int64 chain_id = 2; +} +``` + +## MsgVoteBlame + +```proto +message MsgVoteBlame { + string creator = 1; + int64 chain_id = 2; + Blame blame_info = 3; +} +``` + +## MsgUpdateKeygen + +UpdateKeygen updates the block height of the keygen and sets the status to +"pending keygen". + +Authorized: admin policy group 1. + +```proto +message MsgUpdateKeygen { + string creator = 1; + int64 block = 2; +} +``` + +## MsgVoteBlockHeader + +VoteBlockHeader vote for a new block header to the storers + +```proto +message MsgVoteBlockHeader { + string creator = 1; + int64 chain_id = 2; + bytes block_hash = 3; + int64 height = 4; + pkg.proofs.HeaderData header = 5; +} +``` + +## MsgResetChainNonces + +ResetChainNonces handles resetting chain nonces + +```proto +message MsgResetChainNonces { + string creator = 1; + int64 chain_id = 2; + int64 chain_nonce_low = 3; + int64 chain_nonce_high = 4; +} +``` + +## MsgVoteTSS + +VoteTSS votes on creating a TSS key and recording the information about it (public +key, participant and operator addresses, finalized and keygen heights). + +If the vote passes, the information about the TSS key is recorded on chain +and the status of the keygen is set to "success". + +Fails if the keygen does not exist, the keygen has been already +completed, or the keygen has failed. + +Only node accounts are authorized to broadcast this message. + +```proto +message MsgVoteTSS { + string creator = 1; + string tss_pubkey = 2; + int64 keygen_zeta_height = 3; + pkg.chains.ReceiveStatus status = 4; +} +``` + +## MsgEnableCCTX + +EnableCCTX enables the IsInboundEnabled and IsOutboundEnabled flags.These flags control the creation of inbounds and outbounds. +The flags are enabled by the policy account with the groupOperational policy type. + +```proto +message MsgEnableCCTX { + string creator = 1; + bool enableInbound = 2; + bool enableOutbound = 3; +} +``` + +## MsgDisableCCTX + +DisableCCTX disables the IsInboundEnabled and IsOutboundEnabled flags. These flags control the creation of inbounds and outbounds. +The flags are disabled by the policy account with the groupEmergency policy type. + +```proto +message MsgDisableCCTX { + string creator = 1; + bool disableInbound = 2; + bool disableOutbound = 3; +} +``` + +## MsgUpdateGasPriceIncreaseFlags + +UpdateGasPriceIncreaseFlags updates the GasPriceIncreaseFlags. These flags control the increase of gas prices. +The flags are updated by the policy account with the groupOperational policy type. + +```proto +message MsgUpdateGasPriceIncreaseFlags { + string creator = 1; + GasPriceIncreaseFlags gasPriceIncreaseFlags = 2; +} +``` + diff --git a/src/pages/architecture/modules/observer/overview.md b/src/pages/architecture/modules/observer/overview.md new file mode 100644 index 00000000..94a118da --- /dev/null +++ b/src/pages/architecture/modules/observer/overview.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 1 +--- + +# Overview + +The `observer` module keeps track of ballots for voting, a mapping between +chains and observer accounts, a list of supported connected chains, core +parameters (contract addresses, outbound transaction schedule interval, etc.), +observer parameters (ballot threshold, min observer delegation, etc.), and admin +policy parameters. + +Ballots are used to vote on inbound and outbound transaction. The `observer` +module keeps create, read, update, and delete (CRUD) operations for ballots, as +well as helper functions to determine if a ballot has been finalized. The ballot +system is used by other modules, such as the `crosschain` module when observer +validators vote on transactions. + +An observer validator is a validator that runs `zetaclient` alongside the +`zetacored` (the blockchain node) and is authorized to vote on inbound and +outbound cross-chain transactions. + +A mapping between chains and observer accounts right now is set during genesis +and is used in the `crosschain` module to determine whether an observer +validator is authorized to vote on a transaction coming in/out of a specific +connected chain. diff --git a/src/pages/architecture/zetacored/cli.md b/src/pages/architecture/zetacored/cli.md new file mode 100644 index 00000000..bb8ac9f0 --- /dev/null +++ b/src/pages/architecture/zetacored/cli.md @@ -0,0 +1,14427 @@ +## zetacored + +Zetacore Daemon (server) + +### Options + +``` + -h, --help help for zetacored + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored add-genesis-account](#zetacored-add-genesis-account) - Add a genesis account to genesis.json +* [zetacored add-observer-list](#zetacored-add-observer-list) - Add a list of observers to the observer mapper ,default path is ~/.zetacored/os_info/observer_info.json +* [zetacored addr-conversion](#zetacored-addr-conversion) - convert a zeta1xxx address to validator operator address zetavaloper1xxx +* [zetacored collect-gentxs](#zetacored-collect-gentxs) - Collect genesis txs and output a genesis.json file +* [zetacored collect-observer-info](#zetacored-collect-observer-info) - collect observer info into the genesis from a folder , default path is ~/.zetacored/os_info/ + +* [zetacored config](#zetacored-config) - Create or query an application CLI configuration file +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application +* [zetacored docs](#zetacored-docs) - Generate markdown documentation for zetacored +* [zetacored export](#zetacored-export) - Export state to JSON +* [zetacored gentx](#zetacored-gentx) - Generate a genesis tx carrying a self delegation +* [zetacored get-pubkey](#zetacored-get-pubkey) - Get the node account public key +* [zetacored index-eth-tx](#zetacored-index-eth-tx) - Index historical eth txs +* [zetacored init](#zetacored-init) - Initialize private validator, p2p, genesis, and application configuration files +* [zetacored keys](#zetacored-keys) - Manage your application's keys +* [zetacored parse-genesis-file](#zetacored-parse-genesis-file) - Parse the provided genesis file and import the required data into the optionally provided genesis file +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored rollback](#zetacored-rollback) - rollback cosmos-sdk and tendermint state by one height +* [zetacored rosetta](#zetacored-rosetta) - spin up a rosetta server +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots +* [zetacored start](#zetacored-start) - Run the full node +* [zetacored status](#zetacored-status) - Query remote node for status +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands +* [zetacored testnet](#zetacored-testnet) - subcommands for starting or configuring local testnets +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored validate-genesis](#zetacored-validate-genesis) - validates the genesis file at the default location or at the location passed as an arg +* [zetacored version](#zetacored-version) - Print the application binary version information + +## zetacored add-genesis-account + +Add a genesis account to genesis.json + +### Synopsis + +Add a genesis account to genesis.json. The provided account must specify +the account address or key name and a list of initial coins. If a key name is given, +the address will be looked up in the local Keybase. The list of initial tokens must +contain valid denominations. Accounts may optionally be supplied with vesting parameters. + + +``` +zetacored add-genesis-account [address_or_key_name] [coin][,[coin]] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for add-genesis-account + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test) + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) + --vesting-amount string amount of coins for vesting accounts + --vesting-end-time int schedule end time (unix epoch) for vesting accounts + --vesting-start-time int schedule start time (unix epoch) for vesting accounts +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored add-observer-list + +Add a list of observers to the observer mapper ,default path is ~/.zetacored/os_info/observer_info.json + +``` +zetacored add-observer-list [observer-list.json] [flags] +``` + +### Options + +``` + -h, --help help for add-observer-list + --keygen-block int set keygen block , default is 20 (default 20) + --tss-pubkey string set TSS pubkey if using older keygen +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored addr-conversion + +convert a zeta1xxx address to validator operator address zetavaloper1xxx + +### Synopsis + + +read a zeta1xxx or zetavaloper1xxx address and convert it to the other type; +it always outputs three lines; the first line is the zeta1xxx address, the second line is the zetavaloper1xxx address +and the third line is the ethereum address. + + +``` +zetacored addr-conversion [zeta address] [flags] +``` + +### Options + +``` + -h, --help help for addr-conversion +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored collect-gentxs + +Collect genesis txs and output a genesis.json file + +``` +zetacored collect-gentxs [flags] +``` + +### Options + +``` + --gentx-dir string override default "gentx" directory from which collect and execute genesis transactions; default [--home]/config/gentx/ + -h, --help help for collect-gentxs + --home string The application home directory +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored collect-observer-info + +collect observer info into the genesis from a folder , default path is ~/.zetacored/os_info/ + + +``` +zetacored collect-observer-info [folder] [flags] +``` + +### Options + +``` + -h, --help help for collect-observer-info +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored config + +Create or query an application CLI configuration file + +``` +zetacored config [key] [value] [flags] +``` + +### Options + +``` + -h, --help help for config +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored debug + +Tool for helping with debugging your application + +``` +zetacored debug [flags] +``` + +### Options + +``` + -h, --help help for debug +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored debug addr](#zetacored-debug-addr) - Convert an address between hex and bech32 +* [zetacored debug prefixes](#zetacored-debug-prefixes) - List prefixes used for Human-Readable Part (HRP) in Bech32 +* [zetacored debug pubkey](#zetacored-debug-pubkey) - Decode a pubkey from proto JSON +* [zetacored debug pubkey-raw](#zetacored-debug-pubkey-raw) - Decode a ED25519 or secp256k1 pubkey from hex, base64, or bech32 +* [zetacored debug raw-bytes](#zetacored-debug-raw-bytes) - Convert raw bytes output (eg. [10 21 13 255]) to hex + +## zetacored debug addr + +Convert an address between hex and bech32 + +### Synopsis + +Convert an address between hex encoding and bech32. + +Example: +$ zetacored debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg + + +``` +zetacored debug addr [address] [flags] +``` + +### Options + +``` + -h, --help help for addr +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application + +## zetacored debug prefixes + +List prefixes used for Human-Readable Part (HRP) in Bech32 + +### Synopsis + +List prefixes used in Bech32 addresses. + +``` +zetacored debug prefixes [flags] +``` + +### Examples + +``` +$ zetacored debug prefixes +``` + +### Options + +``` + -h, --help help for prefixes +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application + +## zetacored debug pubkey + +Decode a pubkey from proto JSON + +### Synopsis + +Decode a pubkey from proto JSON and display it's address. + +Example: +$ zetacored debug pubkey '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AurroA7jvfPd1AadmmOvWM2rJSwipXfRf8yD6pLbA2DJ"}' + + +``` +zetacored debug pubkey [pubkey] [flags] +``` + +### Options + +``` + -h, --help help for pubkey +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application + +## zetacored debug pubkey-raw + +Decode a ED25519 or secp256k1 pubkey from hex, base64, or bech32 + +### Synopsis + +Decode a pubkey from hex, base64, or bech32. +Example: +$ zetacored debug pubkey-raw TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz +$ zetacored debug pubkey-raw cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg + + +``` +zetacored debug pubkey-raw [pubkey] -t [{ed25519, secp256k1}] [flags] +``` + +### Options + +``` + -h, --help help for pubkey-raw + -t, --type string Pubkey type to decode (oneof secp256k1, ed25519) +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application + +## zetacored debug raw-bytes + +Convert raw bytes output (eg. [10 21 13 255]) to hex + +### Synopsis + +Convert raw-bytes to hex. + +Example: +$ zetacored debug raw-bytes [72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100] + + +``` +zetacored debug raw-bytes [raw-bytes] [flags] +``` + +### Options + +``` + -h, --help help for raw-bytes +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](#zetacored-debug) - Tool for helping with debugging your application + +## zetacored docs + +Generate markdown documentation for zetacored + +``` +zetacored docs [path] [flags] +``` + +### Options + +``` + -h, --help help for docs + --path string Path where the docs will be generated +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored export + +Export state to JSON + +``` +zetacored export [flags] +``` + +### Options + +``` + --for-zero-height Export state to start at height zero (perform preproccessing) + --height int Export state from a particular height (-1 means latest height) (default -1) + -h, --help help for export + --home string The application home directory + --jail-allowed-addrs strings Comma-separated list of operator addresses of jailed validators to unjail + --modules-to-export strings Comma-separated list of modules to export. If empty, will export all modules + --output-document string Exported state is written to the given file instead of STDOUT +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored gentx + +Generate a genesis tx carrying a self delegation + +### Synopsis + +Generate a genesis transaction that creates a validator with a self-delegation, +that is signed by the key in the Keyring referenced by a given name. A node ID and Bech32 consensus +pubkey may optionally be provided. If they are omitted, they will be retrieved from the priv_validator.json +file. The following default parameters are included: + + delegation amount: 100000000stake + commission rate: 0.1 + commission max rate: 0.2 + commission max change rate: 0.01 + minimum self delegation: 1 + + +Example: +$ zetacored gentx my-key-name 1000000stake --home=/path/to/home/dir --keyring-backend=os --chain-id=test-chain-1 \ + --moniker="myvalidator" \ + --commission-max-change-rate=0.01 \ + --commission-max-rate=1.0 \ + --commission-rate=0.07 \ + --details="..." \ + --security-contact="..." \ + --website="..." + + +``` +zetacored gentx [key_name] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amount string Amount of coins to bond + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --commission-max-change-rate string The maximum commission change rate percentage (per day) + --commission-max-rate string The maximum commission rate percentage + --commission-rate string The initial commission rate percentage + --details string The validator's (optional) details + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for gentx + --home string The application home directory + --identity string The (optional) identity signature (ex. UPort or Keybase) + --ip string The node's public P2P IP + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --min-self-delegation string The minimum self delegation required on the validator + --moniker string The validator's (optional) moniker + --node string [host]:[port] to tendermint rpc interface for this chain + --node-id string The node's NodeID + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + --output-document string Write the genesis transaction JSON document to the given file instead of the default location + --p2p-port uint The node's public P2P port (default 26656) + --pubkey string The validator's Protobuf JSON encoded public key + --security-contact string The validator's (optional) security contact email + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --website string The validator's (optional) website + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored get-pubkey + +Get the node account public key + +``` +zetacored get-pubkey [tssKeyName] [password] [flags] +``` + +### Options + +``` + -h, --help help for get-pubkey +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored index-eth-tx + +Index historical eth txs + +### Synopsis + +Index historical eth txs, it only support two traverse direction to avoid creating gaps in the indexer db if using arbitrary block ranges: + - backward: index the blocks from the first indexed block to the earliest block in the chain, if indexer db is empty, start from the latest block. + - forward: index the blocks from the latest indexed block to latest block in the chain. + + When start the node, the indexer start from the latest indexed block to avoid creating gap. + Backward mode should be used most of the time, so the latest indexed block is always up-to-date. + + +``` +zetacored index-eth-tx [backward|forward] [flags] +``` + +### Options + +``` + -h, --help help for index-eth-tx +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored init + +Initialize private validator, p2p, genesis, and application configuration files + +### Synopsis + +Initialize validators's and node's configuration files. + +``` +zetacored init [moniker] [flags] +``` + +### Options + +``` + --chain-id string genesis file chain-id, if left blank will be randomly created + --default-denom string genesis file default denomination, if left blank default value is 'stake' + -h, --help help for init + --home string node's home directory + --initial-height int specify the initial block height at genesis (default 1) + -o, --overwrite overwrite the genesis.json file + --recover provide seed phrase to recover existing key instead of creating +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored keys + +Manage your application's keys + +### Synopsis + +Keyring management commands. These keys may be in any format supported by the +Tendermint crypto library and can be used by light-clients, full nodes, or any other application +that needs to sign with a private key. + +The keyring supports the following backends: + + os Uses the operating system's default credentials store. + file Uses encrypted file-based keystore within the app's configuration directory. + This keyring will request a password each time it is accessed, which may occur + multiple times in a single command resulting in repeated password prompts. + kwallet Uses KDE Wallet Manager as a credentials management application. + pass Uses the pass command line utility to store and retrieve keys. + test Stores keys insecurely to disk. It does not prompt for a password to be unlocked + and it should be use only for testing purposes. + +kwallet and pass backends depend on external tools. Refer to their respective documentation for more +information: + KWallet https://github.com/KDE/kwallet + pass https://www.passwordstore.org/ + +The pass backend requires GnuPG: https://gnupg.org/ + + +### Options + +``` + -h, --help help for keys + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored keys ](#zetacored-keys-) - +* [zetacored keys add](#zetacored-keys-add) - Add an encrypted private key (either newly generated or recovered), encrypt it, and save to [name] file +* [zetacored keys delete](#zetacored-keys-delete) - Delete the given keys +* [zetacored keys export](#zetacored-keys-export) - Export private keys +* [zetacored keys import](#zetacored-keys-import) - Import private keys into the local keybase +* [zetacored keys list](#zetacored-keys-list) - List all keys +* [zetacored keys migrate](#zetacored-keys-migrate) - Migrate keys from amino to proto serialization format +* [zetacored keys mnemonic](#zetacored-keys-mnemonic) - Compute the bip39 mnemonic for some input entropy +* [zetacored keys parse](#zetacored-keys-parse) - Parse address from hex to bech32 and vice versa +* [zetacored keys rename](#zetacored-keys-rename) - Rename an existing key +* [zetacored keys show](#zetacored-keys-show) - Retrieve key information by name or address +* [zetacored keys unsafe-export-eth-key](#zetacored-keys-unsafe-export-eth-key) - **UNSAFE** Export an Ethereum private key +* [zetacored keys unsafe-import-eth-key](#zetacored-keys-unsafe-import-eth-key) - **UNSAFE** Import Ethereum private keys into the local keybase + +## zetacored keys + + + +``` +zetacored keys [flags] +``` + +### Options + +``` + -h, --help help for this command +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys add + +Add an encrypted private key (either newly generated or recovered), encrypt it, and save to [name] file + +### Synopsis + +Derive a new private key and encrypt to disk. +Optionally specify a BIP39 mnemonic, a BIP39 passphrase to further secure the mnemonic, +and a bip32 HD path to derive a specific account. The key will be stored under the given name +and encrypted with the given password. The only input that is required is the encryption password. + +If run with -i, it will prompt the user for BIP44 path, BIP39 mnemonic, and passphrase. +The flag --recover allows one to recover a key from a seed passphrase. +If run with --dry-run, a key would be generated (or recovered) but not stored to the +local keystore. +Use the --pubkey flag to add arbitrary public keys to the keystore for constructing +multisig transactions. + +You can create and store a multisig key by passing the list of key names stored in a keyring +and the minimum number of signatures required through --multisig-threshold. The keys are +sorted by address, unless the flag --nosort is set. +Example: + + keys add mymultisig --multisig "keyname1,keyname2,keyname3" --multisig-threshold 2 + + +``` +zetacored keys add [name] [flags] +``` + +### Options + +``` + --account uint32 Account number for HD derivation (less than equal 2147483647) + --coin-type uint32 coin type number for HD derivation (default 118) + --dry-run Perform action, but don't add key to local keystore + --hd-path string Manual HD Path derivation (overrides BIP44 config) + -h, --help help for add + --index uint32 Address index number for HD derivation (less than equal 2147483647) + -i, --interactive Interactively prompt user for BIP39 passphrase and mnemonic + --key-type string Key signing algorithm to generate keys for + --ledger Store a local reference to a private key on a Ledger device + --multisig strings List of key names stored in keyring to construct a public legacy multisig key + --multisig-threshold int K out of N required signatures. For use in conjunction with --multisig (default 1) + --no-backup Don't print out seed phrase (if others are watching the terminal) + --nosort Keys passed to --multisig are taken in the order they're supplied + --pubkey string Parse a public key in JSON format and saves key info to [name] file. + --recover Provide seed phrase to recover existing key instead of creating +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys delete + +Delete the given keys + +### Synopsis + +Delete keys from the Keybase backend. + +Note that removing offline or ledger keys will remove +only the public key references stored locally, i.e. +private keys stored in a ledger device cannot be deleted with the CLI. + + +``` +zetacored keys delete [name]... [flags] +``` + +### Options + +``` + -f, --force Remove the key unconditionally without asking for the passphrase. Deprecated. + -h, --help help for delete + -y, --yes Skip confirmation prompt when deleting offline or ledger key references +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys export + +Export private keys + +### Synopsis + +Export a private key from the local keyring in ASCII-armored encrypted format. + +When both the --unarmored-hex and --unsafe flags are selected, cryptographic +private key material is exported in an INSECURE fashion that is designed to +allow users to import their keys in hot wallets. This feature is for advanced +users only that are confident about how to handle private keys work and are +FULLY AWARE OF THE RISKS. If you are unsure, you may want to do some research +and export your keys in ASCII-armored encrypted format. + +``` +zetacored keys export [name] [flags] +``` + +### Options + +``` + -h, --help help for export + --unarmored-hex Export unarmored hex privkey. Requires --unsafe. + --unsafe Enable unsafe operations. This flag must be switched on along with all unsafe operation-specific options. +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys import + +Import private keys into the local keybase + +### Synopsis + +Import a ASCII armored private key into the local keybase. + +``` +zetacored keys import [name] [keyfile] [flags] +``` + +### Options + +``` + -h, --help help for import +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys list + +List all keys + +### Synopsis + +Return a list of all public keys stored by this key manager +along with their associated name and address. + +``` +zetacored keys list [flags] +``` + +### Options + +``` + -h, --help help for list + -n, --list-names List names only +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys migrate + +Migrate keys from amino to proto serialization format + +### Synopsis + +Migrate keys from Amino to Protocol Buffers records. +For each key material entry, the command will check if the key can be deserialized using proto. +If this is the case, the key is already migrated. Therefore, we skip it and continue with a next one. +Otherwise, we try to deserialize it using Amino into LegacyInfo. If this attempt is successful, we serialize +LegacyInfo to Protobuf serialization format and overwrite the keyring entry. If any error occurred, it will be +outputted in CLI and migration will be continued until all keys in the keyring DB are exhausted. +See https://github.com/cosmos/cosmos-sdk/pull/9695 for more details. + +It is recommended to run in 'dry-run' mode first to verify all key migration material. + + +``` +zetacored keys migrate [flags] +``` + +### Options + +``` + -h, --help help for migrate +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys mnemonic + +Compute the bip39 mnemonic for some input entropy + +### Synopsis + +Create a bip39 mnemonic, sometimes called a seed phrase, by reading from the system entropy. To pass your own entropy, use --unsafe-entropy + +``` +zetacored keys mnemonic [flags] +``` + +### Options + +``` + -h, --help help for mnemonic + --unsafe-entropy Prompt the user to supply their own entropy, instead of relying on the system +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys parse + +Parse address from hex to bech32 and vice versa + +### Synopsis + +Convert and print to stdout key addresses and fingerprints from +hexadecimal into bech32 cosmos prefixed format and vice versa. + + +``` +zetacored keys parse [hex-or-bech32-address] [flags] +``` + +### Options + +``` + -h, --help help for parse +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys rename + +Rename an existing key + +### Synopsis + +Rename a key from the Keybase backend. + +Note that renaming offline or ledger keys will rename +only the public key references stored locally, i.e. +private keys stored in a ledger device cannot be renamed with the CLI. + + +``` +zetacored keys rename [old_name] [new_name] [flags] +``` + +### Options + +``` + -h, --help help for rename + -y, --yes Skip confirmation prompt when renaming offline or ledger key references +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys show + +Retrieve key information by name or address + +### Synopsis + +Display keys details. If multiple names or addresses are provided, +then an ephemeral multisig key will be created under the name "multi" +consisting of all the keys provided by name and multisig threshold. + +``` +zetacored keys show [name_or_address [name_or_address...]] [flags] +``` + +### Options + +``` + -a, --address Output the address only (overrides --output) + --bech string The Bech32 prefix encoding for a key (acc|val|cons) + -d, --device Output the address in a ledger device + -h, --help help for show + --multisig-threshold int K out of N required signatures (default 1) + -p, --pubkey Output the public key only (overrides --output) +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys unsafe-export-eth-key + +**UNSAFE** Export an Ethereum private key + +### Synopsis + +**UNSAFE** Export an Ethereum private key unencrypted to use in dev tooling + +``` +zetacored keys unsafe-export-eth-key [name] [flags] +``` + +### Options + +``` + -h, --help help for unsafe-export-eth-key +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored keys unsafe-import-eth-key + +**UNSAFE** Import Ethereum private keys into the local keybase + +### Synopsis + +**UNSAFE** Import a hex-encoded Ethereum private key into the local keybase. + +``` +zetacored keys unsafe-import-eth-key [name] [pk] [flags] +``` + +### Options + +``` + -h, --help help for unsafe-import-eth-key +``` + +### Options inherited from parent commands + +``` + --home string The application home directory + --keyring-backend string Select keyring's backend (os|file|test) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --output string Output format (text|json) + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored keys](#zetacored-keys) - Manage your application's keys + +## zetacored parse-genesis-file + +Parse the provided genesis file and import the required data into the optionally provided genesis file + +``` +zetacored parse-genesis-file [import-genesis-file] [optional-genesis-file] [flags] +``` + +### Options + +``` + -h, --help help for parse-genesis-file + --modify modify the genesis file before importing +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored query + +Querying subcommands + +``` +zetacored query [flags] +``` + +### Options + +``` + --chain-id string The network chain ID + -h, --help help for query +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored query account](#zetacored-query-account) - Query for account by address +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module +* [zetacored query authority](#zetacored-query-authority) - Querying commands for the authority module +* [zetacored query authz](#zetacored-query-authz) - Querying commands for the authz module +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module +* [zetacored query block](#zetacored-query-block) - Get verified data for the block at given height +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module +* [zetacored query emissions](#zetacored-query-emissions) - Querying commands for the emissions module +* [zetacored query evidence](#zetacored-query-evidence) - Query for evidence by hash or for all (paginated) submitted evidence +* [zetacored query evm](#zetacored-query-evm) - Querying commands for the evm module +* [zetacored query feemarket](#zetacored-query-feemarket) - Querying commands for the fee market module +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module +* [zetacored query params](#zetacored-query-params) - Querying commands for the params module +* [zetacored query slashing](#zetacored-query-slashing) - Querying commands for the slashing module +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module +* [zetacored query tendermint-validator-set](#zetacored-query-tendermint-validator-set) - Get the full tendermint validator set at given height +* [zetacored query tx](#zetacored-query-tx) - Query for a transaction by hash, "[addr]/[seq]" combination or comma-separated signatures in a committed block +* [zetacored query txs](#zetacored-query-txs) - Query for paginated transactions that match a set of events +* [zetacored query upgrade](#zetacored-query-upgrade) - Querying commands for the upgrade module + +## zetacored query account + +Query for account by address + +``` +zetacored query account [address] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for account + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query auth + +Querying commands for the auth module + +``` +zetacored query auth [flags] +``` + +### Options + +``` + -h, --help help for auth +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query auth account](#zetacored-query-auth-account) - Query for account by address +* [zetacored query auth accounts](#zetacored-query-auth-accounts) - Query all the accounts +* [zetacored query auth address-by-acc-num](#zetacored-query-auth-address-by-acc-num) - Query for an address by account number +* [zetacored query auth module-account](#zetacored-query-auth-module-account) - Query module account info by module name +* [zetacored query auth module-accounts](#zetacored-query-auth-module-accounts) - Query all module accounts +* [zetacored query auth params](#zetacored-query-auth-params) - Query the current auth parameters + +## zetacored query auth account + +Query for account by address + +``` +zetacored query auth account [address] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for account + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query auth accounts + +Query all the accounts + +``` +zetacored query auth accounts [flags] +``` + +### Options + +``` + --count-total count total number of records in all-accounts to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for accounts + --limit uint pagination limit of all-accounts to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of all-accounts to query for + -o, --output string Output format (text|json) + --page uint pagination page of all-accounts to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of all-accounts to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query auth address-by-acc-num + +Query for an address by account number + +``` +zetacored query auth address-by-acc-num [acc-num] [flags] +``` + +### Examples + +``` +zetacored q auth address-by-acc-num 1 +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for address-by-acc-num + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query auth module-account + +Query module account info by module name + +``` +zetacored query auth module-account [module-name] [flags] +``` + +### Examples + +``` +zetacored q auth module-account auth +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for module-account + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query auth module-accounts + +Query all module accounts + +``` +zetacored query auth module-accounts [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for module-accounts + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query auth params + +Query the current auth parameters + +### Synopsis + +Query the current auth parameters: + +$ zetacored query auth params + +``` +zetacored query auth params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query auth](#zetacored-query-auth) - Querying commands for the auth module + +## zetacored query authority + +Querying commands for the authority module + +``` +zetacored query authority [flags] +``` + +### Options + +``` + -h, --help help for authority +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query authority list-authorizations](#zetacored-query-authority-list-authorizations) - lists all authorizations +* [zetacored query authority show-authorization](#zetacored-query-authority-show-authorization) - shows the authorization for a given message URL +* [zetacored query authority show-chain-info](#zetacored-query-authority-show-chain-info) - show the chain info +* [zetacored query authority show-policies](#zetacored-query-authority-show-policies) - show the policies + +## zetacored query authority list-authorizations + +lists all authorizations + +``` +zetacored query authority list-authorizations [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-authorizations + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authority](#zetacored-query-authority) - Querying commands for the authority module + +## zetacored query authority show-authorization + +shows the authorization for a given message URL + +``` +zetacored query authority show-authorization [msg-url] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-authorization + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authority](#zetacored-query-authority) - Querying commands for the authority module + +## zetacored query authority show-chain-info + +show the chain info + +``` +zetacored query authority show-chain-info [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-chain-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authority](#zetacored-query-authority) - Querying commands for the authority module + +## zetacored query authority show-policies + +show the policies + +``` +zetacored query authority show-policies [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-policies + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authority](#zetacored-query-authority) - Querying commands for the authority module + +## zetacored query authz + +Querying commands for the authz module + +``` +zetacored query authz [flags] +``` + +### Options + +``` + -h, --help help for authz +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query authz grants](#zetacored-query-authz-grants) - query grants for a granter-grantee pair and optionally a msg-type-url +* [zetacored query authz grants-by-grantee](#zetacored-query-authz-grants-by-grantee) - query authorization grants granted to a grantee +* [zetacored query authz grants-by-granter](#zetacored-query-authz-grants-by-granter) - query authorization grants granted by granter + +## zetacored query authz grants + +query grants for a granter-grantee pair and optionally a msg-type-url + +### Synopsis + +Query authorization grants for a granter-grantee pair. If msg-type-url +is set, it will select grants only for that msg type. +Examples: +$ zetacored query authz grants cosmos1skj.. cosmos1skjwj.. +$ zetacored query authz grants cosmos1skjw.. cosmos1skjwj.. /cosmos.bank.v1beta1.MsgSend + +``` +zetacored query authz grants [granter-addr] [grantee-addr] [msg-type-url]? [flags] +``` + +### Options + +``` + --count-total count total number of records in grants to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for grants + --limit uint pagination limit of grants to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of grants to query for + -o, --output string Output format (text|json) + --page uint pagination page of grants to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of grants to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authz](#zetacored-query-authz) - Querying commands for the authz module + +## zetacored query authz grants-by-grantee + +query authorization grants granted to a grantee + +### Synopsis + +Query authorization grants granted to a grantee. +Examples: +$ zetacored q authz grants-by-grantee cosmos1skj.. + +``` +zetacored query authz grants-by-grantee [grantee-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in grantee-grants to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for grants-by-grantee + --limit uint pagination limit of grantee-grants to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of grantee-grants to query for + -o, --output string Output format (text|json) + --page uint pagination page of grantee-grants to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of grantee-grants to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authz](#zetacored-query-authz) - Querying commands for the authz module + +## zetacored query authz grants-by-granter + +query authorization grants granted by granter + +### Synopsis + +Query authorization grants granted by granter. +Examples: +$ zetacored q authz grants-by-granter cosmos1skj.. + +``` +zetacored query authz grants-by-granter [granter-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in granter-grants to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for grants-by-granter + --limit uint pagination limit of granter-grants to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of granter-grants to query for + -o, --output string Output format (text|json) + --page uint pagination page of granter-grants to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of granter-grants to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query authz](#zetacored-query-authz) - Querying commands for the authz module + +## zetacored query bank + +Querying commands for the bank module + +``` +zetacored query bank [flags] +``` + +### Options + +``` + -h, --help help for bank +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query bank balances](#zetacored-query-bank-balances) - Query for account balances by address +* [zetacored query bank denom-metadata](#zetacored-query-bank-denom-metadata) - Query the client metadata for coin denominations +* [zetacored query bank send-enabled](#zetacored-query-bank-send-enabled) - Query for send enabled entries +* [zetacored query bank spendable-balances](#zetacored-query-bank-spendable-balances) - Query for account spendable balances by address +* [zetacored query bank total](#zetacored-query-bank-total) - Query the total supply of coins of the chain + +## zetacored query bank balances + +Query for account balances by address + +### Synopsis + +Query the total balance of an account or of a specific denomination. + +Example: + $ zetacored query bank balances [address] + $ zetacored query bank balances [address] --denom=[denom] + +``` +zetacored query bank balances [address] [flags] +``` + +### Options + +``` + --count-total count total number of records in all balances to query for + --denom string The specific balance denomination to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for balances + --limit uint pagination limit of all balances to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of all balances to query for + -o, --output string Output format (text|json) + --page uint pagination page of all balances to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of all balances to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module + +## zetacored query bank denom-metadata + +Query the client metadata for coin denominations + +### Synopsis + +Query the client metadata for all the registered coin denominations + +Example: + To query for the client metadata of all coin denominations use: + $ zetacored query bank denom-metadata + +To query for the client metadata of a specific coin denomination use: + $ zetacored query bank denom-metadata --denom=[denom] + +``` +zetacored query bank denom-metadata [flags] +``` + +### Options + +``` + --denom string The specific denomination to query client metadata for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for denom-metadata + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module + +## zetacored query bank send-enabled + +Query for send enabled entries + +### Synopsis + +Query for send enabled entries that have been specifically set. + +To look up one or more specific denoms, supply them as arguments to this command. +To look up all denoms, do not provide any arguments. + +``` +zetacored query bank send-enabled [denom1 ...] [flags] +``` + +### Examples + +``` +Getting one specific entry: + $ zetacored query bank send-enabled foocoin + +Getting two specific entries: + $ zetacored query bank send-enabled foocoin barcoin + +Getting all entries: + $ zetacored query bank send-enabled +``` + +### Options + +``` + --count-total count total number of records in send enabled entries to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for send-enabled + --limit uint pagination limit of send enabled entries to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of send enabled entries to query for + -o, --output string Output format (text|json) + --page uint pagination page of send enabled entries to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of send enabled entries to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module + +## zetacored query bank spendable-balances + +Query for account spendable balances by address + +``` +zetacored query bank spendable-balances [address] [flags] +``` + +### Examples + +``` +$ zetacored query bank spendable-balances [address] +``` + +### Options + +``` + --count-total count total number of records in spendable balances to query for + --denom string The specific balance denomination to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for spendable-balances + --limit uint pagination limit of spendable balances to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of spendable balances to query for + -o, --output string Output format (text|json) + --page uint pagination page of spendable balances to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of spendable balances to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module + +## zetacored query bank total + +Query the total supply of coins of the chain + +### Synopsis + +Query total supply of coins that are held by accounts in the chain. + +Example: + $ zetacored query bank total + +To query for the total supply of a specific coin denomination use: + $ zetacored query bank total --denom=[denom] + +``` +zetacored query bank total [flags] +``` + +### Options + +``` + --count-total count total number of records in all supply totals to query for + --denom string The specific balance denomination to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for total + --limit uint pagination limit of all supply totals to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of all supply totals to query for + -o, --output string Output format (text|json) + --page uint pagination page of all supply totals to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of all supply totals to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](#zetacored-query-bank) - Querying commands for the bank module + +## zetacored query block + +Get verified data for the block at given height + +``` +zetacored query block [height] [flags] +``` + +### Options + +``` + -h, --help help for block + -n, --node string Node to connect to +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query crosschain + +Querying commands for the crosschain module + +``` +zetacored query crosschain [flags] +``` + +### Options + +``` + -h, --help help for crosschain +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query crosschain get-zeta-accounting](#zetacored-query-crosschain-get-zeta-accounting) - Query zeta accounting +* [zetacored query crosschain inbound-hash-to-cctx-data](#zetacored-query-crosschain-inbound-hash-to-cctx-data) - query a cctx data from a inbound hash +* [zetacored query crosschain last-zeta-height](#zetacored-query-crosschain-last-zeta-height) - Query last Zeta Height +* [zetacored query crosschain list-all-inbound-trackers](#zetacored-query-crosschain-list-all-inbound-trackers) - shows all inbound trackers +* [zetacored query crosschain list-cctx](#zetacored-query-crosschain-list-cctx) - list all CCTX +* [zetacored query crosschain list-gas-price](#zetacored-query-crosschain-list-gas-price) - list all gasPrice +* [zetacored query crosschain list-inbound-hash-to-cctx](#zetacored-query-crosschain-list-inbound-hash-to-cctx) - list all inboundHashToCctx +* [zetacored query crosschain list-inbound-tracker](#zetacored-query-crosschain-list-inbound-tracker) - shows a list of inbound trackers by chainId +* [zetacored query crosschain list-outbound-tracker](#zetacored-query-crosschain-list-outbound-tracker) - list all outbound trackers +* [zetacored query crosschain list-pending-cctx](#zetacored-query-crosschain-list-pending-cctx) - shows pending CCTX +* [zetacored query crosschain list_pending_cctx_within_rate_limit](#zetacored-query-crosschain-list-pending-cctx-within-rate-limit) - list all pending CCTX within rate limit +* [zetacored query crosschain show-cctx](#zetacored-query-crosschain-show-cctx) - shows a CCTX +* [zetacored query crosschain show-gas-price](#zetacored-query-crosschain-show-gas-price) - shows a gasPrice +* [zetacored query crosschain show-inbound-hash-to-cctx](#zetacored-query-crosschain-show-inbound-hash-to-cctx) - shows a inboundHashToCctx +* [zetacored query crosschain show-inbound-tracker](#zetacored-query-crosschain-show-inbound-tracker) - shows an inbound tracker by chainID and txHash +* [zetacored query crosschain show-outbound-tracker](#zetacored-query-crosschain-show-outbound-tracker) - shows an outbound tracker +* [zetacored query crosschain show-rate-limiter-flags](#zetacored-query-crosschain-show-rate-limiter-flags) - shows the rate limiter flags + +## zetacored query crosschain get-zeta-accounting + +Query zeta accounting + +``` +zetacored query crosschain get-zeta-accounting [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for get-zeta-accounting + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain inbound-hash-to-cctx-data + +query a cctx data from a inbound hash + +``` +zetacored query crosschain inbound-hash-to-cctx-data [inbound-hash] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for inbound-hash-to-cctx-data + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain last-zeta-height + +Query last Zeta Height + +``` +zetacored query crosschain last-zeta-height [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for last-zeta-height + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-all-inbound-trackers + +shows all inbound trackers + +``` +zetacored query crosschain list-all-inbound-trackers [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-all-inbound-trackers + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-cctx + +list all CCTX + +``` +zetacored query crosschain list-cctx [flags] +``` + +### Options + +``` + --count-total count total number of records in list-cctx to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-cctx + --limit uint pagination limit of list-cctx to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-cctx to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-cctx to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-cctx to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-gas-price + +list all gasPrice + +``` +zetacored query crosschain list-gas-price [flags] +``` + +### Options + +``` + --count-total count total number of records in list-gas-price to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-gas-price + --limit uint pagination limit of list-gas-price to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-gas-price to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-gas-price to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-gas-price to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-inbound-hash-to-cctx + +list all inboundHashToCctx + +``` +zetacored query crosschain list-inbound-hash-to-cctx [flags] +``` + +### Options + +``` + --count-total count total number of records in list-inbound-hash-to-cctx to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-inbound-hash-to-cctx + --limit uint pagination limit of list-inbound-hash-to-cctx to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-inbound-hash-to-cctx to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-inbound-hash-to-cctx to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-inbound-hash-to-cctx to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-inbound-tracker + +shows a list of inbound trackers by chainId + +``` +zetacored query crosschain list-inbound-tracker [chainId] [flags] +``` + +### Options + +``` + --count-total count total number of records in list-inbound-tracker [chainId] to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-inbound-tracker + --limit uint pagination limit of list-inbound-tracker [chainId] to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-inbound-tracker [chainId] to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-inbound-tracker [chainId] to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-inbound-tracker [chainId] to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-outbound-tracker + +list all outbound trackers + +``` +zetacored query crosschain list-outbound-tracker [flags] +``` + +### Options + +``` + --count-total count total number of records in list-outbound-tracker to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-outbound-tracker + --limit uint pagination limit of list-outbound-tracker to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-outbound-tracker to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-outbound-tracker to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-outbound-tracker to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list-pending-cctx + +shows pending CCTX + +``` +zetacored query crosschain list-pending-cctx [chain-id] [limit] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-pending-cctx + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain list_pending_cctx_within_rate_limit + +list all pending CCTX within rate limit + +``` +zetacored query crosschain list_pending_cctx_within_rate_limit [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list_pending_cctx_within_rate_limit + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-cctx + +shows a CCTX + +``` +zetacored query crosschain show-cctx [index] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-cctx + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-gas-price + +shows a gasPrice + +``` +zetacored query crosschain show-gas-price [index] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-gas-price + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-inbound-hash-to-cctx + +shows a inboundHashToCctx + +``` +zetacored query crosschain show-inbound-hash-to-cctx [inbound-hash] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-inbound-hash-to-cctx + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-inbound-tracker + +shows an inbound tracker by chainID and txHash + +``` +zetacored query crosschain show-inbound-tracker [chainID] [txHash] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-inbound-tracker + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-outbound-tracker + +shows an outbound tracker + +``` +zetacored query crosschain show-outbound-tracker [chainId] [nonce] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-outbound-tracker + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query crosschain show-rate-limiter-flags + +shows the rate limiter flags + +``` +zetacored query crosschain show-rate-limiter-flags [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-rate-limiter-flags + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query crosschain](#zetacored-query-crosschain) - Querying commands for the crosschain module + +## zetacored query distribution + +Querying commands for the distribution module + +``` +zetacored query distribution [flags] +``` + +### Options + +``` + -h, --help help for distribution +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query distribution commission](#zetacored-query-distribution-commission) - Query distribution validator commission +* [zetacored query distribution community-pool](#zetacored-query-distribution-community-pool) - Query the amount of coins in the community pool +* [zetacored query distribution params](#zetacored-query-distribution-params) - Query distribution params +* [zetacored query distribution rewards](#zetacored-query-distribution-rewards) - Query all distribution delegator rewards or rewards from a particular validator +* [zetacored query distribution slashes](#zetacored-query-distribution-slashes) - Query distribution validator slashes +* [zetacored query distribution validator-distribution-info](#zetacored-query-distribution-validator-distribution-info) - Query validator distribution info +* [zetacored query distribution validator-outstanding-rewards](#zetacored-query-distribution-validator-outstanding-rewards) - Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations + +## zetacored query distribution commission + +Query distribution validator commission + +### Synopsis + +Query validator commission rewards from delegators to that validator. + +Example: +$ zetacored query distribution commission zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query distribution commission [validator] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for commission + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution community-pool + +Query the amount of coins in the community pool + +### Synopsis + +Query all coins in the community pool which is under Governance control. + +Example: +$ zetacored query distribution community-pool + +``` +zetacored query distribution community-pool [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for community-pool + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution params + +Query distribution params + +``` +zetacored query distribution params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution rewards + +Query all distribution delegator rewards or rewards from a particular validator + +### Synopsis + +Query all rewards earned by a delegator, optionally restrict to rewards from a single validator. + +Example: +$ zetacored query distribution rewards zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p +$ zetacored query distribution rewards zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query distribution rewards [delegator-addr] [validator-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for rewards + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution slashes + +Query distribution validator slashes + +### Synopsis + +Query all slashes of a validator for a given block range. + +Example: +$ zetacored query distribution slashes zetavalopervaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 0 100 + +``` +zetacored query distribution slashes [validator] [start-height] [end-height] [flags] +``` + +### Options + +``` + --count-total count total number of records in validator slashes to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for slashes + --limit uint pagination limit of validator slashes to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of validator slashes to query for + -o, --output string Output format (text|json) + --page uint pagination page of validator slashes to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of validator slashes to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution validator-distribution-info + +Query validator distribution info + +### Synopsis + +Query validator distribution info. +Example: +$ zetacored query distribution validator-distribution-info zetavaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne + +``` +zetacored query distribution validator-distribution-info [validator] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for validator-distribution-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query distribution validator-outstanding-rewards + +Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations + +### Synopsis + +Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations. + +Example: +$ zetacored query distribution validator-outstanding-rewards zetavaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne + +``` +zetacored query distribution validator-outstanding-rewards [validator] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for validator-outstanding-rewards + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](#zetacored-query-distribution) - Querying commands for the distribution module + +## zetacored query emissions + +Querying commands for the emissions module + +``` +zetacored query emissions [flags] +``` + +### Options + +``` + -h, --help help for emissions +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query emissions get-emmisons-factors](#zetacored-query-emissions-get-emmisons-factors) - Query GetEmmisonsFactors +* [zetacored query emissions list-pool-addresses](#zetacored-query-emissions-list-pool-addresses) - Query list-pool-addresses +* [zetacored query emissions params](#zetacored-query-emissions-params) - shows the parameters of the module +* [zetacored query emissions show-available-emissions](#zetacored-query-emissions-show-available-emissions) - Query show-available-emissions + +## zetacored query emissions get-emmisons-factors + +Query GetEmmisonsFactors + +``` +zetacored query emissions get-emmisons-factors [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for get-emmisons-factors + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query emissions](#zetacored-query-emissions) - Querying commands for the emissions module + +## zetacored query emissions list-pool-addresses + +Query list-pool-addresses + +``` +zetacored query emissions list-pool-addresses [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-pool-addresses + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query emissions](#zetacored-query-emissions) - Querying commands for the emissions module + +## zetacored query emissions params + +shows the parameters of the module + +``` +zetacored query emissions params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query emissions](#zetacored-query-emissions) - Querying commands for the emissions module + +## zetacored query emissions show-available-emissions + +Query show-available-emissions + +``` +zetacored query emissions show-available-emissions [address] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-available-emissions + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query emissions](#zetacored-query-emissions) - Querying commands for the emissions module + +## zetacored query evidence + +Query for evidence by hash or for all (paginated) submitted evidence + +### Synopsis + +Query for specific submitted evidence by hash or query for all (paginated) evidence: + +Example: +$ zetacored query evidence DF0C23E8634E480F84B9D5674A7CDC9816466DEC28A3358F73260F68D28D7660 +$ zetacored query evidence --page=2 --limit=50 + +``` +zetacored query evidence [flags] +``` + +### Options + +``` + --count-total count total number of records in evidence to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for evidence + --limit uint pagination limit of evidence to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of evidence to query for + -o, --output string Output format (text|json) + --page uint pagination page of evidence to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of evidence to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query evm + +Querying commands for the evm module + +``` +zetacored query evm [flags] +``` + +### Options + +``` + -h, --help help for evm +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query evm code](#zetacored-query-evm-code) - Gets code from an account +* [zetacored query evm params](#zetacored-query-evm-params) - Get the evm params +* [zetacored query evm storage](#zetacored-query-evm-storage) - Gets storage for an account with a given key and height + +## zetacored query evm code + +Gets code from an account + +### Synopsis + +Gets code from an account. If the height is not provided, it will use the latest height from context. + +``` +zetacored query evm code ADDRESS [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for code + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query evm](#zetacored-query-evm) - Querying commands for the evm module + +## zetacored query evm params + +Get the evm params + +### Synopsis + +Get the evm parameter values. + +``` +zetacored query evm params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query evm](#zetacored-query-evm) - Querying commands for the evm module + +## zetacored query evm storage + +Gets storage for an account with a given key and height + +### Synopsis + +Gets storage for an account with a given key and height. If the height is not provided, it will use the latest height from context. + +``` +zetacored query evm storage ADDRESS KEY [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for storage + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query evm](#zetacored-query-evm) - Querying commands for the evm module + +## zetacored query feemarket + +Querying commands for the fee market module + +``` +zetacored query feemarket [flags] +``` + +### Options + +``` + -h, --help help for feemarket +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query feemarket base-fee](#zetacored-query-feemarket-base-fee) - Get the base fee amount at a given block height +* [zetacored query feemarket block-gas](#zetacored-query-feemarket-block-gas) - Get the block gas used at a given block height +* [zetacored query feemarket params](#zetacored-query-feemarket-params) - Get the fee market params + +## zetacored query feemarket base-fee + +Get the base fee amount at a given block height + +### Synopsis + +Get the base fee amount at a given block height. +If the height is not provided, it will use the latest height from context. + +``` +zetacored query feemarket base-fee [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for base-fee + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query feemarket](#zetacored-query-feemarket) - Querying commands for the fee market module + +## zetacored query feemarket block-gas + +Get the block gas used at a given block height + +### Synopsis + +Get the block gas used at a given block height. +If the height is not provided, it will use the latest height from context + +``` +zetacored query feemarket block-gas [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for block-gas + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query feemarket](#zetacored-query-feemarket) - Querying commands for the fee market module + +## zetacored query feemarket params + +Get the fee market params + +### Synopsis + +Get the fee market parameter values. + +``` +zetacored query feemarket params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query feemarket](#zetacored-query-feemarket) - Querying commands for the fee market module + +## zetacored query fungible + +Querying commands for the fungible module + +``` +zetacored query fungible [flags] +``` + +### Options + +``` + -h, --help help for fungible +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query fungible code-hash](#zetacored-query-fungible-code-hash) - shows the code hash of an account +* [zetacored query fungible gas-stability-pool-address](#zetacored-query-fungible-gas-stability-pool-address) - query the address of a gas stability pool +* [zetacored query fungible gas-stability-pool-balance](#zetacored-query-fungible-gas-stability-pool-balance) - query the balance of a gas stability pool for a chain +* [zetacored query fungible gas-stability-pool-balances](#zetacored-query-fungible-gas-stability-pool-balances) - query all gas stability pool balances +* [zetacored query fungible list-foreign-coins](#zetacored-query-fungible-list-foreign-coins) - list all ForeignCoins +* [zetacored query fungible show-foreign-coins](#zetacored-query-fungible-show-foreign-coins) - shows a ForeignCoins +* [zetacored query fungible system-contract](#zetacored-query-fungible-system-contract) - query system contract + +## zetacored query fungible code-hash + +shows the code hash of an account + +``` +zetacored query fungible code-hash [address] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for code-hash + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible gas-stability-pool-address + +query the address of a gas stability pool + +``` +zetacored query fungible gas-stability-pool-address [flags] +``` + +### Options + +``` + --count-total count total number of records in gas-stability-pool-address to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for gas-stability-pool-address + --limit uint pagination limit of gas-stability-pool-address to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of gas-stability-pool-address to query for + -o, --output string Output format (text|json) + --page uint pagination page of gas-stability-pool-address to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of gas-stability-pool-address to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible gas-stability-pool-balance + +query the balance of a gas stability pool for a chain + +``` +zetacored query fungible gas-stability-pool-balance [chain-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in gas-stability-pool-balance [chain-id] to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for gas-stability-pool-balance + --limit uint pagination limit of gas-stability-pool-balance [chain-id] to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of gas-stability-pool-balance [chain-id] to query for + -o, --output string Output format (text|json) + --page uint pagination page of gas-stability-pool-balance [chain-id] to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of gas-stability-pool-balance [chain-id] to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible gas-stability-pool-balances + +query all gas stability pool balances + +``` +zetacored query fungible gas-stability-pool-balances [flags] +``` + +### Options + +``` + --count-total count total number of records in gas-stability-pool-balances to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for gas-stability-pool-balances + --limit uint pagination limit of gas-stability-pool-balances to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of gas-stability-pool-balances to query for + -o, --output string Output format (text|json) + --page uint pagination page of gas-stability-pool-balances to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of gas-stability-pool-balances to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible list-foreign-coins + +list all ForeignCoins + +``` +zetacored query fungible list-foreign-coins [flags] +``` + +### Options + +``` + --count-total count total number of records in list-foreign-coins to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-foreign-coins + --limit uint pagination limit of list-foreign-coins to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-foreign-coins to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-foreign-coins to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-foreign-coins to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible show-foreign-coins + +shows a ForeignCoins + +``` +zetacored query fungible show-foreign-coins [index] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-foreign-coins + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query fungible system-contract + +query system contract + +``` +zetacored query fungible system-contract [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for system-contract + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query fungible](#zetacored-query-fungible) - Querying commands for the fungible module + +## zetacored query gov + +Querying commands for the governance module + +``` +zetacored query gov [flags] +``` + +### Options + +``` + -h, --help help for gov +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query gov deposit](#zetacored-query-gov-deposit) - Query details of a deposit +* [zetacored query gov deposits](#zetacored-query-gov-deposits) - Query deposits on a proposal +* [zetacored query gov param](#zetacored-query-gov-param) - Query the parameters (voting|tallying|deposit) of the governance process +* [zetacored query gov params](#zetacored-query-gov-params) - Query the parameters of the governance process +* [zetacored query gov proposal](#zetacored-query-gov-proposal) - Query details of a single proposal +* [zetacored query gov proposals](#zetacored-query-gov-proposals) - Query proposals with optional filters +* [zetacored query gov proposer](#zetacored-query-gov-proposer) - Query the proposer of a governance proposal +* [zetacored query gov tally](#zetacored-query-gov-tally) - Get the tally of a proposal vote +* [zetacored query gov vote](#zetacored-query-gov-vote) - Query details of a single vote +* [zetacored query gov votes](#zetacored-query-gov-votes) - Query votes on a proposal + +## zetacored query gov deposit + +Query details of a deposit + +### Synopsis + +Query details for a single proposal deposit on a proposal by its identifier. + +Example: +$ zetacored query gov deposit 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk + +``` +zetacored query gov deposit [proposal-id] [depositer-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for deposit + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov deposits + +Query deposits on a proposal + +### Synopsis + +Query details for all deposits on a proposal. +You can find the proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored query gov deposits 1 + +``` +zetacored query gov deposits [proposal-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in deposits to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for deposits + --limit uint pagination limit of deposits to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of deposits to query for + -o, --output string Output format (text|json) + --page uint pagination page of deposits to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of deposits to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov param + +Query the parameters (voting|tallying|deposit) of the governance process + +### Synopsis + +Query the all the parameters for the governance process. +Example: +$ zetacored query gov param voting +$ zetacored query gov param tallying +$ zetacored query gov param deposit + +``` +zetacored query gov param [param-type] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for param + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov params + +Query the parameters of the governance process + +### Synopsis + +Query the all the parameters for the governance process. + +Example: +$ zetacored query gov params + +``` +zetacored query gov params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov proposal + +Query details of a single proposal + +### Synopsis + +Query details for a proposal. You can find the +proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored query gov proposal 1 + +``` +zetacored query gov proposal [proposal-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for proposal + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov proposals + +Query proposals with optional filters + +### Synopsis + +Query for a all paginated proposals that match optional filters: + +Example: +$ zetacored query gov proposals --depositor cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ zetacored query gov proposals --voter cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ zetacored query gov proposals --status (DepositPeriod|VotingPeriod|Passed|Rejected) +$ zetacored query gov proposals --page=2 --limit=100 + +``` +zetacored query gov proposals [flags] +``` + +### Options + +``` + --count-total count total number of records in proposals to query for + --depositor string (optional) filter by proposals deposited on by depositor + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for proposals + --limit uint pagination limit of proposals to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of proposals to query for + -o, --output string Output format (text|json) + --page uint pagination page of proposals to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of proposals to query for + --reverse results are sorted in descending order + --status string (optional) filter proposals by proposal status, status: deposit_period/voting_period/passed/rejected + --voter string (optional) filter by proposals voted on by voted +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov proposer + +Query the proposer of a governance proposal + +### Synopsis + +Query which address proposed a proposal with a given ID. + +Example: +$ zetacored query gov proposer 1 + +``` +zetacored query gov proposer [proposal-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for proposer + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov tally + +Get the tally of a proposal vote + +### Synopsis + +Query tally of votes on a proposal. You can find +the proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored query gov tally 1 + +``` +zetacored query gov tally [proposal-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for tally + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov vote + +Query details of a single vote + +### Synopsis + +Query details for a single vote on a proposal given its identifier. + +Example: +$ zetacored query gov vote 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk + +``` +zetacored query gov vote [proposal-id] [voter-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for vote + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query gov votes + +Query votes on a proposal + +### Synopsis + +Query vote details for a single proposal by its identifier. + +Example: +$ zetacored query gov votes 1 +$ zetacored query gov votes 1 --page=2 --limit=100 + +``` +zetacored query gov votes [proposal-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in votes to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for votes + --limit uint pagination limit of votes to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of votes to query for + -o, --output string Output format (text|json) + --page uint pagination page of votes to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of votes to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query gov](#zetacored-query-gov) - Querying commands for the governance module + +## zetacored query group + +Querying commands for the group module + +``` +zetacored query group [flags] +``` + +### Options + +``` + -h, --help help for group +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query group group-info](#zetacored-query-group-group-info) - Query for group info by group id +* [zetacored query group group-members](#zetacored-query-group-group-members) - Query for group members by group id with pagination flags +* [zetacored query group group-policies-by-admin](#zetacored-query-group-group-policies-by-admin) - Query for group policies by admin account address with pagination flags +* [zetacored query group group-policies-by-group](#zetacored-query-group-group-policies-by-group) - Query for group policies by group id with pagination flags +* [zetacored query group group-policy-info](#zetacored-query-group-group-policy-info) - Query for group policy info by account address of group policy +* [zetacored query group groups](#zetacored-query-group-groups) - Query for groups present in the state +* [zetacored query group groups-by-admin](#zetacored-query-group-groups-by-admin) - Query for groups by admin account address with pagination flags +* [zetacored query group groups-by-member](#zetacored-query-group-groups-by-member) - Query for groups by member address with pagination flags +* [zetacored query group proposal](#zetacored-query-group-proposal) - Query for proposal by id +* [zetacored query group proposals-by-group-policy](#zetacored-query-group-proposals-by-group-policy) - Query for proposals by account address of group policy with pagination flags +* [zetacored query group tally-result](#zetacored-query-group-tally-result) - Query tally result of proposal +* [zetacored query group vote](#zetacored-query-group-vote) - Query for vote by proposal id and voter account address +* [zetacored query group votes-by-proposal](#zetacored-query-group-votes-by-proposal) - Query for votes by proposal id with pagination flags +* [zetacored query group votes-by-voter](#zetacored-query-group-votes-by-voter) - Query for votes by voter account address with pagination flags + +## zetacored query group group-info + +Query for group info by group id + +``` +zetacored query group group-info [id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for group-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group group-members + +Query for group members by group id with pagination flags + +``` +zetacored query group group-members [id] [flags] +``` + +### Options + +``` + --count-total count total number of records in group-members to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for group-members + --limit uint pagination limit of group-members to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of group-members to query for + -o, --output string Output format (text|json) + --page uint pagination page of group-members to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of group-members to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group group-policies-by-admin + +Query for group policies by admin account address with pagination flags + +``` +zetacored query group group-policies-by-admin [admin] [flags] +``` + +### Options + +``` + --count-total count total number of records in group-policies-by-admin to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for group-policies-by-admin + --limit uint pagination limit of group-policies-by-admin to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of group-policies-by-admin to query for + -o, --output string Output format (text|json) + --page uint pagination page of group-policies-by-admin to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of group-policies-by-admin to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group group-policies-by-group + +Query for group policies by group id with pagination flags + +``` +zetacored query group group-policies-by-group [group-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in groups-policies-by-group to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for group-policies-by-group + --limit uint pagination limit of groups-policies-by-group to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups-policies-by-group to query for + -o, --output string Output format (text|json) + --page uint pagination page of groups-policies-by-group to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups-policies-by-group to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group group-policy-info + +Query for group policy info by account address of group policy + +``` +zetacored query group group-policy-info [group-policy-account] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for group-policy-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group groups + +Query for groups present in the state + +``` +zetacored query group groups [flags] +``` + +### Options + +``` + --count-total count total number of records in groups to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for groups + --limit uint pagination limit of groups to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups to query for + -o, --output string Output format (text|json) + --page uint pagination page of groups to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group groups-by-admin + +Query for groups by admin account address with pagination flags + +``` +zetacored query group groups-by-admin [admin] [flags] +``` + +### Options + +``` + --count-total count total number of records in groups-by-admin to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for groups-by-admin + --limit uint pagination limit of groups-by-admin to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups-by-admin to query for + -o, --output string Output format (text|json) + --page uint pagination page of groups-by-admin to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups-by-admin to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group groups-by-member + +Query for groups by member address with pagination flags + +``` +zetacored query group groups-by-member [address] [flags] +``` + +### Options + +``` + --count-total count total number of records in groups-by-members to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for groups-by-member + --limit uint pagination limit of groups-by-members to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups-by-members to query for + -o, --output string Output format (text|json) + --page uint pagination page of groups-by-members to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups-by-members to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group proposal + +Query for proposal by id + +``` +zetacored query group proposal [id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for proposal + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group proposals-by-group-policy + +Query for proposals by account address of group policy with pagination flags + +``` +zetacored query group proposals-by-group-policy [group-policy-account] [flags] +``` + +### Options + +``` + --count-total count total number of records in proposals-by-group-policy to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for proposals-by-group-policy + --limit uint pagination limit of proposals-by-group-policy to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of proposals-by-group-policy to query for + -o, --output string Output format (text|json) + --page uint pagination page of proposals-by-group-policy to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of proposals-by-group-policy to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group tally-result + +Query tally result of proposal + +``` +zetacored query group tally-result [proposal-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for tally-result + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group vote + +Query for vote by proposal id and voter account address + +``` +zetacored query group vote [proposal-id] [voter] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for vote + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group votes-by-proposal + +Query for votes by proposal id with pagination flags + +``` +zetacored query group votes-by-proposal [proposal-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in votes-by-proposal to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for votes-by-proposal + --limit uint pagination limit of votes-by-proposal to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of votes-by-proposal to query for + -o, --output string Output format (text|json) + --page uint pagination page of votes-by-proposal to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of votes-by-proposal to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query group votes-by-voter + +Query for votes by voter account address with pagination flags + +``` +zetacored query group votes-by-voter [voter] [flags] +``` + +### Options + +``` + --count-total count total number of records in votes-by-voter to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for votes-by-voter + --limit uint pagination limit of votes-by-voter to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of votes-by-voter to query for + -o, --output string Output format (text|json) + --page uint pagination page of votes-by-voter to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of votes-by-voter to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query group](#zetacored-query-group) - Querying commands for the group module + +## zetacored query lightclient + +Querying commands for the lightclient module + +``` +zetacored query lightclient [flags] +``` + +### Options + +``` + -h, --help help for lightclient +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query lightclient list-block-header](#zetacored-query-lightclient-list-block-header) - List all the block headers +* [zetacored query lightclient list-chain-state](#zetacored-query-lightclient-list-chain-state) - List all the chain states +* [zetacored query lightclient show-block-header](#zetacored-query-lightclient-show-block-header) - Show a block header from its hash +* [zetacored query lightclient show-chain-state](#zetacored-query-lightclient-show-chain-state) - Show a chain state from its chain id +* [zetacored query lightclient show-header-enabled-chains](#zetacored-query-lightclient-show-header-enabled-chains) - Show the verification flags + +## zetacored query lightclient list-block-header + +List all the block headers + +``` +zetacored query lightclient list-block-header [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-block-header + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module + +## zetacored query lightclient list-chain-state + +List all the chain states + +``` +zetacored query lightclient list-chain-state [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-chain-state + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module + +## zetacored query lightclient show-block-header + +Show a block header from its hash + +``` +zetacored query lightclient show-block-header [block-hash] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-block-header + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module + +## zetacored query lightclient show-chain-state + +Show a chain state from its chain id + +``` +zetacored query lightclient show-chain-state [chain-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-chain-state + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module + +## zetacored query lightclient show-header-enabled-chains + +Show the verification flags + +``` +zetacored query lightclient show-header-enabled-chains [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-header-enabled-chains + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query lightclient](#zetacored-query-lightclient) - Querying commands for the lightclient module + +## zetacored query observer + +Querying commands for the observer module + +``` +zetacored query observer [flags] +``` + +### Options + +``` + -h, --help help for observer +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query observer get-historical-tss-address](#zetacored-query-observer-get-historical-tss-address) - Query tss address by finalized zeta height (for historical tss addresses) +* [zetacored query observer get-tss-address](#zetacored-query-observer-get-tss-address) - Query current tss address +* [zetacored query observer list-blame](#zetacored-query-observer-list-blame) - Query AllBlameRecords +* [zetacored query observer list-blame-by-msg](#zetacored-query-observer-list-blame-by-msg) - Query AllBlameRecords +* [zetacored query observer list-chain-nonces](#zetacored-query-observer-list-chain-nonces) - list all chainNonces +* [zetacored query observer list-chain-params](#zetacored-query-observer-list-chain-params) - Query GetChainParams +* [zetacored query observer list-chains](#zetacored-query-observer-list-chains) - list all SupportedChains +* [zetacored query observer list-node-account](#zetacored-query-observer-list-node-account) - list all NodeAccount +* [zetacored query observer list-observer-set](#zetacored-query-observer-list-observer-set) - Query observer set +* [zetacored query observer list-pending-nonces](#zetacored-query-observer-list-pending-nonces) - shows a chainNonces +* [zetacored query observer list-tss-funds-migrator](#zetacored-query-observer-list-tss-funds-migrator) - list all tss funds migrators +* [zetacored query observer list-tss-history](#zetacored-query-observer-list-tss-history) - show historical list of TSS +* [zetacored query observer show-ballot](#zetacored-query-observer-show-ballot) - Query BallotByIdentifier +* [zetacored query observer show-blame](#zetacored-query-observer-show-blame) - Query BlameByIdentifier +* [zetacored query observer show-chain-nonces](#zetacored-query-observer-show-chain-nonces) - shows a chainNonces +* [zetacored query observer show-chain-params](#zetacored-query-observer-show-chain-params) - Query GetChainParamsForChain +* [zetacored query observer show-crosschain-flags](#zetacored-query-observer-show-crosschain-flags) - shows the crosschain flags +* [zetacored query observer show-keygen](#zetacored-query-observer-show-keygen) - shows keygen +* [zetacored query observer show-node-account](#zetacored-query-observer-show-node-account) - shows a NodeAccount +* [zetacored query observer show-observer-count](#zetacored-query-observer-show-observer-count) - Query show-observer-count +* [zetacored query observer show-tss](#zetacored-query-observer-show-tss) - shows a TSS +* [zetacored query observer show-tss-funds-migrator](#zetacored-query-observer-show-tss-funds-migrator) - show the tss funds migrator for a chain + +## zetacored query observer get-historical-tss-address + +Query tss address by finalized zeta height (for historical tss addresses) + +``` +zetacored query observer get-historical-tss-address [finalizedZetaHeight] [bitcoinChainId] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for get-historical-tss-address + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer get-tss-address + +Query current tss address + +``` +zetacored query observer get-tss-address [bitcoinChainId]] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for get-tss-address + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-blame + +Query AllBlameRecords + +``` +zetacored query observer list-blame [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-blame + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-blame-by-msg + +Query AllBlameRecords + +``` +zetacored query observer list-blame-by-msg [chainId] [nonce] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-blame-by-msg + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-chain-nonces + +list all chainNonces + +``` +zetacored query observer list-chain-nonces [flags] +``` + +### Options + +``` + --count-total count total number of records in list-chain-nonces to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-chain-nonces + --limit uint pagination limit of list-chain-nonces to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-chain-nonces to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-chain-nonces to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-chain-nonces to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-chain-params + +Query GetChainParams + +``` +zetacored query observer list-chain-params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-chain-params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-chains + +list all SupportedChains + +``` +zetacored query observer list-chains [flags] +``` + +### Options + +``` + --count-total count total number of records in list-chains to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-chains + --limit uint pagination limit of list-chains to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-chains to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-chains to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-chains to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-node-account + +list all NodeAccount + +``` +zetacored query observer list-node-account [flags] +``` + +### Options + +``` + --count-total count total number of records in list-node-account to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-node-account + --limit uint pagination limit of list-node-account to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-node-account to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-node-account to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-node-account to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-observer-set + +Query observer set + +``` +zetacored query observer list-observer-set [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-observer-set + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-pending-nonces + +shows a chainNonces + +``` +zetacored query observer list-pending-nonces [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-pending-nonces + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-tss-funds-migrator + +list all tss funds migrators + +``` +zetacored query observer list-tss-funds-migrator [flags] +``` + +### Options + +``` + --count-total count total number of records in list-tss-funds-migrator to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-tss-funds-migrator + --limit uint pagination limit of list-tss-funds-migrator to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of list-tss-funds-migrator to query for + -o, --output string Output format (text|json) + --page uint pagination page of list-tss-funds-migrator to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list-tss-funds-migrator to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer list-tss-history + +show historical list of TSS + +``` +zetacored query observer list-tss-history [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-tss-history + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-ballot + +Query BallotByIdentifier + +``` +zetacored query observer show-ballot [ballot-identifier] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-ballot + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-blame + +Query BlameByIdentifier + +``` +zetacored query observer show-blame [blame-identifier] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-blame + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-chain-nonces + +shows a chainNonces + +``` +zetacored query observer show-chain-nonces [chain-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-chain-nonces + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-chain-params + +Query GetChainParamsForChain + +``` +zetacored query observer show-chain-params [chain-id] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-chain-params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-crosschain-flags + +shows the crosschain flags + +``` +zetacored query observer show-crosschain-flags [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-crosschain-flags + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-keygen + +shows keygen + +``` +zetacored query observer show-keygen [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-keygen + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-node-account + +shows a NodeAccount + +``` +zetacored query observer show-node-account [operator_address] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-node-account + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-observer-count + +Query show-observer-count + +``` +zetacored query observer show-observer-count [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-observer-count + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-tss + +shows a TSS + +``` +zetacored query observer show-tss [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-tss + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query observer show-tss-funds-migrator + +show the tss funds migrator for a chain + +``` +zetacored query observer show-tss-funds-migrator [chain-id] [flags] +``` + +### Options + +``` + --count-total count total number of records in show-tss-funds-migrator [chain-id] to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for show-tss-funds-migrator + --limit uint pagination limit of show-tss-funds-migrator [chain-id] to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of show-tss-funds-migrator [chain-id] to query for + -o, --output string Output format (text|json) + --page uint pagination page of show-tss-funds-migrator [chain-id] to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of show-tss-funds-migrator [chain-id] to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query observer](#zetacored-query-observer) - Querying commands for the observer module + +## zetacored query params + +Querying commands for the params module + +``` +zetacored query params [flags] +``` + +### Options + +``` + -h, --help help for params +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query params subspace](#zetacored-query-params-subspace) - Query for raw parameters by subspace and key + +## zetacored query params subspace + +Query for raw parameters by subspace and key + +``` +zetacored query params subspace [subspace] [key] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for subspace + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query params](#zetacored-query-params) - Querying commands for the params module + +## zetacored query slashing + +Querying commands for the slashing module + +``` +zetacored query slashing [flags] +``` + +### Options + +``` + -h, --help help for slashing +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query slashing params](#zetacored-query-slashing-params) - Query the current slashing parameters +* [zetacored query slashing signing-info](#zetacored-query-slashing-signing-info) - Query a validator's signing information +* [zetacored query slashing signing-infos](#zetacored-query-slashing-signing-infos) - Query signing information of all validators + +## zetacored query slashing params + +Query the current slashing parameters + +### Synopsis + +Query genesis parameters for the slashing module: + +$ zetacored query slashing params + +``` +zetacored query slashing params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query slashing](#zetacored-query-slashing) - Querying commands for the slashing module + +## zetacored query slashing signing-info + +Query a validator's signing information + +### Synopsis + +Use a validators' consensus public key to find the signing-info for that validator: + +$ zetacored query slashing signing-info '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"OauFcTKbN5Lx3fJL689cikXBqe+hcp6Y+x0rYUdR9Jk="}' + +``` +zetacored query slashing signing-info [validator-conspub] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for signing-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query slashing](#zetacored-query-slashing) - Querying commands for the slashing module + +## zetacored query slashing signing-infos + +Query signing information of all validators + +### Synopsis + +signing infos of validators: + +$ zetacored query slashing signing-infos + +``` +zetacored query slashing signing-infos [flags] +``` + +### Options + +``` + --count-total count total number of records in signing infos to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for signing-infos + --limit uint pagination limit of signing infos to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of signing infos to query for + -o, --output string Output format (text|json) + --page uint pagination page of signing infos to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of signing infos to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query slashing](#zetacored-query-slashing) - Querying commands for the slashing module + +## zetacored query staking + +Querying commands for the staking module + +``` +zetacored query staking [flags] +``` + +### Options + +``` + -h, --help help for staking +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query staking delegation](#zetacored-query-staking-delegation) - Query a delegation based on address and validator address +* [zetacored query staking delegations](#zetacored-query-staking-delegations) - Query all delegations made by one delegator +* [zetacored query staking delegations-to](#zetacored-query-staking-delegations-to) - Query all delegations made to one validator +* [zetacored query staking historical-info](#zetacored-query-staking-historical-info) - Query historical info at given height +* [zetacored query staking params](#zetacored-query-staking-params) - Query the current staking parameters information +* [zetacored query staking pool](#zetacored-query-staking-pool) - Query the current staking pool values +* [zetacored query staking redelegation](#zetacored-query-staking-redelegation) - Query a redelegation record based on delegator and a source and destination validator address +* [zetacored query staking redelegations](#zetacored-query-staking-redelegations) - Query all redelegations records for one delegator +* [zetacored query staking redelegations-from](#zetacored-query-staking-redelegations-from) - Query all outgoing redelegatations from a validator +* [zetacored query staking unbonding-delegation](#zetacored-query-staking-unbonding-delegation) - Query an unbonding-delegation record based on delegator and validator address +* [zetacored query staking unbonding-delegations](#zetacored-query-staking-unbonding-delegations) - Query all unbonding-delegations records for one delegator +* [zetacored query staking unbonding-delegations-from](#zetacored-query-staking-unbonding-delegations-from) - Query all unbonding delegatations from a validator +* [zetacored query staking validator](#zetacored-query-staking-validator) - Query a validator +* [zetacored query staking validators](#zetacored-query-staking-validators) - Query for all validators + +## zetacored query staking delegation + +Query a delegation based on address and validator address + +### Synopsis + +Query delegations for an individual delegator on an individual validator. + +Example: +$ zetacored query staking delegation zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking delegation [delegator-addr] [validator-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for delegation + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking delegations + +Query all delegations made by one delegator + +### Synopsis + +Query delegations for an individual delegator on all validators. + +Example: +$ zetacored query staking delegations zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p + +``` +zetacored query staking delegations [delegator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in delegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for delegations + --limit uint pagination limit of delegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of delegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of delegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of delegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking delegations-to + +Query all delegations made to one validator + +### Synopsis + +Query delegations on an individual validator. + +Example: +$ zetacored query staking delegations-to zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking delegations-to [validator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in validator delegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for delegations-to + --limit uint pagination limit of validator delegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of validator delegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of validator delegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of validator delegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking historical-info + +Query historical info at given height + +### Synopsis + +Query historical info at given height. + +Example: +$ zetacored query staking historical-info 5 + +``` +zetacored query staking historical-info [height] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for historical-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking params + +Query the current staking parameters information + +### Synopsis + +Query values set as staking parameters. + +Example: +$ zetacored query staking params + +``` +zetacored query staking params [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking pool + +Query the current staking pool values + +### Synopsis + +Query values for amounts stored in the staking pool. + +Example: +$ zetacored query staking pool + +``` +zetacored query staking pool [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for pool + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking redelegation + +Query a redelegation record based on delegator and a source and destination validator address + +### Synopsis + +Query a redelegation record for an individual delegator between a source and destination validator. + +Example: +$ zetacored query staking redelegation zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p zetavaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking redelegation [delegator-addr] [src-validator-addr] [dst-validator-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for redelegation + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking redelegations + +Query all redelegations records for one delegator + +### Synopsis + +Query all redelegation records for an individual delegator. + +Example: +$ zetacored query staking redelegation zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p + +``` +zetacored query staking redelegations [delegator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in delegator redelegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for redelegations + --limit uint pagination limit of delegator redelegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of delegator redelegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of delegator redelegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of delegator redelegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking redelegations-from + +Query all outgoing redelegatations from a validator + +### Synopsis + +Query delegations that are redelegating _from_ a validator. + +Example: +$ zetacored query staking redelegations-from zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking redelegations-from [validator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in validator redelegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for redelegations-from + --limit uint pagination limit of validator redelegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of validator redelegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of validator redelegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of validator redelegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking unbonding-delegation + +Query an unbonding-delegation record based on delegator and validator address + +### Synopsis + +Query unbonding delegations for an individual delegator on an individual validator. + +Example: +$ zetacored query staking unbonding-delegation zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking unbonding-delegation [delegator-addr] [validator-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for unbonding-delegation + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking unbonding-delegations + +Query all unbonding-delegations records for one delegator + +### Synopsis + +Query unbonding delegations for an individual delegator. + +Example: +$ zetacored query staking unbonding-delegations zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p + +``` +zetacored query staking unbonding-delegations [delegator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in unbonding delegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for unbonding-delegations + --limit uint pagination limit of unbonding delegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of unbonding delegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of unbonding delegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of unbonding delegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking unbonding-delegations-from + +Query all unbonding delegatations from a validator + +### Synopsis + +Query delegations that are unbonding _from_ a validator. + +Example: +$ zetacored query staking unbonding-delegations-from zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking unbonding-delegations-from [validator-addr] [flags] +``` + +### Options + +``` + --count-total count total number of records in unbonding delegations to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for unbonding-delegations-from + --limit uint pagination limit of unbonding delegations to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of unbonding delegations to query for + -o, --output string Output format (text|json) + --page uint pagination page of unbonding delegations to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of unbonding delegations to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking validator + +Query a validator + +### Synopsis + +Query details about an individual validator. + +Example: +$ zetacored query staking validator zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj + +``` +zetacored query staking validator [validator-addr] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for validator + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query staking validators + +Query for all validators + +### Synopsis + +Query details about all validators on a network. + +Example: +$ zetacored query staking validators + +``` +zetacored query staking validators [flags] +``` + +### Options + +``` + --count-total count total number of records in validators to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for validators + --limit uint pagination limit of validators to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of validators to query for + -o, --output string Output format (text|json) + --page uint pagination page of validators to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of validators to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query staking](#zetacored-query-staking) - Querying commands for the staking module + +## zetacored query tendermint-validator-set + +Get the full tendermint validator set at given height + +``` +zetacored query tendermint-validator-set [height] [flags] +``` + +### Options + +``` + -h, --help help for tendermint-validator-set + --limit int Query number of results returned per page (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) + --page int Query a specific page of paginated results (default 1) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query tx + +Query for a transaction by hash, "[addr]/[seq]" combination or comma-separated signatures in a committed block + +### Synopsis + +Example: +$ zetacored query tx [hash] +$ zetacored query tx --type=acc_seq [addr]/[sequence] +$ zetacored query tx --type=signature [sig1_base64],[sig2_base64...] + +``` +zetacored query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for tx + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) + --type string The type to be used when querying tx, can be one of "hash", "acc_seq", "signature" +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query txs + +Query for paginated transactions that match a set of events + +### Synopsis + +Search for transactions that match the exact given events where results are paginated. +Each event takes the form of '{eventType}.{eventAttribute}={value}'. Please refer +to each module's documentation for the full set of events to query for. Each module +documents its respective events under 'xx_events.md'. + +Example: +$ zetacored query txs --events 'message.sender=cosmos1...&message.action=withdraw_delegator_reward' --page 1 --limit 30 + +``` +zetacored query txs [flags] +``` + +### Options + +``` + --events string list of transaction events in the form of {eventType}.{eventAttribute}={value} + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for txs + --limit int Query number of transactions results per page returned (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) + --page int Query a specific page of paginated results (default 1) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands + +## zetacored query upgrade + +Querying commands for the upgrade module + +### Options + +``` + -h, --help help for upgrade +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query](#zetacored-query) - Querying subcommands +* [zetacored query upgrade applied](#zetacored-query-upgrade-applied) - block header for height at which a completed upgrade was applied +* [zetacored query upgrade module_versions](#zetacored-query-upgrade-module-versions) - get the list of module versions +* [zetacored query upgrade plan](#zetacored-query-upgrade-plan) - get upgrade plan (if one exists) + +## zetacored query upgrade applied + +block header for height at which a completed upgrade was applied + +### Synopsis + +If upgrade-name was previously executed on the chain, this returns the header for the block at which it was applied. +This helps a client determine which binary was valid over a given range of blocks, as well as more context to understand past migrations. + +``` +zetacored query upgrade applied [upgrade-name] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for applied + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query upgrade](#zetacored-query-upgrade) - Querying commands for the upgrade module + +## zetacored query upgrade module_versions + +get the list of module versions + +### Synopsis + +Gets a list of module names and their respective consensus versions. +Following the command with a specific module name will return only +that module's information. + +``` +zetacored query upgrade module_versions [optional module_name] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for module_versions + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query upgrade](#zetacored-query-upgrade) - Querying commands for the upgrade module + +## zetacored query upgrade plan + +get upgrade plan (if one exists) + +### Synopsis + +Gets the currently scheduled upgrade plan, if one exists + +``` +zetacored query upgrade plan [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for plan + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query upgrade](#zetacored-query-upgrade) - Querying commands for the upgrade module + +## zetacored rollback + +rollback cosmos-sdk and tendermint state by one height + +### Synopsis + + +A state rollback is performed to recover from an incorrect application state transition, +when Tendermint has persisted an incorrect app hash and is thus unable to make +progress. Rollback overwrites a state at height n with the state at height n - 1. +The application also rolls back to height n - 1. No blocks are removed, so upon +restarting Tendermint the transactions in block n will be re-executed against the +application. + + +``` +zetacored rollback [flags] +``` + +### Options + +``` + --hard remove last block as well as state + -h, --help help for rollback + --home string The application home directory +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored rosetta + +spin up a rosetta server + +``` +zetacored rosetta [flags] +``` + +### Options + +``` + --addr string the address rosetta will bind to + --blockchain string the blockchain type + --denom-to-suggest string default denom for fee suggestion + --enable-fee-suggestion enable default fee suggestion + --gas-to-suggest int default gas for fee suggestion (default 200000) + --grpc string the app gRPC endpoint + -h, --help help for rosetta + --network string the network name + --offline run rosetta only with construction API + --prices-to-suggest string default prices for fee suggestion + --retries int the number of retries that will be done before quitting (default 5) + --tendermint string the tendermint rpc endpoint, without tcp:// +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored snapshots + +Manage local snapshots + +### Options + +``` + -h, --help help for snapshots +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored snapshots delete](#zetacored-snapshots-delete) - Delete a local snapshot +* [zetacored snapshots dump](#zetacored-snapshots-dump) - Dump the snapshot as portable archive format +* [zetacored snapshots export](#zetacored-snapshots-export) - Export app state to snapshot store +* [zetacored snapshots list](#zetacored-snapshots-list) - List local snapshots +* [zetacored snapshots load](#zetacored-snapshots-load) - Load a snapshot archive file (.tar.gz) into snapshot store +* [zetacored snapshots restore](#zetacored-snapshots-restore) - Restore app state from local snapshot + +## zetacored snapshots delete + +Delete a local snapshot + +``` +zetacored snapshots delete [height] [format] [flags] +``` + +### Options + +``` + -h, --help help for delete +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored snapshots dump + +Dump the snapshot as portable archive format + +``` +zetacored snapshots dump [height] [format] [flags] +``` + +### Options + +``` + -h, --help help for dump + -o, --output string output file +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored snapshots export + +Export app state to snapshot store + +``` +zetacored snapshots export [flags] +``` + +### Options + +``` + --height int Height to export, default to latest state height + -h, --help help for export +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored snapshots list + +List local snapshots + +``` +zetacored snapshots list [flags] +``` + +### Options + +``` + -h, --help help for list +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored snapshots load + +Load a snapshot archive file (.tar.gz) into snapshot store + +``` +zetacored snapshots load [archive-file] [flags] +``` + +### Options + +``` + -h, --help help for load +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored snapshots restore + +Restore app state from local snapshot + +### Synopsis + +Restore app state from local snapshot + +``` +zetacored snapshots restore [height] [format] [flags] +``` + +### Options + +``` + -h, --help help for restore +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored snapshots](#zetacored-snapshots) - Manage local snapshots + +## zetacored start + +Run the full node + +### Synopsis + +Run the full node application with Tendermint in or out of process. By +default, the application will run with Tendermint in process. + +Pruning options can be provided via the '--pruning' flag or alternatively with '--pruning-keep-recent', +'pruning-keep-every', and 'pruning-interval' together. + +For '--pruning' the options are as follows: + +default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals +nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node) +everything: all saved states will be deleted, storing only the current state; pruning at 10 block intervals +custom: allow pruning options to be manually specified through 'pruning-keep-recent', 'pruning-keep-every', and 'pruning-interval' + +Node halting configurations exist in the form of two flags: '--halt-height' and '--halt-time'. During +the ABCI Commit phase, the node will check if the current block height is greater than or equal to +the halt-height or if the current block time is greater than or equal to the halt-time. If so, the +node will attempt to gracefully shutdown and the block will not be committed. In addition, the node +will not be able to commit subsequent blocks. + +For profiling and benchmarking purposes, CPU profiling can be enabled via the '--cpu-profile' flag +which accepts a path for the resulting pprof file. + + +``` +zetacored start [flags] +``` + +### Options + +``` + --abci string specify abci transport (socket | grpc) + --address string Listen address + --api.enable Defines if Cosmos-sdk REST server should be enabled + --api.enabled-unsafe-cors Defines if CORS should be enabled (unsafe - use it at your own risk) + --app-db-backend string The type of database for application and snapshots databases + --block_sync sync the block chain using the blocksync algorithm (default true) + --consensus.create_empty_blocks set this to false to only produce blocks when there are txs or when the AppHash changes (default true) + --consensus.create_empty_blocks_interval string the possible interval between empty blocks + --consensus.double_sign_check_height int how many blocks to look back to check existence of the node's consensus votes before joining consensus + --cpu-profile string Enable CPU profiling and write to the provided file + --db_backend string database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb + --db_dir string database directory + --evm.max-tx-gas-wanted uint the gas wanted for each eth tx returned in ante handler in check tx mode + --evm.tracer string the EVM tracer type to collect execution traces from the EVM transaction execution (json|struct|access_list|markdown) + --genesis_hash bytesHex optional SHA-256 hash of the genesis file + --grpc-only Start the node in gRPC query only mode without Tendermint process + --grpc-web.address string The gRPC-Web server address to listen on + --grpc-web.enable Define if the gRPC-Web server should be enabled. (Note: gRPC must also be enabled.) (default true) + --grpc.address string the gRPC server address to listen on + --grpc.enable Define if the gRPC server should be enabled (default true) + --halt-height uint Block height at which to gracefully halt the chain and shutdown the node + --halt-time uint Minimum block time (in Unix seconds) at which to gracefully halt the chain and shutdown the node + -h, --help help for start + --home string The application home directory + --inter-block-cache Enable inter-block caching (default true) + --inv-check-period uint Assert registered invariants every N blocks + --json-rpc.address string the JSON-RPC server address to listen on + --json-rpc.allow-unprotected-txs Allow for unprotected (non EIP155 signed) transactions to be submitted via the node's RPC when the global parameter is disabled + --json-rpc.api strings Defines a list of JSON-RPC namespaces that should be enabled (default [eth,net,web3]) + --json-rpc.block-range-cap eth_getLogs Sets the max block range allowed for eth_getLogs query (default 10000) + --json-rpc.enable Define if the JSON-RPC server should be enabled (default true) + --json-rpc.enable-indexer Enable the custom tx indexer for json-rpc + --json-rpc.evm-timeout duration Sets a timeout used for eth_call (0=infinite) (default 5s) + --json-rpc.filter-cap int32 Sets the global cap for total number of filters that can be created (default 200) + --json-rpc.gas-cap uint Sets a cap on gas that can be used in eth_call/estimateGas unit is aphoton (0=infinite) (default 25000000) + --json-rpc.http-idle-timeout duration Sets a idle timeout for json-rpc http server (0=infinite) (default 2m0s) + --json-rpc.http-timeout duration Sets a read/write timeout for json-rpc http server (0=infinite) (default 30s) + --json-rpc.logs-cap eth_getLogs Sets the max number of results can be returned from single eth_getLogs query (default 10000) + --json-rpc.max-open-connections int Sets the maximum number of simultaneous connections for the server listener + --json-rpc.txfee-cap float Sets a cap on transaction fee that can be sent via the RPC APIs (1 = default 1 photon) (default 1) + --json-rpc.ws-address string the JSON-RPC WS server address to listen on + --metrics Define if EVM rpc metrics server should be enabled + --min-retain-blocks uint Minimum block height offset during ABCI commit to prune Tendermint blocks + --minimum-gas-prices string Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 0.01photon;0.0001stake) + --moniker string node name + --p2p.external-address string ip:port address to advertise to peers for them to dial + --p2p.laddr string node listen address. (0.0.0.0:0 means any interface, any port) + --p2p.persistent_peers string comma-delimited ID@host:port persistent peers + --p2p.pex enable/disable Peer-Exchange (default true) + --p2p.private_peer_ids string comma-delimited private peer IDs + --p2p.seed_mode enable/disable seed mode + --p2p.seeds string comma-delimited ID@host:port seed nodes + --p2p.unconditional_peer_ids string comma-delimited IDs of unconditional peers + --priv_validator_laddr string socket address to listen on for connections from external priv_validator process + --proxy_app string proxy app address, or one of: 'kvstore', 'persistent_kvstore' or 'noop' for local testing. + --pruning string Pruning strategy (default|nothing|everything|custom) + --pruning-interval uint Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom') + --pruning-keep-recent uint Number of recent heights to keep on disk (ignored if pruning is not 'custom') + --rpc.grpc_laddr string GRPC listen address (BroadcastTx only). Port required + --rpc.laddr string RPC listen address. Port required + --rpc.pprof_laddr string pprof listen address (https://golang.org/pkg/net/http/pprof) + --rpc.unsafe enabled unsafe rpc methods + --state-sync.snapshot-interval uint State sync snapshot interval + --state-sync.snapshot-keep-recent uint32 State sync snapshot to keep (default 2) + --tls.certificate-path string the cert.pem file path for the server TLS configuration + --tls.key-path string the key.pem file path for the server TLS configuration + --trace Provide full stack traces for errors in ABCI Log + --trace-store string Enable KVStore tracing to an output file + --transport string Transport protocol: socket, grpc + --unsafe-skip-upgrades ints Skip a set of upgrade heights to continue the old binary + --with-tendermint Run abci app embedded in-process with tendermint (default true) + --x-crisis-skip-assert-invariants Skip x/crisis invariants check on startup +``` + +### Options inherited from parent commands + +``` + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored status + +Query remote node for status + +``` +zetacored status [flags] +``` + +### Options + +``` + -h, --help help for status + -n, --node string Node to connect to +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored tendermint + +Tendermint subcommands + +### Options + +``` + -h, --help help for tendermint +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored tendermint reset-state](#zetacored-tendermint-reset-state) - Remove all the data and WAL +* [zetacored tendermint show-address](#zetacored-tendermint-show-address) - Shows this node's tendermint validator consensus address +* [zetacored tendermint show-node-id](#zetacored-tendermint-show-node-id) - Show this node's ID +* [zetacored tendermint show-validator](#zetacored-tendermint-show-validator) - Show this node's tendermint validator info +* [zetacored tendermint unsafe-reset-all](#zetacored-tendermint-unsafe-reset-all) - (unsafe) Remove all the data and WAL, reset this node's validator to genesis state +* [zetacored tendermint version](#zetacored-tendermint-version) - Print tendermint libraries' version + +## zetacored tendermint reset-state + +Remove all the data and WAL + +``` +zetacored tendermint reset-state [flags] +``` + +### Options + +``` + -h, --help help for reset-state +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored tendermint show-address + +Shows this node's tendermint validator consensus address + +``` +zetacored tendermint show-address [flags] +``` + +### Options + +``` + -h, --help help for show-address +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored tendermint show-node-id + +Show this node's ID + +``` +zetacored tendermint show-node-id [flags] +``` + +### Options + +``` + -h, --help help for show-node-id +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored tendermint show-validator + +Show this node's tendermint validator info + +``` +zetacored tendermint show-validator [flags] +``` + +### Options + +``` + -h, --help help for show-validator +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored tendermint unsafe-reset-all + +(unsafe) Remove all the data and WAL, reset this node's validator to genesis state + +``` +zetacored tendermint unsafe-reset-all [flags] +``` + +### Options + +``` + -h, --help help for unsafe-reset-all + --keep-addr-book keep the address book intact +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored tendermint version + +Print tendermint libraries' version + +### Synopsis + +Print protocols' and libraries' version numbers against which this app has been compiled. + +``` +zetacored tendermint version [flags] +``` + +### Options + +``` + -h, --help help for version +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tendermint](#zetacored-tendermint) - Tendermint subcommands + +## zetacored testnet + +subcommands for starting or configuring local testnets + +``` +zetacored testnet [flags] +``` + +### Options + +``` + -h, --help help for testnet +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored testnet init-files](#zetacored-testnet-init-files) - Initialize config directories & files for a multi-validator testnet running locally via separate processes (e.g. Docker Compose or similar) +* [zetacored testnet start](#zetacored-testnet-start) - Launch an in-process multi-validator testnet + +## zetacored testnet init-files + +Initialize config directories & files for a multi-validator testnet running locally via separate processes (e.g. Docker Compose or similar) + +### Synopsis + +init-files will setup "v" number of directories and populate each with +necessary files (private validator, genesis, config, etc.) for running "v" validator nodes. + +Booting up a network with these validator folders is intended to be used with Docker Compose, +or a similar setup where each node has a manually configurable IP address. + +Note, strict routability for addresses is turned off in the config file. + +Example: + evmosd testnet init-files --v 4 --output-dir ./.testnets --starting-ip-address 192.168.10.2 + + +``` +zetacored testnet init-files [flags] +``` + +### Options + +``` + --chain-id string genesis file chain-id, if left blank will be randomly created + -h, --help help for init-files + --key-type string Key signing algorithm to generate keys for + --keyring-backend string Select keyring's backend (os|file|test) + --minimum-gas-prices string Minimum gas prices to accept for transactions; All fees in a tx must meet this minimum (e.g. 0.01photino,0.001stake) + --node-daemon-home string Home directory of the node's daemon configuration + --node-dir-prefix string Prefix the directory name for each node with (node results in node0, node1, ...) + -o, --output-dir string Directory to store initialization data for the testnet + --starting-ip-address string Starting IP address (192.168.0.1 results in persistent peers list ID0@192.168.0.1:46656, ID1@192.168.0.2:46656, ...) + --v int Number of validators to initialize the testnet with (default 4) +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored testnet](#zetacored-testnet) - subcommands for starting or configuring local testnets + +## zetacored testnet start + +Launch an in-process multi-validator testnet + +### Synopsis + +testnet will launch an in-process multi-validator testnet, +and generate "v" directories, populated with necessary validator configuration files +(private validator, genesis, config, etc.). + +Example: + evmosd testnet --v 4 --output-dir ./.testnets + + +``` +zetacored testnet start [flags] +``` + +### Options + +``` + --api.address string the address to listen on for REST API + --chain-id string genesis file chain-id, if left blank will be randomly created + --enable-logging Enable INFO logging of tendermint validator nodes + --grpc.address string the gRPC server address to listen on + -h, --help help for start + --json-rpc.address string the JSON-RPC server address to listen on + --key-type string Key signing algorithm to generate keys for + --minimum-gas-prices string Minimum gas prices to accept for transactions; All fees in a tx must meet this minimum (e.g. 0.01photino,0.001stake) + -o, --output-dir string Directory to store initialization data for the testnet + --print-mnemonic print mnemonic of first validator to stdout for manual testing (default true) + --rpc.address string the RPC address to listen on + --v int Number of validators to initialize the testnet with (default 4) +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored testnet](#zetacored-testnet) - subcommands for starting or configuring local testnets + +## zetacored tx + +Transactions subcommands + +``` +zetacored tx [flags] +``` + +### Options + +``` + --chain-id string The network chain ID + -h, --help help for tx +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +* [zetacored tx authority](#zetacored-tx-authority) - authority transactions subcommands +* [zetacored tx authz](#zetacored-tx-authz) - Authorization transactions subcommands +* [zetacored tx bank](#zetacored-tx-bank) - Bank transaction subcommands +* [zetacored tx broadcast](#zetacored-tx-broadcast) - Broadcast transactions generated offline +* [zetacored tx crisis](#zetacored-tx-crisis) - Crisis transactions subcommands +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands +* [zetacored tx decode](#zetacored-tx-decode) - Decode a binary encoded transaction string +* [zetacored tx distribution](#zetacored-tx-distribution) - Distribution transactions subcommands +* [zetacored tx emissions](#zetacored-tx-emissions) - emissions transactions subcommands +* [zetacored tx encode](#zetacored-tx-encode) - Encode transactions generated offline +* [zetacored tx evidence](#zetacored-tx-evidence) - Evidence transaction subcommands +* [zetacored tx evm](#zetacored-tx-evm) - evm transactions subcommands +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands +* [zetacored tx lightclient](#zetacored-tx-lightclient) - lightclient transactions subcommands +* [zetacored tx multi-sign](#zetacored-tx-multi-sign) - Generate multisig signatures for transactions generated offline +* [zetacored tx multisign-batch](#zetacored-tx-multisign-batch) - Assemble multisig transactions in batch from batch signatures +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands +* [zetacored tx sign](#zetacored-tx-sign) - Sign a transaction generated offline +* [zetacored tx sign-batch](#zetacored-tx-sign-batch) - Sign transaction batch files +* [zetacored tx slashing](#zetacored-tx-slashing) - Slashing transaction subcommands +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands +* [zetacored tx validate-signatures](#zetacored-tx-validate-signatures) - validate transactions signatures +* [zetacored tx vesting](#zetacored-tx-vesting) - Vesting transaction subcommands + +## zetacored tx authority + +authority transactions subcommands + +``` +zetacored tx authority [flags] +``` + +### Options + +``` + -h, --help help for authority +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx authority add-authorization](#zetacored-tx-authority-add-authorization) - Add a new authorization or update the policy of an existing authorization. Policy type can be 0 for groupEmergency, 1 for groupOperational, 2 for groupAdmin. +* [zetacored tx authority remove-authorization](#zetacored-tx-authority-remove-authorization) - removes an existing authorization +* [zetacored tx authority update-chain-info](#zetacored-tx-authority-update-chain-info) - Update the chain info +* [zetacored tx authority update-policies](#zetacored-tx-authority-update-policies) - Update policies to values provided in the JSON file. + +## zetacored tx authority add-authorization + +Add a new authorization or update the policy of an existing authorization. Policy type can be 0 for groupEmergency, 1 for groupOperational, 2 for groupAdmin. + +``` +zetacored tx authority add-authorization [msg-url] [authorized-policy] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for add-authorization + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authority](#zetacored-tx-authority) - authority transactions subcommands + +## zetacored tx authority remove-authorization + +removes an existing authorization + +``` +zetacored tx authority remove-authorization [msg-url] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for remove-authorization + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authority](#zetacored-tx-authority) - authority transactions subcommands + +## zetacored tx authority update-chain-info + +Update the chain info + +``` +zetacored tx authority update-chain-info [chain-info-json-file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-chain-info + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authority](#zetacored-tx-authority) - authority transactions subcommands + +## zetacored tx authority update-policies + +Update policies to values provided in the JSON file. + +``` +zetacored tx authority update-policies [policies-json-file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-policies + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authority](#zetacored-tx-authority) - authority transactions subcommands + +## zetacored tx authz + +Authorization transactions subcommands + +### Synopsis + +Authorize and revoke access to execute transactions on behalf of your address + +``` +zetacored tx authz [flags] +``` + +### Options + +``` + -h, --help help for authz +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx authz exec](#zetacored-tx-authz-exec) - execute tx on behalf of granter account +* [zetacored tx authz grant](#zetacored-tx-authz-grant) - Grant authorization to an address +* [zetacored tx authz revoke](#zetacored-tx-authz-revoke) - revoke authorization + +## zetacored tx authz exec + +execute tx on behalf of granter account + +### Synopsis + +execute tx on behalf of granter account: +Example: + $ zetacored tx authz exec tx.json --from grantee + $ zetacored tx bank send [granter] [recipient] --from [granter] --chain-id [chain-id] --generate-only > tx.json && zetacored tx authz exec tx.json --from grantee + +``` +zetacored tx authz exec [tx-json-file] --from [grantee] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for exec + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authz](#zetacored-tx-authz) - Authorization transactions subcommands + +## zetacored tx authz grant + +Grant authorization to an address + +### Synopsis + +create a new grant authorization to an address to execute a transaction on your behalf: + +Examples: + $ zetacored tx authz grant cosmos1skjw.. send --spend-limit=1000stake --from=cosmos1skl.. + $ zetacored tx authz grant cosmos1skjw.. generic --msg-type=/cosmos.gov.v1.MsgVote --from=cosmos1sk.. + +``` +zetacored tx authz grant [grantee] [authorization_type="send"|"generic"|"delegate"|"unbond"|"redelegate"] --from [granter] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --allow-list strings Allowed addresses grantee is allowed to send funds separated by , + --allowed-validators strings Allowed validators addresses separated by , + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --deny-validators strings Deny validators addresses separated by , + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --expiration int Expire time as Unix timestamp. Set zero (0) for no expiry. Default is 0. + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for grant + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --msg-type string The Msg method name for which we are creating a GenericAuthorization + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --spend-limit string SpendLimit for Send Authorization, an array of Coins allowed spend + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authz](#zetacored-tx-authz) - Authorization transactions subcommands + +## zetacored tx authz revoke + +revoke authorization + +### Synopsis + +revoke authorization from a granter to a grantee: +Example: + $ zetacored tx authz revoke cosmos1skj.. /cosmos.bank.v1beta1.MsgSend --from=cosmos1skj.. + +``` +zetacored tx authz revoke [grantee] [msg-type-url] --from=[granter] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for revoke + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx authz](#zetacored-tx-authz) - Authorization transactions subcommands + +## zetacored tx bank + +Bank transaction subcommands + +``` +zetacored tx bank [flags] +``` + +### Options + +``` + -h, --help help for bank +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx bank multi-send](#zetacored-tx-bank-multi-send) - Send funds from one account to two or more accounts. +* [zetacored tx bank send](#zetacored-tx-bank-send) - Send funds from one account to another. + +## zetacored tx bank multi-send + +Send funds from one account to two or more accounts. + +### Synopsis + +Send funds from one account to two or more accounts. +By default, sends the [amount] to each address of the list. +Using the '--split' flag, the [amount] is split equally between the addresses. +Note, the '--from' flag is ignored as it is implied from [from_key_or_address] and +separate addresses with space. +When using '--dry-run' a key name cannot be used, only a bech32 address. + +``` +zetacored tx bank multi-send [from_key_or_address] [to_address_1 to_address_2 ...] [amount] [flags] +``` + +### Examples + +``` +zetacored tx bank multi-send cosmos1... cosmos1... cosmos1... cosmos1... 10stake +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for multi-send + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --split Send the equally split token amount to each address + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx bank](#zetacored-tx-bank) - Bank transaction subcommands + +## zetacored tx bank send + +Send funds from one account to another. + +### Synopsis + +Send funds from one account to another. +Note, the '--from' flag is ignored as it is implied from [from_key_or_address]. +When using '--dry-run' a key name cannot be used, only a bech32 address. + + +``` +zetacored tx bank send [from_key_or_address] [to_address] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for send + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx bank](#zetacored-tx-bank) - Bank transaction subcommands + +## zetacored tx broadcast + +Broadcast transactions generated offline + +### Synopsis + +Broadcast transactions created with the --generate-only +flag and signed with the sign command. Read a transaction from [file_path] and +broadcast it to a node. If you supply a dash (-) argument in place of an input +filename, the command reads from standard input. + +$ zetacored tx broadcast ./mytxn.json + +``` +zetacored tx broadcast [file_path] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for broadcast + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx crisis + +Crisis transactions subcommands + +``` +zetacored tx crisis [flags] +``` + +### Options + +``` + -h, --help help for crisis +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx crisis invariant-broken](#zetacored-tx-crisis-invariant-broken) - Submit proof that an invariant broken to halt the chain + +## zetacored tx crisis invariant-broken + +Submit proof that an invariant broken to halt the chain + +``` +zetacored tx crisis invariant-broken [module-name] [invariant-route] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for invariant-broken + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crisis](#zetacored-tx-crisis) - Crisis transactions subcommands + +## zetacored tx crosschain + +crosschain transactions subcommands + +``` +zetacored tx crosschain [flags] +``` + +### Options + +``` + -h, --help help for crosschain +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx crosschain abort-stuck-cctx](#zetacored-tx-crosschain-abort-stuck-cctx) - abort a stuck CCTX +* [zetacored tx crosschain add-inbound-tracker](#zetacored-tx-crosschain-add-inbound-tracker) - Add an inbound tracker + Use 0:Zeta,1:Gas,2:ERC20 +* [zetacored tx crosschain add-outbound-tracker](#zetacored-tx-crosschain-add-outbound-tracker) - Add an outbound tracker +* [zetacored tx crosschain migrate-tss-funds](#zetacored-tx-crosschain-migrate-tss-funds) - Migrate TSS funds to the latest TSS address +* [zetacored tx crosschain refund-aborted](#zetacored-tx-crosschain-refund-aborted) - Refund an aborted tx , the refund address is optional, if not provided, the refund will be sent to the sender/tx origin of the cctx. +* [zetacored tx crosschain remove-outbound-tracker](#zetacored-tx-crosschain-remove-outbound-tracker) - Remove an outbound tracker +* [zetacored tx crosschain update-tss-address](#zetacored-tx-crosschain-update-tss-address) - Create a new TSSVoter +* [zetacored tx crosschain vote-gas-price](#zetacored-tx-crosschain-vote-gas-price) - Broadcast message to vote gas price +* [zetacored tx crosschain vote-inbound](#zetacored-tx-crosschain-vote-inbound) - Broadcast message to vote an inbound +* [zetacored tx crosschain vote-outbound](#zetacored-tx-crosschain-vote-outbound) - Broadcast message to vote an outbound +* [zetacored tx crosschain whitelist-erc20](#zetacored-tx-crosschain-whitelist-erc20) - Add a new erc20 token to whitelist + +## zetacored tx crosschain abort-stuck-cctx + +abort a stuck CCTX + +``` +zetacored tx crosschain abort-stuck-cctx [index] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for abort-stuck-cctx + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain add-inbound-tracker + +Add an inbound tracker + Use 0:Zeta,1:Gas,2:ERC20 + +``` +zetacored tx crosschain add-inbound-tracker [chain-id] [tx-hash] [coin-type] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for add-inbound-tracker + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain add-outbound-tracker + +Add an outbound tracker + +``` +zetacored tx crosschain add-outbound-tracker [chain] [nonce] [tx-hash] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for add-outbound-tracker + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain migrate-tss-funds + +Migrate TSS funds to the latest TSS address + +``` +zetacored tx crosschain migrate-tss-funds [chainID] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for migrate-tss-funds + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain refund-aborted + +Refund an aborted tx , the refund address is optional, if not provided, the refund will be sent to the sender/tx origin of the cctx. + +``` +zetacored tx crosschain refund-aborted [cctx-index] [refund-address] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for refund-aborted + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain remove-outbound-tracker + +Remove an outbound tracker + +``` +zetacored tx crosschain remove-outbound-tracker [chain] [nonce] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for remove-outbound-tracker + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain update-tss-address + +Create a new TSSVoter + +``` +zetacored tx crosschain update-tss-address [pubkey] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-tss-address + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain vote-gas-price + +Broadcast message to vote gas price + +``` +zetacored tx crosschain vote-gas-price [chain] [price] [priorityFee] [blockNumber] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote-gas-price + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain vote-inbound + +Broadcast message to vote an inbound + +``` +zetacored tx crosschain vote-inbound [sender] [senderChainID] [txOrigin] [receiver] [receiverChainID] [amount] [message] [inboundHash] [inBlockHeight] [coinType] [asset] [eventIndex] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote-inbound + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain vote-outbound + +Broadcast message to vote an outbound + +``` +zetacored tx crosschain vote-outbound [sendHash] [outboundHash] [outBlockHeight] [outGasUsed] [outEffectiveGasPrice] [outEffectiveGasLimit] [valueReceived] [Status] [chain] [outTXNonce] [coinType] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote-outbound + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx crosschain whitelist-erc20 + +Add a new erc20 token to whitelist + +``` +zetacored tx crosschain whitelist-erc20 [erc20Address] [chainID] [name] [symbol] [decimals] [gasLimit] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for whitelist-erc20 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx crosschain](#zetacored-tx-crosschain) - crosschain transactions subcommands + +## zetacored tx decode + +Decode a binary encoded transaction string + +``` +zetacored tx decode [protobuf-byte-string] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for decode + -x, --hex Treat input as hexadecimal instead of base64 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx distribution + +Distribution transactions subcommands + +``` +zetacored tx distribution [flags] +``` + +### Options + +``` + -h, --help help for distribution +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx distribution fund-community-pool](#zetacored-tx-distribution-fund-community-pool) - Funds the community pool with the specified amount +* [zetacored tx distribution set-withdraw-addr](#zetacored-tx-distribution-set-withdraw-addr) - change the default withdraw address for rewards associated with an address +* [zetacored tx distribution withdraw-all-rewards](#zetacored-tx-distribution-withdraw-all-rewards) - withdraw all delegations rewards for a delegator +* [zetacored tx distribution withdraw-rewards](#zetacored-tx-distribution-withdraw-rewards) - Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator + +## zetacored tx distribution fund-community-pool + +Funds the community pool with the specified amount + +### Synopsis + +Funds the community pool with the specified amount + +Example: +$ zetacored tx distribution fund-community-pool 100uatom --from mykey + +``` +zetacored tx distribution fund-community-pool [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for fund-community-pool + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx distribution](#zetacored-tx-distribution) - Distribution transactions subcommands + +## zetacored tx distribution set-withdraw-addr + +change the default withdraw address for rewards associated with an address + +### Synopsis + +Set the withdraw address for rewards associated with a delegator address. + +Example: +$ zetacored tx distribution set-withdraw-addr zeta1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p --from mykey + +``` +zetacored tx distribution set-withdraw-addr [withdraw-addr] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for set-withdraw-addr + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx distribution](#zetacored-tx-distribution) - Distribution transactions subcommands + +## zetacored tx distribution withdraw-all-rewards + +withdraw all delegations rewards for a delegator + +### Synopsis + +Withdraw all rewards for a single delegator. +Note that if you use this command with --broadcast-mode=sync or --broadcast-mode=async, the max-msgs flag will automatically be set to 0. + +Example: +$ zetacored tx distribution withdraw-all-rewards --from mykey + +``` +zetacored tx distribution withdraw-all-rewards [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for withdraw-all-rewards + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --max-msgs int Limit the number of messages per tx (0 for unlimited) + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx distribution](#zetacored-tx-distribution) - Distribution transactions subcommands + +## zetacored tx distribution withdraw-rewards + +Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator + +### Synopsis + +Withdraw rewards from a given delegation address, +and optionally withdraw validator commission if the delegation address given is a validator operator. + +Example: +$ zetacored tx distribution withdraw-rewards zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey +$ zetacored tx distribution withdraw-rewards zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey --commission + +``` +zetacored tx distribution withdraw-rewards [validator-addr] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --commission Withdraw the validator's commission in addition to the rewards + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for withdraw-rewards + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx distribution](#zetacored-tx-distribution) - Distribution transactions subcommands + +## zetacored tx emissions + +emissions transactions subcommands + +``` +zetacored tx emissions [flags] +``` + +### Options + +``` + -h, --help help for emissions +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx emissions withdraw-emission](#zetacored-tx-emissions-withdraw-emission) - create a new withdrawEmission + +## zetacored tx emissions withdraw-emission + +create a new withdrawEmission + +``` +zetacored tx emissions withdraw-emission [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for withdraw-emission + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx emissions](#zetacored-tx-emissions) - emissions transactions subcommands + +## zetacored tx encode + +Encode transactions generated offline + +### Synopsis + +Encode transactions created with the --generate-only flag or signed with the sign command. +Read a transaction from [file], serialize it to the Protobuf wire protocol, and output it as base64. +If you supply a dash (-) argument in place of an input filename, the command reads from standard input. + +``` +zetacored tx encode [file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for encode + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx evidence + +Evidence transaction subcommands + +``` +zetacored tx evidence [flags] +``` + +### Options + +``` + -h, --help help for evidence +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx evm + +evm transactions subcommands + +``` +zetacored tx evm [flags] +``` + +### Options + +``` + -h, --help help for evm +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx evm raw](#zetacored-tx-evm-raw) - Build cosmos transaction from raw ethereum transaction + +## zetacored tx evm raw + +Build cosmos transaction from raw ethereum transaction + +``` +zetacored tx evm raw TX_HEX [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for raw + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx evm](#zetacored-tx-evm) - evm transactions subcommands + +## zetacored tx fungible + +fungible transactions subcommands + +``` +zetacored tx fungible [flags] +``` + +### Options + +``` + -h, --help help for fungible +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx fungible deploy-fungible-coin-zrc-4](#zetacored-tx-fungible-deploy-fungible-coin-zrc-4) - Broadcast message DeployFungibleCoinZRC20 +* [zetacored tx fungible deploy-system-contracts](#zetacored-tx-fungible-deploy-system-contracts) - Broadcast message SystemContracts +* [zetacored tx fungible pause-zrc20](#zetacored-tx-fungible-pause-zrc20) - Broadcast message PauseZRC20 +* [zetacored tx fungible remove-foreign-coin](#zetacored-tx-fungible-remove-foreign-coin) - Broadcast message RemoveForeignCoin +* [zetacored tx fungible unpause-zrc20](#zetacored-tx-fungible-unpause-zrc20) - Broadcast message UnpauseZRC20 +* [zetacored tx fungible update-contract-bytecode](#zetacored-tx-fungible-update-contract-bytecode) - Broadcast message UpdateContractBytecode +* [zetacored tx fungible update-gateway-contract](#zetacored-tx-fungible-update-gateway-contract) - Broadcast message UpdateGatewayContract to update the gateway contract address +* [zetacored tx fungible update-system-contract](#zetacored-tx-fungible-update-system-contract) - Broadcast message UpdateSystemContract +* [zetacored tx fungible update-zrc20-liquidity-cap](#zetacored-tx-fungible-update-zrc20-liquidity-cap) - Broadcast message UpdateZRC20LiquidityCap +* [zetacored tx fungible update-zrc20-withdraw-fee](#zetacored-tx-fungible-update-zrc20-withdraw-fee) - Broadcast message UpdateZRC20WithdrawFee + +## zetacored tx fungible deploy-fungible-coin-zrc-4 + +Broadcast message DeployFungibleCoinZRC20 + +``` +zetacored tx fungible deploy-fungible-coin-zrc-4 [erc-20] [foreign-chain] [decimals] [name] [symbol] [coin-type] [gas-limit] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for deploy-fungible-coin-zrc-4 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible deploy-system-contracts + +Broadcast message SystemContracts + +``` +zetacored tx fungible deploy-system-contracts [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for deploy-system-contracts + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible pause-zrc20 + +Broadcast message PauseZRC20 + +``` +zetacored tx fungible pause-zrc20 [contractAddress1, contractAddress2, ...] [flags] +``` + +### Examples + +``` +zetacored tx fungible pause-zrc20 "0xece40cbB54d65282c4623f141c4a8a0bE7D6AdEc, 0xece40cbB54d65282c4623f141c4a8a0bEjgksncf" +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for pause-zrc20 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible remove-foreign-coin + +Broadcast message RemoveForeignCoin + +``` +zetacored tx fungible remove-foreign-coin [name] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for remove-foreign-coin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible unpause-zrc20 + +Broadcast message UnpauseZRC20 + +``` +zetacored tx fungible unpause-zrc20 [contractAddress1, contractAddress2, ...] [flags] +``` + +### Examples + +``` +zetacored tx fungible unpause-zrc20 "0xece40cbB54d65282c4623f141c4a8a0bE7D6AdEc, 0xece40cbB54d65282c4623f141c4a8a0bEjgksncf" +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for unpause-zrc20 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible update-contract-bytecode + +Broadcast message UpdateContractBytecode + +``` +zetacored tx fungible update-contract-bytecode [contract-address] [new-code-hash] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-contract-bytecode + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible update-gateway-contract + +Broadcast message UpdateGatewayContract to update the gateway contract address + +``` +zetacored tx fungible update-gateway-contract [contract-address] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-gateway-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible update-system-contract + +Broadcast message UpdateSystemContract + +``` +zetacored tx fungible update-system-contract [contract-address] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-system-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible update-zrc20-liquidity-cap + +Broadcast message UpdateZRC20LiquidityCap + +``` +zetacored tx fungible update-zrc20-liquidity-cap [zrc20] [liquidity-cap] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-zrc20-liquidity-cap + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx fungible update-zrc20-withdraw-fee + +Broadcast message UpdateZRC20WithdrawFee + +``` +zetacored tx fungible update-zrc20-withdraw-fee [contractAddress] [newWithdrawFee] [newGasLimit] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-zrc20-withdraw-fee + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx fungible](#zetacored-tx-fungible) - fungible transactions subcommands + +## zetacored tx gov + +Governance transactions subcommands + +``` +zetacored tx gov [flags] +``` + +### Options + +``` + -h, --help help for gov +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx gov deposit](#zetacored-tx-gov-deposit) - Deposit tokens for an active proposal +* [zetacored tx gov draft-proposal](#zetacored-tx-gov-draft-proposal) - Generate a draft proposal json file. The generated proposal json contains only one message (skeleton). +* [zetacored tx gov submit-legacy-proposal](#zetacored-tx-gov-submit-legacy-proposal) - Submit a legacy proposal along with an initial deposit +* [zetacored tx gov submit-proposal](#zetacored-tx-gov-submit-proposal) - Submit a proposal along with some messages, metadata and deposit +* [zetacored tx gov vote](#zetacored-tx-gov-vote) - Vote for an active proposal, options: yes/no/no_with_veto/abstain +* [zetacored tx gov weighted-vote](#zetacored-tx-gov-weighted-vote) - Vote for an active proposal, options: yes/no/no_with_veto/abstain + +## zetacored tx gov deposit + +Deposit tokens for an active proposal + +### Synopsis + +Submit a deposit for an active proposal. You can +find the proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored tx gov deposit 1 10stake --from mykey + +``` +zetacored tx gov deposit [proposal-id] [deposit] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for deposit + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands + +## zetacored tx gov draft-proposal + +Generate a draft proposal json file. The generated proposal json contains only one message (skeleton). + +``` +zetacored tx gov draft-proposal [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for draft-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --skip-metadata skip metadata prompt + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands + +## zetacored tx gov submit-legacy-proposal + +Submit a legacy proposal along with an initial deposit + +### Synopsis + +Submit a legacy proposal along with an initial deposit. +Proposal title, description, type and deposit can be given directly or through a proposal JSON file. + +Example: +$ zetacored tx gov submit-legacy-proposal --proposal="path/to/proposal.json" --from mykey + +Where proposal.json contains: + +{ + "title": "Test Proposal", + "description": "My awesome proposal", + "type": "Text", + "deposit": "10test" +} + +Which is equivalent to: + +$ zetacored tx gov submit-legacy-proposal --title="Test Proposal" --description="My awesome proposal" --type="Text" --deposit="10test" --from mykey + +``` +zetacored tx gov submit-legacy-proposal [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --deposit string The proposal deposit + --description string The proposal description + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for submit-legacy-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + --proposal string Proposal file path (if this path is given, other proposal flags are ignored) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --title string The proposal title + --type string The proposal Type + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands +* [zetacored tx gov submit-legacy-proposal cancel-software-upgrade](#zetacored-tx-gov-submit-legacy-proposal-cancel-software-upgrade) - Cancel the current software upgrade proposal +* [zetacored tx gov submit-legacy-proposal param-change](#zetacored-tx-gov-submit-legacy-proposal-param-change) - Submit a parameter change proposal +* [zetacored tx gov submit-legacy-proposal software-upgrade](#zetacored-tx-gov-submit-legacy-proposal-software-upgrade) - Submit a software upgrade proposal + +## zetacored tx gov submit-legacy-proposal cancel-software-upgrade + +Cancel the current software upgrade proposal + +### Synopsis + +Cancel a software upgrade along with an initial deposit. + +``` +zetacored tx gov submit-legacy-proposal cancel-software-upgrade [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --deposit string deposit of proposal + --description string description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for cancel-software-upgrade + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --title string title of proposal + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov submit-legacy-proposal](#zetacored-tx-gov-submit-legacy-proposal) - Submit a legacy proposal along with an initial deposit + +## zetacored tx gov submit-legacy-proposal param-change + +Submit a parameter change proposal + +### Synopsis + +Submit a parameter proposal along with an initial deposit. +The proposal details must be supplied via a JSON file. For values that contains +objects, only non-empty fields will be updated. + +IMPORTANT: Currently parameter changes are evaluated but not validated, so it is +very important that any "value" change is valid (ie. correct type and within bounds) +for its respective parameter, eg. "MaxValidators" should be an integer and not a decimal. + +Proper vetting of a parameter change proposal should prevent this from happening +(no deposits should occur during the governance process), but it should be noted +regardless. + +Example: +$ zetacored tx gov submit-proposal param-change [path/to/proposal.json] --from=[key_or_address] + +Where proposal.json contains: + +{ + "title": "Staking Param Change", + "description": "Update max validators", + "changes": [ + { + "subspace": "staking", + "key": "MaxValidators", + "value": 105 + } + ], + "deposit": "1000stake" +} + +``` +zetacored tx gov submit-legacy-proposal param-change [proposal-file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for param-change + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov submit-legacy-proposal](#zetacored-tx-gov-submit-legacy-proposal) - Submit a legacy proposal along with an initial deposit + +## zetacored tx gov submit-legacy-proposal software-upgrade + +Submit a software upgrade proposal + +### Synopsis + +Submit a software upgrade along with an initial deposit. +Please specify a unique name and height for the upgrade to take effect. +You may include info to reference a binary download link, in a format compatible with: https://github.com/cosmos/cosmos-sdk/tree/main/cosmovisor + +``` +zetacored tx gov submit-legacy-proposal software-upgrade [name] (--upgrade-height [height]) (--upgrade-info [info]) [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --daemon-name string The name of the executable being upgraded (for upgrade-info validation). Default is the DAEMON_NAME env var if set, or else this executable + --deposit string deposit of proposal + --description string description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for software-upgrade + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --no-validate Skip validation of the upgrade info + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --title string title of proposal + --upgrade-height int The height at which the upgrade must happen + --upgrade-info string Info for the upgrade plan such as new version download urls, etc. + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov submit-legacy-proposal](#zetacored-tx-gov-submit-legacy-proposal) - Submit a legacy proposal along with an initial deposit + +## zetacored tx gov submit-proposal + +Submit a proposal along with some messages, metadata and deposit + +### Synopsis + +Submit a proposal along with some messages, metadata and deposit. +They should be defined in a JSON file. + +Example: +$ zetacored tx gov submit-proposal path/to/proposal.json + +Where proposal.json contains: + +{ + // array of proto-JSON-encoded sdk.Msgs + "messages": [ + { + "@type": "/cosmos.bank.v1beta1.MsgSend", + "from_address": "cosmos1...", + "to_address": "cosmos1...", + "amount":[{"denom": "stake","amount": "10"}] + } + ], + // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json + // see below for example metadata + "metadata": "4pIMOgIGx1vZGU=", + "deposit": "10stake", + "title": "My proposal", + "summary": "A short summary of my proposal" +} + +metadata example: +{ + "title": "", + "authors": [""], + "summary": "", + "details": "", + "proposal_forum_url": "", + "vote_option_context": "", +} + +``` +zetacored tx gov submit-proposal [path/to/proposal.json] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for submit-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands + +## zetacored tx gov vote + +Vote for an active proposal, options: yes/no/no_with_veto/abstain + +### Synopsis + +Submit a vote for an active proposal. You can +find the proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored tx gov vote 1 yes --from mykey + +``` +zetacored tx gov vote [proposal-id] [option] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --metadata string Specify metadata of the vote + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands + +## zetacored tx gov weighted-vote + +Vote for an active proposal, options: yes/no/no_with_veto/abstain + +### Synopsis + +Submit a vote for an active proposal. You can +find the proposal-id by running "zetacored query gov proposals". + +Example: +$ zetacored tx gov weighted-vote 1 yes=0.6,no=0.3,abstain=0.05,no_with_veto=0.05 --from mykey + +``` +zetacored tx gov weighted-vote [proposal-id] [weighted-options] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for weighted-vote + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --metadata string Specify metadata of the weighted vote + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx gov](#zetacored-tx-gov) - Governance transactions subcommands + +## zetacored tx group + +Group transaction subcommands + +``` +zetacored tx group [flags] +``` + +### Options + +``` + -h, --help help for group +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx group create-group](#zetacored-tx-group-create-group) - Create a group which is an aggregation of member accounts with associated weights and an administrator account. +* [zetacored tx group create-group-policy](#zetacored-tx-group-create-group-policy) - Create a group policy which is an account associated with a group and a decision policy. Note, the '--from' flag is ignored as it is implied from [admin]. +* [zetacored tx group create-group-with-policy](#zetacored-tx-group-create-group-with-policy) - Create a group with policy which is an aggregation of member accounts with associated weights, an administrator account and decision policy. +* [zetacored tx group draft-proposal](#zetacored-tx-group-draft-proposal) - Generate a draft proposal json file. The generated proposal json contains only one message (skeleton). +* [zetacored tx group exec](#zetacored-tx-group-exec) - Execute a proposal +* [zetacored tx group leave-group](#zetacored-tx-group-leave-group) - Remove member from the group +* [zetacored tx group submit-proposal](#zetacored-tx-group-submit-proposal) - Submit a new proposal +* [zetacored tx group update-group-admin](#zetacored-tx-group-update-group-admin) - Update a group's admin +* [zetacored tx group update-group-members](#zetacored-tx-group-update-group-members) - Update a group's members. Set a member's weight to "0" to delete it. +* [zetacored tx group update-group-metadata](#zetacored-tx-group-update-group-metadata) - Update a group's metadata +* [zetacored tx group update-group-policy-admin](#zetacored-tx-group-update-group-policy-admin) - Update a group policy admin +* [zetacored tx group update-group-policy-decision-policy](#zetacored-tx-group-update-group-policy-decision-policy) - Update a group policy's decision policy +* [zetacored tx group update-group-policy-metadata](#zetacored-tx-group-update-group-policy-metadata) - Update a group policy metadata +* [zetacored tx group vote](#zetacored-tx-group-vote) - Vote on a proposal +* [zetacored tx group withdraw-proposal](#zetacored-tx-group-withdraw-proposal) - Withdraw a submitted proposal + +## zetacored tx group create-group + +Create a group which is an aggregation of member accounts with associated weights and an administrator account. + +### Synopsis + +Create a group which is an aggregation of member accounts with associated weights and an administrator account. +Note, the '--from' flag is ignored as it is implied from [admin]. Members accounts can be given through a members JSON file that contains an array of members. + +``` +zetacored tx group create-group [admin] [metadata] [members-json-file] [flags] +``` + +### Examples + +``` + +zetacored tx group create-group [admin] [metadata] [members-json-file] + +Where members.json contains: + +{ + "members": [ + { + "address": "addr1", + "weight": "1", + "metadata": "some metadata" + }, + { + "address": "addr2", + "weight": "1", + "metadata": "some metadata" + } + ] +} +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-group + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group create-group-policy + +Create a group policy which is an account associated with a group and a decision policy. Note, the '--from' flag is ignored as it is implied from [admin]. + +``` +zetacored tx group create-group-policy [admin] [group-id] [metadata] [decision-policy-json-file] [flags] +``` + +### Examples + +``` + +zetacored tx group create-group-policy [admin] [group-id] [metadata] policy.json + +where policy.json contains: + +{ + "@type": "/cosmos.group.v1.ThresholdDecisionPolicy", + "threshold": "1", + "windows": { + "voting_period": "120h", + "min_execution_period": "0s" + } +} + +Here, we can use percentage decision policy when needed, where 0 < percentage <= 1: + +{ + "@type": "/cosmos.group.v1.PercentageDecisionPolicy", + "percentage": "0.5", + "windows": { + "voting_period": "120h", + "min_execution_period": "0s" + } +} +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-group-policy + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group create-group-with-policy + +Create a group with policy which is an aggregation of member accounts with associated weights, an administrator account and decision policy. + +### Synopsis + +Create a group with policy which is an aggregation of member accounts with associated weights, +an administrator account and decision policy. Note, the '--from' flag is ignored as it is implied from [admin]. +Members accounts can be given through a members JSON file that contains an array of members. +If group-policy-as-admin flag is set to true, the admin of the newly created group and group policy is set with the group policy address itself. + +``` +zetacored tx group create-group-with-policy [admin] [group-metadata] [group-policy-metadata] [members-json-file] [decision-policy-json-file] [flags] +``` + +### Examples + +``` + +zetacored tx group create-group-with-policy [admin] [group-metadata] [group-policy-metadata] members.json policy.json + +where members.json contains: + +{ + "members": [ + { + "address": "addr1", + "weight": "1", + "metadata": "some metadata" + }, + { + "address": "addr2", + "weight": "1", + "metadata": "some metadata" + } + ] +} + +and policy.json contains: + +{ + "@type": "/cosmos.group.v1.ThresholdDecisionPolicy", + "threshold": "1", + "windows": { + "voting_period": "120h", + "min_execution_period": "0s" + } +} + +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + --group-policy-as-admin Sets admin of the newly created group and group policy with group policy address itself when true + -h, --help help for create-group-with-policy + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group draft-proposal + +Generate a draft proposal json file. The generated proposal json contains only one message (skeleton). + +``` +zetacored tx group draft-proposal [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for draft-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --skip-metadata skip metadata prompt + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group exec + +Execute a proposal + +``` +zetacored tx group exec [proposal-id] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for exec + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group leave-group + +Remove member from the group + +### Synopsis + +Remove member from the group + +Parameters: + group-id: unique id of the group + member-address: account address of the group member + Note, the '--from' flag is ignored as it is implied from [member-address] + + +``` +zetacored tx group leave-group [member-address] [group-id] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for leave-group + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group submit-proposal + +Submit a new proposal + +### Synopsis + +Submit a new proposal. +Parameters: + msg_tx_json_file: path to json file with messages that will be executed if the proposal is accepted. + +``` +zetacored tx group submit-proposal [proposal_json_file] [flags] +``` + +### Examples + +``` + +zetacored tx group submit-proposal path/to/proposal.json + + Where proposal.json contains: + +{ + "group_policy_address": "cosmos1...", + // array of proto-JSON-encoded sdk.Msgs + "messages": [ + { + "@type": "/cosmos.bank.v1beta1.MsgSend", + "from_address": "cosmos1...", + "to_address": "cosmos1...", + "amount":[{"denom": "stake","amount": "10"}] + } + ], + // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json + // see below for example metadata + "metadata": "4pIMOgIGx1vZGU=", // base64-encoded metadata + "title": "My proposal", + "summary": "This is a proposal to send 10 stake to cosmos1...", + "proposers": ["cosmos1...", "cosmos1..."], +} + +metadata example: +{ + "title": "", + "authors": [""], + "summary": "", + "details": "", + "proposal_forum_url": "", + "vote_option_context": "", +} + +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --exec string Set to 1 to try to execute proposal immediately after creation (proposers signatures are considered as Yes votes) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for submit-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-admin + +Update a group's admin + +``` +zetacored tx group update-group-admin [admin] [group-id] [new-admin] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-members + +Update a group's members. Set a member's weight to "0" to delete it. + +``` +zetacored tx group update-group-members [admin] [group-id] [members-json-file] [flags] +``` + +### Examples + +``` + +zetacored tx group update-group-members [admin] [group-id] [members-json-file] + +Where members.json contains: + +{ + "members": [ + { + "address": "addr1", + "weight": "1", + "metadata": "some new metadata" + }, + { + "address": "addr2", + "weight": "0", + "metadata": "some metadata" + } + ] +} + +Set a member's weight to "0" to delete it. + +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-members + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-metadata + +Update a group's metadata + +``` +zetacored tx group update-group-metadata [admin] [group-id] [metadata] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-metadata + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-policy-admin + +Update a group policy admin + +``` +zetacored tx group update-group-policy-admin [admin] [group-policy-account] [new-admin] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-policy-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-policy-decision-policy + +Update a group policy's decision policy + +``` +zetacored tx group update-group-policy-decision-policy [admin] [group-policy-account] [decision-policy-json-file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-policy-decision-policy + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group update-group-policy-metadata + +Update a group policy metadata + +``` +zetacored tx group update-group-policy-metadata [admin] [group-policy-account] [new-metadata] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-group-policy-metadata + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group vote + +Vote on a proposal + +### Synopsis + +Vote on a proposal. + +Parameters: + proposal-id: unique ID of the proposal + voter: voter account addresses. + vote-option: choice of the voter(s) + VOTE_OPTION_UNSPECIFIED: no-op + VOTE_OPTION_NO: no + VOTE_OPTION_YES: yes + VOTE_OPTION_ABSTAIN: abstain + VOTE_OPTION_NO_WITH_VETO: no-with-veto + Metadata: metadata for the vote + + +``` +zetacored tx group vote [proposal-id] [voter] [vote-option] [metadata] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --exec string Set to 1 to try to execute proposal immediately after voting + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx group withdraw-proposal + +Withdraw a submitted proposal + +### Synopsis + +Withdraw a submitted proposal. + +Parameters: + proposal-id: unique ID of the proposal. + group-policy-admin-or-proposer: either admin of the group policy or one the proposer of the proposal. + Note: --from flag will be ignored here. + + +``` +zetacored tx group withdraw-proposal [proposal-id] [group-policy-admin-or-proposer] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for withdraw-proposal + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx group](#zetacored-tx-group) - Group transaction subcommands + +## zetacored tx lightclient + +lightclient transactions subcommands + +``` +zetacored tx lightclient [flags] +``` + +### Options + +``` + -h, --help help for lightclient +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx lightclient disable-header-verification](#zetacored-tx-lightclient-disable-header-verification) - Disable header verification for the list of chains separated by comma +* [zetacored tx lightclient enable-header-verification](#zetacored-tx-lightclient-enable-header-verification) - Enable verification for the list of chains separated by comma + +## zetacored tx lightclient disable-header-verification + +Disable header verification for the list of chains separated by comma + +### Synopsis + +Provide a list of chain ids separated by comma to disable block header verification for the specified chain ids. + + Example: + To disable verification flags for chain ids 1 and 56 + zetacored tx lightclient disable-header-verification "1,56" + + +``` +zetacored tx lightclient disable-header-verification [list of chain-id] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for disable-header-verification + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx lightclient](#zetacored-tx-lightclient) - lightclient transactions subcommands + +## zetacored tx lightclient enable-header-verification + +Enable verification for the list of chains separated by comma + +### Synopsis + +Provide a list of chain ids separated by comma to enable block header verification for the specified chain ids. + + Example: + To enable verification flags for chain ids 1 and 56 + zetacored tx lightclient enable-header-verification "1,56" + + +``` +zetacored tx lightclient enable-header-verification [list of chain-id] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for enable-header-verification + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx lightclient](#zetacored-tx-lightclient) - lightclient transactions subcommands + +## zetacored tx multi-sign + +Generate multisig signatures for transactions generated offline + +### Synopsis + +Sign transactions created with the --generate-only flag that require multisig signatures. + +Read one or more signatures from one or more [signature] file, generate a multisig signature compliant to the +multisig key [name], and attach the key name to the transaction read from [file]. + +Example: +$ zetacored tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json + +If --signature-only flag is on, output a JSON representation +of only the generated signature. + +If the --offline flag is on, the client will not reach out to an external node. +Account number or sequence number lookups are not performed so you must +set these parameters manually. + +The current multisig implementation defaults to amino-json sign mode. +The SIGN_MODE_DIRECT sign mode is not supported.' + +``` +zetacored tx multi-sign [file] [name] [[signature]...] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amino Generate Amino-encoded JSON suitable for submitting to the txs REST endpoint + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for multi-sign + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + --output-document string The document is written to the given file instead of STDOUT + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --signature-only Print only the generated signature, then exit + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx multisign-batch + +Assemble multisig transactions in batch from batch signatures + +### Synopsis + +Assemble a batch of multisig transactions generated by batch sign command. + +Read one or more signatures from one or more [signature] file, generate a multisig signature compliant to the +multisig key [name], and attach the key name to the transaction read from [file]. + +Example: +$ zetacored tx multisign-batch transactions.json multisigk1k2k3 k1sigs.json k2sigs.json k3sig.json + +The current multisig implementation defaults to amino-json sign mode. +The SIGN_MODE_DIRECT sign mode is not supported.' + +``` +zetacored tx multisign-batch [file] [name] [[signature-file]...] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for multisign-batch + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --multisig string Address of the multisig account that the transaction signs on behalf of + --no-auto-increment disable sequence auto increment + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + --output-document string The document is written to the given file instead of STDOUT + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx observer + +observer transactions subcommands + +``` +zetacored tx observer [flags] +``` + +### Options + +``` + -h, --help help for observer +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx observer add-observer](#zetacored-tx-observer-add-observer) - Broadcast message add-observer +* [zetacored tx observer disable-cctx](#zetacored-tx-observer-disable-cctx) - Disable inbound and outbound for CCTX +* [zetacored tx observer enable-cctx](#zetacored-tx-observer-enable-cctx) - Enable inbound and outbound for CCTX +* [zetacored tx observer encode](#zetacored-tx-observer-encode) - Encode a json string into hex +* [zetacored tx observer remove-chain-params](#zetacored-tx-observer-remove-chain-params) - Broadcast message to remove chain params +* [zetacored tx observer reset-chain-nonces](#zetacored-tx-observer-reset-chain-nonces) - Broadcast message to reset chain nonces +* [zetacored tx observer update-chain-params](#zetacored-tx-observer-update-chain-params) - Broadcast message updateChainParams +* [zetacored tx observer update-gas-price-increase-flags](#zetacored-tx-observer-update-gas-price-increase-flags) - Update the gas price increase flags +* [zetacored tx observer update-keygen](#zetacored-tx-observer-update-keygen) - command to update the keygen block via a group proposal +* [zetacored tx observer update-observer](#zetacored-tx-observer-update-observer) - Broadcast message add-observer +* [zetacored tx observer vote-blame](#zetacored-tx-observer-vote-blame) - Broadcast message vote-blame +* [zetacored tx observer vote-tss](#zetacored-tx-observer-vote-tss) - Vote for a new TSS creation + +## zetacored tx observer add-observer + +Broadcast message add-observer + +``` +zetacored tx observer add-observer [observer-address] [zetaclient-grantee-pubkey] [add_node_account_only] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for add-observer + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer disable-cctx + +Disable inbound and outbound for CCTX + +``` +zetacored tx observer disable-cctx [disable-inbound] [disable-outbound] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for disable-cctx + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer enable-cctx + +Enable inbound and outbound for CCTX + +``` +zetacored tx observer enable-cctx [enable-inbound] [enable-outbound] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for enable-cctx + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer encode + +Encode a json string into hex + +``` +zetacored tx observer encode [file.json] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for encode + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer remove-chain-params + +Broadcast message to remove chain params + +``` +zetacored tx observer remove-chain-params [chain-id] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for remove-chain-params + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer reset-chain-nonces + +Broadcast message to reset chain nonces + +``` +zetacored tx observer reset-chain-nonces [chain-id] [chain-nonce-low] [chain-nonce-high] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for reset-chain-nonces + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer update-chain-params + +Broadcast message updateChainParams + +``` +zetacored tx observer update-chain-params [chain-id] [client-params.json] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-chain-params + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer update-gas-price-increase-flags + +Update the gas price increase flags + +``` +zetacored tx observer update-gas-price-increase-flags [epochLength] [retryInterval] [gasPriceIncreasePercent] [gasPriceIncreaseMax] [maxPendingCctxs] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-gas-price-increase-flags + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer update-keygen + +command to update the keygen block via a group proposal + +``` +zetacored tx observer update-keygen [block] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-keygen + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer update-observer + +Broadcast message add-observer + +``` +zetacored tx observer update-observer [old-observer-address] [new-observer-address] [update-reason] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for update-observer + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer vote-blame + +Broadcast message vote-blame + +``` +zetacored tx observer vote-blame [chain-id] [index] [failure-reason] [node-list] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote-blame + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx observer vote-tss + +Vote for a new TSS creation + +``` +zetacored tx observer vote-tss [pubkey] [keygen-block] [status] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for vote-tss + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx observer](#zetacored-tx-observer) - observer transactions subcommands + +## zetacored tx sign + +Sign a transaction generated offline + +### Synopsis + +Sign a transaction created with the --generate-only flag. +It will read a transaction from [file], sign it, and print its JSON encoding. + +If the --signature-only flag is set, it will output the signature parts only. + +The --offline flag makes sure that the client will not reach out to full node. +As a result, the account and sequence number queries will not be performed and +it is required to set such parameters manually. Note, invalid values will cause +the transaction to fail. + +The --multisig=[multisig_key] flag generates a signature on behalf of a multisig account +key. It implies --signature-only. Full multisig signed transactions may eventually +be generated via the 'multisign' command. + + +``` +zetacored tx sign [file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amino Generate Amino encoded JSON suitable for submiting to the txs REST endpoint + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for sign + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --multisig string Address or key name of the multisig account on behalf of which the transaction shall be signed + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + --output-document string The document will be written to the given file instead of STDOUT + --overwrite Overwrite existing signatures with a new one. If disabled, new signature will be appended + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --signature-only Print only the signatures + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx sign-batch + +Sign transaction batch files + +### Synopsis + +Sign batch files of transactions generated with --generate-only. +The command processes list of transactions from a file (one StdTx each line), or multiple files. +Then generates signed transactions or signatures and print their JSON encoding, delimited by '\n'. +As the signatures are generated, the command updates the account and sequence number accordingly. + +If the --signature-only flag is set, it will output the signature parts only. + +The --offline flag makes sure that the client will not reach out to full node. +As a result, the account and the sequence number queries will not be performed and +it is required to set such parameters manually. Note, invalid values will cause +the transaction to fail. The sequence will be incremented automatically for each +transaction that is signed. + +If --account-number or --sequence flag is used when offline=false, they are ignored and +overwritten by the default flag values. + +The --multisig=[multisig_key] flag generates a signature on behalf of a multisig +account key. It implies --signature-only. + + +``` +zetacored tx sign-batch [file] ([file2]...) [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --append Combine all message and generate single signed transaction for broadcast. + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for sign-batch + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --multisig string Address or key name of the multisig account on behalf of which the transaction shall be signed + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + --output-document string The document will be written to the given file instead of STDOUT + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --signature-only Print only the generated signature, then exit + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx slashing + +Slashing transaction subcommands + +``` +zetacored tx slashing [flags] +``` + +### Options + +``` + -h, --help help for slashing +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx slashing unjail](#zetacored-tx-slashing-unjail) - unjail validator previously jailed for downtime + +## zetacored tx slashing unjail + +unjail validator previously jailed for downtime + +### Synopsis + +unjail a jailed validator: + +$ zetacored tx slashing unjail --from mykey + + +``` +zetacored tx slashing unjail [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for unjail + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx slashing](#zetacored-tx-slashing) - Slashing transaction subcommands + +## zetacored tx staking + +Staking transaction subcommands + +``` +zetacored tx staking [flags] +``` + +### Options + +``` + -h, --help help for staking +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx staking cancel-unbond](#zetacored-tx-staking-cancel-unbond) - Cancel unbonding delegation and delegate back to the validator +* [zetacored tx staking create-validator](#zetacored-tx-staking-create-validator) - create new validator initialized with a self-delegation to it +* [zetacored tx staking delegate](#zetacored-tx-staking-delegate) - Delegate liquid tokens to a validator +* [zetacored tx staking edit-validator](#zetacored-tx-staking-edit-validator) - edit an existing validator account +* [zetacored tx staking redelegate](#zetacored-tx-staking-redelegate) - Redelegate illiquid tokens from one validator to another +* [zetacored tx staking unbond](#zetacored-tx-staking-unbond) - Unbond shares from a validator + +## zetacored tx staking cancel-unbond + +Cancel unbonding delegation and delegate back to the validator + +### Synopsis + +Cancel Unbonding Delegation and delegate back to the validator. + +Example: +$ zetacored tx staking cancel-unbond zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 100stake 2 --from mykey + +``` +zetacored tx staking cancel-unbond [validator-addr] [amount] [creation-height] [flags] +``` + +### Examples + +``` +$ zetacored tx staking cancel-unbond zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 100stake 2 --from mykey +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for cancel-unbond + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx staking create-validator + +create new validator initialized with a self-delegation to it + +``` +zetacored tx staking create-validator [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amount string Amount of coins to bond + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --commission-max-change-rate string The maximum commission change rate percentage (per day) + --commission-max-rate string The maximum commission rate percentage + --commission-rate string The initial commission rate percentage + --details string The validator's (optional) details + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-validator + --identity string The optional identity signature (ex. UPort or Keybase) + --ip string The node's public IP. It takes effect only when used in combination with --generate-only + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --min-self-delegation string The minimum self delegation required on the validator + --moniker string The validator's name + --node string [host]:[port] to tendermint rpc interface for this chain + --node-id string The node's ID + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + --pubkey string The validator's Protobuf JSON encoded public key + --security-contact string The validator's (optional) security contact email + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --website string The validator's (optional) website + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx staking delegate + +Delegate liquid tokens to a validator + +### Synopsis + +Delegate an amount of liquid coins to a validator from your wallet. + +Example: +$ zetacored tx staking delegate zetavaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey + +``` +zetacored tx staking delegate [validator-addr] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for delegate + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx staking edit-validator + +edit an existing validator account + +``` +zetacored tx staking edit-validator [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --commission-rate string The new commission rate percentage + --details string The validator's (optional) details + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for edit-validator + --identity string The (optional) identity signature (ex. UPort or Keybase) + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --min-self-delegation string The minimum self delegation required on the validator + --new-moniker string The validator's name + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + --security-contact string The validator's (optional) security contact email + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + --website string The validator's (optional) website + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx staking redelegate + +Redelegate illiquid tokens from one validator to another + +### Synopsis + +Redelegate an amount of illiquid staking tokens from one validator to another. + +Example: +$ zetacored tx staking redelegate zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj zetavaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 100stake --from mykey + +``` +zetacored tx staking redelegate [src-validator-addr] [dst-validator-addr] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for redelegate + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx staking unbond + +Unbond shares from a validator + +### Synopsis + +Unbond an amount of bonded shares from a validator. + +Example: +$ zetacored tx staking unbond zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 100stake --from mykey + +``` +zetacored tx staking unbond [validator-addr] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for unbond + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx staking](#zetacored-tx-staking) - Staking transaction subcommands + +## zetacored tx validate-signatures + +validate transactions signatures + +### Synopsis + +Print the addresses that must sign the transaction, those who have already +signed it, and make sure that signatures are in the correct order. + +The command would check whether all required signers have signed the transactions, whether +the signatures were collected in the right order, and if the signature is valid over the +given transaction. If the --offline flag is also set, signature validation over the +transaction will be not be performed as that will require RPC communication with a full node. + + +``` +zetacored tx validate-signatures [file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for validate-signatures + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands + +## zetacored tx vesting + +Vesting transaction subcommands + +``` +zetacored tx vesting [flags] +``` + +### Options + +``` + -h, --help help for vesting +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx](#zetacored-tx) - Transactions subcommands +* [zetacored tx vesting create-periodic-vesting-account](#zetacored-tx-vesting-create-periodic-vesting-account) - Create a new vesting account funded with an allocation of tokens. +* [zetacored tx vesting create-permanent-locked-account](#zetacored-tx-vesting-create-permanent-locked-account) - Create a new permanently locked account funded with an allocation of tokens. +* [zetacored tx vesting create-vesting-account](#zetacored-tx-vesting-create-vesting-account) - Create a new vesting account funded with an allocation of tokens. + +## zetacored tx vesting create-periodic-vesting-account + +Create a new vesting account funded with an allocation of tokens. + +### Synopsis + +A sequence of coins and period length in seconds. Periods are sequential, in that the duration of of a period only starts at the end of the previous period. The duration of the first period starts upon account creation. For instance, the following periods.json file shows 20 "test" coins vesting 30 days apart from each other. + Where periods.json contains: + + An array of coin strings and unix epoch times for coins to vest +{ "start_time": 1625204910, +"periods":[ + { + "coins": "10test", + "length_seconds":2592000 //30 days + }, + { + "coins": "10test", + "length_seconds":2592000 //30 days + }, +] + } + + +``` +zetacored tx vesting create-periodic-vesting-account [to_address] [periods_json_file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-periodic-vesting-account + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx vesting](#zetacored-tx-vesting) - Vesting transaction subcommands + +## zetacored tx vesting create-permanent-locked-account + +Create a new permanently locked account funded with an allocation of tokens. + +### Synopsis + +Create a new account funded with an allocation of permanently locked tokens. These +tokens may be used for staking but are non-transferable. Staking rewards will acrue as liquid and transferable +tokens. + +``` +zetacored tx vesting create-permanent-locked-account [to_address] [amount] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-permanent-locked-account + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx vesting](#zetacored-tx-vesting) - Vesting transaction subcommands + +## zetacored tx vesting create-vesting-account + +Create a new vesting account funded with an allocation of tokens. + +### Synopsis + +Create a new vesting account funded with an allocation of tokens. The +account can either be a delayed or continuous vesting account, which is determined +by the '--delayed' flag. All vesting accounts created will have their start time +set by the committed block's time. The end_time must be provided as a UNIX epoch +timestamp. + +``` +zetacored tx vesting create-vesting-account [to_address] [amount] [end_time] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --aux Generate aux signer data instead of sending a tx + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID + --delayed Create a delayed vesting account if true + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-granter string Fee granter grants fees for the transaction + --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for create-vesting-account + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string [host]:[port] to tendermint rpc interface for this chain + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality) + -o, --output string Output format (text|json) + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored tx vesting](#zetacored-tx-vesting) - Vesting transaction subcommands + +## zetacored validate-genesis + +validates the genesis file at the default location or at the location passed as an arg + +``` +zetacored validate-genesis [file] [flags] +``` + +### Options + +``` + -h, --help help for validate-genesis +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) + +## zetacored version + +Print the application binary version information + +``` +zetacored version [flags] +``` + +### Options + +``` + -h, --help help for version + --long Print long version information + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored](#zetacored) - Zetacore Daemon (server) +