build_cancel_market_transaction
Cancel a boolean prediction market with a transaction that enables refunds for all bettors. Requires the creator or admin's authority wallet to proceed.
Instructions
[REQUIRES BAOZI_LIVE=1] Build transaction to cancel a boolean market. All bettors can claim refunds after cancellation. Only creator or admin can cancel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market public key | |
| reason | Yes | Reason for cancellation | |
| authority_wallet | Yes | Authority wallet (creator or admin) |