Buy a coin
pump_buyBuy a pump.fun coin with SOL from the server wallet on its bonding curve or DEX pool; trades are simulated first and only sent if they would succeed.
Instructions
Buy a pump.fun coin with SOL from this server's wallet (bonding curve or its DEX pool after graduation). REAL MONEY: confirm the coin and the amount with the user before calling. The trade is simulated first and only sent if it would succeed. Capped by PUMP_MAX_SOL_PER_TRADE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | Yes | ||
| mint | Yes | ||
| slippage_pct | No |