@nktkas/hyperliquid 0.30.3 → 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 (1455) hide show
  1. package/CONTRIBUTING.md +1 -3
  2. package/esm/bin/_utils.d.ts +33 -1
  3. package/esm/bin/_utils.d.ts.map +1 -1
  4. package/esm/bin/_utils.js +17 -1
  5. package/esm/bin/_utils.js.map +1 -1
  6. package/esm/bin/cli.js +288 -262
  7. package/esm/bin/cli.js.map +1 -1
  8. package/{script/deps/jsr.io/@std/async/1.1.0 → esm/deps/jsr.io/@std/async/1.1.1}/unstable_semaphore.d.ts.map +1 -1
  9. package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js.map +1 -1
  10. package/esm/src/api/_schemas.d.ts +9 -0
  11. package/esm/src/api/_schemas.d.ts.map +1 -1
  12. package/esm/src/api/_schemas.js +10 -1
  13. package/esm/src/api/_schemas.js.map +1 -1
  14. package/esm/src/api/exchange/_methods/_base/_semaphore.js +1 -1
  15. package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts +16 -30
  16. package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -1
  17. package/esm/src/api/exchange/_methods/_base/commonSchemas.js +16 -16
  18. package/esm/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -1
  19. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +23 -60
  20. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
  21. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js +11 -9
  22. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
  23. package/esm/src/api/exchange/_methods/agentSetAbstraction.d.ts +126 -0
  24. package/esm/src/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -0
  25. package/esm/src/api/exchange/_methods/agentSetAbstraction.js +82 -0
  26. package/esm/src/api/exchange/_methods/agentSetAbstraction.js.map +1 -0
  27. package/esm/src/api/exchange/_methods/approveAgent.d.ts +37 -85
  28. package/esm/src/api/exchange/_methods/approveAgent.d.ts.map +1 -1
  29. package/esm/src/api/exchange/_methods/approveAgent.js +14 -14
  30. package/esm/src/api/exchange/_methods/approveAgent.js.map +1 -1
  31. package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts +37 -85
  32. package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
  33. package/esm/src/api/exchange/_methods/approveBuilderFee.js +13 -13
  34. package/esm/src/api/exchange/_methods/approveBuilderFee.js.map +1 -1
  35. package/esm/src/api/exchange/_methods/batchModify.d.ts +99 -431
  36. package/esm/src/api/exchange/_methods/batchModify.d.ts.map +1 -1
  37. package/esm/src/api/exchange/_methods/batchModify.js +31 -36
  38. package/esm/src/api/exchange/_methods/batchModify.js.map +1 -1
  39. package/esm/src/api/exchange/_methods/borrowLend.d.ts +38 -84
  40. package/esm/src/api/exchange/_methods/borrowLend.d.ts.map +1 -1
  41. package/esm/src/api/exchange/_methods/borrowLend.js +13 -13
  42. package/esm/src/api/exchange/_methods/borrowLend.js.map +1 -1
  43. package/esm/src/api/exchange/_methods/cDeposit.d.ts +34 -80
  44. package/esm/src/api/exchange/_methods/cDeposit.d.ts.map +1 -1
  45. package/esm/src/api/exchange/_methods/cDeposit.js +12 -12
  46. package/esm/src/api/exchange/_methods/cDeposit.js.map +1 -1
  47. package/esm/src/api/exchange/_methods/cSignerAction.d.ts +32 -79
  48. package/esm/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
  49. package/esm/src/api/exchange/_methods/cSignerAction.js +12 -12
  50. package/esm/src/api/exchange/_methods/cSignerAction.js.map +1 -1
  51. package/esm/src/api/exchange/_methods/cValidatorAction.d.ts +107 -314
  52. package/esm/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
  53. package/esm/src/api/exchange/_methods/cValidatorAction.js +37 -37
  54. package/esm/src/api/exchange/_methods/cValidatorAction.js.map +1 -1
  55. package/esm/src/api/exchange/_methods/cWithdraw.d.ts +34 -80
  56. package/esm/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
  57. package/esm/src/api/exchange/_methods/cWithdraw.js +12 -12
  58. package/esm/src/api/exchange/_methods/cWithdraw.js.map +1 -1
  59. package/esm/src/api/exchange/_methods/cancel.d.ts +38 -100
  60. package/esm/src/api/exchange/_methods/cancel.d.ts.map +1 -1
  61. package/esm/src/api/exchange/_methods/cancel.js +24 -24
  62. package/esm/src/api/exchange/_methods/cancel.js.map +1 -1
  63. package/esm/src/api/exchange/_methods/cancelByCloid.d.ts +38 -110
  64. package/esm/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
  65. package/esm/src/api/exchange/_methods/cancelByCloid.js +14 -14
  66. package/esm/src/api/exchange/_methods/cancelByCloid.js.map +1 -1
  67. package/esm/src/api/exchange/_methods/claimRewards.d.ts +21 -60
  68. package/esm/src/api/exchange/_methods/claimRewards.d.ts.map +1 -1
  69. package/esm/src/api/exchange/_methods/claimRewards.js +9 -9
  70. package/esm/src/api/exchange/_methods/claimRewards.js.map +1 -1
  71. package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts +58 -122
  72. package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
  73. package/esm/src/api/exchange/_methods/convertToMultiSigUser.js +17 -18
  74. package/esm/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
  75. package/esm/src/api/exchange/_methods/createSubAccount.d.ts +27 -65
  76. package/esm/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
  77. package/esm/src/api/exchange/_methods/createSubAccount.js +16 -16
  78. package/esm/src/api/exchange/_methods/createSubAccount.js.map +1 -1
  79. package/esm/src/api/exchange/_methods/createVault.d.ts +36 -80
  80. package/esm/src/api/exchange/_methods/createVault.d.ts.map +1 -1
  81. package/esm/src/api/exchange/_methods/createVault.js +19 -20
  82. package/esm/src/api/exchange/_methods/createVault.js.map +1 -1
  83. package/esm/src/api/exchange/_methods/evmUserModify.d.ts +26 -67
  84. package/esm/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
  85. package/esm/src/api/exchange/_methods/evmUserModify.js +10 -10
  86. package/esm/src/api/exchange/_methods/evmUserModify.js.map +1 -1
  87. package/esm/src/api/exchange/_methods/linkStakingUser.d.ts +37 -85
  88. package/esm/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
  89. package/esm/src/api/exchange/_methods/linkStakingUser.js +13 -17
  90. package/esm/src/api/exchange/_methods/linkStakingUser.js.map +1 -1
  91. package/esm/src/api/exchange/_methods/modify.d.ts +81 -263
  92. package/esm/src/api/exchange/_methods/modify.d.ts.map +1 -1
  93. package/esm/src/api/exchange/_methods/modify.js +29 -34
  94. package/esm/src/api/exchange/_methods/modify.js.map +1 -1
  95. package/esm/src/api/exchange/_methods/noop.d.ts +21 -60
  96. package/esm/src/api/exchange/_methods/noop.d.ts.map +1 -1
  97. package/esm/src/api/exchange/_methods/noop.js +9 -9
  98. package/esm/src/api/exchange/_methods/noop.js.map +1 -1
  99. package/esm/src/api/exchange/_methods/order.d.ts +105 -365
  100. package/esm/src/api/exchange/_methods/order.d.ts.map +1 -1
  101. package/esm/src/api/exchange/_methods/order.js +53 -61
  102. package/esm/src/api/exchange/_methods/order.js.map +1 -1
  103. package/esm/src/api/exchange/_methods/perpDeploy.d.ts +245 -679
  104. package/esm/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
  105. package/esm/src/api/exchange/_methods/perpDeploy.js +83 -107
  106. package/esm/src/api/exchange/_methods/perpDeploy.js.map +1 -1
  107. package/esm/src/api/exchange/_methods/registerReferrer.d.ts +26 -67
  108. package/esm/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
  109. package/esm/src/api/exchange/_methods/registerReferrer.js +10 -10
  110. package/esm/src/api/exchange/_methods/registerReferrer.js.map +1 -1
  111. package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts +26 -67
  112. package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
  113. package/esm/src/api/exchange/_methods/reserveRequestWeight.js +10 -11
  114. package/esm/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
  115. package/esm/src/api/exchange/_methods/scheduleCancel.d.ts +27 -69
  116. package/esm/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
  117. package/esm/src/api/exchange/_methods/scheduleCancel.js +11 -13
  118. package/esm/src/api/exchange/_methods/scheduleCancel.js.map +1 -1
  119. package/esm/src/api/exchange/_methods/sendAsset.d.ts +59 -115
  120. package/esm/src/api/exchange/_methods/sendAsset.d.ts.map +1 -1
  121. package/esm/src/api/exchange/_methods/sendAsset.js +17 -17
  122. package/esm/src/api/exchange/_methods/sendAsset.js.map +1 -1
  123. package/esm/src/api/exchange/_methods/setDisplayName.d.ts +26 -67
  124. package/esm/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
  125. package/esm/src/api/exchange/_methods/setDisplayName.js +10 -11
  126. package/esm/src/api/exchange/_methods/setDisplayName.js.map +1 -1
  127. package/esm/src/api/exchange/_methods/setReferrer.d.ts +26 -67
  128. package/esm/src/api/exchange/_methods/setReferrer.d.ts.map +1 -1
  129. package/esm/src/api/exchange/_methods/setReferrer.js +10 -10
  130. package/esm/src/api/exchange/_methods/setReferrer.js.map +1 -1
  131. package/esm/src/api/exchange/_methods/spotDeploy.d.ts +164 -419
  132. package/esm/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
  133. package/esm/src/api/exchange/_methods/spotDeploy.js +56 -68
  134. package/esm/src/api/exchange/_methods/spotDeploy.js.map +1 -1
  135. package/esm/src/api/exchange/_methods/spotSend.d.ts +45 -95
  136. package/esm/src/api/exchange/_methods/spotSend.d.ts.map +1 -1
  137. package/esm/src/api/exchange/_methods/spotSend.js +14 -14
  138. package/esm/src/api/exchange/_methods/spotSend.js.map +1 -1
  139. package/esm/src/api/exchange/_methods/spotUser.d.ts +32 -83
  140. package/esm/src/api/exchange/_methods/spotUser.d.ts.map +1 -1
  141. package/esm/src/api/exchange/_methods/spotUser.js +12 -12
  142. package/esm/src/api/exchange/_methods/spotUser.js.map +1 -1
  143. package/esm/src/api/exchange/_methods/subAccountModify.d.ts +29 -72
  144. package/esm/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
  145. package/esm/src/api/exchange/_methods/subAccountModify.js +11 -11
  146. package/esm/src/api/exchange/_methods/subAccountModify.js.map +1 -1
  147. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +40 -87
  148. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
  149. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js +13 -13
  150. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
  151. package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts +32 -77
  152. package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
  153. package/esm/src/api/exchange/_methods/subAccountTransfer.js +12 -12
  154. package/esm/src/api/exchange/_methods/subAccountTransfer.js.map +1 -1
  155. package/esm/src/api/exchange/_methods/tokenDelegate.d.ts +40 -90
  156. package/esm/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
  157. package/esm/src/api/exchange/_methods/tokenDelegate.js +14 -14
  158. package/esm/src/api/exchange/_methods/tokenDelegate.js.map +1 -1
  159. package/esm/src/api/exchange/_methods/twapCancel.d.ts +32 -81
  160. package/esm/src/api/exchange/_methods/twapCancel.d.ts.map +1 -1
  161. package/esm/src/api/exchange/_methods/twapCancel.js +22 -22
  162. package/esm/src/api/exchange/_methods/twapCancel.js.map +1 -1
  163. package/esm/src/api/exchange/_methods/twapOrder.d.ts +53 -153
  164. package/esm/src/api/exchange/_methods/twapOrder.d.ts.map +1 -1
  165. package/esm/src/api/exchange/_methods/twapOrder.js +31 -31
  166. package/esm/src/api/exchange/_methods/twapOrder.js.map +1 -1
  167. package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts +33 -79
  168. package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
  169. package/esm/src/api/exchange/_methods/updateIsolatedMargin.js +13 -13
  170. package/esm/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
  171. package/esm/src/api/exchange/_methods/updateLeverage.d.ts +38 -84
  172. package/esm/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
  173. package/esm/src/api/exchange/_methods/updateLeverage.js +13 -13
  174. package/esm/src/api/exchange/_methods/updateLeverage.js.map +1 -1
  175. package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts +37 -85
  176. package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
  177. package/esm/src/api/exchange/_methods/usdClassTransfer.js +13 -13
  178. package/esm/src/api/exchange/_methods/usdClassTransfer.js.map +1 -1
  179. package/esm/src/api/exchange/_methods/usdSend.d.ts +37 -85
  180. package/esm/src/api/exchange/_methods/usdSend.d.ts.map +1 -1
  181. package/esm/src/api/exchange/_methods/usdSend.js +13 -13
  182. package/esm/src/api/exchange/_methods/usdSend.js.map +1 -1
  183. package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts +39 -85
  184. package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
  185. package/esm/src/api/exchange/_methods/userDexAbstraction.js +15 -13
  186. package/esm/src/api/exchange/_methods/userDexAbstraction.js.map +1 -1
  187. package/esm/src/api/exchange/_methods/userPortfolioMargin.d.ts +37 -85
  188. package/esm/src/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
  189. package/esm/src/api/exchange/_methods/userPortfolioMargin.js +13 -13
  190. package/esm/src/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
  191. package/esm/src/api/exchange/_methods/userSetAbstraction.d.ts +145 -0
  192. package/esm/src/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -0
  193. package/esm/src/api/exchange/_methods/userSetAbstraction.js +92 -0
  194. package/esm/src/api/exchange/_methods/userSetAbstraction.js.map +1 -0
  195. package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts +26 -67
  196. package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
  197. package/esm/src/api/exchange/_methods/validatorL1Stream.js +10 -10
  198. package/esm/src/api/exchange/_methods/validatorL1Stream.js.map +1 -1
  199. package/esm/src/api/exchange/_methods/vaultDistribute.d.ts +29 -72
  200. package/esm/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
  201. package/esm/src/api/exchange/_methods/vaultDistribute.js +11 -12
  202. package/esm/src/api/exchange/_methods/vaultDistribute.js.map +1 -1
  203. package/esm/src/api/exchange/_methods/vaultModify.d.ts +32 -77
  204. package/esm/src/api/exchange/_methods/vaultModify.d.ts.map +1 -1
  205. package/esm/src/api/exchange/_methods/vaultModify.js +12 -12
  206. package/esm/src/api/exchange/_methods/vaultModify.js.map +1 -1
  207. package/esm/src/api/exchange/_methods/vaultTransfer.d.ts +32 -77
  208. package/esm/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
  209. package/esm/src/api/exchange/_methods/vaultTransfer.js +12 -12
  210. package/esm/src/api/exchange/_methods/vaultTransfer.js.map +1 -1
  211. package/esm/src/api/exchange/_methods/withdraw3.d.ts +37 -85
  212. package/esm/src/api/exchange/_methods/withdraw3.d.ts.map +1 -1
  213. package/esm/src/api/exchange/_methods/withdraw3.js +13 -13
  214. package/esm/src/api/exchange/_methods/withdraw3.js.map +1 -1
  215. package/esm/src/api/exchange/client.d.ts +1278 -48
  216. package/esm/src/api/exchange/client.d.ts.map +1 -1
  217. package/esm/src/api/exchange/client.js +1253 -46
  218. package/esm/src/api/exchange/client.js.map +1 -1
  219. package/esm/src/api/exchange/mod.d.ts +2 -0
  220. package/esm/src/api/exchange/mod.d.ts.map +1 -1
  221. package/esm/src/api/exchange/mod.js +2 -0
  222. package/esm/src/api/exchange/mod.js.map +1 -1
  223. package/esm/src/api/info/_methods/_base/commonSchemas.d.ts +100 -196
  224. package/esm/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -1
  225. package/esm/src/api/info/_methods/_base/commonSchemas.js +103 -141
  226. package/esm/src/api/info/_methods/_base/commonSchemas.js.map +1 -1
  227. package/esm/src/api/info/_methods/activeAssetData.d.ts +19 -44
  228. package/esm/src/api/info/_methods/activeAssetData.d.ts.map +1 -1
  229. package/esm/src/api/info/_methods/activeAssetData.js +19 -19
  230. package/esm/src/api/info/_methods/activeAssetData.js.map +1 -1
  231. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +11 -20
  232. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
  233. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js +12 -12
  234. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
  235. package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts +13 -33
  236. package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -1
  237. package/esm/src/api/info/_methods/allBorrowLendReserveStates.js +4 -7
  238. package/esm/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -1
  239. package/esm/src/api/info/_methods/allMids.d.ts +5 -10
  240. package/esm/src/api/info/_methods/allMids.d.ts.map +1 -1
  241. package/esm/src/api/info/_methods/allMids.js +5 -5
  242. package/esm/src/api/info/_methods/allMids.js.map +1 -1
  243. package/esm/src/api/info/_methods/allPerpMetas.d.ts +24 -91
  244. package/esm/src/api/info/_methods/allPerpMetas.d.ts.map +1 -1
  245. package/esm/src/api/info/_methods/allPerpMetas.js +4 -4
  246. package/esm/src/api/info/_methods/allPerpMetas.js.map +1 -1
  247. package/esm/src/api/info/_methods/blockDetails.d.ts +24 -92
  248. package/esm/src/api/info/_methods/blockDetails.d.ts.map +1 -1
  249. package/esm/src/api/info/_methods/blockDetails.js +15 -15
  250. package/esm/src/api/info/_methods/blockDetails.js.map +1 -1
  251. package/esm/src/api/info/_methods/borrowLendReserveState.d.ts +14 -26
  252. package/esm/src/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
  253. package/esm/src/api/info/_methods/borrowLendReserveState.js +14 -14
  254. package/esm/src/api/info/_methods/borrowLendReserveState.js.map +1 -1
  255. package/esm/src/api/info/_methods/borrowLendUserState.d.ts +18 -49
  256. package/esm/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
  257. package/esm/src/api/info/_methods/borrowLendUserState.js +18 -19
  258. package/esm/src/api/info/_methods/borrowLendUserState.js.map +1 -1
  259. package/esm/src/api/info/_methods/candleSnapshot.d.ts +21 -45
  260. package/esm/src/api/info/_methods/candleSnapshot.d.ts.map +1 -1
  261. package/esm/src/api/info/_methods/candleSnapshot.js +21 -21
  262. package/esm/src/api/info/_methods/candleSnapshot.js.map +1 -1
  263. package/esm/src/api/info/_methods/clearinghouseState.d.ts +48 -165
  264. package/esm/src/api/info/_methods/clearinghouseState.d.ts.map +1 -1
  265. package/esm/src/api/info/_methods/clearinghouseState.js +48 -48
  266. package/esm/src/api/info/_methods/clearinghouseState.js.map +1 -1
  267. package/esm/src/api/info/_methods/delegations.d.ts +9 -16
  268. package/esm/src/api/info/_methods/delegations.d.ts.map +1 -1
  269. package/esm/src/api/info/_methods/delegations.js +9 -9
  270. package/esm/src/api/info/_methods/delegations.js.map +1 -1
  271. package/esm/src/api/info/_methods/delegatorHistory.d.ts +22 -68
  272. package/esm/src/api/info/_methods/delegatorHistory.d.ts.map +1 -1
  273. package/esm/src/api/info/_methods/delegatorHistory.js +22 -22
  274. package/esm/src/api/info/_methods/delegatorHistory.js.map +1 -1
  275. package/esm/src/api/info/_methods/delegatorRewards.d.ts +9 -16
  276. package/esm/src/api/info/_methods/delegatorRewards.d.ts.map +1 -1
  277. package/esm/src/api/info/_methods/delegatorRewards.js +9 -9
  278. package/esm/src/api/info/_methods/delegatorRewards.js.map +1 -1
  279. package/esm/src/api/info/_methods/delegatorSummary.d.ts +10 -18
  280. package/esm/src/api/info/_methods/delegatorSummary.d.ts.map +1 -1
  281. package/esm/src/api/info/_methods/delegatorSummary.js +10 -10
  282. package/esm/src/api/info/_methods/delegatorSummary.js.map +1 -1
  283. package/esm/src/api/info/_methods/exchangeStatus.d.ts +7 -12
  284. package/esm/src/api/info/_methods/exchangeStatus.d.ts.map +1 -1
  285. package/esm/src/api/info/_methods/exchangeStatus.js +7 -7
  286. package/esm/src/api/info/_methods/exchangeStatus.js.map +1 -1
  287. package/esm/src/api/info/_methods/extraAgents.d.ts +9 -16
  288. package/esm/src/api/info/_methods/extraAgents.d.ts.map +1 -1
  289. package/esm/src/api/info/_methods/extraAgents.js +9 -9
  290. package/esm/src/api/info/_methods/extraAgents.js.map +1 -1
  291. package/esm/src/api/info/_methods/frontendOpenOrders.d.ts +23 -61
  292. package/esm/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
  293. package/esm/src/api/info/_methods/frontendOpenOrders.js +6 -6
  294. package/esm/src/api/info/_methods/frontendOpenOrders.js.map +1 -1
  295. package/esm/src/api/info/_methods/fundingHistory.d.ts +12 -22
  296. package/esm/src/api/info/_methods/fundingHistory.d.ts.map +1 -1
  297. package/esm/src/api/info/_methods/fundingHistory.js +12 -12
  298. package/esm/src/api/info/_methods/fundingHistory.js.map +1 -1
  299. package/esm/src/api/info/_methods/gossipRootIps.d.ts +4 -6
  300. package/esm/src/api/info/_methods/gossipRootIps.d.ts.map +1 -1
  301. package/esm/src/api/info/_methods/gossipRootIps.js +4 -4
  302. package/esm/src/api/info/_methods/gossipRootIps.js.map +1 -1
  303. package/esm/src/api/info/_methods/historicalOrders.d.ts +26 -84
  304. package/esm/src/api/info/_methods/historicalOrders.d.ts.map +1 -1
  305. package/esm/src/api/info/_methods/historicalOrders.js +9 -38
  306. package/esm/src/api/info/_methods/historicalOrders.js.map +1 -1
  307. package/esm/src/api/info/_methods/isVip.d.ts +5 -8
  308. package/esm/src/api/info/_methods/isVip.d.ts.map +1 -1
  309. package/esm/src/api/info/_methods/isVip.js +5 -5
  310. package/esm/src/api/info/_methods/isVip.js.map +1 -1
  311. package/esm/src/api/info/_methods/l2Book.d.ts +21 -52
  312. package/esm/src/api/info/_methods/l2Book.d.ts.map +1 -1
  313. package/esm/src/api/info/_methods/l2Book.js +18 -16
  314. package/esm/src/api/info/_methods/l2Book.js.map +1 -1
  315. package/esm/src/api/info/_methods/leadingVaults.d.ts +8 -14
  316. package/esm/src/api/info/_methods/leadingVaults.d.ts.map +1 -1
  317. package/esm/src/api/info/_methods/leadingVaults.js +8 -8
  318. package/esm/src/api/info/_methods/leadingVaults.js.map +1 -1
  319. package/esm/src/api/info/_methods/legalCheck.d.ts +9 -16
  320. package/esm/src/api/info/_methods/legalCheck.d.ts.map +1 -1
  321. package/esm/src/api/info/_methods/legalCheck.js +9 -9
  322. package/esm/src/api/info/_methods/legalCheck.js.map +1 -1
  323. package/esm/src/api/info/_methods/liquidatable.d.ts +4 -6
  324. package/esm/src/api/info/_methods/liquidatable.d.ts.map +1 -1
  325. package/esm/src/api/info/_methods/liquidatable.js +4 -4
  326. package/esm/src/api/info/_methods/liquidatable.js.map +1 -1
  327. package/esm/src/api/info/_methods/marginTable.d.ts +11 -23
  328. package/esm/src/api/info/_methods/marginTable.d.ts.map +1 -1
  329. package/esm/src/api/info/_methods/marginTable.js +11 -11
  330. package/esm/src/api/info/_methods/marginTable.js.map +1 -1
  331. package/esm/src/api/info/_methods/maxBuilderFee.d.ts +6 -10
  332. package/esm/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -1
  333. package/esm/src/api/info/_methods/maxBuilderFee.js +6 -6
  334. package/esm/src/api/info/_methods/maxBuilderFee.js.map +1 -1
  335. package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts +4 -6
  336. package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
  337. package/esm/src/api/info/_methods/maxMarketOrderNtls.js +5 -5
  338. package/esm/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -1
  339. package/esm/src/api/info/_methods/meta.d.ts +25 -73
  340. package/esm/src/api/info/_methods/meta.d.ts.map +1 -1
  341. package/esm/src/api/info/_methods/meta.js +19 -22
  342. package/esm/src/api/info/_methods/meta.js.map +1 -1
  343. package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts +36 -126
  344. package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -1
  345. package/esm/src/api/info/_methods/metaAndAssetCtxs.js +5 -8
  346. package/esm/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -1
  347. package/esm/src/api/info/_methods/openOrders.d.ts +16 -40
  348. package/esm/src/api/info/_methods/openOrders.d.ts.map +1 -1
  349. package/esm/src/api/info/_methods/openOrders.js +6 -6
  350. package/esm/src/api/info/_methods/openOrders.js.map +1 -1
  351. package/esm/src/api/info/_methods/orderStatus.d.ts +31 -116
  352. package/esm/src/api/info/_methods/orderStatus.d.ts.map +1 -1
  353. package/esm/src/api/info/_methods/orderStatus.js +14 -45
  354. package/esm/src/api/info/_methods/orderStatus.js.map +1 -1
  355. package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts +10 -18
  356. package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -1
  357. package/esm/src/api/info/_methods/perpDeployAuctionStatus.js +10 -10
  358. package/esm/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -1
  359. package/esm/src/api/info/_methods/perpDexLimits.d.ts +10 -18
  360. package/esm/src/api/info/_methods/perpDexLimits.d.ts.map +1 -1
  361. package/esm/src/api/info/_methods/perpDexLimits.js +10 -10
  362. package/esm/src/api/info/_methods/perpDexLimits.js.map +1 -1
  363. package/esm/src/api/info/_methods/perpDexStatus.d.ts +7 -12
  364. package/esm/src/api/info/_methods/perpDexStatus.d.ts.map +1 -1
  365. package/esm/src/api/info/_methods/perpDexStatus.js +7 -7
  366. package/esm/src/api/info/_methods/perpDexStatus.js.map +1 -1
  367. package/esm/src/api/info/_methods/perpDexs.d.ts +16 -42
  368. package/esm/src/api/info/_methods/perpDexs.d.ts.map +1 -1
  369. package/esm/src/api/info/_methods/perpDexs.js +17 -20
  370. package/esm/src/api/info/_methods/perpDexs.js.map +1 -1
  371. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +5 -8
  372. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -1
  373. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js +5 -5
  374. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -1
  375. package/esm/src/api/info/_methods/portfolio.d.ts +37 -104
  376. package/esm/src/api/info/_methods/portfolio.d.ts.map +1 -1
  377. package/esm/src/api/info/_methods/portfolio.js +11 -11
  378. package/esm/src/api/info/_methods/portfolio.js.map +1 -1
  379. package/esm/src/api/info/_methods/preTransferCheck.d.ts +11 -20
  380. package/esm/src/api/info/_methods/preTransferCheck.d.ts.map +1 -1
  381. package/esm/src/api/info/_methods/preTransferCheck.js +11 -11
  382. package/esm/src/api/info/_methods/preTransferCheck.js.map +1 -1
  383. package/esm/src/api/info/_methods/predictedFundings.d.ts +8 -14
  384. package/esm/src/api/info/_methods/predictedFundings.d.ts.map +1 -1
  385. package/esm/src/api/info/_methods/predictedFundings.js +8 -8
  386. package/esm/src/api/info/_methods/predictedFundings.js.map +1 -1
  387. package/esm/src/api/info/_methods/recentTrades.d.ts +14 -26
  388. package/esm/src/api/info/_methods/recentTrades.d.ts.map +1 -1
  389. package/esm/src/api/info/_methods/recentTrades.js +14 -14
  390. package/esm/src/api/info/_methods/recentTrades.js.map +1 -1
  391. package/esm/src/api/info/_methods/referral.d.ts +50 -170
  392. package/esm/src/api/info/_methods/referral.d.ts.map +1 -1
  393. package/esm/src/api/info/_methods/referral.js +50 -50
  394. package/esm/src/api/info/_methods/referral.js.map +1 -1
  395. package/esm/src/api/info/_methods/spotClearinghouseState.d.ts +19 -46
  396. package/esm/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
  397. package/esm/src/api/info/_methods/spotClearinghouseState.js +19 -19
  398. package/esm/src/api/info/_methods/spotClearinghouseState.js.map +1 -1
  399. package/esm/src/api/info/_methods/spotDeployState.d.ts +30 -96
  400. package/esm/src/api/info/_methods/spotDeployState.d.ts.map +1 -1
  401. package/esm/src/api/info/_methods/spotDeployState.js +24 -24
  402. package/esm/src/api/info/_methods/spotDeployState.js.map +1 -1
  403. package/esm/src/api/info/_methods/spotMeta.d.ts +47 -98
  404. package/esm/src/api/info/_methods/spotMeta.d.ts.map +1 -1
  405. package/esm/src/api/info/_methods/spotMeta.js +47 -34
  406. package/esm/src/api/info/_methods/spotMeta.js.map +1 -1
  407. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +50 -155
  408. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -1
  409. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js +4 -7
  410. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -1
  411. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +10 -24
  412. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -1
  413. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js +4 -4
  414. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -1
  415. package/esm/src/api/info/_methods/subAccounts.d.ts +66 -323
  416. package/esm/src/api/info/_methods/subAccounts.d.ts.map +1 -1
  417. package/esm/src/api/info/_methods/subAccounts.js +11 -11
  418. package/esm/src/api/info/_methods/subAccounts.js.map +1 -1
  419. package/esm/src/api/info/_methods/subAccounts2.d.ts +67 -325
  420. package/esm/src/api/info/_methods/subAccounts2.d.ts.map +1 -1
  421. package/esm/src/api/info/_methods/subAccounts2.js +11 -12
  422. package/esm/src/api/info/_methods/subAccounts2.js.map +1 -1
  423. package/esm/src/api/info/_methods/tokenDetails.d.ts +26 -54
  424. package/esm/src/api/info/_methods/tokenDetails.d.ts.map +1 -1
  425. package/esm/src/api/info/_methods/tokenDetails.js +26 -26
  426. package/esm/src/api/info/_methods/tokenDetails.js.map +1 -1
  427. package/esm/src/api/info/_methods/twapHistory.d.ts +25 -76
  428. package/esm/src/api/info/_methods/twapHistory.d.ts.map +1 -1
  429. package/esm/src/api/info/_methods/twapHistory.js +14 -18
  430. package/esm/src/api/info/_methods/twapHistory.js.map +1 -1
  431. package/esm/src/api/info/_methods/txDetails.d.ts +17 -60
  432. package/esm/src/api/info/_methods/txDetails.d.ts.map +1 -1
  433. package/esm/src/api/info/_methods/txDetails.js +8 -8
  434. package/esm/src/api/info/_methods/txDetails.js.map +1 -1
  435. package/esm/src/api/info/_methods/userBorrowLendInterest.d.ts +12 -22
  436. package/esm/src/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
  437. package/esm/src/api/info/_methods/userBorrowLendInterest.js +12 -12
  438. package/esm/src/api/info/_methods/userBorrowLendInterest.js.map +1 -1
  439. package/esm/src/api/info/_methods/userDetails.d.ts +17 -60
  440. package/esm/src/api/info/_methods/userDetails.d.ts.map +1 -1
  441. package/esm/src/api/info/_methods/userDetails.js +8 -8
  442. package/esm/src/api/info/_methods/userDetails.js.map +1 -1
  443. package/esm/src/api/info/_methods/userDexAbstraction.d.ts +5 -8
  444. package/esm/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
  445. package/esm/src/api/info/_methods/userDexAbstraction.js +5 -5
  446. package/esm/src/api/info/_methods/userDexAbstraction.js.map +1 -1
  447. package/esm/src/api/info/_methods/userFees.d.ts +52 -160
  448. package/esm/src/api/info/_methods/userFees.d.ts.map +1 -1
  449. package/esm/src/api/info/_methods/userFees.js +52 -59
  450. package/esm/src/api/info/_methods/userFees.js.map +1 -1
  451. package/esm/src/api/info/_methods/userFills.d.ts +30 -76
  452. package/esm/src/api/info/_methods/userFills.d.ts.map +1 -1
  453. package/esm/src/api/info/_methods/userFills.js +13 -13
  454. package/esm/src/api/info/_methods/userFills.js.map +1 -1
  455. package/esm/src/api/info/_methods/userFillsByTime.d.ts +32 -103
  456. package/esm/src/api/info/_methods/userFillsByTime.d.ts.map +1 -1
  457. package/esm/src/api/info/_methods/userFillsByTime.js +8 -8
  458. package/esm/src/api/info/_methods/userFillsByTime.js.map +1 -1
  459. package/esm/src/api/info/_methods/userFunding.d.ts +18 -41
  460. package/esm/src/api/info/_methods/userFunding.d.ts.map +1 -1
  461. package/esm/src/api/info/_methods/userFunding.js +18 -18
  462. package/esm/src/api/info/_methods/userFunding.js.map +1 -1
  463. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +100 -324
  464. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
  465. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js +100 -100
  466. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
  467. package/esm/src/api/info/_methods/userRateLimit.d.ts +10 -18
  468. package/esm/src/api/info/_methods/userRateLimit.d.ts.map +1 -1
  469. package/esm/src/api/info/_methods/userRateLimit.js +10 -10
  470. package/esm/src/api/info/_methods/userRateLimit.js.map +1 -1
  471. package/esm/src/api/info/_methods/userRole.d.ts +15 -34
  472. package/esm/src/api/info/_methods/userRole.d.ts.map +1 -1
  473. package/esm/src/api/info/_methods/userRole.js +15 -15
  474. package/esm/src/api/info/_methods/userRole.js.map +1 -1
  475. package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts +8 -14
  476. package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
  477. package/esm/src/api/info/_methods/userToMultiSigSigners.js +8 -8
  478. package/esm/src/api/info/_methods/userToMultiSigSigners.js.map +1 -1
  479. package/esm/src/api/info/_methods/userTwapSliceFills.d.ts +25 -78
  480. package/esm/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
  481. package/esm/src/api/info/_methods/userTwapSliceFills.js +8 -8
  482. package/esm/src/api/info/_methods/userTwapSliceFills.js.map +1 -1
  483. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +28 -103
  484. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
  485. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js +8 -8
  486. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
  487. package/esm/src/api/info/_methods/userVaultEquities.d.ts +9 -16
  488. package/esm/src/api/info/_methods/userVaultEquities.d.ts.map +1 -1
  489. package/esm/src/api/info/_methods/userVaultEquities.js +9 -9
  490. package/esm/src/api/info/_methods/userVaultEquities.js.map +1 -1
  491. package/esm/src/api/info/_methods/validatorL1Votes.d.ts +9 -23
  492. package/esm/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -1
  493. package/esm/src/api/info/_methods/validatorL1Votes.js +11 -11
  494. package/esm/src/api/info/_methods/validatorL1Votes.js.map +1 -1
  495. package/esm/src/api/info/_methods/validatorSummaries.d.ts +28 -78
  496. package/esm/src/api/info/_methods/validatorSummaries.d.ts.map +1 -1
  497. package/esm/src/api/info/_methods/validatorSummaries.js +22 -22
  498. package/esm/src/api/info/_methods/validatorSummaries.js.map +1 -1
  499. package/esm/src/api/info/_methods/vaultDetails.d.ts +77 -281
  500. package/esm/src/api/info/_methods/vaultDetails.d.ts.map +1 -1
  501. package/esm/src/api/info/_methods/vaultDetails.js +39 -39
  502. package/esm/src/api/info/_methods/vaultDetails.js.map +1 -1
  503. package/esm/src/api/info/_methods/vaultSummaries.d.ts +18 -51
  504. package/esm/src/api/info/_methods/vaultSummaries.d.ts.map +1 -1
  505. package/esm/src/api/info/_methods/vaultSummaries.js +12 -12
  506. package/esm/src/api/info/_methods/vaultSummaries.js.map +1 -1
  507. package/esm/src/api/info/_methods/webData2.d.ts +149 -673
  508. package/esm/src/api/info/_methods/webData2.d.ts.map +1 -1
  509. package/esm/src/api/info/_methods/webData2.js +23 -23
  510. package/esm/src/api/info/_methods/webData2.js.map +1 -1
  511. package/esm/src/api/info/client.d.ts +1578 -80
  512. package/esm/src/api/info/client.d.ts.map +1 -1
  513. package/esm/src/api/info/client.js +1489 -78
  514. package/esm/src/api/info/client.js.map +1 -1
  515. package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts +19 -58
  516. package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -1
  517. package/esm/src/api/subscription/_methods/activeAssetCtx.js +8 -8
  518. package/esm/src/api/subscription/_methods/activeAssetCtx.js.map +1 -1
  519. package/esm/src/api/subscription/_methods/activeAssetData.d.ts +19 -58
  520. package/esm/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -1
  521. package/esm/src/api/subscription/_methods/activeAssetData.js +6 -6
  522. package/esm/src/api/subscription/_methods/activeAssetData.js.map +1 -1
  523. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +17 -50
  524. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -1
  525. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js +8 -8
  526. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -1
  527. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +17 -54
  528. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -1
  529. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js +6 -9
  530. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -1
  531. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +50 -255
  532. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -1
  533. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js +8 -11
  534. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -1
  535. package/esm/src/api/subscription/_methods/allMids.d.ts +8 -20
  536. package/esm/src/api/subscription/_methods/allMids.d.ts.map +1 -1
  537. package/esm/src/api/subscription/_methods/allMids.js +8 -8
  538. package/esm/src/api/subscription/_methods/allMids.js.map +1 -1
  539. package/esm/src/api/subscription/_methods/assetCtxs.d.ts +19 -58
  540. package/esm/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
  541. package/esm/src/api/subscription/_methods/assetCtxs.js +8 -8
  542. package/esm/src/api/subscription/_methods/assetCtxs.js.map +1 -1
  543. package/esm/src/api/subscription/_methods/bbo.d.ts +17 -48
  544. package/esm/src/api/subscription/_methods/bbo.d.ts.map +1 -1
  545. package/esm/src/api/subscription/_methods/bbo.js +14 -14
  546. package/esm/src/api/subscription/_methods/bbo.js.map +1 -1
  547. package/esm/src/api/subscription/_methods/candle.d.ts +17 -32
  548. package/esm/src/api/subscription/_methods/candle.d.ts.map +1 -1
  549. package/esm/src/api/subscription/_methods/candle.js +17 -17
  550. package/esm/src/api/subscription/_methods/candle.js.map +1 -1
  551. package/esm/src/api/subscription/_methods/clearinghouseState.d.ts +52 -259
  552. package/esm/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
  553. package/esm/src/api/subscription/_methods/clearinghouseState.js +10 -10
  554. package/esm/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
  555. package/esm/src/api/subscription/_methods/explorerBlock.d.ts +10 -18
  556. package/esm/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
  557. package/esm/src/api/subscription/_methods/explorerBlock.js +10 -10
  558. package/esm/src/api/subscription/_methods/explorerBlock.js.map +1 -1
  559. package/esm/src/api/subscription/_methods/explorerTxs.d.ts +13 -41
  560. package/esm/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
  561. package/esm/src/api/subscription/_methods/explorerTxs.js +4 -4
  562. package/esm/src/api/subscription/_methods/explorerTxs.js.map +1 -1
  563. package/esm/src/api/subscription/_methods/l2Book.d.ts +21 -52
  564. package/esm/src/api/subscription/_methods/l2Book.d.ts.map +1 -1
  565. package/esm/src/api/subscription/_methods/l2Book.js +18 -16
  566. package/esm/src/api/subscription/_methods/l2Book.js.map +1 -1
  567. package/esm/src/api/subscription/_methods/notification.d.ts +7 -12
  568. package/esm/src/api/subscription/_methods/notification.d.ts.map +1 -1
  569. package/esm/src/api/subscription/_methods/notification.js +7 -7
  570. package/esm/src/api/subscription/_methods/notification.js.map +1 -1
  571. package/esm/src/api/subscription/_methods/openOrders.d.ts +27 -103
  572. package/esm/src/api/subscription/_methods/openOrders.d.ts.map +1 -1
  573. package/esm/src/api/subscription/_methods/openOrders.js +10 -10
  574. package/esm/src/api/subscription/_methods/openOrders.js.map +1 -1
  575. package/esm/src/api/subscription/_methods/orderUpdates.d.ts +19 -56
  576. package/esm/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -1
  577. package/esm/src/api/subscription/_methods/orderUpdates.js +9 -38
  578. package/esm/src/api/subscription/_methods/orderUpdates.js.map +1 -1
  579. package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts +13 -33
  580. package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -1
  581. package/esm/src/api/subscription/_methods/spotAssetCtxs.js +4 -4
  582. package/esm/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -1
  583. package/esm/src/api/subscription/_methods/spotState.d.ts +22 -78
  584. package/esm/src/api/subscription/_methods/spotState.d.ts.map +1 -1
  585. package/esm/src/api/subscription/_methods/spotState.js +9 -9
  586. package/esm/src/api/subscription/_methods/spotState.js.map +1 -1
  587. package/esm/src/api/subscription/_methods/trades.d.ts +14 -35
  588. package/esm/src/api/subscription/_methods/trades.d.ts.map +1 -1
  589. package/esm/src/api/subscription/_methods/trades.js +5 -5
  590. package/esm/src/api/subscription/_methods/trades.js.map +1 -1
  591. package/esm/src/api/subscription/_methods/twapStates.d.ts +21 -62
  592. package/esm/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
  593. package/esm/src/api/subscription/_methods/twapStates.js +10 -10
  594. package/esm/src/api/subscription/_methods/twapStates.js.map +1 -1
  595. package/esm/src/api/subscription/_methods/userEvents.d.ts +91 -402
  596. package/esm/src/api/subscription/_methods/userEvents.d.ts.map +1 -1
  597. package/esm/src/api/subscription/_methods/userEvents.js +27 -27
  598. package/esm/src/api/subscription/_methods/userEvents.js.map +1 -1
  599. package/esm/src/api/subscription/_methods/userFills.d.ts +34 -130
  600. package/esm/src/api/subscription/_methods/userFills.d.ts.map +1 -1
  601. package/esm/src/api/subscription/_methods/userFills.js +10 -10
  602. package/esm/src/api/subscription/_methods/userFills.js.map +1 -1
  603. package/esm/src/api/subscription/_methods/userFundings.d.ts +16 -37
  604. package/esm/src/api/subscription/_methods/userFundings.d.ts.map +1 -1
  605. package/esm/src/api/subscription/_methods/userFundings.js +16 -16
  606. package/esm/src/api/subscription/_methods/userFundings.js.map +1 -1
  607. package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts +30 -134
  608. package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -1
  609. package/esm/src/api/subscription/_methods/userHistoricalOrders.js +9 -9
  610. package/esm/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -1
  611. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +119 -565
  612. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
  613. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +9 -9
  614. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -1
  615. package/esm/src/api/subscription/_methods/userTwapHistory.d.ts +29 -126
  616. package/esm/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -1
  617. package/esm/src/api/subscription/_methods/userTwapHistory.js +9 -9
  618. package/esm/src/api/subscription/_methods/userTwapHistory.js.map +1 -1
  619. package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts +29 -124
  620. package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -1
  621. package/esm/src/api/subscription/_methods/userTwapSliceFills.js +9 -9
  622. package/esm/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -1
  623. package/esm/src/api/subscription/_methods/webData2.d.ts +149 -818
  624. package/esm/src/api/subscription/_methods/webData2.d.ts.map +1 -1
  625. package/esm/src/api/subscription/_methods/webData2.js +5 -5
  626. package/esm/src/api/subscription/_methods/webData2.js.map +1 -1
  627. package/esm/src/api/subscription/_methods/webData3.d.ts +25 -71
  628. package/esm/src/api/subscription/_methods/webData3.d.ts.map +1 -1
  629. package/esm/src/api/subscription/_methods/webData3.js +22 -22
  630. package/esm/src/api/subscription/_methods/webData3.js.map +1 -1
  631. package/esm/src/api/subscription/client.d.ts +664 -29
  632. package/esm/src/api/subscription/client.d.ts.map +1 -1
  633. package/esm/src/api/subscription/client.js +618 -27
  634. package/esm/src/api/subscription/client.js.map +1 -1
  635. package/esm/src/signing/_abstractWallet.d.ts +33 -66
  636. package/esm/src/signing/_abstractWallet.d.ts.map +1 -1
  637. package/esm/src/signing/_abstractWallet.js +39 -63
  638. package/esm/src/signing/_abstractWallet.js.map +1 -1
  639. package/esm/src/signing/_privateKeySigner.d.ts.map +1 -1
  640. package/esm/src/signing/_privateKeySigner.js +2 -7
  641. package/esm/src/signing/_privateKeySigner.js.map +1 -1
  642. package/esm/src/signing/mod.d.ts.map +1 -1
  643. package/esm/src/signing/mod.js +11 -10
  644. package/esm/src/signing/mod.js.map +1 -1
  645. package/package.json +1 -1
  646. package/script/bin/_utils.d.ts +33 -1
  647. package/script/bin/_utils.d.ts.map +1 -1
  648. package/script/bin/_utils.js +17 -1
  649. package/script/bin/_utils.js.map +1 -1
  650. package/script/bin/cli.js +288 -262
  651. package/script/bin/cli.js.map +1 -1
  652. package/{esm/deps/jsr.io/@std/async/1.1.0 → script/deps/jsr.io/@std/async/1.1.1}/unstable_semaphore.d.ts.map +1 -1
  653. package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js.map +1 -1
  654. package/script/src/api/_schemas.d.ts +9 -0
  655. package/script/src/api/_schemas.d.ts.map +1 -1
  656. package/script/src/api/_schemas.js +10 -1
  657. package/script/src/api/_schemas.js.map +1 -1
  658. package/script/src/api/exchange/_methods/_base/_semaphore.js +1 -1
  659. package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts +16 -30
  660. package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -1
  661. package/script/src/api/exchange/_methods/_base/commonSchemas.js +16 -16
  662. package/script/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -1
  663. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +23 -60
  664. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
  665. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js +11 -9
  666. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
  667. package/script/src/api/exchange/_methods/agentSetAbstraction.d.ts +126 -0
  668. package/script/src/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -0
  669. package/script/src/api/exchange/_methods/agentSetAbstraction.js +119 -0
  670. package/script/src/api/exchange/_methods/agentSetAbstraction.js.map +1 -0
  671. package/script/src/api/exchange/_methods/approveAgent.d.ts +37 -85
  672. package/script/src/api/exchange/_methods/approveAgent.d.ts.map +1 -1
  673. package/script/src/api/exchange/_methods/approveAgent.js +14 -14
  674. package/script/src/api/exchange/_methods/approveAgent.js.map +1 -1
  675. package/script/src/api/exchange/_methods/approveBuilderFee.d.ts +37 -85
  676. package/script/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
  677. package/script/src/api/exchange/_methods/approveBuilderFee.js +13 -13
  678. package/script/src/api/exchange/_methods/approveBuilderFee.js.map +1 -1
  679. package/script/src/api/exchange/_methods/batchModify.d.ts +99 -431
  680. package/script/src/api/exchange/_methods/batchModify.d.ts.map +1 -1
  681. package/script/src/api/exchange/_methods/batchModify.js +31 -36
  682. package/script/src/api/exchange/_methods/batchModify.js.map +1 -1
  683. package/script/src/api/exchange/_methods/borrowLend.d.ts +38 -84
  684. package/script/src/api/exchange/_methods/borrowLend.d.ts.map +1 -1
  685. package/script/src/api/exchange/_methods/borrowLend.js +13 -13
  686. package/script/src/api/exchange/_methods/borrowLend.js.map +1 -1
  687. package/script/src/api/exchange/_methods/cDeposit.d.ts +34 -80
  688. package/script/src/api/exchange/_methods/cDeposit.d.ts.map +1 -1
  689. package/script/src/api/exchange/_methods/cDeposit.js +12 -12
  690. package/script/src/api/exchange/_methods/cDeposit.js.map +1 -1
  691. package/script/src/api/exchange/_methods/cSignerAction.d.ts +32 -79
  692. package/script/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
  693. package/script/src/api/exchange/_methods/cSignerAction.js +12 -12
  694. package/script/src/api/exchange/_methods/cSignerAction.js.map +1 -1
  695. package/script/src/api/exchange/_methods/cValidatorAction.d.ts +107 -314
  696. package/script/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
  697. package/script/src/api/exchange/_methods/cValidatorAction.js +37 -37
  698. package/script/src/api/exchange/_methods/cValidatorAction.js.map +1 -1
  699. package/script/src/api/exchange/_methods/cWithdraw.d.ts +34 -80
  700. package/script/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
  701. package/script/src/api/exchange/_methods/cWithdraw.js +12 -12
  702. package/script/src/api/exchange/_methods/cWithdraw.js.map +1 -1
  703. package/script/src/api/exchange/_methods/cancel.d.ts +38 -100
  704. package/script/src/api/exchange/_methods/cancel.d.ts.map +1 -1
  705. package/script/src/api/exchange/_methods/cancel.js +24 -24
  706. package/script/src/api/exchange/_methods/cancel.js.map +1 -1
  707. package/script/src/api/exchange/_methods/cancelByCloid.d.ts +38 -110
  708. package/script/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
  709. package/script/src/api/exchange/_methods/cancelByCloid.js +14 -14
  710. package/script/src/api/exchange/_methods/cancelByCloid.js.map +1 -1
  711. package/script/src/api/exchange/_methods/claimRewards.d.ts +21 -60
  712. package/script/src/api/exchange/_methods/claimRewards.d.ts.map +1 -1
  713. package/script/src/api/exchange/_methods/claimRewards.js +9 -9
  714. package/script/src/api/exchange/_methods/claimRewards.js.map +1 -1
  715. package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts +58 -122
  716. package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
  717. package/script/src/api/exchange/_methods/convertToMultiSigUser.js +17 -18
  718. package/script/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
  719. package/script/src/api/exchange/_methods/createSubAccount.d.ts +27 -65
  720. package/script/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
  721. package/script/src/api/exchange/_methods/createSubAccount.js +16 -16
  722. package/script/src/api/exchange/_methods/createSubAccount.js.map +1 -1
  723. package/script/src/api/exchange/_methods/createVault.d.ts +36 -80
  724. package/script/src/api/exchange/_methods/createVault.d.ts.map +1 -1
  725. package/script/src/api/exchange/_methods/createVault.js +19 -20
  726. package/script/src/api/exchange/_methods/createVault.js.map +1 -1
  727. package/script/src/api/exchange/_methods/evmUserModify.d.ts +26 -67
  728. package/script/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
  729. package/script/src/api/exchange/_methods/evmUserModify.js +10 -10
  730. package/script/src/api/exchange/_methods/evmUserModify.js.map +1 -1
  731. package/script/src/api/exchange/_methods/linkStakingUser.d.ts +37 -85
  732. package/script/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
  733. package/script/src/api/exchange/_methods/linkStakingUser.js +13 -17
  734. package/script/src/api/exchange/_methods/linkStakingUser.js.map +1 -1
  735. package/script/src/api/exchange/_methods/modify.d.ts +81 -263
  736. package/script/src/api/exchange/_methods/modify.d.ts.map +1 -1
  737. package/script/src/api/exchange/_methods/modify.js +29 -34
  738. package/script/src/api/exchange/_methods/modify.js.map +1 -1
  739. package/script/src/api/exchange/_methods/noop.d.ts +21 -60
  740. package/script/src/api/exchange/_methods/noop.d.ts.map +1 -1
  741. package/script/src/api/exchange/_methods/noop.js +9 -9
  742. package/script/src/api/exchange/_methods/noop.js.map +1 -1
  743. package/script/src/api/exchange/_methods/order.d.ts +105 -365
  744. package/script/src/api/exchange/_methods/order.d.ts.map +1 -1
  745. package/script/src/api/exchange/_methods/order.js +53 -61
  746. package/script/src/api/exchange/_methods/order.js.map +1 -1
  747. package/script/src/api/exchange/_methods/perpDeploy.d.ts +245 -679
  748. package/script/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
  749. package/script/src/api/exchange/_methods/perpDeploy.js +83 -107
  750. package/script/src/api/exchange/_methods/perpDeploy.js.map +1 -1
  751. package/script/src/api/exchange/_methods/registerReferrer.d.ts +26 -67
  752. package/script/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
  753. package/script/src/api/exchange/_methods/registerReferrer.js +10 -10
  754. package/script/src/api/exchange/_methods/registerReferrer.js.map +1 -1
  755. package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts +26 -67
  756. package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
  757. package/script/src/api/exchange/_methods/reserveRequestWeight.js +10 -11
  758. package/script/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
  759. package/script/src/api/exchange/_methods/scheduleCancel.d.ts +27 -69
  760. package/script/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
  761. package/script/src/api/exchange/_methods/scheduleCancel.js +11 -13
  762. package/script/src/api/exchange/_methods/scheduleCancel.js.map +1 -1
  763. package/script/src/api/exchange/_methods/sendAsset.d.ts +59 -115
  764. package/script/src/api/exchange/_methods/sendAsset.d.ts.map +1 -1
  765. package/script/src/api/exchange/_methods/sendAsset.js +17 -17
  766. package/script/src/api/exchange/_methods/sendAsset.js.map +1 -1
  767. package/script/src/api/exchange/_methods/setDisplayName.d.ts +26 -67
  768. package/script/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
  769. package/script/src/api/exchange/_methods/setDisplayName.js +10 -11
  770. package/script/src/api/exchange/_methods/setDisplayName.js.map +1 -1
  771. package/script/src/api/exchange/_methods/setReferrer.d.ts +26 -67
  772. package/script/src/api/exchange/_methods/setReferrer.d.ts.map +1 -1
  773. package/script/src/api/exchange/_methods/setReferrer.js +10 -10
  774. package/script/src/api/exchange/_methods/setReferrer.js.map +1 -1
  775. package/script/src/api/exchange/_methods/spotDeploy.d.ts +164 -419
  776. package/script/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
  777. package/script/src/api/exchange/_methods/spotDeploy.js +56 -68
  778. package/script/src/api/exchange/_methods/spotDeploy.js.map +1 -1
  779. package/script/src/api/exchange/_methods/spotSend.d.ts +45 -95
  780. package/script/src/api/exchange/_methods/spotSend.d.ts.map +1 -1
  781. package/script/src/api/exchange/_methods/spotSend.js +14 -14
  782. package/script/src/api/exchange/_methods/spotSend.js.map +1 -1
  783. package/script/src/api/exchange/_methods/spotUser.d.ts +32 -83
  784. package/script/src/api/exchange/_methods/spotUser.d.ts.map +1 -1
  785. package/script/src/api/exchange/_methods/spotUser.js +12 -12
  786. package/script/src/api/exchange/_methods/spotUser.js.map +1 -1
  787. package/script/src/api/exchange/_methods/subAccountModify.d.ts +29 -72
  788. package/script/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
  789. package/script/src/api/exchange/_methods/subAccountModify.js +11 -11
  790. package/script/src/api/exchange/_methods/subAccountModify.js.map +1 -1
  791. package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +40 -87
  792. package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
  793. package/script/src/api/exchange/_methods/subAccountSpotTransfer.js +13 -13
  794. package/script/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
  795. package/script/src/api/exchange/_methods/subAccountTransfer.d.ts +32 -77
  796. package/script/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
  797. package/script/src/api/exchange/_methods/subAccountTransfer.js +12 -12
  798. package/script/src/api/exchange/_methods/subAccountTransfer.js.map +1 -1
  799. package/script/src/api/exchange/_methods/tokenDelegate.d.ts +40 -90
  800. package/script/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
  801. package/script/src/api/exchange/_methods/tokenDelegate.js +14 -14
  802. package/script/src/api/exchange/_methods/tokenDelegate.js.map +1 -1
  803. package/script/src/api/exchange/_methods/twapCancel.d.ts +32 -81
  804. package/script/src/api/exchange/_methods/twapCancel.d.ts.map +1 -1
  805. package/script/src/api/exchange/_methods/twapCancel.js +22 -22
  806. package/script/src/api/exchange/_methods/twapCancel.js.map +1 -1
  807. package/script/src/api/exchange/_methods/twapOrder.d.ts +53 -153
  808. package/script/src/api/exchange/_methods/twapOrder.d.ts.map +1 -1
  809. package/script/src/api/exchange/_methods/twapOrder.js +31 -31
  810. package/script/src/api/exchange/_methods/twapOrder.js.map +1 -1
  811. package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts +33 -79
  812. package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
  813. package/script/src/api/exchange/_methods/updateIsolatedMargin.js +13 -13
  814. package/script/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
  815. package/script/src/api/exchange/_methods/updateLeverage.d.ts +38 -84
  816. package/script/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
  817. package/script/src/api/exchange/_methods/updateLeverage.js +13 -13
  818. package/script/src/api/exchange/_methods/updateLeverage.js.map +1 -1
  819. package/script/src/api/exchange/_methods/usdClassTransfer.d.ts +37 -85
  820. package/script/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
  821. package/script/src/api/exchange/_methods/usdClassTransfer.js +13 -13
  822. package/script/src/api/exchange/_methods/usdClassTransfer.js.map +1 -1
  823. package/script/src/api/exchange/_methods/usdSend.d.ts +37 -85
  824. package/script/src/api/exchange/_methods/usdSend.d.ts.map +1 -1
  825. package/script/src/api/exchange/_methods/usdSend.js +13 -13
  826. package/script/src/api/exchange/_methods/usdSend.js.map +1 -1
  827. package/script/src/api/exchange/_methods/userDexAbstraction.d.ts +39 -85
  828. package/script/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
  829. package/script/src/api/exchange/_methods/userDexAbstraction.js +15 -13
  830. package/script/src/api/exchange/_methods/userDexAbstraction.js.map +1 -1
  831. package/script/src/api/exchange/_methods/userPortfolioMargin.d.ts +37 -85
  832. package/script/src/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
  833. package/script/src/api/exchange/_methods/userPortfolioMargin.js +13 -13
  834. package/script/src/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
  835. package/script/src/api/exchange/_methods/userSetAbstraction.d.ts +145 -0
  836. package/script/src/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -0
  837. package/script/src/api/exchange/_methods/userSetAbstraction.js +129 -0
  838. package/script/src/api/exchange/_methods/userSetAbstraction.js.map +1 -0
  839. package/script/src/api/exchange/_methods/validatorL1Stream.d.ts +26 -67
  840. package/script/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
  841. package/script/src/api/exchange/_methods/validatorL1Stream.js +10 -10
  842. package/script/src/api/exchange/_methods/validatorL1Stream.js.map +1 -1
  843. package/script/src/api/exchange/_methods/vaultDistribute.d.ts +29 -72
  844. package/script/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
  845. package/script/src/api/exchange/_methods/vaultDistribute.js +11 -12
  846. package/script/src/api/exchange/_methods/vaultDistribute.js.map +1 -1
  847. package/script/src/api/exchange/_methods/vaultModify.d.ts +32 -77
  848. package/script/src/api/exchange/_methods/vaultModify.d.ts.map +1 -1
  849. package/script/src/api/exchange/_methods/vaultModify.js +12 -12
  850. package/script/src/api/exchange/_methods/vaultModify.js.map +1 -1
  851. package/script/src/api/exchange/_methods/vaultTransfer.d.ts +32 -77
  852. package/script/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
  853. package/script/src/api/exchange/_methods/vaultTransfer.js +12 -12
  854. package/script/src/api/exchange/_methods/vaultTransfer.js.map +1 -1
  855. package/script/src/api/exchange/_methods/withdraw3.d.ts +37 -85
  856. package/script/src/api/exchange/_methods/withdraw3.d.ts.map +1 -1
  857. package/script/src/api/exchange/_methods/withdraw3.js +13 -13
  858. package/script/src/api/exchange/_methods/withdraw3.js.map +1 -1
  859. package/script/src/api/exchange/client.d.ts +1278 -48
  860. package/script/src/api/exchange/client.d.ts.map +1 -1
  861. package/script/src/api/exchange/client.js +1253 -46
  862. package/script/src/api/exchange/client.js.map +1 -1
  863. package/script/src/api/exchange/mod.d.ts +2 -0
  864. package/script/src/api/exchange/mod.d.ts.map +1 -1
  865. package/script/src/api/exchange/mod.js +2 -0
  866. package/script/src/api/exchange/mod.js.map +1 -1
  867. package/script/src/api/info/_methods/_base/commonSchemas.d.ts +100 -196
  868. package/script/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -1
  869. package/script/src/api/info/_methods/_base/commonSchemas.js +103 -141
  870. package/script/src/api/info/_methods/_base/commonSchemas.js.map +1 -1
  871. package/script/src/api/info/_methods/activeAssetData.d.ts +19 -44
  872. package/script/src/api/info/_methods/activeAssetData.d.ts.map +1 -1
  873. package/script/src/api/info/_methods/activeAssetData.js +19 -19
  874. package/script/src/api/info/_methods/activeAssetData.js.map +1 -1
  875. package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +11 -20
  876. package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
  877. package/script/src/api/info/_methods/alignedQuoteTokenInfo.js +12 -12
  878. package/script/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
  879. package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts +13 -33
  880. package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -1
  881. package/script/src/api/info/_methods/allBorrowLendReserveStates.js +4 -7
  882. package/script/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -1
  883. package/script/src/api/info/_methods/allMids.d.ts +5 -10
  884. package/script/src/api/info/_methods/allMids.d.ts.map +1 -1
  885. package/script/src/api/info/_methods/allMids.js +5 -5
  886. package/script/src/api/info/_methods/allMids.js.map +1 -1
  887. package/script/src/api/info/_methods/allPerpMetas.d.ts +24 -91
  888. package/script/src/api/info/_methods/allPerpMetas.d.ts.map +1 -1
  889. package/script/src/api/info/_methods/allPerpMetas.js +4 -4
  890. package/script/src/api/info/_methods/allPerpMetas.js.map +1 -1
  891. package/script/src/api/info/_methods/blockDetails.d.ts +24 -92
  892. package/script/src/api/info/_methods/blockDetails.d.ts.map +1 -1
  893. package/script/src/api/info/_methods/blockDetails.js +15 -15
  894. package/script/src/api/info/_methods/blockDetails.js.map +1 -1
  895. package/script/src/api/info/_methods/borrowLendReserveState.d.ts +14 -26
  896. package/script/src/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
  897. package/script/src/api/info/_methods/borrowLendReserveState.js +14 -14
  898. package/script/src/api/info/_methods/borrowLendReserveState.js.map +1 -1
  899. package/script/src/api/info/_methods/borrowLendUserState.d.ts +18 -49
  900. package/script/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
  901. package/script/src/api/info/_methods/borrowLendUserState.js +18 -19
  902. package/script/src/api/info/_methods/borrowLendUserState.js.map +1 -1
  903. package/script/src/api/info/_methods/candleSnapshot.d.ts +21 -45
  904. package/script/src/api/info/_methods/candleSnapshot.d.ts.map +1 -1
  905. package/script/src/api/info/_methods/candleSnapshot.js +21 -21
  906. package/script/src/api/info/_methods/candleSnapshot.js.map +1 -1
  907. package/script/src/api/info/_methods/clearinghouseState.d.ts +48 -165
  908. package/script/src/api/info/_methods/clearinghouseState.d.ts.map +1 -1
  909. package/script/src/api/info/_methods/clearinghouseState.js +48 -48
  910. package/script/src/api/info/_methods/clearinghouseState.js.map +1 -1
  911. package/script/src/api/info/_methods/delegations.d.ts +9 -16
  912. package/script/src/api/info/_methods/delegations.d.ts.map +1 -1
  913. package/script/src/api/info/_methods/delegations.js +9 -9
  914. package/script/src/api/info/_methods/delegations.js.map +1 -1
  915. package/script/src/api/info/_methods/delegatorHistory.d.ts +22 -68
  916. package/script/src/api/info/_methods/delegatorHistory.d.ts.map +1 -1
  917. package/script/src/api/info/_methods/delegatorHistory.js +22 -22
  918. package/script/src/api/info/_methods/delegatorHistory.js.map +1 -1
  919. package/script/src/api/info/_methods/delegatorRewards.d.ts +9 -16
  920. package/script/src/api/info/_methods/delegatorRewards.d.ts.map +1 -1
  921. package/script/src/api/info/_methods/delegatorRewards.js +9 -9
  922. package/script/src/api/info/_methods/delegatorRewards.js.map +1 -1
  923. package/script/src/api/info/_methods/delegatorSummary.d.ts +10 -18
  924. package/script/src/api/info/_methods/delegatorSummary.d.ts.map +1 -1
  925. package/script/src/api/info/_methods/delegatorSummary.js +10 -10
  926. package/script/src/api/info/_methods/delegatorSummary.js.map +1 -1
  927. package/script/src/api/info/_methods/exchangeStatus.d.ts +7 -12
  928. package/script/src/api/info/_methods/exchangeStatus.d.ts.map +1 -1
  929. package/script/src/api/info/_methods/exchangeStatus.js +7 -7
  930. package/script/src/api/info/_methods/exchangeStatus.js.map +1 -1
  931. package/script/src/api/info/_methods/extraAgents.d.ts +9 -16
  932. package/script/src/api/info/_methods/extraAgents.d.ts.map +1 -1
  933. package/script/src/api/info/_methods/extraAgents.js +9 -9
  934. package/script/src/api/info/_methods/extraAgents.js.map +1 -1
  935. package/script/src/api/info/_methods/frontendOpenOrders.d.ts +23 -61
  936. package/script/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
  937. package/script/src/api/info/_methods/frontendOpenOrders.js +6 -6
  938. package/script/src/api/info/_methods/frontendOpenOrders.js.map +1 -1
  939. package/script/src/api/info/_methods/fundingHistory.d.ts +12 -22
  940. package/script/src/api/info/_methods/fundingHistory.d.ts.map +1 -1
  941. package/script/src/api/info/_methods/fundingHistory.js +12 -12
  942. package/script/src/api/info/_methods/fundingHistory.js.map +1 -1
  943. package/script/src/api/info/_methods/gossipRootIps.d.ts +4 -6
  944. package/script/src/api/info/_methods/gossipRootIps.d.ts.map +1 -1
  945. package/script/src/api/info/_methods/gossipRootIps.js +4 -4
  946. package/script/src/api/info/_methods/gossipRootIps.js.map +1 -1
  947. package/script/src/api/info/_methods/historicalOrders.d.ts +26 -84
  948. package/script/src/api/info/_methods/historicalOrders.d.ts.map +1 -1
  949. package/script/src/api/info/_methods/historicalOrders.js +9 -38
  950. package/script/src/api/info/_methods/historicalOrders.js.map +1 -1
  951. package/script/src/api/info/_methods/isVip.d.ts +5 -8
  952. package/script/src/api/info/_methods/isVip.d.ts.map +1 -1
  953. package/script/src/api/info/_methods/isVip.js +5 -5
  954. package/script/src/api/info/_methods/isVip.js.map +1 -1
  955. package/script/src/api/info/_methods/l2Book.d.ts +21 -52
  956. package/script/src/api/info/_methods/l2Book.d.ts.map +1 -1
  957. package/script/src/api/info/_methods/l2Book.js +18 -16
  958. package/script/src/api/info/_methods/l2Book.js.map +1 -1
  959. package/script/src/api/info/_methods/leadingVaults.d.ts +8 -14
  960. package/script/src/api/info/_methods/leadingVaults.d.ts.map +1 -1
  961. package/script/src/api/info/_methods/leadingVaults.js +8 -8
  962. package/script/src/api/info/_methods/leadingVaults.js.map +1 -1
  963. package/script/src/api/info/_methods/legalCheck.d.ts +9 -16
  964. package/script/src/api/info/_methods/legalCheck.d.ts.map +1 -1
  965. package/script/src/api/info/_methods/legalCheck.js +9 -9
  966. package/script/src/api/info/_methods/legalCheck.js.map +1 -1
  967. package/script/src/api/info/_methods/liquidatable.d.ts +4 -6
  968. package/script/src/api/info/_methods/liquidatable.d.ts.map +1 -1
  969. package/script/src/api/info/_methods/liquidatable.js +4 -4
  970. package/script/src/api/info/_methods/liquidatable.js.map +1 -1
  971. package/script/src/api/info/_methods/marginTable.d.ts +11 -23
  972. package/script/src/api/info/_methods/marginTable.d.ts.map +1 -1
  973. package/script/src/api/info/_methods/marginTable.js +11 -11
  974. package/script/src/api/info/_methods/marginTable.js.map +1 -1
  975. package/script/src/api/info/_methods/maxBuilderFee.d.ts +6 -10
  976. package/script/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -1
  977. package/script/src/api/info/_methods/maxBuilderFee.js +6 -6
  978. package/script/src/api/info/_methods/maxBuilderFee.js.map +1 -1
  979. package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts +4 -6
  980. package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
  981. package/script/src/api/info/_methods/maxMarketOrderNtls.js +4 -4
  982. package/script/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -1
  983. package/script/src/api/info/_methods/meta.d.ts +25 -73
  984. package/script/src/api/info/_methods/meta.d.ts.map +1 -1
  985. package/script/src/api/info/_methods/meta.js +19 -22
  986. package/script/src/api/info/_methods/meta.js.map +1 -1
  987. package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts +36 -126
  988. package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -1
  989. package/script/src/api/info/_methods/metaAndAssetCtxs.js +5 -8
  990. package/script/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -1
  991. package/script/src/api/info/_methods/openOrders.d.ts +16 -40
  992. package/script/src/api/info/_methods/openOrders.d.ts.map +1 -1
  993. package/script/src/api/info/_methods/openOrders.js +6 -6
  994. package/script/src/api/info/_methods/openOrders.js.map +1 -1
  995. package/script/src/api/info/_methods/orderStatus.d.ts +31 -116
  996. package/script/src/api/info/_methods/orderStatus.d.ts.map +1 -1
  997. package/script/src/api/info/_methods/orderStatus.js +14 -45
  998. package/script/src/api/info/_methods/orderStatus.js.map +1 -1
  999. package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts +10 -18
  1000. package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -1
  1001. package/script/src/api/info/_methods/perpDeployAuctionStatus.js +10 -10
  1002. package/script/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -1
  1003. package/script/src/api/info/_methods/perpDexLimits.d.ts +10 -18
  1004. package/script/src/api/info/_methods/perpDexLimits.d.ts.map +1 -1
  1005. package/script/src/api/info/_methods/perpDexLimits.js +10 -10
  1006. package/script/src/api/info/_methods/perpDexLimits.js.map +1 -1
  1007. package/script/src/api/info/_methods/perpDexStatus.d.ts +7 -12
  1008. package/script/src/api/info/_methods/perpDexStatus.d.ts.map +1 -1
  1009. package/script/src/api/info/_methods/perpDexStatus.js +7 -7
  1010. package/script/src/api/info/_methods/perpDexStatus.js.map +1 -1
  1011. package/script/src/api/info/_methods/perpDexs.d.ts +16 -42
  1012. package/script/src/api/info/_methods/perpDexs.d.ts.map +1 -1
  1013. package/script/src/api/info/_methods/perpDexs.js +17 -20
  1014. package/script/src/api/info/_methods/perpDexs.js.map +1 -1
  1015. package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +5 -8
  1016. package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -1
  1017. package/script/src/api/info/_methods/perpsAtOpenInterestCap.js +5 -5
  1018. package/script/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -1
  1019. package/script/src/api/info/_methods/portfolio.d.ts +37 -104
  1020. package/script/src/api/info/_methods/portfolio.d.ts.map +1 -1
  1021. package/script/src/api/info/_methods/portfolio.js +11 -11
  1022. package/script/src/api/info/_methods/portfolio.js.map +1 -1
  1023. package/script/src/api/info/_methods/preTransferCheck.d.ts +11 -20
  1024. package/script/src/api/info/_methods/preTransferCheck.d.ts.map +1 -1
  1025. package/script/src/api/info/_methods/preTransferCheck.js +11 -11
  1026. package/script/src/api/info/_methods/preTransferCheck.js.map +1 -1
  1027. package/script/src/api/info/_methods/predictedFundings.d.ts +8 -14
  1028. package/script/src/api/info/_methods/predictedFundings.d.ts.map +1 -1
  1029. package/script/src/api/info/_methods/predictedFundings.js +8 -8
  1030. package/script/src/api/info/_methods/predictedFundings.js.map +1 -1
  1031. package/script/src/api/info/_methods/recentTrades.d.ts +14 -26
  1032. package/script/src/api/info/_methods/recentTrades.d.ts.map +1 -1
  1033. package/script/src/api/info/_methods/recentTrades.js +14 -14
  1034. package/script/src/api/info/_methods/recentTrades.js.map +1 -1
  1035. package/script/src/api/info/_methods/referral.d.ts +50 -170
  1036. package/script/src/api/info/_methods/referral.d.ts.map +1 -1
  1037. package/script/src/api/info/_methods/referral.js +50 -50
  1038. package/script/src/api/info/_methods/referral.js.map +1 -1
  1039. package/script/src/api/info/_methods/spotClearinghouseState.d.ts +19 -46
  1040. package/script/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
  1041. package/script/src/api/info/_methods/spotClearinghouseState.js +19 -19
  1042. package/script/src/api/info/_methods/spotClearinghouseState.js.map +1 -1
  1043. package/script/src/api/info/_methods/spotDeployState.d.ts +30 -96
  1044. package/script/src/api/info/_methods/spotDeployState.d.ts.map +1 -1
  1045. package/script/src/api/info/_methods/spotDeployState.js +24 -24
  1046. package/script/src/api/info/_methods/spotDeployState.js.map +1 -1
  1047. package/script/src/api/info/_methods/spotMeta.d.ts +47 -98
  1048. package/script/src/api/info/_methods/spotMeta.d.ts.map +1 -1
  1049. package/script/src/api/info/_methods/spotMeta.js +47 -34
  1050. package/script/src/api/info/_methods/spotMeta.js.map +1 -1
  1051. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +50 -155
  1052. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -1
  1053. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js +4 -7
  1054. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -1
  1055. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +10 -24
  1056. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -1
  1057. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js +4 -4
  1058. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -1
  1059. package/script/src/api/info/_methods/subAccounts.d.ts +66 -323
  1060. package/script/src/api/info/_methods/subAccounts.d.ts.map +1 -1
  1061. package/script/src/api/info/_methods/subAccounts.js +11 -11
  1062. package/script/src/api/info/_methods/subAccounts.js.map +1 -1
  1063. package/script/src/api/info/_methods/subAccounts2.d.ts +67 -325
  1064. package/script/src/api/info/_methods/subAccounts2.d.ts.map +1 -1
  1065. package/script/src/api/info/_methods/subAccounts2.js +11 -12
  1066. package/script/src/api/info/_methods/subAccounts2.js.map +1 -1
  1067. package/script/src/api/info/_methods/tokenDetails.d.ts +26 -54
  1068. package/script/src/api/info/_methods/tokenDetails.d.ts.map +1 -1
  1069. package/script/src/api/info/_methods/tokenDetails.js +26 -26
  1070. package/script/src/api/info/_methods/tokenDetails.js.map +1 -1
  1071. package/script/src/api/info/_methods/twapHistory.d.ts +25 -76
  1072. package/script/src/api/info/_methods/twapHistory.d.ts.map +1 -1
  1073. package/script/src/api/info/_methods/twapHistory.js +14 -18
  1074. package/script/src/api/info/_methods/twapHistory.js.map +1 -1
  1075. package/script/src/api/info/_methods/txDetails.d.ts +17 -60
  1076. package/script/src/api/info/_methods/txDetails.d.ts.map +1 -1
  1077. package/script/src/api/info/_methods/txDetails.js +8 -8
  1078. package/script/src/api/info/_methods/txDetails.js.map +1 -1
  1079. package/script/src/api/info/_methods/userBorrowLendInterest.d.ts +12 -22
  1080. package/script/src/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
  1081. package/script/src/api/info/_methods/userBorrowLendInterest.js +12 -12
  1082. package/script/src/api/info/_methods/userBorrowLendInterest.js.map +1 -1
  1083. package/script/src/api/info/_methods/userDetails.d.ts +17 -60
  1084. package/script/src/api/info/_methods/userDetails.d.ts.map +1 -1
  1085. package/script/src/api/info/_methods/userDetails.js +8 -8
  1086. package/script/src/api/info/_methods/userDetails.js.map +1 -1
  1087. package/script/src/api/info/_methods/userDexAbstraction.d.ts +5 -8
  1088. package/script/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
  1089. package/script/src/api/info/_methods/userDexAbstraction.js +5 -5
  1090. package/script/src/api/info/_methods/userDexAbstraction.js.map +1 -1
  1091. package/script/src/api/info/_methods/userFees.d.ts +52 -160
  1092. package/script/src/api/info/_methods/userFees.d.ts.map +1 -1
  1093. package/script/src/api/info/_methods/userFees.js +52 -59
  1094. package/script/src/api/info/_methods/userFees.js.map +1 -1
  1095. package/script/src/api/info/_methods/userFills.d.ts +30 -76
  1096. package/script/src/api/info/_methods/userFills.d.ts.map +1 -1
  1097. package/script/src/api/info/_methods/userFills.js +13 -13
  1098. package/script/src/api/info/_methods/userFills.js.map +1 -1
  1099. package/script/src/api/info/_methods/userFillsByTime.d.ts +32 -103
  1100. package/script/src/api/info/_methods/userFillsByTime.d.ts.map +1 -1
  1101. package/script/src/api/info/_methods/userFillsByTime.js +8 -8
  1102. package/script/src/api/info/_methods/userFillsByTime.js.map +1 -1
  1103. package/script/src/api/info/_methods/userFunding.d.ts +18 -41
  1104. package/script/src/api/info/_methods/userFunding.d.ts.map +1 -1
  1105. package/script/src/api/info/_methods/userFunding.js +18 -18
  1106. package/script/src/api/info/_methods/userFunding.js.map +1 -1
  1107. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +100 -324
  1108. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
  1109. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js +100 -100
  1110. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
  1111. package/script/src/api/info/_methods/userRateLimit.d.ts +10 -18
  1112. package/script/src/api/info/_methods/userRateLimit.d.ts.map +1 -1
  1113. package/script/src/api/info/_methods/userRateLimit.js +10 -10
  1114. package/script/src/api/info/_methods/userRateLimit.js.map +1 -1
  1115. package/script/src/api/info/_methods/userRole.d.ts +15 -34
  1116. package/script/src/api/info/_methods/userRole.d.ts.map +1 -1
  1117. package/script/src/api/info/_methods/userRole.js +15 -15
  1118. package/script/src/api/info/_methods/userRole.js.map +1 -1
  1119. package/script/src/api/info/_methods/userToMultiSigSigners.d.ts +8 -14
  1120. package/script/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
  1121. package/script/src/api/info/_methods/userToMultiSigSigners.js +8 -8
  1122. package/script/src/api/info/_methods/userToMultiSigSigners.js.map +1 -1
  1123. package/script/src/api/info/_methods/userTwapSliceFills.d.ts +25 -78
  1124. package/script/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
  1125. package/script/src/api/info/_methods/userTwapSliceFills.js +8 -8
  1126. package/script/src/api/info/_methods/userTwapSliceFills.js.map +1 -1
  1127. package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +28 -103
  1128. package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
  1129. package/script/src/api/info/_methods/userTwapSliceFillsByTime.js +8 -8
  1130. package/script/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
  1131. package/script/src/api/info/_methods/userVaultEquities.d.ts +9 -16
  1132. package/script/src/api/info/_methods/userVaultEquities.d.ts.map +1 -1
  1133. package/script/src/api/info/_methods/userVaultEquities.js +9 -9
  1134. package/script/src/api/info/_methods/userVaultEquities.js.map +1 -1
  1135. package/script/src/api/info/_methods/validatorL1Votes.d.ts +9 -23
  1136. package/script/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -1
  1137. package/script/src/api/info/_methods/validatorL1Votes.js +11 -11
  1138. package/script/src/api/info/_methods/validatorL1Votes.js.map +1 -1
  1139. package/script/src/api/info/_methods/validatorSummaries.d.ts +28 -78
  1140. package/script/src/api/info/_methods/validatorSummaries.d.ts.map +1 -1
  1141. package/script/src/api/info/_methods/validatorSummaries.js +22 -22
  1142. package/script/src/api/info/_methods/validatorSummaries.js.map +1 -1
  1143. package/script/src/api/info/_methods/vaultDetails.d.ts +77 -281
  1144. package/script/src/api/info/_methods/vaultDetails.d.ts.map +1 -1
  1145. package/script/src/api/info/_methods/vaultDetails.js +39 -39
  1146. package/script/src/api/info/_methods/vaultDetails.js.map +1 -1
  1147. package/script/src/api/info/_methods/vaultSummaries.d.ts +18 -51
  1148. package/script/src/api/info/_methods/vaultSummaries.d.ts.map +1 -1
  1149. package/script/src/api/info/_methods/vaultSummaries.js +12 -12
  1150. package/script/src/api/info/_methods/vaultSummaries.js.map +1 -1
  1151. package/script/src/api/info/_methods/webData2.d.ts +149 -673
  1152. package/script/src/api/info/_methods/webData2.d.ts.map +1 -1
  1153. package/script/src/api/info/_methods/webData2.js +23 -23
  1154. package/script/src/api/info/_methods/webData2.js.map +1 -1
  1155. package/script/src/api/info/client.d.ts +1578 -80
  1156. package/script/src/api/info/client.d.ts.map +1 -1
  1157. package/script/src/api/info/client.js +1489 -78
  1158. package/script/src/api/info/client.js.map +1 -1
  1159. package/script/src/api/subscription/_methods/activeAssetCtx.d.ts +19 -58
  1160. package/script/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -1
  1161. package/script/src/api/subscription/_methods/activeAssetCtx.js +8 -8
  1162. package/script/src/api/subscription/_methods/activeAssetCtx.js.map +1 -1
  1163. package/script/src/api/subscription/_methods/activeAssetData.d.ts +19 -58
  1164. package/script/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -1
  1165. package/script/src/api/subscription/_methods/activeAssetData.js +6 -6
  1166. package/script/src/api/subscription/_methods/activeAssetData.js.map +1 -1
  1167. package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +17 -50
  1168. package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -1
  1169. package/script/src/api/subscription/_methods/activeSpotAssetCtx.js +8 -8
  1170. package/script/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -1
  1171. package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +17 -54
  1172. package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -1
  1173. package/script/src/api/subscription/_methods/allDexsAssetCtxs.js +6 -9
  1174. package/script/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -1
  1175. package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +50 -255
  1176. package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -1
  1177. package/script/src/api/subscription/_methods/allDexsClearinghouseState.js +8 -11
  1178. package/script/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -1
  1179. package/script/src/api/subscription/_methods/allMids.d.ts +8 -20
  1180. package/script/src/api/subscription/_methods/allMids.d.ts.map +1 -1
  1181. package/script/src/api/subscription/_methods/allMids.js +8 -8
  1182. package/script/src/api/subscription/_methods/allMids.js.map +1 -1
  1183. package/script/src/api/subscription/_methods/assetCtxs.d.ts +19 -58
  1184. package/script/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
  1185. package/script/src/api/subscription/_methods/assetCtxs.js +8 -8
  1186. package/script/src/api/subscription/_methods/assetCtxs.js.map +1 -1
  1187. package/script/src/api/subscription/_methods/bbo.d.ts +17 -48
  1188. package/script/src/api/subscription/_methods/bbo.d.ts.map +1 -1
  1189. package/script/src/api/subscription/_methods/bbo.js +14 -14
  1190. package/script/src/api/subscription/_methods/bbo.js.map +1 -1
  1191. package/script/src/api/subscription/_methods/candle.d.ts +17 -32
  1192. package/script/src/api/subscription/_methods/candle.d.ts.map +1 -1
  1193. package/script/src/api/subscription/_methods/candle.js +17 -17
  1194. package/script/src/api/subscription/_methods/candle.js.map +1 -1
  1195. package/script/src/api/subscription/_methods/clearinghouseState.d.ts +52 -259
  1196. package/script/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
  1197. package/script/src/api/subscription/_methods/clearinghouseState.js +10 -10
  1198. package/script/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
  1199. package/script/src/api/subscription/_methods/explorerBlock.d.ts +10 -18
  1200. package/script/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
  1201. package/script/src/api/subscription/_methods/explorerBlock.js +10 -10
  1202. package/script/src/api/subscription/_methods/explorerBlock.js.map +1 -1
  1203. package/script/src/api/subscription/_methods/explorerTxs.d.ts +13 -41
  1204. package/script/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
  1205. package/script/src/api/subscription/_methods/explorerTxs.js +4 -4
  1206. package/script/src/api/subscription/_methods/explorerTxs.js.map +1 -1
  1207. package/script/src/api/subscription/_methods/l2Book.d.ts +21 -52
  1208. package/script/src/api/subscription/_methods/l2Book.d.ts.map +1 -1
  1209. package/script/src/api/subscription/_methods/l2Book.js +18 -16
  1210. package/script/src/api/subscription/_methods/l2Book.js.map +1 -1
  1211. package/script/src/api/subscription/_methods/notification.d.ts +7 -12
  1212. package/script/src/api/subscription/_methods/notification.d.ts.map +1 -1
  1213. package/script/src/api/subscription/_methods/notification.js +7 -7
  1214. package/script/src/api/subscription/_methods/notification.js.map +1 -1
  1215. package/script/src/api/subscription/_methods/openOrders.d.ts +27 -103
  1216. package/script/src/api/subscription/_methods/openOrders.d.ts.map +1 -1
  1217. package/script/src/api/subscription/_methods/openOrders.js +10 -10
  1218. package/script/src/api/subscription/_methods/openOrders.js.map +1 -1
  1219. package/script/src/api/subscription/_methods/orderUpdates.d.ts +19 -56
  1220. package/script/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -1
  1221. package/script/src/api/subscription/_methods/orderUpdates.js +9 -38
  1222. package/script/src/api/subscription/_methods/orderUpdates.js.map +1 -1
  1223. package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts +13 -33
  1224. package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -1
  1225. package/script/src/api/subscription/_methods/spotAssetCtxs.js +4 -4
  1226. package/script/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -1
  1227. package/script/src/api/subscription/_methods/spotState.d.ts +22 -78
  1228. package/script/src/api/subscription/_methods/spotState.d.ts.map +1 -1
  1229. package/script/src/api/subscription/_methods/spotState.js +9 -9
  1230. package/script/src/api/subscription/_methods/spotState.js.map +1 -1
  1231. package/script/src/api/subscription/_methods/trades.d.ts +14 -35
  1232. package/script/src/api/subscription/_methods/trades.d.ts.map +1 -1
  1233. package/script/src/api/subscription/_methods/trades.js +5 -5
  1234. package/script/src/api/subscription/_methods/trades.js.map +1 -1
  1235. package/script/src/api/subscription/_methods/twapStates.d.ts +21 -62
  1236. package/script/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
  1237. package/script/src/api/subscription/_methods/twapStates.js +10 -10
  1238. package/script/src/api/subscription/_methods/twapStates.js.map +1 -1
  1239. package/script/src/api/subscription/_methods/userEvents.d.ts +91 -402
  1240. package/script/src/api/subscription/_methods/userEvents.d.ts.map +1 -1
  1241. package/script/src/api/subscription/_methods/userEvents.js +27 -27
  1242. package/script/src/api/subscription/_methods/userEvents.js.map +1 -1
  1243. package/script/src/api/subscription/_methods/userFills.d.ts +34 -130
  1244. package/script/src/api/subscription/_methods/userFills.d.ts.map +1 -1
  1245. package/script/src/api/subscription/_methods/userFills.js +10 -10
  1246. package/script/src/api/subscription/_methods/userFills.js.map +1 -1
  1247. package/script/src/api/subscription/_methods/userFundings.d.ts +16 -37
  1248. package/script/src/api/subscription/_methods/userFundings.d.ts.map +1 -1
  1249. package/script/src/api/subscription/_methods/userFundings.js +16 -16
  1250. package/script/src/api/subscription/_methods/userFundings.js.map +1 -1
  1251. package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts +30 -134
  1252. package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -1
  1253. package/script/src/api/subscription/_methods/userHistoricalOrders.js +9 -9
  1254. package/script/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -1
  1255. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +119 -565
  1256. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
  1257. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +9 -9
  1258. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -1
  1259. package/script/src/api/subscription/_methods/userTwapHistory.d.ts +29 -126
  1260. package/script/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -1
  1261. package/script/src/api/subscription/_methods/userTwapHistory.js +9 -9
  1262. package/script/src/api/subscription/_methods/userTwapHistory.js.map +1 -1
  1263. package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts +29 -124
  1264. package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -1
  1265. package/script/src/api/subscription/_methods/userTwapSliceFills.js +9 -9
  1266. package/script/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -1
  1267. package/script/src/api/subscription/_methods/webData2.d.ts +149 -818
  1268. package/script/src/api/subscription/_methods/webData2.d.ts.map +1 -1
  1269. package/script/src/api/subscription/_methods/webData2.js +5 -5
  1270. package/script/src/api/subscription/_methods/webData2.js.map +1 -1
  1271. package/script/src/api/subscription/_methods/webData3.d.ts +25 -71
  1272. package/script/src/api/subscription/_methods/webData3.d.ts.map +1 -1
  1273. package/script/src/api/subscription/_methods/webData3.js +22 -22
  1274. package/script/src/api/subscription/_methods/webData3.js.map +1 -1
  1275. package/script/src/api/subscription/client.d.ts +664 -29
  1276. package/script/src/api/subscription/client.d.ts.map +1 -1
  1277. package/script/src/api/subscription/client.js +618 -27
  1278. package/script/src/api/subscription/client.js.map +1 -1
  1279. package/script/src/signing/_abstractWallet.d.ts +33 -66
  1280. package/script/src/signing/_abstractWallet.d.ts.map +1 -1
  1281. package/script/src/signing/_abstractWallet.js +39 -63
  1282. package/script/src/signing/_abstractWallet.js.map +1 -1
  1283. package/script/src/signing/_privateKeySigner.d.ts.map +1 -1
  1284. package/script/src/signing/_privateKeySigner.js +2 -7
  1285. package/script/src/signing/_privateKeySigner.js.map +1 -1
  1286. package/script/src/signing/mod.d.ts.map +1 -1
  1287. package/script/src/signing/mod.js +11 -10
  1288. package/script/src/signing/mod.js.map +1 -1
  1289. package/src/bin/_utils.ts +33 -1
  1290. package/src/bin/cli.ts +295 -265
  1291. package/src/src/api/_schemas.ts +10 -1
  1292. package/src/src/api/exchange/_methods/_base/_semaphore.ts +1 -1
  1293. package/src/src/api/exchange/_methods/_base/commonSchemas.ts +23 -61
  1294. package/src/src/api/exchange/_methods/agentEnableDexAbstraction.ts +15 -34
  1295. package/src/src/api/exchange/_methods/agentSetAbstraction.ts +109 -0
  1296. package/src/src/api/exchange/_methods/approveAgent.ts +34 -67
  1297. package/src/src/api/exchange/_methods/approveBuilderFee.ts +20 -53
  1298. package/src/src/api/exchange/_methods/batchModify.ts +66 -143
  1299. package/src/src/api/exchange/_methods/borrowLend.ts +21 -54
  1300. package/src/src/api/exchange/_methods/cDeposit.ts +18 -49
  1301. package/src/src/api/exchange/_methods/cSignerAction.ts +24 -54
  1302. package/src/src/api/exchange/_methods/cValidatorAction.ts +72 -164
  1303. package/src/src/api/exchange/_methods/cWithdraw.ts +18 -49
  1304. package/src/src/api/exchange/_methods/cancel.ts +39 -90
  1305. package/src/src/api/exchange/_methods/cancelByCloid.ts +21 -54
  1306. package/src/src/api/exchange/_methods/claimRewards.ts +13 -34
  1307. package/src/src/api/exchange/_methods/convertToMultiSigUser.ts +41 -85
  1308. package/src/src/api/exchange/_methods/createSubAccount.ts +27 -65
  1309. package/src/src/api/exchange/_methods/createVault.ts +32 -82
  1310. package/src/src/api/exchange/_methods/evmUserModify.ts +15 -39
  1311. package/src/src/api/exchange/_methods/linkStakingUser.ts +28 -69
  1312. package/src/src/api/exchange/_methods/modify.ts +62 -134
  1313. package/src/src/api/exchange/_methods/noop.ts +13 -34
  1314. package/src/src/api/exchange/_methods/order.ts +116 -240
  1315. package/src/src/api/exchange/_methods/perpDeploy.ts +178 -439
  1316. package/src/src/api/exchange/_methods/registerReferrer.ts +15 -41
  1317. package/src/src/api/exchange/_methods/reserveRequestWeight.ts +15 -40
  1318. package/src/src/api/exchange/_methods/scheduleCancel.ts +22 -53
  1319. package/src/src/api/exchange/_methods/sendAsset.ts +30 -75
  1320. package/src/src/api/exchange/_methods/setDisplayName.ts +18 -46
  1321. package/src/src/api/exchange/_methods/setReferrer.ts +15 -41
  1322. package/src/src/api/exchange/_methods/spotDeploy.ts +114 -273
  1323. package/src/src/api/exchange/_methods/spotSend.ts +22 -58
  1324. package/src/src/api/exchange/_methods/spotUser.ts +18 -45
  1325. package/src/src/api/exchange/_methods/subAccountModify.ts +17 -46
  1326. package/src/src/api/exchange/_methods/subAccountSpotTransfer.ts +21 -54
  1327. package/src/src/api/exchange/_methods/subAccountTransfer.ts +19 -50
  1328. package/src/src/api/exchange/_methods/tokenDelegate.ts +22 -59
  1329. package/src/src/api/exchange/_methods/twapCancel.ts +37 -85
  1330. package/src/src/api/exchange/_methods/twapOrder.ts +53 -124
  1331. package/src/src/api/exchange/_methods/updateIsolatedMargin.ts +21 -54
  1332. package/src/src/api/exchange/_methods/updateLeverage.ts +21 -55
  1333. package/src/src/api/exchange/_methods/usdClassTransfer.ts +20 -53
  1334. package/src/src/api/exchange/_methods/usdSend.ts +20 -53
  1335. package/src/src/api/exchange/_methods/userDexAbstraction.ts +22 -53
  1336. package/src/src/api/exchange/_methods/userPortfolioMargin.ts +20 -53
  1337. package/src/src/api/exchange/_methods/userSetAbstraction.ts +123 -0
  1338. package/src/src/api/exchange/_methods/validatorL1Stream.ts +15 -39
  1339. package/src/src/api/exchange/_methods/vaultDistribute.ts +20 -50
  1340. package/src/src/api/exchange/_methods/vaultModify.ts +19 -49
  1341. package/src/src/api/exchange/_methods/vaultTransfer.ts +19 -50
  1342. package/src/src/api/exchange/_methods/withdraw3.ts +20 -53
  1343. package/src/src/api/exchange/client.ts +1322 -59
  1344. package/src/src/api/exchange/mod.ts +2 -0
  1345. package/src/src/api/info/_methods/_base/commonSchemas.ts +242 -550
  1346. package/src/src/api/info/_methods/activeAssetData.ts +37 -87
  1347. package/src/src/api/info/_methods/alignedQuoteTokenInfo.ts +22 -49
  1348. package/src/src/api/info/_methods/allBorrowLendReserveStates.ts +5 -19
  1349. package/src/src/api/info/_methods/allMids.ts +7 -19
  1350. package/src/src/api/info/_methods/allPerpMetas.ts +5 -14
  1351. package/src/src/api/info/_methods/blockDetails.ts +24 -61
  1352. package/src/src/api/info/_methods/borrowLendReserveState.ts +24 -60
  1353. package/src/src/api/info/_methods/borrowLendUserState.ts +34 -73
  1354. package/src/src/api/info/_methods/candleSnapshot.ts +37 -91
  1355. package/src/src/api/info/_methods/clearinghouseState.ts +91 -214
  1356. package/src/src/api/info/_methods/delegations.ts +15 -36
  1357. package/src/src/api/info/_methods/delegatorHistory.ts +43 -92
  1358. package/src/src/api/info/_methods/delegatorRewards.ts +15 -36
  1359. package/src/src/api/info/_methods/delegatorSummary.ts +16 -40
  1360. package/src/src/api/info/_methods/exchangeStatus.ts +10 -25
  1361. package/src/src/api/info/_methods/extraAgents.ts +15 -37
  1362. package/src/src/api/info/_methods/frontendOpenOrders.ts +9 -24
  1363. package/src/src/api/info/_methods/fundingHistory.ts +21 -51
  1364. package/src/src/api/info/_methods/gossipRootIps.ts +5 -14
  1365. package/src/src/api/info/_methods/historicalOrders.ts +46 -98
  1366. package/src/src/api/info/_methods/isVip.ts +7 -19
  1367. package/src/src/api/info/_methods/l2Book.ts +29 -66
  1368. package/src/src/api/info/_methods/leadingVaults.ts +13 -31
  1369. package/src/src/api/info/_methods/legalCheck.ts +14 -35
  1370. package/src/src/api/info/_methods/liquidatable.ts +5 -14
  1371. package/src/src/api/info/_methods/marginTable.ts +19 -44
  1372. package/src/src/api/info/_methods/maxBuilderFee.ts +9 -24
  1373. package/src/src/api/info/_methods/maxMarketOrderNtls.ts +6 -17
  1374. package/src/src/api/info/_methods/meta.ts +35 -89
  1375. package/src/src/api/info/_methods/metaAndAssetCtxs.ts +7 -22
  1376. package/src/src/api/info/_methods/openOrders.ts +9 -24
  1377. package/src/src/api/info/_methods/orderStatus.ts +57 -125
  1378. package/src/src/api/info/_methods/perpDeployAuctionStatus.ts +16 -40
  1379. package/src/src/api/info/_methods/perpDexLimits.ts +17 -41
  1380. package/src/src/api/info/_methods/perpDexStatus.ts +10 -25
  1381. package/src/src/api/info/_methods/perpDexs.ts +31 -81
  1382. package/src/src/api/info/_methods/perpsAtOpenInterestCap.ts +7 -19
  1383. package/src/src/api/info/_methods/portfolio.ts +24 -49
  1384. package/src/src/api/info/_methods/preTransferCheck.ts +18 -45
  1385. package/src/src/api/info/_methods/predictedFundings.ts +27 -45
  1386. package/src/src/api/info/_methods/recentTrades.ts +25 -62
  1387. package/src/src/api/info/_methods/referral.ts +106 -234
  1388. package/src/src/api/info/_methods/spotClearinghouseState.ts +37 -82
  1389. package/src/src/api/info/_methods/spotDeployState.ts +44 -104
  1390. package/src/src/api/info/_methods/spotMeta.ts +78 -144
  1391. package/src/src/api/info/_methods/spotMetaAndAssetCtxs.ts +5 -17
  1392. package/src/src/api/info/_methods/spotPairDeployAuctionStatus.ts +5 -14
  1393. package/src/src/api/info/_methods/subAccounts.ts +20 -48
  1394. package/src/src/api/info/_methods/subAccounts2.ts +23 -50
  1395. package/src/src/api/info/_methods/tokenDetails.ts +49 -119
  1396. package/src/src/api/info/_methods/twapHistory.ts +34 -73
  1397. package/src/src/api/info/_methods/txDetails.ts +12 -31
  1398. package/src/src/api/info/_methods/userBorrowLendInterest.ts +22 -51
  1399. package/src/src/api/info/_methods/userDetails.ts +12 -30
  1400. package/src/src/api/info/_methods/userDexAbstraction.ts +7 -19
  1401. package/src/src/api/info/_methods/userFees.ts +103 -243
  1402. package/src/src/api/info/_methods/userFills.ts +27 -57
  1403. package/src/src/api/info/_methods/userFillsByTime.ts +13 -34
  1404. package/src/src/api/info/_methods/userFunding.ts +31 -77
  1405. package/src/src/api/info/_methods/userNonFundingLedgerUpdates.ts +249 -538
  1406. package/src/src/api/info/_methods/userRateLimit.ts +16 -40
  1407. package/src/src/api/info/_methods/userRole.ts +28 -61
  1408. package/src/src/api/info/_methods/userToMultiSigSigners.ts +13 -33
  1409. package/src/src/api/info/_methods/userTwapSliceFills.ts +13 -31
  1410. package/src/src/api/info/_methods/userTwapSliceFillsByTime.ts +13 -34
  1411. package/src/src/api/info/_methods/userVaultEquities.ts +15 -36
  1412. package/src/src/api/info/_methods/validatorL1Votes.ts +22 -40
  1413. package/src/src/api/info/_methods/validatorSummaries.ts +41 -96
  1414. package/src/src/api/info/_methods/vaultDetails.ts +76 -181
  1415. package/src/src/api/info/_methods/vaultSummaries.ts +21 -51
  1416. package/src/src/api/info/_methods/webData2.ts +42 -105
  1417. package/src/src/api/info/client.ts +1580 -82
  1418. package/src/src/api/subscription/_methods/activeAssetCtx.ts +12 -30
  1419. package/src/src/api/subscription/_methods/activeAssetData.ts +9 -24
  1420. package/src/src/api/subscription/_methods/activeSpotAssetCtx.ts +12 -30
  1421. package/src/src/api/subscription/_methods/allDexsAssetCtxs.ts +8 -25
  1422. package/src/src/api/subscription/_methods/allDexsClearinghouseState.ts +12 -35
  1423. package/src/src/api/subscription/_methods/allMids.ts +12 -30
  1424. package/src/src/api/subscription/_methods/assetCtxs.ts +12 -30
  1425. package/src/src/api/subscription/_methods/bbo.ts +22 -55
  1426. package/src/src/api/subscription/_methods/candle.ts +30 -75
  1427. package/src/src/api/subscription/_methods/clearinghouseState.ts +16 -40
  1428. package/src/src/api/subscription/_methods/explorerBlock.ts +17 -42
  1429. package/src/src/api/subscription/_methods/explorerTxs.ts +5 -14
  1430. package/src/src/api/subscription/_methods/l2Book.ts +28 -65
  1431. package/src/src/api/subscription/_methods/notification.ts +10 -25
  1432. package/src/src/api/subscription/_methods/openOrders.ts +16 -40
  1433. package/src/src/api/subscription/_methods/orderUpdates.ts +46 -98
  1434. package/src/src/api/subscription/_methods/spotAssetCtxs.ts +5 -14
  1435. package/src/src/api/subscription/_methods/spotState.ts +14 -35
  1436. package/src/src/api/subscription/_methods/trades.ts +7 -19
  1437. package/src/src/api/subscription/_methods/twapStates.ts +16 -40
  1438. package/src/src/api/subscription/_methods/userEvents.ts +66 -132
  1439. package/src/src/api/subscription/_methods/userFills.ts +16 -40
  1440. package/src/src/api/subscription/_methods/userFundings.ts +29 -68
  1441. package/src/src/api/subscription/_methods/userHistoricalOrders.ts +14 -35
  1442. package/src/src/api/subscription/_methods/userNonFundingLedgerUpdates.ts +14 -35
  1443. package/src/src/api/subscription/_methods/userTwapHistory.ts +14 -35
  1444. package/src/src/api/subscription/_methods/userTwapSliceFills.ts +14 -35
  1445. package/src/src/api/subscription/_methods/webData2.ts +7 -19
  1446. package/src/src/api/subscription/_methods/webData3.ts +39 -93
  1447. package/src/src/api/subscription/client.ts +664 -29
  1448. package/src/src/signing/_abstractWallet.ts +82 -136
  1449. package/src/src/signing/_privateKeySigner.ts +2 -11
  1450. package/src/src/signing/mod.ts +12 -10
  1451. /package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.d.ts +0 -0
  1452. /package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js +0 -0
  1453. /package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.d.ts +0 -0
  1454. /package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js +0 -0
  1455. /package/src/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.ts +0 -0
