@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,2697 +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
- import { activeAssetData } from "./activeAssetData.ts";
5
- import { alignedQuoteTokenInfo } from "./alignedQuoteTokenInfo.ts";
6
- import { allMids } from "./allMids.ts";
7
- import { blockDetails } from "./blockDetails.ts";
8
- import { candleSnapshot } from "./candleSnapshot.ts";
9
- import { clearinghouseState } from "./clearinghouseState.ts";
10
- import { delegations } from "./delegations.ts";
11
- import { delegatorHistory } from "./delegatorHistory.ts";
12
- import { delegatorRewards } from "./delegatorRewards.ts";
13
- import { delegatorSummary } from "./delegatorSummary.ts";
14
- import { exchangeStatus } from "./exchangeStatus.ts";
15
- import { extraAgents } from "./extraAgents.ts";
16
- import { frontendOpenOrders } from "./frontendOpenOrders.ts";
17
- import { fundingHistory } from "./fundingHistory.ts";
18
- import { gossipRootIps } from "./gossipRootIps.ts";
19
- import { historicalOrders } from "./historicalOrders.ts";
20
- import { isVip } from "./isVip.ts";
21
- import { l2Book } from "./l2Book.ts";
22
- import { leadingVaults } from "./leadingVaults.ts";
23
- import { legalCheck } from "./legalCheck.ts";
24
- import { liquidatable } from "./liquidatable.ts";
25
- import { marginTable } from "./marginTable.ts";
26
- import { maxBuilderFee } from "./maxBuilderFee.ts";
27
- import { maxMarketOrderNtls } from "./maxMarketOrderNtls.ts";
28
- import { meta } from "./meta.ts";
29
- import { metaAndAssetCtxs } from "./metaAndAssetCtxs.ts";
30
- import { openOrders } from "./openOrders.ts";
31
- import { orderStatus } from "./orderStatus.ts";
32
- import { perpDeployAuctionStatus } from "./perpDeployAuctionStatus.ts";
33
- import { perpDexLimits } from "./perpDexLimits.ts";
34
- import { perpDexs } from "./perpDexs.ts";
35
- import { perpsAtOpenInterestCap } from "./perpsAtOpenInterestCap.ts";
36
- import { portfolio } from "./portfolio.ts";
37
- import { predictedFundings } from "./predictedFundings.ts";
38
- import { preTransferCheck } from "./preTransferCheck.ts";
39
- import { recentTrades } from "./recentTrades.ts";
40
- import { referral } from "./referral.ts";
41
- import { spotClearinghouseState } from "./spotClearinghouseState.ts";
42
- import { spotDeployState } from "./spotDeployState.ts";
43
- import { spotMeta } from "./spotMeta.ts";
44
- import { spotMetaAndAssetCtxs } from "./spotMetaAndAssetCtxs.ts";
45
- import { spotPairDeployAuctionStatus } from "./spotPairDeployAuctionStatus.ts";
46
- import { subAccounts } from "./subAccounts.ts";
47
- import { subAccounts2 } from "./subAccounts2.ts";
48
- import { tokenDetails } from "./tokenDetails.ts";
49
- import { twapHistory } from "./twapHistory.ts";
50
- import { txDetails } from "./txDetails.ts";
51
- import { userDetails } from "./userDetails.ts";
52
- import { userDexAbstraction } from "./userDexAbstraction.ts";
53
- import { userFees } from "./userFees.ts";
54
- import { userFills } from "./userFills.ts";
55
- import { userFillsByTime } from "./userFillsByTime.ts";
56
- import { userFunding } from "./userFunding.ts";
57
- import { userNonFundingLedgerUpdates } from "./userNonFundingLedgerUpdates.ts";
58
- import { userRateLimit } from "./userRateLimit.ts";
59
- import { userRole } from "./userRole.ts";
60
- import { userToMultiSigSigners } from "./userToMultiSigSigners.ts";
61
- import { userTwapSliceFills } from "./userTwapSliceFills.ts";
62
- import { userTwapSliceFillsByTime } from "./userTwapSliceFillsByTime.ts";
63
- import { userVaultEquities } from "./userVaultEquities.ts";
64
- import { validatorL1Votes } from "./validatorL1Votes.ts";
65
- import { validatorSummaries } from "./validatorSummaries.ts";
66
- import { vaultDetails } from "./vaultDetails.ts";
67
- import { vaultSummaries } from "./vaultSummaries.ts";
68
- import { webData2 } from "./webData2.ts";
69
- export type { ActiveAssetDataParameters, ActiveAssetDataResponse } from "./activeAssetData.ts";
70
- export type { AlignedQuoteTokenInfoParameters, AlignedQuoteTokenInfoResponse } from "./alignedQuoteTokenInfo.ts";
71
- export type { AllMidsParameters, AllMidsResponse } from "./allMids.ts";
72
- export type { AllPerpMetasParameters, AllPerpMetasResponse } from "./allPerpMetas.ts";
73
- export type { BlockDetailsParameters, BlockDetailsResponse } from "./blockDetails.ts";
74
- export type { CandleSnapshotParameters, CandleSnapshotResponse } from "./candleSnapshot.ts";
75
- export type { ClearinghouseStateParameters, ClearinghouseStateResponse } from "./clearinghouseState.ts";
76
- export type { DelegationsParameters, DelegationsResponse } from "./delegations.ts";
77
- export type { DelegatorHistoryParameters, DelegatorHistoryResponse } from "./delegatorHistory.ts";
78
- export type { DelegatorRewardsParameters, DelegatorRewardsResponse } from "./delegatorRewards.ts";
79
- export type { DelegatorSummaryParameters, DelegatorSummaryResponse } from "./delegatorSummary.ts";
80
- export type { ExchangeStatusResponse } from "./exchangeStatus.ts";
81
- export type { ExtraAgentsParameters, ExtraAgentsResponse } from "./extraAgents.ts";
82
- export type { FrontendOpenOrdersParameters, FrontendOpenOrdersResponse } from "./frontendOpenOrders.ts";
83
- export type { FundingHistoryParameters, FundingHistoryResponse } from "./fundingHistory.ts";
84
- export type { GossipRootIpsResponse } from "./gossipRootIps.ts";
85
- export type { HistoricalOrdersParameters, HistoricalOrdersResponse } from "./historicalOrders.ts";
86
- export type { IsVipParameters, IsVipResponse } from "./isVip.ts";
87
- export type { L2BookParameters, L2BookResponse } from "./l2Book.ts";
88
- export type { LeadingVaultsParameters, LeadingVaultsResponse } from "./leadingVaults.ts";
89
- export type { LegalCheckParameters, LegalCheckResponse } from "./legalCheck.ts";
90
- export type { LiquidatableResponse } from "./liquidatable.ts";
91
- export type { MarginTableParameters, MarginTableResponse } from "./marginTable.ts";
92
- export type { MaxBuilderFeeParameters, MaxBuilderFeeResponse } from "./maxBuilderFee.ts";
93
- export type { MaxMarketOrderNtlsParameters, MaxMarketOrderNtlsResponse } from "./maxMarketOrderNtls.ts";
94
- export type { MetaParameters, MetaResponse } from "./meta.ts";
95
- export type { MetaAndAssetCtxsParameters, MetaAndAssetCtxsResponse } from "./metaAndAssetCtxs.ts";
96
- export type { OpenOrdersParameters, OpenOrdersResponse } from "./openOrders.ts";
97
- export type { OrderStatusParameters, OrderStatusResponse } from "./orderStatus.ts";
98
- export type { PerpDeployAuctionStatusResponse } from "./perpDeployAuctionStatus.ts";
99
- export type { PerpDexLimitsParameters, PerpDexLimitsResponse } from "./perpDexLimits.ts";
100
- export type { PerpDexsResponse } from "./perpDexs.ts";
101
- export type { PerpsAtOpenInterestCapParameters, PerpsAtOpenInterestCapResponse } from "./perpsAtOpenInterestCap.ts";
102
- export type { PortfolioParameters, PortfolioResponse } from "./portfolio.ts";
103
- export type { PredictedFundingsResponse } from "./predictedFundings.ts";
104
- export type { PreTransferCheckParameters, PreTransferCheckResponse } from "./preTransferCheck.ts";
105
- export type { RecentTradesParameters, RecentTradesResponse } from "./recentTrades.ts";
106
- export type { ReferralParameters, ReferralResponse } from "./referral.ts";
107
- export type { SpotClearinghouseStateParameters, SpotClearinghouseStateResponse } from "./spotClearinghouseState.ts";
108
- export type { SpotDeployStateParameters, SpotDeployStateResponse } from "./spotDeployState.ts";
109
- export type { SpotMetaResponse } from "./spotMeta.ts";
110
- export type { SpotMetaAndAssetCtxsResponse } from "./spotMetaAndAssetCtxs.ts";
111
- export type { SpotPairDeployAuctionStatusResponse } from "./spotPairDeployAuctionStatus.ts";
112
- export type { SubAccountsParameters, SubAccountsResponse } from "./subAccounts.ts";
113
- export type { SubAccounts2Parameters, SubAccounts2Response } from "./subAccounts2.ts";
114
- export type { TokenDetailsParameters, TokenDetailsResponse } from "./tokenDetails.ts";
115
- export type { TwapHistoryParameters, TwapHistoryResponse } from "./twapHistory.ts";
116
- export type { TxDetailsParameters, TxDetailsResponse } from "./txDetails.ts";
117
- export type { UserDetailsParameters, UserDetailsResponse } from "./userDetails.ts";
118
- export type { UserDexAbstractionInfoParameters, UserDexAbstractionInfoResponse } from "./userDexAbstraction.ts";
119
- export type { UserFeesParameters, UserFeesResponse } from "./userFees.ts";
120
- export type { UserFillsParameters, UserFillsResponse } from "./userFills.ts";
121
- export type { UserFillsByTimeParameters, UserFillsByTimeResponse } from "./userFillsByTime.ts";
122
- export type { UserFundingParameters, UserFundingResponse } from "./userFunding.ts";
123
- export type { UserNonFundingLedgerUpdatesParameters, UserNonFundingLedgerUpdatesResponse, } from "./userNonFundingLedgerUpdates.ts";
124
- export type { UserRateLimitParameters, UserRateLimitResponse } from "./userRateLimit.ts";
125
- export type { UserRoleParameters, UserRoleResponse } from "./userRole.ts";
126
- export type { UserToMultiSigSignersParameters, UserToMultiSigSignersResponse } from "./userToMultiSigSigners.ts";
127
- export type { UserTwapSliceFillsParameters, UserTwapSliceFillsResponse } from "./userTwapSliceFills.ts";
128
- export type { UserTwapSliceFillsByTimeParameters, UserTwapSliceFillsByTimeResponse, } from "./userTwapSliceFillsByTime.ts";
129
- export type { UserVaultEquitiesParameters, UserVaultEquitiesResponse } from "./userVaultEquities.ts";
130
- export type { ValidatorL1VotesResponse } from "./validatorL1Votes.ts";
131
- export type { ValidatorSummariesResponse } from "./validatorSummaries.ts";
132
- export type { VaultDetailsParameters, VaultDetailsResponse } from "./vaultDetails.ts";
133
- export type { VaultSummariesResponse } from "./vaultSummaries.ts";
134
- export type { WebData2Parameters, WebData2Response } from "./webData2.ts";
135
- export type { InfoRequestConfig } from "./_types.ts";
136
- /**
137
- * A client for interacting with the Hyperliquid Info API.
138
- * @typeParam T - The transport (extends {@linkcode IRequestTransport}) used to connect to the Hyperliquid API.
139
- */
140
- export declare class InfoClient<T extends IRequestTransport = IRequestTransport> implements InfoRequestConfig<T> {
141
- transport: T;
142
- /**
143
- * Initialises a new instance.
144
- * @param args - The arguments for initialisation.
145
- *
146
- * @example
147
- * ```ts
148
- * import * as hl from "@nktkas/hyperliquid";
149
- *
150
- * const transport = new hl.HttpTransport();
151
- * const infoClient = new hl.InfoClient({ transport });
152
- * ```
153
- */
154
- constructor(args: InfoRequestConfig<T>);
155
- /**
156
- * Request user active asset data.
157
- * @param params - Parameters specific to the API request.
158
- * @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).
159
- * @returns User active asset data.
160
- *
161
- * @throws {TransportError} When the transport layer throws an error.
162
- *
163
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-active-asset-data
164
- * @example
165
- * ```ts
166
- * import * as hl from "@nktkas/hyperliquid";
167
- *
168
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
169
- *
170
- * const client = new hl.InfoClient({ transport });
171
- * const data = await client.activeAssetData({ user: "0x...", coin: "ETH" });
172
- * ```
173
- */
174
- activeAssetData(...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>): Promise<{
175
- user: `0x${string}`;
176
- coin: string;
177
- leverage: {
178
- type: "isolated";
179
- value: number;
180
- rawUsd: string;
181
- } | {
182
- type: "cross";
183
- value: number;
184
- };
185
- maxTradeSzs: [string, string];
186
- availableToTrade: [string, string];
187
- markPx: string;
188
- }>;
189
- /**
190
- * Request supply, rate, and pending payment information for an aligned quote token.
191
- * @param params - Parameters specific to the API request.
192
- * @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).
193
- * @returns Supply, rate, and pending payment information for an aligned quote token.
194
- *
195
- * @throws {TransportError} When the transport layer throws an error.
196
- *
197
- * @see null
198
- * @example
199
- * ```ts
200
- * import * as hl from "@nktkas/hyperliquid";
201
- *
202
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
203
- *
204
- * const client = new hl.InfoClient({ transport });
205
- * const data = await client.alignedQuoteTokenInfo({ token: 1328 });
206
- * ```
207
- */
208
- alignedQuoteTokenInfo(...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>): Promise<{
209
- isAligned: boolean;
210
- firstAlignedTime: number;
211
- evmMintedSupply: string;
212
- dailyAmountOwed: [string, string][];
213
- predictedRate: string;
214
- }>;
215
- /**
216
- * Request mid coin prices.
217
- * @param params - Parameters specific to the API request.
218
- * @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).
219
- * @returns Mapping of coin symbols to mid prices.
220
- *
221
- * @throws {TransportError} When the transport layer throws an error.
222
- *
223
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-mids-for-all-coins
224
- * @example
225
- * ```ts
226
- * import * as hl from "@nktkas/hyperliquid";
227
- *
228
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
229
- *
230
- * const client = new hl.InfoClient({ transport });
231
- * const data = await client.allMids();
232
- * ```
233
- */
234
- allMids(...args: OmitFirst<OverloadedParameters<typeof allMids>>): Promise<{
235
- [x: string]: string;
236
- }>;
237
- /**
238
- * Request trading metadata for all DEXes.
239
- * @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).
240
- * @returns Metadata for perpetual assets across all DEXes.
241
- *
242
- * @throws {TransportError} When the transport layer throws an error.
243
- *
244
- * @see null
245
- * @example
246
- * ```ts
247
- * import * as hl from "@nktkas/hyperliquid";
248
- *
249
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
250
- *
251
- * const client = new hl.InfoClient({ transport });
252
- * const data = await client.allPerpMetas();
253
- * ```
254
- */
255
- allPerpMetas(): Promise<{
256
- universe: {
257
- szDecimals: number;
258
- name: string;
259
- maxLeverage: number;
260
- marginTableId: number;
261
- onlyIsolated?: true | undefined;
262
- isDelisted?: true | undefined;
263
- marginMode?: "strictIsolated" | "noCross" | undefined;
264
- }[];
265
- marginTables: [number, {
266
- description: string;
267
- marginTiers: {
268
- lowerBound: string;
269
- maxLeverage: number;
270
- }[];
271
- }][];
272
- collateralToken: number;
273
- }[]>;
274
- /**
275
- * Request block details by block height.
276
- * @param params - Parameters specific to the API request.
277
- * @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).
278
- * @returns Response containing block information.
279
- *
280
- * @throws {TransportError} When the transport layer throws an error.
281
- *
282
- * @see null
283
- * @example
284
- * ```ts
285
- * import * as hl from "@nktkas/hyperliquid";
286
- *
287
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
288
- *
289
- * const client = new hl.InfoClient({ transport });
290
- * const data = await client.blockDetails({ height: 123 });
291
- * ```
292
- */
293
- blockDetails(this: T extends {
294
- request(endpoint: "explorer", ...args: unknown[]): unknown;
295
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof blockDetails>>): Promise<{
296
- type: "blockDetails";
297
- blockDetails: {
298
- blockTime: number;
299
- hash: `0x${string}`;
300
- height: number;
301
- numTxs: number;
302
- proposer: `0x${string}`;
303
- txs: {
304
- action: {
305
- type: string;
306
- } & {
307
- [key: string]: unknown;
308
- };
309
- block: number;
310
- error: string | null;
311
- hash: `0x${string}`;
312
- time: number;
313
- user: `0x${string}`;
314
- }[];
315
- };
316
- }>;
317
- /**
318
- * Request candlestick snapshots.
319
- * @param params - Parameters specific to the API request.
320
- * @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).
321
- * @returns Array of candlestick data points.
322
- *
323
- * @throws {TransportError} When the transport layer throws an error.
324
- *
325
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#candle-snapshot
326
- * @example
327
- * ```ts
328
- * import * as hl from "@nktkas/hyperliquid";
329
- *
330
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
331
- *
332
- * const client = new hl.InfoClient({ transport });
333
- * const data = await client.candleSnapshot({
334
- * coin: "ETH",
335
- * interval: "1h",
336
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
337
- * });
338
- * ```
339
- */
340
- candleSnapshot(...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>): Promise<{
341
- t: number;
342
- T: number;
343
- s: string;
344
- i: "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1M";
345
- o: string;
346
- c: string;
347
- h: string;
348
- l: string;
349
- v: string;
350
- n: number;
351
- }[]>;
352
- /**
353
- * Request clearinghouse state.
354
- * @param params - Parameters specific to the API request.
355
- * @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).
356
- * @returns Account summary for perpetual trading.
357
- *
358
- * @throws {TransportError} When the transport layer throws an error.
359
- *
360
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
361
- * @example
362
- * ```ts
363
- * import * as hl from "@nktkas/hyperliquid";
364
- *
365
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
366
- *
367
- * const client = new hl.InfoClient({ transport });
368
- * const data = await client.clearinghouseState({ user: "0x..." });
369
- * ```
370
- */
371
- clearinghouseState(...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>): Promise<{
372
- marginSummary: {
373
- accountValue: string;
374
- totalNtlPos: string;
375
- totalRawUsd: string;
376
- totalMarginUsed: string;
377
- };
378
- crossMarginSummary: {
379
- accountValue: string;
380
- totalNtlPos: string;
381
- totalRawUsd: string;
382
- totalMarginUsed: string;
383
- };
384
- crossMaintenanceMarginUsed: string;
385
- withdrawable: string;
386
- assetPositions: {
387
- type: "oneWay";
388
- position: {
389
- coin: string;
390
- szi: string;
391
- leverage: {
392
- type: "isolated";
393
- value: number;
394
- rawUsd: string;
395
- } | {
396
- type: "cross";
397
- value: number;
398
- };
399
- entryPx: string;
400
- positionValue: string;
401
- unrealizedPnl: string;
402
- returnOnEquity: string;
403
- liquidationPx: string | null;
404
- marginUsed: string;
405
- maxLeverage: number;
406
- cumFunding: {
407
- allTime: string;
408
- sinceOpen: string;
409
- sinceChange: string;
410
- };
411
- };
412
- }[];
413
- time: number;
414
- }>;
415
- /**
416
- * Request user staking delegations.
417
- * @param params - Parameters specific to the API request.
418
- * @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).
419
- * @returns Array of user's delegations to validators.
420
- *
421
- * @throws {TransportError} When the transport layer throws an error.
422
- *
423
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-delegations
424
- * @example
425
- * ```ts
426
- * import * as hl from "@nktkas/hyperliquid";
427
- *
428
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
429
- *
430
- * const client = new hl.InfoClient({ transport });
431
- * const data = await client.delegations({ user: "0x..." });
432
- * ```
433
- */
434
- delegations(...args: OmitFirst<OverloadedParameters<typeof delegations>>): Promise<{
435
- validator: `0x${string}`;
436
- amount: string;
437
- lockedUntilTimestamp: number;
438
- }[]>;
439
- /**
440
- * Request user staking history.
441
- * @param params - Parameters specific to the API request.
442
- * @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).
443
- * @returns Array of records of staking events by a delegator.
444
- *
445
- * @throws {TransportError} When the transport layer throws an error.
446
- *
447
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-history
448
- * @example
449
- * ```ts
450
- * import * as hl from "@nktkas/hyperliquid";
451
- *
452
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
453
- *
454
- * const client = new hl.InfoClient({ transport });
455
- * const data = await client.delegatorHistory({ user: "0x..." });
456
- * ```
457
- */
458
- delegatorHistory(...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>): Promise<{
459
- time: number;
460
- hash: `0x${string}`;
461
- delta: {
462
- delegate: {
463
- validator: `0x${string}`;
464
- amount: string;
465
- isUndelegate: boolean;
466
- };
467
- } | {
468
- cDeposit: {
469
- amount: string;
470
- };
471
- } | {
472
- withdrawal: {
473
- amount: string;
474
- phase: "initiated" | "finalized";
475
- };
476
- };
477
- }[]>;
478
- /**
479
- * Request user staking rewards.
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 rewards received from staking activities.
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#query-a-users-staking-rewards
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.delegatorRewards({ user: "0x..." });
495
- * ```
496
- */
497
- delegatorRewards(...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>): Promise<{
498
- time: number;
499
- source: "delegation" | "commission";
500
- totalAmount: string;
501
- }[]>;
502
- /**
503
- * Request user's staking summary.
504
- * @param params - Parameters specific to the API request.
505
- * @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).
506
- * @returns User's staking summary.
507
- *
508
- * @throws {TransportError} When the transport layer throws an error.
509
- *
510
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-summary
511
- * @example
512
- * ```ts
513
- * import * as hl from "@nktkas/hyperliquid";
514
- *
515
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
516
- *
517
- * const client = new hl.InfoClient({ transport });
518
- * const data = await client.delegatorSummary({ user: "0x..." });
519
- * ```
520
- */
521
- delegatorSummary(...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>): Promise<{
522
- delegated: string;
523
- undelegated: string;
524
- totalPendingWithdrawal: string;
525
- nPendingWithdrawals: number;
526
- }>;
527
- /**
528
- * Request exchange system status information.
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 Exchange system status information.
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.exchangeStatus();
543
- * ```
544
- */
545
- exchangeStatus(...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>): Promise<{
546
- time: number;
547
- specialStatuses: unknown;
548
- }>;
549
- /**
550
- * Request user extra agents.
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 extra agent details for a user.
554
- *
555
- * @throws {TransportError} When the transport layer throws an error.
556
- *
557
- * @see null
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.extraAgents({ user: "0x..." });
566
- * ```
567
- */
568
- extraAgents(...args: OmitFirst<OverloadedParameters<typeof extraAgents>>): Promise<{
569
- address: `0x${string}`;
570
- name: string;
571
- validUntil: number;
572
- }[]>;
573
- /**
574
- * Request frontend open orders.
575
- * @param params - Parameters specific to the API request.
576
- * @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).
577
- * @returns Array of open orders with additional display information.
578
- *
579
- * @throws {TransportError} When the transport layer throws an error.
580
- *
581
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders-with-additional-frontend-info
582
- * @example
583
- * ```ts
584
- * import * as hl from "@nktkas/hyperliquid";
585
- *
586
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
587
- *
588
- * const client = new hl.InfoClient({ transport });
589
- * const data = await client.frontendOpenOrders({ user: "0x..." });
590
- * ```
591
- */
592
- frontendOpenOrders(...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>): Promise<{
593
- coin: string;
594
- side: "B" | "A";
595
- limitPx: string;
596
- sz: string;
597
- oid: number;
598
- timestamp: number;
599
- origSz: string;
600
- triggerCondition: string;
601
- isTrigger: boolean;
602
- triggerPx: string;
603
- children: any[];
604
- isPositionTpsl: boolean;
605
- reduceOnly: boolean;
606
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
607
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
608
- cloid: `0x${string}` | null;
609
- }[]>;
610
- /**
611
- * Request funding history.
612
- * @param params - Parameters specific to the API request.
613
- * @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).
614
- * @returns Array of historical funding rate records for an asset.
615
- *
616
- * @throws {TransportError} When the transport layer throws an error.
617
- *
618
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-historical-funding-rates
619
- * @example
620
- * ```ts
621
- * import * as hl from "@nktkas/hyperliquid";
622
- *
623
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
624
- *
625
- * const client = new hl.InfoClient({ transport });
626
- * const data = await client.fundingHistory({
627
- * coin: "ETH",
628
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
629
- * });
630
- * ```
631
- */
632
- fundingHistory(...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>): Promise<{
633
- coin: string;
634
- fundingRate: string;
635
- premium: string;
636
- time: number;
637
- }[]>;
638
- /**
639
- * Request gossip root IPs.
640
- * @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).
641
- * @returns Array of gossip root IPs.
642
- *
643
- * @throws {TransportError} When the transport layer throws an error.
644
- *
645
- * @see null
646
- * @example
647
- * ```ts
648
- * import * as hl from "@nktkas/hyperliquid";
649
- *
650
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
651
- *
652
- * const client = new hl.InfoClient({ transport });
653
- * const data = await client.gossipRootIps();
654
- * ```
655
- */
656
- gossipRootIps(...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>): Promise<string[]>;
657
- /**
658
- * Request user historical orders.
659
- * @param params - Parameters specific to the API request.
660
- * @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).
661
- * @returns Array of frontend orders with current processing status.
662
- *
663
- * @throws {TransportError} When the transport layer throws an error.
664
- *
665
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-historical-orders
666
- * @example
667
- * ```ts
668
- * import * as hl from "@nktkas/hyperliquid";
669
- *
670
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
671
- *
672
- * const client = new hl.InfoClient({ transport });
673
- * const data = await client.historicalOrders({ user: "0x..." });
674
- * ```
675
- */
676
- historicalOrders(...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>): Promise<{
677
- order: {
678
- coin: string;
679
- side: "B" | "A";
680
- limitPx: string;
681
- sz: string;
682
- oid: number;
683
- timestamp: number;
684
- origSz: string;
685
- triggerCondition: string;
686
- isTrigger: boolean;
687
- triggerPx: string;
688
- children: any[];
689
- isPositionTpsl: boolean;
690
- reduceOnly: boolean;
691
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
692
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
693
- cloid: `0x${string}` | null;
694
- };
695
- status: "open" | "canceled" | "rejected" | "filled" | "triggered" | "marginCanceled" | "vaultWithdrawalCanceled" | "openInterestCapCanceled" | "selfTradeCanceled" | "reduceOnlyCanceled" | "siblingFilledCanceled" | "delistedCanceled" | "liquidatedCanceled" | "scheduledCancel" | "tickRejected" | "minTradeNtlRejected" | "perpMarginRejected" | "reduceOnlyRejected" | "badAloPxRejected" | "iocCancelRejected" | "badTriggerPxRejected" | "marketOrderNoLiquidityRejected" | "positionIncreaseAtOpenInterestCapRejected" | "positionFlipAtOpenInterestCapRejected" | "tooAggressiveAtOpenInterestCapRejected" | "openInterestIncreaseRejected" | "insufficientSpotBalanceRejected" | "oracleRejected" | "perpMaxPositionRejected";
696
- statusTimestamp: number;
697
- }[]>;
698
- /**
699
- * Request to check if a user is a VIP.
700
- * @param params - Parameters specific to the API request.
701
- * @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).
702
- * @returns Boolean indicating user's VIP status.
703
- *
704
- * @throws {TransportError} When the transport layer throws an error.
705
- *
706
- * @see null
707
- * @example
708
- * ```ts
709
- * import * as hl from "@nktkas/hyperliquid";
710
- *
711
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
712
- *
713
- * const client = new hl.InfoClient({ transport });
714
- * const data = await client.isVip({ user: "0x..." });
715
- * ```
716
- */
717
- isVip(...args: OmitFirst<OverloadedParameters<typeof isVip>>): Promise<boolean | null>;
718
- /**
719
- * Request L2 order book.
720
- * @param params - Parameters specific to the API request.
721
- * @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).
722
- * @returns L2 order book snapshot.
723
- *
724
- * @throws {TransportError} When the transport layer throws an error.
725
- *
726
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#l2-book-snapshot
727
- * @example
728
- * ```ts
729
- * import * as hl from "@nktkas/hyperliquid";
730
- *
731
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
732
- *
733
- * const client = new hl.InfoClient({ transport });
734
- * const data = await client.l2Book({ coin: "ETH", nSigFigs: 2 });
735
- * ```
736
- */
737
- l2Book(...args: OmitFirst<OverloadedParameters<typeof l2Book>>): Promise<{
738
- coin: string;
739
- time: number;
740
- levels: [{
741
- px: string;
742
- sz: string;
743
- n: number;
744
- }[], {
745
- px: string;
746
- sz: string;
747
- n: number;
748
- }[]];
749
- } | null>;
750
- /**
751
- * Request leading vaults for a user.
752
- * @param params - Parameters specific to the API request.
753
- * @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).
754
- * @returns Array of leading vaults for a user.
755
- *
756
- * @throws {TransportError} When the transport layer throws an error.
757
- *
758
- * @see null
759
- * @example
760
- * ```ts
761
- * import * as hl from "@nktkas/hyperliquid";
762
- *
763
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
764
- *
765
- * const client = new hl.InfoClient({ transport });
766
- * const data = await client.leadingVaults({ user: "0x..." });
767
- * ```
768
- */
769
- leadingVaults(...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>): Promise<{
770
- address: `0x${string}`;
771
- name: string;
772
- }[]>;
773
- /**
774
- * Request legal verification status of a user.
775
- * @param params - Parameters specific to the API request.
776
- * @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).
777
- * @returns Legal verification status for a user.
778
- *
779
- * @throws {TransportError} When the transport layer throws an error.
780
- *
781
- * @see null
782
- * @example
783
- * ```ts
784
- * import * as hl from "@nktkas/hyperliquid";
785
- *
786
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
787
- *
788
- * const client = new hl.InfoClient({ transport });
789
- * const data = await client.legalCheck({ user: "0x..." });
790
- * ```
791
- */
792
- legalCheck(...args: OmitFirst<OverloadedParameters<typeof legalCheck>>): Promise<{
793
- ipAllowed: boolean;
794
- acceptedTerms: boolean;
795
- userAllowed: boolean;
796
- }>;
797
- /**
798
- * Request liquidatable.
799
- * @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).
800
- * @returns
801
- *
802
- * @throws {TransportError} When the transport layer throws an error.
803
- *
804
- * @see null
805
- * @example
806
- * ```ts
807
- * import * as hl from "@nktkas/hyperliquid";
808
- *
809
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
810
- *
811
- * const client = new hl.InfoClient({ transport });
812
- * const data = await client.liquidatable();
813
- * ```
814
- */
815
- liquidatable(...args: OmitFirst<OverloadedParameters<typeof liquidatable>>): Promise<unknown[]>;
816
- /**
817
- * Request margin table data.
818
- * @param params - Parameters specific to the API request.
819
- * @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).
820
- * @returns Margin requirements table with multiple tiers.
821
- *
822
- * @throws {TransportError} When the transport layer throws an error.
823
- *
824
- * @see null
825
- * @example
826
- * ```ts
827
- * import * as hl from "@nktkas/hyperliquid";
828
- *
829
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
830
- *
831
- * const client = new hl.InfoClient({ transport });
832
- * const data = await client.marginTable({ id: 1 });
833
- * ```
834
- */
835
- marginTable(...args: OmitFirst<OverloadedParameters<typeof marginTable>>): Promise<{
836
- description: string;
837
- marginTiers: {
838
- lowerBound: string;
839
- maxLeverage: number;
840
- }[];
841
- }>;
842
- /**
843
- * Request builder fee approval.
844
- * @param params - Parameters specific to the API request.
845
- * @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).
846
- * @returns Maximum builder fee approval.
847
- *
848
- * @throws {TransportError} When the transport layer throws an error.
849
- *
850
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#check-builder-fee-approval
851
- * @example
852
- * ```ts
853
- * import * as hl from "@nktkas/hyperliquid";
854
- *
855
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
856
- *
857
- * const client = new hl.InfoClient({ transport });
858
- * const data = await client.maxBuilderFee({ user: "0x...", builder: "0x..." });
859
- * ```
860
- */
861
- maxBuilderFee(...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>): Promise<number>;
862
- /**
863
- * Request maximum market order notionals.
864
- * @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).
865
- * @returns Maximum market order notionals.
866
- *
867
- * @throws {TransportError} When the transport layer throws an error.
868
- *
869
- * @see null
870
- * @example
871
- * ```ts
872
- * import * as hl from "@nktkas/hyperliquid";
873
- *
874
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
875
- *
876
- * const client = new hl.InfoClient({ transport });
877
- * const data = await client.maxMarketOrderNtls();
878
- * ```
879
- */
880
- maxMarketOrderNtls(...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>): Promise<[string, string][]>;
881
- /**
882
- * Request trading metadata.
883
- * @param params - Parameters specific to the API request.
884
- * @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).
885
- * @returns Metadata for perpetual assets.
886
- *
887
- * @throws {TransportError} When the transport layer throws an error.
888
- *
889
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-metadata-universe-and-margin-tables
890
- * @example
891
- * ```ts
892
- * import * as hl from "@nktkas/hyperliquid";
893
- *
894
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
895
- *
896
- * const client = new hl.InfoClient({ transport });
897
- * const data = await client.meta();
898
- * ```
899
- */
900
- meta(...args: OmitFirst<OverloadedParameters<typeof meta>>): Promise<{
901
- universe: {
902
- szDecimals: number;
903
- name: string;
904
- maxLeverage: number;
905
- marginTableId: number;
906
- onlyIsolated?: true | undefined;
907
- isDelisted?: true | undefined;
908
- marginMode?: "strictIsolated" | "noCross" | undefined;
909
- }[];
910
- marginTables: [number, {
911
- description: string;
912
- marginTiers: {
913
- lowerBound: string;
914
- maxLeverage: number;
915
- }[];
916
- }][];
917
- collateralToken: number;
918
- }>;
919
- /**
920
- * Request metadata and asset contexts.
921
- * @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).
922
- * @returns Metadata and context for perpetual assets.
923
- *
924
- * @throws {TransportError} When the transport layer throws an error.
925
- *
926
- * @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
927
- * @example
928
- * ```ts
929
- * import * as hl from "@nktkas/hyperliquid";
930
- *
931
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
932
- *
933
- * const client = new hl.InfoClient({ transport });
934
- * const data = await client.metaAndAssetCtxs();
935
- * ```
936
- */
937
- metaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>): Promise<[{
938
- universe: {
939
- szDecimals: number;
940
- name: string;
941
- maxLeverage: number;
942
- marginTableId: number;
943
- onlyIsolated?: true | undefined;
944
- isDelisted?: true | undefined;
945
- marginMode?: "strictIsolated" | "noCross" | undefined;
946
- }[];
947
- marginTables: [number, {
948
- description: string;
949
- marginTiers: {
950
- lowerBound: string;
951
- maxLeverage: number;
952
- }[];
953
- }][];
954
- collateralToken: number;
955
- }, {
956
- prevDayPx: string;
957
- dayNtlVlm: string;
958
- markPx: string;
959
- midPx: string | null;
960
- funding: string;
961
- openInterest: string;
962
- premium: string | null;
963
- oraclePx: string;
964
- impactPxs: string[] | null;
965
- dayBaseVlm: string;
966
- }[]]>;
967
- /**
968
- * Request open orders.
969
- * @param params - Parameters specific to the API request.
970
- * @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).
971
- * @returns Array of open orders.
972
- *
973
- * @throws {TransportError} When the transport layer throws an error.
974
- *
975
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders
976
- * @example
977
- * ```ts
978
- * import * as hl from "@nktkas/hyperliquid";
979
- *
980
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
981
- *
982
- * const client = new hl.InfoClient({ transport });
983
- * const data = await client.openOrders({ user: "0x..." });
984
- * ```
985
- */
986
- openOrders(...args: OmitFirst<OverloadedParameters<typeof openOrders>>): Promise<{
987
- coin: string;
988
- side: "B" | "A";
989
- limitPx: string;
990
- sz: string;
991
- oid: number;
992
- timestamp: number;
993
- origSz: string;
994
- cloid?: `0x${string}` | undefined;
995
- reduceOnly?: true | undefined;
996
- }[]>;
997
- /**
998
- * Request order status.
999
- * @param params - Parameters specific to the API request.
1000
- * @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).
1001
- * @returns Order status response.
1002
- *
1003
- * @throws {TransportError} When the transport layer throws an error.
1004
- *
1005
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-order-status-by-oid-or-cloid
1006
- * @example
1007
- * ```ts
1008
- * import * as hl from "@nktkas/hyperliquid";
1009
- *
1010
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1011
- *
1012
- * const client = new hl.InfoClient({ transport });
1013
- * const data = await client.orderStatus({ user: "0x...", oid: 12345 });
1014
- * ```
1015
- */
1016
- orderStatus(...args: OmitFirst<OverloadedParameters<typeof orderStatus>>): Promise<{
1017
- status: "order";
1018
- order: {
1019
- order: {
1020
- coin: string;
1021
- side: "B" | "A";
1022
- limitPx: string;
1023
- sz: string;
1024
- oid: number;
1025
- timestamp: number;
1026
- origSz: string;
1027
- triggerCondition: string;
1028
- isTrigger: boolean;
1029
- triggerPx: string;
1030
- children: any[];
1031
- isPositionTpsl: boolean;
1032
- reduceOnly: boolean;
1033
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
1034
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
1035
- cloid: `0x${string}` | null;
1036
- };
1037
- status: "open" | "canceled" | "rejected" | "filled" | "triggered" | "marginCanceled" | "vaultWithdrawalCanceled" | "openInterestCapCanceled" | "selfTradeCanceled" | "reduceOnlyCanceled" | "siblingFilledCanceled" | "delistedCanceled" | "liquidatedCanceled" | "scheduledCancel" | "tickRejected" | "minTradeNtlRejected" | "perpMarginRejected" | "reduceOnlyRejected" | "badAloPxRejected" | "iocCancelRejected" | "badTriggerPxRejected" | "marketOrderNoLiquidityRejected" | "positionIncreaseAtOpenInterestCapRejected" | "positionFlipAtOpenInterestCapRejected" | "tooAggressiveAtOpenInterestCapRejected" | "openInterestIncreaseRejected" | "insufficientSpotBalanceRejected" | "oracleRejected" | "perpMaxPositionRejected";
1038
- statusTimestamp: number;
1039
- };
1040
- } | {
1041
- status: "unknownOid";
1042
- }>;
1043
- /**
1044
- * Request for the status of the perpetual deploy auction.
1045
- * @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).
1046
- * @returns Status of the perpetual deploy auction.
1047
- *
1048
- * @throws {TransportError} When the transport layer throws an error.
1049
- *
1050
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-information-about-the-perp-deploy-auction
1051
- * @example
1052
- * ```ts
1053
- * import * as hl from "@nktkas/hyperliquid";
1054
- *
1055
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1056
- *
1057
- * const client = new hl.InfoClient({ transport });
1058
- * const data = await client.perpDeployAuctionStatus();
1059
- * ```
1060
- */
1061
- perpDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>): Promise<{
1062
- currentGas: string | null;
1063
- durationSeconds: number;
1064
- endGas: string | null;
1065
- startGas: string;
1066
- startTimeSeconds: number;
1067
- }>;
1068
- /**
1069
- * Request builder deployed perpetual market limits.
1070
- * @param params - Parameters specific to the API request.
1071
- * @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).
1072
- * @returns Builder deployed perpetual market limits.
1073
- *
1074
- * @throws {TransportError} When the transport layer throws an error.
1075
- *
1076
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-builder-deployed-perp-market-limits
1077
- * @example
1078
- * ```ts
1079
- * import * as hl from "@nktkas/hyperliquid";
1080
- *
1081
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1082
- *
1083
- * const client = new hl.InfoClient({ transport });
1084
- * const data = await client.perpDexLimits({ dex: "test" });
1085
- * ```
1086
- */
1087
- perpDexLimits(...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>): Promise<{
1088
- totalOiCap: string;
1089
- oiSzCapPerPerp: string;
1090
- maxTransferNtl: string;
1091
- coinToOiCap: [string, string][];
1092
- } | null>;
1093
- /**
1094
- * Request all perpetual dexs.
1095
- * @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).
1096
- * @returns Array of perpetual dexes (null is main dex).
1097
- *
1098
- * @throws {TransportError} When the transport layer throws an error.
1099
- *
1100
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-all-perpetual-dexs
1101
- * @example
1102
- * ```ts
1103
- * import * as hl from "@nktkas/hyperliquid";
1104
- *
1105
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1106
- *
1107
- * const client = new hl.InfoClient({ transport });
1108
- * const data = await client.perpDexs();
1109
- * ```
1110
- */
1111
- perpDexs(...args: OmitFirst<OverloadedParameters<typeof perpDexs>>): Promise<({
1112
- name: string;
1113
- fullName: string;
1114
- deployer: `0x${string}`;
1115
- oracleUpdater: `0x${string}` | null;
1116
- feeRecipient: `0x${string}` | null;
1117
- assetToStreamingOiCap: [string, string][];
1118
- subDeployers: [string, `0x${string}`[]][];
1119
- deployerFeeScale: string;
1120
- lastDeployerFeeScaleChangeTime: string;
1121
- } | null)[]>;
1122
- /**
1123
- * Request perpetuals at open interest cap.
1124
- * @param params - Parameters specific to the API request.
1125
- * @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).
1126
- * @returns Array of perpetuals at open interest caps.
1127
- *
1128
- * @throws {TransportError} When the transport layer throws an error.
1129
- *
1130
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#query-perps-at-open-interest-caps
1131
- * @example
1132
- * ```ts
1133
- * import * as hl from "@nktkas/hyperliquid";
1134
- *
1135
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1136
- *
1137
- * const client = new hl.InfoClient({ transport });
1138
- * const data = await client.perpsAtOpenInterestCap();
1139
- * ```
1140
- */
1141
- perpsAtOpenInterestCap(...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>): Promise<string[]>;
1142
- /**
1143
- * Request user portfolio.
1144
- * @param params - Parameters specific to the API request.
1145
- * @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).
1146
- * @returns Portfolio metrics grouped by time periods.
1147
- *
1148
- * @throws {TransportError} When the transport layer throws an error.
1149
- *
1150
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-portfolio
1151
- * @example
1152
- * ```ts
1153
- * import * as hl from "@nktkas/hyperliquid";
1154
- *
1155
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1156
- *
1157
- * const client = new hl.InfoClient({ transport });
1158
- * const data = await client.portfolio({ user: "0x..." });
1159
- * ```
1160
- */
1161
- portfolio(...args: OmitFirst<OverloadedParameters<typeof portfolio>>): Promise<[["day", {
1162
- accountValueHistory: [number, string][];
1163
- pnlHistory: [number, string][];
1164
- vlm: string;
1165
- }], ["week", {
1166
- accountValueHistory: [number, string][];
1167
- pnlHistory: [number, string][];
1168
- vlm: string;
1169
- }], ["month", {
1170
- accountValueHistory: [number, string][];
1171
- pnlHistory: [number, string][];
1172
- vlm: string;
1173
- }], ["allTime", {
1174
- accountValueHistory: [number, string][];
1175
- pnlHistory: [number, string][];
1176
- vlm: string;
1177
- }], ["perpDay", {
1178
- accountValueHistory: [number, string][];
1179
- pnlHistory: [number, string][];
1180
- vlm: string;
1181
- }], ["perpWeek", {
1182
- accountValueHistory: [number, string][];
1183
- pnlHistory: [number, string][];
1184
- vlm: string;
1185
- }], ["perpMonth", {
1186
- accountValueHistory: [number, string][];
1187
- pnlHistory: [number, string][];
1188
- vlm: string;
1189
- }], ["perpAllTime", {
1190
- accountValueHistory: [number, string][];
1191
- pnlHistory: [number, string][];
1192
- vlm: string;
1193
- }]]>;
1194
- /**
1195
- * Request predicted funding rates.
1196
- * @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).
1197
- * @returns Array of predicted funding rates.
1198
- *
1199
- * @throws {TransportError} When the transport layer throws an error.
1200
- *
1201
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-predicted-funding-rates-for-different-venues
1202
- * @example
1203
- * ```ts
1204
- * import * as hl from "@nktkas/hyperliquid";
1205
- *
1206
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1207
- *
1208
- * const client = new hl.InfoClient({ transport });
1209
- * const data = await client.predictedFundings();
1210
- * ```
1211
- */
1212
- predictedFundings(...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>): Promise<[string, [string, {
1213
- fundingRate: string;
1214
- nextFundingTime: number;
1215
- fundingIntervalHours?: number | undefined;
1216
- } | null][]][]>;
1217
- /**
1218
- * Request user existence check before transfer.
1219
- * @param params - Parameters specific to the API request.
1220
- * @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).
1221
- * @returns Pre-transfer user existence check result.
1222
- *
1223
- * @throws {TransportError} When the transport layer throws an error.
1224
- *
1225
- * @see null
1226
- * @example
1227
- * ```ts
1228
- * import * as hl from "@nktkas/hyperliquid";
1229
- *
1230
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1231
- *
1232
- * const client = new hl.InfoClient({ transport });
1233
- * const data = await client.preTransferCheck({ user: "0x...", source: "0x..." });
1234
- * ```
1235
- */
1236
- preTransferCheck(...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>): Promise<{
1237
- fee: string;
1238
- isSanctioned: boolean;
1239
- userExists: boolean;
1240
- userHasSentTx: boolean;
1241
- }>;
1242
- /**
1243
- * Request recent trades.
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 recent trades.
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.recentTrades({ coin: "ETH" });
1259
- * ```
1260
- */
1261
- recentTrades(...args: OmitFirst<OverloadedParameters<typeof recentTrades>>): Promise<{
1262
- coin: string;
1263
- side: "B" | "A";
1264
- px: string;
1265
- sz: string;
1266
- time: number;
1267
- hash: `0x${string}`;
1268
- tid: number;
1269
- users: [`0x${string}`, `0x${string}`];
1270
- }[]>;
1271
- /**
1272
- * Request user referral.
1273
- * @param params - Parameters specific to the API request.
1274
- * @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).
1275
- * @returns Referral details for a user.
1276
- *
1277
- * @throws {TransportError} When the transport layer throws an error.
1278
- *
1279
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-referral-information
1280
- * @example
1281
- * ```ts
1282
- * import * as hl from "@nktkas/hyperliquid";
1283
- *
1284
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1285
- *
1286
- * const client = new hl.InfoClient({ transport });
1287
- * const data = await client.referral({ user: "0x..." });
1288
- * ```
1289
- */
1290
- referral(...args: OmitFirst<OverloadedParameters<typeof referral>>): Promise<{
1291
- referredBy: {
1292
- referrer: `0x${string}`;
1293
- code: string;
1294
- } | null;
1295
- cumVlm: string;
1296
- unclaimedRewards: string;
1297
- claimedRewards: string;
1298
- builderRewards: string;
1299
- referrerState: {
1300
- stage: "ready";
1301
- data: {
1302
- code: string;
1303
- nReferrals: number;
1304
- referralStates: {
1305
- cumVlm: string;
1306
- cumRewardedFeesSinceReferred: string;
1307
- cumFeesRewardedToReferrer: string;
1308
- timeJoined: number;
1309
- user: `0x${string}`;
1310
- tokenToState: [number, {
1311
- cumVlm: string;
1312
- cumRewardedFeesSinceReferred: string;
1313
- cumFeesRewardedToReferrer: string;
1314
- }][];
1315
- }[];
1316
- };
1317
- } | {
1318
- stage: "needToCreateCode";
1319
- } | {
1320
- stage: "needToTrade";
1321
- data: {
1322
- required: string;
1323
- };
1324
- };
1325
- rewardHistory: {
1326
- earned: string;
1327
- vlm: string;
1328
- referralVlm: string;
1329
- time: number;
1330
- }[];
1331
- tokenToState: [number, {
1332
- cumVlm: string;
1333
- unclaimedRewards: string;
1334
- claimedRewards: string;
1335
- builderRewards: string;
1336
- }][];
1337
- }>;
1338
- /**
1339
- * Request spot clearinghouse state.
1340
- * @param params - Parameters specific to the API request.
1341
- * @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).
1342
- * @returns Account summary for spot trading.
1343
- *
1344
- * @throws {TransportError} When the transport layer throws an error.
1345
- *
1346
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-a-users-token-balances
1347
- * @example
1348
- * ```ts
1349
- * import * as hl from "@nktkas/hyperliquid";
1350
- *
1351
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1352
- *
1353
- * const client = new hl.InfoClient({ transport });
1354
- * const data = await client.spotClearinghouseState({ user: "0x..." });
1355
- * ```
1356
- */
1357
- spotClearinghouseState(...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>): Promise<{
1358
- balances: {
1359
- coin: string;
1360
- token: number;
1361
- total: string;
1362
- hold: string;
1363
- entryNtl: string;
1364
- }[];
1365
- evmEscrows?: {
1366
- coin: string;
1367
- token: number;
1368
- total: string;
1369
- }[] | undefined;
1370
- }>;
1371
- /**
1372
- * Request spot deploy state.
1373
- * @param params - Parameters specific to the API request.
1374
- * @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).
1375
- * @returns Deploy state for spot tokens.
1376
- *
1377
- * @throws {TransportError} When the transport layer throws an error.
1378
- *
1379
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-the-spot-deploy-auction
1380
- * @example
1381
- * ```ts
1382
- * import * as hl from "@nktkas/hyperliquid";
1383
- *
1384
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1385
- *
1386
- * const client = new hl.InfoClient({ transport });
1387
- * const data = await client.spotDeployState({ user: "0x..." });
1388
- * ```
1389
- */
1390
- spotDeployState(...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>): Promise<{
1391
- states: {
1392
- token: number;
1393
- spec: {
1394
- name: string;
1395
- szDecimals: number;
1396
- weiDecimals: number;
1397
- };
1398
- fullName: string | null;
1399
- deployerTradingFeeShare: string;
1400
- spots: number[];
1401
- maxSupply: string | null;
1402
- hyperliquidityGenesisBalance: string;
1403
- totalGenesisBalanceWei: string;
1404
- userGenesisBalances: [`0x${string}`, string][];
1405
- existingTokenGenesisBalances: [number, string][];
1406
- blacklistUsers: `0x${string}`[];
1407
- }[];
1408
- gasAuction: {
1409
- currentGas: string | null;
1410
- durationSeconds: number;
1411
- endGas: string | null;
1412
- startGas: string;
1413
- startTimeSeconds: number;
1414
- };
1415
- }>;
1416
- /**
1417
- * Request spot trading metadata.
1418
- * @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).
1419
- * @returns Metadata for spot assets.
1420
- *
1421
- * @throws {TransportError} When the transport layer throws an error.
1422
- *
1423
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-metadata
1424
- * @example
1425
- * ```ts
1426
- * import * as hl from "@nktkas/hyperliquid";
1427
- *
1428
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1429
- *
1430
- * const client = new hl.InfoClient({ transport });
1431
- * const data = await client.spotMeta();
1432
- * ```
1433
- */
1434
- spotMeta(...args: OmitFirst<OverloadedParameters<typeof spotMeta>>): Promise<{
1435
- universe: {
1436
- tokens: number[];
1437
- name: string;
1438
- index: number;
1439
- isCanonical: boolean;
1440
- }[];
1441
- tokens: {
1442
- name: string;
1443
- szDecimals: number;
1444
- weiDecimals: number;
1445
- index: number;
1446
- tokenId: `0x${string}`;
1447
- isCanonical: boolean;
1448
- evmContract: {
1449
- address: `0x${string}`;
1450
- evm_extra_wei_decimals: number;
1451
- } | null;
1452
- fullName: string | null;
1453
- deployerTradingFeeShare: string;
1454
- }[];
1455
- }>;
1456
- /**
1457
- * Request spot metadata and asset contexts.
1458
- * @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).
1459
- * @returns Metadata and context for spot assets.
1460
- *
1461
- * @throws {TransportError} When the transport layer throws an error.
1462
- *
1463
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
1464
- * @example
1465
- * ```ts
1466
- * import * as hl from "@nktkas/hyperliquid";
1467
- *
1468
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1469
- *
1470
- * const client = new hl.InfoClient({ transport });
1471
- * const data = await client.spotMetaAndAssetCtxs();
1472
- * ```
1473
- */
1474
- spotMetaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>): Promise<[{
1475
- universe: {
1476
- tokens: number[];
1477
- name: string;
1478
- index: number;
1479
- isCanonical: boolean;
1480
- }[];
1481
- tokens: {
1482
- name: string;
1483
- szDecimals: number;
1484
- weiDecimals: number;
1485
- index: number;
1486
- tokenId: `0x${string}`;
1487
- isCanonical: boolean;
1488
- evmContract: {
1489
- address: `0x${string}`;
1490
- evm_extra_wei_decimals: number;
1491
- } | null;
1492
- fullName: string | null;
1493
- deployerTradingFeeShare: string;
1494
- }[];
1495
- }, {
1496
- prevDayPx: string;
1497
- dayNtlVlm: string;
1498
- markPx: string;
1499
- midPx: string | null;
1500
- circulatingSupply: string;
1501
- coin: string;
1502
- totalSupply: string;
1503
- dayBaseVlm: string;
1504
- }[]]>;
1505
- /**
1506
- * Request for the status of the spot deploy auction.
1507
- * @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).
1508
- * @returns Status of the spot deploy auction.
1509
- *
1510
- * @throws {TransportError} When the transport layer throws an error.
1511
- *
1512
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-the-spot-pair-deploy-auction
1513
- * @example
1514
- * ```ts
1515
- * import * as hl from "@nktkas/hyperliquid";
1516
- *
1517
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1518
- *
1519
- * const client = new hl.InfoClient({ transport });
1520
- * const data = await client.spotPairDeployAuctionStatus();
1521
- * ```
1522
- */
1523
- spotPairDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>): Promise<{
1524
- currentGas: string | null;
1525
- durationSeconds: number;
1526
- endGas: string | null;
1527
- startGas: string;
1528
- startTimeSeconds: number;
1529
- }>;
1530
- /**
1531
- * Request user sub-accounts.
1532
- * @param params - Parameters specific to the API request.
1533
- * @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).
1534
- * @returns Array of user sub-account or null if the user does not have any sub-accounts.
1535
- *
1536
- * @throws {TransportError} When the transport layer throws an error.
1537
- *
1538
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-subaccounts
1539
- * @example
1540
- * ```ts
1541
- * import * as hl from "@nktkas/hyperliquid";
1542
- *
1543
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1544
- *
1545
- * const client = new hl.InfoClient({ transport });
1546
- * const data = await client.subAccounts({ user: "0x..." });
1547
- * ```
1548
- */
1549
- subAccounts(...args: OmitFirst<OverloadedParameters<typeof subAccounts>>): Promise<{
1550
- name: string;
1551
- subAccountUser: `0x${string}`;
1552
- master: `0x${string}`;
1553
- clearinghouseState: {
1554
- marginSummary: {
1555
- accountValue: string;
1556
- totalNtlPos: string;
1557
- totalRawUsd: string;
1558
- totalMarginUsed: string;
1559
- };
1560
- crossMarginSummary: {
1561
- accountValue: string;
1562
- totalNtlPos: string;
1563
- totalRawUsd: string;
1564
- totalMarginUsed: string;
1565
- };
1566
- crossMaintenanceMarginUsed: string;
1567
- withdrawable: string;
1568
- assetPositions: {
1569
- type: "oneWay";
1570
- position: {
1571
- coin: string;
1572
- szi: string;
1573
- leverage: {
1574
- type: "isolated";
1575
- value: number;
1576
- rawUsd: string;
1577
- } | {
1578
- type: "cross";
1579
- value: number;
1580
- };
1581
- entryPx: string;
1582
- positionValue: string;
1583
- unrealizedPnl: string;
1584
- returnOnEquity: string;
1585
- liquidationPx: string | null;
1586
- marginUsed: string;
1587
- maxLeverage: number;
1588
- cumFunding: {
1589
- allTime: string;
1590
- sinceOpen: string;
1591
- sinceChange: string;
1592
- };
1593
- };
1594
- }[];
1595
- time: number;
1596
- };
1597
- spotState: {
1598
- balances: {
1599
- coin: string;
1600
- token: number;
1601
- total: string;
1602
- hold: string;
1603
- entryNtl: string;
1604
- }[];
1605
- evmEscrows?: {
1606
- coin: string;
1607
- token: number;
1608
- total: string;
1609
- }[] | undefined;
1610
- };
1611
- }[] | null>;
1612
- /**
1613
- * Request user sub-accounts V2.
1614
- * @param params - Parameters specific to the API request.
1615
- * @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).
1616
- * @returns Array of user sub-account or null if the user does not have any sub-accounts.
1617
- *
1618
- * @throws {TransportError} When the transport layer throws an error.
1619
- *
1620
- * @see null
1621
- * @example
1622
- * ```ts
1623
- * import * as hl from "@nktkas/hyperliquid";
1624
- *
1625
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1626
- *
1627
- * const client = new hl.InfoClient({ transport });
1628
- * const data = await client.subAccounts2({ user: "0x..." });
1629
- * ```
1630
- */
1631
- subAccounts2(...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>): Promise<{
1632
- name: string;
1633
- subAccountUser: `0x${string}`;
1634
- master: `0x${string}`;
1635
- dexToClearinghouseState: [string, {
1636
- marginSummary: {
1637
- accountValue: string;
1638
- totalNtlPos: string;
1639
- totalRawUsd: string;
1640
- totalMarginUsed: string;
1641
- };
1642
- crossMarginSummary: {
1643
- accountValue: string;
1644
- totalNtlPos: string;
1645
- totalRawUsd: string;
1646
- totalMarginUsed: string;
1647
- };
1648
- crossMaintenanceMarginUsed: string;
1649
- withdrawable: string;
1650
- assetPositions: {
1651
- type: "oneWay";
1652
- position: {
1653
- coin: string;
1654
- szi: string;
1655
- leverage: {
1656
- type: "isolated";
1657
- value: number;
1658
- rawUsd: string;
1659
- } | {
1660
- type: "cross";
1661
- value: number;
1662
- };
1663
- entryPx: string;
1664
- positionValue: string;
1665
- unrealizedPnl: string;
1666
- returnOnEquity: string;
1667
- liquidationPx: string | null;
1668
- marginUsed: string;
1669
- maxLeverage: number;
1670
- cumFunding: {
1671
- allTime: string;
1672
- sinceOpen: string;
1673
- sinceChange: string;
1674
- };
1675
- };
1676
- }[];
1677
- time: number;
1678
- }][];
1679
- spotState: {
1680
- balances: {
1681
- coin: string;
1682
- token: number;
1683
- total: string;
1684
- hold: string;
1685
- entryNtl: string;
1686
- }[];
1687
- evmEscrows?: {
1688
- coin: string;
1689
- token: number;
1690
- total: string;
1691
- }[] | undefined;
1692
- };
1693
- }[] | null>;
1694
- /**
1695
- * Request token details.
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 Details of a token.
1699
- *
1700
- * @throws {TransportError} When the transport layer throws an error.
1701
- *
1702
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-a-token
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.tokenDetails({ tokenId: "0x..." });
1711
- * ```
1712
- */
1713
- tokenDetails(...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>): Promise<{
1714
- name: string;
1715
- maxSupply: string;
1716
- totalSupply: string;
1717
- circulatingSupply: string;
1718
- szDecimals: number;
1719
- weiDecimals: number;
1720
- midPx: string;
1721
- markPx: string;
1722
- prevDayPx: string;
1723
- genesis: {
1724
- userBalances: [`0x${string}`, string][];
1725
- existingTokenBalances: [number, string][];
1726
- blacklistUsers: `0x${string}`[];
1727
- } | null;
1728
- deployer: `0x${string}` | null;
1729
- deployGas: string | null;
1730
- deployTime: string | null;
1731
- seededUsdc: string;
1732
- nonCirculatingUserBalances: [`0x${string}`, string][];
1733
- futureEmissions: string;
1734
- }>;
1735
- /**
1736
- * Request twap history of a user.
1737
- * @param params - Parameters specific to the API request.
1738
- * @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).
1739
- * @returns Array of user's TWAP history.
1740
- *
1741
- * @throws {TransportError} When the transport layer throws an error.
1742
- *
1743
- * @see null
1744
- * @example
1745
- * ```ts
1746
- * import * as hl from "@nktkas/hyperliquid";
1747
- *
1748
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1749
- *
1750
- * const client = new hl.InfoClient({ transport });
1751
- * const data = await client.twapHistory({ user: "0x..." });
1752
- * ```
1753
- */
1754
- twapHistory(...args: OmitFirst<OverloadedParameters<typeof twapHistory>>): Promise<{
1755
- time: number;
1756
- state: {
1757
- coin: string;
1758
- executedNtl: string;
1759
- executedSz: string;
1760
- minutes: number;
1761
- randomize: boolean;
1762
- reduceOnly: boolean;
1763
- side: "B" | "A";
1764
- sz: string;
1765
- timestamp: number;
1766
- user: `0x${string}`;
1767
- };
1768
- status: {
1769
- status: "finished" | "activated" | "terminated";
1770
- } | {
1771
- status: "error";
1772
- description: string;
1773
- };
1774
- twapId?: number | undefined;
1775
- }[]>;
1776
- /**
1777
- * Request transaction details by transaction hash.
1778
- * @param params - Parameters specific to the API request.
1779
- * @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).
1780
- * @returns Transaction details.
1781
- *
1782
- * @throws {TransportError} When the transport layer throws an error.
1783
- *
1784
- * @see null
1785
- * @example
1786
- * ```ts
1787
- * import * as hl from "@nktkas/hyperliquid";
1788
- *
1789
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1790
- *
1791
- * const client = new hl.InfoClient({ transport });
1792
- * const data = await client.txDetails({ hash: "0x..." });
1793
- * ```
1794
- */
1795
- txDetails(this: T extends {
1796
- request(endpoint: "explorer", ...args: unknown[]): unknown;
1797
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof txDetails>>): Promise<{
1798
- type: "txDetails";
1799
- tx: {
1800
- action: {
1801
- type: string;
1802
- } & {
1803
- [key: string]: unknown;
1804
- };
1805
- block: number;
1806
- error: string | null;
1807
- hash: `0x${string}`;
1808
- time: number;
1809
- user: `0x${string}`;
1810
- };
1811
- }>;
1812
- /**
1813
- * Request array of user transaction details.
1814
- * @param params - Parameters specific to the API request.
1815
- * @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).
1816
- * @returns Array of user transaction details.
1817
- *
1818
- * @throws {TransportError} When the transport layer throws an error.
1819
- *
1820
- * @see null
1821
- * @example
1822
- * ```ts
1823
- * import * as hl from "@nktkas/hyperliquid";
1824
- *
1825
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1826
- *
1827
- * const client = new hl.InfoClient({ transport });
1828
- * const data = await client.userDetails({ user: "0x..." });
1829
- * ```
1830
- */
1831
- userDetails(this: T extends {
1832
- request(endpoint: "explorer", ...args: unknown[]): unknown;
1833
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof userDetails>>): Promise<{
1834
- type: "userDetails";
1835
- txs: {
1836
- action: {
1837
- type: string;
1838
- } & {
1839
- [key: string]: unknown;
1840
- };
1841
- block: number;
1842
- error: string | null;
1843
- hash: `0x${string}`;
1844
- time: number;
1845
- user: `0x${string}`;
1846
- }[];
1847
- }>;
1848
- /**
1849
- * Request user HIP-3 DEX abstraction state.
1850
- * @param params - Parameters specific to the API request.
1851
- * @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).
1852
- * @returns User HIP-3 DEX abstraction state.
1853
- *
1854
- * @throws {TransportError} When the transport layer throws an error.
1855
- *
1856
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-hip-3-dex-abstraction-state
1857
- * @example
1858
- * ```ts
1859
- * import * as hl from "@nktkas/hyperliquid";
1860
- *
1861
- * const transport = new hl.HttpTransport(); // only `HttpTransport` supports this API
1862
- *
1863
- * const client = new hl.InfoClient({ transport });
1864
- * const data = await client.userDexAbstraction({ user: "0x..." });
1865
- * ```
1866
- */
1867
- userDexAbstraction(...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>): Promise<boolean | null>;
1868
- /**
1869
- * Request user fees.
1870
- * @param params - Parameters specific to the API request.
1871
- * @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).
1872
- * @returns User fees.
1873
- *
1874
- * @throws {TransportError} When the transport layer throws an error.
1875
- *
1876
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-fees
1877
- * @example
1878
- * ```ts
1879
- * import * as hl from "@nktkas/hyperliquid";
1880
- *
1881
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1882
- *
1883
- * const client = new hl.InfoClient({ transport });
1884
- * const data = await client.userFees({ user: "0x..." });
1885
- * ```
1886
- */
1887
- userFees(...args: OmitFirst<OverloadedParameters<typeof userFees>>): Promise<{
1888
- dailyUserVlm: {
1889
- date: string;
1890
- userCross: string;
1891
- userAdd: string;
1892
- exchange: string;
1893
- }[];
1894
- feeSchedule: {
1895
- cross: string;
1896
- add: string;
1897
- spotCross: string;
1898
- spotAdd: string;
1899
- tiers: {
1900
- vip: {
1901
- ntlCutoff: string;
1902
- cross: string;
1903
- add: string;
1904
- spotCross: string;
1905
- spotAdd: string;
1906
- }[];
1907
- mm: {
1908
- makerFractionCutoff: string;
1909
- add: string;
1910
- }[];
1911
- };
1912
- referralDiscount: string;
1913
- stakingDiscountTiers: {
1914
- bpsOfMaxSupply: string;
1915
- discount: string;
1916
- }[];
1917
- };
1918
- userCrossRate: string;
1919
- userAddRate: string;
1920
- userSpotCrossRate: string;
1921
- userSpotAddRate: string;
1922
- activeReferralDiscount: string;
1923
- trial: unknown;
1924
- feeTrialEscrow: string;
1925
- nextTrialAvailableTimestamp: unknown;
1926
- stakingLink: {
1927
- stakingUser: `0x${string}`;
1928
- type: "stakingUser" | "requested" | "tradingUser";
1929
- } | null;
1930
- activeStakingDiscount: {
1931
- bpsOfMaxSupply: string;
1932
- discount: string;
1933
- };
1934
- }>;
1935
- /**
1936
- * Request array of user fills.
1937
- * @param params - Parameters specific to the API request.
1938
- * @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).
1939
- * @returns Array of user trade fills.
1940
- *
1941
- * @throws {TransportError} When the transport layer throws an error.
1942
- *
1943
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
1944
- * @example
1945
- * ```ts
1946
- * import * as hl from "@nktkas/hyperliquid";
1947
- *
1948
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1949
- *
1950
- * const client = new hl.InfoClient({ transport });
1951
- * const data = await client.userFills({ user: "0x..." });
1952
- * ```
1953
- */
1954
- userFills(...args: OmitFirst<OverloadedParameters<typeof userFills>>): Promise<{
1955
- coin: string;
1956
- px: string;
1957
- sz: string;
1958
- side: "B" | "A";
1959
- time: number;
1960
- startPosition: string;
1961
- dir: string;
1962
- closedPnl: string;
1963
- hash: `0x${string}`;
1964
- oid: number;
1965
- crossed: boolean;
1966
- fee: string;
1967
- tid: number;
1968
- cloid?: `0x${string}` | undefined;
1969
- liquidation?: {
1970
- liquidatedUser: `0x${string}`;
1971
- markPx: string;
1972
- method: "market" | "backstop";
1973
- } | undefined;
1974
- feeToken: string;
1975
- twapId: number | null;
1976
- }[]>;
1977
- /**
1978
- * Request array of user fills by time.
1979
- * @param params - Parameters specific to the API request.
1980
- * @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).
1981
- * @returns Array of user trade fills by time.
1982
- *
1983
- * @throws {TransportError} When the transport layer throws an error.
1984
- *
1985
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
1986
- * @example
1987
- * ```ts
1988
- * import * as hl from "@nktkas/hyperliquid";
1989
- *
1990
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1991
- *
1992
- * const client = new hl.InfoClient({ transport });
1993
- * const data = await client.userFillsByTime({
1994
- * user: "0x...",
1995
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
1996
- * });
1997
- * ```
1998
- */
1999
- userFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>): Promise<{
2000
- coin: string;
2001
- px: string;
2002
- sz: string;
2003
- side: "B" | "A";
2004
- time: number;
2005
- startPosition: string;
2006
- dir: string;
2007
- closedPnl: string;
2008
- hash: `0x${string}`;
2009
- oid: number;
2010
- crossed: boolean;
2011
- fee: string;
2012
- tid: number;
2013
- cloid?: `0x${string}` | undefined;
2014
- liquidation?: {
2015
- liquidatedUser: `0x${string}`;
2016
- markPx: string;
2017
- method: "market" | "backstop";
2018
- } | undefined;
2019
- feeToken: string;
2020
- twapId: number | null;
2021
- }[]>;
2022
- /**
2023
- * Request array of user funding ledger updates.
2024
- * @param params - Parameters specific to the API request.
2025
- * @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).
2026
- * @returns Array of user funding ledger updates.
2027
- *
2028
- * @throws {TransportError} When the transport layer throws an error.
2029
- *
2030
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
2031
- * @example
2032
- * ```ts
2033
- * import * as hl from "@nktkas/hyperliquid";
2034
- *
2035
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2036
- *
2037
- * const client = new hl.InfoClient({ transport });
2038
- * const data = await client.userFunding({
2039
- * user: "0x...",
2040
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
2041
- * });
2042
- * ```
2043
- */
2044
- userFunding(...args: OmitFirst<OverloadedParameters<typeof userFunding>>): Promise<{
2045
- time: number;
2046
- hash: `0x${string}`;
2047
- delta: {
2048
- type: "funding";
2049
- coin: string;
2050
- usdc: string;
2051
- szi: string;
2052
- fundingRate: string;
2053
- nSamples: number | null;
2054
- };
2055
- }[]>;
2056
- /**
2057
- * Request user non-funding ledger updates.
2058
- * @param params - Parameters specific to the API request.
2059
- * @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).
2060
- * @returns Array of user's non-funding ledger update.
2061
- *
2062
- * @throws {TransportError} When the transport layer throws an error.
2063
- *
2064
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
2065
- * @example
2066
- * ```ts
2067
- * import * as hl from "@nktkas/hyperliquid";
2068
- *
2069
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2070
- *
2071
- * const client = new hl.InfoClient({ transport });
2072
- * const data = await client.userNonFundingLedgerUpdates({
2073
- * user: "0x...",
2074
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
2075
- * });
2076
- * ```
2077
- */
2078
- userNonFundingLedgerUpdates(...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>): Promise<{
2079
- time: number;
2080
- hash: `0x${string}`;
2081
- delta: {
2082
- type: "accountClassTransfer";
2083
- usdc: string;
2084
- toPerp: boolean;
2085
- } | {
2086
- type: "deposit";
2087
- usdc: string;
2088
- } | {
2089
- type: "internalTransfer";
2090
- usdc: string;
2091
- user: `0x${string}`;
2092
- destination: `0x${string}`;
2093
- fee: string;
2094
- } | {
2095
- type: "liquidation";
2096
- liquidatedNtlPos: string;
2097
- accountValue: string;
2098
- leverageType: "Cross" | "Isolated";
2099
- liquidatedPositions: {
2100
- coin: string;
2101
- szi: string;
2102
- }[];
2103
- } | {
2104
- type: "rewardsClaim";
2105
- amount: string;
2106
- token: string;
2107
- } | {
2108
- type: "spotTransfer";
2109
- token: string;
2110
- amount: string;
2111
- usdcValue: string;
2112
- user: `0x${string}`;
2113
- destination: `0x${string}`;
2114
- fee: string;
2115
- nativeTokenFee: string;
2116
- nonce: null;
2117
- feeToken: string;
2118
- } | {
2119
- type: "subAccountTransfer";
2120
- usdc: string;
2121
- user: `0x${string}`;
2122
- destination: `0x${string}`;
2123
- } | {
2124
- type: "vaultCreate";
2125
- vault: `0x${string}`;
2126
- usdc: string;
2127
- fee: string;
2128
- } | {
2129
- type: "vaultDeposit";
2130
- vault: `0x${string}`;
2131
- usdc: string;
2132
- } | {
2133
- type: "vaultDistribution";
2134
- vault: `0x${string}`;
2135
- usdc: string;
2136
- } | {
2137
- type: "vaultWithdraw";
2138
- vault: `0x${string}`;
2139
- user: `0x${string}`;
2140
- requestedUsd: string;
2141
- commission: string;
2142
- closingCost: string;
2143
- basis: string;
2144
- netWithdrawnUsd: string;
2145
- } | {
2146
- type: "withdraw";
2147
- usdc: string;
2148
- nonce: number;
2149
- fee: string;
2150
- };
2151
- }[]>;
2152
- /**
2153
- * Request user rate limits.
2154
- * @param params - Parameters specific to the API request.
2155
- * @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).
2156
- * @returns User rate limits.
2157
- *
2158
- * @throws {TransportError} When the transport layer throws an error.
2159
- *
2160
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-user-rate-limits
2161
- * @example
2162
- * ```ts
2163
- * import * as hl from "@nktkas/hyperliquid";
2164
- *
2165
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2166
- *
2167
- * const client = new hl.InfoClient({ transport });
2168
- * const data = await client.userRateLimit({ user: "0x..." });
2169
- * ```
2170
- */
2171
- userRateLimit(...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>): Promise<{
2172
- cumVlm: string;
2173
- nRequestsUsed: number;
2174
- nRequestsCap: number;
2175
- nRequestsSurplus: number;
2176
- }>;
2177
- /**
2178
- * Request user role.
2179
- * @param params - Parameters specific to the API request.
2180
- * @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).
2181
- * @returns User role.
2182
- *
2183
- * @throws {TransportError} When the transport layer throws an error.
2184
- *
2185
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-role
2186
- * @example
2187
- * ```ts
2188
- * import * as hl from "@nktkas/hyperliquid";
2189
- *
2190
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2191
- *
2192
- * const client = new hl.InfoClient({ transport });
2193
- * const data = await client.userRole({ user: "0x..." });
2194
- * ```
2195
- */
2196
- userRole(...args: OmitFirst<OverloadedParameters<typeof userRole>>): Promise<{
2197
- role: "user" | "vault" | "missing";
2198
- } | {
2199
- role: "agent";
2200
- data: {
2201
- user: `0x${string}`;
2202
- };
2203
- } | {
2204
- role: "subAccount";
2205
- data: {
2206
- master: `0x${string}`;
2207
- };
2208
- }>;
2209
- /**
2210
- * Request multi-sig signers for a user.
2211
- * @param params - Parameters specific to the API request.
2212
- * @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).
2213
- * @returns Multi-sig signers for a user or null if the user does not have any multi-sig signers.
2214
- *
2215
- * @throws {TransportError} When the transport layer throws an error.
2216
- *
2217
- * @see null
2218
- * @example
2219
- * ```ts
2220
- * import * as hl from "@nktkas/hyperliquid";
2221
- *
2222
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2223
- *
2224
- * const client = new hl.InfoClient({ transport });
2225
- * const data = await client.userToMultiSigSigners({ user: "0x..." });
2226
- * ```
2227
- */
2228
- userToMultiSigSigners(...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>): Promise<{
2229
- authorizedUsers: `0x${string}`[];
2230
- threshold: number;
2231
- } | null>;
2232
- /**
2233
- * Request user TWAP slice fills.
2234
- * @param params - Parameters specific to the API request.
2235
- * @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).
2236
- * @returns Array of user's twap slice fill.
2237
- *
2238
- * @throws {TransportError} When the transport layer throws an error.
2239
- *
2240
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-twap-slice-fills
2241
- * @example
2242
- * ```ts
2243
- * import * as hl from "@nktkas/hyperliquid";
2244
- *
2245
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2246
- *
2247
- * const client = new hl.InfoClient({ transport });
2248
- * const data = await client.userTwapSliceFills({ user: "0x..." });
2249
- * ```
2250
- */
2251
- userTwapSliceFills(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>): Promise<{
2252
- fill: {
2253
- coin: string;
2254
- px: string;
2255
- sz: string;
2256
- side: "B" | "A";
2257
- time: number;
2258
- startPosition: string;
2259
- dir: string;
2260
- closedPnl: string;
2261
- hash: `0x${string}`;
2262
- oid: number;
2263
- crossed: boolean;
2264
- fee: string;
2265
- tid: number;
2266
- feeToken: string;
2267
- twapId: number | null;
2268
- };
2269
- twapId: number;
2270
- }[]>;
2271
- /**
2272
- * Request user TWAP slice fills by time.
2273
- * @param params - Parameters specific to the API request.
2274
- * @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).
2275
- * @returns Array of user's twap slice fill by time.
2276
- *
2277
- * @throws {TransportError} When the transport layer throws an error.
2278
- *
2279
- * @see null
2280
- * @example
2281
- * ```ts
2282
- * import * as hl from "@nktkas/hyperliquid";
2283
- *
2284
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2285
- *
2286
- * const client = new hl.InfoClient({ transport });
2287
- * const data = await client.userTwapSliceFillsByTime({
2288
- * user: "0x...",
2289
- * startTime: Date.now() - 1000 * 60 * 60 * 24,
2290
- * });
2291
- * ```
2292
- */
2293
- userTwapSliceFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>): Promise<{
2294
- fill: {
2295
- coin: string;
2296
- px: string;
2297
- sz: string;
2298
- side: "B" | "A";
2299
- time: number;
2300
- startPosition: string;
2301
- dir: string;
2302
- closedPnl: string;
2303
- hash: `0x${string}`;
2304
- oid: number;
2305
- crossed: boolean;
2306
- fee: string;
2307
- tid: number;
2308
- feeToken: string;
2309
- twapId: number | null;
2310
- };
2311
- twapId: number;
2312
- }[]>;
2313
- /**
2314
- * Request user vault deposits.
2315
- * @param params - Parameters specific to the API request.
2316
- * @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).
2317
- * @returns Array of user's vault deposits.
2318
- *
2319
- * @throws {TransportError} When the transport layer throws an error.
2320
- *
2321
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-vault-deposits
2322
- * @example
2323
- * ```ts
2324
- * import * as hl from "@nktkas/hyperliquid";
2325
- *
2326
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2327
- *
2328
- * const client = new hl.InfoClient({ transport });
2329
- * const data = await client.userVaultEquities({ user: "0x..." });
2330
- * ```
2331
- */
2332
- userVaultEquities(...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>): Promise<{
2333
- vaultAddress: `0x${string}`;
2334
- equity: string;
2335
- lockedUntilTimestamp: number;
2336
- }[]>;
2337
- /**
2338
- * Request validator L1 votes.
2339
- * @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).
2340
- * @returns Array of L1 governance votes cast by validators.
2341
- *
2342
- * @throws {TransportError} When the transport layer throws an error.
2343
- *
2344
- * @see null
2345
- * @example
2346
- * ```ts
2347
- * import * as hl from "@nktkas/hyperliquid";
2348
- *
2349
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2350
- *
2351
- * const client = new hl.InfoClient({ transport });
2352
- * const data = await client.validatorL1Votes();
2353
- * ```
2354
- */
2355
- validatorL1Votes(...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>): Promise<{
2356
- expireTime: number;
2357
- action: {
2358
- D: string;
2359
- } | {
2360
- C: string[];
2361
- };
2362
- votes: `0x${string}`[];
2363
- }[]>;
2364
- /**
2365
- * Request validator summaries.
2366
- * @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).
2367
- * @returns Array of validator performance statistics.
2368
- *
2369
- * @throws {TransportError} When the transport layer throws an error.
2370
- *
2371
- * @see null
2372
- * @example
2373
- * ```ts
2374
- * import * as hl from "@nktkas/hyperliquid";
2375
- *
2376
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2377
- *
2378
- * const client = new hl.InfoClient({ transport });
2379
- * const data = await client.validatorSummaries();
2380
- * ```
2381
- */
2382
- validatorSummaries(...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>): Promise<{
2383
- validator: `0x${string}`;
2384
- signer: `0x${string}`;
2385
- name: string;
2386
- description: string;
2387
- nRecentBlocks: number;
2388
- stake: number;
2389
- isJailed: boolean;
2390
- unjailableAfter: number | null;
2391
- isActive: boolean;
2392
- commission: string;
2393
- stats: [["day", {
2394
- uptimeFraction: string;
2395
- predictedApr: string;
2396
- nSamples: number;
2397
- }], ["week", {
2398
- uptimeFraction: string;
2399
- predictedApr: string;
2400
- nSamples: number;
2401
- }], ["month", {
2402
- uptimeFraction: string;
2403
- predictedApr: string;
2404
- nSamples: number;
2405
- }]];
2406
- }[]>;
2407
- /**
2408
- * Request details of a vault.
2409
- * @param params - Parameters specific to the API request.
2410
- * @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).
2411
- * @returns Details of a vault or null if the vault does not exist.
2412
- *
2413
- * @throws {TransportError} When the transport layer throws an error.
2414
- *
2415
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-details-for-a-vault
2416
- * @example
2417
- * ```ts
2418
- * import * as hl from "@nktkas/hyperliquid";
2419
- *
2420
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2421
- *
2422
- * const client = new hl.InfoClient({ transport });
2423
- * const data = await client.vaultDetails({ vaultAddress: "0x..." });
2424
- * ```
2425
- */
2426
- vaultDetails(...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>): Promise<{
2427
- name: string;
2428
- vaultAddress: `0x${string}`;
2429
- leader: `0x${string}`;
2430
- description: string;
2431
- portfolio: [["day", {
2432
- accountValueHistory: [number, string][];
2433
- pnlHistory: [number, string][];
2434
- vlm: string;
2435
- }], ["week", {
2436
- accountValueHistory: [number, string][];
2437
- pnlHistory: [number, string][];
2438
- vlm: string;
2439
- }], ["month", {
2440
- accountValueHistory: [number, string][];
2441
- pnlHistory: [number, string][];
2442
- vlm: string;
2443
- }], ["allTime", {
2444
- accountValueHistory: [number, string][];
2445
- pnlHistory: [number, string][];
2446
- vlm: string;
2447
- }], ["perpDay", {
2448
- accountValueHistory: [number, string][];
2449
- pnlHistory: [number, string][];
2450
- vlm: string;
2451
- }], ["perpWeek", {
2452
- accountValueHistory: [number, string][];
2453
- pnlHistory: [number, string][];
2454
- vlm: string;
2455
- }], ["perpMonth", {
2456
- accountValueHistory: [number, string][];
2457
- pnlHistory: [number, string][];
2458
- vlm: string;
2459
- }], ["perpAllTime", {
2460
- accountValueHistory: [number, string][];
2461
- pnlHistory: [number, string][];
2462
- vlm: string;
2463
- }]];
2464
- apr: number;
2465
- followerState: {
2466
- user: `0x${string}`;
2467
- vaultEquity: string;
2468
- pnl: string;
2469
- allTimePnl: string;
2470
- daysFollowing: number;
2471
- vaultEntryTime: number;
2472
- lockupUntil: number;
2473
- } | null;
2474
- leaderFraction: number;
2475
- leaderCommission: number;
2476
- followers: {
2477
- user: `0x${string}` | "Leader";
2478
- vaultEquity: string;
2479
- pnl: string;
2480
- allTimePnl: string;
2481
- daysFollowing: number;
2482
- vaultEntryTime: number;
2483
- lockupUntil: number;
2484
- }[];
2485
- maxDistributable: number;
2486
- maxWithdrawable: number;
2487
- isClosed: boolean;
2488
- relationship: {
2489
- type: "normal" | "child";
2490
- } | {
2491
- type: "parent";
2492
- data: {
2493
- childAddresses: `0x${string}`[];
2494
- };
2495
- };
2496
- allowDeposits: boolean;
2497
- alwaysCloseOnWithdraw: boolean;
2498
- }>;
2499
- /**
2500
- * Request a list of vaults less than 2 hours old.
2501
- * @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).
2502
- * @returns Array of vaults less than 2 hours old.
2503
- *
2504
- * @throws {TransportError} When the transport layer throws an error.
2505
- *
2506
- * @see null
2507
- * @example
2508
- * ```ts
2509
- * import * as hl from "@nktkas/hyperliquid";
2510
- *
2511
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2512
- *
2513
- * const client = new hl.InfoClient({ transport });
2514
- * const data = await client.vaultSummaries();
2515
- * ```
2516
- */
2517
- vaultSummaries(...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>): Promise<{
2518
- name: string;
2519
- vaultAddress: `0x${string}`;
2520
- leader: `0x${string}`;
2521
- tvl: string;
2522
- isClosed: boolean;
2523
- relationship: {
2524
- type: "normal" | "child";
2525
- } | {
2526
- type: "parent";
2527
- data: {
2528
- childAddresses: `0x${string}`[];
2529
- };
2530
- };
2531
- createTimeMillis: number;
2532
- }[]>;
2533
- /**
2534
- * Request comprehensive user and market data.
2535
- * @param params - Parameters specific to the API request.
2536
- * @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).
2537
- * @returns Comprehensive user and market data.
2538
- *
2539
- * @throws {TransportError} When the transport layer throws an error.
2540
- *
2541
- * @see null
2542
- * @example
2543
- * ```ts
2544
- * import * as hl from "@nktkas/hyperliquid";
2545
- *
2546
- * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
2547
- *
2548
- * const client = new hl.InfoClient({ transport });
2549
- * const data = await client.webData2({ user: "0x..." });
2550
- * ```
2551
- */
2552
- webData2(...args: OmitFirst<OverloadedParameters<typeof webData2>>): Promise<{
2553
- clearinghouseState: {
2554
- marginSummary: {
2555
- accountValue: string;
2556
- totalNtlPos: string;
2557
- totalRawUsd: string;
2558
- totalMarginUsed: string;
2559
- };
2560
- crossMarginSummary: {
2561
- accountValue: string;
2562
- totalNtlPos: string;
2563
- totalRawUsd: string;
2564
- totalMarginUsed: string;
2565
- };
2566
- crossMaintenanceMarginUsed: string;
2567
- withdrawable: string;
2568
- assetPositions: {
2569
- type: "oneWay";
2570
- position: {
2571
- coin: string;
2572
- szi: string;
2573
- leverage: {
2574
- type: "isolated";
2575
- value: number;
2576
- rawUsd: string;
2577
- } | {
2578
- type: "cross";
2579
- value: number;
2580
- };
2581
- entryPx: string;
2582
- positionValue: string;
2583
- unrealizedPnl: string;
2584
- returnOnEquity: string;
2585
- liquidationPx: string | null;
2586
- marginUsed: string;
2587
- maxLeverage: number;
2588
- cumFunding: {
2589
- allTime: string;
2590
- sinceOpen: string;
2591
- sinceChange: string;
2592
- };
2593
- };
2594
- }[];
2595
- time: number;
2596
- };
2597
- leadingVaults: {
2598
- address: `0x${string}`;
2599
- name: string;
2600
- }[];
2601
- totalVaultEquity: string;
2602
- openOrders: {
2603
- coin: string;
2604
- side: "B" | "A";
2605
- limitPx: string;
2606
- sz: string;
2607
- oid: number;
2608
- timestamp: number;
2609
- origSz: string;
2610
- triggerCondition: string;
2611
- isTrigger: boolean;
2612
- triggerPx: string;
2613
- children: any[];
2614
- isPositionTpsl: boolean;
2615
- reduceOnly: boolean;
2616
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
2617
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
2618
- cloid: `0x${string}` | null;
2619
- }[];
2620
- agentAddress: `0x${string}` | null;
2621
- agentValidUntil: number | null;
2622
- cumLedger: string;
2623
- meta: {
2624
- universe: {
2625
- szDecimals: number;
2626
- name: string;
2627
- maxLeverage: number;
2628
- marginTableId: number;
2629
- onlyIsolated?: true | undefined;
2630
- isDelisted?: true | undefined;
2631
- marginMode?: "strictIsolated" | "noCross" | undefined;
2632
- }[];
2633
- marginTables: [number, {
2634
- description: string;
2635
- marginTiers: {
2636
- lowerBound: string;
2637
- maxLeverage: number;
2638
- }[];
2639
- }][];
2640
- collateralToken: number;
2641
- };
2642
- assetCtxs: {
2643
- prevDayPx: string;
2644
- dayNtlVlm: string;
2645
- markPx: string;
2646
- midPx: string | null;
2647
- funding: string;
2648
- openInterest: string;
2649
- premium: string | null;
2650
- oraclePx: string;
2651
- impactPxs: string[] | null;
2652
- dayBaseVlm: string;
2653
- }[];
2654
- serverTime: number;
2655
- isVault: boolean;
2656
- user: `0x${string}`;
2657
- twapStates: [number, {
2658
- coin: string;
2659
- executedNtl: string;
2660
- executedSz: string;
2661
- minutes: number;
2662
- randomize: boolean;
2663
- reduceOnly: boolean;
2664
- side: "B" | "A";
2665
- sz: string;
2666
- timestamp: number;
2667
- user: `0x${string}`;
2668
- }][];
2669
- spotState?: {
2670
- balances: {
2671
- coin: string;
2672
- token: number;
2673
- total: string;
2674
- hold: string;
2675
- entryNtl: string;
2676
- }[];
2677
- evmEscrows?: {
2678
- coin: string;
2679
- token: number;
2680
- total: string;
2681
- }[] | undefined;
2682
- } | undefined;
2683
- spotAssetCtxs: {
2684
- prevDayPx: string;
2685
- dayNtlVlm: string;
2686
- markPx: string;
2687
- midPx: string | null;
2688
- circulatingSupply: string;
2689
- coin: string;
2690
- totalSupply: string;
2691
- dayBaseVlm: string;
2692
- }[];
2693
- optOutOfSpotDusting?: true | undefined;
2694
- perpsAtOpenInterestCap?: string[] | undefined;
2695
- }>;
2696
- }
2697
- //# sourceMappingURL=~client.d.ts.map