Hyperliquid Leverage Changes
hl_leverage_changesHyperliquid positions whose leverage or margin mode differs between two consecutive complete position snapshots, newest first: one row per wallet and symbol with the previous and the new leverage, margin mode, side, size and entry price. ts is when the later snapshot was written, not when the venue changed the setting; positions are captured about every 12 minutes, so changes arrive in batches. Without wallet the window defaults to the last 24 hours and is at most 31 days. order=asc follows the feed (stop on an empty page). Same data as GET /v1/hyperliquid/leverage-changes.
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_leverage_changes"
}
}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` 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` is given. | |
| change | No | `up` (leverage rose), `down` (leverage fell) or `mode` (only the margin mode, `cross` or `isolated`, changed). Omit for every change. | |
| 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. | |
| 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 there is no default window and no 31-day cap. | |
| min_leverage | No | Smallest NEW `leverage`, 0 or more. Default 0: no floor. |