PreparedSwap
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / PreparedSwap
Interface: PreparedSwap
Section titled “Interface: PreparedSwap”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4595
Result of preparing a swap with SIP privacy
Properties
Section titled “Properties”request
Section titled “request”request:
SwapRequest
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4597
Original swap request
quoteRequest
Section titled “quoteRequest”quoteRequest:
OneClickQuoteRequest
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4599
1Click quote request
stealthAddress?
Section titled “stealthAddress?”
optionalstealthAddress:object
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4601
Generated stealth address (for shielded/compliant modes)
address
Section titled “address”address:
`0x${string}`
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
viewTag
Section titled “viewTag”viewTag:
number
sharedSecret?
Section titled “sharedSecret?”
optionalsharedSecret:`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4607
Shared secret for stealth address derivation (keep private!)
curve?
Section titled “curve?”
optionalcurve:StealthCurve
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4609
Curve used for stealth address (for cross-chain compatibility)
nativeRecipientAddress?
Section titled “nativeRecipientAddress?”
optionalnativeRecipientAddress:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4611
Native recipient address (converted from stealth public key)
estimatedFees?
Section titled “estimatedFees?”
optionalestimatedFees:SwapFeeDisclosure
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4613
Estimated fee disclosure