orbs_cancel_order
Cancel a spot order onchain via its order digest, with confirmation-gated execution.
Instructions
Cancel a Spot order onchain by calling RePermit.cancel with the order digest. Write, confirmation-gated.
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": {
"digest": "<digest>"
},
"name": "orbs_cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | Yes | RePermit digest to cancel (from prepare step or query) | |
| chainId | No | Chain ID (defaults to runtime config) |