factor_hl_cancel_order_offchain
Cancel a HyperLiquid perp order by cloid through the off-chain Exchange API, including HIP-3 builder-dex orders that CoreWriter cannot route. Kills the resting order without moving funds.
Instructions
Cancel a HyperLiquid perp order by cloid via the off-chain HL Exchange API. Required for HIP-3 builder-dex orders (xyz:GOLD, etc) which CoreWriter does not route. Does NOT move funds — only kills the resting order. HyperEVM (chain 999) only.
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": {
"vault": "<vault>",
"perp": "<perp>",
"cloid": "<cloid>"
},
"name": "factor_hl_cancel_order_offchain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| perp | Yes | Qualified symbol. Builder dex: "xyz:GOLD", "xyz:BRENTOIL", ... Main dex: "ETH", "BTC", or numeric index as string. | |
| cloid | Yes | Client order id — 0x + 32 hex chars (128 bits). | |
| vault | Yes | Vault contract address (HyperEVM). | |
| password | No | Wallet password if encrypted. |