Swap Aggregator
Last updated
Was this helpful?
Last updated
Was this helpful?
Like any good DEX, the most common functionality is token conversion. It easily allows you to exchange one token for another token, taking into account:
the best exchange rate
the best route, using one or more other DEXs
the maximum slippage allowed
the applicable fees
In the swap screen, it will be possible to select the departure token and the arrival token via drop-down lists. If the tokens are branded, the logos will appear.
In the first field, it will be possible to define the number of tokens to exchange. If you are logged in to the app, your wallet's token balance will appear below the drop-down list.
By clicking on the "MAX" button, the application will automatically enter the maximum value of tokens present in the wallet.
EXAMPLE
In the example below, the user wants to exchange 2 $EGLD for $JEX.
The system determined, at the time of use, that the best outcome was 25,257 $JEX.
Use "show details" for more information like the exchange rates, prices and swap route.
The swap tool comes with several settings:
Disclaimer: changing settings is reserved to advanced users, if you're unsure of your actions, use the "Reset" button to restore default settings.
As part of a token exchange, it is possible to adjust the “slippage” rate.
Slippage occurs when there is a difference between the expected price of a token trade and the actual price at the time the trade is executed. This happens when there is high demand for the token in question. Slippage is generally greater when a large amount of tokens are traded, as this can affect the price of the token. Users should be aware of slippage when trading on DEXs and take this factor into account when calculating their trades to avoid unpleasant surprises.
By convention, it is considered that a slippage rate of 1% or less is "normal", beyond that the user can take risks.
It is sometimes necessary to increase this rate to allow a transaction to take place, particularly in the case of a listing where a large number of exchanges can be made in a very short time leading to significant movements in the price and therefore the exchange rate.
When executing the transaction, if the system detects that the number of tokens received will be less than the number of tokens expected taking the slippage percentage, it will fail and the user will receive their initial tokens.
Dynamic Routing: enable this option to benefit from an advanced algorithm capable of splitting swaps into multiple smaller swaps in order to maximize output amount.
Still in beta, results may not be accurate. Use with caution.
The aggregator is decentralized and open-source, meaning that entities other than JEX can provide aggregation services.
Use this setting to configure the URL to use in the swap tool.
To enable you to get best exchange your tokens, you can toggle chart display using the button.