@nktkas/hyperliquid 0.26.0 → 0.27.1

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 (2417) hide show
  1. package/CONTRIBUTING.md +56 -0
  2. package/README.md +84 -59
  3. package/esm/bin/_utils.d.ts.map +1 -0
  4. package/esm/bin/_utils.js.map +1 -0
  5. package/esm/bin/cli.d.ts.map +1 -0
  6. package/esm/bin/cli.js +300 -0
  7. package/esm/bin/cli.js.map +1 -0
  8. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  9. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  10. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  11. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js.map +1 -0
  12. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  13. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +33 -0
  15. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js.map +1 -0
  16. package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts +9 -0
  17. package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.js +3 -0
  19. package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.js.map +1 -0
  20. package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts +21 -0
  21. package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.js +292 -0
  23. package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.js.map +1 -0
  24. package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts +39 -0
  25. package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.js +238 -0
  27. package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.js.map +1 -0
  28. package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts +44 -0
  29. package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.js +46 -0
  31. package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.js.map +1 -0
  32. package/esm/package.json +3 -0
  33. package/esm/src/_base.d.ts.map +1 -0
  34. package/esm/src/_base.js.map +1 -0
  35. package/esm/src/api/_base.d.ts +53 -0
  36. package/esm/src/api/_base.d.ts.map +1 -0
  37. package/esm/src/api/_base.js +67 -0
  38. package/esm/src/api/_base.js.map +1 -0
  39. package/esm/src/api/_common_schemas.d.ts +425 -0
  40. package/esm/src/api/_common_schemas.d.ts.map +1 -0
  41. package/esm/src/api/_common_schemas.js.map +1 -0
  42. package/esm/src/api/exchange/_base/_errors.d.ts +16 -0
  43. package/esm/src/api/exchange/_base/_errors.d.ts.map +1 -0
  44. package/esm/src/api/exchange/_base/_errors.js.map +1 -0
  45. package/esm/src/api/exchange/_base/_execute.d.ts +43 -0
  46. package/esm/src/api/exchange/_base/_execute.d.ts.map +1 -0
  47. package/esm/src/api/exchange/_base/_execute.js +181 -0
  48. package/esm/src/api/exchange/_base/_execute.js.map +1 -0
  49. package/esm/src/api/exchange/_base/_nonce.d.ts +5 -0
  50. package/esm/src/api/exchange/_base/_nonce.d.ts.map +1 -0
  51. package/esm/src/api/exchange/_base/_nonce.js +28 -0
  52. package/esm/src/api/exchange/_base/_nonce.js.map +1 -0
  53. package/esm/src/api/exchange/_base/_schemas.d.ts.map +1 -0
  54. package/esm/src/api/exchange/_base/_schemas.js.map +1 -0
  55. package/esm/src/api/exchange/_base/_types.d.ts +105 -0
  56. package/esm/src/api/exchange/_base/_types.d.ts.map +1 -0
  57. package/esm/src/api/exchange/_base/_types.js.map +1 -0
  58. package/esm/src/api/exchange/_base/mod.d.ts +5 -0
  59. package/esm/src/api/exchange/_base/mod.d.ts.map +1 -0
  60. package/esm/src/api/exchange/_base/mod.js +5 -0
  61. package/esm/src/api/exchange/_base/mod.js.map +1 -0
  62. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts +106 -0
  63. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts.map +1 -0
  64. package/esm/src/api/exchange/agentEnableDexAbstraction.js +78 -0
  65. package/esm/src/api/exchange/agentEnableDexAbstraction.js.map +1 -0
  66. package/esm/src/api/exchange/approveAgent.d.ts +136 -0
  67. package/esm/src/api/exchange/approveAgent.d.ts.map +1 -0
  68. package/esm/src/api/exchange/approveAgent.js +99 -0
  69. package/esm/src/api/exchange/approveAgent.js.map +1 -0
  70. package/esm/src/api/exchange/approveBuilderFee.d.ts +136 -0
  71. package/esm/src/api/exchange/approveBuilderFee.d.ts.map +1 -0
  72. package/esm/src/api/exchange/approveBuilderFee.js +99 -0
  73. package/esm/src/api/exchange/approveBuilderFee.js.map +1 -0
  74. package/esm/src/api/exchange/batchModify.d.ts +329 -0
  75. package/esm/src/api/exchange/batchModify.d.ts.map +1 -0
  76. package/esm/src/api/exchange/batchModify.js +109 -0
  77. package/esm/src/api/exchange/batchModify.js.map +1 -0
  78. package/esm/src/api/exchange/cDeposit.d.ts +132 -0
  79. package/esm/src/api/exchange/cDeposit.d.ts.map +1 -0
  80. package/esm/src/api/exchange/cDeposit.js +96 -0
  81. package/esm/src/api/exchange/cDeposit.js.map +1 -0
  82. package/esm/src/api/exchange/cSignerAction.d.ts +127 -0
  83. package/esm/src/api/exchange/cSignerAction.d.ts.map +1 -0
  84. package/esm/src/api/exchange/cSignerAction.js +92 -0
  85. package/esm/src/api/exchange/cSignerAction.js.map +1 -0
  86. package/esm/src/api/exchange/cValidatorAction.d.ts +290 -0
  87. package/esm/src/api/exchange/cValidatorAction.d.ts.map +1 -0
  88. package/esm/src/api/exchange/cValidatorAction.js +168 -0
  89. package/esm/src/api/exchange/cValidatorAction.js.map +1 -0
  90. package/esm/src/api/exchange/cWithdraw.d.ts +132 -0
  91. package/esm/src/api/exchange/cWithdraw.d.ts.map +1 -0
  92. package/esm/src/api/exchange/cWithdraw.js +96 -0
  93. package/esm/src/api/exchange/cWithdraw.js.map +1 -0
  94. package/esm/src/api/exchange/cancel.d.ts +150 -0
  95. package/esm/src/api/exchange/cancel.d.ts.map +1 -0
  96. package/esm/src/api/exchange/cancel.js +115 -0
  97. package/esm/src/api/exchange/cancel.js.map +1 -0
  98. package/esm/src/api/exchange/cancelByCloid.d.ts +145 -0
  99. package/esm/src/api/exchange/cancelByCloid.d.ts.map +1 -0
  100. package/esm/src/api/exchange/cancelByCloid.js +95 -0
  101. package/esm/src/api/exchange/cancelByCloid.js.map +1 -0
  102. package/esm/src/api/exchange/claimRewards.d.ts +97 -0
  103. package/esm/src/api/exchange/claimRewards.d.ts.map +1 -0
  104. package/esm/src/api/exchange/claimRewards.js +69 -0
  105. package/esm/src/api/exchange/claimRewards.js.map +1 -0
  106. package/esm/src/api/exchange/convertToMultiSigUser.d.ts +170 -0
  107. package/esm/src/api/exchange/convertToMultiSigUser.d.ts.map +1 -0
  108. package/esm/src/api/exchange/convertToMultiSigUser.js +129 -0
  109. package/esm/src/api/exchange/convertToMultiSigUser.js.map +1 -0
  110. package/esm/src/api/exchange/createSubAccount.d.ts +117 -0
  111. package/esm/src/api/exchange/createSubAccount.d.ts.map +1 -0
  112. package/esm/src/api/exchange/createSubAccount.js +90 -0
  113. package/esm/src/api/exchange/createSubAccount.js.map +1 -0
  114. package/esm/src/api/exchange/createVault.d.ts +133 -0
  115. package/esm/src/api/exchange/createVault.d.ts.map +1 -0
  116. package/esm/src/api/exchange/createVault.js +102 -0
  117. package/esm/src/api/exchange/createVault.js.map +1 -0
  118. package/esm/src/api/exchange/evmUserModify.d.ts +116 -0
  119. package/esm/src/api/exchange/evmUserModify.d.ts.map +1 -0
  120. package/esm/src/api/exchange/evmUserModify.js +84 -0
  121. package/esm/src/api/exchange/evmUserModify.js.map +1 -0
  122. package/esm/src/api/exchange/linkStakingUser.d.ts +144 -0
  123. package/esm/src/api/exchange/linkStakingUser.d.ts.map +1 -0
  124. package/esm/src/api/exchange/linkStakingUser.js +111 -0
  125. package/esm/src/api/exchange/linkStakingUser.js.map +1 -0
  126. package/esm/src/api/exchange/modify.d.ts +222 -0
  127. package/esm/src/api/exchange/modify.d.ts.map +1 -0
  128. package/esm/src/api/exchange/modify.js +104 -0
  129. package/esm/src/api/exchange/modify.js.map +1 -0
  130. package/esm/src/api/exchange/multiSig.d.ts +4314 -0
  131. package/esm/src/api/exchange/multiSig.d.ts.map +1 -0
  132. package/esm/src/api/exchange/multiSig.js +272 -0
  133. package/esm/src/api/exchange/multiSig.js.map +1 -0
  134. package/esm/src/api/exchange/noop.d.ts +106 -0
  135. package/esm/src/api/exchange/noop.d.ts.map +1 -0
  136. package/esm/src/api/exchange/noop.js +78 -0
  137. package/esm/src/api/exchange/noop.js.map +1 -0
  138. package/esm/src/api/exchange/order.d.ts +354 -0
  139. package/esm/src/api/exchange/order.d.ts.map +1 -0
  140. package/esm/src/api/exchange/order.js +162 -0
  141. package/esm/src/api/exchange/order.js.map +1 -0
  142. package/esm/src/api/exchange/perpDeploy.d.ts +400 -0
  143. package/esm/src/api/exchange/perpDeploy.d.ts.map +1 -0
  144. package/esm/src/api/exchange/perpDeploy.js +208 -0
  145. package/esm/src/api/exchange/perpDeploy.js.map +1 -0
  146. package/esm/src/api/exchange/registerReferrer.d.ts +109 -0
  147. package/esm/src/api/exchange/registerReferrer.d.ts.map +1 -0
  148. package/esm/src/api/exchange/registerReferrer.js +77 -0
  149. package/esm/src/api/exchange/registerReferrer.js.map +1 -0
  150. package/esm/src/api/exchange/reserveRequestWeight.d.ts +116 -0
  151. package/esm/src/api/exchange/reserveRequestWeight.d.ts.map +1 -0
  152. package/esm/src/api/exchange/reserveRequestWeight.js +84 -0
  153. package/esm/src/api/exchange/reserveRequestWeight.js.map +1 -0
  154. package/esm/src/api/exchange/scheduleCancel.d.ts +125 -0
  155. package/esm/src/api/exchange/scheduleCancel.d.ts.map +1 -0
  156. package/esm/src/api/exchange/scheduleCancel.js +71 -0
  157. package/esm/src/api/exchange/scheduleCancel.js.map +1 -0
  158. package/esm/src/api/exchange/sendAsset.d.ts +158 -0
  159. package/esm/src/api/exchange/sendAsset.d.ts.map +1 -0
  160. package/esm/src/api/exchange/sendAsset.js +117 -0
  161. package/esm/src/api/exchange/sendAsset.js.map +1 -0
  162. package/esm/src/api/exchange/setDisplayName.d.ts +113 -0
  163. package/esm/src/api/exchange/setDisplayName.d.ts.map +1 -0
  164. package/esm/src/api/exchange/setDisplayName.js +82 -0
  165. package/esm/src/api/exchange/setDisplayName.js.map +1 -0
  166. package/esm/src/api/exchange/setReferrer.d.ts +109 -0
  167. package/esm/src/api/exchange/setReferrer.d.ts.map +1 -0
  168. package/esm/src/api/exchange/setReferrer.js +77 -0
  169. package/esm/src/api/exchange/setReferrer.js.map +1 -0
  170. package/esm/src/api/exchange/spotDeploy.d.ts +389 -0
  171. package/esm/src/api/exchange/spotDeploy.d.ts.map +1 -0
  172. package/esm/src/api/exchange/spotDeploy.js +196 -0
  173. package/esm/src/api/exchange/spotDeploy.js.map +1 -0
  174. package/esm/src/api/exchange/spotSend.d.ts +144 -0
  175. package/esm/src/api/exchange/spotSend.d.ts.map +1 -0
  176. package/esm/src/api/exchange/spotSend.js +106 -0
  177. package/esm/src/api/exchange/spotSend.js.map +1 -0
  178. package/esm/src/api/exchange/spotUser.d.ts +118 -0
  179. package/esm/src/api/exchange/spotUser.d.ts.map +1 -0
  180. package/esm/src/api/exchange/spotUser.js +80 -0
  181. package/esm/src/api/exchange/spotUser.js.map +1 -0
  182. package/esm/src/api/exchange/subAccountModify.d.ts +113 -0
  183. package/esm/src/api/exchange/subAccountModify.d.ts.map +1 -0
  184. package/esm/src/api/exchange/subAccountModify.js +79 -0
  185. package/esm/src/api/exchange/subAccountModify.js.map +1 -0
  186. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts +126 -0
  187. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts.map +1 -0
  188. package/esm/src/api/exchange/subAccountSpotTransfer.js +88 -0
  189. package/esm/src/api/exchange/subAccountSpotTransfer.js.map +1 -0
  190. package/esm/src/api/exchange/subAccountTransfer.d.ts +117 -0
  191. package/esm/src/api/exchange/subAccountTransfer.d.ts.map +1 -0
  192. package/esm/src/api/exchange/subAccountTransfer.js +81 -0
  193. package/esm/src/api/exchange/subAccountTransfer.js.map +1 -0
  194. package/esm/src/api/exchange/tokenDelegate.d.ts +140 -0
  195. package/esm/src/api/exchange/tokenDelegate.d.ts.map +1 -0
  196. package/esm/src/api/exchange/tokenDelegate.js +102 -0
  197. package/esm/src/api/exchange/tokenDelegate.js.map +1 -0
  198. package/esm/src/api/exchange/twapCancel.d.ts +136 -0
  199. package/esm/src/api/exchange/twapCancel.d.ts.map +1 -0
  200. package/esm/src/api/exchange/twapCancel.js +108 -0
  201. package/esm/src/api/exchange/twapCancel.js.map +1 -0
  202. package/esm/src/api/exchange/twapOrder.d.ts +199 -0
  203. package/esm/src/api/exchange/twapOrder.d.ts.map +1 -0
  204. package/esm/src/api/exchange/twapOrder.js +134 -0
  205. package/esm/src/api/exchange/twapOrder.js.map +1 -0
  206. package/esm/src/api/exchange/updateIsolatedMargin.d.ts +127 -0
  207. package/esm/src/api/exchange/updateIsolatedMargin.d.ts.map +1 -0
  208. package/esm/src/api/exchange/updateIsolatedMargin.js +91 -0
  209. package/esm/src/api/exchange/updateIsolatedMargin.js.map +1 -0
  210. package/esm/src/api/exchange/updateLeverage.d.ts +127 -0
  211. package/esm/src/api/exchange/updateLeverage.d.ts.map +1 -0
  212. package/esm/src/api/exchange/updateLeverage.js +91 -0
  213. package/esm/src/api/exchange/updateLeverage.js.map +1 -0
  214. package/esm/src/api/exchange/usdClassTransfer.d.ts +136 -0
  215. package/esm/src/api/exchange/usdClassTransfer.d.ts.map +1 -0
  216. package/esm/src/api/exchange/usdClassTransfer.js +99 -0
  217. package/esm/src/api/exchange/usdClassTransfer.js.map +1 -0
  218. package/esm/src/api/exchange/usdSend.d.ts +136 -0
  219. package/esm/src/api/exchange/usdSend.d.ts.map +1 -0
  220. package/esm/src/api/exchange/usdSend.js +99 -0
  221. package/esm/src/api/exchange/usdSend.js.map +1 -0
  222. package/esm/src/api/exchange/userDexAbstraction.d.ts +136 -0
  223. package/esm/src/api/exchange/userDexAbstraction.d.ts.map +1 -0
  224. package/esm/src/api/exchange/userDexAbstraction.js +99 -0
  225. package/esm/src/api/exchange/userDexAbstraction.js.map +1 -0
  226. package/esm/src/api/exchange/validatorL1Stream.d.ts +116 -0
  227. package/esm/src/api/exchange/validatorL1Stream.d.ts.map +1 -0
  228. package/esm/src/api/exchange/validatorL1Stream.js +84 -0
  229. package/esm/src/api/exchange/validatorL1Stream.js.map +1 -0
  230. package/esm/src/api/exchange/vaultDistribute.d.ts +117 -0
  231. package/esm/src/api/exchange/vaultDistribute.d.ts.map +1 -0
  232. package/esm/src/api/exchange/vaultDistribute.js +84 -0
  233. package/esm/src/api/exchange/vaultDistribute.js.map +1 -0
  234. package/esm/src/api/exchange/vaultModify.d.ts +121 -0
  235. package/esm/src/api/exchange/vaultModify.d.ts.map +1 -0
  236. package/esm/src/api/exchange/vaultModify.js +85 -0
  237. package/esm/src/api/exchange/vaultModify.js.map +1 -0
  238. package/esm/src/api/exchange/vaultTransfer.d.ts +124 -0
  239. package/esm/src/api/exchange/vaultTransfer.d.ts.map +1 -0
  240. package/esm/src/api/exchange/vaultTransfer.js +88 -0
  241. package/esm/src/api/exchange/vaultTransfer.js.map +1 -0
  242. package/esm/src/api/exchange/withdraw3.d.ts +136 -0
  243. package/esm/src/api/exchange/withdraw3.d.ts.map +1 -0
  244. package/esm/src/api/exchange/withdraw3.js +99 -0
  245. package/esm/src/api/exchange/withdraw3.js.map +1 -0
  246. package/esm/src/api/exchange/~client.d.ts +1381 -0
  247. package/esm/src/api/exchange/~client.d.ts.map +1 -0
  248. package/esm/src/api/exchange/~client.js +1445 -0
  249. package/esm/src/api/exchange/~client.js.map +1 -0
  250. package/esm/src/api/exchange/~mod.d.ts +87 -0
  251. package/esm/src/api/exchange/~mod.d.ts.map +1 -0
  252. package/esm/src/api/exchange/~mod.js +87 -0
  253. package/esm/src/api/exchange/~mod.js.map +1 -0
  254. package/esm/src/api/info/_types.d.ts +7 -0
  255. package/esm/src/api/info/_types.d.ts.map +1 -0
  256. package/esm/src/api/info/_types.js.map +1 -0
  257. package/esm/src/api/info/activeAssetData.d.ts +98 -0
  258. package/esm/src/api/info/activeAssetData.d.ts.map +1 -0
  259. package/esm/src/api/info/activeAssetData.js +88 -0
  260. package/esm/src/api/info/activeAssetData.js.map +1 -0
  261. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts +66 -0
  262. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts.map +1 -0
  263. package/esm/src/api/info/alignedQuoteTokenInfo.js +74 -0
  264. package/esm/src/api/info/alignedQuoteTokenInfo.js.map +1 -0
  265. package/esm/src/api/info/allMids.d.ts +49 -0
  266. package/esm/src/api/info/allMids.d.ts.map +1 -0
  267. package/esm/src/api/info/allMids.js +38 -0
  268. package/esm/src/api/info/allMids.js.map +1 -0
  269. package/esm/src/api/info/allPerpMetas.d.ts +145 -0
  270. package/esm/src/api/info/allPerpMetas.d.ts.map +1 -0
  271. package/esm/src/api/info/allPerpMetas.js +51 -0
  272. package/esm/src/api/info/allPerpMetas.js.map +1 -0
  273. package/esm/src/api/info/blockDetails.d.ts +151 -0
  274. package/esm/src/api/info/blockDetails.d.ts.map +1 -0
  275. package/esm/src/api/info/blockDetails.js +94 -0
  276. package/esm/src/api/info/blockDetails.js.map +1 -0
  277. package/esm/src/api/info/candleSnapshot.d.ts +111 -0
  278. package/esm/src/api/info/candleSnapshot.d.ts.map +1 -0
  279. package/esm/src/api/info/candleSnapshot.js +91 -0
  280. package/esm/src/api/info/candleSnapshot.js.map +1 -0
  281. package/esm/src/api/info/clearinghouseState.d.ts +269 -0
  282. package/esm/src/api/info/clearinghouseState.d.ts.map +1 -0
  283. package/esm/src/api/info/clearinghouseState.js +143 -0
  284. package/esm/src/api/info/clearinghouseState.js.map +1 -0
  285. package/esm/src/api/info/delegations.d.ts +64 -0
  286. package/esm/src/api/info/delegations.d.ts.map +1 -0
  287. package/esm/src/api/info/delegations.js +67 -0
  288. package/esm/src/api/info/delegations.js.map +1 -0
  289. package/esm/src/api/info/delegatorHistory.d.ts +142 -0
  290. package/esm/src/api/info/delegatorHistory.d.ts.map +1 -0
  291. package/esm/src/api/info/delegatorHistory.js +95 -0
  292. package/esm/src/api/info/delegatorHistory.js.map +1 -0
  293. package/esm/src/api/info/delegatorRewards.d.ts +64 -0
  294. package/esm/src/api/info/delegatorRewards.d.ts.map +1 -0
  295. package/esm/src/api/info/delegatorRewards.js +67 -0
  296. package/esm/src/api/info/delegatorRewards.js.map +1 -0
  297. package/esm/src/api/info/delegatorSummary.d.ts +63 -0
  298. package/esm/src/api/info/delegatorSummary.d.ts.map +1 -0
  299. package/esm/src/api/info/delegatorSummary.js +67 -0
  300. package/esm/src/api/info/delegatorSummary.js.map +1 -0
  301. package/esm/src/api/info/exchangeStatus.d.ts +46 -0
  302. package/esm/src/api/info/exchangeStatus.d.ts.map +1 -0
  303. package/esm/src/api/info/exchangeStatus.js +55 -0
  304. package/esm/src/api/info/exchangeStatus.js.map +1 -0
  305. package/esm/src/api/info/extraAgents.d.ts +64 -0
  306. package/esm/src/api/info/extraAgents.d.ts.map +1 -0
  307. package/esm/src/api/info/extraAgents.js +67 -0
  308. package/esm/src/api/info/extraAgents.js.map +1 -0
  309. package/esm/src/api/info/frontendOpenOrders.d.ts +103 -0
  310. package/esm/src/api/info/frontendOpenOrders.d.ts.map +1 -0
  311. package/esm/src/api/info/frontendOpenOrders.js +61 -0
  312. package/esm/src/api/info/frontendOpenOrders.js.map +1 -0
  313. package/esm/src/api/info/fundingHistory.d.ts +74 -0
  314. package/esm/src/api/info/fundingHistory.d.ts.map +1 -0
  315. package/esm/src/api/info/fundingHistory.js +73 -0
  316. package/esm/src/api/info/fundingHistory.js.map +1 -0
  317. package/esm/src/api/info/gossipRootIps.d.ts +39 -0
  318. package/esm/src/api/info/gossipRootIps.d.ts.map +1 -0
  319. package/esm/src/api/info/gossipRootIps.js +50 -0
  320. package/esm/src/api/info/gossipRootIps.js.map +1 -0
  321. package/esm/src/api/info/historicalOrders.d.ts +132 -0
  322. package/esm/src/api/info/historicalOrders.d.ts.map +1 -0
  323. package/esm/src/api/info/historicalOrders.js +68 -0
  324. package/esm/src/api/info/historicalOrders.js.map +1 -0
  325. package/esm/src/api/info/isVip.d.ts +49 -0
  326. package/esm/src/api/info/isVip.d.ts.map +1 -0
  327. package/esm/src/api/info/isVip.js +58 -0
  328. package/esm/src/api/info/isVip.js.map +1 -0
  329. package/esm/src/api/info/l2Book.d.ts +98 -0
  330. package/esm/src/api/info/l2Book.d.ts.map +1 -0
  331. package/esm/src/api/info/l2Book.js +70 -0
  332. package/esm/src/api/info/l2Book.js.map +1 -0
  333. package/esm/src/api/info/leadingVaults.d.ts +60 -0
  334. package/esm/src/api/info/leadingVaults.d.ts.map +1 -0
  335. package/esm/src/api/info/leadingVaults.js +65 -0
  336. package/esm/src/api/info/leadingVaults.js.map +1 -0
  337. package/esm/src/api/info/legalCheck.d.ts +60 -0
  338. package/esm/src/api/info/legalCheck.d.ts.map +1 -0
  339. package/esm/src/api/info/legalCheck.js +65 -0
  340. package/esm/src/api/info/legalCheck.js.map +1 -0
  341. package/esm/src/api/info/liquidatable.d.ts +38 -0
  342. package/esm/src/api/info/liquidatable.d.ts.map +1 -0
  343. package/esm/src/api/info/liquidatable.js +49 -0
  344. package/esm/src/api/info/liquidatable.js.map +1 -0
  345. package/esm/src/api/info/marginTable.d.ts +71 -0
  346. package/esm/src/api/info/marginTable.d.ts.map +1 -0
  347. package/esm/src/api/info/marginTable.js +70 -0
  348. package/esm/src/api/info/marginTable.js.map +1 -0
  349. package/esm/src/api/info/maxBuilderFee.d.ts +52 -0
  350. package/esm/src/api/info/maxBuilderFee.d.ts.map +1 -0
  351. package/esm/src/api/info/maxBuilderFee.js +60 -0
  352. package/esm/src/api/info/maxBuilderFee.js.map +1 -0
  353. package/esm/src/api/info/maxMarketOrderNtls.d.ts +41 -0
  354. package/esm/src/api/info/maxMarketOrderNtls.d.ts.map +1 -0
  355. package/esm/src/api/info/maxMarketOrderNtls.js +53 -0
  356. package/esm/src/api/info/maxMarketOrderNtls.js.map +1 -0
  357. package/esm/src/api/info/meta.d.ts +143 -0
  358. package/esm/src/api/info/meta.d.ts.map +1 -0
  359. package/esm/src/api/info/meta.js +72 -0
  360. package/esm/src/api/info/meta.js.map +1 -0
  361. package/esm/src/api/info/metaAndAssetCtxs.d.ts +204 -0
  362. package/esm/src/api/info/metaAndAssetCtxs.d.ts.map +1 -0
  363. package/esm/src/api/info/metaAndAssetCtxs.js +66 -0
  364. package/esm/src/api/info/metaAndAssetCtxs.js.map +1 -0
  365. package/esm/src/api/info/openOrders.d.ts +82 -0
  366. package/esm/src/api/info/openOrders.d.ts.map +1 -0
  367. package/esm/src/api/info/openOrders.js +61 -0
  368. package/esm/src/api/info/openOrders.js.map +1 -0
  369. package/esm/src/api/info/orderStatus.d.ts +150 -0
  370. package/esm/src/api/info/orderStatus.d.ts.map +1 -0
  371. package/esm/src/api/info/orderStatus.js +83 -0
  372. package/esm/src/api/info/orderStatus.js.map +1 -0
  373. package/esm/src/api/info/perpDeployAuctionStatus.d.ts +56 -0
  374. package/esm/src/api/info/perpDeployAuctionStatus.d.ts.map +1 -0
  375. package/esm/src/api/info/perpDeployAuctionStatus.js +62 -0
  376. package/esm/src/api/info/perpDeployAuctionStatus.js.map +1 -0
  377. package/esm/src/api/info/perpDexLimits.d.ts +63 -0
  378. package/esm/src/api/info/perpDexLimits.d.ts.map +1 -0
  379. package/esm/src/api/info/perpDexLimits.js +67 -0
  380. package/esm/src/api/info/perpDexLimits.js.map +1 -0
  381. package/esm/src/api/info/perpDexs.d.ts +78 -0
  382. package/esm/src/api/info/perpDexs.d.ts.map +1 -0
  383. package/esm/src/api/info/perpDexs.js +75 -0
  384. package/esm/src/api/info/perpDexs.js.map +1 -0
  385. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts +47 -0
  386. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts.map +1 -0
  387. package/esm/src/api/info/perpsAtOpenInterestCap.js +37 -0
  388. package/esm/src/api/info/perpsAtOpenInterestCap.js.map +1 -0
  389. package/esm/src/api/info/portfolio.d.ts +169 -0
  390. package/esm/src/api/info/portfolio.d.ts.map +1 -0
  391. package/esm/src/api/info/portfolio.js +78 -0
  392. package/esm/src/api/info/portfolio.js.map +1 -0
  393. package/esm/src/api/info/preTransferCheck.d.ts +66 -0
  394. package/esm/src/api/info/preTransferCheck.d.ts.map +1 -0
  395. package/esm/src/api/info/preTransferCheck.js +69 -0
  396. package/esm/src/api/info/preTransferCheck.js.map +1 -0
  397. package/esm/src/api/info/predictedFundings.d.ts +66 -0
  398. package/esm/src/api/info/predictedFundings.d.ts.map +1 -0
  399. package/esm/src/api/info/predictedFundings.js +72 -0
  400. package/esm/src/api/info/predictedFundings.js.map +1 -0
  401. package/esm/src/api/info/recentTrades.d.ts +84 -0
  402. package/esm/src/api/info/recentTrades.d.ts.map +1 -0
  403. package/esm/src/api/info/recentTrades.js +77 -0
  404. package/esm/src/api/info/recentTrades.js.map +1 -0
  405. package/esm/src/api/info/referral.d.ts +274 -0
  406. package/esm/src/api/info/referral.d.ts.map +1 -0
  407. package/esm/src/api/info/referral.js +159 -0
  408. package/esm/src/api/info/referral.js.map +1 -0
  409. package/esm/src/api/info/spotClearinghouseState.d.ts +103 -0
  410. package/esm/src/api/info/spotClearinghouseState.d.ts.map +1 -0
  411. package/esm/src/api/info/spotClearinghouseState.js +75 -0
  412. package/esm/src/api/info/spotClearinghouseState.js.map +1 -0
  413. package/esm/src/api/info/spotDeployState.d.ts +162 -0
  414. package/esm/src/api/info/spotDeployState.d.ts.map +1 -0
  415. package/esm/src/api/info/spotDeployState.js +106 -0
  416. package/esm/src/api/info/spotDeployState.js.map +1 -0
  417. package/esm/src/api/info/spotMeta.d.ts +137 -0
  418. package/esm/src/api/info/spotMeta.d.ts.map +1 -0
  419. package/esm/src/api/info/spotMeta.js +93 -0
  420. package/esm/src/api/info/spotMeta.js.map +1 -0
  421. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts +185 -0
  422. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts.map +1 -0
  423. package/esm/src/api/info/spotMetaAndAssetCtxs.js +75 -0
  424. package/esm/src/api/info/spotMetaAndAssetCtxs.js.map +1 -0
  425. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts +56 -0
  426. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts.map +1 -0
  427. package/esm/src/api/info/spotPairDeployAuctionStatus.js +62 -0
  428. package/esm/src/api/info/spotPairDeployAuctionStatus.js.map +1 -0
  429. package/esm/src/api/info/subAccounts.d.ts +412 -0
  430. package/esm/src/api/info/subAccounts.d.ts.map +1 -0
  431. package/esm/src/api/info/subAccounts.js +73 -0
  432. package/esm/src/api/info/subAccounts.js.map +1 -0
  433. package/esm/src/api/info/subAccounts2.d.ts +498 -0
  434. package/esm/src/api/info/subAccounts2.d.ts.map +1 -0
  435. package/esm/src/api/info/subAccounts2.js +76 -0
  436. package/esm/src/api/info/subAccounts2.js.map +1 -0
  437. package/esm/src/api/info/tokenDetails.d.ts +114 -0
  438. package/esm/src/api/info/tokenDetails.d.ts.map +1 -0
  439. package/esm/src/api/info/tokenDetails.js +98 -0
  440. package/esm/src/api/info/tokenDetails.js.map +1 -0
  441. package/esm/src/api/info/twapHistory.d.ts +132 -0
  442. package/esm/src/api/info/twapHistory.d.ts.map +1 -0
  443. package/esm/src/api/info/twapHistory.js +70 -0
  444. package/esm/src/api/info/twapHistory.js.map +1 -0
  445. package/esm/src/api/info/txDetails.d.ts +102 -0
  446. package/esm/src/api/info/txDetails.d.ts.map +1 -0
  447. package/esm/src/api/info/txDetails.js +79 -0
  448. package/esm/src/api/info/txDetails.js.map +1 -0
  449. package/esm/src/api/info/userDetails.d.ts +106 -0
  450. package/esm/src/api/info/userDetails.d.ts.map +1 -0
  451. package/esm/src/api/info/userDetails.js +64 -0
  452. package/esm/src/api/info/userDetails.js.map +1 -0
  453. package/esm/src/api/info/userDexAbstraction.d.ts +49 -0
  454. package/esm/src/api/info/userDexAbstraction.d.ts.map +1 -0
  455. package/esm/src/api/info/userDexAbstraction.js +58 -0
  456. package/esm/src/api/info/userDexAbstraction.js.map +1 -0
  457. package/esm/src/api/info/userFees.d.ts +269 -0
  458. package/esm/src/api/info/userFees.d.ts.map +1 -0
  459. package/esm/src/api/info/userFees.js +173 -0
  460. package/esm/src/api/info/userFees.js.map +1 -0
  461. package/esm/src/api/info/userFills.d.ts +122 -0
  462. package/esm/src/api/info/userFills.d.ts.map +1 -0
  463. package/esm/src/api/info/userFills.js +61 -0
  464. package/esm/src/api/info/userFills.js.map +1 -0
  465. package/esm/src/api/info/userFillsByTime.d.ts +128 -0
  466. package/esm/src/api/info/userFillsByTime.d.ts.map +1 -0
  467. package/esm/src/api/info/userFillsByTime.js +65 -0
  468. package/esm/src/api/info/userFillsByTime.js.map +1 -0
  469. package/esm/src/api/info/userFunding.d.ts +104 -0
  470. package/esm/src/api/info/userFunding.d.ts.map +1 -0
  471. package/esm/src/api/info/userFunding.js +84 -0
  472. package/esm/src/api/info/userFunding.js.map +1 -0
  473. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts +711 -0
  474. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts.map +1 -0
  475. package/esm/src/api/info/userNonFundingLedgerUpdates.js +258 -0
  476. package/esm/src/api/info/userNonFundingLedgerUpdates.js.map +1 -0
  477. package/esm/src/api/info/userRateLimit.d.ts +63 -0
  478. package/esm/src/api/info/userRateLimit.d.ts.map +1 -0
  479. package/esm/src/api/info/userRateLimit.js +67 -0
  480. package/esm/src/api/info/userRateLimit.js.map +1 -0
  481. package/esm/src/api/info/userRole.d.ts +84 -0
  482. package/esm/src/api/info/userRole.d.ts.map +1 -0
  483. package/esm/src/api/info/userRole.js +81 -0
  484. package/esm/src/api/info/userRole.js.map +1 -0
  485. package/esm/src/api/info/userToMultiSigSigners.d.ts +57 -0
  486. package/esm/src/api/info/userToMultiSigSigners.d.ts.map +1 -0
  487. package/esm/src/api/info/userToMultiSigSigners.js +63 -0
  488. package/esm/src/api/info/userToMultiSigSigners.js.map +1 -0
  489. package/esm/src/api/info/userTwapSliceFills.d.ts +124 -0
  490. package/esm/src/api/info/userTwapSliceFills.d.ts.map +1 -0
  491. package/esm/src/api/info/userTwapSliceFills.js +66 -0
  492. package/esm/src/api/info/userTwapSliceFills.js.map +1 -0
  493. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts +133 -0
  494. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts.map +1 -0
  495. package/esm/src/api/info/userTwapSliceFillsByTime.js +72 -0
  496. package/esm/src/api/info/userTwapSliceFillsByTime.js.map +1 -0
  497. package/esm/src/api/info/userVaultEquities.d.ts +64 -0
  498. package/esm/src/api/info/userVaultEquities.d.ts.map +1 -0
  499. package/esm/src/api/info/userVaultEquities.js +67 -0
  500. package/esm/src/api/info/userVaultEquities.js.map +1 -0
  501. package/esm/src/api/info/validatorL1Votes.d.ts +70 -0
  502. package/esm/src/api/info/validatorL1Votes.d.ts.map +1 -0
  503. package/esm/src/api/info/validatorL1Votes.js +67 -0
  504. package/esm/src/api/info/validatorL1Votes.js.map +1 -0
  505. package/esm/src/api/info/validatorSummaries.d.ts +155 -0
  506. package/esm/src/api/info/validatorSummaries.d.ts.map +1 -0
  507. package/esm/src/api/info/validatorSummaries.js +91 -0
  508. package/esm/src/api/info/validatorSummaries.js.map +1 -0
  509. package/esm/src/api/info/vaultDetails.d.ts +359 -0
  510. package/esm/src/api/info/vaultDetails.d.ts.map +1 -0
  511. package/esm/src/api/info/vaultDetails.js +140 -0
  512. package/esm/src/api/info/vaultDetails.js.map +1 -0
  513. package/esm/src/api/info/vaultSummaries.d.ts +104 -0
  514. package/esm/src/api/info/vaultSummaries.d.ts.map +1 -0
  515. package/esm/src/api/info/vaultSummaries.js +82 -0
  516. package/esm/src/api/info/vaultSummaries.js.map +1 -0
  517. package/esm/src/api/info/webData2.d.ts +833 -0
  518. package/esm/src/api/info/webData2.d.ts.map +1 -0
  519. package/esm/src/api/info/webData2.js +59 -0
  520. package/esm/src/api/info/webData2.js.map +1 -0
  521. package/esm/src/api/info/~client.d.ts +1487 -0
  522. package/esm/src/api/info/~client.d.ts.map +1 -0
  523. package/esm/src/api/info/~client.js.map +1 -0
  524. package/esm/src/api/info/~mod.d.ts +91 -0
  525. package/esm/src/api/info/~mod.d.ts.map +1 -0
  526. package/esm/src/api/info/~mod.js.map +1 -0
  527. package/esm/src/api/subscription/_types.d.ts +7 -0
  528. package/esm/src/api/subscription/_types.d.ts.map +1 -0
  529. package/esm/src/api/subscription/_types.js.map +1 -0
  530. package/esm/src/api/subscription/activeAssetCtx.d.ts +97 -0
  531. package/esm/src/api/subscription/activeAssetCtx.d.ts.map +1 -0
  532. package/esm/src/api/subscription/activeAssetCtx.js +81 -0
  533. package/esm/src/api/subscription/activeAssetCtx.js.map +1 -0
  534. package/esm/src/api/subscription/activeAssetData.d.ts +84 -0
  535. package/esm/src/api/subscription/activeAssetData.d.ts.map +1 -0
  536. package/esm/src/api/subscription/activeAssetData.js +58 -0
  537. package/esm/src/api/subscription/activeAssetData.js.map +1 -0
  538. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts +89 -0
  539. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts.map +1 -0
  540. package/esm/src/api/subscription/activeSpotAssetCtx.js +77 -0
  541. package/esm/src/api/subscription/activeSpotAssetCtx.js.map +1 -0
  542. package/esm/src/api/subscription/allMids.d.ts +58 -0
  543. package/esm/src/api/subscription/allMids.d.ts.map +1 -0
  544. package/esm/src/api/subscription/allMids.js +42 -0
  545. package/esm/src/api/subscription/allMids.js.map +1 -0
  546. package/esm/src/api/subscription/assetCtxs.d.ts +108 -0
  547. package/esm/src/api/subscription/assetCtxs.d.ts.map +1 -0
  548. package/esm/src/api/subscription/assetCtxs.js +65 -0
  549. package/esm/src/api/subscription/assetCtxs.js.map +1 -0
  550. package/esm/src/api/subscription/bbo.d.ts +89 -0
  551. package/esm/src/api/subscription/bbo.d.ts.map +1 -0
  552. package/esm/src/api/subscription/bbo.js +63 -0
  553. package/esm/src/api/subscription/bbo.js.map +1 -0
  554. package/esm/src/api/subscription/candle.d.ts +71 -0
  555. package/esm/src/api/subscription/candle.d.ts.map +1 -0
  556. package/esm/src/api/subscription/candle.js +58 -0
  557. package/esm/src/api/subscription/candle.js.map +1 -0
  558. package/esm/src/api/subscription/clearinghouseState.d.ts +285 -0
  559. package/esm/src/api/subscription/clearinghouseState.d.ts.map +1 -0
  560. package/esm/src/api/subscription/clearinghouseState.js +69 -0
  561. package/esm/src/api/subscription/clearinghouseState.js.map +1 -0
  562. package/esm/src/api/subscription/explorerBlock.d.ts +64 -0
  563. package/esm/src/api/subscription/explorerBlock.d.ts.map +1 -0
  564. package/esm/src/api/subscription/explorerBlock.js +63 -0
  565. package/esm/src/api/subscription/explorerBlock.js.map +1 -0
  566. package/esm/src/api/subscription/explorerTxs.d.ts +83 -0
  567. package/esm/src/api/subscription/explorerTxs.d.ts.map +1 -0
  568. package/esm/src/api/subscription/explorerTxs.js +68 -0
  569. package/esm/src/api/subscription/explorerTxs.js.map +1 -0
  570. package/esm/src/api/subscription/l2Book.d.ts +95 -0
  571. package/esm/src/api/subscription/l2Book.d.ts.map +1 -0
  572. package/esm/src/api/subscription/l2Book.js +72 -0
  573. package/esm/src/api/subscription/l2Book.js.map +1 -0
  574. package/esm/src/api/subscription/notification.d.ts +51 -0
  575. package/esm/src/api/subscription/notification.d.ts.map +1 -0
  576. package/esm/src/api/subscription/notification.js +56 -0
  577. package/esm/src/api/subscription/notification.js.map +1 -0
  578. package/esm/src/api/subscription/openOrders.d.ts +128 -0
  579. package/esm/src/api/subscription/openOrders.d.ts.map +1 -0
  580. package/esm/src/api/subscription/openOrders.js +69 -0
  581. package/esm/src/api/subscription/openOrders.js.map +1 -0
  582. package/esm/src/api/subscription/orderUpdates.d.ts +101 -0
  583. package/esm/src/api/subscription/orderUpdates.d.ts.map +1 -0
  584. package/esm/src/api/subscription/orderUpdates.js +63 -0
  585. package/esm/src/api/subscription/orderUpdates.js.map +1 -0
  586. package/esm/src/api/subscription/spotAssetCtxs.d.ts +67 -0
  587. package/esm/src/api/subscription/spotAssetCtxs.d.ts.map +1 -0
  588. package/esm/src/api/subscription/spotAssetCtxs.js +67 -0
  589. package/esm/src/api/subscription/spotAssetCtxs.js.map +1 -0
  590. package/esm/src/api/subscription/spotState.d.ts +91 -0
  591. package/esm/src/api/subscription/spotState.d.ts.map +1 -0
  592. package/esm/src/api/subscription/spotState.js +64 -0
  593. package/esm/src/api/subscription/spotState.js.map +1 -0
  594. package/esm/src/api/subscription/trades.d.ts +73 -0
  595. package/esm/src/api/subscription/trades.d.ts.map +1 -0
  596. package/esm/src/api/subscription/trades.js +55 -0
  597. package/esm/src/api/subscription/trades.js.map +1 -0
  598. package/esm/src/api/subscription/userEvents.d.ts +876 -0
  599. package/esm/src/api/subscription/userEvents.d.ts.map +1 -0
  600. package/esm/src/api/subscription/userEvents.js +149 -0
  601. package/esm/src/api/subscription/userEvents.js.map +1 -0
  602. package/esm/src/api/subscription/userFills.d.ts +152 -0
  603. package/esm/src/api/subscription/userFills.d.ts.map +1 -0
  604. package/esm/src/api/subscription/userFills.js +69 -0
  605. package/esm/src/api/subscription/userFills.js.map +1 -0
  606. package/esm/src/api/subscription/userFundings.d.ts +91 -0
  607. package/esm/src/api/subscription/userFundings.d.ts.map +1 -0
  608. package/esm/src/api/subscription/userFundings.js +77 -0
  609. package/esm/src/api/subscription/userFundings.js.map +1 -0
  610. package/esm/src/api/subscription/userHistoricalOrders.d.ts +161 -0
  611. package/esm/src/api/subscription/userHistoricalOrders.d.ts.map +1 -0
  612. package/esm/src/api/subscription/userHistoricalOrders.js +72 -0
  613. package/esm/src/api/subscription/userHistoricalOrders.js.map +1 -0
  614. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts +493 -0
  615. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +1 -0
  616. package/esm/src/api/subscription/userNonFundingLedgerUpdates.js +63 -0
  617. package/esm/src/api/subscription/userNonFundingLedgerUpdates.js.map +1 -0
  618. package/esm/src/api/subscription/userTwapHistory.d.ts +161 -0
  619. package/esm/src/api/subscription/userTwapHistory.d.ts.map +1 -0
  620. package/esm/src/api/subscription/userTwapHistory.js +74 -0
  621. package/esm/src/api/subscription/userTwapHistory.js.map +1 -0
  622. package/esm/src/api/subscription/userTwapSliceFills.d.ts +132 -0
  623. package/esm/src/api/subscription/userTwapSliceFills.d.ts.map +1 -0
  624. package/esm/src/api/subscription/userTwapSliceFills.js +68 -0
  625. package/esm/src/api/subscription/userTwapSliceFills.js.map +1 -0
  626. package/esm/src/api/subscription/webData2.d.ts +704 -0
  627. package/esm/src/api/subscription/webData2.d.ts.map +1 -0
  628. package/esm/src/api/subscription/webData2.js +107 -0
  629. package/esm/src/api/subscription/webData2.js.map +1 -0
  630. package/esm/src/api/subscription/webData3.d.ts +541 -0
  631. package/esm/src/api/subscription/webData3.d.ts.map +1 -0
  632. package/esm/src/api/subscription/webData3.js +100 -0
  633. package/esm/src/api/subscription/webData3.js.map +1 -0
  634. package/esm/src/api/subscription/~client.d.ts +598 -0
  635. package/esm/src/api/subscription/~client.d.ts.map +1 -0
  636. package/esm/src/api/subscription/~client.js +626 -0
  637. package/esm/src/api/subscription/~client.js.map +1 -0
  638. package/esm/src/api/subscription/~mod.d.ts +53 -0
  639. package/esm/src/api/subscription/~mod.d.ts.map +1 -0
  640. package/esm/src/api/subscription/~mod.js +52 -0
  641. package/esm/src/api/subscription/~mod.js.map +1 -0
  642. package/esm/src/mod.d.ts +9 -0
  643. package/esm/src/mod.d.ts.map +1 -0
  644. package/esm/src/mod.js.map +1 -0
  645. package/esm/src/signing/_signTypedData.d.ts +123 -0
  646. package/esm/src/signing/_signTypedData.d.ts.map +1 -0
  647. package/esm/src/signing/_signTypedData.js.map +1 -0
  648. package/esm/src/signing/mod.d.ts +324 -0
  649. package/esm/src/signing/mod.d.ts.map +1 -0
  650. package/esm/src/signing/mod.js +394 -0
  651. package/esm/src/signing/mod.js.map +1 -0
  652. package/esm/src/transport/_polyfills.d.ts +19 -0
  653. package/esm/src/transport/_polyfills.d.ts.map +1 -0
  654. package/esm/src/transport/_polyfills.js +48 -0
  655. package/esm/src/transport/_polyfills.js.map +1 -0
  656. package/esm/src/transport/base.d.ts +48 -0
  657. package/esm/src/transport/base.d.ts.map +1 -0
  658. package/esm/src/transport/base.js.map +1 -0
  659. package/esm/src/transport/http/mod.d.ts +94 -0
  660. package/esm/src/transport/http/mod.d.ts.map +1 -0
  661. package/esm/src/transport/http/mod.js.map +1 -0
  662. package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts.map +1 -0
  663. package/esm/src/transport/websocket/_hyperliquid_event_target.js.map +1 -0
  664. package/esm/src/transport/websocket/_websocket_async_request.d.ts +37 -0
  665. package/esm/src/transport/websocket/_websocket_async_request.d.ts.map +1 -0
  666. package/esm/src/transport/websocket/_websocket_async_request.js.map +1 -0
  667. package/esm/src/transport/websocket/mod.d.ts +123 -0
  668. package/esm/src/transport/websocket/mod.d.ts.map +1 -0
  669. package/esm/src/transport/websocket/mod.js.map +1 -0
  670. package/esm/src/utils/_eip712.d.ts +42 -0
  671. package/esm/src/utils/_eip712.d.ts.map +1 -0
  672. package/esm/src/utils/_eip712.js.map +1 -0
  673. package/esm/src/utils/_format.d.ts.map +1 -0
  674. package/esm/src/utils/_format.js.map +1 -0
  675. package/esm/src/utils/_recover.d.ts +89 -0
  676. package/esm/src/utils/_recover.d.ts.map +1 -0
  677. package/esm/src/utils/_recover.js.map +1 -0
  678. package/esm/src/utils/_symbolConverter.d.ts +90 -0
  679. package/esm/src/utils/_symbolConverter.d.ts.map +1 -0
  680. package/esm/src/utils/_symbolConverter.js.map +1 -0
  681. package/esm/src/utils/mod.d.ts +4 -0
  682. package/esm/src/utils/mod.d.ts.map +1 -0
  683. package/esm/src/utils/mod.js.map +1 -0
  684. package/package.json +43 -48
  685. package/script/bin/_utils.d.ts +80 -0
  686. package/script/bin/_utils.d.ts.map +1 -0
  687. package/script/bin/_utils.js +112 -0
  688. package/script/bin/_utils.js.map +1 -0
  689. package/script/bin/cli.d.ts +3 -0
  690. package/script/bin/cli.d.ts.map +1 -0
  691. package/script/bin/cli.js +338 -0
  692. package/script/bin/cli.js.map +1 -0
  693. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  694. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  695. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +4 -0
  696. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js.map +1 -0
  697. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  698. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  699. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +36 -0
  700. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js.map +1 -0
  701. package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts +9 -0
  702. package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts.map +1 -0
  703. package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.js +4 -0
  704. package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.js.map +1 -0
  705. package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts +21 -0
  706. package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts.map +1 -0
  707. package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.js +295 -0
  708. package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.js.map +1 -0
  709. package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts +39 -0
  710. package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts.map +1 -0
  711. package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.js +241 -0
  712. package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.js.map +1 -0
  713. package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts +44 -0
  714. package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts.map +1 -0
  715. package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.js +62 -0
  716. package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.js.map +1 -0
  717. package/script/package.json +3 -0
  718. package/script/src/_base.d.ts +5 -0
  719. package/script/src/_base.d.ts.map +1 -0
  720. package/script/src/_base.js +12 -0
  721. package/script/src/_base.js.map +1 -0
  722. package/script/src/api/_base.d.ts +53 -0
  723. package/script/src/api/_base.d.ts.map +1 -0
  724. package/script/src/api/_base.js +105 -0
  725. package/script/src/api/_base.js.map +1 -0
  726. package/script/src/api/_common_schemas.d.ts +425 -0
  727. package/script/src/api/_common_schemas.d.ts.map +1 -0
  728. package/script/src/api/_common_schemas.js +471 -0
  729. package/script/src/api/_common_schemas.js.map +1 -0
  730. package/script/src/api/exchange/_base/_errors.d.ts +16 -0
  731. package/script/src/api/exchange/_base/_errors.d.ts.map +1 -0
  732. package/script/src/api/exchange/_base/_errors.js +56 -0
  733. package/script/src/api/exchange/_base/_errors.js.map +1 -0
  734. package/script/src/api/exchange/_base/_execute.d.ts +43 -0
  735. package/script/src/api/exchange/_base/_execute.d.ts.map +1 -0
  736. package/script/src/api/exchange/_base/_execute.js +187 -0
  737. package/script/src/api/exchange/_base/_execute.js.map +1 -0
  738. package/script/src/api/exchange/_base/_nonce.d.ts +5 -0
  739. package/script/src/api/exchange/_base/_nonce.d.ts.map +1 -0
  740. package/script/src/api/exchange/_base/_nonce.js +31 -0
  741. package/script/src/api/exchange/_base/_nonce.js.map +1 -0
  742. package/script/src/api/exchange/_base/_schemas.d.ts +45 -0
  743. package/script/src/api/exchange/_base/_schemas.d.ts.map +1 -0
  744. package/script/src/api/exchange/_base/_schemas.js +71 -0
  745. package/script/src/api/exchange/_base/_schemas.js.map +1 -0
  746. package/script/src/api/exchange/_base/_types.d.ts +105 -0
  747. package/script/src/api/exchange/_base/_types.d.ts.map +1 -0
  748. package/script/src/api/exchange/_base/_types.js +3 -0
  749. package/script/src/api/exchange/_base/_types.js.map +1 -0
  750. package/script/src/api/exchange/_base/mod.d.ts +5 -0
  751. package/script/src/api/exchange/_base/mod.d.ts.map +1 -0
  752. package/script/src/api/exchange/_base/mod.js +21 -0
  753. package/script/src/api/exchange/_base/mod.js.map +1 -0
  754. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts +106 -0
  755. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts.map +1 -0
  756. package/script/src/api/exchange/agentEnableDexAbstraction.js +115 -0
  757. package/script/src/api/exchange/agentEnableDexAbstraction.js.map +1 -0
  758. package/script/src/api/exchange/approveAgent.d.ts +136 -0
  759. package/script/src/api/exchange/approveAgent.d.ts.map +1 -0
  760. package/script/src/api/exchange/approveAgent.js +136 -0
  761. package/script/src/api/exchange/approveAgent.js.map +1 -0
  762. package/script/src/api/exchange/approveBuilderFee.d.ts +136 -0
  763. package/script/src/api/exchange/approveBuilderFee.d.ts.map +1 -0
  764. package/script/src/api/exchange/approveBuilderFee.js +136 -0
  765. package/script/src/api/exchange/approveBuilderFee.js.map +1 -0
  766. package/script/src/api/exchange/batchModify.d.ts +329 -0
  767. package/script/src/api/exchange/batchModify.d.ts.map +1 -0
  768. package/script/src/api/exchange/batchModify.js +146 -0
  769. package/script/src/api/exchange/batchModify.js.map +1 -0
  770. package/script/src/api/exchange/cDeposit.d.ts +132 -0
  771. package/script/src/api/exchange/cDeposit.d.ts.map +1 -0
  772. package/script/src/api/exchange/cDeposit.js +133 -0
  773. package/script/src/api/exchange/cDeposit.js.map +1 -0
  774. package/script/src/api/exchange/cSignerAction.d.ts +127 -0
  775. package/script/src/api/exchange/cSignerAction.d.ts.map +1 -0
  776. package/script/src/api/exchange/cSignerAction.js +129 -0
  777. package/script/src/api/exchange/cSignerAction.js.map +1 -0
  778. package/script/src/api/exchange/cValidatorAction.d.ts +290 -0
  779. package/script/src/api/exchange/cValidatorAction.d.ts.map +1 -0
  780. package/script/src/api/exchange/cValidatorAction.js +205 -0
  781. package/script/src/api/exchange/cValidatorAction.js.map +1 -0
  782. package/script/src/api/exchange/cWithdraw.d.ts +132 -0
  783. package/script/src/api/exchange/cWithdraw.d.ts.map +1 -0
  784. package/script/src/api/exchange/cWithdraw.js +133 -0
  785. package/script/src/api/exchange/cWithdraw.js.map +1 -0
  786. package/script/src/api/exchange/cancel.d.ts +150 -0
  787. package/script/src/api/exchange/cancel.d.ts.map +1 -0
  788. package/script/src/api/exchange/cancel.js +152 -0
  789. package/script/src/api/exchange/cancel.js.map +1 -0
  790. package/script/src/api/exchange/cancelByCloid.d.ts +145 -0
  791. package/script/src/api/exchange/cancelByCloid.d.ts.map +1 -0
  792. package/script/src/api/exchange/cancelByCloid.js +132 -0
  793. package/script/src/api/exchange/cancelByCloid.js.map +1 -0
  794. package/script/src/api/exchange/claimRewards.d.ts +97 -0
  795. package/script/src/api/exchange/claimRewards.d.ts.map +1 -0
  796. package/script/src/api/exchange/claimRewards.js +106 -0
  797. package/script/src/api/exchange/claimRewards.js.map +1 -0
  798. package/script/src/api/exchange/convertToMultiSigUser.d.ts +170 -0
  799. package/script/src/api/exchange/convertToMultiSigUser.d.ts.map +1 -0
  800. package/script/src/api/exchange/convertToMultiSigUser.js +166 -0
  801. package/script/src/api/exchange/convertToMultiSigUser.js.map +1 -0
  802. package/script/src/api/exchange/createSubAccount.d.ts +117 -0
  803. package/script/src/api/exchange/createSubAccount.d.ts.map +1 -0
  804. package/script/src/api/exchange/createSubAccount.js +127 -0
  805. package/script/src/api/exchange/createSubAccount.js.map +1 -0
  806. package/script/src/api/exchange/createVault.d.ts +133 -0
  807. package/script/src/api/exchange/createVault.d.ts.map +1 -0
  808. package/script/src/api/exchange/createVault.js +139 -0
  809. package/script/src/api/exchange/createVault.js.map +1 -0
  810. package/script/src/api/exchange/evmUserModify.d.ts +116 -0
  811. package/script/src/api/exchange/evmUserModify.d.ts.map +1 -0
  812. package/script/src/api/exchange/evmUserModify.js +121 -0
  813. package/script/src/api/exchange/evmUserModify.js.map +1 -0
  814. package/script/src/api/exchange/linkStakingUser.d.ts +144 -0
  815. package/script/src/api/exchange/linkStakingUser.d.ts.map +1 -0
  816. package/script/src/api/exchange/linkStakingUser.js +148 -0
  817. package/script/src/api/exchange/linkStakingUser.js.map +1 -0
  818. package/script/src/api/exchange/modify.d.ts +222 -0
  819. package/script/src/api/exchange/modify.d.ts.map +1 -0
  820. package/script/src/api/exchange/modify.js +141 -0
  821. package/script/src/api/exchange/modify.js.map +1 -0
  822. package/script/src/api/exchange/multiSig.d.ts +4314 -0
  823. package/script/src/api/exchange/multiSig.d.ts.map +1 -0
  824. package/script/src/api/exchange/multiSig.js +309 -0
  825. package/script/src/api/exchange/multiSig.js.map +1 -0
  826. package/script/src/api/exchange/noop.d.ts +106 -0
  827. package/script/src/api/exchange/noop.d.ts.map +1 -0
  828. package/script/src/api/exchange/noop.js +115 -0
  829. package/script/src/api/exchange/noop.js.map +1 -0
  830. package/script/src/api/exchange/order.d.ts +354 -0
  831. package/script/src/api/exchange/order.d.ts.map +1 -0
  832. package/script/src/api/exchange/order.js +199 -0
  833. package/script/src/api/exchange/order.js.map +1 -0
  834. package/script/src/api/exchange/perpDeploy.d.ts +400 -0
  835. package/script/src/api/exchange/perpDeploy.d.ts.map +1 -0
  836. package/script/src/api/exchange/perpDeploy.js +245 -0
  837. package/script/src/api/exchange/perpDeploy.js.map +1 -0
  838. package/script/src/api/exchange/registerReferrer.d.ts +109 -0
  839. package/script/src/api/exchange/registerReferrer.d.ts.map +1 -0
  840. package/script/src/api/exchange/registerReferrer.js +114 -0
  841. package/script/src/api/exchange/registerReferrer.js.map +1 -0
  842. package/script/src/api/exchange/reserveRequestWeight.d.ts +116 -0
  843. package/script/src/api/exchange/reserveRequestWeight.d.ts.map +1 -0
  844. package/script/src/api/exchange/reserveRequestWeight.js +121 -0
  845. package/script/src/api/exchange/reserveRequestWeight.js.map +1 -0
  846. package/script/src/api/exchange/scheduleCancel.d.ts +125 -0
  847. package/script/src/api/exchange/scheduleCancel.d.ts.map +1 -0
  848. package/script/src/api/exchange/scheduleCancel.js +108 -0
  849. package/script/src/api/exchange/scheduleCancel.js.map +1 -0
  850. package/script/src/api/exchange/sendAsset.d.ts +158 -0
  851. package/script/src/api/exchange/sendAsset.d.ts.map +1 -0
  852. package/script/src/api/exchange/sendAsset.js +154 -0
  853. package/script/src/api/exchange/sendAsset.js.map +1 -0
  854. package/script/src/api/exchange/setDisplayName.d.ts +113 -0
  855. package/script/src/api/exchange/setDisplayName.d.ts.map +1 -0
  856. package/script/src/api/exchange/setDisplayName.js +119 -0
  857. package/script/src/api/exchange/setDisplayName.js.map +1 -0
  858. package/script/src/api/exchange/setReferrer.d.ts +109 -0
  859. package/script/src/api/exchange/setReferrer.d.ts.map +1 -0
  860. package/script/src/api/exchange/setReferrer.js +114 -0
  861. package/script/src/api/exchange/setReferrer.js.map +1 -0
  862. package/script/src/api/exchange/spotDeploy.d.ts +389 -0
  863. package/script/src/api/exchange/spotDeploy.d.ts.map +1 -0
  864. package/script/src/api/exchange/spotDeploy.js +233 -0
  865. package/script/src/api/exchange/spotDeploy.js.map +1 -0
  866. package/script/src/api/exchange/spotSend.d.ts +144 -0
  867. package/script/src/api/exchange/spotSend.d.ts.map +1 -0
  868. package/script/src/api/exchange/spotSend.js +143 -0
  869. package/script/src/api/exchange/spotSend.js.map +1 -0
  870. package/script/src/api/exchange/spotUser.d.ts +118 -0
  871. package/script/src/api/exchange/spotUser.d.ts.map +1 -0
  872. package/script/src/api/exchange/spotUser.js +117 -0
  873. package/script/src/api/exchange/spotUser.js.map +1 -0
  874. package/script/src/api/exchange/subAccountModify.d.ts +113 -0
  875. package/script/src/api/exchange/subAccountModify.d.ts.map +1 -0
  876. package/script/src/api/exchange/subAccountModify.js +116 -0
  877. package/script/src/api/exchange/subAccountModify.js.map +1 -0
  878. package/script/src/api/exchange/subAccountSpotTransfer.d.ts +126 -0
  879. package/script/src/api/exchange/subAccountSpotTransfer.d.ts.map +1 -0
  880. package/script/src/api/exchange/subAccountSpotTransfer.js +125 -0
  881. package/script/src/api/exchange/subAccountSpotTransfer.js.map +1 -0
  882. package/script/src/api/exchange/subAccountTransfer.d.ts +117 -0
  883. package/script/src/api/exchange/subAccountTransfer.d.ts.map +1 -0
  884. package/script/src/api/exchange/subAccountTransfer.js +118 -0
  885. package/script/src/api/exchange/subAccountTransfer.js.map +1 -0
  886. package/script/src/api/exchange/tokenDelegate.d.ts +140 -0
  887. package/script/src/api/exchange/tokenDelegate.d.ts.map +1 -0
  888. package/script/src/api/exchange/tokenDelegate.js +139 -0
  889. package/script/src/api/exchange/tokenDelegate.js.map +1 -0
  890. package/script/src/api/exchange/twapCancel.d.ts +136 -0
  891. package/script/src/api/exchange/twapCancel.d.ts.map +1 -0
  892. package/script/src/api/exchange/twapCancel.js +145 -0
  893. package/script/src/api/exchange/twapCancel.js.map +1 -0
  894. package/script/src/api/exchange/twapOrder.d.ts +199 -0
  895. package/script/src/api/exchange/twapOrder.d.ts.map +1 -0
  896. package/script/src/api/exchange/twapOrder.js +171 -0
  897. package/script/src/api/exchange/twapOrder.js.map +1 -0
  898. package/script/src/api/exchange/updateIsolatedMargin.d.ts +127 -0
  899. package/script/src/api/exchange/updateIsolatedMargin.d.ts.map +1 -0
  900. package/script/src/api/exchange/updateIsolatedMargin.js +128 -0
  901. package/script/src/api/exchange/updateIsolatedMargin.js.map +1 -0
  902. package/script/src/api/exchange/updateLeverage.d.ts +127 -0
  903. package/script/src/api/exchange/updateLeverage.d.ts.map +1 -0
  904. package/script/src/api/exchange/updateLeverage.js +128 -0
  905. package/script/src/api/exchange/updateLeverage.js.map +1 -0
  906. package/script/src/api/exchange/usdClassTransfer.d.ts +136 -0
  907. package/script/src/api/exchange/usdClassTransfer.d.ts.map +1 -0
  908. package/script/src/api/exchange/usdClassTransfer.js +136 -0
  909. package/script/src/api/exchange/usdClassTransfer.js.map +1 -0
  910. package/script/src/api/exchange/usdSend.d.ts +136 -0
  911. package/script/src/api/exchange/usdSend.d.ts.map +1 -0
  912. package/script/src/api/exchange/usdSend.js +136 -0
  913. package/script/src/api/exchange/usdSend.js.map +1 -0
  914. package/script/src/api/exchange/userDexAbstraction.d.ts +136 -0
  915. package/script/src/api/exchange/userDexAbstraction.d.ts.map +1 -0
  916. package/script/src/api/exchange/userDexAbstraction.js +136 -0
  917. package/script/src/api/exchange/userDexAbstraction.js.map +1 -0
  918. package/script/src/api/exchange/validatorL1Stream.d.ts +116 -0
  919. package/script/src/api/exchange/validatorL1Stream.d.ts.map +1 -0
  920. package/script/src/api/exchange/validatorL1Stream.js +121 -0
  921. package/script/src/api/exchange/validatorL1Stream.js.map +1 -0
  922. package/script/src/api/exchange/vaultDistribute.d.ts +117 -0
  923. package/script/src/api/exchange/vaultDistribute.d.ts.map +1 -0
  924. package/script/src/api/exchange/vaultDistribute.js +121 -0
  925. package/script/src/api/exchange/vaultDistribute.js.map +1 -0
  926. package/script/src/api/exchange/vaultModify.d.ts +121 -0
  927. package/script/src/api/exchange/vaultModify.d.ts.map +1 -0
  928. package/script/src/api/exchange/vaultModify.js +122 -0
  929. package/script/src/api/exchange/vaultModify.js.map +1 -0
  930. package/script/src/api/exchange/vaultTransfer.d.ts +124 -0
  931. package/script/src/api/exchange/vaultTransfer.d.ts.map +1 -0
  932. package/script/src/api/exchange/vaultTransfer.js +125 -0
  933. package/script/src/api/exchange/vaultTransfer.js.map +1 -0
  934. package/script/src/api/exchange/withdraw3.d.ts +136 -0
  935. package/script/src/api/exchange/withdraw3.d.ts.map +1 -0
  936. package/script/src/api/exchange/withdraw3.js +136 -0
  937. package/script/src/api/exchange/withdraw3.js.map +1 -0
  938. package/script/src/api/exchange/~client.d.ts +1381 -0
  939. package/script/src/api/exchange/~client.d.ts.map +1 -0
  940. package/script/src/api/exchange/~client.js +1451 -0
  941. package/script/src/api/exchange/~client.js.map +1 -0
  942. package/script/src/api/exchange/~mod.d.ts +87 -0
  943. package/script/src/api/exchange/~mod.d.ts.map +1 -0
  944. package/script/src/api/exchange/~mod.js +107 -0
  945. package/script/src/api/exchange/~mod.js.map +1 -0
  946. package/script/src/api/info/_types.d.ts +7 -0
  947. package/script/src/api/info/_types.d.ts.map +1 -0
  948. package/script/src/api/info/_types.js +3 -0
  949. package/script/src/api/info/_types.js.map +1 -0
  950. package/script/src/api/info/activeAssetData.d.ts +98 -0
  951. package/script/src/api/info/activeAssetData.d.ts.map +1 -0
  952. package/script/src/api/info/activeAssetData.js +125 -0
  953. package/script/src/api/info/activeAssetData.js.map +1 -0
  954. package/script/src/api/info/alignedQuoteTokenInfo.d.ts +66 -0
  955. package/script/src/api/info/alignedQuoteTokenInfo.d.ts.map +1 -0
  956. package/script/src/api/info/alignedQuoteTokenInfo.js +111 -0
  957. package/script/src/api/info/alignedQuoteTokenInfo.js.map +1 -0
  958. package/script/src/api/info/allMids.d.ts +49 -0
  959. package/script/src/api/info/allMids.d.ts.map +1 -0
  960. package/script/src/api/info/allMids.js +75 -0
  961. package/script/src/api/info/allMids.js.map +1 -0
  962. package/script/src/api/info/allPerpMetas.d.ts +145 -0
  963. package/script/src/api/info/allPerpMetas.d.ts.map +1 -0
  964. package/script/src/api/info/allPerpMetas.js +88 -0
  965. package/script/src/api/info/allPerpMetas.js.map +1 -0
  966. package/script/src/api/info/blockDetails.d.ts +151 -0
  967. package/script/src/api/info/blockDetails.d.ts.map +1 -0
  968. package/script/src/api/info/blockDetails.js +131 -0
  969. package/script/src/api/info/blockDetails.js.map +1 -0
  970. package/script/src/api/info/candleSnapshot.d.ts +111 -0
  971. package/script/src/api/info/candleSnapshot.d.ts.map +1 -0
  972. package/script/src/api/info/candleSnapshot.js +128 -0
  973. package/script/src/api/info/candleSnapshot.js.map +1 -0
  974. package/script/src/api/info/clearinghouseState.d.ts +269 -0
  975. package/script/src/api/info/clearinghouseState.d.ts.map +1 -0
  976. package/script/src/api/info/clearinghouseState.js +180 -0
  977. package/script/src/api/info/clearinghouseState.js.map +1 -0
  978. package/script/src/api/info/delegations.d.ts +64 -0
  979. package/script/src/api/info/delegations.d.ts.map +1 -0
  980. package/script/src/api/info/delegations.js +104 -0
  981. package/script/src/api/info/delegations.js.map +1 -0
  982. package/script/src/api/info/delegatorHistory.d.ts +142 -0
  983. package/script/src/api/info/delegatorHistory.d.ts.map +1 -0
  984. package/script/src/api/info/delegatorHistory.js +132 -0
  985. package/script/src/api/info/delegatorHistory.js.map +1 -0
  986. package/script/src/api/info/delegatorRewards.d.ts +64 -0
  987. package/script/src/api/info/delegatorRewards.d.ts.map +1 -0
  988. package/script/src/api/info/delegatorRewards.js +104 -0
  989. package/script/src/api/info/delegatorRewards.js.map +1 -0
  990. package/script/src/api/info/delegatorSummary.d.ts +63 -0
  991. package/script/src/api/info/delegatorSummary.d.ts.map +1 -0
  992. package/script/src/api/info/delegatorSummary.js +104 -0
  993. package/script/src/api/info/delegatorSummary.js.map +1 -0
  994. package/script/src/api/info/exchangeStatus.d.ts +46 -0
  995. package/script/src/api/info/exchangeStatus.d.ts.map +1 -0
  996. package/script/src/api/info/exchangeStatus.js +92 -0
  997. package/script/src/api/info/exchangeStatus.js.map +1 -0
  998. package/script/src/api/info/extraAgents.d.ts +64 -0
  999. package/script/src/api/info/extraAgents.d.ts.map +1 -0
  1000. package/script/src/api/info/extraAgents.js +104 -0
  1001. package/script/src/api/info/extraAgents.js.map +1 -0
  1002. package/script/src/api/info/frontendOpenOrders.d.ts +103 -0
  1003. package/script/src/api/info/frontendOpenOrders.d.ts.map +1 -0
  1004. package/script/src/api/info/frontendOpenOrders.js +98 -0
  1005. package/script/src/api/info/frontendOpenOrders.js.map +1 -0
  1006. package/script/src/api/info/fundingHistory.d.ts +74 -0
  1007. package/script/src/api/info/fundingHistory.d.ts.map +1 -0
  1008. package/script/src/api/info/fundingHistory.js +110 -0
  1009. package/script/src/api/info/fundingHistory.js.map +1 -0
  1010. package/script/src/api/info/gossipRootIps.d.ts +39 -0
  1011. package/script/src/api/info/gossipRootIps.d.ts.map +1 -0
  1012. package/script/src/api/info/gossipRootIps.js +87 -0
  1013. package/script/src/api/info/gossipRootIps.js.map +1 -0
  1014. package/script/src/api/info/historicalOrders.d.ts +132 -0
  1015. package/script/src/api/info/historicalOrders.d.ts.map +1 -0
  1016. package/script/src/api/info/historicalOrders.js +105 -0
  1017. package/script/src/api/info/historicalOrders.js.map +1 -0
  1018. package/script/src/api/info/isVip.d.ts +49 -0
  1019. package/script/src/api/info/isVip.d.ts.map +1 -0
  1020. package/script/src/api/info/isVip.js +95 -0
  1021. package/script/src/api/info/isVip.js.map +1 -0
  1022. package/script/src/api/info/l2Book.d.ts +98 -0
  1023. package/script/src/api/info/l2Book.d.ts.map +1 -0
  1024. package/script/src/api/info/l2Book.js +107 -0
  1025. package/script/src/api/info/l2Book.js.map +1 -0
  1026. package/script/src/api/info/leadingVaults.d.ts +60 -0
  1027. package/script/src/api/info/leadingVaults.d.ts.map +1 -0
  1028. package/script/src/api/info/leadingVaults.js +102 -0
  1029. package/script/src/api/info/leadingVaults.js.map +1 -0
  1030. package/script/src/api/info/legalCheck.d.ts +60 -0
  1031. package/script/src/api/info/legalCheck.d.ts.map +1 -0
  1032. package/script/src/api/info/legalCheck.js +102 -0
  1033. package/script/src/api/info/legalCheck.js.map +1 -0
  1034. package/script/src/api/info/liquidatable.d.ts +38 -0
  1035. package/script/src/api/info/liquidatable.d.ts.map +1 -0
  1036. package/script/src/api/info/liquidatable.js +86 -0
  1037. package/script/src/api/info/liquidatable.js.map +1 -0
  1038. package/script/src/api/info/marginTable.d.ts +71 -0
  1039. package/script/src/api/info/marginTable.d.ts.map +1 -0
  1040. package/script/src/api/info/marginTable.js +107 -0
  1041. package/script/src/api/info/marginTable.js.map +1 -0
  1042. package/script/src/api/info/maxBuilderFee.d.ts +52 -0
  1043. package/script/src/api/info/maxBuilderFee.d.ts.map +1 -0
  1044. package/script/src/api/info/maxBuilderFee.js +97 -0
  1045. package/script/src/api/info/maxBuilderFee.js.map +1 -0
  1046. package/script/src/api/info/maxMarketOrderNtls.d.ts +41 -0
  1047. package/script/src/api/info/maxMarketOrderNtls.d.ts.map +1 -0
  1048. package/script/src/api/info/maxMarketOrderNtls.js +90 -0
  1049. package/script/src/api/info/maxMarketOrderNtls.js.map +1 -0
  1050. package/script/src/api/info/meta.d.ts +143 -0
  1051. package/script/src/api/info/meta.d.ts.map +1 -0
  1052. package/script/src/api/info/meta.js +109 -0
  1053. package/script/src/api/info/meta.js.map +1 -0
  1054. package/script/src/api/info/metaAndAssetCtxs.d.ts +204 -0
  1055. package/script/src/api/info/metaAndAssetCtxs.d.ts.map +1 -0
  1056. package/script/src/api/info/metaAndAssetCtxs.js +103 -0
  1057. package/script/src/api/info/metaAndAssetCtxs.js.map +1 -0
  1058. package/script/src/api/info/openOrders.d.ts +82 -0
  1059. package/script/src/api/info/openOrders.d.ts.map +1 -0
  1060. package/script/src/api/info/openOrders.js +98 -0
  1061. package/script/src/api/info/openOrders.js.map +1 -0
  1062. package/script/src/api/info/orderStatus.d.ts +150 -0
  1063. package/script/src/api/info/orderStatus.d.ts.map +1 -0
  1064. package/script/src/api/info/orderStatus.js +120 -0
  1065. package/script/src/api/info/orderStatus.js.map +1 -0
  1066. package/script/src/api/info/perpDeployAuctionStatus.d.ts +56 -0
  1067. package/script/src/api/info/perpDeployAuctionStatus.d.ts.map +1 -0
  1068. package/script/src/api/info/perpDeployAuctionStatus.js +99 -0
  1069. package/script/src/api/info/perpDeployAuctionStatus.js.map +1 -0
  1070. package/script/src/api/info/perpDexLimits.d.ts +63 -0
  1071. package/script/src/api/info/perpDexLimits.d.ts.map +1 -0
  1072. package/script/src/api/info/perpDexLimits.js +104 -0
  1073. package/script/src/api/info/perpDexLimits.js.map +1 -0
  1074. package/script/src/api/info/perpDexs.d.ts +78 -0
  1075. package/script/src/api/info/perpDexs.d.ts.map +1 -0
  1076. package/script/src/api/info/perpDexs.js +112 -0
  1077. package/script/src/api/info/perpDexs.js.map +1 -0
  1078. package/script/src/api/info/perpsAtOpenInterestCap.d.ts +47 -0
  1079. package/script/src/api/info/perpsAtOpenInterestCap.d.ts.map +1 -0
  1080. package/script/src/api/info/perpsAtOpenInterestCap.js +74 -0
  1081. package/script/src/api/info/perpsAtOpenInterestCap.js.map +1 -0
  1082. package/script/src/api/info/portfolio.d.ts +169 -0
  1083. package/script/src/api/info/portfolio.d.ts.map +1 -0
  1084. package/script/src/api/info/portfolio.js +115 -0
  1085. package/script/src/api/info/portfolio.js.map +1 -0
  1086. package/script/src/api/info/preTransferCheck.d.ts +66 -0
  1087. package/script/src/api/info/preTransferCheck.d.ts.map +1 -0
  1088. package/script/src/api/info/preTransferCheck.js +106 -0
  1089. package/script/src/api/info/preTransferCheck.js.map +1 -0
  1090. package/script/src/api/info/predictedFundings.d.ts +66 -0
  1091. package/script/src/api/info/predictedFundings.d.ts.map +1 -0
  1092. package/script/src/api/info/predictedFundings.js +109 -0
  1093. package/script/src/api/info/predictedFundings.js.map +1 -0
  1094. package/script/src/api/info/recentTrades.d.ts +84 -0
  1095. package/script/src/api/info/recentTrades.d.ts.map +1 -0
  1096. package/script/src/api/info/recentTrades.js +114 -0
  1097. package/script/src/api/info/recentTrades.js.map +1 -0
  1098. package/script/src/api/info/referral.d.ts +274 -0
  1099. package/script/src/api/info/referral.d.ts.map +1 -0
  1100. package/script/src/api/info/referral.js +196 -0
  1101. package/script/src/api/info/referral.js.map +1 -0
  1102. package/script/src/api/info/spotClearinghouseState.d.ts +103 -0
  1103. package/script/src/api/info/spotClearinghouseState.d.ts.map +1 -0
  1104. package/script/src/api/info/spotClearinghouseState.js +112 -0
  1105. package/script/src/api/info/spotClearinghouseState.js.map +1 -0
  1106. package/script/src/api/info/spotDeployState.d.ts +162 -0
  1107. package/script/src/api/info/spotDeployState.d.ts.map +1 -0
  1108. package/script/src/api/info/spotDeployState.js +143 -0
  1109. package/script/src/api/info/spotDeployState.js.map +1 -0
  1110. package/script/src/api/info/spotMeta.d.ts +137 -0
  1111. package/script/src/api/info/spotMeta.d.ts.map +1 -0
  1112. package/script/src/api/info/spotMeta.js +130 -0
  1113. package/script/src/api/info/spotMeta.js.map +1 -0
  1114. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts +185 -0
  1115. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts.map +1 -0
  1116. package/script/src/api/info/spotMetaAndAssetCtxs.js +112 -0
  1117. package/script/src/api/info/spotMetaAndAssetCtxs.js.map +1 -0
  1118. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts +56 -0
  1119. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts.map +1 -0
  1120. package/script/src/api/info/spotPairDeployAuctionStatus.js +99 -0
  1121. package/script/src/api/info/spotPairDeployAuctionStatus.js.map +1 -0
  1122. package/script/src/api/info/subAccounts.d.ts +412 -0
  1123. package/script/src/api/info/subAccounts.d.ts.map +1 -0
  1124. package/script/src/api/info/subAccounts.js +110 -0
  1125. package/script/src/api/info/subAccounts.js.map +1 -0
  1126. package/script/src/api/info/subAccounts2.d.ts +498 -0
  1127. package/script/src/api/info/subAccounts2.d.ts.map +1 -0
  1128. package/script/src/api/info/subAccounts2.js +113 -0
  1129. package/script/src/api/info/subAccounts2.js.map +1 -0
  1130. package/script/src/api/info/tokenDetails.d.ts +114 -0
  1131. package/script/src/api/info/tokenDetails.d.ts.map +1 -0
  1132. package/script/src/api/info/tokenDetails.js +135 -0
  1133. package/script/src/api/info/tokenDetails.js.map +1 -0
  1134. package/script/src/api/info/twapHistory.d.ts +132 -0
  1135. package/script/src/api/info/twapHistory.d.ts.map +1 -0
  1136. package/script/src/api/info/twapHistory.js +107 -0
  1137. package/script/src/api/info/twapHistory.js.map +1 -0
  1138. package/script/src/api/info/txDetails.d.ts +102 -0
  1139. package/script/src/api/info/txDetails.d.ts.map +1 -0
  1140. package/script/src/api/info/txDetails.js +116 -0
  1141. package/script/src/api/info/txDetails.js.map +1 -0
  1142. package/script/src/api/info/userDetails.d.ts +106 -0
  1143. package/script/src/api/info/userDetails.d.ts.map +1 -0
  1144. package/script/src/api/info/userDetails.js +101 -0
  1145. package/script/src/api/info/userDetails.js.map +1 -0
  1146. package/script/src/api/info/userDexAbstraction.d.ts +49 -0
  1147. package/script/src/api/info/userDexAbstraction.d.ts.map +1 -0
  1148. package/script/src/api/info/userDexAbstraction.js +95 -0
  1149. package/script/src/api/info/userDexAbstraction.js.map +1 -0
  1150. package/script/src/api/info/userFees.d.ts +269 -0
  1151. package/script/src/api/info/userFees.d.ts.map +1 -0
  1152. package/script/src/api/info/userFees.js +210 -0
  1153. package/script/src/api/info/userFees.js.map +1 -0
  1154. package/script/src/api/info/userFills.d.ts +122 -0
  1155. package/script/src/api/info/userFills.d.ts.map +1 -0
  1156. package/script/src/api/info/userFills.js +98 -0
  1157. package/script/src/api/info/userFills.js.map +1 -0
  1158. package/script/src/api/info/userFillsByTime.d.ts +128 -0
  1159. package/script/src/api/info/userFillsByTime.d.ts.map +1 -0
  1160. package/script/src/api/info/userFillsByTime.js +102 -0
  1161. package/script/src/api/info/userFillsByTime.js.map +1 -0
  1162. package/script/src/api/info/userFunding.d.ts +104 -0
  1163. package/script/src/api/info/userFunding.d.ts.map +1 -0
  1164. package/script/src/api/info/userFunding.js +121 -0
  1165. package/script/src/api/info/userFunding.js.map +1 -0
  1166. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts +711 -0
  1167. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts.map +1 -0
  1168. package/script/src/api/info/userNonFundingLedgerUpdates.js +295 -0
  1169. package/script/src/api/info/userNonFundingLedgerUpdates.js.map +1 -0
  1170. package/script/src/api/info/userRateLimit.d.ts +63 -0
  1171. package/script/src/api/info/userRateLimit.d.ts.map +1 -0
  1172. package/script/src/api/info/userRateLimit.js +104 -0
  1173. package/script/src/api/info/userRateLimit.js.map +1 -0
  1174. package/script/src/api/info/userRole.d.ts +84 -0
  1175. package/script/src/api/info/userRole.d.ts.map +1 -0
  1176. package/script/src/api/info/userRole.js +118 -0
  1177. package/script/src/api/info/userRole.js.map +1 -0
  1178. package/script/src/api/info/userToMultiSigSigners.d.ts +57 -0
  1179. package/script/src/api/info/userToMultiSigSigners.d.ts.map +1 -0
  1180. package/script/src/api/info/userToMultiSigSigners.js +100 -0
  1181. package/script/src/api/info/userToMultiSigSigners.js.map +1 -0
  1182. package/script/src/api/info/userTwapSliceFills.d.ts +124 -0
  1183. package/script/src/api/info/userTwapSliceFills.d.ts.map +1 -0
  1184. package/script/src/api/info/userTwapSliceFills.js +103 -0
  1185. package/script/src/api/info/userTwapSliceFills.js.map +1 -0
  1186. package/script/src/api/info/userTwapSliceFillsByTime.d.ts +133 -0
  1187. package/script/src/api/info/userTwapSliceFillsByTime.d.ts.map +1 -0
  1188. package/script/src/api/info/userTwapSliceFillsByTime.js +109 -0
  1189. package/script/src/api/info/userTwapSliceFillsByTime.js.map +1 -0
  1190. package/script/src/api/info/userVaultEquities.d.ts +64 -0
  1191. package/script/src/api/info/userVaultEquities.d.ts.map +1 -0
  1192. package/script/src/api/info/userVaultEquities.js +104 -0
  1193. package/script/src/api/info/userVaultEquities.js.map +1 -0
  1194. package/script/src/api/info/validatorL1Votes.d.ts +70 -0
  1195. package/script/src/api/info/validatorL1Votes.d.ts.map +1 -0
  1196. package/script/src/api/info/validatorL1Votes.js +104 -0
  1197. package/script/src/api/info/validatorL1Votes.js.map +1 -0
  1198. package/script/src/api/info/validatorSummaries.d.ts +155 -0
  1199. package/script/src/api/info/validatorSummaries.d.ts.map +1 -0
  1200. package/script/src/api/info/validatorSummaries.js +128 -0
  1201. package/script/src/api/info/validatorSummaries.js.map +1 -0
  1202. package/script/src/api/info/vaultDetails.d.ts +359 -0
  1203. package/script/src/api/info/vaultDetails.d.ts.map +1 -0
  1204. package/script/src/api/info/vaultDetails.js +177 -0
  1205. package/script/src/api/info/vaultDetails.js.map +1 -0
  1206. package/script/src/api/info/vaultSummaries.d.ts +104 -0
  1207. package/script/src/api/info/vaultSummaries.d.ts.map +1 -0
  1208. package/script/src/api/info/vaultSummaries.js +119 -0
  1209. package/script/src/api/info/vaultSummaries.js.map +1 -0
  1210. package/script/src/api/info/webData2.d.ts +833 -0
  1211. package/script/src/api/info/webData2.d.ts.map +1 -0
  1212. package/script/src/api/info/webData2.js +96 -0
  1213. package/script/src/api/info/webData2.js.map +1 -0
  1214. package/script/src/api/info/~client.d.ts +1487 -0
  1215. package/script/src/api/info/~client.d.ts.map +1 -0
  1216. package/script/src/api/info/~client.js +1557 -0
  1217. package/script/src/api/info/~client.js.map +1 -0
  1218. package/script/src/api/info/~mod.d.ts +91 -0
  1219. package/script/src/api/info/~mod.d.ts.map +1 -0
  1220. package/script/src/api/info/~mod.js +109 -0
  1221. package/script/src/api/info/~mod.js.map +1 -0
  1222. package/script/src/api/subscription/_types.d.ts +7 -0
  1223. package/script/src/api/subscription/_types.d.ts.map +1 -0
  1224. package/script/src/api/subscription/_types.js +3 -0
  1225. package/script/src/api/subscription/_types.js.map +1 -0
  1226. package/script/src/api/subscription/activeAssetCtx.d.ts +97 -0
  1227. package/script/src/api/subscription/activeAssetCtx.d.ts.map +1 -0
  1228. package/script/src/api/subscription/activeAssetCtx.js +118 -0
  1229. package/script/src/api/subscription/activeAssetCtx.js.map +1 -0
  1230. package/script/src/api/subscription/activeAssetData.d.ts +84 -0
  1231. package/script/src/api/subscription/activeAssetData.d.ts.map +1 -0
  1232. package/script/src/api/subscription/activeAssetData.js +95 -0
  1233. package/script/src/api/subscription/activeAssetData.js.map +1 -0
  1234. package/script/src/api/subscription/activeSpotAssetCtx.d.ts +89 -0
  1235. package/script/src/api/subscription/activeSpotAssetCtx.d.ts.map +1 -0
  1236. package/script/src/api/subscription/activeSpotAssetCtx.js +114 -0
  1237. package/script/src/api/subscription/activeSpotAssetCtx.js.map +1 -0
  1238. package/script/src/api/subscription/allMids.d.ts +58 -0
  1239. package/script/src/api/subscription/allMids.d.ts.map +1 -0
  1240. package/script/src/api/subscription/allMids.js +79 -0
  1241. package/script/src/api/subscription/allMids.js.map +1 -0
  1242. package/script/src/api/subscription/assetCtxs.d.ts +108 -0
  1243. package/script/src/api/subscription/assetCtxs.d.ts.map +1 -0
  1244. package/script/src/api/subscription/assetCtxs.js +102 -0
  1245. package/script/src/api/subscription/assetCtxs.js.map +1 -0
  1246. package/script/src/api/subscription/bbo.d.ts +89 -0
  1247. package/script/src/api/subscription/bbo.d.ts.map +1 -0
  1248. package/script/src/api/subscription/bbo.js +100 -0
  1249. package/script/src/api/subscription/bbo.js.map +1 -0
  1250. package/script/src/api/subscription/candle.d.ts +71 -0
  1251. package/script/src/api/subscription/candle.d.ts.map +1 -0
  1252. package/script/src/api/subscription/candle.js +95 -0
  1253. package/script/src/api/subscription/candle.js.map +1 -0
  1254. package/script/src/api/subscription/clearinghouseState.d.ts +285 -0
  1255. package/script/src/api/subscription/clearinghouseState.d.ts.map +1 -0
  1256. package/script/src/api/subscription/clearinghouseState.js +106 -0
  1257. package/script/src/api/subscription/clearinghouseState.js.map +1 -0
  1258. package/script/src/api/subscription/explorerBlock.d.ts +64 -0
  1259. package/script/src/api/subscription/explorerBlock.d.ts.map +1 -0
  1260. package/script/src/api/subscription/explorerBlock.js +100 -0
  1261. package/script/src/api/subscription/explorerBlock.js.map +1 -0
  1262. package/script/src/api/subscription/explorerTxs.d.ts +83 -0
  1263. package/script/src/api/subscription/explorerTxs.d.ts.map +1 -0
  1264. package/script/src/api/subscription/explorerTxs.js +105 -0
  1265. package/script/src/api/subscription/explorerTxs.js.map +1 -0
  1266. package/script/src/api/subscription/l2Book.d.ts +95 -0
  1267. package/script/src/api/subscription/l2Book.d.ts.map +1 -0
  1268. package/script/src/api/subscription/l2Book.js +109 -0
  1269. package/script/src/api/subscription/l2Book.js.map +1 -0
  1270. package/script/src/api/subscription/notification.d.ts +51 -0
  1271. package/script/src/api/subscription/notification.d.ts.map +1 -0
  1272. package/script/src/api/subscription/notification.js +93 -0
  1273. package/script/src/api/subscription/notification.js.map +1 -0
  1274. package/script/src/api/subscription/openOrders.d.ts +128 -0
  1275. package/script/src/api/subscription/openOrders.d.ts.map +1 -0
  1276. package/script/src/api/subscription/openOrders.js +106 -0
  1277. package/script/src/api/subscription/openOrders.js.map +1 -0
  1278. package/script/src/api/subscription/orderUpdates.d.ts +101 -0
  1279. package/script/src/api/subscription/orderUpdates.d.ts.map +1 -0
  1280. package/script/src/api/subscription/orderUpdates.js +100 -0
  1281. package/script/src/api/subscription/orderUpdates.js.map +1 -0
  1282. package/script/src/api/subscription/spotAssetCtxs.d.ts +67 -0
  1283. package/script/src/api/subscription/spotAssetCtxs.d.ts.map +1 -0
  1284. package/script/src/api/subscription/spotAssetCtxs.js +104 -0
  1285. package/script/src/api/subscription/spotAssetCtxs.js.map +1 -0
  1286. package/script/src/api/subscription/spotState.d.ts +91 -0
  1287. package/script/src/api/subscription/spotState.d.ts.map +1 -0
  1288. package/script/src/api/subscription/spotState.js +101 -0
  1289. package/script/src/api/subscription/spotState.js.map +1 -0
  1290. package/script/src/api/subscription/trades.d.ts +73 -0
  1291. package/script/src/api/subscription/trades.d.ts.map +1 -0
  1292. package/script/src/api/subscription/trades.js +92 -0
  1293. package/script/src/api/subscription/trades.js.map +1 -0
  1294. package/script/src/api/subscription/userEvents.d.ts +876 -0
  1295. package/script/src/api/subscription/userEvents.d.ts.map +1 -0
  1296. package/script/src/api/subscription/userEvents.js +186 -0
  1297. package/script/src/api/subscription/userEvents.js.map +1 -0
  1298. package/script/src/api/subscription/userFills.d.ts +152 -0
  1299. package/script/src/api/subscription/userFills.d.ts.map +1 -0
  1300. package/script/src/api/subscription/userFills.js +106 -0
  1301. package/script/src/api/subscription/userFills.js.map +1 -0
  1302. package/script/src/api/subscription/userFundings.d.ts +91 -0
  1303. package/script/src/api/subscription/userFundings.d.ts.map +1 -0
  1304. package/script/src/api/subscription/userFundings.js +114 -0
  1305. package/script/src/api/subscription/userFundings.js.map +1 -0
  1306. package/script/src/api/subscription/userHistoricalOrders.d.ts +161 -0
  1307. package/script/src/api/subscription/userHistoricalOrders.d.ts.map +1 -0
  1308. package/script/src/api/subscription/userHistoricalOrders.js +109 -0
  1309. package/script/src/api/subscription/userHistoricalOrders.js.map +1 -0
  1310. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts +493 -0
  1311. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +1 -0
  1312. package/script/src/api/subscription/userNonFundingLedgerUpdates.js +100 -0
  1313. package/script/src/api/subscription/userNonFundingLedgerUpdates.js.map +1 -0
  1314. package/script/src/api/subscription/userTwapHistory.d.ts +161 -0
  1315. package/script/src/api/subscription/userTwapHistory.d.ts.map +1 -0
  1316. package/script/src/api/subscription/userTwapHistory.js +111 -0
  1317. package/script/src/api/subscription/userTwapHistory.js.map +1 -0
  1318. package/script/src/api/subscription/userTwapSliceFills.d.ts +132 -0
  1319. package/script/src/api/subscription/userTwapSliceFills.d.ts.map +1 -0
  1320. package/script/src/api/subscription/userTwapSliceFills.js +105 -0
  1321. package/script/src/api/subscription/userTwapSliceFills.js.map +1 -0
  1322. package/script/src/api/subscription/webData2.d.ts +704 -0
  1323. package/script/src/api/subscription/webData2.d.ts.map +1 -0
  1324. package/script/src/api/subscription/webData2.js +144 -0
  1325. package/script/src/api/subscription/webData2.js.map +1 -0
  1326. package/script/src/api/subscription/webData3.d.ts +541 -0
  1327. package/script/src/api/subscription/webData3.d.ts.map +1 -0
  1328. package/script/src/api/subscription/webData3.js +137 -0
  1329. package/script/src/api/subscription/webData3.js.map +1 -0
  1330. package/script/src/api/subscription/~client.d.ts +598 -0
  1331. package/script/src/api/subscription/~client.d.ts.map +1 -0
  1332. package/script/src/api/subscription/~client.js +630 -0
  1333. package/script/src/api/subscription/~client.js.map +1 -0
  1334. package/script/src/api/subscription/~mod.d.ts +53 -0
  1335. package/script/src/api/subscription/~mod.d.ts.map +1 -0
  1336. package/script/src/api/subscription/~mod.js +71 -0
  1337. package/script/src/api/subscription/~mod.js.map +1 -0
  1338. package/script/src/mod.d.ts +9 -0
  1339. package/script/src/mod.d.ts.map +1 -0
  1340. package/script/src/mod.js +28 -0
  1341. package/script/src/mod.js.map +1 -0
  1342. package/script/src/signing/_signTypedData.d.ts +123 -0
  1343. package/script/src/signing/_signTypedData.d.ts.map +1 -0
  1344. package/script/src/signing/_signTypedData.js +201 -0
  1345. package/script/src/signing/_signTypedData.js.map +1 -0
  1346. package/script/src/signing/mod.d.ts +324 -0
  1347. package/script/src/signing/mod.d.ts.map +1 -0
  1348. package/script/src/signing/mod.js +404 -0
  1349. package/script/src/signing/mod.js.map +1 -0
  1350. package/script/src/transport/_polyfills.d.ts +19 -0
  1351. package/script/src/transport/_polyfills.d.ts.map +1 -0
  1352. package/script/src/transport/_polyfills.js +51 -0
  1353. package/script/src/transport/_polyfills.js.map +1 -0
  1354. package/script/src/transport/base.d.ts +48 -0
  1355. package/script/src/transport/base.d.ts.map +1 -0
  1356. package/script/src/transport/base.js +13 -0
  1357. package/script/src/transport/base.js.map +1 -0
  1358. package/script/src/transport/http/mod.d.ts +94 -0
  1359. package/script/src/transport/http/mod.d.ts.map +1 -0
  1360. package/script/src/transport/http/mod.js +157 -0
  1361. package/script/src/transport/http/mod.js.map +1 -0
  1362. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts +91 -0
  1363. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts.map +1 -0
  1364. package/script/src/transport/websocket/_hyperliquid_event_target.js +91 -0
  1365. package/script/src/transport/websocket/_hyperliquid_event_target.js.map +1 -0
  1366. package/script/src/transport/websocket/_websocket_async_request.d.ts +37 -0
  1367. package/script/src/transport/websocket/_websocket_async_request.d.ts.map +1 -0
  1368. package/script/src/transport/websocket/_websocket_async_request.js +197 -0
  1369. package/script/src/transport/websocket/_websocket_async_request.js.map +1 -0
  1370. package/script/src/transport/websocket/mod.d.ts +123 -0
  1371. package/script/src/transport/websocket/mod.d.ts.map +1 -0
  1372. package/script/src/transport/websocket/mod.js +255 -0
  1373. package/script/src/transport/websocket/mod.js.map +1 -0
  1374. package/script/src/utils/_eip712.d.ts +42 -0
  1375. package/script/src/utils/_eip712.d.ts.map +1 -0
  1376. package/script/src/utils/_eip712.js +214 -0
  1377. package/script/src/utils/_eip712.js.map +1 -0
  1378. package/script/src/utils/_format.d.ts +28 -0
  1379. package/script/src/utils/_format.d.ts.map +1 -0
  1380. package/script/src/utils/_format.js +161 -0
  1381. package/script/src/utils/_format.js.map +1 -0
  1382. package/script/src/utils/_recover.d.ts +89 -0
  1383. package/script/src/utils/_recover.d.ts.map +1 -0
  1384. package/script/src/utils/_recover.js +156 -0
  1385. package/script/src/utils/_recover.js.map +1 -0
  1386. package/script/src/utils/_symbolConverter.d.ts +90 -0
  1387. package/script/src/utils/_symbolConverter.d.ts.map +1 -0
  1388. package/script/src/utils/_symbolConverter.js +176 -0
  1389. package/script/src/utils/_symbolConverter.js.map +1 -0
  1390. package/script/src/utils/mod.d.ts +4 -0
  1391. package/script/src/utils/mod.d.ts.map +1 -0
  1392. package/script/src/utils/mod.js +20 -0
  1393. package/script/src/utils/mod.js.map +1 -0
  1394. package/src/bin/cli.ts +320 -0
  1395. package/src/deps/jsr.io/@std/bytes/1.0.6/_types.ts +11 -0
  1396. package/src/deps/jsr.io/@std/bytes/1.0.6/concat.ts +37 -0
  1397. package/src/deps/jsr.io/@std/msgpack/1.0.3/_types.ts +11 -0
  1398. package/src/deps/jsr.io/@std/msgpack/1.0.3/decode.ts +391 -0
  1399. package/src/deps/jsr.io/@std/msgpack/1.0.3/encode.ts +287 -0
  1400. package/src/deps/jsr.io/@std/msgpack/1.0.3/mod.ts +47 -0
  1401. package/src/src/api/_base.ts +163 -0
  1402. package/src/src/api/_common_schemas.ts +767 -0
  1403. package/src/src/api/exchange/_base/_errors.ts +57 -0
  1404. package/src/src/api/exchange/_base/_execute.ts +275 -0
  1405. package/src/src/api/exchange/_base/_nonce.ts +29 -0
  1406. package/src/src/api/exchange/_base/_schemas.ts +73 -0
  1407. package/src/src/api/exchange/_base/_types.ts +114 -0
  1408. package/src/src/api/exchange/_base/mod.ts +4 -0
  1409. package/src/src/api/exchange/agentEnableDexAbstraction.ts +124 -0
  1410. package/src/src/api/exchange/approveAgent.ts +162 -0
  1411. package/src/src/api/exchange/approveBuilderFee.ts +162 -0
  1412. package/src/src/api/exchange/batchModify.ts +164 -0
  1413. package/src/src/api/exchange/cDeposit.ts +156 -0
  1414. package/src/src/api/exchange/cSignerAction.ts +150 -0
  1415. package/src/src/api/exchange/cValidatorAction.ts +290 -0
  1416. package/src/src/api/exchange/cWithdraw.ts +156 -0
  1417. package/src/src/api/exchange/cancel.ts +196 -0
  1418. package/src/src/api/exchange/cancelByCloid.ts +153 -0
  1419. package/src/src/api/exchange/claimRewards.ts +113 -0
  1420. package/src/src/api/exchange/convertToMultiSigUser.ts +212 -0
  1421. package/src/src/api/exchange/createSubAccount.ts +158 -0
  1422. package/src/src/api/exchange/createVault.ts +179 -0
  1423. package/src/src/api/exchange/evmUserModify.ts +136 -0
  1424. package/src/src/api/exchange/linkStakingUser.ts +178 -0
  1425. package/src/src/api/exchange/modify.ts +159 -0
  1426. package/src/src/api/exchange/multiSig.ts +348 -0
  1427. package/src/src/api/exchange/noop.ts +122 -0
  1428. package/src/src/api/exchange/order.ts +278 -0
  1429. package/src/src/api/exchange/perpDeploy.ts +402 -0
  1430. package/src/src/api/exchange/registerReferrer.ts +130 -0
  1431. package/src/src/api/exchange/reserveRequestWeight.ts +136 -0
  1432. package/src/src/api/exchange/scheduleCancel.ts +166 -0
  1433. package/src/src/api/exchange/sendAsset.ts +192 -0
  1434. package/src/src/api/exchange/setDisplayName.ts +136 -0
  1435. package/src/src/api/exchange/setReferrer.ts +130 -0
  1436. package/src/src/api/exchange/spotDeploy.ts +379 -0
  1437. package/src/src/api/exchange/spotSend.ts +172 -0
  1438. package/src/src/api/exchange/spotUser.ts +135 -0
  1439. package/src/src/api/exchange/subAccountModify.ts +135 -0
  1440. package/src/src/api/exchange/subAccountSpotTransfer.ts +149 -0
  1441. package/src/src/api/exchange/subAccountTransfer.ts +139 -0
  1442. package/src/src/api/exchange/tokenDelegate.ts +168 -0
  1443. package/src/src/api/exchange/twapCancel.ts +184 -0
  1444. package/src/src/api/exchange/twapOrder.ts +231 -0
  1445. package/src/src/api/exchange/updateIsolatedMargin.ts +152 -0
  1446. package/src/src/api/exchange/updateLeverage.ts +152 -0
  1447. package/src/src/api/exchange/usdClassTransfer.ts +162 -0
  1448. package/src/src/api/exchange/usdSend.ts +162 -0
  1449. package/src/src/api/exchange/userDexAbstraction.ts +166 -0
  1450. package/src/src/api/exchange/validatorL1Stream.ts +136 -0
  1451. package/src/src/api/exchange/vaultDistribute.ts +141 -0
  1452. package/src/src/api/exchange/vaultModify.ts +143 -0
  1453. package/src/src/api/exchange/vaultTransfer.ts +146 -0
  1454. package/src/src/api/exchange/withdraw3.ts +162 -0
  1455. package/src/src/api/exchange/~client.ts +1671 -0
  1456. package/src/src/api/exchange/~mod.ts +88 -0
  1457. package/src/src/api/info/_types.ts +7 -0
  1458. package/src/src/api/info/activeAssetData.ts +154 -0
  1459. package/src/src/api/info/alignedQuoteTokenInfo.ts +128 -0
  1460. package/src/src/api/info/allMids.ts +95 -0
  1461. package/src/src/api/info/allPerpMetas.ts +75 -0
  1462. package/src/src/api/info/blockDetails.ts +172 -0
  1463. package/src/src/api/info/candleSnapshot.ts +159 -0
  1464. package/src/src/api/info/clearinghouseState.ts +286 -0
  1465. package/src/src/api/info/delegations.ts +108 -0
  1466. package/src/src/api/info/delegatorHistory.ts +163 -0
  1467. package/src/src/api/info/delegatorRewards.ts +108 -0
  1468. package/src/src/api/info/delegatorSummary.ts +107 -0
  1469. package/src/src/api/info/exchangeStatus.ts +81 -0
  1470. package/src/src/api/info/extraAgents.ts +109 -0
  1471. package/src/src/api/info/frontendOpenOrders.ts +92 -0
  1472. package/src/src/api/info/fundingHistory.ts +123 -0
  1473. package/src/src/api/info/gossipRootIps.ts +70 -0
  1474. package/src/src/api/info/historicalOrders.ts +103 -0
  1475. package/src/src/api/info/isVip.ts +86 -0
  1476. package/src/src/api/info/l2Book.ts +125 -0
  1477. package/src/src/api/info/leadingVaults.ts +103 -0
  1478. package/src/src/api/info/legalCheck.ts +102 -0
  1479. package/src/src/api/info/liquidatable.ts +68 -0
  1480. package/src/src/api/info/marginTable.ts +117 -0
  1481. package/src/src/api/info/maxBuilderFee.ts +93 -0
  1482. package/src/src/api/info/maxMarketOrderNtls.ts +81 -0
  1483. package/src/src/api/info/meta.ts +176 -0
  1484. package/src/src/api/info/metaAndAssetCtxs.ts +159 -0
  1485. package/src/src/api/info/openOrders.ts +92 -0
  1486. package/src/src/api/info/orderStatus.ts +128 -0
  1487. package/src/src/api/info/perpDeployAuctionStatus.ts +98 -0
  1488. package/src/src/api/info/perpDexLimits.ts +109 -0
  1489. package/src/src/api/info/perpDexs.ts +131 -0
  1490. package/src/src/api/info/perpsAtOpenInterestCap.ts +93 -0
  1491. package/src/src/api/info/portfolio.ts +120 -0
  1492. package/src/src/api/info/preTransferCheck.ts +112 -0
  1493. package/src/src/api/info/predictedFundings.ts +124 -0
  1494. package/src/src/api/info/recentTrades.ts +133 -0
  1495. package/src/src/api/info/referral.ts +321 -0
  1496. package/src/src/api/info/spotClearinghouseState.ts +127 -0
  1497. package/src/src/api/info/spotDeployState.ts +201 -0
  1498. package/src/src/api/info/spotMeta.ts +175 -0
  1499. package/src/src/api/info/spotMetaAndAssetCtxs.ts +127 -0
  1500. package/src/src/api/info/spotPairDeployAuctionStatus.ts +98 -0
  1501. package/src/src/api/info/subAccounts.ts +117 -0
  1502. package/src/src/api/info/subAccounts2.ts +126 -0
  1503. package/src/src/api/info/tokenDetails.ts +185 -0
  1504. package/src/src/api/info/twapHistory.ts +108 -0
  1505. package/src/src/api/info/txDetails.ts +135 -0
  1506. package/src/src/api/info/userDetails.ts +99 -0
  1507. package/src/src/api/info/userDexAbstraction.ts +86 -0
  1508. package/src/src/api/info/userFees.ts +340 -0
  1509. package/src/src/api/info/userFills.ts +92 -0
  1510. package/src/src/api/info/userFillsByTime.ts +102 -0
  1511. package/src/src/api/info/userFunding.ts +149 -0
  1512. package/src/src/api/info/userNonFundingLedgerUpdates.ts +537 -0
  1513. package/src/src/api/info/userRateLimit.ts +107 -0
  1514. package/src/src/api/info/userRole.ts +130 -0
  1515. package/src/src/api/info/userToMultiSigSigners.ts +101 -0
  1516. package/src/src/api/info/userTwapSliceFills.ts +101 -0
  1517. package/src/src/api/info/userTwapSliceFillsByTime.ts +116 -0
  1518. package/src/src/api/info/userVaultEquities.ts +108 -0
  1519. package/src/src/api/info/validatorL1Votes.ts +101 -0
  1520. package/src/src/api/info/validatorSummaries.ts +163 -0
  1521. package/src/src/api/info/vaultDetails.ts +279 -0
  1522. package/src/src/api/info/vaultSummaries.ts +140 -0
  1523. package/src/src/api/info/webData2.ts +87 -0
  1524. package/src/src/api/info/~client.ts +1838 -0
  1525. package/src/src/api/info/~mod.ts +92 -0
  1526. package/src/src/api/subscription/_types.ts +7 -0
  1527. package/src/src/api/subscription/activeAssetCtx.ts +146 -0
  1528. package/src/src/api/subscription/activeAssetData.ts +87 -0
  1529. package/src/src/api/subscription/activeSpotAssetCtx.ts +136 -0
  1530. package/src/src/api/subscription/allMids.ts +110 -0
  1531. package/src/src/api/subscription/assetCtxs.ts +167 -0
  1532. package/src/src/api/subscription/bbo.ts +101 -0
  1533. package/src/src/api/subscription/candle.ts +84 -0
  1534. package/src/src/api/subscription/clearinghouseState.ts +107 -0
  1535. package/src/src/api/subscription/explorerBlock.ts +107 -0
  1536. package/src/src/api/subscription/explorerTxs.ts +118 -0
  1537. package/src/src/api/subscription/l2Book.ts +126 -0
  1538. package/src/src/api/subscription/notification.ts +88 -0
  1539. package/src/src/api/subscription/openOrders.ts +110 -0
  1540. package/src/src/api/subscription/orderUpdates.ts +99 -0
  1541. package/src/src/api/subscription/spotAssetCtxs.ts +118 -0
  1542. package/src/src/api/subscription/spotState.ts +102 -0
  1543. package/src/src/api/subscription/trades.ts +81 -0
  1544. package/src/src/api/subscription/userEvents.ts +281 -0
  1545. package/src/src/api/subscription/userFills.ts +110 -0
  1546. package/src/src/api/subscription/userFundings.ts +137 -0
  1547. package/src/src/api/subscription/userHistoricalOrders.ts +117 -0
  1548. package/src/src/api/subscription/userNonFundingLedgerUpdates.ts +101 -0
  1549. package/src/src/api/subscription/userTwapHistory.ts +122 -0
  1550. package/src/src/api/subscription/userTwapSliceFills.ts +111 -0
  1551. package/src/src/api/subscription/webData2.ts +186 -0
  1552. package/src/src/api/subscription/webData3.ts +185 -0
  1553. package/src/src/api/subscription/~client.ts +792 -0
  1554. package/src/src/api/subscription/~mod.ts +54 -0
  1555. package/src/src/mod.ts +10 -0
  1556. package/src/src/signing/_signTypedData.ts +314 -0
  1557. package/src/src/signing/mod.ts +506 -0
  1558. package/src/src/transport/_polyfills.ts +55 -0
  1559. package/src/src/transport/base.ts +54 -0
  1560. package/src/src/transport/http/mod.ts +218 -0
  1561. package/src/src/transport/websocket/_hyperliquid_event_target.ts +137 -0
  1562. package/src/src/transport/websocket/_websocket_async_request.ts +242 -0
  1563. package/src/src/transport/websocket/mod.ts +349 -0
  1564. package/src/src/utils/_eip712.ts +243 -0
  1565. package/src/src/utils/_recover.ts +178 -0
  1566. package/src/src/utils/_symbolConverter.ts +203 -0
  1567. package/src/src/utils/mod.ts +3 -0
  1568. package/bin/cli.ts +0 -318
  1569. package/dist/bin/_utils.d.ts.map +0 -1
  1570. package/dist/bin/_utils.js.map +0 -1
  1571. package/dist/bin/cli.d.ts.map +0 -1
  1572. package/dist/bin/cli.js +0 -298
  1573. package/dist/bin/cli.js.map +0 -1
  1574. package/dist/src/_base.d.ts.map +0 -1
  1575. package/dist/src/_base.js.map +0 -1
  1576. package/dist/src/api/_base.d.ts +0 -53
  1577. package/dist/src/api/_base.d.ts.map +0 -1
  1578. package/dist/src/api/_base.js +0 -65
  1579. package/dist/src/api/_base.js.map +0 -1
  1580. package/dist/src/api/_common_schemas.d.ts +0 -425
  1581. package/dist/src/api/_common_schemas.d.ts.map +0 -1
  1582. package/dist/src/api/_common_schemas.js.map +0 -1
  1583. package/dist/src/api/exchange/_base/_errors.d.ts +0 -16
  1584. package/dist/src/api/exchange/_base/_errors.d.ts.map +0 -1
  1585. package/dist/src/api/exchange/_base/_errors.js.map +0 -1
  1586. package/dist/src/api/exchange/_base/_execute.d.ts +0 -33
  1587. package/dist/src/api/exchange/_base/_execute.d.ts.map +0 -1
  1588. package/dist/src/api/exchange/_base/_execute.js +0 -166
  1589. package/dist/src/api/exchange/_base/_execute.js.map +0 -1
  1590. package/dist/src/api/exchange/_base/_helpers.d.ts +0 -11
  1591. package/dist/src/api/exchange/_base/_helpers.d.ts.map +0 -1
  1592. package/dist/src/api/exchange/_base/_helpers.js +0 -18
  1593. package/dist/src/api/exchange/_base/_helpers.js.map +0 -1
  1594. package/dist/src/api/exchange/_base/_nonce.d.ts +0 -11
  1595. package/dist/src/api/exchange/_base/_nonce.d.ts.map +0 -1
  1596. package/dist/src/api/exchange/_base/_nonce.js +0 -19
  1597. package/dist/src/api/exchange/_base/_nonce.js.map +0 -1
  1598. package/dist/src/api/exchange/_base/_schemas.d.ts.map +0 -1
  1599. package/dist/src/api/exchange/_base/_schemas.js.map +0 -1
  1600. package/dist/src/api/exchange/_base/_types.d.ts +0 -61
  1601. package/dist/src/api/exchange/_base/_types.d.ts.map +0 -1
  1602. package/dist/src/api/exchange/_base/_types.js.map +0 -1
  1603. package/dist/src/api/exchange/_base/mod.d.ts +0 -6
  1604. package/dist/src/api/exchange/_base/mod.d.ts.map +0 -1
  1605. package/dist/src/api/exchange/_base/mod.js +0 -6
  1606. package/dist/src/api/exchange/_base/mod.js.map +0 -1
  1607. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -74
  1608. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
  1609. package/dist/src/api/exchange/agentEnableDexAbstraction.js +0 -66
  1610. package/dist/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
  1611. package/dist/src/api/exchange/approveAgent.d.ts +0 -104
  1612. package/dist/src/api/exchange/approveAgent.d.ts.map +0 -1
  1613. package/dist/src/api/exchange/approveAgent.js +0 -87
  1614. package/dist/src/api/exchange/approveAgent.js.map +0 -1
  1615. package/dist/src/api/exchange/approveBuilderFee.d.ts +0 -104
  1616. package/dist/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
  1617. package/dist/src/api/exchange/approveBuilderFee.js +0 -87
  1618. package/dist/src/api/exchange/approveBuilderFee.js.map +0 -1
  1619. package/dist/src/api/exchange/batchModify.d.ts +0 -221
  1620. package/dist/src/api/exchange/batchModify.d.ts.map +0 -1
  1621. package/dist/src/api/exchange/batchModify.js +0 -98
  1622. package/dist/src/api/exchange/batchModify.js.map +0 -1
  1623. package/dist/src/api/exchange/cDeposit.d.ts +0 -100
  1624. package/dist/src/api/exchange/cDeposit.d.ts.map +0 -1
  1625. package/dist/src/api/exchange/cDeposit.js +0 -84
  1626. package/dist/src/api/exchange/cDeposit.js.map +0 -1
  1627. package/dist/src/api/exchange/cSignerAction.d.ts +0 -102
  1628. package/dist/src/api/exchange/cSignerAction.d.ts.map +0 -1
  1629. package/dist/src/api/exchange/cSignerAction.js +0 -87
  1630. package/dist/src/api/exchange/cSignerAction.js.map +0 -1
  1631. package/dist/src/api/exchange/cValidatorAction.d.ts +0 -265
  1632. package/dist/src/api/exchange/cValidatorAction.d.ts.map +0 -1
  1633. package/dist/src/api/exchange/cValidatorAction.js +0 -163
  1634. package/dist/src/api/exchange/cValidatorAction.js.map +0 -1
  1635. package/dist/src/api/exchange/cWithdraw.d.ts +0 -100
  1636. package/dist/src/api/exchange/cWithdraw.d.ts.map +0 -1
  1637. package/dist/src/api/exchange/cWithdraw.js +0 -84
  1638. package/dist/src/api/exchange/cWithdraw.js.map +0 -1
  1639. package/dist/src/api/exchange/cancel.d.ts +0 -176
  1640. package/dist/src/api/exchange/cancel.d.ts.map +0 -1
  1641. package/dist/src/api/exchange/cancel.js +0 -122
  1642. package/dist/src/api/exchange/cancel.js.map +0 -1
  1643. package/dist/src/api/exchange/cancelByCloid.d.ts +0 -105
  1644. package/dist/src/api/exchange/cancelByCloid.d.ts.map +0 -1
  1645. package/dist/src/api/exchange/cancelByCloid.js +0 -84
  1646. package/dist/src/api/exchange/cancelByCloid.js.map +0 -1
  1647. package/dist/src/api/exchange/claimRewards.d.ts +0 -72
  1648. package/dist/src/api/exchange/claimRewards.d.ts.map +0 -1
  1649. package/dist/src/api/exchange/claimRewards.js +0 -64
  1650. package/dist/src/api/exchange/claimRewards.js.map +0 -1
  1651. package/dist/src/api/exchange/convertToMultiSigUser.d.ts +0 -149
  1652. package/dist/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
  1653. package/dist/src/api/exchange/convertToMultiSigUser.js +0 -117
  1654. package/dist/src/api/exchange/convertToMultiSigUser.js.map +0 -1
  1655. package/dist/src/api/exchange/createSubAccount.d.ts +0 -104
  1656. package/dist/src/api/exchange/createSubAccount.d.ts.map +0 -1
  1657. package/dist/src/api/exchange/createSubAccount.js +0 -84
  1658. package/dist/src/api/exchange/createSubAccount.js.map +0 -1
  1659. package/dist/src/api/exchange/createVault.d.ts +0 -120
  1660. package/dist/src/api/exchange/createVault.d.ts.map +0 -1
  1661. package/dist/src/api/exchange/createVault.js +0 -96
  1662. package/dist/src/api/exchange/createVault.js.map +0 -1
  1663. package/dist/src/api/exchange/evmUserModify.d.ts +0 -84
  1664. package/dist/src/api/exchange/evmUserModify.d.ts.map +0 -1
  1665. package/dist/src/api/exchange/evmUserModify.js +0 -72
  1666. package/dist/src/api/exchange/evmUserModify.js.map +0 -1
  1667. package/dist/src/api/exchange/linkStakingUser.d.ts +0 -112
  1668. package/dist/src/api/exchange/linkStakingUser.d.ts.map +0 -1
  1669. package/dist/src/api/exchange/linkStakingUser.js +0 -99
  1670. package/dist/src/api/exchange/linkStakingUser.js.map +0 -1
  1671. package/dist/src/api/exchange/modify.d.ts +0 -190
  1672. package/dist/src/api/exchange/modify.d.ts.map +0 -1
  1673. package/dist/src/api/exchange/modify.js +0 -92
  1674. package/dist/src/api/exchange/modify.js.map +0 -1
  1675. package/dist/src/api/exchange/multiSig.d.ts +0 -2964
  1676. package/dist/src/api/exchange/multiSig.d.ts.map +0 -1
  1677. package/dist/src/api/exchange/multiSig.js +0 -218
  1678. package/dist/src/api/exchange/multiSig.js.map +0 -1
  1679. package/dist/src/api/exchange/noop.d.ts +0 -74
  1680. package/dist/src/api/exchange/noop.d.ts.map +0 -1
  1681. package/dist/src/api/exchange/noop.js +0 -66
  1682. package/dist/src/api/exchange/noop.js.map +0 -1
  1683. package/dist/src/api/exchange/order.d.ts +0 -456
  1684. package/dist/src/api/exchange/order.d.ts.map +0 -1
  1685. package/dist/src/api/exchange/order.js +0 -192
  1686. package/dist/src/api/exchange/order.js.map +0 -1
  1687. package/dist/src/api/exchange/perpDeploy.d.ts +0 -368
  1688. package/dist/src/api/exchange/perpDeploy.d.ts.map +0 -1
  1689. package/dist/src/api/exchange/perpDeploy.js +0 -196
  1690. package/dist/src/api/exchange/perpDeploy.js.map +0 -1
  1691. package/dist/src/api/exchange/registerReferrer.d.ts +0 -84
  1692. package/dist/src/api/exchange/registerReferrer.d.ts.map +0 -1
  1693. package/dist/src/api/exchange/registerReferrer.js +0 -72
  1694. package/dist/src/api/exchange/registerReferrer.js.map +0 -1
  1695. package/dist/src/api/exchange/reserveRequestWeight.d.ts +0 -84
  1696. package/dist/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
  1697. package/dist/src/api/exchange/reserveRequestWeight.js +0 -72
  1698. package/dist/src/api/exchange/reserveRequestWeight.js.map +0 -1
  1699. package/dist/src/api/exchange/scheduleCancel.d.ts +0 -93
  1700. package/dist/src/api/exchange/scheduleCancel.d.ts.map +0 -1
  1701. package/dist/src/api/exchange/scheduleCancel.js +0 -59
  1702. package/dist/src/api/exchange/scheduleCancel.js.map +0 -1
  1703. package/dist/src/api/exchange/sendAsset.d.ts +0 -126
  1704. package/dist/src/api/exchange/sendAsset.d.ts.map +0 -1
  1705. package/dist/src/api/exchange/sendAsset.js +0 -105
  1706. package/dist/src/api/exchange/sendAsset.js.map +0 -1
  1707. package/dist/src/api/exchange/setDisplayName.d.ts +0 -88
  1708. package/dist/src/api/exchange/setDisplayName.d.ts.map +0 -1
  1709. package/dist/src/api/exchange/setDisplayName.js +0 -77
  1710. package/dist/src/api/exchange/setDisplayName.js.map +0 -1
  1711. package/dist/src/api/exchange/setReferrer.d.ts +0 -84
  1712. package/dist/src/api/exchange/setReferrer.d.ts.map +0 -1
  1713. package/dist/src/api/exchange/setReferrer.js +0 -72
  1714. package/dist/src/api/exchange/setReferrer.js.map +0 -1
  1715. package/dist/src/api/exchange/spotDeploy.d.ts +0 -357
  1716. package/dist/src/api/exchange/spotDeploy.d.ts.map +0 -1
  1717. package/dist/src/api/exchange/spotDeploy.js +0 -184
  1718. package/dist/src/api/exchange/spotDeploy.js.map +0 -1
  1719. package/dist/src/api/exchange/spotSend.d.ts +0 -112
  1720. package/dist/src/api/exchange/spotSend.d.ts.map +0 -1
  1721. package/dist/src/api/exchange/spotSend.js +0 -94
  1722. package/dist/src/api/exchange/spotSend.js.map +0 -1
  1723. package/dist/src/api/exchange/spotUser.d.ts +0 -93
  1724. package/dist/src/api/exchange/spotUser.d.ts.map +0 -1
  1725. package/dist/src/api/exchange/spotUser.js +0 -75
  1726. package/dist/src/api/exchange/spotUser.js.map +0 -1
  1727. package/dist/src/api/exchange/subAccountModify.d.ts +0 -88
  1728. package/dist/src/api/exchange/subAccountModify.d.ts.map +0 -1
  1729. package/dist/src/api/exchange/subAccountModify.js +0 -74
  1730. package/dist/src/api/exchange/subAccountModify.js.map +0 -1
  1731. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts +0 -101
  1732. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
  1733. package/dist/src/api/exchange/subAccountSpotTransfer.js +0 -83
  1734. package/dist/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
  1735. package/dist/src/api/exchange/subAccountTransfer.d.ts +0 -92
  1736. package/dist/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
  1737. package/dist/src/api/exchange/subAccountTransfer.js +0 -76
  1738. package/dist/src/api/exchange/subAccountTransfer.js.map +0 -1
  1739. package/dist/src/api/exchange/tokenDelegate.d.ts +0 -108
  1740. package/dist/src/api/exchange/tokenDelegate.d.ts.map +0 -1
  1741. package/dist/src/api/exchange/tokenDelegate.js +0 -90
  1742. package/dist/src/api/exchange/tokenDelegate.js.map +0 -1
  1743. package/dist/src/api/exchange/twapCancel.d.ts +0 -162
  1744. package/dist/src/api/exchange/twapCancel.d.ts.map +0 -1
  1745. package/dist/src/api/exchange/twapCancel.js +0 -115
  1746. package/dist/src/api/exchange/twapCancel.js.map +0 -1
  1747. package/dist/src/api/exchange/twapOrder.d.ts +0 -249
  1748. package/dist/src/api/exchange/twapOrder.d.ts.map +0 -1
  1749. package/dist/src/api/exchange/twapOrder.js +0 -147
  1750. package/dist/src/api/exchange/twapOrder.js.map +0 -1
  1751. package/dist/src/api/exchange/updateIsolatedMargin.d.ts +0 -95
  1752. package/dist/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
  1753. package/dist/src/api/exchange/updateIsolatedMargin.js +0 -79
  1754. package/dist/src/api/exchange/updateIsolatedMargin.js.map +0 -1
  1755. package/dist/src/api/exchange/updateLeverage.d.ts +0 -95
  1756. package/dist/src/api/exchange/updateLeverage.d.ts.map +0 -1
  1757. package/dist/src/api/exchange/updateLeverage.js +0 -79
  1758. package/dist/src/api/exchange/updateLeverage.js.map +0 -1
  1759. package/dist/src/api/exchange/usdClassTransfer.d.ts +0 -104
  1760. package/dist/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
  1761. package/dist/src/api/exchange/usdClassTransfer.js +0 -87
  1762. package/dist/src/api/exchange/usdClassTransfer.js.map +0 -1
  1763. package/dist/src/api/exchange/usdSend.d.ts +0 -104
  1764. package/dist/src/api/exchange/usdSend.d.ts.map +0 -1
  1765. package/dist/src/api/exchange/usdSend.js +0 -87
  1766. package/dist/src/api/exchange/usdSend.js.map +0 -1
  1767. package/dist/src/api/exchange/userDexAbstraction.d.ts +0 -104
  1768. package/dist/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
  1769. package/dist/src/api/exchange/userDexAbstraction.js +0 -87
  1770. package/dist/src/api/exchange/userDexAbstraction.js.map +0 -1
  1771. package/dist/src/api/exchange/vaultDistribute.d.ts +0 -92
  1772. package/dist/src/api/exchange/vaultDistribute.d.ts.map +0 -1
  1773. package/dist/src/api/exchange/vaultDistribute.js +0 -79
  1774. package/dist/src/api/exchange/vaultDistribute.js.map +0 -1
  1775. package/dist/src/api/exchange/vaultModify.d.ts +0 -96
  1776. package/dist/src/api/exchange/vaultModify.d.ts.map +0 -1
  1777. package/dist/src/api/exchange/vaultModify.js +0 -80
  1778. package/dist/src/api/exchange/vaultModify.js.map +0 -1
  1779. package/dist/src/api/exchange/vaultTransfer.d.ts +0 -92
  1780. package/dist/src/api/exchange/vaultTransfer.d.ts.map +0 -1
  1781. package/dist/src/api/exchange/vaultTransfer.js +0 -76
  1782. package/dist/src/api/exchange/vaultTransfer.js.map +0 -1
  1783. package/dist/src/api/exchange/withdraw3.d.ts +0 -104
  1784. package/dist/src/api/exchange/withdraw3.d.ts.map +0 -1
  1785. package/dist/src/api/exchange/withdraw3.js +0 -87
  1786. package/dist/src/api/exchange/withdraw3.js.map +0 -1
  1787. package/dist/src/api/exchange/~client.d.ts +0 -1711
  1788. package/dist/src/api/exchange/~client.d.ts.map +0 -1
  1789. package/dist/src/api/exchange/~client.js +0 -1433
  1790. package/dist/src/api/exchange/~client.js.map +0 -1
  1791. package/dist/src/api/exchange/~mod.d.ts +0 -86
  1792. package/dist/src/api/exchange/~mod.d.ts.map +0 -1
  1793. package/dist/src/api/exchange/~mod.js +0 -86
  1794. package/dist/src/api/exchange/~mod.js.map +0 -1
  1795. package/dist/src/api/info/_types.d.ts +0 -7
  1796. package/dist/src/api/info/_types.d.ts.map +0 -1
  1797. package/dist/src/api/info/_types.js.map +0 -1
  1798. package/dist/src/api/info/activeAssetData.d.ts +0 -98
  1799. package/dist/src/api/info/activeAssetData.d.ts.map +0 -1
  1800. package/dist/src/api/info/activeAssetData.js +0 -82
  1801. package/dist/src/api/info/activeAssetData.js.map +0 -1
  1802. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
  1803. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
  1804. package/dist/src/api/info/alignedQuoteTokenInfo.js +0 -68
  1805. package/dist/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
  1806. package/dist/src/api/info/allMids.d.ts +0 -49
  1807. package/dist/src/api/info/allMids.d.ts.map +0 -1
  1808. package/dist/src/api/info/allMids.js +0 -32
  1809. package/dist/src/api/info/allMids.js.map +0 -1
  1810. package/dist/src/api/info/allPerpMetas.d.ts +0 -135
  1811. package/dist/src/api/info/allPerpMetas.d.ts.map +0 -1
  1812. package/dist/src/api/info/allPerpMetas.js +0 -46
  1813. package/dist/src/api/info/allPerpMetas.js.map +0 -1
  1814. package/dist/src/api/info/blockDetails.d.ts +0 -151
  1815. package/dist/src/api/info/blockDetails.d.ts.map +0 -1
  1816. package/dist/src/api/info/blockDetails.js +0 -88
  1817. package/dist/src/api/info/blockDetails.js.map +0 -1
  1818. package/dist/src/api/info/candleSnapshot.d.ts +0 -111
  1819. package/dist/src/api/info/candleSnapshot.d.ts.map +0 -1
  1820. package/dist/src/api/info/candleSnapshot.js +0 -85
  1821. package/dist/src/api/info/candleSnapshot.js.map +0 -1
  1822. package/dist/src/api/info/clearinghouseState.d.ts +0 -269
  1823. package/dist/src/api/info/clearinghouseState.d.ts.map +0 -1
  1824. package/dist/src/api/info/clearinghouseState.js +0 -137
  1825. package/dist/src/api/info/clearinghouseState.js.map +0 -1
  1826. package/dist/src/api/info/delegations.d.ts +0 -64
  1827. package/dist/src/api/info/delegations.d.ts.map +0 -1
  1828. package/dist/src/api/info/delegations.js +0 -61
  1829. package/dist/src/api/info/delegations.js.map +0 -1
  1830. package/dist/src/api/info/delegatorHistory.d.ts +0 -142
  1831. package/dist/src/api/info/delegatorHistory.d.ts.map +0 -1
  1832. package/dist/src/api/info/delegatorHistory.js +0 -89
  1833. package/dist/src/api/info/delegatorHistory.js.map +0 -1
  1834. package/dist/src/api/info/delegatorRewards.d.ts +0 -64
  1835. package/dist/src/api/info/delegatorRewards.d.ts.map +0 -1
  1836. package/dist/src/api/info/delegatorRewards.js +0 -61
  1837. package/dist/src/api/info/delegatorRewards.js.map +0 -1
  1838. package/dist/src/api/info/delegatorSummary.d.ts +0 -63
  1839. package/dist/src/api/info/delegatorSummary.d.ts.map +0 -1
  1840. package/dist/src/api/info/delegatorSummary.js +0 -61
  1841. package/dist/src/api/info/delegatorSummary.js.map +0 -1
  1842. package/dist/src/api/info/exchangeStatus.d.ts +0 -46
  1843. package/dist/src/api/info/exchangeStatus.d.ts.map +0 -1
  1844. package/dist/src/api/info/exchangeStatus.js +0 -50
  1845. package/dist/src/api/info/exchangeStatus.js.map +0 -1
  1846. package/dist/src/api/info/extraAgents.d.ts +0 -64
  1847. package/dist/src/api/info/extraAgents.d.ts.map +0 -1
  1848. package/dist/src/api/info/extraAgents.js +0 -61
  1849. package/dist/src/api/info/extraAgents.js.map +0 -1
  1850. package/dist/src/api/info/frontendOpenOrders.d.ts +0 -103
  1851. package/dist/src/api/info/frontendOpenOrders.d.ts.map +0 -1
  1852. package/dist/src/api/info/frontendOpenOrders.js +0 -55
  1853. package/dist/src/api/info/frontendOpenOrders.js.map +0 -1
  1854. package/dist/src/api/info/fundingHistory.d.ts +0 -74
  1855. package/dist/src/api/info/fundingHistory.d.ts.map +0 -1
  1856. package/dist/src/api/info/fundingHistory.js +0 -67
  1857. package/dist/src/api/info/fundingHistory.js.map +0 -1
  1858. package/dist/src/api/info/gossipRootIps.d.ts +0 -39
  1859. package/dist/src/api/info/gossipRootIps.d.ts.map +0 -1
  1860. package/dist/src/api/info/gossipRootIps.js +0 -46
  1861. package/dist/src/api/info/gossipRootIps.js.map +0 -1
  1862. package/dist/src/api/info/historicalOrders.d.ts +0 -132
  1863. package/dist/src/api/info/historicalOrders.d.ts.map +0 -1
  1864. package/dist/src/api/info/historicalOrders.js +0 -62
  1865. package/dist/src/api/info/historicalOrders.js.map +0 -1
  1866. package/dist/src/api/info/isVip.d.ts +0 -49
  1867. package/dist/src/api/info/isVip.d.ts.map +0 -1
  1868. package/dist/src/api/info/isVip.js +0 -52
  1869. package/dist/src/api/info/isVip.js.map +0 -1
  1870. package/dist/src/api/info/l2Book.d.ts +0 -98
  1871. package/dist/src/api/info/l2Book.d.ts.map +0 -1
  1872. package/dist/src/api/info/l2Book.js +0 -64
  1873. package/dist/src/api/info/l2Book.js.map +0 -1
  1874. package/dist/src/api/info/leadingVaults.d.ts +0 -60
  1875. package/dist/src/api/info/leadingVaults.d.ts.map +0 -1
  1876. package/dist/src/api/info/leadingVaults.js +0 -59
  1877. package/dist/src/api/info/leadingVaults.js.map +0 -1
  1878. package/dist/src/api/info/legalCheck.d.ts +0 -60
  1879. package/dist/src/api/info/legalCheck.d.ts.map +0 -1
  1880. package/dist/src/api/info/legalCheck.js +0 -59
  1881. package/dist/src/api/info/legalCheck.js.map +0 -1
  1882. package/dist/src/api/info/liquidatable.d.ts +0 -38
  1883. package/dist/src/api/info/liquidatable.d.ts.map +0 -1
  1884. package/dist/src/api/info/liquidatable.js +0 -45
  1885. package/dist/src/api/info/liquidatable.js.map +0 -1
  1886. package/dist/src/api/info/marginTable.d.ts +0 -71
  1887. package/dist/src/api/info/marginTable.d.ts.map +0 -1
  1888. package/dist/src/api/info/marginTable.js +0 -64
  1889. package/dist/src/api/info/marginTable.js.map +0 -1
  1890. package/dist/src/api/info/maxBuilderFee.d.ts +0 -52
  1891. package/dist/src/api/info/maxBuilderFee.d.ts.map +0 -1
  1892. package/dist/src/api/info/maxBuilderFee.js +0 -54
  1893. package/dist/src/api/info/maxBuilderFee.js.map +0 -1
  1894. package/dist/src/api/info/maxMarketOrderNtls.d.ts +0 -41
  1895. package/dist/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
  1896. package/dist/src/api/info/maxMarketOrderNtls.js +0 -47
  1897. package/dist/src/api/info/maxMarketOrderNtls.js.map +0 -1
  1898. package/dist/src/api/info/meta.d.ts +0 -133
  1899. package/dist/src/api/info/meta.d.ts.map +0 -1
  1900. package/dist/src/api/info/meta.js +0 -62
  1901. package/dist/src/api/info/meta.js.map +0 -1
  1902. package/dist/src/api/info/metaAndAssetCtxs.d.ts +0 -194
  1903. package/dist/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
  1904. package/dist/src/api/info/metaAndAssetCtxs.js +0 -60
  1905. package/dist/src/api/info/metaAndAssetCtxs.js.map +0 -1
  1906. package/dist/src/api/info/openOrders.d.ts +0 -82
  1907. package/dist/src/api/info/openOrders.d.ts.map +0 -1
  1908. package/dist/src/api/info/openOrders.js +0 -55
  1909. package/dist/src/api/info/openOrders.js.map +0 -1
  1910. package/dist/src/api/info/orderStatus.d.ts +0 -150
  1911. package/dist/src/api/info/orderStatus.d.ts.map +0 -1
  1912. package/dist/src/api/info/orderStatus.js +0 -77
  1913. package/dist/src/api/info/orderStatus.js.map +0 -1
  1914. package/dist/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
  1915. package/dist/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
  1916. package/dist/src/api/info/perpDeployAuctionStatus.js +0 -57
  1917. package/dist/src/api/info/perpDeployAuctionStatus.js.map +0 -1
  1918. package/dist/src/api/info/perpDexLimits.d.ts +0 -63
  1919. package/dist/src/api/info/perpDexLimits.d.ts.map +0 -1
  1920. package/dist/src/api/info/perpDexLimits.js +0 -61
  1921. package/dist/src/api/info/perpDexLimits.js.map +0 -1
  1922. package/dist/src/api/info/perpDexs.d.ts +0 -78
  1923. package/dist/src/api/info/perpDexs.d.ts.map +0 -1
  1924. package/dist/src/api/info/perpDexs.js +0 -70
  1925. package/dist/src/api/info/perpDexs.js.map +0 -1
  1926. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
  1927. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
  1928. package/dist/src/api/info/perpsAtOpenInterestCap.js +0 -32
  1929. package/dist/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
  1930. package/dist/src/api/info/portfolio.d.ts +0 -169
  1931. package/dist/src/api/info/portfolio.d.ts.map +0 -1
  1932. package/dist/src/api/info/portfolio.js +0 -72
  1933. package/dist/src/api/info/portfolio.js.map +0 -1
  1934. package/dist/src/api/info/preTransferCheck.d.ts +0 -66
  1935. package/dist/src/api/info/preTransferCheck.d.ts.map +0 -1
  1936. package/dist/src/api/info/preTransferCheck.js +0 -63
  1937. package/dist/src/api/info/preTransferCheck.js.map +0 -1
  1938. package/dist/src/api/info/predictedFundings.d.ts +0 -66
  1939. package/dist/src/api/info/predictedFundings.d.ts.map +0 -1
  1940. package/dist/src/api/info/predictedFundings.js +0 -67
  1941. package/dist/src/api/info/predictedFundings.js.map +0 -1
  1942. package/dist/src/api/info/recentTrades.d.ts +0 -84
  1943. package/dist/src/api/info/recentTrades.d.ts.map +0 -1
  1944. package/dist/src/api/info/recentTrades.js +0 -71
  1945. package/dist/src/api/info/recentTrades.js.map +0 -1
  1946. package/dist/src/api/info/referral.d.ts +0 -274
  1947. package/dist/src/api/info/referral.d.ts.map +0 -1
  1948. package/dist/src/api/info/referral.js +0 -153
  1949. package/dist/src/api/info/referral.js.map +0 -1
  1950. package/dist/src/api/info/spotClearinghouseState.d.ts +0 -103
  1951. package/dist/src/api/info/spotClearinghouseState.d.ts.map +0 -1
  1952. package/dist/src/api/info/spotClearinghouseState.js +0 -69
  1953. package/dist/src/api/info/spotClearinghouseState.js.map +0 -1
  1954. package/dist/src/api/info/spotDeployState.d.ts +0 -162
  1955. package/dist/src/api/info/spotDeployState.d.ts.map +0 -1
  1956. package/dist/src/api/info/spotDeployState.js +0 -100
  1957. package/dist/src/api/info/spotDeployState.js.map +0 -1
  1958. package/dist/src/api/info/spotMeta.d.ts +0 -137
  1959. package/dist/src/api/info/spotMeta.d.ts.map +0 -1
  1960. package/dist/src/api/info/spotMeta.js +0 -88
  1961. package/dist/src/api/info/spotMeta.js.map +0 -1
  1962. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
  1963. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
  1964. package/dist/src/api/info/spotMetaAndAssetCtxs.js +0 -70
  1965. package/dist/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
  1966. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
  1967. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
  1968. package/dist/src/api/info/spotPairDeployAuctionStatus.js +0 -57
  1969. package/dist/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
  1970. package/dist/src/api/info/subAccounts.d.ts +0 -412
  1971. package/dist/src/api/info/subAccounts.d.ts.map +0 -1
  1972. package/dist/src/api/info/subAccounts.js +0 -67
  1973. package/dist/src/api/info/subAccounts.js.map +0 -1
  1974. package/dist/src/api/info/subAccounts2.d.ts +0 -498
  1975. package/dist/src/api/info/subAccounts2.d.ts.map +0 -1
  1976. package/dist/src/api/info/subAccounts2.js +0 -70
  1977. package/dist/src/api/info/subAccounts2.js.map +0 -1
  1978. package/dist/src/api/info/tokenDetails.d.ts +0 -114
  1979. package/dist/src/api/info/tokenDetails.d.ts.map +0 -1
  1980. package/dist/src/api/info/tokenDetails.js +0 -92
  1981. package/dist/src/api/info/tokenDetails.js.map +0 -1
  1982. package/dist/src/api/info/twapHistory.d.ts +0 -132
  1983. package/dist/src/api/info/twapHistory.d.ts.map +0 -1
  1984. package/dist/src/api/info/twapHistory.js +0 -64
  1985. package/dist/src/api/info/twapHistory.js.map +0 -1
  1986. package/dist/src/api/info/txDetails.d.ts +0 -102
  1987. package/dist/src/api/info/txDetails.d.ts.map +0 -1
  1988. package/dist/src/api/info/txDetails.js +0 -73
  1989. package/dist/src/api/info/txDetails.js.map +0 -1
  1990. package/dist/src/api/info/userDetails.d.ts +0 -106
  1991. package/dist/src/api/info/userDetails.d.ts.map +0 -1
  1992. package/dist/src/api/info/userDetails.js +0 -58
  1993. package/dist/src/api/info/userDetails.js.map +0 -1
  1994. package/dist/src/api/info/userDexAbstraction.d.ts +0 -49
  1995. package/dist/src/api/info/userDexAbstraction.d.ts.map +0 -1
  1996. package/dist/src/api/info/userDexAbstraction.js +0 -52
  1997. package/dist/src/api/info/userDexAbstraction.js.map +0 -1
  1998. package/dist/src/api/info/userFees.d.ts +0 -269
  1999. package/dist/src/api/info/userFees.d.ts.map +0 -1
  2000. package/dist/src/api/info/userFees.js +0 -167
  2001. package/dist/src/api/info/userFees.js.map +0 -1
  2002. package/dist/src/api/info/userFills.d.ts +0 -122
  2003. package/dist/src/api/info/userFills.d.ts.map +0 -1
  2004. package/dist/src/api/info/userFills.js +0 -55
  2005. package/dist/src/api/info/userFills.js.map +0 -1
  2006. package/dist/src/api/info/userFillsByTime.d.ts +0 -128
  2007. package/dist/src/api/info/userFillsByTime.d.ts.map +0 -1
  2008. package/dist/src/api/info/userFillsByTime.js +0 -59
  2009. package/dist/src/api/info/userFillsByTime.js.map +0 -1
  2010. package/dist/src/api/info/userFunding.d.ts +0 -104
  2011. package/dist/src/api/info/userFunding.d.ts.map +0 -1
  2012. package/dist/src/api/info/userFunding.js +0 -78
  2013. package/dist/src/api/info/userFunding.js.map +0 -1
  2014. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
  2015. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2016. package/dist/src/api/info/userNonFundingLedgerUpdates.js +0 -252
  2017. package/dist/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
  2018. package/dist/src/api/info/userRateLimit.d.ts +0 -63
  2019. package/dist/src/api/info/userRateLimit.d.ts.map +0 -1
  2020. package/dist/src/api/info/userRateLimit.js +0 -61
  2021. package/dist/src/api/info/userRateLimit.js.map +0 -1
  2022. package/dist/src/api/info/userRole.d.ts +0 -84
  2023. package/dist/src/api/info/userRole.d.ts.map +0 -1
  2024. package/dist/src/api/info/userRole.js +0 -75
  2025. package/dist/src/api/info/userRole.js.map +0 -1
  2026. package/dist/src/api/info/userToMultiSigSigners.d.ts +0 -57
  2027. package/dist/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
  2028. package/dist/src/api/info/userToMultiSigSigners.js +0 -57
  2029. package/dist/src/api/info/userToMultiSigSigners.js.map +0 -1
  2030. package/dist/src/api/info/userTwapSliceFills.d.ts +0 -124
  2031. package/dist/src/api/info/userTwapSliceFills.d.ts.map +0 -1
  2032. package/dist/src/api/info/userTwapSliceFills.js +0 -60
  2033. package/dist/src/api/info/userTwapSliceFills.js.map +0 -1
  2034. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
  2035. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
  2036. package/dist/src/api/info/userTwapSliceFillsByTime.js +0 -66
  2037. package/dist/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
  2038. package/dist/src/api/info/userVaultEquities.d.ts +0 -64
  2039. package/dist/src/api/info/userVaultEquities.d.ts.map +0 -1
  2040. package/dist/src/api/info/userVaultEquities.js +0 -61
  2041. package/dist/src/api/info/userVaultEquities.js.map +0 -1
  2042. package/dist/src/api/info/validatorL1Votes.d.ts +0 -70
  2043. package/dist/src/api/info/validatorL1Votes.d.ts.map +0 -1
  2044. package/dist/src/api/info/validatorL1Votes.js +0 -62
  2045. package/dist/src/api/info/validatorL1Votes.js.map +0 -1
  2046. package/dist/src/api/info/validatorSummaries.d.ts +0 -155
  2047. package/dist/src/api/info/validatorSummaries.d.ts.map +0 -1
  2048. package/dist/src/api/info/validatorSummaries.js +0 -86
  2049. package/dist/src/api/info/validatorSummaries.js.map +0 -1
  2050. package/dist/src/api/info/vaultDetails.d.ts +0 -359
  2051. package/dist/src/api/info/vaultDetails.d.ts.map +0 -1
  2052. package/dist/src/api/info/vaultDetails.js +0 -134
  2053. package/dist/src/api/info/vaultDetails.js.map +0 -1
  2054. package/dist/src/api/info/vaultSummaries.d.ts +0 -104
  2055. package/dist/src/api/info/vaultSummaries.d.ts.map +0 -1
  2056. package/dist/src/api/info/vaultSummaries.js +0 -77
  2057. package/dist/src/api/info/vaultSummaries.js.map +0 -1
  2058. package/dist/src/api/info/webData2.d.ts +0 -821
  2059. package/dist/src/api/info/webData2.d.ts.map +0 -1
  2060. package/dist/src/api/info/webData2.js +0 -53
  2061. package/dist/src/api/info/webData2.js.map +0 -1
  2062. package/dist/src/api/info/~client.d.ts +0 -2697
  2063. package/dist/src/api/info/~client.d.ts.map +0 -1
  2064. package/dist/src/api/info/~client.js.map +0 -1
  2065. package/dist/src/api/info/~mod.d.ts +0 -91
  2066. package/dist/src/api/info/~mod.d.ts.map +0 -1
  2067. package/dist/src/api/info/~mod.js.map +0 -1
  2068. package/dist/src/api/subscription/_types.d.ts +0 -7
  2069. package/dist/src/api/subscription/_types.d.ts.map +0 -1
  2070. package/dist/src/api/subscription/_types.js.map +0 -1
  2071. package/dist/src/api/subscription/activeAssetCtx.d.ts +0 -97
  2072. package/dist/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
  2073. package/dist/src/api/subscription/activeAssetCtx.js +0 -75
  2074. package/dist/src/api/subscription/activeAssetCtx.js.map +0 -1
  2075. package/dist/src/api/subscription/activeAssetData.d.ts +0 -84
  2076. package/dist/src/api/subscription/activeAssetData.d.ts.map +0 -1
  2077. package/dist/src/api/subscription/activeAssetData.js +0 -52
  2078. package/dist/src/api/subscription/activeAssetData.js.map +0 -1
  2079. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
  2080. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
  2081. package/dist/src/api/subscription/activeSpotAssetCtx.js +0 -71
  2082. package/dist/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
  2083. package/dist/src/api/subscription/allMids.d.ts +0 -58
  2084. package/dist/src/api/subscription/allMids.d.ts.map +0 -1
  2085. package/dist/src/api/subscription/allMids.js +0 -36
  2086. package/dist/src/api/subscription/allMids.js.map +0 -1
  2087. package/dist/src/api/subscription/assetCtxs.d.ts +0 -108
  2088. package/dist/src/api/subscription/assetCtxs.d.ts.map +0 -1
  2089. package/dist/src/api/subscription/assetCtxs.js +0 -59
  2090. package/dist/src/api/subscription/assetCtxs.js.map +0 -1
  2091. package/dist/src/api/subscription/bbo.d.ts +0 -89
  2092. package/dist/src/api/subscription/bbo.d.ts.map +0 -1
  2093. package/dist/src/api/subscription/bbo.js +0 -57
  2094. package/dist/src/api/subscription/bbo.js.map +0 -1
  2095. package/dist/src/api/subscription/candle.d.ts +0 -71
  2096. package/dist/src/api/subscription/candle.d.ts.map +0 -1
  2097. package/dist/src/api/subscription/candle.js +0 -53
  2098. package/dist/src/api/subscription/candle.js.map +0 -1
  2099. package/dist/src/api/subscription/clearinghouseState.d.ts +0 -285
  2100. package/dist/src/api/subscription/clearinghouseState.d.ts.map +0 -1
  2101. package/dist/src/api/subscription/clearinghouseState.js +0 -63
  2102. package/dist/src/api/subscription/clearinghouseState.js.map +0 -1
  2103. package/dist/src/api/subscription/explorerBlock.d.ts +0 -64
  2104. package/dist/src/api/subscription/explorerBlock.d.ts.map +0 -1
  2105. package/dist/src/api/subscription/explorerBlock.js +0 -57
  2106. package/dist/src/api/subscription/explorerBlock.js.map +0 -1
  2107. package/dist/src/api/subscription/explorerTxs.d.ts +0 -83
  2108. package/dist/src/api/subscription/explorerTxs.d.ts.map +0 -1
  2109. package/dist/src/api/subscription/explorerTxs.js +0 -62
  2110. package/dist/src/api/subscription/explorerTxs.js.map +0 -1
  2111. package/dist/src/api/subscription/l2Book.d.ts +0 -95
  2112. package/dist/src/api/subscription/l2Book.d.ts.map +0 -1
  2113. package/dist/src/api/subscription/l2Book.js +0 -66
  2114. package/dist/src/api/subscription/l2Book.js.map +0 -1
  2115. package/dist/src/api/subscription/notification.d.ts +0 -51
  2116. package/dist/src/api/subscription/notification.d.ts.map +0 -1
  2117. package/dist/src/api/subscription/notification.js +0 -50
  2118. package/dist/src/api/subscription/notification.js.map +0 -1
  2119. package/dist/src/api/subscription/openOrders.d.ts +0 -128
  2120. package/dist/src/api/subscription/openOrders.d.ts.map +0 -1
  2121. package/dist/src/api/subscription/openOrders.js +0 -63
  2122. package/dist/src/api/subscription/openOrders.js.map +0 -1
  2123. package/dist/src/api/subscription/orderUpdates.d.ts +0 -101
  2124. package/dist/src/api/subscription/orderUpdates.d.ts.map +0 -1
  2125. package/dist/src/api/subscription/orderUpdates.js +0 -57
  2126. package/dist/src/api/subscription/orderUpdates.js.map +0 -1
  2127. package/dist/src/api/subscription/spotState.d.ts +0 -91
  2128. package/dist/src/api/subscription/spotState.d.ts.map +0 -1
  2129. package/dist/src/api/subscription/spotState.js +0 -58
  2130. package/dist/src/api/subscription/spotState.js.map +0 -1
  2131. package/dist/src/api/subscription/trades.d.ts +0 -73
  2132. package/dist/src/api/subscription/trades.d.ts.map +0 -1
  2133. package/dist/src/api/subscription/trades.js +0 -50
  2134. package/dist/src/api/subscription/trades.js.map +0 -1
  2135. package/dist/src/api/subscription/userEvents.d.ts +0 -876
  2136. package/dist/src/api/subscription/userEvents.d.ts.map +0 -1
  2137. package/dist/src/api/subscription/userEvents.js +0 -143
  2138. package/dist/src/api/subscription/userEvents.js.map +0 -1
  2139. package/dist/src/api/subscription/userFills.d.ts +0 -152
  2140. package/dist/src/api/subscription/userFills.d.ts.map +0 -1
  2141. package/dist/src/api/subscription/userFills.js +0 -63
  2142. package/dist/src/api/subscription/userFills.js.map +0 -1
  2143. package/dist/src/api/subscription/userFundings.d.ts +0 -91
  2144. package/dist/src/api/subscription/userFundings.d.ts.map +0 -1
  2145. package/dist/src/api/subscription/userFundings.js +0 -71
  2146. package/dist/src/api/subscription/userFundings.js.map +0 -1
  2147. package/dist/src/api/subscription/userHistoricalOrders.d.ts +0 -161
  2148. package/dist/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
  2149. package/dist/src/api/subscription/userHistoricalOrders.js +0 -66
  2150. package/dist/src/api/subscription/userHistoricalOrders.js.map +0 -1
  2151. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
  2152. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2153. package/dist/src/api/subscription/userNonFundingLedgerUpdates.js +0 -57
  2154. package/dist/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
  2155. package/dist/src/api/subscription/userTwapHistory.d.ts +0 -161
  2156. package/dist/src/api/subscription/userTwapHistory.d.ts.map +0 -1
  2157. package/dist/src/api/subscription/userTwapHistory.js +0 -68
  2158. package/dist/src/api/subscription/userTwapHistory.js.map +0 -1
  2159. package/dist/src/api/subscription/userTwapSliceFills.d.ts +0 -132
  2160. package/dist/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
  2161. package/dist/src/api/subscription/userTwapSliceFills.js +0 -62
  2162. package/dist/src/api/subscription/userTwapSliceFills.js.map +0 -1
  2163. package/dist/src/api/subscription/webData2.d.ts +0 -694
  2164. package/dist/src/api/subscription/webData2.d.ts.map +0 -1
  2165. package/dist/src/api/subscription/webData2.js +0 -101
  2166. package/dist/src/api/subscription/webData2.js.map +0 -1
  2167. package/dist/src/api/subscription/webData3.d.ts +0 -541
  2168. package/dist/src/api/subscription/webData3.d.ts.map +0 -1
  2169. package/dist/src/api/subscription/webData3.js +0 -94
  2170. package/dist/src/api/subscription/webData3.js.map +0 -1
  2171. package/dist/src/api/subscription/~client.d.ts +0 -577
  2172. package/dist/src/api/subscription/~client.d.ts.map +0 -1
  2173. package/dist/src/api/subscription/~client.js +0 -604
  2174. package/dist/src/api/subscription/~client.js.map +0 -1
  2175. package/dist/src/api/subscription/~mod.d.ts +0 -52
  2176. package/dist/src/api/subscription/~mod.d.ts.map +0 -1
  2177. package/dist/src/api/subscription/~mod.js +0 -51
  2178. package/dist/src/api/subscription/~mod.js.map +0 -1
  2179. package/dist/src/mod.d.ts +0 -9
  2180. package/dist/src/mod.d.ts.map +0 -1
  2181. package/dist/src/mod.js.map +0 -1
  2182. package/dist/src/signing/_signTypedData.d.ts +0 -123
  2183. package/dist/src/signing/_signTypedData.d.ts.map +0 -1
  2184. package/dist/src/signing/_signTypedData.js.map +0 -1
  2185. package/dist/src/signing/mod.d.ts +0 -324
  2186. package/dist/src/signing/mod.d.ts.map +0 -1
  2187. package/dist/src/signing/mod.js +0 -366
  2188. package/dist/src/signing/mod.js.map +0 -1
  2189. package/dist/src/transport/_polyfills.d.ts +0 -23
  2190. package/dist/src/transport/_polyfills.d.ts.map +0 -1
  2191. package/dist/src/transport/_polyfills.js +0 -48
  2192. package/dist/src/transport/_polyfills.js.map +0 -1
  2193. package/dist/src/transport/base.d.ts +0 -48
  2194. package/dist/src/transport/base.d.ts.map +0 -1
  2195. package/dist/src/transport/base.js.map +0 -1
  2196. package/dist/src/transport/http/mod.d.ts +0 -94
  2197. package/dist/src/transport/http/mod.d.ts.map +0 -1
  2198. package/dist/src/transport/http/mod.js.map +0 -1
  2199. package/dist/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
  2200. package/dist/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
  2201. package/dist/src/transport/websocket/_websocket_async_request.d.ts +0 -37
  2202. package/dist/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
  2203. package/dist/src/transport/websocket/_websocket_async_request.js.map +0 -1
  2204. package/dist/src/transport/websocket/mod.d.ts +0 -123
  2205. package/dist/src/transport/websocket/mod.d.ts.map +0 -1
  2206. package/dist/src/transport/websocket/mod.js.map +0 -1
  2207. package/dist/src/utils/_eip712.d.ts +0 -42
  2208. package/dist/src/utils/_eip712.d.ts.map +0 -1
  2209. package/dist/src/utils/_eip712.js.map +0 -1
  2210. package/dist/src/utils/_format.d.ts.map +0 -1
  2211. package/dist/src/utils/_format.js.map +0 -1
  2212. package/dist/src/utils/_recover.d.ts +0 -89
  2213. package/dist/src/utils/_recover.d.ts.map +0 -1
  2214. package/dist/src/utils/_recover.js.map +0 -1
  2215. package/dist/src/utils/_symbolConverter.d.ts +0 -90
  2216. package/dist/src/utils/_symbolConverter.d.ts.map +0 -1
  2217. package/dist/src/utils/_symbolConverter.js.map +0 -1
  2218. package/dist/src/utils/mod.d.ts +0 -4
  2219. package/dist/src/utils/mod.d.ts.map +0 -1
  2220. package/dist/src/utils/mod.js.map +0 -1
  2221. package/src/api/_base.ts +0 -159
  2222. package/src/api/_common_schemas.ts +0 -767
  2223. package/src/api/exchange/_base/_errors.ts +0 -57
  2224. package/src/api/exchange/_base/_execute.ts +0 -244
  2225. package/src/api/exchange/_base/_helpers.ts +0 -26
  2226. package/src/api/exchange/_base/_nonce.ts +0 -18
  2227. package/src/api/exchange/_base/_schemas.ts +0 -73
  2228. package/src/api/exchange/_base/_types.ts +0 -88
  2229. package/src/api/exchange/_base/mod.ts +0 -5
  2230. package/src/api/exchange/agentEnableDexAbstraction.ts +0 -104
  2231. package/src/api/exchange/approveAgent.ts +0 -141
  2232. package/src/api/exchange/approveBuilderFee.ts +0 -141
  2233. package/src/api/exchange/batchModify.ts +0 -148
  2234. package/src/api/exchange/cDeposit.ts +0 -135
  2235. package/src/api/exchange/cSignerAction.ts +0 -136
  2236. package/src/api/exchange/cValidatorAction.ts +0 -276
  2237. package/src/api/exchange/cWithdraw.ts +0 -135
  2238. package/src/api/exchange/cancel.ts +0 -218
  2239. package/src/api/exchange/cancelByCloid.ts +0 -136
  2240. package/src/api/exchange/claimRewards.ts +0 -100
  2241. package/src/api/exchange/convertToMultiSigUser.ts +0 -192
  2242. package/src/api/exchange/createSubAccount.ts +0 -144
  2243. package/src/api/exchange/createVault.ts +0 -165
  2244. package/src/api/exchange/evmUserModify.ts +0 -115
  2245. package/src/api/exchange/linkStakingUser.ts +0 -157
  2246. package/src/api/exchange/modify.ts +0 -139
  2247. package/src/api/exchange/multiSig.ts +0 -303
  2248. package/src/api/exchange/noop.ts +0 -102
  2249. package/src/api/exchange/order.ts +0 -350
  2250. package/src/api/exchange/perpDeploy.ts +0 -381
  2251. package/src/api/exchange/registerReferrer.ts +0 -116
  2252. package/src/api/exchange/reserveRequestWeight.ts +0 -115
  2253. package/src/api/exchange/scheduleCancel.ts +0 -145
  2254. package/src/api/exchange/sendAsset.ts +0 -171
  2255. package/src/api/exchange/setDisplayName.ts +0 -122
  2256. package/src/api/exchange/setReferrer.ts +0 -116
  2257. package/src/api/exchange/spotDeploy.ts +0 -358
  2258. package/src/api/exchange/spotSend.ts +0 -151
  2259. package/src/api/exchange/spotUser.ts +0 -121
  2260. package/src/api/exchange/subAccountModify.ts +0 -121
  2261. package/src/api/exchange/subAccountSpotTransfer.ts +0 -135
  2262. package/src/api/exchange/subAccountTransfer.ts +0 -125
  2263. package/src/api/exchange/tokenDelegate.ts +0 -147
  2264. package/src/api/exchange/twapCancel.ts +0 -206
  2265. package/src/api/exchange/twapOrder.ts +0 -265
  2266. package/src/api/exchange/updateIsolatedMargin.ts +0 -131
  2267. package/src/api/exchange/updateLeverage.ts +0 -131
  2268. package/src/api/exchange/usdClassTransfer.ts +0 -141
  2269. package/src/api/exchange/usdSend.ts +0 -141
  2270. package/src/api/exchange/userDexAbstraction.ts +0 -145
  2271. package/src/api/exchange/vaultDistribute.ts +0 -127
  2272. package/src/api/exchange/vaultModify.ts +0 -129
  2273. package/src/api/exchange/vaultTransfer.ts +0 -125
  2274. package/src/api/exchange/withdraw3.ts +0 -141
  2275. package/src/api/exchange/~client.ts +0 -1567
  2276. package/src/api/exchange/~mod.ts +0 -87
  2277. package/src/api/info/_types.ts +0 -7
  2278. package/src/api/info/activeAssetData.ts +0 -147
  2279. package/src/api/info/alignedQuoteTokenInfo.ts +0 -121
  2280. package/src/api/info/allMids.ts +0 -88
  2281. package/src/api/info/allPerpMetas.ts +0 -70
  2282. package/src/api/info/blockDetails.ts +0 -165
  2283. package/src/api/info/candleSnapshot.ts +0 -153
  2284. package/src/api/info/clearinghouseState.ts +0 -279
  2285. package/src/api/info/delegations.ts +0 -101
  2286. package/src/api/info/delegatorHistory.ts +0 -156
  2287. package/src/api/info/delegatorRewards.ts +0 -101
  2288. package/src/api/info/delegatorSummary.ts +0 -100
  2289. package/src/api/info/exchangeStatus.ts +0 -74
  2290. package/src/api/info/extraAgents.ts +0 -102
  2291. package/src/api/info/frontendOpenOrders.ts +0 -86
  2292. package/src/api/info/fundingHistory.ts +0 -116
  2293. package/src/api/info/gossipRootIps.ts +0 -65
  2294. package/src/api/info/historicalOrders.ts +0 -97
  2295. package/src/api/info/isVip.ts +0 -79
  2296. package/src/api/info/l2Book.ts +0 -119
  2297. package/src/api/info/leadingVaults.ts +0 -96
  2298. package/src/api/info/legalCheck.ts +0 -95
  2299. package/src/api/info/liquidatable.ts +0 -63
  2300. package/src/api/info/marginTable.ts +0 -110
  2301. package/src/api/info/maxBuilderFee.ts +0 -86
  2302. package/src/api/info/maxMarketOrderNtls.ts +0 -74
  2303. package/src/api/info/meta.ts +0 -160
  2304. package/src/api/info/metaAndAssetCtxs.ts +0 -153
  2305. package/src/api/info/openOrders.ts +0 -86
  2306. package/src/api/info/orderStatus.ts +0 -122
  2307. package/src/api/info/perpDeployAuctionStatus.ts +0 -91
  2308. package/src/api/info/perpDexLimits.ts +0 -102
  2309. package/src/api/info/perpDexs.ts +0 -124
  2310. package/src/api/info/perpsAtOpenInterestCap.ts +0 -88
  2311. package/src/api/info/portfolio.ts +0 -113
  2312. package/src/api/info/preTransferCheck.ts +0 -105
  2313. package/src/api/info/predictedFundings.ts +0 -117
  2314. package/src/api/info/recentTrades.ts +0 -126
  2315. package/src/api/info/referral.ts +0 -314
  2316. package/src/api/info/spotClearinghouseState.ts +0 -121
  2317. package/src/api/info/spotDeployState.ts +0 -194
  2318. package/src/api/info/spotMeta.ts +0 -168
  2319. package/src/api/info/spotMetaAndAssetCtxs.ts +0 -121
  2320. package/src/api/info/spotPairDeployAuctionStatus.ts +0 -91
  2321. package/src/api/info/subAccounts.ts +0 -111
  2322. package/src/api/info/subAccounts2.ts +0 -120
  2323. package/src/api/info/tokenDetails.ts +0 -178
  2324. package/src/api/info/twapHistory.ts +0 -102
  2325. package/src/api/info/txDetails.ts +0 -128
  2326. package/src/api/info/userDetails.ts +0 -93
  2327. package/src/api/info/userDexAbstraction.ts +0 -79
  2328. package/src/api/info/userFees.ts +0 -333
  2329. package/src/api/info/userFills.ts +0 -86
  2330. package/src/api/info/userFillsByTime.ts +0 -96
  2331. package/src/api/info/userFunding.ts +0 -142
  2332. package/src/api/info/userNonFundingLedgerUpdates.ts +0 -530
  2333. package/src/api/info/userRateLimit.ts +0 -100
  2334. package/src/api/info/userRole.ts +0 -123
  2335. package/src/api/info/userToMultiSigSigners.ts +0 -94
  2336. package/src/api/info/userTwapSliceFills.ts +0 -95
  2337. package/src/api/info/userTwapSliceFillsByTime.ts +0 -110
  2338. package/src/api/info/userVaultEquities.ts +0 -101
  2339. package/src/api/info/validatorL1Votes.ts +0 -94
  2340. package/src/api/info/validatorSummaries.ts +0 -156
  2341. package/src/api/info/vaultDetails.ts +0 -273
  2342. package/src/api/info/vaultSummaries.ts +0 -133
  2343. package/src/api/info/webData2.ts +0 -81
  2344. package/src/api/info/~client.ts +0 -1716
  2345. package/src/api/info/~mod.ts +0 -92
  2346. package/src/api/subscription/_types.ts +0 -7
  2347. package/src/api/subscription/activeAssetCtx.ts +0 -139
  2348. package/src/api/subscription/activeAssetData.ts +0 -81
  2349. package/src/api/subscription/activeSpotAssetCtx.ts +0 -129
  2350. package/src/api/subscription/allMids.ts +0 -103
  2351. package/src/api/subscription/assetCtxs.ts +0 -160
  2352. package/src/api/subscription/bbo.ts +0 -95
  2353. package/src/api/subscription/candle.ts +0 -79
  2354. package/src/api/subscription/clearinghouseState.ts +0 -101
  2355. package/src/api/subscription/explorerBlock.ts +0 -100
  2356. package/src/api/subscription/explorerTxs.ts +0 -111
  2357. package/src/api/subscription/l2Book.ts +0 -120
  2358. package/src/api/subscription/notification.ts +0 -81
  2359. package/src/api/subscription/openOrders.ts +0 -104
  2360. package/src/api/subscription/orderUpdates.ts +0 -93
  2361. package/src/api/subscription/spotState.ts +0 -96
  2362. package/src/api/subscription/trades.ts +0 -76
  2363. package/src/api/subscription/userEvents.ts +0 -275
  2364. package/src/api/subscription/userFills.ts +0 -104
  2365. package/src/api/subscription/userFundings.ts +0 -130
  2366. package/src/api/subscription/userHistoricalOrders.ts +0 -111
  2367. package/src/api/subscription/userNonFundingLedgerUpdates.ts +0 -95
  2368. package/src/api/subscription/userTwapHistory.ts +0 -116
  2369. package/src/api/subscription/userTwapSliceFills.ts +0 -105
  2370. package/src/api/subscription/webData2.ts +0 -180
  2371. package/src/api/subscription/webData3.ts +0 -179
  2372. package/src/api/subscription/~client.ts +0 -713
  2373. package/src/api/subscription/~mod.ts +0 -53
  2374. package/src/mod.ts +0 -10
  2375. package/src/signing/_signTypedData.ts +0 -314
  2376. package/src/signing/mod.ts +0 -475
  2377. package/src/transport/_polyfills.ts +0 -55
  2378. package/src/transport/base.ts +0 -54
  2379. package/src/transport/http/mod.ts +0 -218
  2380. package/src/transport/websocket/_hyperliquid_event_target.ts +0 -137
  2381. package/src/transport/websocket/_websocket_async_request.ts +0 -242
  2382. package/src/transport/websocket/mod.ts +0 -349
  2383. package/src/utils/_eip712.ts +0 -243
  2384. package/src/utils/_recover.ts +0 -178
  2385. package/src/utils/_symbolConverter.ts +0 -203
  2386. package/src/utils/mod.ts +0 -3
  2387. /package/{dist → esm}/bin/_utils.d.ts +0 -0
  2388. /package/{dist → esm}/bin/_utils.js +0 -0
  2389. /package/{dist → esm}/bin/cli.d.ts +0 -0
  2390. /package/{dist → esm}/src/_base.d.ts +0 -0
  2391. /package/{dist → esm}/src/_base.js +0 -0
  2392. /package/{dist → esm}/src/api/_common_schemas.js +0 -0
  2393. /package/{dist → esm}/src/api/exchange/_base/_errors.js +0 -0
  2394. /package/{dist → esm}/src/api/exchange/_base/_schemas.d.ts +0 -0
  2395. /package/{dist → esm}/src/api/exchange/_base/_schemas.js +0 -0
  2396. /package/{dist → esm}/src/api/exchange/_base/_types.js +0 -0
  2397. /package/{dist → esm}/src/api/info/_types.js +0 -0
  2398. /package/{dist → esm}/src/api/info/~client.js +0 -0
  2399. /package/{dist → esm}/src/api/info/~mod.js +0 -0
  2400. /package/{dist → esm}/src/api/subscription/_types.js +0 -0
  2401. /package/{dist → esm}/src/mod.js +0 -0
  2402. /package/{dist → esm}/src/signing/_signTypedData.js +0 -0
  2403. /package/{dist → esm}/src/transport/base.js +0 -0
  2404. /package/{dist → esm}/src/transport/http/mod.js +0 -0
  2405. /package/{dist → esm}/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -0
  2406. /package/{dist → esm}/src/transport/websocket/_hyperliquid_event_target.js +0 -0
  2407. /package/{dist → esm}/src/transport/websocket/_websocket_async_request.js +0 -0
  2408. /package/{dist → esm}/src/transport/websocket/mod.js +0 -0
  2409. /package/{dist → esm}/src/utils/_eip712.js +0 -0
  2410. /package/{dist → esm}/src/utils/_format.d.ts +0 -0
  2411. /package/{dist → esm}/src/utils/_format.js +0 -0
  2412. /package/{dist → esm}/src/utils/_recover.js +0 -0
  2413. /package/{dist → esm}/src/utils/_symbolConverter.js +0 -0
  2414. /package/{dist → esm}/src/utils/mod.js +0 -0
  2415. /package/{bin → src/bin}/_utils.ts +0 -0
  2416. /package/src/{_base.ts → src/_base.ts} +0 -0
  2417. /package/src/{utils → src/utils}/_format.ts +0 -0
