Skip to content

checkStealthAddress()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / 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.

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