getXOnlyPublicKey()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / getXOnlyPublicKey
Function: getXOnlyPublicKey()
Section titled “Function: getXOnlyPublicKey()”getXOnlyPublicKey(
privateKey):Uint8Array
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5950
Get x-only public key from a private key Returns the 32-byte x coordinate with even y coordinate
Parameters
Section titled “Parameters”privateKey
Section titled “privateKey”Uint8Array
32-byte private key
Returns
Section titled “Returns”Uint8Array
32-byte x-only public key