Skip to content

deriveStealthPrivateKeyV1()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / deriveStealthPrivateKeyV1

deriveStealthPrivateKeyV1(stealthAddress, spendingPrivateKey, viewingPrivateKey): StealthAddressRecovery

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

Derive the stealth private key for a LEGACY SIP:1 announcement (back-compat)

Routes to the pre-flip swapped-scheme derivation. Use only when claiming funds announced before the canonical EIP-5564 flip; new (SIP:2) payments use deriveStealthPrivateKey.

StealthAddress

The legacy stealth address to recover

`0x${string}`

Recipient’s spending private key

`0x${string}`

Recipient’s viewing private key

StealthAddressRecovery

Recovery data including the derived private key