Skip to content

PreparedSwap

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / PreparedSwap

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4595

Result of preparing a swap with SIP privacy

request: SwapRequest

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4597

Original swap request


quoteRequest: OneClickQuoteRequest

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4599

1Click quote request


optional stealthAddress: object

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4601

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-DXh2IGkz.d.ts:4607

Shared secret for stealth address derivation (keep private!)


optional curve: StealthCurve

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4609

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


optional nativeRecipientAddress: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4611

Native recipient address (converted from stealth public key)


optional estimatedFees: SwapFeeDisclosure

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:4613

Estimated fee disclosure