@@ -1,1716 +0,0 @@
1
- import type { OmitFirst, OverloadedParameters } from "../_base.ts";
2
- import type { IRequestTransport } from "../../transport/base.ts";
3
- import type { InfoRequestConfig } from "./_types.ts";
4
-
5
- import { activeAssetData } from "./activeAssetData.ts";
6
- import { alignedQuoteTokenInfo } from "./alignedQuoteTokenInfo.ts";
7
- import { allMids } from "./allMids.ts";
8
- import { allPerpMetas } from "./allPerpMetas.ts";
9
- import { blockDetails } from "./blockDetails.ts";
10
- import { candleSnapshot } from "./candleSnapshot.ts";
11
- import { clearinghouseState } from "./clearinghouseState.ts";
12
- import { delegations } from "./delegations.ts";
13
- import { delegatorHistory } from "./delegatorHistory.ts";
14
- import { delegatorRewards } from "./delegatorRewards.ts";
15
- import { delegatorSummary } from "./delegatorSummary.ts";
16
- import { exchangeStatus } from "./exchangeStatus.ts";
17
- import { extraAgents } from "./extraAgents.ts";
18
- import { frontendOpenOrders } from "./frontendOpenOrders.ts";
19
- import { fundingHistory } from "./fundingHistory.ts";
20
- import { gossipRootIps } from "./gossipRootIps.ts";
21
- import { historicalOrders } from "./historicalOrders.ts";
22
- import { isVip } from "./isVip.ts";
23
- import { l2Book } from "./l2Book.ts";
24
- import { leadingVaults } from "./leadingVaults.ts";
25
- import { legalCheck } from "./legalCheck.ts";
26
- import { liquidatable } from "./liquidatable.ts";
27
- import { marginTable } from "./marginTable.ts";
28
- import { maxBuilderFee } from "./maxBuilderFee.ts";
29
- import { maxMarketOrderNtls } from "./maxMarketOrderNtls.ts";
30
- import { meta } from "./meta.ts";
31
- import { metaAndAssetCtxs } from "./metaAndAssetCtxs.ts";
32
- import { openOrders } from "./openOrders.ts";
33
- import { orderStatus } from "./orderStatus.ts";
34
- import { perpDeployAuctionStatus } from "./perpDeployAuctionStatus.ts";
35
- import { perpDexLimits } from "./perpDexLimits.ts";
36
- import { perpDexs } from "./perpDexs.ts";
37
- import { perpsAtOpenInterestCap } from "./perpsAtOpenInterestCap.ts";
38
- import { portfolio } from "./portfolio.ts";
39
- import { predictedFundings } from "./predictedFundings.ts";
40
- import { preTransferCheck } from "./preTransferCheck.ts";
41
- import { recentTrades } from "./recentTrades.ts";
42
- import { referral } from "./referral.ts";
43
- import { spotClearinghouseState } from "./spotClearinghouseState.ts";
44
- import { spotDeployState } from "./spotDeployState.ts";
45
- import { spotMeta } from "./spotMeta.ts";
46
- import { spotMetaAndAssetCtxs } from "./spotMetaAndAssetCtxs.ts";
47
- import { spotPairDeployAuctionStatus } from "./spotPairDeployAuctionStatus.ts";
48
- import { subAccounts } from "./subAccounts.ts";
49
- import { subAccounts2 } from "./subAccounts2.ts";
50
- import { tokenDetails } from "./tokenDetails.ts";
51
- import { twapHistory } from "./twapHistory.ts";
52
- import { txDetails } from "./txDetails.ts";
53
- import { userDetails } from "./userDetails.ts";
54
- import { userDexAbstraction } from "./userDexAbstraction.ts";
55
- import { userFees } from "./userFees.ts";
56
- import { userFills } from "./userFills.ts";
57
- import { userFillsByTime } from "./userFillsByTime.ts";
58
- import { userFunding } from "./userFunding.ts";
59
- import { userNonFundingLedgerUpdates } from "./userNonFundingLedgerUpdates.ts";
60
- import { userRateLimit } from "./userRateLimit.ts";
61
- import { userRole } from "./userRole.ts";
62
- import { userToMultiSigSigners } from "./userToMultiSigSigners.ts";
63
- import { userTwapSliceFills } from "./userTwapSliceFills.ts";
64
- import { userTwapSliceFillsByTime } from "./userTwapSliceFillsByTime.ts";
65
- import { userVaultEquities } from "./userVaultEquities.ts";
66
- import { validatorL1Votes } from "./validatorL1Votes.ts";
67
- import { validatorSummaries } from "./validatorSummaries.ts";
68
- import { vaultDetails } from "./vaultDetails.ts";
69
- import { vaultSummaries } from "./vaultSummaries.ts";
70
- import { webData2 } from "./webData2.ts";
71
-
72
- export type { ActiveAssetDataParameters, ActiveAssetDataResponse } from "./activeAssetData.ts";
73
- export type { AlignedQuoteTokenInfoParameters, AlignedQuoteTokenInfoResponse } from "./alignedQuoteTokenInfo.ts";
74
- export type { AllMidsParameters, AllMidsResponse } from "./allMids.ts";
75
- export type { AllPerpMetasParameters, AllPerpMetasResponse } from "./allPerpMetas.ts";
76
- export type { BlockDetailsParameters, BlockDetailsResponse } from "./blockDetails.ts";
77
- export type { CandleSnapshotParameters, CandleSnapshotResponse } from "./candleSnapshot.ts";
78
- export type { ClearinghouseStateParameters, ClearinghouseStateResponse } from "./clearinghouseState.ts";
79
- export type { DelegationsParameters, DelegationsResponse } from "./delegations.ts";
80
- export type { DelegatorHistoryParameters, DelegatorHistoryResponse } from "./delegatorHistory.ts";
81
- export type { DelegatorRewardsParameters, DelegatorRewardsResponse } from "./delegatorRewards.ts";
82
- export type { DelegatorSummaryParameters, DelegatorSummaryResponse } from "./delegatorSummary.ts";
83
- export type { ExchangeStatusResponse } from "./exchangeStatus.ts";
84
- export type { ExtraAgentsParameters, ExtraAgentsResponse } from "./extraAgents.ts";
85
- export type { FrontendOpenOrdersParameters, FrontendOpenOrdersResponse } from "./frontendOpenOrders.ts";
86
- export type { FundingHistoryParameters, FundingHistoryResponse } from "./fundingHistory.ts";
87
- export type { GossipRootIpsResponse } from "./gossipRootIps.ts";
88
- export type { HistoricalOrdersParameters, HistoricalOrdersResponse } from "./historicalOrders.ts";
89
- export type { IsVipParameters, IsVipResponse } from "./isVip.ts";
90
- export type { L2BookParameters, L2BookResponse } from "./l2Book.ts";
91
- export type { LeadingVaultsParameters, LeadingVaultsResponse } from "./leadingVaults.ts";
92
- export type { LegalCheckParameters, LegalCheckResponse } from "./legalCheck.ts";
93
- export type { LiquidatableResponse } from "./liquidatable.ts";
94
- export type { MarginTableParameters, MarginTableResponse } from "./marginTable.ts";
95
- export type { MaxBuilderFeeParameters, MaxBuilderFeeResponse } from "./maxBuilderFee.ts";
96
- export type { MaxMarketOrderNtlsParameters, MaxMarketOrderNtlsResponse } from "./maxMarketOrderNtls.ts";
97
- export type { MetaParameters, MetaResponse } from "./meta.ts";
98
- export type { MetaAndAssetCtxsParameters, MetaAndAssetCtxsResponse } from "./metaAndAssetCtxs.ts";
99
- export type { OpenOrdersParameters, OpenOrdersResponse } from "./openOrders.ts";
100
- export type { OrderStatusParameters, OrderStatusResponse } from "./orderStatus.ts";
101
- export type { PerpDeployAuctionStatusResponse } from "./perpDeployAuctionStatus.ts";
102
- export type { PerpDexLimitsParameters, PerpDexLimitsResponse } from "./perpDexLimits.ts";
103
- export type { PerpDexsResponse } from "./perpDexs.ts";
104
- export type { PerpsAtOpenInterestCapParameters, PerpsAtOpenInterestCapResponse } from "./perpsAtOpenInterestCap.ts";
105
- export type { PortfolioParameters, PortfolioResponse } from "./portfolio.ts";
106
- export type { PredictedFundingsResponse } from "./predictedFundings.ts";
107
- export type { PreTransferCheckParameters, PreTransferCheckResponse } from "./preTransferCheck.ts";
108
- export type { RecentTradesParameters, RecentTradesResponse } from "./recentTrades.ts";
109
- export type { ReferralParameters, ReferralResponse } from "./referral.ts";
110
- export type { SpotClearinghouseStateParameters, SpotClearinghouseStateResponse } from "./spotClearinghouseState.ts";
111
- export type { SpotDeployStateParameters, SpotDeployStateResponse } from "./spotDeployState.ts";
112
- export type { SpotMetaResponse } from "./spotMeta.ts";
113
- export type { SpotMetaAndAssetCtxsResponse } from "./spotMetaAndAssetCtxs.ts";
114
- export type { SpotPairDeployAuctionStatusResponse } from "./spotPairDeployAuctionStatus.ts";
115
- export type { SubAccountsParameters, SubAccountsResponse } from "./subAccounts.ts";
116
- export type { SubAccounts2Parameters, SubAccounts2Response } from "./subAccounts2.ts";
117
- export type { TokenDetailsParameters, TokenDetailsResponse } from "./tokenDetails.ts";
118
- export type { TwapHistoryParameters, TwapHistoryResponse } from "./twapHistory.ts";
119
- export type { TxDetailsParameters, TxDetailsResponse } from "./txDetails.ts";
120
- export type { UserDetailsParameters, UserDetailsResponse } from "./userDetails.ts";
121
- export type { UserDexAbstractionInfoParameters, UserDexAbstractionInfoResponse } from "./userDexAbstraction.ts";
122
- export type { UserFeesParameters, UserFeesResponse } from "./userFees.ts";
123
- export type { UserFillsParameters, UserFillsResponse } from "./userFills.ts";
124
- export type { UserFillsByTimeParameters, UserFillsByTimeResponse } from "./userFillsByTime.ts";
125
- export type { UserFundingParameters, UserFundingResponse } from "./userFunding.ts";
126
- export type {
127
- UserNonFundingLedgerUpdatesParameters,
128
- UserNonFundingLedgerUpdatesResponse,
129
- } from "./userNonFundingLedgerUpdates.ts";
130
- export type { UserRateLimitParameters, UserRateLimitResponse } from "./userRateLimit.ts";
131
- export type { UserRoleParameters, UserRoleResponse } from "./userRole.ts";
132
- export type { UserToMultiSigSignersParameters, UserToMultiSigSignersResponse } from "./userToMultiSigSigners.ts";
133
- export type { UserTwapSliceFillsParameters, UserTwapSliceFillsResponse } from "./userTwapSliceFills.ts";
134
- export type {
135
- UserTwapSliceFillsByTimeParameters,
136
- UserTwapSliceFillsByTimeResponse,
137
- } from "./userTwapSliceFillsByTime.ts";
138
- export type { UserVaultEquitiesParameters, UserVaultEquitiesResponse } from "./userVaultEquities.ts";
139
- export type { ValidatorL1VotesResponse } from "./validatorL1Votes.ts";
140
- export type { ValidatorSummariesResponse } from "./validatorSummaries.ts";
141
- export type { VaultDetailsParameters, VaultDetailsResponse } from "./vaultDetails.ts";
142
- export type { VaultSummariesResponse } from "./vaultSummaries.ts";
143
- export type { WebData2Parameters, WebData2Response } from "./webData2.ts";
144
-
145
- export type { InfoRequestConfig } from "./_types.ts";
146
-
147
- /**
148
- * A client for interacting with the Hyperliquid Info API.
149
- * @typeParam T - The transport (extends {@linkcode IRequestTransport}) used to connect to the Hyperliquid API.
150
- */
151
- export class InfoClient<T extends IRequestTransport = IRequestTransport> implements InfoRequestConfig<T> {
152
- transport: T;
153
-
154
- /**
155
- * Initialises a new instance.
156
- * @param args - The arguments for initialisation.
157
- *
158
- * @example
159
- * ```ts
160
- * import * as hl from "@nktkas/hyperliquid";
161
- *
162
- * const transport = new hl.HttpTransport();
163
- * const infoClient = new hl.InfoClient({ transport });
164
- * ```
165
- */
166
- constructor(args: InfoRequestConfig<T>) {
167
- this.transport = args.transport;
168
- }
169
-
170
- /**
171
- * Request user active asset data.
172
- * @param params - Parameters specific to the API request.
173
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
174
- * @returns User active asset data.
175
- *
176
- * @throws {TransportError} When the transport layer throws an error.
177
- *
178
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-active-asset-data
179
- * @example
180
- * ```ts
181
- * import * as hl from "@nktkas/hyperliquid";
182
- *
183
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
184
- *
185
- * const client = new hl.InfoClient({ transport });
186
- * const data = await client.activeAssetData({ user: "0x...", coin: "ETH" });
187
- * ```
188
- */
189
- activeAssetData(...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>) {
190
- return activeAssetData(this, ...args);
191
- }
192
-
193
- /**
194
- * Request supply, rate, and pending payment information for an aligned quote token.
195
- * @param params - Parameters specific to the API request.
196
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
197
- * @returns Supply, rate, and pending payment information for an aligned quote token.
198
- *
199
- * @throws {TransportError} When the transport layer throws an error.
200
- *
201
- * @see null
202
- * @example
203
- * ```ts
204
- * import * as hl from "@nktkas/hyperliquid";
205
- *
206
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
207
- *
208
- * const client = new hl.InfoClient({ transport });
209
- * const data = await client.alignedQuoteTokenInfo({ token: 1328 });
210
- * ```
211
- */
212
- alignedQuoteTokenInfo(...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>) {
213
- return alignedQuoteTokenInfo(this, ...args);
214
- }
215
-
216
- /**
217
- * Request mid coin prices.
218
- * @param params - Parameters specific to the API request.
219
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
220
- * @returns Mapping of coin symbols to mid prices.
221
- *
222
- * @throws {TransportError} When the transport layer throws an error.
223
- *
224
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-mids-for-all-coins
225
- * @example
226
- * ```ts
227
- * import * as hl from "@nktkas/hyperliquid";
228
- *
229
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
230
- *
231
- * const client = new hl.InfoClient({ transport });
232
- * const data = await client.allMids();
233
- * ```
234
- */
235
- allMids(...args: OmitFirst<OverloadedParameters<typeof allMids>>) {
236
- return allMids(
237
- this,
238
- // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
239
- ...args,
240
- );
241
- }
242
-
243
- /**
244
- * Request trading metadata for all DEXes.
245
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
246
- * @returns Metadata for perpetual assets across all DEXes.
247
- *
248
- * @throws {TransportError} When the transport layer throws an error.
249
- *
250
- * @see null
251
- * @example
252
- * ```ts
253
- * import * as hl from "@nktkas/hyperliquid";
254
- *
255
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
256
- *
257
- * const client = new hl.InfoClient({ transport });
258
- * const data = await client.allPerpMetas();
259
- * ```
260
- */
261
- allPerpMetas() {
262
- return allPerpMetas(this);
263
- }
264
-
265
- /**
266
- * Request block details by block height.
267
- * @param params - Parameters specific to the API request.
268
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
269
- * @returns Response containing block information.
270
- *
271
- * @throws {TransportError} When the transport layer throws an error.
272
- *
273
- * @see null
274
- * @example
275
- * ```ts
276
- * import * as hl from "@nktkas/hyperliquid";
277
- *
278
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
279
- *
280
- * const client = new hl.InfoClient({ transport });
281
- * const data = await client.blockDetails({ height: 123 });
282
- * ```
283
- */
284
- blockDetails(
285
- this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
286
- ...args: OmitFirst<OverloadedParameters<typeof blockDetails>>
287
- ) {
288
- return blockDetails(this, ...args);
289
- }
290
-
291
- /**
292
- * Request candlestick snapshots.
293
- * @param params - Parameters specific to the API request.
294
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
295
- * @returns Array of candlestick data points.
296
- *
297
- * @throws {TransportError} When the transport layer throws an error.
298
- *
299
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#candle-snapshot
300
- * @example
301
- * ```ts
302
- * import * as hl from "@nktkas/hyperliquid";
303
- *
304
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
305
- *
306
- * const client = new hl.InfoClient({ transport });
307
- * const data = await client.candleSnapshot({
308
- * coin: "ETH",
309
- * interval: "1h",
310
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
311
- * });
312
- * ```
313
- */
314
- candleSnapshot(...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>) {
315
- return candleSnapshot(this, ...args);
316
- }
317
-
318
- /**
319
- * Request clearinghouse state.
320
- * @param params - Parameters specific to the API request.
321
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
322
- * @returns Account summary for perpetual trading.
323
- *
324
- * @throws {TransportError} When the transport layer throws an error.
325
- *
326
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
327
- * @example
328
- * ```ts
329
- * import * as hl from "@nktkas/hyperliquid";
330
- *
331
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
332
- *
333
- * const client = new hl.InfoClient({ transport });
334
- * const data = await client.clearinghouseState({ user: "0x..." });
335
- * ```
336
- */
337
- clearinghouseState(...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>) {
338
- return clearinghouseState(this, ...args);
339
- }
340
-
341
- /**
342
- * Request user staking delegations.
343
- * @param params - Parameters specific to the API request.
344
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
345
- * @returns Array of user's delegations to validators.
346
- *
347
- * @throws {TransportError} When the transport layer throws an error.
348
- *
349
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-delegations
350
- * @example
351
- * ```ts
352
- * import * as hl from "@nktkas/hyperliquid";
353
- *
354
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
355
- *
356
- * const client = new hl.InfoClient({ transport });
357
- * const data = await client.delegations({ user: "0x..." });
358
- * ```
359
- */
360
- delegations(...args: OmitFirst<OverloadedParameters<typeof delegations>>) {
361
- return delegations(this, ...args);
362
- }
363
-
364
- /**
365
- * Request user staking history.
366
- * @param params - Parameters specific to the API request.
367
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
368
- * @returns Array of records of staking events by a delegator.
369
- *
370
- * @throws {TransportError} When the transport layer throws an error.
371
- *
372
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-history
373
- * @example
374
- * ```ts
375
- * import * as hl from "@nktkas/hyperliquid";
376
- *
377
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
378
- *
379
- * const client = new hl.InfoClient({ transport });
380
- * const data = await client.delegatorHistory({ user: "0x..." });
381
- * ```
382
- */
383
- delegatorHistory(...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>) {
384
- return delegatorHistory(this, ...args);
385
- }
386
-
387
- /**
388
- * Request user staking rewards.
389
- * @param params - Parameters specific to the API request.
390
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
391
- * @returns Array of rewards received from staking activities.
392
- *
393
- * @throws {TransportError} When the transport layer throws an error.
394
- *
395
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-rewards
396
- * @example
397
- * ```ts
398
- * import * as hl from "@nktkas/hyperliquid";
399
- *
400
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
401
- *
402
- * const client = new hl.InfoClient({ transport });
403
- * const data = await client.delegatorRewards({ user: "0x..." });
404
- * ```
405
- */
406
- delegatorRewards(...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>) {
407
- return delegatorRewards(this, ...args);
408
- }
409
-
410
- /**
411
- * Request user's staking summary.
412
- * @param params - Parameters specific to the API request.
413
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
414
- * @returns User's staking summary.
415
- *
416
- * @throws {TransportError} When the transport layer throws an error.
417
- *
418
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-summary
419
- * @example
420
- * ```ts
421
- * import * as hl from "@nktkas/hyperliquid";
422
- *
423
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
424
- *
425
- * const client = new hl.InfoClient({ transport });
426
- * const data = await client.delegatorSummary({ user: "0x..." });
427
- * ```
428
- */
429
- delegatorSummary(...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>) {
430
- return delegatorSummary(this, ...args);
431
- }
432
-
433
- /**
434
- * Request exchange system status information.
435
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
436
- * @returns Exchange system status information.
437
- *
438
- * @throws {TransportError} When the transport layer throws an error.
439
- *
440
- * @see null
441
- * @example
442
- * ```ts
443
- * import * as hl from "@nktkas/hyperliquid";
444
- *
445
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
446
- *
447
- * const client = new hl.InfoClient({ transport });
448
- * const data = await client.exchangeStatus();
449
- * ```
450
- */
451
- exchangeStatus(...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>) {
452
- return exchangeStatus(this, ...args);
453
- }
454
-
455
- /**
456
- * Request user extra agents.
457
- * @param params - Parameters specific to the API request.
458
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
459
- * @returns Array of extra agent details for a user.
460
- *
461
- * @throws {TransportError} When the transport layer throws an error.
462
- *
463
- * @see null
464
- * @example
465
- * ```ts
466
- * import * as hl from "@nktkas/hyperliquid";
467
- *
468
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
469
- *
470
- * const client = new hl.InfoClient({ transport });
471
- * const data = await client.extraAgents({ user: "0x..." });
472
- * ```
473
- */
474
- extraAgents(...args: OmitFirst<OverloadedParameters<typeof extraAgents>>) {
475
- return extraAgents(this, ...args);
476
- }
477
-
478
- /**
479
- * Request frontend open orders.
480
- * @param params - Parameters specific to the API request.
481
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
482
- * @returns Array of open orders with additional display information.
483
- *
484
- * @throws {TransportError} When the transport layer throws an error.
485
- *
486
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders-with-additional-frontend-info
487
- * @example
488
- * ```ts
489
- * import * as hl from "@nktkas/hyperliquid";
490
- *
491
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
492
- *
493
- * const client = new hl.InfoClient({ transport });
494
- * const data = await client.frontendOpenOrders({ user: "0x..." });
495
- * ```
496
- */
497
- frontendOpenOrders(...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>) {
498
- return frontendOpenOrders(this, ...args);
499
- }
500
-
501
- /**
502
- * Request funding history.
503
- * @param params - Parameters specific to the API request.
504
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
505
- * @returns Array of historical funding rate records for an asset.
506
- *
507
- * @throws {TransportError} When the transport layer throws an error.
508
- *
509
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-historical-funding-rates
510
- * @example
511
- * ```ts
512
- * import * as hl from "@nktkas/hyperliquid";
513
- *
514
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
515
- *
516
- * const client = new hl.InfoClient({ transport });
517
- * const data = await client.fundingHistory({
518
- * coin: "ETH",
519
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
520
- * });
521
- * ```
522
- */
523
- fundingHistory(...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>) {
524
- return fundingHistory(this, ...args);
525
- }
526
-
527
- /**
528
- * Request gossip root IPs.
529
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
530
- * @returns Array of gossip root IPs.
531
- *
532
- * @throws {TransportError} When the transport layer throws an error.
533
- *
534
- * @see null
535
- * @example
536
- * ```ts
537
- * import * as hl from "@nktkas/hyperliquid";
538
- *
539
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
540
- *
541
- * const client = new hl.InfoClient({ transport });
542
- * const data = await client.gossipRootIps();
543
- * ```
544
- */
545
- gossipRootIps(...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>) {
546
- return gossipRootIps(this, ...args);
547
- }
548
-
549
- /**
550
- * Request user historical orders.
551
- * @param params - Parameters specific to the API request.
552
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
553
- * @returns Array of frontend orders with current processing status.
554
- *
555
- * @throws {TransportError} When the transport layer throws an error.
556
- *
557
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-historical-orders
558
- * @example
559
- * ```ts
560
- * import * as hl from "@nktkas/hyperliquid";
561
- *
562
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
563
- *
564
- * const client = new hl.InfoClient({ transport });
565
- * const data = await client.historicalOrders({ user: "0x..." });
566
- * ```
567
- */
568
- historicalOrders(...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>) {
569
- return historicalOrders(this, ...args);
570
- }
571
-
572
- /**
573
- * Request to check if a user is a VIP.
574
- * @param params - Parameters specific to the API request.
575
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
576
- * @returns Boolean indicating user's VIP status.
577
- *
578
- * @throws {TransportError} When the transport layer throws an error.
579
- *
580
- * @see null
581
- * @example
582
- * ```ts
583
- * import * as hl from "@nktkas/hyperliquid";
584
- *
585
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
586
- *
587
- * const client = new hl.InfoClient({ transport });
588
- * const data = await client.isVip({ user: "0x..." });
589
- * ```
590
- */
591
- isVip(...args: OmitFirst<OverloadedParameters<typeof isVip>>) {
592
- return isVip(this, ...args);
593
- }
594
-
595
- /**
596
- * Request L2 order book.
597
- * @param params - Parameters specific to the API request.
598
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
599
- * @returns L2 order book snapshot.
600
- *
601
- * @throws {TransportError} When the transport layer throws an error.
602
- *
603
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#l2-book-snapshot
604
- * @example
605
- * ```ts
606
- * import * as hl from "@nktkas/hyperliquid";
607
- *
608
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
609
- *
610
- * const client = new hl.InfoClient({ transport });
611
- * const data = await client.l2Book({ coin: "ETH", nSigFigs: 2 });
612
- * ```
613
- */
614
- l2Book(...args: OmitFirst<OverloadedParameters<typeof l2Book>>) {
615
- return l2Book(this, ...args);
616
- }
617
-
618
- /**
619
- * Request leading vaults for a user.
620
- * @param params - Parameters specific to the API request.
621
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
622
- * @returns Array of leading vaults for a user.
623
- *
624
- * @throws {TransportError} When the transport layer throws an error.
625
- *
626
- * @see null
627
- * @example
628
- * ```ts
629
- * import * as hl from "@nktkas/hyperliquid";
630
- *
631
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
632
- *
633
- * const client = new hl.InfoClient({ transport });
634
- * const data = await client.leadingVaults({ user: "0x..." });
635
- * ```
636
- */
637
- leadingVaults(...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>) {
638
- return leadingVaults(this, ...args);
639
- }
640
-
641
- /**
642
- * Request legal verification status of a user.
643
- * @param params - Parameters specific to the API request.
644
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
645
- * @returns Legal verification status for a user.
646
- *
647
- * @throws {TransportError} When the transport layer throws an error.
648
- *
649
- * @see null
650
- * @example
651
- * ```ts
652
- * import * as hl from "@nktkas/hyperliquid";
653
- *
654
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
655
- *
656
- * const client = new hl.InfoClient({ transport });
657
- * const data = await client.legalCheck({ user: "0x..." });
658
- * ```
659
- */
660
- legalCheck(...args: OmitFirst<OverloadedParameters<typeof legalCheck>>) {
661
- return legalCheck(this, ...args);
662
- }
663
-
664
- /**
665
- * Request liquidatable.
666
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
667
- * @returns
668
- *
669
- * @throws {TransportError} When the transport layer throws an error.
670
- *
671
- * @see null
672
- * @example
673
- * ```ts
674
- * import * as hl from "@nktkas/hyperliquid";
675
- *
676
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
677
- *
678
- * const client = new hl.InfoClient({ transport });
679
- * const data = await client.liquidatable();
680
- * ```
681
- */
682
- liquidatable(...args: OmitFirst<OverloadedParameters<typeof liquidatable>>) {
683
- return liquidatable(this, ...args);
684
- }
685
-
686
- /**
687
- * Request margin table data.
688
- * @param params - Parameters specific to the API request.
689
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
690
- * @returns Margin requirements table with multiple tiers.
691
- *
692
- * @throws {TransportError} When the transport layer throws an error.
693
- *
694
- * @see null
695
- * @example
696
- * ```ts
697
- * import * as hl from "@nktkas/hyperliquid";
698
- *
699
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
700
- *
701
- * const client = new hl.InfoClient({ transport });
702
- * const data = await client.marginTable({ id: 1 });
703
- * ```
704
- */
705
- marginTable(...args: OmitFirst<OverloadedParameters<typeof marginTable>>) {
706
- return marginTable(this, ...args);
707
- }
708
-
709
- /**
710
- * Request builder fee approval.
711
- * @param params - Parameters specific to the API request.
712
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
713
- * @returns Maximum builder fee approval.
714
- *
715
- * @throws {TransportError} When the transport layer throws an error.
716
- *
717
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#check-builder-fee-approval
718
- * @example
719
- * ```ts
720
- * import * as hl from "@nktkas/hyperliquid";
721
- *
722
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
723
- *
724
- * const client = new hl.InfoClient({ transport });
725
- * const data = await client.maxBuilderFee({ user: "0x...", builder: "0x..." });
726
- * ```
727
- */
728
- maxBuilderFee(...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>) {
729
- return maxBuilderFee(this, ...args);
730
- }
731
-
732
- /**
733
- * Request maximum market order notionals.
734
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
735
- * @returns Maximum market order notionals.
736
- *
737
- * @throws {TransportError} When the transport layer throws an error.
738
- *
739
- * @see null
740
- * @example
741
- * ```ts
742
- * import * as hl from "@nktkas/hyperliquid";
743
- *
744
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
745
- *
746
- * const client = new hl.InfoClient({ transport });
747
- * const data = await client.maxMarketOrderNtls();
748
- * ```
749
- */
750
- maxMarketOrderNtls(...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>) {
751
- return maxMarketOrderNtls(this, ...args);
752
- }
753
-
754
- /**
755
- * Request trading metadata.
756
- * @param params - Parameters specific to the API request.
757
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
758
- * @returns Metadata for perpetual assets.
759
- *
760
- * @throws {TransportError} When the transport layer throws an error.
761
- *
762
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-metadata-universe-and-margin-tables
763
- * @example
764
- * ```ts
765
- * import * as hl from "@nktkas/hyperliquid";
766
- *
767
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
768
- *
769
- * const client = new hl.InfoClient({ transport });
770
- * const data = await client.meta();
771
- * ```
772
- */
773
- meta(...args: OmitFirst<OverloadedParameters<typeof meta>>) {
774
- return meta(
775
- this,
776
- // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
777
- ...args,
778
- );
779
- }
780
-
781
- /**
782
- * Request metadata and asset contexts.
783
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
784
- * @returns Metadata and context for perpetual assets.
785
- *
786
- * @throws {TransportError} When the transport layer throws an error.
787
- *
788
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
789
- * @example
790
- * ```ts
791
- * import * as hl from "@nktkas/hyperliquid";
792
- *
793
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
794
- *
795
- * const client = new hl.InfoClient({ transport });
796
- * const data = await client.metaAndAssetCtxs();
797
- * ```
798
- */
799
- metaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>) {
800
- return metaAndAssetCtxs(
801
- this,
802
- // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
803
- ...args,
804
- );
805
- }
806
-
807
- /**
808
- * Request open orders.
809
- * @param params - Parameters specific to the API request.
810
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
811
- * @returns Array of open orders.
812
- *
813
- * @throws {TransportError} When the transport layer throws an error.
814
- *
815
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders
816
- * @example
817
- * ```ts
818
- * import * as hl from "@nktkas/hyperliquid";
819
- *
820
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
821
- *
822
- * const client = new hl.InfoClient({ transport });
823
- * const data = await client.openOrders({ user: "0x..." });
824
- * ```
825
- */
826
- openOrders(...args: OmitFirst<OverloadedParameters<typeof openOrders>>) {
827
- return openOrders(this, ...args);
828
- }
829
-
830
- /**
831
- * Request order status.
832
- * @param params - Parameters specific to the API request.
833
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
834
- * @returns Order status response.
835
- *
836
- * @throws {TransportError} When the transport layer throws an error.
837
- *
838
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-order-status-by-oid-or-cloid
839
- * @example
840
- * ```ts
841
- * import * as hl from "@nktkas/hyperliquid";
842
- *
843
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
844
- *
845
- * const client = new hl.InfoClient({ transport });
846
- * const data = await client.orderStatus({ user: "0x...", oid: 12345 });
847
- * ```
848
- */
849
- orderStatus(...args: OmitFirst<OverloadedParameters<typeof orderStatus>>) {
850
- return orderStatus(this, ...args);
851
- }
852
-
853
- /**
854
- * Request for the status of the perpetual deploy auction.
855
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
856
- * @returns Status of the perpetual deploy auction.
857
- *
858
- * @throws {TransportError} When the transport layer throws an error.
859
- *
860
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-information-about-the-perp-deploy-auction
861
- * @example
862
- * ```ts
863
- * import * as hl from "@nktkas/hyperliquid";
864
- *
865
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
866
- *
867
- * const client = new hl.InfoClient({ transport });
868
- * const data = await client.perpDeployAuctionStatus();
869
- * ```
870
- */
871
- perpDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>) {
872
- return perpDeployAuctionStatus(this, ...args);
873
- }
874
-
875
- /**
876
- * Request builder deployed perpetual market limits.
877
- * @param params - Parameters specific to the API request.
878
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
879
- * @returns Builder deployed perpetual market limits.
880
- *
881
- * @throws {TransportError} When the transport layer throws an error.
882
- *
883
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-builder-deployed-perp-market-limits
884
- * @example
885
- * ```ts
886
- * import * as hl from "@nktkas/hyperliquid";
887
- *
888
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
889
- *
890
- * const client = new hl.InfoClient({ transport });
891
- * const data = await client.perpDexLimits({ dex: "test" });
892
- * ```
893
- */
894
- perpDexLimits(...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>) {
895
- return perpDexLimits(this, ...args);
896
- }
897
-
898
- /**
899
- * Request all perpetual dexs.
900
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
901
- * @returns Array of perpetual dexes (null is main dex).
902
- *
903
- * @throws {TransportError} When the transport layer throws an error.
904
- *
905
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-all-perpetual-dexs
906
- * @example
907
- * ```ts
908
- * import * as hl from "@nktkas/hyperliquid";
909
- *
910
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
911
- *
912
- * const client = new hl.InfoClient({ transport });
913
- * const data = await client.perpDexs();
914
- * ```
915
- */
916
- perpDexs(...args: OmitFirst<OverloadedParameters<typeof perpDexs>>) {
917
- return perpDexs(this, ...args);
918
- }
919
-
920
- /**
921
- * Request perpetuals at open interest cap.
922
- * @param params - Parameters specific to the API request.
923
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
924
- * @returns Array of perpetuals at open interest caps.
925
- *
926
- * @throws {TransportError} When the transport layer throws an error.
927
- *
928
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#query-perps-at-open-interest-caps
929
- * @example
930
- * ```ts
931
- * import * as hl from "@nktkas/hyperliquid";
932
- *
933
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
934
- *
935
- * const client = new hl.InfoClient({ transport });
936
- * const data = await client.perpsAtOpenInterestCap();
937
- * ```
938
- */
939
- perpsAtOpenInterestCap(...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>) {
940
- return perpsAtOpenInterestCap(
941
- this,
942
- // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
943
- ...args,
944
- );
945
- }
946
-
947
- /**
948
- * Request user portfolio.
949
- * @param params - Parameters specific to the API request.
950
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
951
- * @returns Portfolio metrics grouped by time periods.
952
- *
953
- * @throws {TransportError} When the transport layer throws an error.
954
- *
955
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-portfolio
956
- * @example
957
- * ```ts
958
- * import * as hl from "@nktkas/hyperliquid";
959
- *
960
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
961
- *
962
- * const client = new hl.InfoClient({ transport });
963
- * const data = await client.portfolio({ user: "0x..." });
964
- * ```
965
- */
966
- portfolio(...args: OmitFirst<OverloadedParameters<typeof portfolio>>) {
967
- return portfolio(this, ...args);
968
- }
969
-
970
- /**
971
- * Request predicted funding rates.
972
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
973
- * @returns Array of predicted funding rates.
974
- *
975
- * @throws {TransportError} When the transport layer throws an error.
976
- *
977
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-predicted-funding-rates-for-different-venues
978
- * @example
979
- * ```ts
980
- * import * as hl from "@nktkas/hyperliquid";
981
- *
982
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
983
- *
984
- * const client = new hl.InfoClient({ transport });
985
- * const data = await client.predictedFundings();
986
- * ```
987
- */
988
- predictedFundings(...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>) {
989
- return predictedFundings(this, ...args);
990
- }
991
-
992
- /**
993
- * Request user existence check before transfer.
994
- * @param params - Parameters specific to the API request.
995
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
996
- * @returns Pre-transfer user existence check result.
997
- *
998
- * @throws {TransportError} When the transport layer throws an error.
999
- *
1000
- * @see null
1001
- * @example
1002
- * ```ts
1003
- * import * as hl from "@nktkas/hyperliquid";
1004
- *
1005
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1006
- *
1007
- * const client = new hl.InfoClient({ transport });
1008
- * const data = await client.preTransferCheck({ user: "0x...", source: "0x..." });
1009
- * ```
1010
- */
1011
- preTransferCheck(...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>) {
1012
- return preTransferCheck(this, ...args);
1013
- }
1014
-
1015
- /**
1016
- * Request recent trades.
1017
- * @param params - Parameters specific to the API request.
1018
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1019
- * @returns Array of recent trades.
1020
- *
1021
- * @throws {TransportError} When the transport layer throws an error.
1022
- *
1023
- * @see null
1024
- * @example
1025
- * ```ts
1026
- * import * as hl from "@nktkas/hyperliquid";
1027
- *
1028
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1029
- *
1030
- * const client = new hl.InfoClient({ transport });
1031
- * const data = await client.recentTrades({ coin: "ETH" });
1032
- * ```
1033
- */
1034
- recentTrades(...args: OmitFirst<OverloadedParameters<typeof recentTrades>>) {
1035
- return recentTrades(this, ...args);
1036
- }
1037
-
1038
- /**
1039
- * Request user referral.
1040
- * @param params - Parameters specific to the API request.
1041
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1042
- * @returns Referral details for a user.
1043
- *
1044
- * @throws {TransportError} When the transport layer throws an error.
1045
- *
1046
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-referral-information
1047
- * @example
1048
- * ```ts
1049
- * import * as hl from "@nktkas/hyperliquid";
1050
- *
1051
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1052
- *
1053
- * const client = new hl.InfoClient({ transport });
1054
- * const data = await client.referral({ user: "0x..." });
1055
- * ```
1056
- */
1057
- referral(...args: OmitFirst<OverloadedParameters<typeof referral>>) {
1058
- return referral(this, ...args);
1059
- }
1060
-
1061
- /**
1062
- * Request spot clearinghouse state.
1063
- * @param params - Parameters specific to the API request.
1064
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1065
- * @returns Account summary for spot trading.
1066
- *
1067
- * @throws {TransportError} When the transport layer throws an error.
1068
- *
1069
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-a-users-token-balances
1070
- * @example
1071
- * ```ts
1072
- * import * as hl from "@nktkas/hyperliquid";
1073
- *
1074
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1075
- *
1076
- * const client = new hl.InfoClient({ transport });
1077
- * const data = await client.spotClearinghouseState({ user: "0x..." });
1078
- * ```
1079
- */
1080
- spotClearinghouseState(...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>) {
1081
- return spotClearinghouseState(this, ...args);
1082
- }
1083
-
1084
- /**
1085
- * Request spot deploy state.
1086
- * @param params - Parameters specific to the API request.
1087
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1088
- * @returns Deploy state for spot tokens.
1089
- *
1090
- * @throws {TransportError} When the transport layer throws an error.
1091
- *
1092
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-the-spot-deploy-auction
1093
- * @example
1094
- * ```ts
1095
- * import * as hl from "@nktkas/hyperliquid";
1096
- *
1097
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1098
- *
1099
- * const client = new hl.InfoClient({ transport });
1100
- * const data = await client.spotDeployState({ user: "0x..." });
1101
- * ```
1102
- */
1103
- spotDeployState(...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>) {
1104
- return spotDeployState(this, ...args);
1105
- }
1106
-
1107
- /**
1108
- * Request spot trading metadata.
1109
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1110
- * @returns Metadata for spot assets.
1111
- *
1112
- * @throws {TransportError} When the transport layer throws an error.
1113
- *
1114
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-metadata
1115
- * @example
1116
- * ```ts
1117
- * import * as hl from "@nktkas/hyperliquid";
1118
- *
1119
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1120
- *
1121
- * const client = new hl.InfoClient({ transport });
1122
- * const data = await client.spotMeta();
1123
- * ```
1124
- */
1125
- spotMeta(...args: OmitFirst<OverloadedParameters<typeof spotMeta>>) {
1126
- return spotMeta(this, ...args);
1127
- }
1128
-
1129
- /**
1130
- * Request spot metadata and asset contexts.
1131
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1132
- * @returns Metadata and context for spot assets.
1133
- *
1134
- * @throws {TransportError} When the transport layer throws an error.
1135
- *
1136
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
1137
- * @example
1138
- * ```ts
1139
- * import * as hl from "@nktkas/hyperliquid";
1140
- *
1141
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1142
- *
1143
- * const client = new hl.InfoClient({ transport });
1144
- * const data = await client.spotMetaAndAssetCtxs();
1145
- * ```
1146
- */
1147
- spotMetaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>) {
1148
- return spotMetaAndAssetCtxs(this, ...args);
1149
- }
1150
-
1151
- /**
1152
- * Request for the status of the spot deploy auction.
1153
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1154
- * @returns Status of the spot deploy auction.
1155
- *
1156
- * @throws {TransportError} When the transport layer throws an error.
1157
- *
1158
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-the-spot-pair-deploy-auction
1159
- * @example
1160
- * ```ts
1161
- * import * as hl from "@nktkas/hyperliquid";
1162
- *
1163
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1164
- *
1165
- * const client = new hl.InfoClient({ transport });
1166
- * const data = await client.spotPairDeployAuctionStatus();
1167
- * ```
1168
- */
1169
- spotPairDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>) {
1170
- return spotPairDeployAuctionStatus(this, ...args);
1171
- }
1172
-
1173
- /**
1174
- * Request user sub-accounts.
1175
- * @param params - Parameters specific to the API request.
1176
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1177
- * @returns Array of user sub-account or null if the user does not have any sub-accounts.
1178
- *
1179
- * @throws {TransportError} When the transport layer throws an error.
1180
- *
1181
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-subaccounts
1182
- * @example
1183
- * ```ts
1184
- * import * as hl from "@nktkas/hyperliquid";
1185
- *
1186
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1187
- *
1188
- * const client = new hl.InfoClient({ transport });
1189
- * const data = await client.subAccounts({ user: "0x..." });
1190
- * ```
1191
- */
1192
- subAccounts(...args: OmitFirst<OverloadedParameters<typeof subAccounts>>) {
1193
- return subAccounts(this, ...args);
1194
- }
1195
-
1196
- /**
1197
- * Request user sub-accounts V2.
1198
- * @param params - Parameters specific to the API request.
1199
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1200
- * @returns Array of user sub-account or null if the user does not have any sub-accounts.
1201
- *
1202
- * @throws {TransportError} When the transport layer throws an error.
1203
- *
1204
- * @see null
1205
- * @example
1206
- * ```ts
1207
- * import * as hl from "@nktkas/hyperliquid";
1208
- *
1209
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1210
- *
1211
- * const client = new hl.InfoClient({ transport });
1212
- * const data = await client.subAccounts2({ user: "0x..." });
1213
- * ```
1214
- */
1215
- subAccounts2(...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>) {
1216
- return subAccounts2(this, ...args);
1217
- }
1218
-
1219
- /**
1220
- * Request token details.
1221
- * @param params - Parameters specific to the API request.
1222
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1223
- * @returns Details of a token.
1224
- *
1225
- * @throws {TransportError} When the transport layer throws an error.
1226
- *
1227
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-a-token
1228
- * @example
1229
- * ```ts
1230
- * import * as hl from "@nktkas/hyperliquid";
1231
- *
1232
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1233
- *
1234
- * const client = new hl.InfoClient({ transport });
1235
- * const data = await client.tokenDetails({ tokenId: "0x..." });
1236
- * ```
1237
- */
1238
- tokenDetails(...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>) {
1239
- return tokenDetails(this, ...args);
1240
- }
1241
-
1242
- /**
1243
- * Request twap history of a user.
1244
- * @param params - Parameters specific to the API request.
1245
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1246
- * @returns Array of user's TWAP history.
1247
- *
1248
- * @throws {TransportError} When the transport layer throws an error.
1249
- *
1250
- * @see null
1251
- * @example
1252
- * ```ts
1253
- * import * as hl from "@nktkas/hyperliquid";
1254
- *
1255
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1256
- *
1257
- * const client = new hl.InfoClient({ transport });
1258
- * const data = await client.twapHistory({ user: "0x..." });
1259
- * ```
1260
- */
1261
- twapHistory(...args: OmitFirst<OverloadedParameters<typeof twapHistory>>) {
1262
- return twapHistory(this, ...args);
1263
- }
1264
-
1265
- /**
1266
- * Request transaction details by transaction hash.
1267
- * @param params - Parameters specific to the API request.
1268
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1269
- * @returns Transaction details.
1270
- *
1271
- * @throws {TransportError} When the transport layer throws an error.
1272
- *
1273
- * @see null
1274
- * @example
1275
- * ```ts
1276
- * import * as hl from "@nktkas/hyperliquid";
1277
- *
1278
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1279
- *
1280
- * const client = new hl.InfoClient({ transport });
1281
- * const data = await client.txDetails({ hash: "0x..." });
1282
- * ```
1283
- */
1284
- txDetails(
1285
- this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
1286
- ...args: OmitFirst<OverloadedParameters<typeof txDetails>>
1287
- ) {
1288
- return txDetails(this, ...args);
1289
- }
1290
-
1291
- /**
1292
- * Request array of user transaction details.
1293
- * @param params - Parameters specific to the API request.
1294
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1295
- * @returns Array of user transaction details.
1296
- *
1297
- * @throws {TransportError} When the transport layer throws an error.
1298
- *
1299
- * @see null
1300
- * @example
1301
- * ```ts
1302
- * import * as hl from "@nktkas/hyperliquid";
1303
- *
1304
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1305
- *
1306
- * const client = new hl.InfoClient({ transport });
1307
- * const data = await client.userDetails({ user: "0x..." });
1308
- * ```
1309
- */
1310
- userDetails(
1311
- this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
1312
- ...args: OmitFirst<OverloadedParameters<typeof userDetails>>
1313
- ) {
1314
- return userDetails(this, ...args);
1315
- }
1316
-
1317
- /**
1318
- * Request user HIP-3 DEX abstraction state.
1319
- * @param params - Parameters specific to the API request.
1320
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1321
- * @returns User HIP-3 DEX abstraction state.
1322
- *
1323
- * @throws {TransportError} When the transport layer throws an error.
1324
- *
1325
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-hip-3-dex-abstraction-state
1326
- * @example
1327
- * ```ts
1328
- * import * as hl from "@nktkas/hyperliquid";
1329
- *
1330
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1331
- *
1332
- * const client = new hl.InfoClient({ transport });
1333
- * const data = await client.userDexAbstraction({ user: "0x..." });
1334
- * ```
1335
- */
1336
- userDexAbstraction(...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>) {
1337
- return userDexAbstraction(this, ...args);
1338
- }
1339
-
1340
- /**
1341
- * Request user fees.
1342
- * @param params - Parameters specific to the API request.
1343
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1344
- * @returns User fees.
1345
- *
1346
- * @throws {TransportError} When the transport layer throws an error.
1347
- *
1348
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-fees
1349
- * @example
1350
- * ```ts
1351
- * import * as hl from "@nktkas/hyperliquid";
1352
- *
1353
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1354
- *
1355
- * const client = new hl.InfoClient({ transport });
1356
- * const data = await client.userFees({ user: "0x..." });
1357
- * ```
1358
- */
1359
- userFees(...args: OmitFirst<OverloadedParameters<typeof userFees>>) {
1360
- return userFees(this, ...args);
1361
- }
1362
-
1363
- /**
1364
- * Request array of user fills.
1365
- * @param params - Parameters specific to the API request.
1366
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1367
- * @returns Array of user trade fills.
1368
- *
1369
- * @throws {TransportError} When the transport layer throws an error.
1370
- *
1371
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
1372
- * @example
1373
- * ```ts
1374
- * import * as hl from "@nktkas/hyperliquid";
1375
- *
1376
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1377
- *
1378
- * const client = new hl.InfoClient({ transport });
1379
- * const data = await client.userFills({ user: "0x..." });
1380
- * ```
1381
- */
1382
- userFills(...args: OmitFirst<OverloadedParameters<typeof userFills>>) {
1383
- return userFills(this, ...args);
1384
- }
1385
-
1386
- /**
1387
- * Request array of user fills by time.
1388
- * @param params - Parameters specific to the API request.
1389
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1390
- * @returns Array of user trade fills by time.
1391
- *
1392
- * @throws {TransportError} When the transport layer throws an error.
1393
- *
1394
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
1395
- * @example
1396
- * ```ts
1397
- * import * as hl from "@nktkas/hyperliquid";
1398
- *
1399
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1400
- *
1401
- * const client = new hl.InfoClient({ transport });
1402
- * const data = await client.userFillsByTime({
1403
- * user: "0x...",
1404
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
1405
- * });
1406
- * ```
1407
- */
1408
- userFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>) {
1409
- return userFillsByTime(this, ...args);
1410
- }
1411
-
1412
- /**
1413
- * Request array of user funding ledger updates.
1414
- * @param params - Parameters specific to the API request.
1415
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1416
- * @returns Array of user funding ledger updates.
1417
- *
1418
- * @throws {TransportError} When the transport layer throws an error.
1419
- *
1420
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
1421
- * @example
1422
- * ```ts
1423
- * import * as hl from "@nktkas/hyperliquid";
1424
- *
1425
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1426
- *
1427
- * const client = new hl.InfoClient({ transport });
1428
- * const data = await client.userFunding({
1429
- * user: "0x...",
1430
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
1431
- * });
1432
- * ```
1433
- */
1434
- userFunding(...args: OmitFirst<OverloadedParameters<typeof userFunding>>) {
1435
- return userFunding(this, ...args);
1436
- }
1437
-
1438
- /**
1439
- * Request user non-funding ledger updates.
1440
- * @param params - Parameters specific to the API request.
1441
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1442
- * @returns Array of user's non-funding ledger update.
1443
- *
1444
- * @throws {TransportError} When the transport layer throws an error.
1445
- *
1446
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
1447
- * @example
1448
- * ```ts
1449
- * import * as hl from "@nktkas/hyperliquid";
1450
- *
1451
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1452
- *
1453
- * const client = new hl.InfoClient({ transport });
1454
- * const data = await client.userNonFundingLedgerUpdates({
1455
- * user: "0x...",
1456
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
1457
- * });
1458
- * ```
1459
- */
1460
- userNonFundingLedgerUpdates(...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>) {
1461
- return userNonFundingLedgerUpdates(this, ...args);
1462
- }
1463
-
1464
- /**
1465
- * Request user rate limits.
1466
- * @param params - Parameters specific to the API request.
1467
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1468
- * @returns User rate limits.
1469
- *
1470
- * @throws {TransportError} When the transport layer throws an error.
1471
- *
1472
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-user-rate-limits
1473
- * @example
1474
- * ```ts
1475
- * import * as hl from "@nktkas/hyperliquid";
1476
- *
1477
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1478
- *
1479
- * const client = new hl.InfoClient({ transport });
1480
- * const data = await client.userRateLimit({ user: "0x..." });
1481
- * ```
1482
- */
1483
- userRateLimit(...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>) {
1484
- return userRateLimit(this, ...args);
1485
- }
1486
-
1487
- /**
1488
- * Request user role.
1489
- * @param params - Parameters specific to the API request.
1490
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1491
- * @returns User role.
1492
- *
1493
- * @throws {TransportError} When the transport layer throws an error.
1494
- *
1495
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-role
1496
- * @example
1497
- * ```ts
1498
- * import * as hl from "@nktkas/hyperliquid";
1499
- *
1500
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1501
- *
1502
- * const client = new hl.InfoClient({ transport });
1503
- * const data = await client.userRole({ user: "0x..." });
1504
- * ```
1505
- */
1506
- userRole(...args: OmitFirst<OverloadedParameters<typeof userRole>>) {
1507
- return userRole(this, ...args);
1508
- }
1509
-
1510
- /**
1511
- * Request multi-sig signers for a user.
1512
- * @param params - Parameters specific to the API request.
1513
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1514
- * @returns Multi-sig signers for a user or null if the user does not have any multi-sig signers.
1515
- *
1516
- * @throws {TransportError} When the transport layer throws an error.
1517
- *
1518
- * @see null
1519
- * @example
1520
- * ```ts
1521
- * import * as hl from "@nktkas/hyperliquid";
1522
- *
1523
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1524
- *
1525
- * const client = new hl.InfoClient({ transport });
1526
- * const data = await client.userToMultiSigSigners({ user: "0x..." });
1527
- * ```
1528
- */
1529
- userToMultiSigSigners(...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>) {
1530
- return userToMultiSigSigners(this, ...args);
1531
- }
1532
-
1533
- /**
1534
- * Request user TWAP slice fills.
1535
- * @param params - Parameters specific to the API request.
1536
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1537
- * @returns Array of user's twap slice fill.
1538
- *
1539
- * @throws {TransportError} When the transport layer throws an error.
1540
- *
1541
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-twap-slice-fills
1542
- * @example
1543
- * ```ts
1544
- * import * as hl from "@nktkas/hyperliquid";
1545
- *
1546
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1547
- *
1548
- * const client = new hl.InfoClient({ transport });
1549
- * const data = await client.userTwapSliceFills({ user: "0x..." });
1550
- * ```
1551
- */
1552
- userTwapSliceFills(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>) {
1553
- return userTwapSliceFills(this, ...args);
1554
- }
1555
-
1556
- /**
1557
- * Request user TWAP slice fills by time.
1558
- * @param params - Parameters specific to the API request.
1559
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1560
- * @returns Array of user's twap slice fill by time.
1561
- *
1562
- * @throws {TransportError} When the transport layer throws an error.
1563
- *
1564
- * @see null
1565
- * @example
1566
- * ```ts
1567
- * import * as hl from "@nktkas/hyperliquid";
1568
- *
1569
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1570
- *
1571
- * const client = new hl.InfoClient({ transport });
1572
- * const data = await client.userTwapSliceFillsByTime({
1573
- * user: "0x...",
1574
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
1575
- * });
1576
- * ```
1577
- */
1578
- userTwapSliceFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>) {
1579
- return userTwapSliceFillsByTime(this, ...args);
1580
- }
1581
-
1582
- /**
1583
- * Request user vault deposits.
1584
- * @param params - Parameters specific to the API request.
1585
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1586
- * @returns Array of user's vault deposits.
1587
- *
1588
- * @throws {TransportError} When the transport layer throws an error.
1589
- *
1590
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-vault-deposits
1591
- * @example
1592
- * ```ts
1593
- * import * as hl from "@nktkas/hyperliquid";
1594
- *
1595
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1596
- *
1597
- * const client = new hl.InfoClient({ transport });
1598
- * const data = await client.userVaultEquities({ user: "0x..." });
1599
- * ```
1600
- */
1601
- userVaultEquities(...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>) {
1602
- return userVaultEquities(this, ...args);
1603
- }
1604
-
1605
- /**
1606
- * Request validator L1 votes.
1607
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1608
- * @returns Array of L1 governance votes cast by validators.
1609
- *
1610
- * @throws {TransportError} When the transport layer throws an error.
1611
- *
1612
- * @see null
1613
- * @example
1614
- * ```ts
1615
- * import * as hl from "@nktkas/hyperliquid";
1616
- *
1617
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1618
- *
1619
- * const client = new hl.InfoClient({ transport });
1620
- * const data = await client.validatorL1Votes();
1621
- * ```
1622
- */
1623
- validatorL1Votes(...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>) {
1624
- return validatorL1Votes(this, ...args);
1625
- }
1626
-
1627
- /**
1628
- * Request validator summaries.
1629
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1630
- * @returns Array of validator performance statistics.
1631
- *
1632
- * @throws {TransportError} When the transport layer throws an error.
1633
- *
1634
- * @see null
1635
- * @example
1636
- * ```ts
1637
- * import * as hl from "@nktkas/hyperliquid";
1638
- *
1639
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1640
- *
1641
- * const client = new hl.InfoClient({ transport });
1642
- * const data = await client.validatorSummaries();
1643
- * ```
1644
- */
1645
- validatorSummaries(...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>) {
1646
- return validatorSummaries(this, ...args);
1647
- }
1648
-
1649
- /**
1650
- * Request details of a vault.
1651
- * @param params - Parameters specific to the API request.
1652
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1653
- * @returns Details of a vault or null if the vault does not exist.
1654
- *
1655
- * @throws {TransportError} When the transport layer throws an error.
1656
- *
1657
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-details-for-a-vault
1658
- * @example
1659
- * ```ts
1660
- * import * as hl from "@nktkas/hyperliquid";
1661
- *
1662
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1663
- *
1664
- * const client = new hl.InfoClient({ transport });
1665
- * const data = await client.vaultDetails({ vaultAddress: "0x..." });
1666
- * ```
1667
- */
1668
- vaultDetails(...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>) {
1669
- return vaultDetails(this, ...args);
1670
- }
1671
-
1672
- /**
1673
- * Request a list of vaults less than 2 hours old.
1674
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1675
- * @returns Array of vaults less than 2 hours old.
1676
- *
1677
- * @throws {TransportError} When the transport layer throws an error.
1678
- *
1679
- * @see null
1680
- * @example
1681
- * ```ts
1682
- * import * as hl from "@nktkas/hyperliquid";
1683
- *
1684
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1685
- *
1686
- * const client = new hl.InfoClient({ transport });
1687
- * const data = await client.vaultSummaries();
1688
- * ```
1689
- */
1690
- vaultSummaries(...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>) {
1691
- return vaultSummaries(this, ...args);
1692
- }
1693
-
1694
- /**
1695
- * Request comprehensive user and market data.
1696
- * @param params - Parameters specific to the API request.
1697
- * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
1698
- * @returns Comprehensive user and market data.
1699
- *
1700
- * @throws {TransportError} When the transport layer throws an error.
1701
- *
1702
- * @see null
1703
- * @example
1704
- * ```ts
1705
- * import * as hl from "@nktkas/hyperliquid";
1706
- *
1707
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1708
- *
1709
- * const client = new hl.InfoClient({ transport });
1710
- * const data = await client.webData2({ user: "0x..." });
1711
- * ```
1712
- */
1713
- webData2(...args: OmitFirst<OverloadedParameters<typeof webData2>>) {
1714
- return webData2(this, ...args);
1715
- }
1716
- }