Type Alias SwapEstimates

SwapEstimates: {
    estimatedAmountIn: BN;
    estimatedAmountOut: BN;
    estimatedEndSqrtPrice: BN;
    estimatedEndTickIndex: number;
    estimatedFeeAmount: BN;
    transferFee: {
        deductedFromEstimatedAmountOut: BN;
        deductingFromEstimatedAmountIn: BN;
    };
}

A collection of estimated values from quoting a swap.

Approximate number of input token swapped in the swap

Approximate number of output token swapped in the swap

Approximate tick-index the Whirlpool will land on after this swap

Approximate sqrtPrice the Whirlpool will land on after this swap

Approximate feeAmount (all fees) charged on this swap