@did-btc1/keypair / KeyPair
Interface: KeyPair
Defined in: pair.ts:15
Interface for KeyPair class. KeyPair
Properties
publicKey
> readonly
publicKey: PublicKey
Defined in: pair.ts:19
secretKey?
> readonly
optional
secretKey: SecretKey
Defined in: pair.ts:25
Throws
If the secret key is not available.
Methods
json()
> json(): SchnorrKeyPairObject
Defined in: pair.ts:31
JSON representation of the SchnorrKeyPair object.
Returns
SchnorrKeyPairObject
The SchnorrKeyPair as a JSON object.