{"slug":"chainhilt-ai-api-v1-perp-hyperliquid-order-cancel-all-previe-c714e6","title":"Preview the Hyperliquid cancel-all action the user must sign; it cancels the acc","host":"chainhilt.ai","method":"POST","resource":"https://chainhilt.ai/api/v1/perp/hyperliquid/order/cancel-all/preview","category":"code","description":"Preview the Hyperliquid cancel-all action the user must sign; it cancels the account's open orders on the default perp DEX and spot, but not on builder-deployed perp DEXs. Errors: 400 invalid input or no open orders, 502 provider failure; execution may return 422 exchange rejection. Treat spot and p","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":10,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"accountAddress":"0x1111111111111111111111111111111111111111","fast":true},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"accountAddress":{"description":"Account holding the orders (main account, subaccount or vault), not the API signing wallet; its open orders on the default perp DEX and spot are cancelled.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"expiresAfter":{"description":"Millisecond timestamp after which Hyperliquid rejects the action. Signed with the action.","minimum":0,"type":"integer"},"fast":{"description":"true adds Hyperliquid's fast flag (f) to the cancel; otherwise it is omitted.","type":"boolean"},"nonce":{"description":"Action nonce in milliseconds since the epoch; defaults to the current time.","minimum":0,"type":"integer"},"vaultAddress":{"description":"Vault or subaccount to act for; omit to act for the signer. Signed with the action.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"}},"required":["accountAddress"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Preview the Hyperliquid cancel-all action the user must sign; it cancels the account's open orders on the default perp DEX and spot, but not on builder-deployed perp DEXs. Errors: 400 invalid input or no open orders, 502 provider failure; execution may return 422 exchange rejection. Treat spot and perp as one balance only when the account abstraction mode is \"unifiedAccount\".","last_updated":"2026-11-23T08:04:57.146Z","schemes":["exact"]}