stacks_market_redeem
Redeem winning shares from a resolved Stacks Market prediction market to claim STX. Call after market resolution with an unlocked wallet on mainnet.
Instructions
Redeem winning shares after a Stacks Market prediction market is resolved.
Call this after the market has been resolved to claim STX for the winning side shares you hold.
Requires an unlocked wallet. 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>"
},
"name": "stacks_market_redeem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | Market ID (epoch ms timestamp) of the resolved market |