@b3os/cli 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/README.md +87 -8
  2. package/assets/b3os-run.py +137 -0
  3. package/assets/skill/b3os/SKILL.md +111 -0
  4. package/dist/commands/_agents.d.ts +14 -0
  5. package/dist/commands/_agents.js +33 -0
  6. package/dist/commands/_agents.js.map +1 -0
  7. package/dist/commands/_common.js +6 -2
  8. package/dist/commands/_common.js.map +1 -1
  9. package/dist/commands/_context.d.ts +49 -0
  10. package/dist/commands/_context.js +260 -0
  11. package/dist/commands/_context.js.map +1 -0
  12. package/dist/commands/_next.d.ts +39 -0
  13. package/dist/commands/_next.js +77 -0
  14. package/dist/commands/_next.js.map +1 -0
  15. package/dist/commands/agent.d.ts +42 -0
  16. package/dist/commands/agent.js +218 -0
  17. package/dist/commands/agent.js.map +1 -0
  18. package/dist/commands/app.d.ts +2 -5
  19. package/dist/commands/app.js +229 -69
  20. package/dist/commands/app.js.map +1 -1
  21. package/dist/commands/auth.d.ts +70 -2
  22. package/dist/commands/auth.js +308 -33
  23. package/dist/commands/auth.js.map +1 -1
  24. package/dist/commands/docs.d.ts +54 -0
  25. package/dist/commands/docs.js +202 -0
  26. package/dist/commands/docs.js.map +1 -0
  27. package/dist/commands/doctor.d.ts +23 -0
  28. package/dist/commands/doctor.js +313 -0
  29. package/dist/commands/doctor.js.map +1 -0
  30. package/dist/commands/init.d.ts +38 -1
  31. package/dist/commands/init.js +259 -60
  32. package/dist/commands/init.js.map +1 -1
  33. package/dist/commands/listen.d.ts +30 -0
  34. package/dist/commands/listen.js +194 -0
  35. package/dist/commands/listen.js.map +1 -0
  36. package/dist/commands/manifest.d.ts +13 -1
  37. package/dist/commands/manifest.js +59 -7
  38. package/dist/commands/manifest.js.map +1 -1
  39. package/dist/commands/mcp.d.ts +25 -2
  40. package/dist/commands/mcp.js +120 -11
  41. package/dist/commands/mcp.js.map +1 -1
  42. package/dist/commands/sandbox.d.ts +35 -6
  43. package/dist/commands/sandbox.js +208 -9
  44. package/dist/commands/sandbox.js.map +1 -1
  45. package/dist/commands/setup.d.ts +39 -0
  46. package/dist/commands/setup.js +203 -0
  47. package/dist/commands/setup.js.map +1 -0
  48. package/dist/commands/tool.d.ts +109 -1
  49. package/dist/commands/tool.js +635 -47
  50. package/dist/commands/tool.js.map +1 -1
  51. package/dist/config.d.ts +30 -6
  52. package/dist/config.js +39 -8
  53. package/dist/config.js.map +1 -1
  54. package/dist/ctx.d.ts +5 -45
  55. package/dist/ctx.js +25 -160
  56. package/dist/ctx.js.map +1 -1
  57. package/dist/docs/index.json +1 -0
  58. package/dist/docs/pages/actions/call.md +300 -0
  59. package/dist/docs/pages/actions/catalog/airtable.md +737 -0
  60. package/dist/docs/pages/actions/catalog/arxiv.md +166 -0
  61. package/dist/docs/pages/actions/catalog/chainalysis-sanctions.md +125 -0
  62. package/dist/docs/pages/actions/catalog/coingecko.md +1558 -0
  63. package/dist/docs/pages/actions/catalog/deps-dev.md +465 -0
  64. package/dist/docs/pages/actions/catalog/dexscreener.md +568 -0
  65. package/dist/docs/pages/actions/catalog/discord.md +784 -0
  66. package/dist/docs/pages/actions/catalog/finnhub.md +776 -0
  67. package/dist/docs/pages/actions/catalog/frankfurter.md +438 -0
  68. package/dist/docs/pages/actions/catalog/github.md +1853 -0
  69. package/dist/docs/pages/actions/catalog/gmail.md +575 -0
  70. package/dist/docs/pages/actions/catalog/google-calendar.md +654 -0
  71. package/dist/docs/pages/actions/catalog/google-drive.md +502 -0
  72. package/dist/docs/pages/actions/catalog/google-sheets.md +700 -0
  73. package/dist/docs/pages/actions/catalog/hacker-news.md +542 -0
  74. package/dist/docs/pages/actions/catalog/http.md +824 -0
  75. package/dist/docs/pages/actions/catalog/hyperliquid.md +942 -0
  76. package/dist/docs/pages/actions/catalog/jira.md +920 -0
  77. package/dist/docs/pages/actions/catalog/kalshi.md +917 -0
  78. package/dist/docs/pages/actions/catalog/linear.md +1030 -0
  79. package/dist/docs/pages/actions/catalog/markets.md +21 -0
  80. package/dist/docs/pages/actions/catalog/morpho.md +247 -0
  81. package/dist/docs/pages/actions/catalog/notion.md +1077 -0
  82. package/dist/docs/pages/actions/catalog/nws.md +485 -0
  83. package/dist/docs/pages/actions/catalog/open-meteo.md +559 -0
  84. package/dist/docs/pages/actions/catalog/polymarket.md +1523 -0
  85. package/dist/docs/pages/actions/catalog/pushbullet.md +220 -0
  86. package/dist/docs/pages/actions/catalog/resend.md +307 -0
  87. package/dist/docs/pages/actions/catalog/s3.md +513 -0
  88. package/dist/docs/pages/actions/catalog/sec-edgar.md +487 -0
  89. package/dist/docs/pages/actions/catalog/slack.md +2629 -0
  90. package/dist/docs/pages/actions/catalog/stripe.md +1405 -0
  91. package/dist/docs/pages/actions/catalog/wikipedia.md +379 -0
  92. package/dist/docs/pages/actions/catalog.md +46 -0
  93. package/dist/docs/pages/actions/limits.md +50 -0
  94. package/dist/docs/pages/actions/model-tools.md +225 -0
  95. package/dist/docs/pages/actions/packs.md +148 -0
  96. package/dist/docs/pages/actions/settings.md +69 -0
  97. package/dist/docs/pages/actions/tools.md +244 -0
  98. package/dist/docs/pages/actions/triggers.md +149 -0
  99. package/dist/docs/pages/actions.md +88 -0
  100. package/dist/docs/pages/compat/anthropic.md +168 -0
  101. package/dist/docs/pages/compat/e2b.md +194 -0
  102. package/dist/docs/pages/compat/firecrawl.md +138 -0
  103. package/dist/docs/pages/compat/openai.md +168 -0
  104. package/dist/docs/pages/concepts/auth.md +151 -0
  105. package/dist/docs/pages/concepts/beta.md +55 -0
  106. package/dist/docs/pages/concepts/glossary.md +71 -0
  107. package/dist/docs/pages/concepts/ids.md +98 -0
  108. package/dist/docs/pages/concepts/jobs.md +229 -0
  109. package/dist/docs/pages/concepts/latency.md +138 -0
  110. package/dist/docs/pages/concepts/limits.md +191 -0
  111. package/dist/docs/pages/concepts/stack.md +59 -0
  112. package/dist/docs/pages/concepts/timing.md +86 -0
  113. package/dist/docs/pages/concepts/usage.md +110 -0
  114. package/dist/docs/pages/design/b3os-yaml.md +370 -0
  115. package/dist/docs/pages/design/deploy-from-github.md +122 -0
  116. package/dist/docs/pages/design/observability.md +134 -0
  117. package/dist/docs/pages/errors.md +1824 -0
  118. package/dist/docs/pages/infer/chat.md +570 -0
  119. package/dist/docs/pages/infer/limits.md +55 -0
  120. package/dist/docs/pages/infer/messages.md +185 -0
  121. package/dist/docs/pages/infer/responses.md +173 -0
  122. package/dist/docs/pages/infer/settings.md +154 -0
  123. package/dist/docs/pages/infer/speech.md +323 -0
  124. package/dist/docs/pages/infer.md +154 -0
  125. package/dist/docs/pages/introduction.md +162 -0
  126. package/dist/docs/pages/platform/addresses.md +174 -0
  127. package/dist/docs/pages/platform/call-log.md +99 -0
  128. package/dist/docs/pages/platform/custom-domains.md +104 -0
  129. package/dist/docs/pages/platform/keys.md +79 -0
  130. package/dist/docs/pages/platform/limits.md +57 -0
  131. package/dist/docs/pages/platform/members.md +101 -0
  132. package/dist/docs/pages/platform/requests.md +116 -0
  133. package/dist/docs/pages/platform/settings.md +129 -0
  134. package/dist/docs/pages/platform/webhooks.md +68 -0
  135. package/dist/docs/pages/platform.md +67 -0
  136. package/dist/docs/pages/quickstart/mcp.md +94 -0
  137. package/dist/docs/pages/quickstart/sandbox-agent.md +205 -0
  138. package/dist/docs/pages/quickstart/scrape.md +134 -0
  139. package/dist/docs/pages/quickstart.md +45 -0
  140. package/dist/docs/pages/render/inspections.md +162 -0
  141. package/dist/docs/pages/render/limits.md +72 -0
  142. package/dist/docs/pages/render/screenshots.md +179 -0
  143. package/dist/docs/pages/render/settings.md +431 -0
  144. package/dist/docs/pages/render/styles.md +342 -0
  145. package/dist/docs/pages/render/videos.md +272 -0
  146. package/dist/docs/pages/render.md +118 -0
  147. package/dist/docs/pages/routines/callables.md +174 -0
  148. package/dist/docs/pages/routines/definitions.md +361 -0
  149. package/dist/docs/pages/routines/limits.md +117 -0
  150. package/dist/docs/pages/routines/runs.md +328 -0
  151. package/dist/docs/pages/routines/settings.md +104 -0
  152. package/dist/docs/pages/routines/triggers.md +339 -0
  153. package/dist/docs/pages/routines.md +216 -0
  154. package/dist/docs/pages/sandboxes/agents.md +217 -0
  155. package/dist/docs/pages/sandboxes/commands.md +272 -0
  156. package/dist/docs/pages/sandboxes/images.md +166 -0
  157. package/dist/docs/pages/sandboxes/limits.md +143 -0
  158. package/dist/docs/pages/sandboxes/ports.md +260 -0
  159. package/dist/docs/pages/sandboxes/settings.md +358 -0
  160. package/dist/docs/pages/sandboxes/snapshots.md +423 -0
  161. package/dist/docs/pages/sandboxes/swarms.md +146 -0
  162. package/dist/docs/pages/sandboxes/volumes.md +131 -0
  163. package/dist/docs/pages/sandboxes.md +231 -0
  164. package/dist/docs/pages/sdks/cli.md +121 -0
  165. package/dist/docs/pages/sdks/mcp.md +169 -0
  166. package/dist/docs/pages/sdks/python.md +146 -0
  167. package/dist/docs/pages/sdks/typescript.md +202 -0
  168. package/dist/docs/pages/sdks.md +282 -0
  169. package/dist/docs/pages/settings.md +33 -0
  170. package/dist/docs/pages/vault/limits.md +46 -0
  171. package/dist/docs/pages/vault.md +133 -0
  172. package/dist/docs/pages/vision/agent-browser.md +115 -0
  173. package/dist/docs/pages/vision/crawl.md +333 -0
  174. package/dist/docs/pages/vision/extract.md +152 -0
  175. package/dist/docs/pages/vision/fetcher.md +15 -0
  176. package/dist/docs/pages/vision/limits.md +79 -0
  177. package/dist/docs/pages/vision/profiles.md +111 -0
  178. package/dist/docs/pages/vision/proxy.md +131 -0
  179. package/dist/docs/pages/vision/scrape.md +356 -0
  180. package/dist/docs/pages/vision/sessions.md +311 -0
  181. package/dist/docs/pages/vision/settings.md +656 -0
  182. package/dist/docs/pages/vision.md +175 -0
  183. package/dist/errors.d.ts +129 -0
  184. package/dist/errors.js +326 -0
  185. package/dist/errors.js.map +1 -0
  186. package/dist/main.d.ts +1 -1
  187. package/dist/main.js +26 -13
  188. package/dist/main.js.map +1 -1
  189. package/dist/manifest/domains.d.ts +50 -0
  190. package/dist/manifest/domains.js +159 -0
  191. package/dist/manifest/domains.js.map +1 -0
  192. package/dist/manifest/link.d.ts +20 -0
  193. package/dist/manifest/link.js +24 -0
  194. package/dist/manifest/link.js.map +1 -0
  195. package/dist/manifest/record.d.ts +1 -1
  196. package/dist/tool/archive.d.ts +33 -0
  197. package/dist/tool/archive.js +174 -0
  198. package/dist/tool/archive.js.map +1 -0
  199. package/dist/tool/calls.d.ts +46 -0
  200. package/dist/tool/calls.js +274 -0
  201. package/dist/tool/calls.js.map +1 -0
  202. package/dist/tool/checks.d.ts +21 -0
  203. package/dist/tool/checks.js +145 -0
  204. package/dist/tool/checks.js.map +1 -0
  205. package/dist/tool/elf.d.ts +19 -0
  206. package/dist/tool/elf.js +107 -0
  207. package/dist/tool/elf.js.map +1 -0
  208. package/dist/tool/predict.d.ts +8 -0
  209. package/dist/tool/predict.js +38 -0
  210. package/dist/tool/predict.js.map +1 -0
  211. package/dist/tool/ustar.d.ts +5 -0
  212. package/dist/tool/ustar.js +220 -0
  213. package/dist/tool/ustar.js.map +1 -0
  214. package/package.json +6 -5
@@ -0,0 +1,942 @@
1
+ # Hyperliquid (read-only)
2
+
3
+ > The io.b3os/hyperliquid pack: 10 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.
4
+
5
+ Source: https://docs.beta.b3os.org/actions/catalog/hyperliquid.md
6
+
7
+ <a id="hyperliquid"></a>
8
+
9
+ `io.b3os/hyperliquid` 1.0.0 · `crypto`, `market-data`, `derivatives`, `hyperliquid` · MIT
10
+
11
+ Read-only data from the Hyperliquid perpetuals exchange through its public info API: markets and their parameters, mid prices, order books, candles, funding rates (with Binance and Bybit for comparison) and funding history, and any account's positions, margin, open orders, fills and transfers. Keyless; no trading, no signing. Hyperliquid rate-limits by IP and the node shares one IP, so poll gently.
12
+
13
+ Every call's result carries `upstream_status` and `timing`: `validate_ms`, `inject_ms`, `render_ms`, `upstream_ms`, `map_ms` and `total_ms`. `upstream` is the service's time; the others are B3OS's own ([call actions](https://docs.beta.b3os.org/actions/call)). The snippets below show no timing values, because a fixture records none.
14
+
15
+ ## Connection
16
+
17
+ No credential: a keyless public API. Calls name no connection.
18
+
19
+ Hosts it reaches: `api.hyperliquid.xyz`.
20
+
21
+ ## Actions
22
+
23
+ | Action | Effect | MCP tool | Title |
24
+ |---|---|---|---|
25
+ | [`get-markets`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-markets) | read | `hyperliquid__get-markets` | Hyperliquid Get Markets |
26
+ | [`get-mids`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-mids) | read | `hyperliquid__get-mids` | Get mid prices |
27
+ | [`get-order-book`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-order-book) | read | `hyperliquid__get-order-book` | Get order book |
28
+ | [`get-candles`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-candles) | read | `hyperliquid__get-candles` | Get candles |
29
+ | [`get-funding-rates`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-funding-rates) | read | `hyperliquid__get-funding-rates` | Hyperliquid Get Funding Rates |
30
+ | [`get-funding-history`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-funding-history) | read | `hyperliquid__get-funding-history` | Get funding history |
31
+ | [`get-account`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-account) | read | `hyperliquid__get-account` | Hyperliquid Get Account |
32
+ | [`get-open-orders`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-open-orders) | read | `hyperliquid__get-open-orders` | Get open orders |
33
+ | [`get-fills`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-fills) | read | `hyperliquid__get-fills` | Get fills |
34
+ | [`get-transfer-history`](https://docs.beta.b3os.org/actions/catalog/hyperliquid#hyperliquid-get-transfer-history) | read | `hyperliquid__get-transfer-history` | Hyperliquid Get Transfer History |
35
+
36
+ <h3 id="hyperliquid-get-markets"><code>get-markets</code></h3>
37
+
38
+ **Hyperliquid Get Markets.** Every perpetual market on Hyperliquid (or on a HIP-3 DEX) with its coin symbol, size decimals, maximum leverage and whether only isolated margin is allowed. Use the coin names with the other actions.
39
+
40
+ Ref `io.b3os/hyperliquid/get-markets@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-markets`
41
+
42
+ **curl**
43
+
44
+ ```bash
45
+ curl -s https://beta-api.b3os.org/v1/actions/call \
46
+ -H "Authorization: Bearer $B3OS_API_KEY" \
47
+ -H "Content-Type: application/json" \
48
+ -d '{"ref": "io.b3os/hyperliquid/get-markets@1", "input": {}}'
49
+ ```
50
+ **TypeScript**
51
+
52
+ ```ts
53
+ import { B3OS } from "@b3os/sdk";
54
+
55
+ const b3os = new B3OS();
56
+ const result = await b3os.actions.call({ ref: "io.b3os/hyperliquid/get-markets@1", input: {} });
57
+ console.log(result.output);
58
+ ```
59
+ **Python**
60
+
61
+ ```python
62
+ from b3os import B3OS
63
+
64
+ b3os = B3OS()
65
+ result = b3os.actions.call({"ref": "io.b3os/hyperliquid/get-markets@1", "input": {}})
66
+ print(result["output"])
67
+ ```
68
+ **MCP**
69
+
70
+ ```json
71
+ {
72
+ "method": "tools/call",
73
+ "params": {"name": "hyperliquid__get-markets", "arguments": {}}
74
+ }
75
+ ```
76
+
77
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-markets` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
78
+
79
+ Output, labeled `fixture`: Hyperliquid Get Markets (response recorded 2026-10-26). From the bundle's `fixtures/get-markets.json`, not a live call.
80
+
81
+ ```json
82
+ {
83
+ "markets": [
84
+ {
85
+ "coin": "BTC",
86
+ "szDecimals": 5,
87
+ "maxLeverage": 40,
88
+ "onlyIsolated": false,
89
+ "dex": null
90
+ },
91
+ {
92
+ "coin": "ETH",
93
+ "szDecimals": 4,
94
+ "maxLeverage": 25,
95
+ "onlyIsolated": false,
96
+ "dex": null
97
+ },
98
+ {
99
+ "coin": "ATOM",
100
+ "szDecimals": 2,
101
+ "maxLeverage": 5,
102
+ "onlyIsolated": false,
103
+ "dex": null
104
+ }
105
+ ]
106
+ }
107
+ ```
108
+
109
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
110
+
111
+ | `pack_error.code` | Service status | Retryable | Message |
112
+ |---|---|---|---|
113
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
114
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
115
+
116
+ <h3 id="hyperliquid-get-mids"><code>get-mids</code></h3>
117
+
118
+ **Get mid prices.** Current mid price of every Hyperliquid market as a map from coin to price string (BTC, ETH, ...; spot pairs appear as @index and outcome sides as #index). One cheap call when you need many prices.
119
+
120
+ Ref `io.b3os/hyperliquid/get-mids@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-mids`
121
+
122
+ **curl**
123
+
124
+ ```bash
125
+ curl -s https://beta-api.b3os.org/v1/actions/call \
126
+ -H "Authorization: Bearer $B3OS_API_KEY" \
127
+ -H "Content-Type: application/json" \
128
+ -d '{"ref": "io.b3os/hyperliquid/get-mids@1", "input": {}}'
129
+ ```
130
+ **TypeScript**
131
+
132
+ ```ts
133
+ import { B3OS } from "@b3os/sdk";
134
+
135
+ const b3os = new B3OS();
136
+ const result = await b3os.actions.call({ ref: "io.b3os/hyperliquid/get-mids@1", input: {} });
137
+ console.log(result.output);
138
+ ```
139
+ **Python**
140
+
141
+ ```python
142
+ from b3os import B3OS
143
+
144
+ b3os = B3OS()
145
+ result = b3os.actions.call({"ref": "io.b3os/hyperliquid/get-mids@1", "input": {}})
146
+ print(result["output"])
147
+ ```
148
+ **MCP**
149
+
150
+ ```json
151
+ {
152
+ "method": "tools/call",
153
+ "params": {"name": "hyperliquid__get-mids", "arguments": {}}
154
+ }
155
+ ```
156
+
157
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-mids` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
158
+
159
+ Output, labeled `fixture`: Get mid prices (response recorded 2026-10-26). From the bundle's `fixtures/get-mids.json`, not a live call.
160
+
161
+ ```json
162
+ {
163
+ "mids": {
164
+ "#114910": "0.5",
165
+ "#114911": "0.5",
166
+ "#114920": "0.179575",
167
+ "#114921": "0.820425",
168
+ "#114930": "0.214425",
169
+ "#114931": "0.785575",
170
+ "#114940": "0.069435",
171
+ "#114941": "0.930565",
172
+ "#114950": "0.104765",
173
+ "#114951": "0.895235",
174
+ "#114960": "0.079755",
175
+ "#114961": "0.920245",
176
+ "#114970": "0.06479",
177
+ "#114971": "0.93521",
178
+ "#114980": "0.025075",
179
+ "#114981": "0.974925",
180
+ "#114990": "0.01432",
181
+ "#114991": "0.98568",
182
+ "#143530": "0.01172",
183
+ "#143531": "0.98828",
184
+ "#143540": "0.501275",
185
+ "#143541": "0.498725",
186
+ "#143550": "0.49997",
187
+ "#143551": "0.50003",
188
+ "#143560": "0.379025",
189
+ "#143561": "0.620975",
190
+ "#143610": "0.49997",
191
+ "#143611": "0.50003",
192
+ "#143620": "0.49997",
193
+ "#143621": "0.50003",
194
+ "#143630": "0.49846",
195
+ "#143631": "0.50154",
196
+ "#143640": "0.524665",
197
+ "#143641": "0.475335",
198
+ "#143650": "0.50003",
199
+ "#143651": "0.49997",
200
+ "#143660": "0.50006",
201
+ "#143661": "0.49994",
202
+ ```
203
+
204
+ The first 40 of 1402 lines; the fixture file has the rest.
205
+
206
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
207
+
208
+ | `pack_error.code` | Service status | Retryable | Message |
209
+ |---|---|---|---|
210
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
211
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
212
+
213
+ <h3 id="hyperliquid-get-order-book"><code>get-order-book</code></h3>
214
+
215
+ **Get order book.** Level-2 order book of one market: up to 20 bid and ask levels with price, size and order count, best levels first. Optionally aggregate prices to 2 to 5 significant figures for a coarser view.
216
+
217
+ Ref `io.b3os/hyperliquid/get-order-book@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-order-book`
218
+
219
+ **curl**
220
+
221
+ ```bash
222
+ curl -s https://beta-api.b3os.org/v1/actions/call \
223
+ -H "Authorization: Bearer $B3OS_API_KEY" \
224
+ -H "Content-Type: application/json" \
225
+ -d '{
226
+ "ref": "io.b3os/hyperliquid/get-order-book@1",
227
+ "input": {"coin": "BTC", "sig_figs": 5}
228
+ }'
229
+ ```
230
+ **TypeScript**
231
+
232
+ ```ts
233
+ import { B3OS } from "@b3os/sdk";
234
+
235
+ const b3os = new B3OS();
236
+ const result = await b3os.actions.call({
237
+ ref: "io.b3os/hyperliquid/get-order-book@1",
238
+ input: { coin: "BTC", sig_figs: 5 },
239
+ });
240
+ console.log(result.output);
241
+ ```
242
+ **Python**
243
+
244
+ ```python
245
+ from b3os import B3OS
246
+
247
+ b3os = B3OS()
248
+ result = b3os.actions.call({
249
+ "ref": "io.b3os/hyperliquid/get-order-book@1",
250
+ "input": {"coin": "BTC", "sig_figs": 5},
251
+ })
252
+ print(result["output"])
253
+ ```
254
+ **MCP**
255
+
256
+ ```json
257
+ {
258
+ "method": "tools/call",
259
+ "params": {
260
+ "name": "hyperliquid__get-order-book",
261
+ "arguments": {"coin": "BTC", "sig_figs": 5}
262
+ }
263
+ }
264
+ ```
265
+
266
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-order-book` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
267
+
268
+ Output, labeled `fixture`: Get order book (response recorded 2026-10-26). From the bundle's `fixtures/get-order-book.json`, not a live call.
269
+
270
+ ```json
271
+ {
272
+ "coin": "BTC",
273
+ "time": 1793000615574,
274
+ "bids": [
275
+ {"price": "80114.0", "size": "10.53497", "orders": 32},
276
+ {"price": "80113.0", "size": "0.82918", "orders": 4},
277
+ {"price": "80112.0", "size": "3.39915", "orders": 6}
278
+ ],
279
+ "asks": [
280
+ {"price": "80115.0", "size": "1.59109", "orders": 10},
281
+ {"price": "80116.0", "size": "0.00017", "orders": 1},
282
+ {"price": "80117.0", "size": "0.22682", "orders": 3}
283
+ ]
284
+ }
285
+ ```
286
+
287
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
288
+
289
+ | `pack_error.code` | Service status | Retryable | Message |
290
+ |---|---|---|---|
291
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
292
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
293
+
294
+ <h3 id="hyperliquid-get-candles"><code>get-candles</code></h3>
295
+
296
+ **Get candles.** OHLCV candles for one market between two times, at 1m, 5m, 15m, 1h, 4h, 1d or 1w: open, high, low and close prices, volume in coins and trade count. Hyperliquid serves at most the 5,000 most recent candles of an interval.
297
+
298
+ Ref `io.b3os/hyperliquid/get-candles@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-candles`
299
+
300
+ **curl**
301
+
302
+ ```bash
303
+ curl -s https://beta-api.b3os.org/v1/actions/call \
304
+ -H "Authorization: Bearer $B3OS_API_KEY" \
305
+ -H "Content-Type: application/json" \
306
+ -d '{
307
+ "ref": "io.b3os/hyperliquid/get-candles@1",
308
+ "input": {
309
+ "coin": "ETH",
310
+ "interval": "1d",
311
+ "start_time": 1792700000000,
312
+ "end_time": 1792990000000
313
+ }
314
+ }'
315
+ ```
316
+ **TypeScript**
317
+
318
+ ```ts
319
+ import { B3OS } from "@b3os/sdk";
320
+
321
+ const b3os = new B3OS();
322
+ const result = await b3os.actions.call({
323
+ ref: "io.b3os/hyperliquid/get-candles@1",
324
+ input: {
325
+ coin: "ETH",
326
+ interval: "1d",
327
+ start_time: 1792700000000,
328
+ end_time: 1792990000000,
329
+ },
330
+ });
331
+ console.log(result.output);
332
+ ```
333
+ **Python**
334
+
335
+ ```python
336
+ from b3os import B3OS
337
+
338
+ b3os = B3OS()
339
+ result = b3os.actions.call({
340
+ "ref": "io.b3os/hyperliquid/get-candles@1",
341
+ "input": {
342
+ "coin": "ETH",
343
+ "interval": "1d",
344
+ "start_time": 1792700000000,
345
+ "end_time": 1792990000000,
346
+ },
347
+ })
348
+ print(result["output"])
349
+ ```
350
+ **MCP**
351
+
352
+ ```json
353
+ {
354
+ "method": "tools/call",
355
+ "params": {
356
+ "name": "hyperliquid__get-candles",
357
+ "arguments": {
358
+ "coin": "ETH",
359
+ "interval": "1d",
360
+ "start_time": 1792700000000,
361
+ "end_time": 1792990000000
362
+ }
363
+ }
364
+ }
365
+ ```
366
+
367
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-candles` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
368
+
369
+ Output, labeled `fixture`: Get candles (response recorded 2026-10-26). From the bundle's `fixtures/get-candles.json`, not a live call.
370
+
371
+ ```json
372
+ {
373
+ "candles": [
374
+ {
375
+ "open_time": 1792627200000,
376
+ "close_time": 1792713599999,
377
+ "open": "2473.1",
378
+ "high": "2481.8",
379
+ "low": "2359.1",
380
+ "close": "2388.1",
381
+ "volume": "410759.0288",
382
+ "trades": 145183
383
+ },
384
+ {
385
+ "open_time": 1792713600000,
386
+ "close_time": 1792799999999,
387
+ "open": "2388.2",
388
+ "high": "2416.7",
389
+ "low": "2349.4",
390
+ "close": "2386.5",
391
+ "volume": "247739.012",
392
+ "trades": 116739
393
+ },
394
+ {
395
+ "open_time": 1792800000000,
396
+ "close_time": 1792886399999,
397
+ "open": "2386.5",
398
+ "high": "2389.4",
399
+ "low": "2281.5",
400
+ "close": "2358.2",
401
+ "volume": "373769.5544",
402
+ "trades": 135072
403
+ }
404
+ ]
405
+ }
406
+ ```
407
+
408
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
409
+
410
+ | `pack_error.code` | Service status | Retryable | Message |
411
+ |---|---|---|---|
412
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
413
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
414
+
415
+ <h3 id="hyperliquid-get-funding-rates"><code>get-funding-rates</code></h3>
416
+
417
+ **Hyperliquid Get Funding Rates.** Predicted next funding rate of every Hyperliquid perp (or one coin), with Binance and Bybit predictions for the same coin when they list it. Rates are per funding interval (Hyperliquid pays hourly); annualizedRate is the Hyperliquid rate times the intervals in a year.
418
+
419
+ Ref `io.b3os/hyperliquid/get-funding-rates@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-funding-rates`
420
+
421
+ **curl**
422
+
423
+ ```bash
424
+ curl -s https://beta-api.b3os.org/v1/actions/call \
425
+ -H "Authorization: Bearer $B3OS_API_KEY" \
426
+ -H "Content-Type: application/json" \
427
+ -d '{
428
+ "ref": "io.b3os/hyperliquid/get-funding-rates@1",
429
+ "input": {"coin": "2Z"}
430
+ }'
431
+ ```
432
+ **TypeScript**
433
+
434
+ ```ts
435
+ import { B3OS } from "@b3os/sdk";
436
+
437
+ const b3os = new B3OS();
438
+ const result = await b3os.actions.call({
439
+ ref: "io.b3os/hyperliquid/get-funding-rates@1",
440
+ input: { coin: "2Z" },
441
+ });
442
+ console.log(result.output);
443
+ ```
444
+ **Python**
445
+
446
+ ```python
447
+ from b3os import B3OS
448
+
449
+ b3os = B3OS()
450
+ result = b3os.actions.call({
451
+ "ref": "io.b3os/hyperliquid/get-funding-rates@1",
452
+ "input": {"coin": "2Z"},
453
+ })
454
+ print(result["output"])
455
+ ```
456
+ **MCP**
457
+
458
+ ```json
459
+ {
460
+ "method": "tools/call",
461
+ "params": {
462
+ "name": "hyperliquid__get-funding-rates",
463
+ "arguments": {"coin": "2Z"}
464
+ }
465
+ }
466
+ ```
467
+
468
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-funding-rates` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
469
+
470
+ Output, labeled `fixture`: Hyperliquid Get Funding Rates (response recorded 2026-10-26). From the bundle's `fixtures/get-funding-rates.json`, not a live call.
471
+
472
+ ```json
473
+ {
474
+ "fundingRates": [
475
+ {
476
+ "coin": "2Z",
477
+ "fundingRate": 0.0000125,
478
+ "intervalHours": 1,
479
+ "annualizedRate": 0.1095,
480
+ "nextFundingTime": 1792998000000,
481
+ "binanceRate": 0.00005,
482
+ "bybitRate": 0.00005
483
+ }
484
+ ]
485
+ }
486
+ ```
487
+
488
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
489
+
490
+ | `pack_error.code` | Service status | Retryable | Message |
491
+ |---|---|---|---|
492
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
493
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
494
+
495
+ <h3 id="hyperliquid-get-funding-history"><code>get-funding-history</code></h3>
496
+
497
+ **Get funding history.** Hourly funding payments of one Hyperliquid perp since a start time: rate per hour and premium at each payment. Hyperliquid returns at most 500 points per call; page by passing the last time plus one as start_time.
498
+
499
+ Ref `io.b3os/hyperliquid/get-funding-history@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-funding-history`
500
+
501
+ **curl**
502
+
503
+ ```bash
504
+ curl -s https://beta-api.b3os.org/v1/actions/call \
505
+ -H "Authorization: Bearer $B3OS_API_KEY" \
506
+ -H "Content-Type: application/json" \
507
+ -d '{
508
+ "ref": "io.b3os/hyperliquid/get-funding-history@1",
509
+ "input": {
510
+ "coin": "ETH",
511
+ "start_time": 1792900000000,
512
+ "end_time": 1792910000000
513
+ }
514
+ }'
515
+ ```
516
+ **TypeScript**
517
+
518
+ ```ts
519
+ import { B3OS } from "@b3os/sdk";
520
+
521
+ const b3os = new B3OS();
522
+ const result = await b3os.actions.call({
523
+ ref: "io.b3os/hyperliquid/get-funding-history@1",
524
+ input: { coin: "ETH", start_time: 1792900000000, end_time: 1792910000000 },
525
+ });
526
+ console.log(result.output);
527
+ ```
528
+ **Python**
529
+
530
+ ```python
531
+ from b3os import B3OS
532
+
533
+ b3os = B3OS()
534
+ result = b3os.actions.call({
535
+ "ref": "io.b3os/hyperliquid/get-funding-history@1",
536
+ "input": {
537
+ "coin": "ETH",
538
+ "start_time": 1792900000000,
539
+ "end_time": 1792910000000,
540
+ },
541
+ })
542
+ print(result["output"])
543
+ ```
544
+ **MCP**
545
+
546
+ ```json
547
+ {
548
+ "method": "tools/call",
549
+ "params": {
550
+ "name": "hyperliquid__get-funding-history",
551
+ "arguments": {
552
+ "coin": "ETH",
553
+ "start_time": 1792900000000,
554
+ "end_time": 1792910000000
555
+ }
556
+ }
557
+ }
558
+ ```
559
+
560
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-funding-history` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
561
+
562
+ Output, labeled `fixture`: Get funding history (response recorded 2026-10-26). From the bundle's `fixtures/get-funding-history.json`, not a live call.
563
+
564
+ ```json
565
+ {
566
+ "history": [
567
+ {
568
+ "time": 1792900800022,
569
+ "funding_rate": "0.0000125",
570
+ "premium": "-0.0003069994"
571
+ },
572
+ {
573
+ "time": 1792904400016,
574
+ "funding_rate": "0.0000125",
575
+ "premium": "-0.0003084392"
576
+ },
577
+ {
578
+ "time": 1792908000030,
579
+ "funding_rate": "0.0000125",
580
+ "premium": "-0.0002612955"
581
+ }
582
+ ]
583
+ }
584
+ ```
585
+
586
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
587
+
588
+ | `pack_error.code` | Service status | Retryable | Message |
589
+ |---|---|---|---|
590
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
591
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
592
+
593
+ <h3 id="hyperliquid-get-account"><code>get-account</code></h3>
594
+
595
+ **Hyperliquid Get Account.** An account's perpetuals state: account value, margin used, total position notional, withdrawable balance, and every open position with size (negative for shorts), entry price, value, unrealized PnL, return on equity, leverage, liquidation price and funding since open. Open orders are in get-open-orders.
596
+
597
+ Ref `io.b3os/hyperliquid/get-account@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-account`
598
+
599
+ **curl**
600
+
601
+ ```bash
602
+ curl -s https://beta-api.b3os.org/v1/actions/call \
603
+ -H "Authorization: Bearer $B3OS_API_KEY" \
604
+ -H "Content-Type: application/json" \
605
+ -d '{
606
+ "ref": "io.b3os/hyperliquid/get-account@1",
607
+ "input": {"address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"}
608
+ }'
609
+ ```
610
+ **TypeScript**
611
+
612
+ ```ts
613
+ import { B3OS } from "@b3os/sdk";
614
+
615
+ const b3os = new B3OS();
616
+ const result = await b3os.actions.call({
617
+ ref: "io.b3os/hyperliquid/get-account@1",
618
+ input: { address: "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303" },
619
+ });
620
+ console.log(result.output);
621
+ ```
622
+ **Python**
623
+
624
+ ```python
625
+ from b3os import B3OS
626
+
627
+ b3os = B3OS()
628
+ result = b3os.actions.call({
629
+ "ref": "io.b3os/hyperliquid/get-account@1",
630
+ "input": {"address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"},
631
+ })
632
+ print(result["output"])
633
+ ```
634
+ **MCP**
635
+
636
+ ```json
637
+ {
638
+ "method": "tools/call",
639
+ "params": {
640
+ "name": "hyperliquid__get-account",
641
+ "arguments": {"address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"}
642
+ }
643
+ }
644
+ ```
645
+
646
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-account` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
647
+
648
+ Output, labeled `fixture`: Hyperliquid Get Account (response recorded 2026-10-26). From the bundle's `fixtures/get-account.json`, not a live call.
649
+
650
+ ```json
651
+ {
652
+ "accountValue": "34244238.2164419964",
653
+ "totalMarginUsed": "477.867397",
654
+ "totalPositionValue": "0.0",
655
+ "withdrawable": "34243760.349045001",
656
+ "positions": [],
657
+ "time": 1793000618774
658
+ }
659
+ ```
660
+
661
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
662
+
663
+ | `pack_error.code` | Service status | Retryable | Message |
664
+ |---|---|---|---|
665
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
666
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
667
+
668
+ <h3 id="hyperliquid-get-open-orders"><code>get-open-orders</code></h3>
669
+
670
+ **Get open orders.** An account's resting orders: coin, side, limit price, remaining and original size, order id and placement time.
671
+
672
+ Ref `io.b3os/hyperliquid/get-open-orders@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-open-orders`
673
+
674
+ **curl**
675
+
676
+ ```bash
677
+ curl -s https://beta-api.b3os.org/v1/actions/call \
678
+ -H "Authorization: Bearer $B3OS_API_KEY" \
679
+ -H "Content-Type: application/json" \
680
+ -d '{
681
+ "ref": "io.b3os/hyperliquid/get-open-orders@1",
682
+ "input": {"address": "0x0000000000000000000000000000000000000001"}
683
+ }'
684
+ ```
685
+ **TypeScript**
686
+
687
+ ```ts
688
+ import { B3OS } from "@b3os/sdk";
689
+
690
+ const b3os = new B3OS();
691
+ const result = await b3os.actions.call({
692
+ ref: "io.b3os/hyperliquid/get-open-orders@1",
693
+ input: { address: "0x0000000000000000000000000000000000000001" },
694
+ });
695
+ console.log(result.output);
696
+ ```
697
+ **Python**
698
+
699
+ ```python
700
+ from b3os import B3OS
701
+
702
+ b3os = B3OS()
703
+ result = b3os.actions.call({
704
+ "ref": "io.b3os/hyperliquid/get-open-orders@1",
705
+ "input": {"address": "0x0000000000000000000000000000000000000001"},
706
+ })
707
+ print(result["output"])
708
+ ```
709
+ **MCP**
710
+
711
+ ```json
712
+ {
713
+ "method": "tools/call",
714
+ "params": {
715
+ "name": "hyperliquid__get-open-orders",
716
+ "arguments": {"address": "0x0000000000000000000000000000000000000001"}
717
+ }
718
+ }
719
+ ```
720
+
721
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-open-orders` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
722
+
723
+ Output, labeled `fixture`: One resting sell order (documented response shape, example values). From the bundle's `fixtures/get-open-orders.json`, not a live call.
724
+
725
+ ```json
726
+ {
727
+ "orders": [
728
+ {
729
+ "coin": "BTC",
730
+ "side": "sell",
731
+ "price": "29792.0",
732
+ "size": "0.0",
733
+ "original_size": "5.0",
734
+ "order_id": 91490942,
735
+ "timestamp": 1681247412573
736
+ }
737
+ ]
738
+ }
739
+ ```
740
+
741
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
742
+
743
+ | `pack_error.code` | Service status | Retryable | Message |
744
+ |---|---|---|---|
745
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
746
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
747
+
748
+ <h3 id="hyperliquid-get-fills"><code>get-fills</code></h3>
749
+
750
+ **Get fills.** An account's trade fills, newest first: coin, side, price, size, direction (Open Long, Close Short, ...), closed PnL, fee and transaction hash. Without start_time you get the most recent fills (Hyperliquid caps this at 2,000); with start_time, the fills in that window.
751
+
752
+ Ref `io.b3os/hyperliquid/get-fills@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-fills`
753
+
754
+ **curl**
755
+
756
+ ```bash
757
+ curl -s https://beta-api.b3os.org/v1/actions/call \
758
+ -H "Authorization: Bearer $B3OS_API_KEY" \
759
+ -H "Content-Type: application/json" \
760
+ -d '{
761
+ "ref": "io.b3os/hyperliquid/get-fills@1",
762
+ "input": {"address": "0x0000000000000000000000000000000000000001"}
763
+ }'
764
+ ```
765
+ **TypeScript**
766
+
767
+ ```ts
768
+ import { B3OS } from "@b3os/sdk";
769
+
770
+ const b3os = new B3OS();
771
+ const result = await b3os.actions.call({
772
+ ref: "io.b3os/hyperliquid/get-fills@1",
773
+ input: { address: "0x0000000000000000000000000000000000000001" },
774
+ });
775
+ console.log(result.output);
776
+ ```
777
+ **Python**
778
+
779
+ ```python
780
+ from b3os import B3OS
781
+
782
+ b3os = B3OS()
783
+ result = b3os.actions.call({
784
+ "ref": "io.b3os/hyperliquid/get-fills@1",
785
+ "input": {"address": "0x0000000000000000000000000000000000000001"},
786
+ })
787
+ print(result["output"])
788
+ ```
789
+ **MCP**
790
+
791
+ ```json
792
+ {
793
+ "method": "tools/call",
794
+ "params": {
795
+ "name": "hyperliquid__get-fills",
796
+ "arguments": {"address": "0x0000000000000000000000000000000000000001"}
797
+ }
798
+ }
799
+ ```
800
+
801
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-fills` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
802
+
803
+ Output, labeled `fixture`: One opening buy fill (documented response shape, example values). From the bundle's `fixtures/get-fills.json`, not a live call.
804
+
805
+ ```json
806
+ {
807
+ "fills": [
808
+ {
809
+ "coin": "AVAX",
810
+ "side": "buy",
811
+ "price": "18.435",
812
+ "size": "93.53",
813
+ "direction": "Open Long",
814
+ "closed_pnl": "0.0",
815
+ "fee": "0.01",
816
+ "fee_token": "USDC",
817
+ "time": 1681222254710,
818
+ "hash": "0xa166e3fa63c25663024b03f2e0da011a00307e4017465df020210d3d432e7cb8",
819
+ "order_id": 90542681
820
+ }
821
+ ]
822
+ }
823
+ ```
824
+
825
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
826
+
827
+ | `pack_error.code` | Service status | Retryable | Message |
828
+ |---|---|---|---|
829
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
830
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |
831
+
832
+ <h3 id="hyperliquid-get-transfer-history"><code>get-transfer-history</code></h3>
833
+
834
+ **Hyperliquid Get Transfer History.** An account's ledger updates other than funding since a start time: deposits, withdrawals, USDC sends, spot transfers, vault deposits and withdrawals, liquidations and rewards. Each entry has the time, transaction hash, type and the type's details (amounts, counterparties).
835
+
836
+ Ref `io.b3os/hyperliquid/get-transfer-history@1.0.0` · effect `read` · no connection · MCP tool `hyperliquid__get-transfer-history`
837
+
838
+ **curl**
839
+
840
+ ```bash
841
+ curl -s https://beta-api.b3os.org/v1/actions/call \
842
+ -H "Authorization: Bearer $B3OS_API_KEY" \
843
+ -H "Content-Type: application/json" \
844
+ -d '{
845
+ "ref": "io.b3os/hyperliquid/get-transfer-history@1",
846
+ "input": {
847
+ "address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
848
+ "startTime": 1790000000000,
849
+ "endTime": 1790001000000
850
+ }
851
+ }'
852
+ ```
853
+ **TypeScript**
854
+
855
+ ```ts
856
+ import { B3OS } from "@b3os/sdk";
857
+
858
+ const b3os = new B3OS();
859
+ const result = await b3os.actions.call({
860
+ ref: "io.b3os/hyperliquid/get-transfer-history@1",
861
+ input: {
862
+ address: "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
863
+ startTime: 1790000000000,
864
+ endTime: 1790001000000,
865
+ },
866
+ });
867
+ console.log(result.output);
868
+ ```
869
+ **Python**
870
+
871
+ ```python
872
+ from b3os import B3OS
873
+
874
+ b3os = B3OS()
875
+ result = b3os.actions.call({
876
+ "ref": "io.b3os/hyperliquid/get-transfer-history@1",
877
+ "input": {
878
+ "address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
879
+ "startTime": 1790000000000,
880
+ "endTime": 1790001000000,
881
+ },
882
+ })
883
+ print(result["output"])
884
+ ```
885
+ **MCP**
886
+
887
+ ```json
888
+ {
889
+ "method": "tools/call",
890
+ "params": {
891
+ "name": "hyperliquid__get-transfer-history",
892
+ "arguments": {
893
+ "address": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
894
+ "startTime": 1790000000000,
895
+ "endTime": 1790001000000
896
+ }
897
+ }
898
+ }
899
+ ```
900
+
901
+ Expose the pack as tools with `--packs hyperliquid` on the local server or `?packs=hyperliquid` on the remote URL, and the agent calls `hyperliquid__get-transfer-history` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
902
+
903
+ Output, labeled `fixture`: Hyperliquid Get Transfer History (response recorded 2026-10-26). From the bundle's `fixtures/get-transfer-history.json`, not a live call.
904
+
905
+ ```json
906
+ {
907
+ "transfers": [
908
+ {
909
+ "time": 1790000239150,
910
+ "hash": "0x8b96711daa7a1c4e8d100444e4d5f1020ca20003457d3b202f5f1c70697df639",
911
+ "type": "vaultWithdraw",
912
+ "delta": {
913
+ "type": "vaultWithdraw",
914
+ "vault": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
915
+ "user": "0xa607c6b3c52521743d84f6622b805b5764a77785",
916
+ "requestedUsd": "10030.692954",
917
+ "commission": "0.0",
918
+ "closingCost": "0.0",
919
+ "basis": "9999.999999",
920
+ "netWithdrawnUsd": "10030.692954"
921
+ }
922
+ },
923
+ {
924
+ "time": 1790000489139,
925
+ "hash": "0x8d44bc6ecabf2d3a8ebe0444e4e3760204ed005465b24c0c310d67c189b30725",
926
+ "type": "vaultDeposit",
927
+ "delta": {
928
+ "type": "vaultDeposit",
929
+ "vault": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303",
930
+ "usdc": "100.0"
931
+ }
932
+ }
933
+ ]
934
+ }
935
+ ```
936
+
937
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
938
+
939
+ | `pack_error.code` | Service status | Retryable | Message |
940
+ |---|---|---|---|
941
+ | `rate_limited` | 429 | yes | Hyperliquid rate limit reached (weight-based, per IP; the node shares one IP across callers). Retry shortly. |
942
+ | `invalid_request` | 400, 422 | no | Hyperliquid rejected the request; check the coin, address and times. |