ZcashQuote
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / ZcashQuote
Interface: ZcashQuote
Section titled “Interface: ZcashQuote”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5639
Quote response
Properties
Section titled “Properties”quoteId
Section titled “quoteId”quoteId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5641
Unique quote identifier
sourceChain
Section titled “sourceChain”sourceChain:
ZcashSwapSourceChain
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5643
Source chain
sourceToken
Section titled “sourceToken”sourceToken:
ZcashSwapSourceToken
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5645
Source token
amountIn
Section titled “amountIn”amountIn:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5647
Input amount (in source token’s smallest unit)
amountInFormatted
Section titled “amountInFormatted”amountInFormatted:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5649
Input amount formatted
amountOut
Section titled “amountOut”amountOut:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5651
Output amount in zatoshis (1 ZEC = 100,000,000 zatoshis)
amountOutFormatted
Section titled “amountOutFormatted”amountOutFormatted:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5653
Output amount in ZEC
exchangeRate
Section titled “exchangeRate”exchangeRate:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5655
Exchange rate (ZEC per source token)
networkFee
Section titled “networkFee”networkFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5657
Network fee in source token
swapFee
Section titled “swapFee”swapFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5659
Bridge/swap fee in source token
totalFee
Section titled “totalFee”totalFee:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5661
Total fee in source token
slippage
Section titled “slippage”slippage:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5663
Slippage tolerance (basis points)
minimumOutput
Section titled “minimumOutput”minimumOutput:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5665
Minimum output amount after slippage
validUntil
Section titled “validUntil”validUntil:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5667
Quote expiration timestamp
depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5669
Deposit address (where to send source tokens)
estimatedTime
Section titled “estimatedTime”estimatedTime:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5671
Estimated time to completion (seconds)
privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5673
Privacy level for the swap