For the complete documentation index, see llms.txt. This page is also available as Markdown.

Swap

How to swap one Stellar asset for another in the Aquarius interface and adjust slippage tolerance.

The Aquarius swap form with sell and buy asset fields

The Swap section allows you to exchange one asset for another using Aquarius AMMs as the liquidity source. Only assets included in Aquarius AMM pools can be traded.

How to swap assets

  1. Select the asset you want to trade from and the asset you want to receive. Popular assets are pinned on the top and less popular ones can be found using full text search.

The asset selector with pinned assets and a search field
  1. Enter the amount you wish to swap. You can edit either side — enter the Sell amount to see what you'll receive, or the Buy amount to see what it costs, calculated from the best route Aquarius finds. Review the estimate, then click Swap Assets.

The swap form showing an entered sell amount and estimated buy amount
  1. Confirm the swap details. Select Confirm Swap to submit. You can inspect the route's liquidity pools by selecting their icons.

The swap confirmation screen with amounts, route, and minimum received
  1. The swap is complete. To view transaction details, click View on Explorer.

A completed swap with a link to the transaction explorer

Adjusting slippage tolerance

Slippage is the difference between the rate you're quoted and the rate you actually get — it appears when other trades move the pool between your quote and your transaction settling, and it's larger in low-liquidity markets. Your slippage tolerance caps how much of it you accept: if the final rate would be worse than your cap, the transaction fails instead of filling at a bad price.

The transaction settings button on the swap form
  1. Click the transaction settings button.

  2. Select a pre-set slippage percentage (0.1%, 0.5%, or the default 1%) or enter a custom value of up to 10%. Tighter values suit stable pairs; wider values help swaps go through in volatile or thin markets, at the cost of a worse possible rate.

  3. Once satisfied, click Save.

The slippage settings modal with preset and custom tolerance options

Last updated