Whirlpool to perform the swap on
PublicKey for the input token mint to swap with
The amount of input token to swap from
The amount of slippage to account for in this quote
PublicKey for the Whirlpool ProgramId
Optional
opts: SimpleAccountFetchOptionsan WhirlpoolAccountFetchOptions object to define fetch and cache options when accessing on-chain accounts
An enum to specify when to use fallback tick array in a swap quote.
a SwapQuote object with slippage adjusted SwapInput parameters & estimates on token amounts, fee & end whirlpool states.
Get an estimated swap quote using input token amount.