SwapResult
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / SwapResult
Interface: SwapResult
Section titled “Interface: SwapResult”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4679
Result of executing a swap
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4681
Request ID
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4683
1Click quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4685
Deposit address for input tokens
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4687
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4689
Expected output amount
status
Section titled “status”status:
OneClickSwapStatus
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4691
Current status
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4693
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4695
Settlement transaction hash (after success)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4697
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4699
Ephemeral public key (for recipient to derive stealth key)
optionalfees?:SwapFeeDisclosure
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4701
Fee disclosure (if fees enabled)