@nktkas/hyperliquid 0.30.2 → 0.31.0

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