ZcashSwapResult
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / ZcashSwapResult
Interface: ZcashSwapResult
Section titled “Interface: ZcashSwapResult”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8909
Swap execution result
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8911
Swap request ID
quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8913
Quote used
status
Section titled “status”status:
ZcashSwapStatus
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8915
Current status
sourceTxHash?
Section titled “sourceTxHash?”
optionalsourceTxHash:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8917
Source chain transaction hash (deposit tx)
zcashTxId?
Section titled “zcashTxId?”
optionalzcashTxId:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8919
Zcash transaction ID (if completed)
amountIn
Section titled “amountIn”amountIn:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8921
Amount deposited
amountOut?
Section titled “amountOut?”
optionalamountOut:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8923
Amount received in ZEC (zatoshis)
recipientZAddress
Section titled “recipientZAddress”recipientZAddress:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8925
Recipient z-address
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8927
Timestamp
error?
Section titled “error?”
optionalerror:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8929
Error message if failed