DecCoin: { create<I>(base?): DecCoin; decode(input,
length?): DecCoin; encode(message,
writer?): Writer; fromJSON(object): DecCoin; fromPartial<I>(object): DecCoin; toJSON(message): unknown; } Type declaration
create:function
- create<I>(base?): DecCoin
Type Parameters
- I extends {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): DecCoin
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Parameters
- message: DecCoin
- writer: Writer = ...
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): DecCoin
Type Parameters
- I extends {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown