Prepare: cancel a Zero Dark order
darkroom_cancelAn unsigned transaction to cancel an order by its commitment, from the owner or one of its session keys. It counts from the next batch (one already being proven keeps it). Simulated from the wallet.
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": {
"wallet": "<wallet>",
"commitment": "<commitment>"
},
"name": "darkroom_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet's address (0x...): the transactions are built for it to sign | |
| commitment | Yes | The order's commitment, 0x + 64 hex |