Transfer Token
Transfer Pump.fun token from one wallet to another.
Secure internal transfer between two platform wallets if internalTransfer is true.
Request Body
mint
(string)
The mint address of the token.
fromWallet
(string)
The id of the wallet sending the Token.
recipientWallet
(string)
The id of the wallet receiving the Token.
amountInToken
(string)
The amount of token to send.
feePayer
(string) nullable
The id of the wallet paying for the transaction.
internalTransfer
(boolean) nullable
If true, the transfer must be between wallets within the same account, otherwise the transfer will fail. If not present or false, the transfer can be sent to any external wallet.
Response
result
(object)
An object containing the solana balance of the wallet.
mint
(string)
The mint address of the token.
fromWallet
(string)
The id of the wallet sending the Sol.
recipientWallet
(string)
The id of the wallet receiving the Sol.
amountInToken
(number)
The amount of token sent.
signature
(string)
The signature of the transaction.
fromTokenAccount
(string)
The token account of the sender.
recipientTokenAccount
(string)
The token account of the recipient.
solscan
(object)
An object containing Solana Explorer URLs for the wallet.
mint
(string)
The Solana Explorer URL for the token.
fromTokenAccount
(string)
The Solana Explorer URL for the sender token account.
recipientTokenAccount
(string)
The Solana Explorer URL for the recipient token account.
fromWallet
(string)
The Solana Explorer URL for the sender wallet.
recipientWallet
(string)
The Solana Explorer URL for the recipient wallet.
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
Sending Pump.fun token from one wallet to another.
Sending Pump.fun token profits to an external wallet.
Endpoint
https://api.tradepump.fun/v1/token/transfer
Example Request
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.token.transferToken({
mint: "<mint>",
fromWallet: "<wallet>",
recipientWallet: "<wallet>",
amountInToken: 1000000000,
feePayer: null,
internalTransfer: false
});
Response Example
{
"result": {
"mint": "<:mint>",
"fromWallet": "<:id>",
"recipientWallet": "<:id-recipientWallet>",
"amountInToken": "1000000000",
"signature": "<:signature>",
"fromTokenAccount": "<:fromTokenAccount>",
"recipientTokenAccount": "<:recipientTokenAccount>",
},
"solscan": {
"mint": "https://solscan.io/token/<:mint>",
"fromTokenAccount": "https://solscan.io/account/<:fromTokenAccount>",
"recipientTokenAccount": "https://solscan.io/account/<:recipientTokenAccount>",
"fromWallet": "https://solscan.io/account/<:id>",
"recipientWallet": "https://solscan.io/account/<:id-recipientWallet>",
"tx": "https://solscan.io/tx/<:signature>"
},
"pumpfun": {
"mint": "https://pump.fun/coin/<:mint>"
}
}