build_cancel_race_transaction
Cancel a race market by building a transaction that lets all bettors claim refunds after cancellation.
Instructions
[REQUIRES BAOZI_LIVE=1] Build transaction to cancel a race market. All bettors can claim refunds after cancellation.
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>",
"reason": "<reason>",
"authority_wallet": "<authority_wallet>"
},
"name": "build_cancel_race_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Reason for cancellation | |
| race_market | Yes | Race market public key | |
| authority_wallet | Yes | Authority wallet (creator or admin) |