Laser Create
POST /v1/laser/create
Launches a Pump token with a managed wallet as creator and payer. The mint keypair is generated and signed server-side. SolanaLaser does not host token metadata, images, or social links.
uri is required. It must point to metadata you host yourself, using an
https://, http://, or ipfs:// URI. The full display metadata belongs at
that URI; SolanaLaser only writes the URI on-chain.
Request
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | Token name. |
symbol | string | Yes | Ticker symbol. |
uri | string | Yes | Your externally hosted metadata URI. Aliases: metadataUrl, metadataUri. |
wallet | string | No | Managed creator wallet. Defaults to the account default wallet. |
mayhem_mode | boolean | No | Enables Pump mayhem mode. Alias: mayhemMode. |
cashback | boolean | No | Opts into creator cashback. |
initial_buy | number or string | No | Developer buy in SOL, atomically combined with creation. Aliases: initialBuy, buyAmountSol, devBuy. |
slippage | number or string | No | Percentage for initial_buy; default 2, maximum 50. |
confirm | boolean | No | Wait for on-chain confirmation; default true. |
Example
const token = await solanaLaser("/v1/laser/create", {
name: "My Token",
symbol: "MYTKN",
uri: "ipfs://YOUR_METADATA_CID",
initial_buy: 0.1,
slippage: 5,
});
console.log(`Minted ${token.mint} - https://pump.fun/coin/${token.mint}`);
Response
{
"mint": "NEW_TOKEN_MINT",
"creator": "MANAGED_WALLET_PUBLIC_KEY",
"metadata_uri": "ipfs://YOUR_METADATA_CID",
"signature": "TRANSACTION_SIGNATURE",
"confirmed": true,
"confirmation_status": "confirmed"
}