Skip to content

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.

`0x${string}`

The viewing private key (32 bytes, hex)

`0x${string}`

The hash for announcement matching