checkEd25519StealthAddress()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / checkEd25519StealthAddress
Function: checkEd25519StealthAddress()
Section titled “Function: checkEd25519StealthAddress()”checkEd25519StealthAddress(
stealthAddress,spendingPrivateKey,viewingPrivateKey):boolean
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1539
Check if an ed25519 stealth address was intended for this recipient Uses view tag for efficient filtering before full computation
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