Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Function: getPublicKey()
getPublicKey(Defined in: crypto.ts:56 Get PublicKey function Derives public key from Uint8Array or hexstring private keyprivateKey,isCompressed):Uint8Array
Parameters
privateKey
The Uint8Array or hexstring representation of a compressed private key.string | Uint8Array
isCompressed
boolean = true
Specifies whether to return a compressed or uncompressed public key. Defaults to true.
Returns
Uint8Array
- The public key in Uin8Array representation.