Create token

Create new token

Method is used to create new token

Attention! If you want to use the generated one-time wallet to sign transactions, just leave parameter "private" blank

If you want to sign transaction via API using you own private key - fill in the field "private" in base58 format

POST /createToken

Multipart/form-data method is used to create new token

Headers

NameValue

Content-Type

application/json

x-api-key

The API key for authentication

Parameters

ParameterDescriptionRequired

file

Image of new token

Yes

name

Name of new token

Yes

symbol

Symbol of new token

Yes

description

Description of new token

Yes

twitter

Twitter of new token

telegram

Telegram of new token

website

Website of new token

amount

Amount of the token for initial buy (optional)

slippage

Allowed slippage percentage (optional)

priorityFee

Priority fee for the transaction

private

Private key (optional)

Body

Response

{
  "signature": "your_transaction_signature"
}

Examples

curl --location 'https://rpc.api-pump.fun/createToken' \
--header 'x-api-key: your_api_key' \
--form 'file=@"/path/to/image/image.jpg"' \
--form 'name="Coin"' \
--form 'symbol="COIN"' \
--form 'description="Coin description"'

Last updated