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