Complete a Swap
The following page will walk you through how to successfully complete a swap using the Vestige Aggregator. This will allow you to complete swaps using multiple different apps at the same time!
To complete a swap, you must first complete the Connect Your Wallet Step. Once you have connected your wallet, you are ready to complete a swap, view your transactions, etc. Before completing a swap, please review our guides for Enable or Disable Swap Routes and Adjust Swap Slippage.
Once your Wallet is Connected, find the Algorand Standard Asset (ASA) that you would like to swap with. For this example, we will use VEST
Enter the amount you would like to Swap. You can free type the amount, or select a percentage (25, 50, 75, 100%) based on your available amounts.
Note: The top value will always be how much you will pay and the bottom amount is the minimum amount you will receive once the swap is completed.
On the swap screen, the user will show what type of swap will be completed (Single or Multi) and which Route(s) will be utilized to complete the swap. In the example below, we are completing a Single Route swap using Humble.
Based on the amount you are swapping, the aggregator will automatically (based on your slippage and enabled route settings) display a multi route swap. In the example below, the user can complete a swap using 3 routes at the same time in one transaction group.
Select the Buy VEST button which will initiate the transaction. For this step, you will need to use your wallet to accept the transaction and complete the request.
Once the swap has completed, the user will see a Swap Successful note at the bottom of the trade section.
Success! You have completed a swap using Vestige.