How to Swap Tokens on Jupiter
There are no protocol fees on Jupiter. The only fees are transaction fees and DEX/AMM fees which are factored in to the swap calculations. If you see more SOL deducted than what you expect, it is probably due to deposits for creating Associated Token Accounts.
Basic Swap User Flow
- Visit the Jupiter website Jupiter Website. Double check that the URL in your browser address bar is correct: https://jup.ag/
- Connect your wallet by clicking the
Connect Wallet
button at the top right corner of the site. - Select the tokens that you want to swap from and into with the token selectors.
- Enter the amount of the selected token that you want to swap from in the top selector.
- Review output token amounts and the swap route. Checkout the full list of supported DEXes for routing here.
- Configure additional parameters to optimize your trade, including: Priority Fees, Slippage Settings, and Swap Settings.
- After you have confirmed all the parameters and inputs, click on the 'Swap' button. You will be prompted with a confirmation from your wallet. If you 'Confirm', your swap will be sent to the blockchain, to be finalized.
- A notification toast will appear in the lower left corner that will show the current status of your transaction.
- You can view your swap history at the bottom of the page or click on the wallet at the top right corner.
Let's go through Jupiter Settings in greater detail below.
Jupiter Settings
- Jupiter Spot: In Jupiter Spot tab (the current tab you are in), the Jupiter Swap is available.
- Jupiter Global Settings: Select your default settings like language, Solana explorer and RPC endpoint.
- Connect Wallet: Connect your preferred wallet to interact with Jupiter.
- Jupiter Swap: Jupiter Swap tab (the first tab) where you can instantly spot swap for any supported SPL token.
- Jupiter Swap Settings: These settings impact the routing and pricing of the swaps. For beginners it is usually easier to go with Auto settings. We will see all the settings in detail in the below sections.
- Refresh Quote: Refresh quote button to update the latest quote for the configured asset swap in the terminal.
Global Settings
Due to network traffic loads RPC endpoints can get overloaded, which can lead to latency issues that will directly impact your trade executions. Reviewing the RPC latency and selecting the lowest latency option is a best practice to ensure the fastest trade execution.
- Language: Pick your preferred language from English, Chinese, Vietnamese, Japanese, Indonesian, Korean, Spanish, French, ,Italian, Dutch, Portuguese and Turkish.
- Preferred Explorer: Pick your preferred explorer from Solscan, SolanaFM, Solana Beach, Solana Explorer, XRAY, and OKLink.
- Versioned Transaction: This allows for more advanced routing and better prices. Enabling Versioned Transaction improves composability so Jupiter will be able to fit in more routes.
- RPC Endpoint: Pick your preferred public RPC endpoint from Triton RPC, Helius RPC, or use your own custom RPC endpoint.
Swap Settings
Slippage Settings
Utilizing the Slippage Setting to ensure your transactions are executed is a common practice. The slippage setting is important to prevent users from getting poor swap rates on transactions if the asset price falls below the specified slippage rate.
This is an advanced setting and should be used with caution.
- Slippage Mode: Select the slippage mode you want to utilize. Dynamic mode optimises slippage between success rate, and sandwich protection through a series of simulations. Auto slippage will utilize Jupiters internal slippage calculations for the best setting. Fixed will adhere to your specificed slippage amount.
- Fixed Slippage: Enter the maximum acceptable slippage rate for your swaps.
Transaction Priority Fees
Trades submitted to the blockchain are assigned a priority based on the fee bidding process. The higher the priority fee, the higher your transactions will be in the execution queue. During times of congestion, increasing your priority fee can help. Use with caution and remember to re-adjust the fee selection afterwards.
- Broadcast Mode: Select your transaction broadcasting option. Choose from submitting to RPCs with priority fee, sending your transaction directly to Jito Validators via a bundle, or a Mixed, which fires both and see which lands first.
- Speed: Specify the Priority Level, in increasing priority: Fast, Turbo, Ultra for the transactions you are executing. Controlling how fast the transaction will land, Turbo and ultra cost more SOL but they are faster.
- Fee Mode: Pick your preferred Fee Mode. Either specify a Max Cap for your fee or an Exact Fee for your transactions.
- Set Max Cap: When a max fee is set then the fee is adjusted based on market conditions up to the max value.
Advanced Settings
- Direct Route Only: Using Direct Route Only ensures that the transaction will only be submitted to a single pool. This will limit a lot of intermediate tokens and filter out a lot of other viable routes that use intermediary tokens.
- Use wSOL: Using Wrapped SOL (wSOL) makes using Jupiter faster and more convenient for traders who trade frequently with SOL, since it avoids having to wrap/unwrap SOL.
- AMM Exclusion: This excludes certain AMMs when swapping.
Jupiter Swap
- Input Token Wallet Balance: Jupiter detects the input token balance in your wallet.
- Half/ Max Amount: Shortcut buttons to quickly input
Half
orMax
of the balance amount. - Input Token / Token to Sell: Token selector to select token to sell or swap from.
- Input Token / Token to Sell Amount: Specify the amount of input token to sell or to swap from.
- Input token & Output Token Switch: This button switches the input and output token.
- Output Token Wallet Balance: Jupiter detects the output token balance in your wallet.
- Output Token / Token to Buy: Token selector to select token to buy or swap to.
- Output Token / Token to Buy Amount: Jupiter computes this quoted output amount from the swap configuration and current on-chain price rates of the assets involved in the route. (This includes swap fees from all DEXs and AMMs along the route.)
- Order Routing: Order routing shows the markets being routed through and each hop along the path. This can sometimes involve Multi-hop and Split trades to achieve the best results.
- Action - Swap: Once you have confirmed all the parameters, LFG!
Order Routings
Clicking on the area marked number 9 from the Swap terminal above will show you the exact order routing path for the quoted transaction. You can also see the split trades and all market hops along the route (if any).
Swap Details / Price Info
- Exchange Rate for the Selected Tokens: This is the current exchange rate, based on the on-chain prices for the selected input and output tokens.
- Minimum Received: Minimum received takes into account the slippage setting and market liquidity to compute the minimum amount that the user will receive even with maximum price fluctuations during a successful swap.
- Max Transaction Fee: This is the maximum fee you will pay to execute the quoted transaction. This takes into account your selected fee settings.
- Deposit: If you are transacting assets you have not owned before, Solana may require a small deposit amount to create the ATA account in your wallet to hold that asset. This will only occur with assets you have not owned previously.
- Price Impact: Price Impact is influenced by the available liquidity to settle the trade. The larger the trade the larger the price impact on the selected assets.
- Price Difference: This is a comparison against the token prices on Coingecko.