Interface: KeyPair ​
Defined in: pair.ts:16
General KeyPair interface used by SchnorrKeyPair class. KeyPair
Properties ​
publicKey ​
readonlypublicKey:CompressedSecp256k1PublicKey
Defined in: pair.ts:20
secretKey? ​
readonlyoptionalsecretKey:Secp256k1SecretKey
Defined in: pair.ts:26
Throws ​
If the secret key is not available.
Methods ​
json() ​
json():
SchnorrKeyPairObject
Defined in: pair.ts:32
JSON representation of the SchnorrKeyPair object.
Returns ​
The SchnorrKeyPair as a JSON object.