SwapStatusResponse
SIP Protocol API Reference v0.7.2
SIP Protocol API Reference / SwapStatusResponse
Interface: SwapStatusResponse
Section titled “Interface: SwapStatusResponse”Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4340
Swap status response
Properties
Section titled “Properties”swapId
Section titled “swapId”swapId:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4342
Unique swap identifier
status
Section titled “status”status:
SwapStatus
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4344
Current status
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4346
Quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4348
Deposit address
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4350
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4352
Expected output amount
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4354
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4356
Settlement transaction hash (after completion)
refundTxHash?
Section titled “refundTxHash?”
optionalrefundTxHash:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4358
Refund transaction hash (if refunded)
actualAmountOut?
Section titled “actualAmountOut?”
optionalactualAmountOut:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4360
Actual output amount (after completion)
errorMessage?
Section titled “errorMessage?”
optionalerrorMessage:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4362
Error message (if failed)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4364
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4366
Ephemeral public key (for recipient to derive stealth key)
updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4368
Last updated timestamp
metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:4370
Backend-specific metadata