Swapping tokens means exchanging from token A to token B. Polkaswap provides a user friendly interface for swapping tokens.
Open the Swap page:
Select the source asset (the asset you'd like to sell) and the destination asset (the asset that you'd like to buy). Click on the asset drop-down menu to select them:
The assets from you wallet will be listed by default.
You can find and add any asset by entering its ID or name in the search field. Whitelisted assets will be listed.
If you'd like to add a token that isn't whitelisted, then open the Custom tab and enter the asset ID:
Confirm that you understand the risk and proceed.
Now that you have selected the source and destination assets, you can easily change the direction of the swap by clicking the arrow between the assets:
To start the swap, enter the asset amount (source or destination):
There are a few parameters that should be clarified:
- Slippage tolerance. The amounts that you see on the screen are calculated for the moment when you're making the swap. The exchange rate might change before you sign and send the transaction. Your transaction will be reverted if the price changes unfavourably by more than this percentage.
- Liquidity provider fee is a fee that will be distributed among accounts who have a share in the liquidity pool.
- Network fee is a fee for transaction in the network (gas).
If you're ready to make a swap, click Swap then check the details carefully and if everything is ok, confirm and sign the transaction:
You can find the transaction in the Activity tab on the Account screen: