Variables
DenomUnit
DenomUnit: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): DenomUnit
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: DenomUnit, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { aliases?: string[]; denom?: string; exponent?: number }): DenomUnit
-
Parameters
-
object: { aliases?: string[]; denom?: string; exponent?: number }
-
Optional aliases?: string[]
-
Optional denom?: string
-
Optional exponent?: number
-
toJSON: function
-
Parameters
Returns unknown
Input
Input: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Input
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Input, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Input
-
fromPartial: function
- fromPartial(object: { address?: string; coins?: { denom?: string | undefined; amount?: string | undefined; }[] }): Input
-
Parameters
-
object: { address?: string; coins?: { denom?: string | undefined; amount?: string | undefined; }[] }
-
Optional address?: string
-
Optional coins?: { denom?: string | undefined; amount?: string | undefined; }[]
-
toJSON: function
- toJSON(message: Input): unknown
-
Parameters
Returns unknown
Metadata
Metadata: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Metadata
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Metadata, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { base?: string; denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]; description?: string; display?: string }): Metadata
-
Parameters
-
object: { base?: string; denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]; description?: string; display?: string }
-
Optional base?: string
-
Optional denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]
-
Optional description?: string
-
Optional display?: string
-
toJSON: function
-
Parameters
Returns unknown
Output
Output: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Output
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Output, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { address?: string; coins?: { denom?: string | undefined; amount?: string | undefined; }[] }): Output
-
Parameters
-
object: { address?: string; coins?: { denom?: string | undefined; amount?: string | undefined; }[] }
-
Optional address?: string
-
Optional coins?: { denom?: string | undefined; amount?: string | undefined; }[]
-
toJSON: function
- toJSON(message: Output): unknown
-
Parameters
Returns unknown
Params
Params: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Params
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Params, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { defaultSendEnabled?: boolean; sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] }): Params
-
Parameters
-
object: { defaultSendEnabled?: boolean; sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] }
-
Optional defaultSendEnabled?: boolean
-
Optional sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[]
-
toJSON: function
- toJSON(message: Params): unknown
-
Parameters
Returns unknown
SendEnabled
SendEnabled: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): SendEnabled
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { denom?: string; enabled?: boolean }): SendEnabled
-
Parameters
-
object: { denom?: string; enabled?: boolean }
-
Optional denom?: string
-
Optional enabled?: boolean
-
toJSON: function
-
Parameters
Returns unknown
Supply
Supply: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Supply
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Supply, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { total?: { denom?: string | undefined; amount?: string | undefined; }[] }): Supply
-
Parameters
-
object: { total?: { denom?: string | undefined; amount?: string | undefined; }[] }
-
Optional total?: { denom?: string | undefined; amount?: string | undefined; }[]
-
toJSON: function
- toJSON(message: Supply): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.bank.v1beta1" = 'cosmos.bank.v1beta1'
aliases is a list of string aliases for the given denom