Helios API/ API Reference/ Interfaces/
PrivateKey
Implemented by
Index
Properties
derivePubKey
• derivePubKey: () => PubKey
Type declaration
▸ (): PubKey
Generates the corresponding public key.
Returns
sign
• sign: (msg
: number
[]) => Signature
Type declaration
▸ (msg
): Signature
Signs a byte-array payload, returning the signature.
Parameters
Name | Type |
---|---|
msg | number [] |