generateStealthAddress()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / generateStealthAddress
Function: generateStealthAddress()
Section titled “Function: generateStealthAddress()”generateStealthAddress(
recipientMetaAddress):object
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4192
Generate a one-time stealth address for sending funds to a recipient
Automatically dispatches to the correct curve implementation based on chain.
Parameters
Section titled “Parameters”recipientMetaAddress
Section titled “recipientMetaAddress”Recipient’s public stealth meta-address
Returns
Section titled “Returns”object
Stealth address data for publication
stealthAddress
Section titled “stealthAddress”stealthAddress:
StealthAddress
sharedSecret
Section titled “sharedSecret”sharedSecret:
`0x${string}`
Throws
Section titled “Throws”If meta-address is invalid