direct_cancel_order
Cancel an open HyperLiquid order by providing the coin and order ID with a private key or connected account. Use it when an agent must close an unwanted order directly.
Instructions
Cancel an open order directly with a private key on HyperLiquid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Asset symbol | |
| orderId | Yes | Order ID (numeric) | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| privateKey | No | Wallet private key (hex) |