Swap

Module for coin swaps

Available swap protocols: Pancake, Liquidswap

LiquidSwap uses two types of liquidity pools: Stable and Uncorrelated. The Aptos Helper automatically selects the most profitable price for the pair of tokens you've selected.

Parameters

  • Make reverse swap - will make second reverse swap. Here's how it works: for example after your initial swap of 1 APT for 5 USDT, the second swap will automatically reverse it, swapping 5 USDT back into APT. This option allows you to continuously cycle your swap transactions.

  • Min amount & Max amount - the final amount of coin to swap will be randomly chosen in the range of these numbers. If the maximum amount to swap exceeds the current wallet balance, the wallet balance will be used as the maximum value.

  • Use all balance - will swap all the coins you have in your wallet.

  • Send % of balance - It will randomly select a number from the minimum and maximum amount fields. This number will represent the percentage of tokens used from your wallet balance.

  • Compare to Gecko price - if the protocol's price is lower than the Gecko price, because of low liquidity, and this price difference reaches the percentage you've set, the swap will be stopped. (To know how to use this feature with your tokens head to this page).

  • Slippage - swap slippage in %

  • Gas price & Gas limit - price per gas unit and max used gas parameters (Gas calculation method).

  • Force gas limit - when turned on, the maximum gas limit will be exactly taken from the input.

Last updated