Helios API/ API Reference/ Interfaces/

PrivateKey

Implemented by

Index

Properties

derivePubKey

derivePubKey: () => PubKey

Type declaration

▸ (): PubKey

Generates the corresponding public key.

Returns

PubKey

sign

sign: (msg: number[]) => Signature

Type declaration

▸ (msg): Signature

Signs a byte-array payload, returning the signature.

Parameters
NameType
msgnumber[]
Returns

Signature