Type declaration
create:function
- create<I>(base?): Commission
Type Parameters
- I extends {
commissionRates?: {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
};
updateTime?: Date;
} & {
commissionRates?: {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
} & {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
} & {
[K in string | number | symbol]: never
};
updateTime?: Date;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): Commission
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): Commission
Type Parameters
- I extends {
commissionRates?: {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
};
updateTime?: Date;
} & {
commissionRates?: {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
} & {
maxChangeRate?: string;
maxRate?: string;
rate?: string;
} & {
[K in string | number | symbol]: never
};
updateTime?: Date;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown