What is Jupiter?
Jupiter is Solana’s leading liquidity aggregator that:- Finds the best swap routes across multiple DEXs
- Splits trades across multiple pools for better prices
- Provides MEV protection
- Offers dynamic slippage management
- Supports all SPL tokens
Jupiter checks prices from Orca, Raydium, Serum, and other DEXs to find you the best rate for every trade.
How to swap tokens
Choose your tokens
Decide which tokens you want to swap. You can swap:
- SOL to any SPL token
- Any SPL token to SOL
- Any SPL token to another SPL token
Review the quote
Check the swap details:
- Exchange rate
- Price impact
- Estimated slippage
- Network fees
- Output amount
Swapping with the AI agent
Use natural language to swap tokens:Supported commands
The AI agent recognizes these swap commands:- “swap tokens”
- “exchange tokens”
- “trade tokens”
- “convert tokens”
- “swap sol”
Swap implementation
Here’s how swaps work under the hood:Trade action parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
outputMint | string | Yes | Token mint address you want to receive |
inputAmount | number | Yes | Amount to swap (in token decimals) |
inputMint | string | No | Token to swap from (defaults to SOL) |
slippageBps | number | No | Slippage in basis points (deprecated - uses dynamic) |
Understanding slippage
Slippage is the difference between the expected price and the execution price.Why slippage occurs
- Market volatility between quote and execution
- Large trades impacting pool prices
- Other traders executing before you
- Low liquidity in token pools
Dynamic slippage management
Synto uses Jupiter’s dynamic slippage:- ✅ Better execution rates
- ✅ Fewer failed transactions
- ✅ Optimized for market conditions
- ✅ No manual slippage configuration needed
Swap routing
Jupiter finds the best route for your swap:Single route
Split route
Multi-hop route
Jupiter automatically handles all routing complexity. You just specify input and output tokens.
Fees and costs
Network fees
- Transaction fee: ~0.000005 SOL base fee
- Priority fee: Dynamic based on network congestion
- Compute units: Automatically calculated
Trading fees
- Jupiter platform fee: 0% (configurable)
- DEX fees: Varies by pool (typically 0.25-0.30%)
- Referral fees: Optional
Total cost example
For a 1 SOL → USDC swap:Advanced features
Wrapping/unwrapping SOL
Synto automatically handles SOL wrapping:- Native SOL → Wrapped SOL (wSOL) when needed
- wSOL → Native SOL after swap
- No manual wrapping required
Route optimization
- Better prices through complex routes
- Access to more liquidity
- Optimized for each trade
Swap modes
ExactIn mode by default - you specify how much you want to spend.
Price checking
Before swapping, check current token prices:Price response
Common swap scenarios
Swap SOL to stablecoin
Swap stablecoin to SOL
Swap between tokens
Best practices
Before swapping
Before swapping
- ✅ Check current token prices
- ✅ Verify you have enough SOL for fees
- ✅ Understand price impact for large trades
- ✅ Compare rates across different times
- ✅ Test with small amounts first
During swap
During swap
- ✅ Review all transaction details
- ✅ Verify input and output tokens
- ✅ Check expected amounts
- ✅ Confirm network fees are reasonable
- ✅ Don’t close app while transaction pending
After swap
After swap
- ✅ Verify new token balance
- ✅ Save transaction signature
- ✅ Check execution price vs expected
- ✅ Close unused token accounts if needed
Troubleshooting
Swap failed: Slippage exceeded
Swap failed: Slippage exceeded
The price moved too much between quote and execution.Solutions:
- Try again immediately (get fresh quote)
- Wait for less volatile market conditions
- Split large trades into smaller ones
- Use dynamic slippage (enabled by default)
Insufficient liquidity
Insufficient liquidity
Not enough liquidity in pools for your trade.Solutions:
- Reduce trade size
- Try swapping through SOL as intermediate
- Wait for better liquidity conditions
- Check if token is actively traded
Transaction timeout
Transaction timeout
Transaction didn’t complete in time.Solutions:
- Increase priority fee to “fast”
- Wait and try during lower network congestion
- Try smaller trade amount
- Check network status
Token account doesn't exist
Token account doesn't exist
You don’t have a token account for the output token.Solutions:
- Ensure you have ~0.002 SOL extra for account creation
- Transaction will automatically create the account
- This is normal for receiving new tokens
Transaction response
Successful swap returns:Security tips
- ✅ Always verify token mint addresses
- ✅ Be cautious of tokens with similar names
- ✅ Check token legitimacy on trusted sources
- ✅ Start with small test trades
- ✅ Never share your private key or seed phrase
- ⚠️ Understand that swaps are irreversible
Related resources
Token operations
Basic token management guide
DeFi operations
Overview of all DeFi features
Staking
Learn about liquid staking
Lending
Guide to lending and borrowing