SwapResult
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / SwapResult
Interface: SwapResult
Section titled “Interface: SwapResult”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1715
Result of executing a swap
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1717
Request ID
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1719
1Click quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1721
Deposit address for input tokens
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1723
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1725
Expected output amount
status
Section titled “status”status:
OneClickSwapStatus
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1727
Current status
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1729
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1731
Settlement transaction hash (after success)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1733
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1735
Ephemeral public key (for recipient to derive stealth key)