gas-pumpPump.fun Token

Introduction

Pump.fun is a decentralized platform for launching and trading tokens on the Solana blockchain. With SolanaPortal, users can create and deploy tokens directly on Pump.fun using two methods:

  1. Single Buy Token Creation: The creator mints a new token and immediately purchases an initial amount to activate and list it.

  2. Bundle Buy Token Creation: Purchase the token simultaneously using Jito bundle transactions, ensuring a fair and efficient launch either through single or mulitple wallets.

circle-info

Each transaction in a bundle buy must have a different SOL amount.

triangle-exclamation

Both methods are built on SolanaPortal’s robust API endpoints, ensuring reliability and speed regardless of blockchain congestion.


Metadata Parameters for IPFS Upload

Before creating a token, metadata must be uploaded to IPFS of Pump.fun given below.

https://pump.fun/api/ipfs

The following parameters are required to store token details.

Parameter

Type

Required

Description

image

Image

βœ…

The token image file to be uploaded.

name

String

βœ…

The name of the token.

symbol

String

βœ…

The ticker symbol of the token.

description

String

βœ…

A brief description of the token.

twitter

String

βœ…

URL to the project's Twitter/X profile.

telegram

String

βœ…

URL to the project's Telegram channel.

website

String

βœ…

URL to the project's official website.

showName

Boolean

βœ…

Whether the token name should be displayed on Pump.fun.


Metadata Explanations

Each parameter in the Standard Token Creation API plays a vital role in defining how your token functions on the Solana blockchain. Below is a detailed breakdown of all required parameters, along with practical examples and best practices.

1. image

The image file representing the token.

Example:

triangle-exclamation

2. name

The name of the token in metadata.

Example:

circle-info

This should match the token name used in token creation.

3. symbol

The symbol or ticker of the token.

Example:

⚠️ Max length: 10 characters.

4. description

A brief description of the token.

Example:

circle-exclamation

5. twitter

The Twitter/X profile link of the project.

Example:

6. telegram

The Telegram community link.

Example:

7. website

The official website of the project.

Example:

circle-info

Ensure the website is accessible and valid.

8. showName

Defines whether the token name should be displayed on Pump.fun.

Supported values:

  • true – Display token name

  • false – Hide token name

Example:

circle-info

Set to true to show the token name.

Example Metadata Upload Request

API Endpoint - Pump.fun Token Creation

For both single buy and bundle buy token creation.

Core Parameters for Pump.fun Token Creation

Parameter

Type

Required

Description

wallet_address

String

βœ…

The public key of the wallet creating the token.

name

String

βœ…

The token's name retrieved from metadata IPFS.

symbol

String

βœ…

The token symbol retrieved from metadata IPFS.

metadataUri

String

βœ…

IPFS metadata URL containing the token details.

amount

Float

βœ…

The SOL amount for the first buy transaction.

slippage

Integer

❌

Maximum slippage tolerance.

tip

Float

❌

Priority fee for faster transaction processing.

type

String

❌

Transaction type (jito).


Parameter Explanations

1. wallet_address

The public address of the wallet initiating the transaction, required for signing and executing the swap. It can also be derived from the private key as explained in the implementation.

Example:

2. name

The name of the token to be created. Retrieved from the IPFS Metadata.

Example:

3. symbol

The symbol or ticker for the token. Retrieved from the IPFS Metadata.

4. metadataUri

The IPFS metadata URI containing the token details. Retrieved from the IPFS Metadata.

  • Supported values: raydium, jupiter, pumpfun, moonshot.

Example:

5. amount

The quantity of tokens involved in the trade.

  • For buy: The value should be specified in SOL (e.g., 0.01) since you're purchasing tokens using SOL.

  • For sell: The value should be the number of tokens you want to sell (e.g., 1550 or 5090.25).

Example:

triangle-exclamation

6. slippage

The maximum price variation you are willing to tolerate during the swap, expressed as a percentage.

Example:

circle-exclamation

7. tip

A priority fee to ensure faster processing of your transaction, especially during network congestion.

Example:

circle-info

Use a competitive tip value during high network activity to prioritize your transaction.

8. type

Specifies the transaction type.

  • Supported values: jito (default), bloxroute.

Example:

circle-info

Use jito for priority execution.


Single Buy Token Creation

Single Buy Token Creation is the process of deploying a token on Pump.fun while executing the first mandatory purchase. This ensures the token is activated and listed immediately.

Example Parameters for Single Buy Token Creation


Bundle Buy Token Creation

Bundle Buy Token Creation allows multiple wallets to execute the first buy transaction together using Jito bundle swaps. This method ensures fair launches by preventing a single user from gaining an advantage.

⚠ Each buy amount must be different, as Jito does not allow identical transactions in a bundle.

Example Parameters for Bundle Buy Token Creation


Important Notes

  • Metadata parameters (name, symbol, metadataUri) should be retrieved from IPFS during token creation.

  • In Bundle Buy transactions, all transactions in the bundle must succeed, or the entire bundle fails.

  • Ensure that different buy amounts are set for each wallet in the bundle.

  • If metadata is missing, the token creation will fail.

Next Steps

To learn how to implement pump.fun token creation programmatically, visit the language-specific guides:

nodeSwapping with Node.jschevron-rightpythonSwapping with Pythonchevron-rightrustSwapping with Rustchevron-right

Last updated