Bundle sell Pump.fun Token
Bundle together multiple sells from multiple wallets at once for a pump.fun token.
Request Body
sells
(object)
An array of sell objects.
fromWallet
(string)
The id of the wallet selling the token.
amountInToken
(string)
The amount of token to sell.
slippage
(number) nullable
The slippage for the transaction, overrides the main slippage if present.
mint
(string)
The mint address of the token.
feePayer
(string)
The id of the wallet paying for the transaction.
slippage
(number) nullable
The main slippage for the transaction, if not provided, defaults to 0.5%.
priorityUnitLimit
(number) nullable
The maximum amount of priority units the user is willing to pay for the transaction.
priorityUnitPrice
(number) nullable
The priority unit price for the transaction.
Response
result
(object)
An object containing the solana balance of the wallet.
mint
(string)
The mint address of the token.
signature
(string)
The signature of the transaction.
transactionResult
(object)
The result of the transaction.
solscan
(object)
An object containing Solana Explorer URLs for the wallet.
mint
(string)
The Solana Explorer URL for the token mint.
tx
(string)
The Solana Explorer URL for the transaction.
pumpfun
(object)
An object containing the Pump.fun URL for the token.
mint
(string)
The Pump.fun URL for the token.
Useful for
Selling a Pump.fun token on multiple wallets at once.
Building a complex Pump.fun token sniper bot.
Endpoint
https://api.tradepump.fun/v1/trade/bundle/sell
Example Request
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.bundle.sell({
sells: [
{
fromWallet: "<wallet-1>",
amountInToken: 1000000000,
slippage: 500,
},
{
fromWallet: "<wallet-2>",
amountInToken: 1000000000,
slippage: 500,
},
],
mint: "<mint>",
feePayer: "<wallet-1>",
slippage: 500,
priorityUnitLimit: null,
priorityUnitPrice: null,
});
Response Example
{
"result": {
"mint": "<:mint>",
"signature": "<:signature>",
"transactionResult": {
"success": true,
"signature": "<:signature>",
"results": "<:tx-result>"
},
},
"solscan": {
"mint": "https://solscan.io/token/<:mint>",
"tx": "https://solscan.io/tx/<:signature>"
},
"pumpfun": {
"mint": "https://pump.fun/coin/<:mint>"
}
}