Variable CommandBatchMetadata
Type declaration
create:function
- create<I>(base?): CommandBatchMetadata
Type Parameters
- I extends {
commandIds?: Uint8Array[];
data?: Uint8Array;
id?: Uint8Array;
keyId?: string;
prevBatchedCommandsId?: Uint8Array;
sigHash?: Uint8Array;
signature?: {
typeUrl?: string;
value?: Uint8Array;
};
status?: BatchedCommandsStatus;
} & {
commandIds?: Uint8Array[] & Uint8Array[] & {
[K in string | symbol]: never
};
data?: Uint8Array;
id?: Uint8Array;
keyId?: string;
prevBatchedCommandsId?: Uint8Array;
sigHash?: Uint8Array;
signature?: {
typeUrl?: string;
value?: Uint8Array;
} & {
typeUrl?: string;
value?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
status?: BatchedCommandsStatus;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): CommandBatchMetadata
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): CommandBatchMetadata
Type Parameters
- I extends {
commandIds?: Uint8Array[];
data?: Uint8Array;
id?: Uint8Array;
keyId?: string;
prevBatchedCommandsId?: Uint8Array;
sigHash?: Uint8Array;
signature?: {
typeUrl?: string;
value?: Uint8Array;
};
status?: BatchedCommandsStatus;
} & {
commandIds?: Uint8Array[] & Uint8Array[] & {
[K in string | symbol]: never
};
data?: Uint8Array;
id?: Uint8Array;
keyId?: string;
prevBatchedCommandsId?: Uint8Array;
sigHash?: Uint8Array;
signature?: {
typeUrl?: string;
value?: Uint8Array;
} & {
typeUrl?: string;
value?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
status?: BatchedCommandsStatus;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown