df-hyperliquid-core 0.0.10-beta

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
 "source": "Recorded from wss://api.hyperliquid.xyz/ws on 2026-10-18 (unix time 1792331151) by a Node 22 WebSocket client: the HLP vault, 0xdfc24b077bc1425ad1dea75bcb6f8158e10df303, whose frames carry what the 2026-10-08 accounts' leave out: the vaults it leads, deposits into it and withdrawals from it, and the snapshot that opens its order history. Read-only: subscriptions only. Each frame is byte for byte as received unless notes says it was trimmed.",
 "frames": {
  "ack.webData3": "{\"channel\":\"subscriptionResponse\",\"data\":{\"method\":\"subscribe\",\"subscription\":{\"type\":\"webData3\",\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\"}}}",
  "webData3": "{\"channel\":\"webData3\",\"data\":{\"userState\":{\"agentAddress\":null,\"agentValidUntil\":null,\"cumLedger\":\"38812206.6000000015\",\"serverTime\":1792331150812,\"isVault\":true,\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\"},\"perpDexStates\":[{\"totalVaultEquity\":\"139705345.523191005\",\"perpsAtOpenInterestCap\":[\"CANTO\",\"FTM\",\"JELLY\",\"LOOM\",\"RLB\",\"VINE\",\"ZEREBRO\"],\"leadingVaults\":[{\"address\":\"0x010461c14e146ac35fe42271bdc1134ee31c703a\",\"name\":\"HLP Strategy A\"},{\"address\":\"0x2e3d94f0562703b25c83308a05046ddaf9a8dd14\",\"name\":\"HLP Liquidator\"},{\"address\":\"0x2ed5c4484ea3ff8b57d5f2fb152a40d9f2b68308\",\"name\":\"HLP Liquidator 4\"},{\"address\":\"0x31ca8395cf837de08b24da3f660e77761dfb974b\",\"name\":\"HLP Strategy B\"},{\"address\":\"0x469f690213c467c39a23efacfd2816896009d7d8\",\"name\":\"HLP Strategy X\"},{\"address\":\"0x5e177e5e39c0f4e421f5865a6d8beed8d921cb70\",\"name\":\"HLP Liquidator 3\"},{\"address\":\"0xb0a55f13d22f66e6d495ac98113841b2326e9540\",\"name\":\"HLP Liquidator 2\"}]},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\",\"perpsAtOpenInterestCap\":[\"para:PAPER\"]},{\"totalVaultEquity\":\"0.0\"},{\"totalVaultEquity\":\"0.0\"}]}}",
  "ack.userNonFundingLedgerUpdates": "{\"channel\":\"subscriptionResponse\",\"data\":{\"method\":\"subscribe\",\"subscription\":{\"type\":\"userNonFundingLedgerUpdates\",\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\"}}}",
  "userNonFundingLedgerUpdates": "{\"channel\":\"userNonFundingLedgerUpdates\",\"data\":{\"isSnapshot\":true,\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\",\"nonFundingLedgerUpdates\":[{\"time\":1792235046442,\"hash\":\"0xadbc32531e3b5d70af350446c0e90e01ed004a38b93e7c425184dda5dd3f375b\",\"delta\":{\"type\":\"vaultWithdraw\",\"vault\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\",\"user\":\"0x6eaeaacf2a58eb87eaf3b45e876cbd773c7d446c\",\"requestedUsd\":\"157.043793\",\"commission\":\"0.0\",\"closingCost\":\"0.0\",\"basis\":\"115.006569\",\"netWithdrawnUsd\":\"157.043793\"}},{\"time\":1792235987066,\"hash\":\"0x1c13a83d8c3da6f31d8d0446c11bb002022300232730c5c5bfdc53904b3180dd\",\"delta\":{\"type\":\"vaultDeposit\",\"vault\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\",\"usdc\":\"79999.61\"}}]}}",
  "ack.userHistoricalOrders": "{\"channel\":\"subscriptionResponse\",\"data\":{\"method\":\"subscribe\",\"subscription\":{\"type\":\"userHistoricalOrders\",\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\"}}}",
  "userHistoricalOrders": "{\"channel\":\"userHistoricalOrders\",\"data\":{\"isSnapshot\":true,\"user\":\"0xdfc24b077bc1425ad1dea75bcb6f8158e10df303\",\"orderHistory\":[]}}"
 },
 "notes": {
  "userNonFundingLedgerUpdates": "trimmed: the first row of each kind, of 100"
 }
}