getPrivateKey
getPrivateKey(
options
):Uint8Array
<ArrayBufferLike
>
Defined in: astrobase/src/identity/identity.ts:73
Tries to get the private key that corresponds to the given public key via the keyring.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Uint8Array
<ArrayBufferLike
>
Throws
Section titled “Throws”If private key is unavailable.