Launch
Launch a Token
POST
/trade/local/launch
Create a local transaction to launch a token.
Body
mint
string
Yes
bs58 public key for the mint.
publicKey
string
Yes
bs58 public key of the dev wallet
amount
number
No, but if you want the dev wallet to buy you have to choose between amount or percentage; not both.
Amount to buy on the dev wallet denominated by ccy field.
ccy
"sol" | "lamports" | "token" | "usd"
Yes IF amount is provided; No IF using percentage or not buying on dev wallet.
Denomination for amount field (buy 1 sol, buy 1 usd, etc...)
percentage
number > 0 & <=100
No, but if you want the dev wallet to buy you have to choose between amount or percentage; not both.
Percentage of account to buy (1 =1%, 10=10%). Buying 10% means spending 10% of sol in your wallet. There is a known bug when buying super high percentages due to fees. We have acknowledged this issue and are actively working on a fix. We recommend not buying more than 80%.
priorityFee
number > 0.00001
No - defaults to 0.001
Priority Fee denominated in solana. The higher it is, the faster and higher success rate for the transaction is. You can get the optimal priority fee from Recommended Priority
tokenMetadata
object
Yes
An object containing the following fields.
tokenMetadata.name
string
Yes
The name of your token - must match one posted to pump.fun
tokenMetadata.symbol
string
Yes
The ticker of your token - must match one posted to pump.fun.
tokenMetadata.uri
string
Yes
The ipfs url received from posting metadata to pump.fun.
Response
Tutorial
Last updated