Variables
PrivKey
PrivKey: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): PrivKey
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: PrivKey, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { key?: Uint8Array }): PrivKey
-
Parameters
-
object: { key?: Uint8Array }
-
Optional key?: Uint8Array
-
toJSON: function
-
Parameters
Returns unknown
PubKey
PubKey: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): PubKey
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: PubKey, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { key?: Uint8Array }): PubKey
-
Parameters
-
object: { key?: Uint8Array }
-
Optional key?: Uint8Array
-
toJSON: function
- toJSON(message: PubKey): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.crypto.secp256k1" = 'cosmos.crypto.secp256k1'