PrivacyTransferParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / PrivacyTransferParams
Interface: PrivacyTransferParams
Section titled “Interface: PrivacyTransferParams”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19261
Parameters for a privacy-preserving transfer
Properties
Section titled “Properties”chain:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19263
Source chain
sender
Section titled “sender”sender:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19265
Sender address (may be hidden by backend)
recipient
Section titled “recipient”recipient:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19267
Recipient address or stealth address
mint:
string|null
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19269
Token mint address (null for native token)
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19271
Transfer amount in smallest units
decimals
Section titled “decimals”decimals:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19273
Token decimals
viewingKey?
Section titled “viewingKey?”
optionalviewingKey:ViewingKey
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19275
Viewing key for compliance (optional)
options?
Section titled “options?”
optionaloptions:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19277
Additional backend-specific options