The Jupiter Developer Platform is live. Previous portal users keep their rate limits for free until 30 June 2026 — set up billing on the new platform before then. See the Migration Guide for details.
Use this file to discover all available pages before exploring further.
This guide covers how to claim LP fees from Dynamic Bonding Curve (DBC) pools created via Jupiter Studio. You will look up pool addresses by token mint, query total and unclaimed fees, then create and submit a claim transaction.
API REFERENCETo fully utilize the Studio API, check out the Studio API Reference.
npm install @solana/web3.js@1 # Using v1 of web3.js instead of v2npm install dotenv # If required for wallet setup
RPC
Set up RPC
NOTESolana provides a default RPC endpoint. However, as your application grows, we recommend you to always use your own or provision a 3rd party provider’s RPC endpoint such as Helius or Triton.
import { Connection } from '@solana/web3.js';const connection = new Connection('https://api.mainnet-beta.solana.com');
Wallet
Set up Development Wallet
NOTE
You can paste in your private key for testing purposes but this is not recommended for production applications.
If you want to store your private key in the project directly, you can do it via a .env file.
To set up a development wallet via .env file, you can use the following script.
// index.jsimport { Keypair } from '@solana/web3.js';import dotenv from 'dotenv';require('dotenv').config();const wallet = Keypair.fromSecretKey(bs58.decode(process.env.PRIVATE_KEY || ''));
# .envPRIVATE_KEY=''
To set up a development wallet via a wallet generated via Solana CLI, you can use the following script.
import { Keypair } from '@solana/web3.js';import fs from 'fs';const privateKeyArray = JSON.parse(fs.readFileSync('/Path/To/.config/solana/id.json', 'utf8').trim());const wallet = Keypair.fromSecretKey(new Uint8Array(privateKeyArray));
Your successfully created token via Jupiter Studio, should have a newly generated token mint. By using the mint, you can get the config key and pool addresses associated to it: Dynamic Bonding Curve pool and Meteora DAMM V2 pool.
In order to claim fees from a Dynamic Bonding Curve pool, you will need to pass in the pool address into this endpoint and we will create the Claim Fee transaction for you. After receiving the transaction, you will need to sign and submit the transaction to the network on your own (refer to Transaction Sending Example above).