Last updated: January 10, 2026
Jupiter Aggregator
Jupiter is the primary swap infrastructure for Yooru. All token swaps route through Jupiter for best price execution.
Features
- •Aggregated routing across all Solana DEXs
- •Automatic slippage optimization
- •MEV protection via Jito bundles
jupiter-swap.tstypescript
import { YooruAgent } from '@yooru/sdk'
const agent = new YooruAgent({ apiKey: 'your-key' })
// Swap via Jupiter
const result = await agent.swap({
from: 'SOL',
to: 'USDC',
amount: 5.0,
slippage: 0.5 // 0.5%
})
console.log('Swap executed:', result.txHash)