checkEd25519StealthAddress()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / checkEd25519StealthAddress
Function: checkEd25519StealthAddress()
Section titled “Function: 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.
Parameters
Section titled “Parameters”stealthAddress
Section titled “stealthAddress”Stealth address to check
viewingPrivateKey
Section titled “viewingPrivateKey”`0x${string}`
Recipient’s viewing private key
spendingPublicKey
Section titled “spendingPublicKey”`0x${string}`
Recipient’s spending PUBLIC key (meta-address spendingKey)
Returns
Section titled “Returns”boolean
true if this address belongs to the recipient