Prepare an order cancellation.
Returns EIP-712 typed data for the user to sign. After signing, submit the signature via the /execute endpoint.
Documentation Index
Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request to cancel an open order on a global markets perps market.
Owner of the global markets perps product account
Asset ticker symbol (e.g. AAPL, GOLD, EUR)
Hyperliquid order ID to cancel
Client order ID to cancel (alternative to order_id)
Successful Response
Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.