computeNEARViewingKeyHashFromPrivate()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / computeNEARViewingKeyHashFromPrivate
Function: computeNEARViewingKeyHashFromPrivate()
Section titled “Function: computeNEARViewingKeyHashFromPrivate()”computeNEARViewingKeyHashFromPrivate(
viewingPrivateKey):`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18734
Compute viewing key hash from a private key
Derives the public key and computes its hash.
Parameters
Section titled “Parameters”viewingPrivateKey
Section titled “viewingPrivateKey”`0x${string}`
The viewing private key (32 bytes, hex)
Returns
Section titled “Returns”`0x${string}`
The hash for announcement matching