OptionalinOptional. The input token amount for the swap.
1 (Swap 1 full token).OptionalisXForYOptional. Indicates the swap direction:
true: Swapping token X for token Y.false: Swapping token Y for token X.true.OptionalmaxOptional. The maximum allowed slippage for the swap, expressed as a percentage.
0.5 represents 0.5% slippage tolerance.3 (3% slippage tolerance).OptionalpoolRequired. The address of the liquidity pool in the Pump AMM.
Properties of a PumpAmmTask.