The amount of input or output token to swap from (depending on amountSpecifiedIsInput).
The maximum/minimum of input/output token to swap into (depending on amountSpecifiedIsInput).
The maximum/minimum price the swap will swap to.
The direction of the swap. True if swapping from A to B. False if swapping from B to A.
Specifies the token the parameter amountrepresents. If true, the amount represents the input token of the swap.
amount
An sequential array of tick-array objects in the direction of the trade to swap on
Oracle data for the whirlpool
TokenExtensions info for the whirlpool
Optional. A reserve in case prices move in the opposite direction
Optional. A parameter to generate this quote to a unix time stamp
Optional
Param: tokenAmount
The amount of input or output token to swap from (depending on amountSpecifiedIsInput).
Param: otherAmountThreshold
The maximum/minimum of input/output token to swap into (depending on amountSpecifiedIsInput).
Param: sqrtPriceLimit
The maximum/minimum price the swap will swap to.
Param: aToB
The direction of the swap. True if swapping from A to B. False if swapping from B to A.
Param: amountSpecifiedIsInput
Specifies the token the parameter
amount
represents. If true, the amount represents the input token of the swap.Param: tickArrays
An sequential array of tick-array objects in the direction of the trade to swap on
Param: oracleData
Oracle data for the whirlpool
Param: tokenExtensionCtx
TokenExtensions info for the whirlpool
Param: fallbackTickArray
Optional. A reserve in case prices move in the opposite direction
Param: timestampInSeconds
Optional. A parameter to generate this quote to a unix time stamp