NEXO
Launch App
Back to Docs
Execution Engine6 min read

Smart Order Routing

How NEXO finds the best execution path for your trades

Multi-Venue Routing

NEXO aggregates liquidity from all major Solana DEXs to find the optimal execution path for your trades.

Supported Venues

  • Jupiter Aggregator
  • Raydium
  • Orca
  • Meteora
  • Phoenix
  • And 20+ more...

Route Optimization

Our algorithm considers multiple factors when determining the best route:

  • Price Impact - Minimize slippage across venues
  • Liquidity Depth - Ensure sufficient liquidity for your trade size
  • Gas Costs - Factor in transaction fees for multi-hop routes
  • Execution Risk - Assess reliability of each venue

Split Routing

For larger trades, NEXO automatically splits orders across multiple venues to minimize price impact.

typescript
// NEXO handles split routing automatically
const route = await client.getRoute({
  inputMint: 'SOL',
  outputMint: 'USDC',
  amount: 100_000_000_000, // Large trade
  splitRouting: true // Enable split execution
});

console.log('Routes:', route.splits);
// [{ venue: 'Jupiter', amount: 60% }, { venue: 'Raydium', amount: 40% }]