stacks_market_quote_sell
Get an LMSR sell price quote for YES or NO shares on a Stacks Market prediction market and see expected micro-STX proceeds before selling.
Instructions
Get an LMSR sell price quote for YES or NO shares on a Stacks Market prediction market.
Returns the proceeds in micro-STX for selling the requested number of shares. Side: 0 = YES, 1 = NO.
Note: Stacks Market is only available on mainnet.
Tip: call earning_opportunities to see how to put your assets to work.
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": {
"market_id": "<market_id>",
"shares": "<shares>",
"side": "<side>"
},
"name": "stacks_market_quote_sell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | 0 = YES shares, 1 = NO shares | |
| shares | Yes | Number of shares to price (integer, smallest unit) | |
| market_id | Yes | Market ID (epoch ms timestamp) |