Launch a token on pump.fun
launch_tokenPrepare a pump.fun token launch with details the user has confirmed (call start_launch first and ask its questions). Creates a draft that expires in 30 minutes and returns an approveUrl. It touches no wallet and moves no funds: the user reviews the draft and signs it in their own wallet, and nothing is launched or paid until they do. Show the approveUrl to the user exactly as returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name, as the user chose it. 32 characters max. | |
| site | No | Make a free token site (default true). It becomes the website link unless website is set, and goes live when the launch confirms. | |
| story | No | Text for the token site: a few plain paragraphs, 2,000 characters max. | |
| symbol | Yes | Ticker, e.g. RKT. 10 characters max, usually 3–6 capital letters. | |
| No | The token's X (Twitter) link, https. | ||
| website | No | The token's own website, https. Leave it out to use the free token site. | |
| imageSvg | No | A logo you drew as an SVG document, used when there's no imageUrl: square, flat, bold shapes, under 100 KB, no scripts. It becomes a 1024×1024 PNG; the user sees it on the approval page before signing. | |
| imageUrl | No | https URL of a PNG, JPEG, GIF or WebP up to 5 MB. If omitted, the user uploads one on the approval page. | |
| siteName | No | The site address the user chose from start_launch, e.g. rocket-coin. If it's been taken since, the next free one is used and the summary says so. Default: the ticker. | |
| telegram | No | The token's Telegram link, https. | |
| siteAccent | No | Token site accent color, #RRGGBB, bright enough for dark text. | |
| description | No | Short description shown on pump.fun. 500 characters max. | |
| initialBuySol | No | Optional first buy in SOL, as a decimal string. Max 5. |