Sign
Doc
: { decode
(input
: Uint8Array | Reader, length
?: number): SignDoc; encode
(message
: SignDoc, writer
?: Writer): Writer; fromJSON
(object
: any): SignDoc; fromPartial
<I>(object
: I): SignDoc; toJSON
(message
: SignDoc): unknown; }
Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): SignDoc
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: SignDoc, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): SignDoc
-
Type Parameters
-
I extends {
accountNumber?: number;
authInfoBytes?: Uint8Array;
bodyBytes?: Uint8Array;
chainId?: string;
} & {
accountNumber?: number;
authInfoBytes?: Uint8Array;
bodyBytes?: Uint8Array;
chainId?: string;
} & { [ K in string | number | symbol]: never }
-
toJSON:function
- toJSON(message: SignDoc): unknown
-
Returns unknown