checkStealthAddress()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / checkStealthAddress
Function: checkStealthAddress()
Section titled “Function: checkStealthAddress()”checkStealthAddress(
stealthAddress,spendingPrivateKey,viewingPrivateKey):boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4219
Check if a stealth address was intended for this recipient
Automatically dispatches to the correct curve implementation.
Parameters
Section titled “Parameters”stealthAddress
Section titled “stealthAddress”Stealth address to check
spendingPrivateKey
Section titled “spendingPrivateKey”`0x${string}`
Recipient’s spending private key
viewingPrivateKey
Section titled “viewingPrivateKey”`0x${string}`
Recipient’s viewing private key
Returns
Section titled “Returns”boolean
true if this address belongs to the recipient
Throws
Section titled “Throws”If any input is invalid