Skip to content

checkStealthAddress()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / checkStealthAddress

checkStealthAddress(stealthAddress, spendingPrivateKey, viewingPrivateKey): boolean

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1426

Check if a stealth address was intended for this recipient Uses view tag for efficient filtering before full computation

StealthAddress

Stealth address to check

`0x${string}`

Recipient’s spending private key

`0x${string}`

Recipient’s viewing private key

boolean

true if this address belongs to the recipient

If any input is invalid