Skip to content

checkEd25519StealthAddress()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / checkEd25519StealthAddress

checkEd25519StealthAddress(stealthAddress, viewingPrivateKey, spendingPublicKey): boolean

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

Check if an ed25519 stealth address is ours — canonical EIP-5564 view-only.

Requires only the viewing PRIVATE key + the spending PUBLIC key, so a viewing key can be delegated for scanning without granting spend authority. Never touches the spending private key.

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