@@ -5,6 +5,7 @@ exports.ApiRequestError = exports.ExchangeClient = void 0;
5
5
  // Methods Imports
6
6
  // =============================================================
7
7
  const agentEnableDexAbstraction_js_1 = require("./_methods/agentEnableDexAbstraction.js");
8
+ const agentSetAbstraction_js_1 = require("./_methods/agentSetAbstraction.js");
8
9
  const approveAgent_js_1 = require("./_methods/approveAgent.js");
9
10
  const approveBuilderFee_js_1 = require("./_methods/approveBuilderFee.js");
10
11
  const batchModify_js_1 = require("./_methods/batchModify.js");
@@ -45,6 +46,7 @@ const updateLeverage_js_1 = require("./_methods/updateLeverage.js");
45
46
  const usdClassTransfer_js_1 = require("./_methods/usdClassTransfer.js");
46
47
  const usdSend_js_1 = require("./_methods/usdSend.js");
47
48
  const userDexAbstraction_js_1 = require("./_methods/userDexAbstraction.js");
49
+ const userSetAbstraction_js_1 = require("./_methods/userSetAbstraction.js");
48
50
  const userPortfolioMargin_js_1 = require("./_methods/userPortfolioMargin.js");
49
51
  const validatorL1Stream_js_1 = require("./_methods/validatorL1Stream.js");
