How to Swap
A community guide to swapping on Jupiter's dApp.
This guide was created through contributions from the following community members: @Cryptolasp @DucPhuBui1 @Val_chi44
Click the link to read why you need Jupiter written by community member @oneel_d
First make sure your URL is correct: https://jup.ag/
Next, connect your wallet by clicking the
Connect Wallet
button in the upper right corner of the site.
Jupiter supports majority of the wallets in Solana and some multi-chain wallets, checkout the site for the full wallet list
After connecting your wallet to Jupiter, you can then select the token pairs that you want to swap from the token selector and enter the amount of tokens that you want to swap.
Jupiter will find the best price routes for you amongst all the majority DEXs and AMMs in Solana, checkout the full supported list here.
There are no protocol fees on Jupiter. The only fees are transaction fees and exchange fees. If you see more SOL deducted than what you expect, then, it is probably due to deposits for creating Associated Token Accounts or Serum Open Orders account.
Fees are already factored into the # of tokens you will receive when choosing a route.
- Before swapping, you can configure a few parameters before proceeding to help with your trade.
- Transaction Priority Fees
- Slippage Settings
- Swap Settings
- Direct Route Only
- Use wSOL
- Versioned Transaction
This is because between the time you get a quote and the time you execute the trade the price may change. If the price falls below your slippage rate, then the transaction will fail in order to prevent you from getting less tokens than you want.
After you have confirmed all the parameters and inputs, you can click on the swap button, and the wallet that you have connected to Jupiter will ask you to approve the transaction to submit the order to the chain. If approve, your swap will be executed.
A notification toast will appear in the lower left corner that will notify user once the transaction has been sent and has completed.
You can view your transaction history by clicking the wallet section on the upper right of the site.
Jupiter Settings
- Jupiter Swap: Jupiter Swap tab (the current tab you are in) where user can instant spot token swap / buy any SPL token.
- Jupiter Limit Order: Jupiter Limit Order tab where user can place limit orders with a specific price / rate and receive tokens directly in your wallet when order is filled.
- Global Settings: Jupiter Global Settings, for default settings like language, explorer and RPC endpoint.
- Language: Pick your preferred language from English, Chinese, Vietnamese, French, Japanese, Indonesian, and Russian.
- Preferred Explorer: Pick your preferred explorer from Solscan, SolanaFM, Solana Beach, Solana Explorer, and XRAY.
- RPC Endpoint: Pick your preferred public RPC endpoint from Triton RPC Pool and Hello Moon RPC or use your own custom RPC endpoint.
- Connect Wallet: Connect to your preferred wallet to interact with Jupiter.
- Refresh quote: Refresh quote button to quickly update the latest quote.
- Transaction Priority Fees: Transaction Priority Fees is part of Solana features to bid for priority for their transactions in the leader's queue.
- Slippage Settings: Slippage settings is to prevent users from receiving fewer tokens than expected.
8. Swap Settings:
- Direct Route Only: Using Direct Route Only, ensure that it will be a single transaction submitted to a single pool, which will limit a lot of intermediate tokens which filtered out a lot of other viable routes.
- Use wSOL: Using Wrapped SOL (wSOL) enable using Jupiter faster and more convenient for traders who trade frequently with SOL, since it avoids having to wrap/unwrap SOL.
- Versioned Transaction: Enabling Versioned Transaction improves composability so Jupiter will be able to fit in more routes and get better even better pricing all in a single transaction.
Jupiter Swap
- Wrapped SOL detected in wallet: Jupiter detects wrapped SOL (wSOL) in within your wallet which trigger an option for user to unwrap back to SOL.
- 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.
By default, Strict
token list will be enabled, without unknown or banned tokens, users can choose to toggle on the All
list to include the full list of all SPL tokens in Solana that is available to trade.
- 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 will computes from the input amount with the current on-chain price rate show user the quoted amount (Including swap fees from various DEXs and AMMs) of tokens that user will be receiving or buying.
- Order Routing: Order routing shows the order being routed through which AMM, which sometimes involve Multi-hop and Split trade.
- Action - Swap: Once you have confirmed all the parameters, LFG!
Swap Details / Price Info
- Rate for the input and output token selected: This is the current on-chain price rate for the selected input and output tokens, along with a comparison against Coingecko Price API.
- Price Impact: Price Impact is influenced by the available liquidity to settle the trade, and the size of the trade can impact the price impact.
- Minimum Received: Minimum received takes into account of slippage that have set and computes the minimum that user will receive even with price fluctuates.