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.
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) |