50
52
  const vaultDistribute_js_1 = require("./_methods/vaultDistribute.js");
@@ -108,95 +110,710 @@ class ExchangeClient {
108
110
  constructor(config) {
109
111
  this.config_ = config;
110
112
  }
111
- /** @see {@link agentEnableDexAbstraction} */
113
+ /**
114
+ * Enable HIP-3 DEX abstraction.
115
+ *
116
+ * @deprecated Use {@link agentSetAbstraction} instead.
117
+ *
118
+ * @param params - Parameters specific to the API request.
119
+ * @param opts - Request execution options.
120
+ *
121
+ * @returns Successful response without specific data.
122
+ *
123
+ * @throws {ValiError} When the request parameters fail validation (before sending).
124
+ * @throws {TransportError} When the transport layer throws an error.
125
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
126
+ *
127
+ * @example
128
+ * ```ts
129
+ * import * as hl from "@nktkas/hyperliquid";
130
+ * import { privateKeyToAccount } from "npm:viem/accounts";
131
+ *
132
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
133
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
134
+ * const client = new hl.ExchangeClient({ transport, wallet });
135
+ *
136
+ * await client.agentEnableDexAbstraction();
137
+ * ```
138
+ *
139
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#enable-hip-3-dex-abstraction-agent
140
+ */
112
141
  agentEnableDexAbstraction(opts) {
113
142
  return (0, agentEnableDexAbstraction_js_1.agentEnableDexAbstraction)(this.config_, opts);
114
143
  }
115
- /** @see {@link approveAgent} */
144
+ /**
145
+ * Set User abstraction mode (method for agent wallet).
146
+ *
147
+ * @param params - Parameters specific to the API request.
148
+ * @param opts - Request execution options.
149
+ *
150
+ * @returns Successful response without specific data.
151
+ *
152
+ * @throws {ValiError} When the request parameters fail validation (before sending).
153
+ * @throws {TransportError} When the transport layer throws an error.
154
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
155
+ *
156
+ * @example
157
+ * ```ts
158
+ * import * as hl from "@nktkas/hyperliquid";
159
+ * import { privateKeyToAccount } from "npm:viem/accounts";
160
+ *
161
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
162
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
163
+ * const client = new hl.ExchangeClient({ transport, wallet });
164
+ *
165
+ * await client.agentSetAbstraction({ abstraction: "u" });
166
+ * ```
167
+ *
168
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#set-user-abstraction-agent
169
+ */
170
+ agentSetAbstraction(params, opts) {
171
+ return (0, agentSetAbstraction_js_1.agentSetAbstraction)(this.config_, params, opts);
172
+ }
173
+ /**
174
+ * Approve an agent to sign on behalf of the master account.
175
+ *
176
+ * @param params - Parameters specific to the API request.
177
+ * @param opts - Request execution options.
178
+ *
179
+ * @returns Successful response without specific data.
180
+ *
181
+ * @throws {ValiError} When the request parameters fail validation (before sending).
182
+ * @throws {TransportError} When the transport layer throws an error.
183
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
184
+ *
185
+ * @example
186
+ * ```ts
187
+ * import * as hl from "@nktkas/hyperliquid";
188
+ * import { privateKeyToAccount } from "npm:viem/accounts";
189
+ *
190
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
191
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
192
+ * const client = new hl.ExchangeClient({ transport, wallet });
193
+ *
194
+ * await client.approveAgent({ agentAddress: "0x...", agentName: "myAgent" });
195
+ * ```
196
+ *
197
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#approve-an-api-wallet
198
+ */
116
199
  approveAgent(params, opts) {
117
200
  return (0, approveAgent_js_1.approveAgent)(this.config_, params, opts);
118
201
  }
119
- /** @see {@link approveBuilderFee} */
202
+ /**
203
+ * Approve a maximum fee rate for a builder.
204
+ *
205
+ * @param params - Parameters specific to the API request.
206
+ * @param opts - Request execution options.
207
+ *
208
+ * @returns Successful response without specific data.
209
+ *
210
+ * @throws {ValiError} When the request parameters fail validation (before sending).
211
+ * @throws {TransportError} When the transport layer throws an error.
212
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
213
+ *
214
+ * @example
215
+ * ```ts
216
+ * import * as hl from "@nktkas/hyperliquid";
217
+ * import { privateKeyToAccount } from "npm:viem/accounts";
218
+ *
219
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
220
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
221
+ * const client = new hl.ExchangeClient({ transport, wallet });
222
+ *
223
+ * await client.approveBuilderFee({ maxFeeRate: "0.01%", builder: "0x..." });
224
+ * ```
225
+ *
226
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#approve-a-builder-fee
227
+ */
120
228
  approveBuilderFee(params, opts) {
121
229
  return (0, approveBuilderFee_js_1.approveBuilderFee)(this.config_, params, opts);
122
230
  }
123
- /** @see {@link batchModify} */
231
+ /**
232
+ * Modify multiple orders.
233
+ *
234
+ * @param params - Parameters specific to the API request.
235
+ * @param opts - Request execution options.
236
+ *
237
+ * @returns Successful variant of {@link OrderResponse} without error statuses.
238
+ *
239
+ * @throws {ValiError} When the request parameters fail validation (before sending).
240
+ * @throws {TransportError} When the transport layer throws an error.
241
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
242
+ *
243
+ * @example
244
+ * ```ts
245
+ * import * as hl from "@nktkas/hyperliquid";
246
+ * import { privateKeyToAccount } from "npm:viem/accounts";
247
+ *
248
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
249
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
250
+ * const client = new hl.ExchangeClient({ transport, wallet });
251
+ *
252
+ * const data = await client.batchModify({ modifies: [ { oid: 123, order: { a: 0, b: true, p: "31000", s: "0.2", r: false, t: { limit: { tif: "Gtc" } } } }, ] });
253
+ * ```
254
+ *
255
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
256
+ */
124
257
  batchModify(params, opts) {
125
258
  return (0, batchModify_js_1.batchModify)(this.config_, params, opts);
126
259
  }
127
- /** @see {@link borrowLend} */
260
+ /**
261
+ * Borrow or lend assets.
262
+ *
263
+ * @param params - Parameters specific to the API request.
264
+ * @param opts - Request execution options.
265
+ *
266
+ * @returns Successful response without specific data.
267
+ *
268
+ * @throws {ValiError} When the request parameters fail validation (before sending).
269
+ * @throws {TransportError} When the transport layer throws an error.
270
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
271
+ *
272
+ * @example
273
+ * ```ts
274
+ * import * as hl from "@nktkas/hyperliquid";
275
+ * import { privateKeyToAccount } from "npm:viem/accounts";
276
+ *
277
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
278
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
279
+ * const client = new hl.ExchangeClient({ transport, wallet });
280
+ *
281
+ * const data = await client.borrowLend({ operation: "supply", token: 0, amount: "20" });
282
+ * ```
283
+ */
128
284
  borrowLend(params, opts) {
129
285
  return (0, borrowLend_js_1.borrowLend)(this.config_, params, opts);
130
286
  }
131
- /** @see {@link cancel} */
287
+ /**
288
+ * Cancel order(s).
289
+ *
290
+ * @param params - Parameters specific to the API request.
291
+ * @param opts - Request execution options.
292
+ *
293
+ * @returns Successful variant of {@link CancelResponse} without error statuses.
294
+ *
295
+ * @throws {ValiError} When the request parameters fail validation (before sending).
296
+ * @throws {TransportError} When the transport layer throws an error.
297
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
298
+ *
299
+ * @example
300
+ * ```ts
301
+ * import * as hl from "@nktkas/hyperliquid";
302
+ * import { privateKeyToAccount } from "npm:viem/accounts";
303
+ *
304
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
305
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
306
+ * const client = new hl.ExchangeClient({ transport, wallet });
307
+ *
308
+ * const data = await client.cancel({ cancels: [ { a: 0, o: 123 }, ] });
309
+ * ```
310
+ *
311
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
312
+ */
132
313
  cancel(params, opts) {
133
314
  return (0, cancel_js_1.cancel)(this.config_, params, opts);
134
315
  }
135
- /** @see {@link cancelByCloid} */
316
+ /**
317
+ * Cancel order(s) by cloid.
318
+ *
319
+ * @param params - Parameters specific to the API request.
320
+ * @param opts - Request execution options.
321
+ *
322
+ * @returns Successful variant of {@link CancelResponse} without error statuses.
323
+ *
324
+ * @throws {ValiError} When the request parameters fail validation (before sending).
325
+ * @throws {TransportError} When the transport layer throws an error.
326
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
327
+ *
328
+ * @example
329
+ * ```ts
330
+ * import * as hl from "@nktkas/hyperliquid";
331
+ * import { privateKeyToAccount } from "npm:viem/accounts";
332
+ *
333
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
334
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
335
+ * const client = new hl.ExchangeClient({ transport, wallet });
336
+ *
337
+ * const data = await client.cancelByCloid({ cancels: [ { asset: 0, cloid: "0x..." }, ] });
338
+ * ```
339
+ *
340
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
341
+ */
136
342
  cancelByCloid(params, opts) {
137
343
  return (0, cancelByCloid_js_1.cancelByCloid)(this.config_, params, opts);
138
344
  }
139
- /** @see {@link cDeposit} */
345
+ /**
346
+ * Transfer native token from the user spot account into staking for delegating to validators.
347
+ *
348
+ * @param params - Parameters specific to the API request.
349
+ * @param opts - Request execution options.
350
+ *
351
+ * @returns Successful response without specific data.
352
+ *
353
+ * @throws {ValiError} When the request parameters fail validation (before sending).
354
+ * @throws {TransportError} When the transport layer throws an error.
355
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
356
+ *
357
+ * @example
358
+ * ```ts
359
+ * import * as hl from "@nktkas/hyperliquid";
360
+ * import { privateKeyToAccount } from "npm:viem/accounts";
361
+ *
362
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
363
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
364
+ * const client = new hl.ExchangeClient({ transport, wallet });
365
+ *
366
+ * await client.cDeposit({ wei: 1 * 1e8 });
367
+ * ```
368
+ *
369
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-into-staking
370
+ */
140
371
  cDeposit(params, opts) {
141
372
  return (0, cDeposit_js_1.cDeposit)(this.config_, params, opts);
142
373
  }
143
- /** @see {@link claimRewards} */
374
+ /**
375
+ * Claim rewards from referral program.
376
+ *
377
+ * @param opts - Request execution options.
378
+ *
379
+ * @returns Successful response without specific data.
380
+ *
381
+ * @throws {ValiError} When the request parameters fail validation (before sending).
382
+ * @throws {TransportError} When the transport layer throws an error.
383
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
384
+ *
385
+ * @example
386
+ * ```ts
387
+ * import * as hl from "@nktkas/hyperliquid";
388
+ * import { privateKeyToAccount } from "npm:viem/accounts";
389
+ *
390
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
391
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
392
+ * const client = new hl.ExchangeClient({ transport, wallet });
393
+ *
394
+ * await client.claimRewards();
395
+ * ```
396
+ */
144
397
  claimRewards(opts) {
145
398
  return (0, claimRewards_js_1.claimRewards)(this.config_, opts);
146
399
  }
147
- /** @see {@link convertToMultiSigUser} */
400
+ /**
401
+ * Convert a single-signature account to a multi-signature account or vice versa.
402
+ *
403
+ * @param params - Parameters specific to the API request.
404
+ * @param opts - Request execution options.
405
+ *
406
+ * @returns Successful response without specific data.
407
+ *
408
+ * @throws {ValiError} When the request parameters fail validation (before sending).
409
+ * @throws {TransportError} When the transport layer throws an error.
410
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
411
+ *
412
+ * @example
413
+ * ```ts
414
+ * import * as hl from "@nktkas/hyperliquid";
415
+ * import { privateKeyToAccount } from "npm:viem/accounts";
416
+ *
417
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
418
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
419
+ * const client = new hl.ExchangeClient({ transport, wallet });
420
+ *
421
+ * await client.convertToMultiSigUser({ signers: { authorizedUsers: ["0x...", "0x...", "0x..."], threshold: 2 } });
422
+ * ```
423
+ *
424
+ * @example
425
+ * ```ts
426
+ * import * as hl from "@nktkas/hyperliquid";
427
+ * import { privateKeyToAccount } from "npm:viem/accounts";
428
+ *
429
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
430
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
431
+ * const client = new hl.ExchangeClient({ transport, wallet });
432
+ *
433
+ * await client.convertToMultiSigUser({ signers: null });
434
+ * ```
435
+ *
436
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
437
+ */
148
438
  convertToMultiSigUser(params, opts) {
149
439
  return (0, convertToMultiSigUser_js_1.convertToMultiSigUser)(this.config_, params, opts);
150
440
  }
151
- /** @see {@link createSubAccount} */
441
+ /**
442
+ * Create a sub-account.
443
+ *
444
+ * @param params - Parameters specific to the API request.
445
+ * @param opts - Request execution options.
446
+ *
447
+ * @returns Response for creating a sub-account.
448
+ *
449
+ * @throws {ValiError} When the request parameters fail validation (before sending).
450
+ * @throws {TransportError} When the transport layer throws an error.
451
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
452
+ *
453
+ * @example
454
+ * ```ts
455
+ * import * as hl from "@nktkas/hyperliquid";
456
+ * import { privateKeyToAccount } from "npm:viem/accounts";
457
+ *
458
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
459
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
460
+ * const client = new hl.ExchangeClient({ transport, wallet });
461
+ *
462
+ * const data = await client.createSubAccount({ name: "..." });
463
+ * ```
464
+ */
152
465
  createSubAccount(params, opts) {
153
466
  return (0, createSubAccount_js_1.createSubAccount)(this.config_, params, opts);
154
467
  }
155
- /** @see {@link createVault} */
468
+ /**
469
+ * Create a vault.
470
+ *
471
+ * @param params - Parameters specific to the API request.
472
+ * @param opts - Request execution options.
473
+ *
474
+ * @returns Response for creating a vault.
475
+ *
476
+ * @throws {ValiError} When the request parameters fail validation (before sending).
477
+ * @throws {TransportError} When the transport layer throws an error.
478
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
479
+ *
480
+ * @example
481
+ * ```ts
482
+ * import * as hl from "@nktkas/hyperliquid";
483
+ * import { privateKeyToAccount } from "npm:viem/accounts";
484
+ *
485
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
486
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
487
+ * const client = new hl.ExchangeClient({ transport, wallet });
488
+ *
489
+ * const data = await client.createVault({ name: "...", description: "...", initialUsd: 100 * 1e6, nonce: Date.now() });
490
+ * ```
491
+ */
156
492
  createVault(params, opts) {
157
493
  return (0, createVault_js_1.createVault)(this.config_, params, opts);
158
494
  }
159
- /** @see {@link cSignerAction} */
495
+ /**
496
+ * Jail or unjail self as a validator signer.
497
+ *
498
+ * @param params - Parameters specific to the API request.
499
+ * @param opts - Request execution options.
500
+ *
501
+ * @returns Successful response without specific data.
502
+ *
503
+ * @throws {ValiError} When the request parameters fail validation (before sending).
504
+ * @throws {TransportError} When the transport layer throws an error.
505
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
506
+ *
507
+ * @example
508
+ * ```ts
509
+ * import * as hl from "@nktkas/hyperliquid";
510
+ * import { privateKeyToAccount } from "npm:viem/accounts";
511
+ *
512
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
513
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
514
+ * const client = new hl.ExchangeClient({ transport, wallet });
515
+ *
516
+ * await client.cSignerAction({ jailSelf: null });
517
+ * ```
518
+ *
519
+ * @example
520
+ * ```ts
521
+ * import * as hl from "@nktkas/hyperliquid";
522
+ * import { privateKeyToAccount } from "npm:viem/accounts";
523
+ *
524
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
525
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
526
+ * const client = new hl.ExchangeClient({ transport, wallet });
527
+ *
528
+ * await client.cSignerAction({ unjailSelf: null });
529
+ * ```
530
+ */
160
531
  cSignerAction(params, opts) {
161
532
  return (0, cSignerAction_js_1.cSignerAction)(this.config_, params, opts);
162
533
  }
163
- /** @see {@link cValidatorAction} */
534
+ /**
535
+ * Action related to validator management.
536
+ *
537
+ * @param params - Parameters specific to the API request.
538
+ * @param opts - Request execution options.
539
+ *
540
+ * @returns Successful response without specific data.
541
+ *
542
+ * @throws {ValiError} When the request parameters fail validation (before sending).
543
+ * @throws {TransportError} When the transport layer throws an error.
544
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
545
+ *
546
+ * @example
547
+ * ```ts
548
+ * import * as hl from "@nktkas/hyperliquid";
549
+ * import { privateKeyToAccount } from "npm:viem/accounts";
550
+ *
551
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
552
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
553
+ * const client = new hl.ExchangeClient({ transport, wallet });
554
+ *
555
+ * await client.cValidatorAction({ changeProfile: { node_ip: { Ip: "1.2.3.4" }, name: "...", description: "...", unjailed: true, disable_delegations: false, commission_bps: null, signer: null } });
556
+ * ```
557
+ */
164
558
  cValidatorAction(params, opts) {
165
559
  return (0, cValidatorAction_js_1.cValidatorAction)(this.config_, params, opts);
166
560
  }
167
- /** @see {@link cWithdraw} */
561
+ /**
562
+ * Transfer native token from staking into the user's spot account.
563
+ *
564
+ * @param params - Parameters specific to the API request.
565
+ * @param opts - Request execution options.
566
+ *
567
+ * @returns Successful response without specific data.
568
+ *
569
+ * @throws {ValiError} When the request parameters fail validation (before sending).
570
+ * @throws {TransportError} When the transport layer throws an error.
571
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
572
+ *
573
+ * @example
574
+ * ```ts
575
+ * import * as hl from "@nktkas/hyperliquid";
576
+ * import { privateKeyToAccount } from "npm:viem/accounts";
577
+ *
578
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
579
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
580
+ * const client = new hl.ExchangeClient({ transport, wallet });
581
+ *
582
+ * await client.cWithdraw({ wei: 1 * 1e8 });
583
+ * ```
584
+ *
585
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#withdraw-from-staking
586
+ */
168
587
  cWithdraw(params, opts) {
169
588
  return (0, cWithdraw_js_1.cWithdraw)(this.config_, params, opts);
170
589
  }
171
- /** @see {@link evmUserModify} */
590
+ /**
591
+ * Configure block type for EVM transactions.
592
+ *
593
+ * @param params - Parameters specific to the API request.
594
+ * @param opts - Request execution options.
595
+ *
596
+ * @returns Successful response without specific data.
597
+ *
598
+ * @throws {ValiError} When the request parameters fail validation (before sending).
599
+ * @throws {TransportError} When the transport layer throws an error.
600
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
601
+ *
602
+ * @example
603
+ * ```ts
604
+ * import * as hl from "@nktkas/hyperliquid";
605
+ * import { privateKeyToAccount } from "npm:viem/accounts";
606
+ *
607
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
608
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
609
+ * const client = new hl.ExchangeClient({ transport, wallet });
610
+ *
611
+ * await client.evmUserModify({ usingBigBlocks: true });
612
+ * ```
613
+ *
614
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/hyperevm/dual-block-architecture
615
+ */
172
616
  evmUserModify(params, opts) {
173
617
  return (0, evmUserModify_js_1.evmUserModify)(this.config_, params, opts);
174
618
  }
175
- /** @see {@link linkStakingUser} */
619
+ /**
620
+ * Link staking and trading accounts for fee discount attribution.
621
+ *
622
+ * @param params - Parameters specific to the API request.
623
+ * @param opts - Request execution options.
624
+ *
625
+ * @returns Successful response without specific data.
626
+ *
627
+ * @throws {ValiError} When the request parameters fail validation (before sending).
628
+ * @throws {TransportError} When the transport layer throws an error.
629
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
630
+ *
631
+ * @example
632
+ * ```ts
633
+ * import * as hl from "@nktkas/hyperliquid";
634
+ * import { privateKeyToAccount } from "npm:viem/accounts";
635
+ *
636
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
637
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
638
+ * const client = new hl.ExchangeClient({ transport, wallet });
639
+ *
640
+ * await client.linkStakingUser({ user: "0x...", isFinalize: false });
641
+ * ```
642
+ *
643
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/trading/fees#staking-linking
644
+ */
176
645
  linkStakingUser(params, opts) {
177
646
  return (0, linkStakingUser_js_1.linkStakingUser)(this.config_, params, opts);
178
647
  }
179
- /** @see {@link modify} */
648
+ /**
649
+ * Modify an order.
650
+ *
651
+ * @param params - Parameters specific to the API request.
652
+ * @param opts - Request execution options.
653
+ *
654
+ * @returns Successful response without specific data.
655
+ *
656
+ * @throws {ValiError} When the request parameters fail validation (before sending).
657
+ * @throws {TransportError} When the transport layer throws an error.
658
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
659
+ *
660
+ * @example
661
+ * ```ts
662
+ * import * as hl from "@nktkas/hyperliquid";
663
+ * import { privateKeyToAccount } from "npm:viem/accounts";
664
+ *
665
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
666
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
667
+ * const client = new hl.ExchangeClient({ transport, wallet });
668
+ *
669
+ * await client.modify({ oid: 123, order: { a: 0, b: true, p: "31000", s: "0.2", r: false, t: { limit: { tif: "Gtc" } }, c: "0x..." } });
670
+ * ```
671
+ *
672
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
673
+ */
180
674
  modify(params, opts) {
181
675
  return (0, modify_js_1.modify)(this.config_, params, opts);
182
676
  }
183
- /** @see {@link order} */
677
+ /**
678
+ * Place an order(s).
679
+ *
680
+ * @param params - Parameters specific to the API request.
681
+ * @param opts - Request execution options.
682
+ *
683
+ * @returns Successful variant of {@link OrderResponse} without error statuses.
684
+ *
685
+ * @throws {ValiError} When the request parameters fail validation (before sending).
686
+ * @throws {TransportError} When the transport layer throws an error.
687
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
688
+ *
689
+ * @example
690
+ * ```ts
691
+ * import * as hl from "@nktkas/hyperliquid";
692
+ * import { privateKeyToAccount } from "npm:viem/accounts";
693
+ *
694
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
695
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
696
+ * const client = new hl.ExchangeClient({ transport, wallet });
697
+ *
698
+ * const data = await client.order({ orders: [ { a: 0, b: true, p: "30000", s: "0.1", r: false, t: { limit: { tif: "Gtc" } }, c: "0x..." }, ], grouping: "na" });
699
+ * ```
700
+ *
701
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
702
+ */
184
703
  order(params, opts) {
185
704
  return (0, order_js_1.order)(this.config_, params, opts);
186
705
  }
187
- /** @see {@link noop} */
706
+ /**
707
+ * This action does not do anything (no operation), but causes the nonce to be marked as used.
708
+ *
709
+ * @param params - Parameters specific to the API request.
710
+ * @param opts - Request execution options.
711
+ *
712
+ * @returns Successful response without specific data.
713
+ *
714
+ * @throws {ValiError} When the request parameters fail validation (before sending).
715
+ * @throws {TransportError} When the transport layer throws an error.
716
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
717
+ *
718
+ * @example
719
+ * ```ts
720
+ * import * as hl from "@nktkas/hyperliquid";
721
+ * import { privateKeyToAccount } from "npm:viem/accounts";
722
+ *
723
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
724
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
725
+ * const client = new hl.ExchangeClient({ transport, wallet });
726
+ *
727
+ * await client.noop();
728
+ * ```
729
+ *
730
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#invalidate-pending-nonce-noop
731
+ */
188
732
  noop(opts) {
189
733
  return (0, noop_js_1.noop)(this.config_, opts);
190
734
  }
191
- /** @see {@link perpDeploy} */
735
+ /**
736
+ * Deploying HIP-3 assets.
737
+ *
738
+ * @param params - Parameters specific to the API request.
739
+ * @param opts - Request execution options.
740
+ *
741
+ * @returns Successful response without specific data.
742
+ *
743
+ * @throws {ValiError} When the request parameters fail validation (before sending).
744
+ * @throws {TransportError} When the transport layer throws an error.
745
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
746
+ *
747
+ * @example
748
+ * ```ts
749
+ * import * as hl from "@nktkas/hyperliquid";
750
+ * import { privateKeyToAccount } from "npm:viem/accounts";
751
+ *
752
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
753
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
754
+ * const client = new hl.ExchangeClient({ transport, wallet });
755
+ *
756
+ * await client.perpDeploy({ registerAsset: { maxGas: 1000000, assetRequest: { coin: "USDC", szDecimals: 8, oraclePx: "1", marginTableId: 1, onlyIsolated: false }, dex: "test", schema: null } });
757
+ * ```
758
+ *
759
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/hip-3-deployer-actions
760
+ */
192
761
  perpDeploy(params, opts) {
193
762
  return (0, perpDeploy_js_1.perpDeploy)(this.config_, params, opts);
194
763
  }
195
- /** @see {@link registerReferrer} */
764
+ /**
765
+ * Create a referral code.
766
+ *
767
+ * @param params - Parameters specific to the API request.
768
+ * @param opts - Request execution options.
769
+ *
770
+ * @returns Successful response without specific data.
771
+ *
772
+ * @throws {ValiError} When the request parameters fail validation (before sending).
773
+ * @throws {TransportError} When the transport layer throws an error.
774
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
775
+ *
776
+ * @example
777
+ * ```ts
778
+ * import * as hl from "@nktkas/hyperliquid";
779
+ * import { privateKeyToAccount } from "npm:viem/accounts";
780
+ *
781
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
782
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
783
+ * const client = new hl.ExchangeClient({ transport, wallet });
784
+ *
785
+ * await client.registerReferrer({ code: "..." });
786
+ * ```
787
+ */
196
788
  registerReferrer(params, opts) {
197
789
  return (0, registerReferrer_js_1.registerReferrer)(this.config_, params, opts);
198
790
  }
199
- /** @see {@link reserveRequestWeight} */
791
+ /**
792
+ * Reserve additional rate-limited actions for a fee.
793
+ *
794
+ * @param params - Parameters specific to the API request.
795
+ * @param opts - Request execution options.
796
+ *
797
+ * @returns Successful response without specific data.
798
+ *
799
+ * @throws {ValiError} When the request parameters fail validation (before sending).
800
+ * @throws {TransportError} When the transport layer throws an error.
801
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
802
+ *
803
+ * @example
804
+ * ```ts
805
+ * import * as hl from "@nktkas/hyperliquid";
806
+ * import { privateKeyToAccount } from "npm:viem/accounts";
807
+ *
808
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
809
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
810
+ * const client = new hl.ExchangeClient({ transport, wallet });
811
+ *
812
+ * await client.reserveRequestWeight({ weight: 10 });
813
+ * ```
814
+ *
815
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#reserve-additional-actions
816
+ */
200
817
  reserveRequestWeight(params, opts) {
201
818
  return (0, reserveRequestWeight_js_1.reserveRequestWeight)(this.config_, params, opts);
202
819
  }
@@ -206,95 +823,685 @@ class ExchangeClient {
206
823
  const opts = isFirstArgParams ? maybeOpts : paramsOrOpts;
207
824
  return (0, scheduleCancel_js_1.scheduleCancel)(this.config_, params, opts);
208
825
  }
209
- /** @see {@link sendAsset} */
826
+ /**
827
+ * Transfer tokens between different perp DEXs, spot balance, users, and/or sub-accounts.
828
+ *
829
+ * @param params - Parameters specific to the API request.
830
+ * @param opts - Request execution options.
831
+ *
832
+ * @returns Successful response without specific data.
833
+ *
834
+ * @throws {ValiError} When the request parameters fail validation (before sending).
835
+ * @throws {TransportError} When the transport layer throws an error.
836
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
837
+ *
838
+ * @example
839
+ * ```ts
840
+ * import * as hl from "@nktkas/hyperliquid";
841
+ * import { privateKeyToAccount } from "npm:viem/accounts";
842
+ *
843
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
844
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
845
+ * const client = new hl.ExchangeClient({ transport, wallet });
846
+ *
847
+ * await client.sendAsset({ destination: "0x0000000000000000000000000000000000000001", sourceDex: "", destinationDex: "test", token: "USDC:0xeb62eee3685fc4c43992febcd9e75443", amount: "1" });
848
+ * ```
849
+ *
850
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#send-asset
851
+ */
210
852
  sendAsset(params, opts) {
211
853
  return (0, sendAsset_js_1.sendAsset)(this.config_, params, opts);
212
854
  }
213
- /** @see {@link setDisplayName} */
855
+ /**
856
+ * Set the display name in the leaderboard.
857
+ *
858
+ * @param params - Parameters specific to the API request.
859
+ * @param opts - Request execution options.
860
+ *
861
+ * @returns Successful response without specific data.
862
+ *
863
+ * @throws {ValiError} When the request parameters fail validation (before sending).
864
+ * @throws {TransportError} When the transport layer throws an error.
865
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
866
+ *
867
+ * @example
868
+ * ```ts
869
+ * import * as hl from "@nktkas/hyperliquid";
870
+ * import { privateKeyToAccount } from "npm:viem/accounts";
871
+ *
872
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
873
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
874
+ * const client = new hl.ExchangeClient({ transport, wallet });
875
+ *
876
+ * await client.setDisplayName({ displayName: "..." });
877
+ * ```
878
+ */
214
879
  setDisplayName(params, opts) {
215
880
  return (0, setDisplayName_js_1.setDisplayName)(this.config_, params, opts);
216
881
  }
217
- /** @see {@link setReferrer} */
882
+ /**
883
+ * Set a referral code.
884
+ *
885
+ * @param params - Parameters specific to the API request.
886
+ * @param opts - Request execution options.
887
+ *
888
+ * @returns Successful response without specific data.
889
+ *
890
+ * @throws {ValiError} When the request parameters fail validation (before sending).
891
+ * @throws {TransportError} When the transport layer throws an error.
892
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
893
+ *
894
+ * @example
895
+ * ```ts
896
+ * import * as hl from "@nktkas/hyperliquid";
897
+ * import { privateKeyToAccount } from "npm:viem/accounts";
898
+ *
899
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
900
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
901
+ * const client = new hl.ExchangeClient({ transport, wallet });
902
+ *
903
+ * await client.setReferrer({ code: "..." });
904
+ * ```
905
+ */
218
906
  setReferrer(params, opts) {
219
907
  return (0, setReferrer_js_1.setReferrer)(this.config_, params, opts);
220
908
  }
221
- /** @see {@link spotDeploy} */
909
+ /**
910
+ * Deploying HIP-1 and HIP-2 assets.
911
+ *
912
+ * @param params - Parameters specific to the API request.
913
+ * @param opts - Request execution options.
914
+ *
915
+ * @returns Successful response without specific data.
916
+ *
917
+ * @throws {ValiError} When the request parameters fail validation (before sending).
918
+ * @throws {TransportError} When the transport layer throws an error.
919
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
920
+ *
921
+ * @example
922
+ * ```ts
923
+ * import * as hl from "@nktkas/hyperliquid";
924
+ * import { privateKeyToAccount } from "npm:viem/accounts";
925
+ *
926
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
927
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
928
+ * const client = new hl.ExchangeClient({ transport, wallet });
929
+ *
930
+ * await client.spotDeploy({ registerToken2: { spec: { name: "USDC", szDecimals: 8, weiDecimals: 8 }, maxGas: 1000000, fullName: "USD Coin" } });
931
+ * ```
932
+ *
933
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/deploying-hip-1-and-hip-2-assets
934
+ */
222
935
  spotDeploy(params, opts) {
223
936
  return (0, spotDeploy_js_1.spotDeploy)(this.config_, params, opts);
224
937
  }
225
- /** @see {@link spotSend} */
938
+ /**
939
+ * Send spot assets to another address.
940
+ *
941
+ * @param params - Parameters specific to the API request.
942
+ * @param opts - Request execution options.
943
+ *
944
+ * @returns Successful response without specific data.
945
+ *
946
+ * @throws {ValiError} When the request parameters fail validation (before sending).
947
+ * @throws {TransportError} When the transport layer throws an error.
948
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
949
+ *
950
+ * @example
951
+ * ```ts
952
+ * import * as hl from "@nktkas/hyperliquid";
953
+ * import { privateKeyToAccount } from "npm:viem/accounts";
954
+ *
955
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
956
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
957
+ * const client = new hl.ExchangeClient({ transport, wallet });
958
+ *
959
+ * await client.spotSend({ destination: "0x...", token: "USDC:0xeb62eee3685fc4c43992febcd9e75443", amount: "1" });
960
+ * ```
961
+ *
962
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#core-spot-transfer
963
+ */
226
964
  spotSend(params, opts) {
227
965
  return (0, spotSend_js_1.spotSend)(this.config_, params, opts);
228
966
  }
229
- /** @see {@link spotUser} */
967
+ /**
968
+ * Opt Out of Spot Dusting.
969
+ *
970
+ * @param params - Parameters specific to the API request.
971
+ * @param opts - Request execution options.
972
+ *
973
+ * @returns Successful response without specific data.
974
+ *
975
+ * @throws {ValiError} When the request parameters fail validation (before sending).
976
+ * @throws {TransportError} When the transport layer throws an error.
977
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
978
+ *
979
+ * @example
980
+ * ```ts
981
+ * import * as hl from "@nktkas/hyperliquid";
982
+ * import { privateKeyToAccount } from "npm:viem/accounts";
983
+ *
984
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
985
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
986
+ * const client = new hl.ExchangeClient({ transport, wallet });
987
+ *
988
+ * await client.spotUser({ toggleSpotDusting: { optOut: false } });
989
+ * ```
990
+ */
230
991
  spotUser(params, opts) {
231
992
  return (0, spotUser_js_1.spotUser)(this.config_, params, opts);
232
993
  }
233
- /** @see {@link subAccountModify} */
994
+ /**
995
+ * Modify a sub-account.
996
+ *
997
+ * @param params - Parameters specific to the API request.
998
+ * @param opts - Request execution options.
999
+ *
1000
+ * @returns Successful response without specific data.
1001
+ *
1002
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1003
+ * @throws {TransportError} When the transport layer throws an error.
1004
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1005
+ *
1006
+ * @example
1007
+ * ```ts
1008
+ * import * as hl from "@nktkas/hyperliquid";
1009
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1010
+ *
1011
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1012
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1013
+ * const client = new hl.ExchangeClient({ transport, wallet });
1014
+ *
1015
+ * await client.subAccountModify({ subAccountUser: "0x...", name: "..." });
1016
+ * ```
1017
+ */
234
1018
  subAccountModify(params, opts) {
235
1019
  return (0, subAccountModify_js_1.subAccountModify)(this.config_, params, opts);
236
1020
  }
237
- /** @see {@link subAccountSpotTransfer} */
1021
+ /**
1022
+ * Transfer between sub-accounts (spot).
1023
+ *
1024
+ * @param params - Parameters specific to the API request.
1025
+ * @param opts - Request execution options.
1026
+ *
1027
+ * @returns Successful response without specific data.
1028
+ *
1029
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1030
+ * @throws {TransportError} When the transport layer throws an error.
1031
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1032
+ *
1033
+ * @example
1034
+ * ```ts
1035
+ * import * as hl from "@nktkas/hyperliquid";
1036
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1037
+ *
1038
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1039
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1040
+ * const client = new hl.ExchangeClient({ transport, wallet });
1041
+ *
1042
+ * await client.subAccountSpotTransfer({ subAccountUser: "0x...", isDeposit: true, token: "USDC:0xeb62eee3685fc4c43992febcd9e75443", amount: "1" });
1043
+ * ```
1044
+ */
238
1045
  subAccountSpotTransfer(params, opts) {
239
1046
  return (0, subAccountSpotTransfer_js_1.subAccountSpotTransfer)(this.config_, params, opts);
240
1047
  }
241
- /** @see {@link subAccountTransfer} */
1048
+ /**
1049
+ * Transfer between sub-accounts (perpetual).
1050
+ *
1051
+ * @param params - Parameters specific to the API request.
1052
+ * @param opts - Request execution options.
1053
+ *
1054
+ * @returns Successful response without specific data.
1055
+ *
1056
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1057
+ * @throws {TransportError} When the transport layer throws an error.
1058
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1059
+ *
1060
+ * @example
1061
+ * ```ts
1062
+ * import * as hl from "@nktkas/hyperliquid";
1063
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1064
+ *
1065
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1066
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1067
+ * const client = new hl.ExchangeClient({ transport, wallet });
1068
+ *
1069
+ * await client.subAccountTransfer({ subAccountUser: "0x...", isDeposit: true, usd: 1 * 1e6 });
1070
+ * ```
1071
+ */
242
1072
  subAccountTransfer(params, opts) {
243
1073
  return (0, subAccountTransfer_js_1.subAccountTransfer)(this.config_, params, opts);
244
1074
  }
245
- /** @see {@link tokenDelegate} */
1075
+ /**
1076
+ * Delegate or undelegate native tokens to or from a validator.
1077
+ *
1078
+ * @param params - Parameters specific to the API request.
1079
+ * @param opts - Request execution options.
1080
+ *
1081
+ * @returns Successful response without specific data.
1082
+ *
1083
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1084
+ * @throws {TransportError} When the transport layer throws an error.
1085
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1086
+ *
1087
+ * @example
1088
+ * ```ts
1089
+ * import * as hl from "@nktkas/hyperliquid";
1090
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1091
+ *
1092
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1093
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1094
+ * const client = new hl.ExchangeClient({ transport, wallet });
1095
+ *
1096
+ * await client.tokenDelegate({ validator: "0x...", isUndelegate: true, wei: 1 * 1e8 });
1097
+ * ```
1098
+ *
1099
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#delegate-or-undelegate-stake-from-validator
1100
+ */
246
1101
  tokenDelegate(params, opts) {
247
1102
  return (0, tokenDelegate_js_1.tokenDelegate)(this.config_, params, opts);
248
1103
  }
249
- /** @see {@link twapCancel} */
1104
+ /**
1105
+ * Cancel a TWAP order.
1106
+ *
1107
+ * @param params - Parameters specific to the API request.
1108
+ * @param opts - Request execution options.
1109
+ *
1110
+ * @returns Successful variant of {@link TwapCancelResponse} without error status.
1111
+ *
1112
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1113
+ * @throws {TransportError} When the transport layer throws an error.
1114
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1115
+ *
1116
+ * @example
1117
+ * ```ts
1118
+ * import * as hl from "@nktkas/hyperliquid";
1119
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1120
+ *
1121
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1122
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1123
+ * const client = new hl.ExchangeClient({ transport, wallet });
1124
+ *
1125
+ * const data = await client.twapCancel({ a: 0, t: 1 });
1126
+ * ```
1127
+ *
1128
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-a-twap-order
1129
+ */
250
1130
  twapCancel(params, opts) {
251
1131
  return (0, twapCancel_js_1.twapCancel)(this.config_, params, opts);
252
1132
  }
253
- /** @see {@link twapOrder} */
1133
+ /**
1134
+ * Place a TWAP order.
1135
+ *
1136
+ * @param params - Parameters specific to the API request.
1137
+ * @param opts - Request execution options.
1138
+ *
1139
+ * @returns Successful variant of {@link TwapOrderResponse} without error status.
1140
+ *
1141
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1142
+ * @throws {TransportError} When the transport layer throws an error.
1143
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1144
+ *
1145
+ * @example
1146
+ * ```ts
1147
+ * import * as hl from "@nktkas/hyperliquid";
1148
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1149
+ *
1150
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1151
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1152
+ * const client = new hl.ExchangeClient({ transport, wallet });
1153
+ *
1154
+ * const data = await client.twapOrder({ twap: { a: 0, b: true, s: "1", r: false, m: 10, t: true } });
1155
+ * ```
1156
+ *
1157
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-a-twap-order
1158
+ */
254
1159
  twapOrder(params, opts) {
255
1160
  return (0, twapOrder_js_1.twapOrder)(this.config_, params, opts);
256
1161
  }
257
- /** @see {@link updateIsolatedMargin} */
1162
+ /**
1163
+ * Add or remove margin from isolated position.
1164
+ *
1165
+ * @param params - Parameters specific to the API request.
1166
+ * @param opts - Request execution options.
1167
+ *
1168
+ * @returns Successful response without specific data.
1169
+ *
1170
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1171
+ * @throws {TransportError} When the transport layer throws an error.
1172
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1173
+ *
1174
+ * @example
1175
+ * ```ts
1176
+ * import * as hl from "@nktkas/hyperliquid";
1177
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1178
+ *
1179
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1180
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1181
+ * const client = new hl.ExchangeClient({ transport, wallet });
1182
+ *
1183
+ * await client.updateIsolatedMargin({ asset: 0, isBuy: true, ntli: 1 * 1e6 });
1184
+ * ```
1185
+ *
1186
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
1187
+ */
258
1188
  updateIsolatedMargin(params, opts) {
259
1189
  return (0, updateIsolatedMargin_js_1.updateIsolatedMargin)(this.config_, params, opts);
260
1190
  }
261
- /** @see {@link updateLeverage} */
1191
+ /**
1192
+ * Update cross or isolated leverage on a coin.
1193
+ *
1194
+ * @param params - Parameters specific to the API request.
1195
+ * @param opts - Request execution options.
1196
+ *
1197
+ * @returns Successful response without specific data.
1198
+ *
1199
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1200
+ * @throws {TransportError} When the transport layer throws an error.
1201
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1202
+ *
1203
+ * @example
1204
+ * ```ts
1205
+ * import * as hl from "@nktkas/hyperliquid";
1206
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1207
+ *
1208
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1209
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1210
+ * const client = new hl.ExchangeClient({ transport, wallet });
1211
+ *
1212
+ * await client.updateLeverage({ asset: 0, isCross: true, leverage: 5 });
1213
+ * ```
1214
+ *
1215
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-leverage
1216
+ */
262
1217
  updateLeverage(params, opts) {
263
1218
  return (0, updateLeverage_js_1.updateLeverage)(this.config_, params, opts);
264
1219
  }
265
- /** @see {@link usdClassTransfer} */
1220
+ /**
1221
+ * Transfer funds between Spot account and Perp account.
1222
+ *
1223
+ * @param params - Parameters specific to the API request.
1224
+ * @param opts - Request execution options.
1225
+ *
1226
+ * @returns Successful response without specific data.
1227
+ *
1228
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1229
+ * @throws {TransportError} When the transport layer throws an error.
1230
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1231
+ *
1232
+ * @example
1233
+ * ```ts
1234
+ * import * as hl from "@nktkas/hyperliquid";
1235
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1236
+ *
1237
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1238
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1239
+ * const client = new hl.ExchangeClient({ transport, wallet });
1240
+ *
1241
+ * await client.usdClassTransfer({ amount: "1", toPerp: true });
1242
+ * ```
1243
+ *
1244
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#transfer-from-spot-account-to-perp-account-and-vice-versa
1245
+ */
266
1246
  usdClassTransfer(params, opts) {
267
1247
  return (0, usdClassTransfer_js_1.usdClassTransfer)(this.config_, params, opts);
268
1248
  }
269
- /** @see {@link usdSend} */
1249
+ /**
1250
+ * Send usd to another address.
1251
+ *
1252
+ * @param params - Parameters specific to the API request.
1253
+ * @param opts - Request execution options.
1254
+ *
1255
+ * @returns Successful response without specific data.
1256
+ *
1257
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1258
+ * @throws {TransportError} When the transport layer throws an error.
1259
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1260
+ *
1261
+ * @example
1262
+ * ```ts
1263
+ * import * as hl from "@nktkas/hyperliquid";
1264
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1265
+ *
1266
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1267
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1268
+ * const client = new hl.ExchangeClient({ transport, wallet });
1269
+ *
1270
+ * await client.usdSend({ destination: "0x...", amount: "1" });
1271
+ * ```
1272
+ *
1273
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#core-usdc-transfer
1274
+ */
270
1275
  usdSend(params, opts) {
271
1276
  return (0, usdSend_js_1.usdSend)(this.config_, params, opts);
272
1277
  }
273
- /** @see {@link userDexAbstraction} */
1278
+ /**
1279
+ * Enable/disable HIP-3 DEX abstraction.
1280
+ *
1281
+ * @deprecated Use {@link userSetAbstraction} instead.
1282
+ *
1283
+ * @param params - Parameters specific to the API request.
1284
+ * @param opts - Request execution options.
1285
+ *
1286
+ * @returns Successful response without specific data.
1287
+ *
1288
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1289
+ * @throws {TransportError} When the transport layer throws an error.
1290
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1291
+ *
1292
+ * @example
1293
+ * ```ts
1294
+ * import * as hl from "@nktkas/hyperliquid";
1295
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1296
+ *
1297
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1298
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1299
+ * const client = new hl.ExchangeClient({ transport, wallet });
1300
+ *
1301
+ * await client.userDexAbstraction({ user: "0x...", enabled: true });
1302
+ * ```
1303
+ *
1304
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#enable-hip-3-dex-abstraction
1305
+ */
274
1306
  userDexAbstraction(params, opts) {
275
1307
  return (0, userDexAbstraction_js_1.userDexAbstraction)(this.config_, params, opts);
276
1308
  }
277
- /** @see {@link userPortfolioMargin} */
1309
+ /**
1310
+ * Set User abstraction mode.
1311
+ *
1312
+ * @param params - Parameters specific to the API request.
1313
+ * @param opts - Request execution options.
1314
+ *
1315
+ * @returns Successful response without specific data.
1316
+ *
1317
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1318
+ * @throws {TransportError} When the transport layer throws an error.
1319
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1320
+ *
1321
+ * @example
1322
+ * ```ts
1323
+ * import * as hl from "@nktkas/hyperliquid";
1324
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1325
+ *
1326
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1327
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1328
+ * const client = new hl.ExchangeClient({ transport, wallet });
1329
+ *
1330
+ * await client.userSetAbstraction({ user: "0x...", abstraction: "dexAbstraction" });
1331
+ * ```
1332
+ *
1333
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#set-user-abstraction
1334
+ */
1335
+ userSetAbstraction(params, opts) {
1336
+ return (0, userSetAbstraction_js_1.userSetAbstraction)(this.config_, params, opts);
1337
+ }
1338
+ /**
1339
+ * Enable/disable user portfolio margin.
1340
+ *
1341
+ * @param params - Parameters specific to the API request.
1342
+ * @param opts - Request execution options.
1343
+ *
1344
+ * @returns Successful response without specific data.
1345
+ *
1346
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1347
+ * @throws {TransportError} When the transport layer throws an error.
1348
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1349
+ *
1350
+ * @example
1351
+ * ```ts
1352
+ * import * as hl from "@nktkas/hyperliquid";
1353
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1354
+ *
1355
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1356
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1357
+ * const client = new hl.ExchangeClient({ transport, wallet });
1358
+ *
1359
+ * await client.userPortfolioMargin({ user: "0x...", enabled: true });
1360
+ * ```
1361
+ *
1362
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/trading/portfolio-margin
1363
+ */
278
1364
  userPortfolioMargin(params, opts) {
279
1365
  return (0, userPortfolioMargin_js_1.userPortfolioMargin)(this.config_, params, opts);
280
1366
  }
281
- /** @see {@link validatorL1Stream} */
1367
+ /**
1368
+ * Validator vote on risk-free rate for aligned quote asset.
1369
+ *
1370
+ * @param params - Parameters specific to the API request.
1371
+ * @param opts - Request execution options.
1372
+ *
1373
+ * @returns Successful response without specific data.
1374
+ *
1375
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1376
+ * @throws {TransportError} When the transport layer throws an error.
1377
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1378
+ *
1379
+ * @example
1380
+ * ```ts
1381
+ * import * as hl from "@nktkas/hyperliquid";
1382
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1383
+ *
1384
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1385
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1386
+ * const client = new hl.ExchangeClient({ transport, wallet });
1387
+ *
1388
+ * await client.validatorL1Stream({ riskFreeRate: "0.05" });
1389
+ * ```
1390
+ *
1391
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#validator-vote-on-risk-free-rate-for-aligned-quote-asset
1392
+ */
282
1393
  validatorL1Stream(params, opts) {
283
1394
  return (0, validatorL1Stream_js_1.validatorL1Stream)(this.config_, params, opts);
284
1395
  }
285
- /** @see {@link vaultDistribute} */
1396
+ /**
1397
+ * Distribute funds from a vault between followers.
1398
+ *
1399
+ * @param params - Parameters specific to the API request.
1400
+ * @param opts - Request execution options.
1401
+ *
1402
+ * @returns Successful response without specific data.
1403
+ *
1404
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1405
+ * @throws {TransportError} When the transport layer throws an error.
1406
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1407
+ *
1408
+ * @example
1409
+ * ```ts
1410
+ * import * as hl from "@nktkas/hyperliquid";
1411
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1412
+ *
1413
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1414
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1415
+ * const client = new hl.ExchangeClient({ transport, wallet });
1416
+ *
1417
+ * await client.vaultDistribute({ vaultAddress: "0x...", usd: 10 * 1e6 });
1418
+ * ```
1419
+ */
286
1420
  vaultDistribute(params, opts) {
287
1421
  return (0, vaultDistribute_js_1.vaultDistribute)(this.config_, params, opts);
288
1422
  }
289
- /** @see {@link vaultModify} */
1423
+ /**
1424
+ * Modify a vault's configuration.
1425
+ *
1426
+ * @param params - Parameters specific to the API request.
1427
+ * @param opts - Request execution options.
1428
+ *
1429
+ * @returns Successful response without specific data.
1430
+ *
1431
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1432
+ * @throws {TransportError} When the transport layer throws an error.
1433
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1434
+ *
1435
+ * @example
1436
+ * ```ts
1437
+ * import * as hl from "@nktkas/hyperliquid";
1438
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1439
+ *
1440
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1441
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1442
+ * const client = new hl.ExchangeClient({ transport, wallet });
1443
+ *
1444
+ * await client.vaultModify({ vaultAddress: "0x...", allowDeposits: true, alwaysCloseOnWithdraw: false });
1445
+ * ```
1446
+ */
290
1447
  vaultModify(params, opts) {
291
1448
  return (0, vaultModify_js_1.vaultModify)(this.config_, params, opts);
292
1449
  }
293
- /** @see {@link vaultTransfer} */
1450
+ /**
1451
+ * Deposit or withdraw from a vault.
1452
+ *
1453
+ * @param params - Parameters specific to the API request.
1454
+ * @param opts - Request execution options.
1455
+ *
1456
+ * @returns Successful response without specific data.
1457
+ *
1458
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1459
+ * @throws {TransportError} When the transport layer throws an error.
1460
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1461
+ *
1462
+ * @example
1463
+ * ```ts
1464
+ * import * as hl from "@nktkas/hyperliquid";
1465
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1466
+ *
1467
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1468
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1469
+ * const client = new hl.ExchangeClient({ transport, wallet });
1470
+ *
1471
+ * await client.vaultTransfer({ vaultAddress: "0x...", isDeposit: true, usd: 10 * 1e6 });
1472
+ * ```
1473
+ *
1474
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-or-withdraw-from-a-vault
1475
+ */
294
1476
  vaultTransfer(params, opts) {
295
1477
  return (0, vaultTransfer_js_1.vaultTransfer)(this.config_, params, opts);
296
1478
  }
297
- /** @see {@link withdraw3} */
1479
+ /**
1480
+ * Initiate a withdrawal request.
1481
+ *
1482
+ * @param params - Parameters specific to the API request.
1483
+ * @param opts - Request execution options.
1484
+ *
1485
+ * @returns Successful response without specific data.
1486
+ *
1487
+ * @throws {ValiError} When the request parameters fail validation (before sending).
1488
+ * @throws {TransportError} When the transport layer throws an error.
1489
+ * @throws {ApiRequestError} When the API returns an unsuccessful response.
1490
+ *
1491
+ * @example
1492
+ * ```ts
1493
+ * import * as hl from "@nktkas/hyperliquid";
1494
+ * import { privateKeyToAccount } from "npm:viem/accounts";
1495
+ *
1496
+ * const wallet = privateKeyToAccount("0x..."); // viem or ethers
1497
+ * const transport = new hl.HttpTransport(); // or `WebSocketTransport`
1498
+ * const client = new hl.ExchangeClient({ transport, wallet });
1499
+ *
1500
+ * await client.withdraw3({ destination: "0x...", amount: "1" });
1501
+ * ```
1502
+ *
1503
+ * @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#initiate-a-withdrawal-request
1504
+ */
298
1505
  withdraw3(params, opts) {
299
1506
  return (0, withdraw3_js_1.withdraw3)(this.config_, params, opts);
300
1507
  }