SwapStatusResponse
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / SwapStatusResponse
Interface: SwapStatusResponse
Section titled “Interface: SwapStatusResponse”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7459
Swap status response
Properties
Section titled “Properties”swapId
Section titled “swapId”swapId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7461
Unique swap identifier
status
Section titled “status”status:
SwapStatus
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7463
Current status
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7465
Quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7467
Deposit address
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7469
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7471
Expected output amount
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7473
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7475
Settlement transaction hash (after completion)
refundTxHash?
Section titled “refundTxHash?”
optionalrefundTxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7477
Refund transaction hash (if refunded)
actualAmountOut?
Section titled “actualAmountOut?”
optionalactualAmountOut?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7479
Actual output amount (after completion)
errorMessage?
Section titled “errorMessage?”
optionalerrorMessage?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7481
Error message (if failed)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7483
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7485
Ephemeral public key (for recipient to derive stealth key)
updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7487
Last updated timestamp
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:7489
Backend-specific metadata