scheduleCancel payload - Scheduled Cancellations
Decode Hyperliquid `scheduleCancel` payloads for scheduled cancellations, returned through Dwellir's read-only L1 gRPC API.
Read-only action reference
Dwellir's Hyperliquid gRPC API returns this decoded action payload through
StreamBlocks and
GetBlock. It does not submit or execute this action.
Submit supported user write actions through Hyperliquid's native
POST /exchange
endpoint.
The decoded scheduleCancel payload records creation, extension, or removal of Hyperliquid's scheduled cancel-all operation.
Sample Data
{
"signature": {
"r": "0x716e2f7591f552ba784c39fa3198c71a83fc13d93d206aa650571206149cb747",
"s": "0x6e021299550e2b71871f3e98acf02c45c4fe5c0a09b4fc1e613db585eb9d0150",
"v": 28
},
"action": {
"type": "scheduleCancel",
"time": 1768146928010
},
"nonce": 1768146913010
}View this transaction on Hypurrscan
Field Reference
Action Fields
| Field | Type | Description |
|---|---|---|
type | string | Always "scheduleCancel" |
time | number | UTC timestamp (milliseconds) when orders should be cancelled |
Dead-Man's Switch Pattern
The native scheduled-cancellation flow typically works as follows:
- A client submits orders and schedules cancellation for T+N seconds through Hyperliquid's native Exchange API.
- The client continuously extends the cancellation time while operating normally.
- If the client fails, Hyperliquid cancels the orders at the scheduled time.
This prevents orphaned orders from remaining on the book if a trading bot crashes.
Use Cases
Risk Management Monitoring
Track how traders implement fail-safes:
def process_scheduleCancel_action(action):
cancel_time = action.get('time')
if cancel_time:
from datetime import datetime
cancel_dt = datetime.fromtimestamp(cancel_time / 1000)
print(f"Orders scheduled to cancel at {cancel_dt}")Bot Health Detection
Monitor schedule cancel extensions as a proxy for bot health.
Market Stability Analysis
Track how many orders have dead-man switches configured.
Related Action Payloads
- order - Order payloads
- cancel - Immediate order cancellation
- cancelByCloid - Cancellations by client order ID