ZcashQuote
SIP Protocol API Reference v0.7.2
SIP Protocol API Reference / ZcashQuote
Interface: ZcashQuote
Section titled “Interface: ZcashQuote”Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5702
Quote response
Properties
Section titled “Properties”quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5704
Unique quote identifier
sourceChain
Section titled “sourceChain”sourceChain:
ZcashSwapSourceChain
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5706
Source chain
sourceToken
Section titled “sourceToken”sourceToken:
ZcashSwapSourceToken
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5708
Source token
amountIn
Section titled “amountIn”amountIn:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5710
Input amount (in source token’s smallest unit)
amountInFormatted
Section titled “amountInFormatted”amountInFormatted:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5712
Input amount formatted
amountOut
Section titled “amountOut”amountOut:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5714
Output amount in zatoshis (1 ZEC = 100,000,000 zatoshis)
amountOutFormatted
Section titled “amountOutFormatted”amountOutFormatted:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5716
Output amount in ZEC
exchangeRate
Section titled “exchangeRate”exchangeRate:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5718
Exchange rate (ZEC per source token)
networkFee
Section titled “networkFee”networkFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5720
Network fee in source token
swapFee
Section titled “swapFee”swapFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5722
Bridge/swap fee in source token
totalFee
Section titled “totalFee”totalFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5724
Total fee in source token
slippage
Section titled “slippage”slippage:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5726
Slippage tolerance (basis points)
minimumOutput
Section titled “minimumOutput”minimumOutput:
bigint
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5728
Minimum output amount after slippage
validUntil
Section titled “validUntil”validUntil:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5730
Quote expiration timestamp
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5732
Deposit address (where to send source tokens)
estimatedTime
Section titled “estimatedTime”estimatedTime:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5734
Estimated time to completion (seconds)
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5736
Privacy level for the swap