curl --request POST \
--url https://api.hyperliquid.xyz/exchange \
--header 'Content-Type: application/json' \
--data '{
"action": {
"type": "scheduleCancel",
"time": 1705234867890
},
"nonce": 1705234567890,
"signature": {
"r": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"s": "0xfedcba0987654321fedcba0987654321fedcba0987654321fedcba0987654321",
"v": 27
},
"vaultAddress": null
}'
{
"status": "ok",
"response": {
"type": "scheduleCancel"
}
}
curl --request POST \
--url https://api.hyperliquid.xyz/exchange \
--header 'Content-Type: application/json' \
--data '{
"action": {
"type": "scheduleCancel",
"time": 1705234867890
},
"nonce": 1705234567890,
"signature": {
"r": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"s": "0xfedcba0987654321fedcba0987654321fedcba0987654321fedcba0987654321",
"v": 27
},
"vaultAddress": null
}'
{
"status": "ok",
"response": {
"type": "scheduleCancel"
}
}
action
(object, required) — The schedule cancel action object containing:
type
(string) — Must be "scheduleCancel"
time
(number, optional) — Unix timestamp in milliseconds when to cancel all orders. Omit to remove existing scheduled cancelnonce
(number, required) — Current timestamp in milliseconds (must be recent)
signature
(object, required) — EIP-712 signature of the action
vaultAddress
(string, optional) — Address when trading on behalf of a vault or subaccountexpiresAfter
(number, optional) — Timestamp in milliseconds after which the request is rejectedstatus
— "ok"
if request processedresponse
— Contains operation details:
type
— "scheduleCancel"
time
parameter to remove an existing scheduled cancel# Schedule cancel in 60 seconds
curl -X POST https://api.hyperliquid.xyz/exchange \
-H "Content-Type: application/json" \
-d '{
"action": {
"type": "scheduleCancel",
"time": 1234567950123
},
"nonce": 1234567890123,
"signature": {...}
}'
# Remove scheduled cancel
curl -X POST https://api.hyperliquid.xyz/exchange \
-H "Content-Type: application/json" \
-d '{
"action": {
"type": "scheduleCancel"
},
"nonce": 1234567890123,
"signature": {...}
}'
{
"status": "ok",
"response": {
"type": "scheduleCancel"
}
}
Schedule cancel result
The response is of type object
.