HANNISOL
Sign in
Solana Basics2 min read·Feb 16, 2026

What Is a DEX Aggregator? How Jupiter Routes Your Solana Trades

A DEX aggregator finds the best price across all available liquidity sources and splits your trade for optimal execution. Jupiter does this for every Solana swap — here's how it works.

H
Hannisol Team
What Is a DEX Aggregator? How Jupiter Routes Your Solana Trades

Why trading on a single DEX often costs you more

Each Solana DEX — Raydium, Orca, Meteora, Phoenix — has its own liquidity pools with different prices, depths, and fee structures. When you want to swap Token A for Token B, the best available price for your specific trade size might exist on Raydium, but the best price for a larger trade might be split across three different pools. Trading on any single DEX directly means you get that DEX's price — which may or may not be optimal.

A DEX aggregator solves this by querying multiple liquidity sources simultaneously, finding the optimal route (which may involve multiple hops and pool splits), and executing the whole thing in a single transaction. This is what Jupiter does — and why the vast majority of sophisticated Solana traders route through Jupiter rather than any single DEX directly.


How Jupiter's routing works technically

When you enter a swap on Jupiter, it executes the following process in milliseconds:

  1. Query all available routes: Jupiter's routing engine checks hundreds of Solana liquidity pools — Raydium V4, Raydium CLMM, Orca Whirlpools, Meteora DLMM, Lifinity, Phoenix, and others — for current prices and depths.
  2. Calculate optimal routes: For your specific input amount, Jupiter calculates every possible route — direct swaps, multi-hop routes through intermediate tokens (e.g., Token A → SOL → Token B if that path offers better final output), and split routes (dividing your trade across multiple pools).
  3. Select the best output: Jupiter selects the route(s) that maximize your output amount after all fees and price impact are accounted for.
  4. Execute atomically: The entire multi-hop, multi-pool route executes in a single Solana transaction — it either all succeeds or all fails. You're never left in a partial state.

Jupiter's additional features beyond price routing

MEV protection: Jupiter offers optional MEV-protected routing that submits your transaction in ways designed to reduce sandwich attack exposure.

Limit orders: Jupiter's limit order system allows you to specify a target price; keeper bots execute the order when the on-chain price reaches your target.

Dollar-cost averaging (DCA): Jupiter's DCA feature automatically splits a larger purchase into regular smaller buys over a time period.

Perpetuals: Jupiter operates the largest perpetuals trading platform on Solana, with SOL, BTC, and ETH perps.

Before executing any swap on Jupiter or any other platform, verify the token's security profile using Hannisol. The best execution price for a scam token is still zero. Check at Hannisol.

Ready to apply this to a real token?

Run any Solana mint address through Hannisol's 8-dimension risk engine — free, no signup required.

Analyze a token on Hannisol →

Related articles