Skip to content

deriveStealthPrivateKey()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / deriveStealthPrivateKey

deriveStealthPrivateKey(stealthAddress, spendingPrivateKey, viewingPrivateKey): StealthAddressRecovery

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4207

Derive the private key for a stealth address (for recipient to claim funds)

Automatically dispatches to the correct curve implementation.

StealthAddress

The stealth address to recover

`0x${string}`

Recipient’s spending private key

`0x${string}`

Recipient’s viewing private key

StealthAddressRecovery

Recovery data including derived private key

If any input is invalid