SwapStatusResponse
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / SwapStatusResponse
Interface: SwapStatusResponse
Section titled “Interface: SwapStatusResponse”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7386
Swap status response
Properties
Section titled “Properties”swapId
Section titled “swapId”swapId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7388
Unique swap identifier
status
Section titled “status”status:
SwapStatus
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7390
Current status
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7392
Quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7394
Deposit address
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7396
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7398
Expected output amount
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7400
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7402
Settlement transaction hash (after completion)
refundTxHash?
Section titled “refundTxHash?”
optionalrefundTxHash:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7404
Refund transaction hash (if refunded)
actualAmountOut?
Section titled “actualAmountOut?”
optionalactualAmountOut:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7406
Actual output amount (after completion)
errorMessage?
Section titled “errorMessage?”
optionalerrorMessage:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7408
Error message (if failed)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7410
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7412
Ephemeral public key (for recipient to derive stealth key)
updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7414
Last updated timestamp
metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:7416
Backend-specific metadata