current location:Home >> Blockchain knowledge >> How to use Jupiter Aggregator on Solana

How to use Jupiter Aggregator on Solana

admin Blockchain knowledge 2785

Using Jupiter Aggregator on Solana

Jupiter Aggregator is a powerful liquidity aggregator on the Solana blockchain that helps you find the best swap rates across multiple decentralized exchanges (DEXs). Here's how to use it:

Basic Usage

  1. How to use Jupiter Aggregator on Solana

    Connect Your Wallet

    • Visit Jupiter's website

    • Click "Connect Wallet" and choose your Solana wallet (Phantom, Solflare, etc.)

    • Approve the connection in your wallet

  2. Token Swap

    • Select the token you want to swap from (input token)

    • Select the token you want to receive (output token)

    • Enter the amount you want to swap

    • Jupiter will automatically find the best route across Solana DEXs

    • Review the rate, price impact, and fees

    • Click "Swap" and approve the transaction in your wallet

Advanced Features

Limit Orders

  1. Click on the "Limit" tab

  2. Set your desired price for the swap

  3. Place the order (requires signing a transaction)

  4. Monitor/Manage your orders in the "Orders" section

DCA (Dollar-Cost Averaging)

  1. Click on the "DCA" tab

  2. Set up recurring buys at specified intervals

  3. Configure amount, frequency, and duration

  4. Approve the necessary transactions

Perpetuals Trading

  1. Click on the "Perpetuals" tab

  2. Select a market and position type (long/short)

  3. Set leverage and collateral

  4. Open your position

API Access

Developers can integrate Jupiter's aggregation directly into their apps:

// Example API request
const quote = await fetch(
  `https://quote-api.jup.ag/v6/quote?inputMint=So11111111111111111111111111111111111111112&outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=1000000`
);
const { data } = await quote.json();

Tips

  • Always check the slippage tolerance (default is 0.5%)

  • For large swaps, consider splitting into multiple smaller transactions

  • Verify token addresses to avoid scams (Jupiter has verified token lists)

  • Gas fees on Solana are typically very low (<$0.01 per transaction)

Remember that Jupiter is just an aggregator - your swaps are executed directly on the underlying DEXs (like Raydium, Orca, etc.) through smart contracts.

If you have any questions or uncertainties, please join the official Telegram group: https://t.me/GToken_EN

GTokenTool

GTokenTool is the most comprehensive one click coin issuance tool, supporting multiple public chains such as TON, SOL, BSC, etc. Function: Create tokensmarket value managementbatch airdropstoken pre-sales IDO、 Lockpledge mining, etc. Provide a visual interface that allows users to quickly create, deploy, and manage their own cryptocurrencies without writing code.

Similar recommendations