Skip to content

computeNEARViewingKeyHashFromPrivate()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / computeNEARViewingKeyHashFromPrivate

Function: computeNEARViewingKeyHashFromPrivate()

Section titled “Function: computeNEARViewingKeyHashFromPrivate()”

computeNEARViewingKeyHashFromPrivate(viewingPrivateKey): `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19070

Compute viewing key hash from a private key

Derives the public key and computes its hash.

`0x${string}`

The viewing private key (32 bytes, hex)

`0x${string}`

The hash for announcement matching