When swapping on the Uniswap interface you can adjust the default trade options, which determine the liquidity pools your swap is routed through.
When default trade options are turned on, the router will select the most efficient trade route considering the following parameters: (i) estimation of gas costs via simulation (which may deprioritize high-network fee routes); (ii) estimation of slippage via simulation (which will revert a transaction that does not meet the user’s maximum specified slippage amount or better); (iii) pool liquidity, as measured by the total value locked across liquidity sources (which will deprioritize or exclude pools falling below a specified threshold); (iv) the maximum number of times a user’s swap can be “split” to allow the router to evaluate whether splitting the user’s swap among multiple liquidity sources may result in a better price; (v) the maximum number of “hops,” meaning potential sequences of digital asset conversions that end in the user receiving its desired output token; and (vi) the maximum number of potential routing paths that the Auto Router algorithm will evaluate in generating a proposed route. Note: on Solana, swaps on the Uniswap Web App are powered by the Jupiter API, which is a third-party service integrated to provide swap routing on Solana. Jupiter's liquidity is distinct from Uniswap Protocol liquidity, and pricing and trade routes for Solana swaps are determined solely by the Jupiter API.
You can also turn default trade options off to select a specific trade route option.
The available trade route options are:
-
Default trade: Selecting this allows the router to find the best route for your swap. This option uses UniswapX when eligible, as well as liquidity from Uniswap v2, v3, and v4 pools. Some v4 pools may have hooks that can change how a swap is executed in that pool (e.g., a hook providing limit order functionality). Select pools with hooks are included in the default trade route. (Learn more about custom hooks here.)
-
UniswapX: Selecting this allows swaps to be routed through UniswapX when eligible. This option is only available on the Uniswap Web app.
-
v4 pools: Selecting this will force your swap to only use Uniswap v4 liquidity pools for the swap route.
-
v4 hook pools: Some v4 pools may have hooks that can change how a swap is executed in that pool (e.g., a hook providing limit order functionality). Certain v4 pools may also use aggregator hooks, which source liquidity from external on-chain liquidity sources to fill swaps. The currently available aggregator hooks are:
Tempo aggregator hook: Sources liquidity from Tempo.
You can choose to only route through these hooked pools. Learn more here: How do custom hooks work in the Labs interface?
-
v3 pools: Selecting this will force your swap to only use Uniswap v3 liquidity pools for the swap route.
-
v2 pools: Selecting this will force your swap to only use Uniswap v2 liquidity pools for the swap route.
How to change a swap route on the Uniswap Web app:
- Open the web app and connect your wallet.
-
Select the settings icon.
-
Select “Trade options”.
-
Toggle “Default” off.
-
Disable the swap routes you do not want to use.
- Swaps will be routed through the option(s) selected.
How to change a swap route in the Uniswap Wallet:
- Open the Uniswap Wallet app and select “Swap”.
- Select the settings icon.
-
Select “Trade options”.
- Toggle “Default” off.
- Disable the swap routes you do not want to use.
-
Swaps will be routed through the option(s) selected.