Variables
Coin
Coin: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Coin
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Coin, writer?: Writer): Writer
-
Parameters
-
message: Coin
-
writer: Writer = ...
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Coin
-
fromPartial: function
- fromPartial(object: { amount?: string; denom?: string }): Coin
-
Parameters
-
object: { amount?: string; denom?: string }
-
Optional amount?: string
-
Optional denom?: string
-
toJSON: function
- toJSON(message: Coin): unknown
-
Parameters
Returns unknown
DecCoin
DecCoin: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): DecCoin
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: DecCoin, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { amount?: string; denom?: string }): DecCoin
-
Parameters
-
object: { amount?: string; denom?: string }
-
Optional amount?: string
-
Optional denom?: string
-
toJSON: function
-
Parameters
Returns unknown
DecProto
DecProto: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): DecProto
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: DecProto, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { dec?: string }): DecProto
-
toJSON: function
-
Parameters
Returns unknown
IntProto
IntProto: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): IntProto
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: IntProto, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { int?: string }): IntProto
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.base.v1beta1" = 'cosmos.base.v1beta1'