Mayhem mode
An opt-in launch mode where pump.fun's own trading agent trades your coin for its first 24 hours.
Set mayhemMode: true on Create a token and an autonomous pump.fun agent buys and sells the coin for 24 hours with randomized, roughly balanced trades (at most about one a second). The coin is minted with 2 billion tokens instead of 1 billion: the extra billion is the agent's inventory, and whatever it has not sold at the end is burned.
Rules
- SOL or USDC quotes only:
mayhemModewith a custom pair is refused with422 mayhem_quote_not_allowed. pump.fun can switch the mode off on chain (409 mayhem_disabled). - No synthetic migration: a buy past the remaining supply fails unless you pass
partialFill: trueon the buy, which then takes what is left. - A Mayhem coin cannot be taken over (CTO), cannot be the quote of another coin and is not routable through multi-hop swaps.
- Trading is unchanged otherwise: the same buy / sell requests,
pool: "auto"follows it to PumpSwap after graduation.
Reading it
Token info returns mayhem: { enabled } (and curve.mayhem); quotes return mayhem. The agent's schedule (endsAt) and remaining inventory live in a pump.fun program account the public SDK does not decode yet; when it does, they will appear next to enabled.
Create a Mayhem coin with a 0.5 SOL dev buy
{ "publicKey": "YOUR_WALLET", "action": "create", "mint": "NEW_MINT_PUBLIC_KEY",
"tokenMetadata": { "name": "Chaos", "symbol": "CHAOS", "uri": "https://ipfs.io/ipfs/…" },
"amount": 0.5, "denominatedInSol": "true", "mayhemMode": true }
The agent is pump.fun's, not ours: its trades show up in the live feed like any other wallet's. Nothing here guarantees volume or a price.