Skip to content

checkStealthAddress()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / checkStealthAddress

checkStealthAddress(stealthAddress, viewingPrivateKey, spendingPublicKey): boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4280

Check if a stealth address was intended for this recipient

Automatically dispatches to the correct curve implementation.

Canonical EIP-5564 view-only check: requires only the recipient’s viewing private key plus their spending PUBLIC key (no spending private key needed).

StealthAddress

Stealth address to check

`0x${string}`

Recipient’s viewing private key

`0x${string}`

Recipient’s spending public key (meta-address spendingKey)

boolean

true if this address belongs to the recipient

If any input is invalid