build_close_market_transaction
Close a betting market on Solana by building the transaction using the market public key and caller wallet.
Instructions
[REQUIRES BAOZI_LIVE=1] Build transaction to close betting on a 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>",
"caller_wallet": "<caller_wallet>"
},
"name": "build_close_market_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market public key | |
| caller_wallet | Yes | Caller wallet (creator) |