build_claim_winnings_transaction
Build an unsigned transaction to claim winnings from a resolved prediction market, using market, position, and user wallet.
Instructions
[REQUIRES BAOZI_LIVE=1] Build unsigned transaction to claim winnings from a resolved market.
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": "<market>",
"position": "<position>",
"user_wallet": "<user_wallet>"
},
"name": "build_claim_winnings_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market public key | |
| position | Yes | Position PDA | |
| user_wallet | Yes | User wallet |