Generate API Key

Generate new API Key & create a wallet

POST /createWallet

Method is used to generate new API Key & create a new wallet. It returns the private key, public key, and API key of the newly created wallet.

Attention! If you want to use the generated one-time wallet to sign transactions, you need to save the generated private key and top up the SOL balance of the associated public address

If you want to use your own node to sign transactions, then it is enough to save only the API key to access the endpoints

Headers

NameValue

Content-Type

application/json

Response

{
  "privateKey": "your_private_key_here",
  "publicKey": "your_public_key_here",
  "apiKey": "your_api_key_here"
}

Examples

curl --location --request POST 'https://rpc.api-pump.fun/createWallet' \
--header 'Content-Type: application/json'

Last updated