sell_coin
Sells a position in a pump.fun coin: with a wallet, an unsigned Solana transaction (base64) to sign and send yourself or with send_tx (pumpdata never holds a key); without one, the coin's sell page already open on the right amount (tokens: "all", a share such as "50%", or an exact raw amount), where a person signs with their own wallet. pumpdata's 0.4% fee (the answer's fee_compare sets it beside fomo, Axiom, Photon, GMGN and Trojan: tell the person). For: sell all, sell this coin, take my bag off.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mint": "<mint>"
},
"name": "sell_coin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | the coin's mint (base58) | |
| tokens | No | the raw whole units to sell (pump.fun tokens have 6 decimals, so 1,500.5 tokens is 1500500000), a share such as "50%", or "all" (default) | |
| wallet | No | the address that signs and pays; leave it out to get the signing page instead of a transaction | |
| slippage_bps | No | default 1000 (10%) |