Create A Wallet
POST
Create a new solana custodial wallet.
Request Body
nickname
(string) nullable
An optional nickname of the wallet.
description
(string) nullable
An optional description of the wallet.
Response
Useful for
Creating a new custodial wallet.
Create wallet to transfer Sol/Tokens to.
Create wallet to trade with.
Building dynamic trading bot that spins up wallets on demand.
Endpoint
https://api.tradepump.fun/v1/wallet
Example Request
Node
Curl
Axios
1
2
3
4
5
6
7
8
9
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.wallet.create({
nickname: "My Wallet",
});
Response Example
{
"result": {
"id": "<:id>",
"fkAccountId": "<account-id>",
"nickname": "My Wallet",
"description": null,
"primary": true,
"exp": "1000",
"level": 1,
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z"
},
"solscan": {
"wallet": "https://solscan.io/account/<:id>"
}
}