Skip to content

PreparedSwap

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / PreparedSwap

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

Result of preparing a swap with SIP privacy

request: SwapRequest

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

Original swap request


quoteRequest: OneClickQuoteRequest

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

1Click quote request


optional stealthAddress?: object

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

Generated stealth address (for shielded/compliant modes)

address: `0x${string}`

ephemeralPublicKey: `0x${string}`

viewTag: number


optional sharedSecret?: `0x${string}`

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

Shared secret for stealth address derivation (keep private!)


optional curve?: StealthCurve

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

Curve used for stealth address (for cross-chain compatibility)


optional nativeRecipientAddress?: string

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

Native recipient address (converted from stealth public key)


optional estimatedFees?: SwapFeeDisclosure

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

Estimated fee disclosure