Variables
Pair
Pair: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Pair
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Pair, writer?: Writer): Writer
-
Parameters
-
message: Pair
-
writer: Writer = ...
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Pair
-
fromPartial: function
- fromPartial(object: { key?: Uint8Array; value?: Uint8Array }): Pair
-
Parameters
-
object: { key?: Uint8Array; value?: Uint8Array }
-
Optional key?: Uint8Array
-
Optional value?: Uint8Array
-
toJSON: function
- toJSON(message: Pair): unknown
-
Parameters
Returns unknown
Pairs
Pairs: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Pairs
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Pairs, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Pairs
-
fromPartial: function
- fromPartial(object: { pairs?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; }[] }): Pairs
-
Parameters
-
object: { pairs?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; }[] }
-
Optional pairs?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; }[]
-
toJSON: function
- toJSON(message: Pairs): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.base.kv.v1beta1" = 'cosmos.base.kv.v1beta1'