@nktkas/hyperliquid 0.30.2 → 0.31.0

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