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