build_resolve_race_transaction
Resolve a race market by building a transaction that specifies the winning outcome index, enabling on-chain settlement for Solana prediction markets.
Instructions
[REQUIRES BAOZI_LIVE=1] Build transaction to directly resolve a race 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": {
"race_market": "<race_market>",
"winning_outcome_index": "<winning_outcome_index>",
"resolver_wallet": "<resolver_wallet>"
},
"name": "build_resolve_race_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| race_market | Yes | Race market public key | |
| resolver_wallet | Yes | Resolver wallet | |
| winning_outcome_index | Yes | Index of winning outcome |