Skip to content

ZcashQuote

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / ZcashQuote

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8851

Quote response

quoteId: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8853

Unique quote identifier


sourceChain: ZcashSwapSourceChain

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8855

Source chain


sourceToken: ZcashSwapSourceToken

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8857

Source token


amountIn: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8859

Input amount (in source token’s smallest unit)


amountInFormatted: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8861

Input amount formatted


amountOut: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8863

Output amount in zatoshis (1 ZEC = 100,000,000 zatoshis)


amountOutFormatted: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8865

Output amount in ZEC


exchangeRate: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8867

Exchange rate (ZEC per source token)


networkFee: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8869

Network fee in source token


swapFee: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8871

Bridge/swap fee in source token


totalFee: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8873

Total fee in source token


slippage: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8875

Slippage tolerance (basis points)


minimumOutput: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8877

Minimum output amount after slippage


validUntil: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8879

Quote expiration timestamp


depositAddress: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8881

Deposit address (where to send source tokens)


estimatedTime: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8883

Estimated time to completion (seconds)


privacyLevel: PrivacyLevel

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:8885

Privacy level for the swap