Skip to content

getXOnlyPublicKey()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / 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

Uint8Array

32-byte private key

Uint8Array

32-byte x-only public key