Hyperliquid Twaps
hl_twapsHyperliquid TWAP orders, one row per status line, newest first. A line is a status CHANGE (activated, waitingForTrigger, then finished, terminated or stopped), not a slice fill: executed_size and executed_notional_usd are the cumulative totals when the line was written. Rejected placements (error) are hidden unless status=error. Across all wallets the window defaults to the last 24 hours and is at most 31 days; with wallet or twap_id neither applies. order=asc follows the feed: pass each nextCursor back and stop on an empty page. Same data as GET /v1/hyperliquid/twaps; with wallet it is GET /v1/hyperliquid/wallets/{address}/twaps (one feed: the cursors are interchangeable).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hl_twaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ISO-8601 UTC upper bound. Default: now. A window wider than 31 days is refused unless `wallet` or `twap_id` is given. | |
| limit | No | Rows per page. Max 5000. | |
| order | No | `desc` (default, newest first) or `asc`, oldest first: the mode for FOLLOWING the feed. Pass each `nextCursor` back verbatim and stop on an EMPTY page, not on a null cursor (an `asc` page with rows always carries one). A row written late with an older key is not seen by a poller already past it: re-read a small overlap with `start`. | desc |
| start | No | ISO-8601 UTC lower bound. Default: the 24 hours before `end`, unless `wallet` or `twap_id` is given. | |
| cursor | No | `nextCursor` from the previous page, verbatim. It pins the call that returned it: send the same `order`, filters, `start` and `end` again, or the call is refused. | |
| status | No | One status. Default: every status except `error` (a rejected placement, not an order); `error` shows those rows. | |
| symbol | No | Hyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols. | |
| wallet | No | One wallet, 0x followed by 40 hex characters, any case. With it (or `twap_id`) there is no default window and no 31-day cap. | |
| twap_id | No | One TWAP id: every status line of that TWAP. 0 (the default) = every TWAP. Max 9007199254740991. |