SwapStatusResponse
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / SwapStatusResponse
Interface: SwapStatusResponse
Section titled “Interface: SwapStatusResponse”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4277
Swap status response
Properties
Section titled “Properties”swapId
Section titled “swapId”swapId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4279
Unique swap identifier
status
Section titled “status”status:
SwapStatus
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4281
Current status
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4283
Quote ID
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4285
Deposit address
amountIn
Section titled “amountIn”amountIn:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4287
Expected input amount
amountOut
Section titled “amountOut”amountOut:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4289
Expected output amount
depositTxHash?
Section titled “depositTxHash?”
optionaldepositTxHash:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4291
Deposit transaction hash (after deposit)
settlementTxHash?
Section titled “settlementTxHash?”
optionalsettlementTxHash:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4293
Settlement transaction hash (after completion)
refundTxHash?
Section titled “refundTxHash?”
optionalrefundTxHash:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4295
Refund transaction hash (if refunded)
actualAmountOut?
Section titled “actualAmountOut?”
optionalactualAmountOut:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4297
Actual output amount (after completion)
errorMessage?
Section titled “errorMessage?”
optionalerrorMessage:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4299
Error message (if failed)
stealthRecipient?
Section titled “stealthRecipient?”
optionalstealthRecipient:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4301
Stealth address for recipient (if privacy mode)
ephemeralPublicKey?
Section titled “ephemeralPublicKey?”
optionalephemeralPublicKey:string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4303
Ephemeral public key (for recipient to derive stealth key)
updatedAt
Section titled “updatedAt”updatedAt:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4305
Last updated timestamp
metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:4307
Backend-specific metadata