Function swapQuoteWithParams

  • Perform a sync swap quote based on the basic swap instruction parameters.

    Parameters

    • params: SwapQuoteParam

      SwapQuote parameters

    • slippageTolerance: Percentage

      The amount of slippage to account for when generating the final quote.

    Returns SwapQuote

    a SwapQuote object with slippage adjusted SwapInput parameters & estimates on token amounts, fee & end whirlpool states.