@nktkas/hyperliquid 0.26.0 → 0.27.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 (749) hide show
  1. package/README.md +84 -57
  2. package/bin/cli.ts +1 -0
  3. package/dist/bin/cli.js +1 -0
  4. package/dist/bin/cli.js.map +1 -1
  5. package/dist/src/api/_base.d.ts.map +1 -1
  6. package/dist/src/api/_base.js +3 -1
  7. package/dist/src/api/_base.js.map +1 -1
  8. package/dist/src/api/exchange/_base/_execute.d.ts +10 -0
  9. package/dist/src/api/exchange/_base/_execute.d.ts.map +1 -1
  10. package/dist/src/api/exchange/_base/_execute.js +20 -5
  11. package/dist/src/api/exchange/_base/_execute.js.map +1 -1
  12. package/dist/src/api/exchange/_base/_nonce.d.ts +4 -10
  13. package/dist/src/api/exchange/_base/_nonce.d.ts.map +1 -1
  14. package/dist/src/api/exchange/_base/_nonce.js +10 -1
  15. package/dist/src/api/exchange/_base/_nonce.js.map +1 -1
  16. package/dist/src/api/exchange/_base/_types.d.ts +44 -0
  17. package/dist/src/api/exchange/_base/_types.d.ts.map +1 -1
  18. package/dist/src/api/exchange/_base/mod.d.ts +0 -1
  19. package/dist/src/api/exchange/_base/mod.d.ts.map +1 -1
  20. package/dist/src/api/exchange/_base/mod.js +0 -1
  21. package/dist/src/api/exchange/_base/mod.js.map +1 -1
  22. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts +39 -7
  23. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts.map +1 -1
  24. package/dist/src/api/exchange/agentEnableDexAbstraction.js +20 -8
  25. package/dist/src/api/exchange/agentEnableDexAbstraction.js.map +1 -1
  26. package/dist/src/api/exchange/approveAgent.d.ts +38 -6
  27. package/dist/src/api/exchange/approveAgent.d.ts.map +1 -1
  28. package/dist/src/api/exchange/approveAgent.js +18 -6
  29. package/dist/src/api/exchange/approveAgent.js.map +1 -1
  30. package/dist/src/api/exchange/approveBuilderFee.d.ts +38 -6
  31. package/dist/src/api/exchange/approveBuilderFee.d.ts.map +1 -1
  32. package/dist/src/api/exchange/approveBuilderFee.js +18 -6
  33. package/dist/src/api/exchange/approveBuilderFee.js.map +1 -1
  34. package/dist/src/api/exchange/batchModify.d.ts +114 -6
  35. package/dist/src/api/exchange/batchModify.d.ts.map +1 -1
  36. package/dist/src/api/exchange/batchModify.js +17 -6
  37. package/dist/src/api/exchange/batchModify.js.map +1 -1
  38. package/dist/src/api/exchange/cDeposit.d.ts +38 -6
  39. package/dist/src/api/exchange/cDeposit.d.ts.map +1 -1
  40. package/dist/src/api/exchange/cDeposit.js +18 -6
  41. package/dist/src/api/exchange/cDeposit.js.map +1 -1
  42. package/dist/src/api/exchange/cSignerAction.d.ts +36 -11
  43. package/dist/src/api/exchange/cSignerAction.d.ts.map +1 -1
  44. package/dist/src/api/exchange/cSignerAction.js +16 -11
  45. package/dist/src/api/exchange/cSignerAction.js.map +1 -1
  46. package/dist/src/api/exchange/cValidatorAction.d.ts +36 -11
  47. package/dist/src/api/exchange/cValidatorAction.d.ts.map +1 -1
  48. package/dist/src/api/exchange/cValidatorAction.js +16 -11
  49. package/dist/src/api/exchange/cValidatorAction.js.map +1 -1
  50. package/dist/src/api/exchange/cWithdraw.d.ts +38 -6
  51. package/dist/src/api/exchange/cWithdraw.d.ts.map +1 -1
  52. package/dist/src/api/exchange/cWithdraw.js +18 -6
  53. package/dist/src/api/exchange/cWithdraw.js.map +1 -1
  54. package/dist/src/api/exchange/cancel.d.ts +9 -35
  55. package/dist/src/api/exchange/cancel.d.ts.map +1 -1
  56. package/dist/src/api/exchange/cancel.js +15 -22
  57. package/dist/src/api/exchange/cancel.js.map +1 -1
  58. package/dist/src/api/exchange/cancelByCloid.d.ts +46 -6
  59. package/dist/src/api/exchange/cancelByCloid.d.ts.map +1 -1
  60. package/dist/src/api/exchange/cancelByCloid.js +17 -6
  61. package/dist/src/api/exchange/cancelByCloid.js.map +1 -1
  62. package/dist/src/api/exchange/claimRewards.d.ts +35 -10
  63. package/dist/src/api/exchange/claimRewards.d.ts.map +1 -1
  64. package/dist/src/api/exchange/claimRewards.js +16 -11
  65. package/dist/src/api/exchange/claimRewards.js.map +1 -1
  66. package/dist/src/api/exchange/convertToMultiSigUser.d.ts +38 -17
  67. package/dist/src/api/exchange/convertToMultiSigUser.d.ts.map +1 -1
  68. package/dist/src/api/exchange/convertToMultiSigUser.js +19 -7
  69. package/dist/src/api/exchange/convertToMultiSigUser.js.map +1 -1
  70. package/dist/src/api/exchange/createSubAccount.d.ts +23 -10
  71. package/dist/src/api/exchange/createSubAccount.d.ts.map +1 -1
  72. package/dist/src/api/exchange/createSubAccount.js +26 -20
  73. package/dist/src/api/exchange/createSubAccount.js.map +1 -1
  74. package/dist/src/api/exchange/createVault.d.ts +23 -10
  75. package/dist/src/api/exchange/createVault.d.ts.map +1 -1
  76. package/dist/src/api/exchange/createVault.js +26 -20
  77. package/dist/src/api/exchange/createVault.js.map +1 -1
  78. package/dist/src/api/exchange/evmUserModify.d.ts +38 -6
  79. package/dist/src/api/exchange/evmUserModify.d.ts.map +1 -1
  80. package/dist/src/api/exchange/evmUserModify.js +18 -6
  81. package/dist/src/api/exchange/evmUserModify.js.map +1 -1
  82. package/dist/src/api/exchange/linkStakingUser.d.ts +38 -6
  83. package/dist/src/api/exchange/linkStakingUser.d.ts.map +1 -1
  84. package/dist/src/api/exchange/linkStakingUser.js +18 -6
  85. package/dist/src/api/exchange/linkStakingUser.js.map +1 -1
  86. package/dist/src/api/exchange/modify.d.ts +38 -6
  87. package/dist/src/api/exchange/modify.d.ts.map +1 -1
  88. package/dist/src/api/exchange/modify.js +18 -6
  89. package/dist/src/api/exchange/modify.js.map +1 -1
  90. package/dist/src/api/exchange/multiSig.d.ts +1362 -12
  91. package/dist/src/api/exchange/multiSig.d.ts.map +1 -1
  92. package/dist/src/api/exchange/multiSig.js +99 -45
  93. package/dist/src/api/exchange/multiSig.js.map +1 -1
  94. package/dist/src/api/exchange/noop.d.ts +37 -5
  95. package/dist/src/api/exchange/noop.d.ts.map +1 -1
  96. package/dist/src/api/exchange/noop.js +18 -6
  97. package/dist/src/api/exchange/noop.js.map +1 -1
  98. package/dist/src/api/exchange/order.d.ts +9 -111
  99. package/dist/src/api/exchange/order.d.ts.map +1 -1
  100. package/dist/src/api/exchange/order.js +15 -45
  101. package/dist/src/api/exchange/order.js.map +1 -1
  102. package/dist/src/api/exchange/perpDeploy.d.ts +38 -6
  103. package/dist/src/api/exchange/perpDeploy.d.ts.map +1 -1
  104. package/dist/src/api/exchange/perpDeploy.js +18 -6
  105. package/dist/src/api/exchange/perpDeploy.js.map +1 -1
  106. package/dist/src/api/exchange/registerReferrer.d.ts +36 -11
  107. package/dist/src/api/exchange/registerReferrer.d.ts.map +1 -1
  108. package/dist/src/api/exchange/registerReferrer.js +16 -11
  109. package/dist/src/api/exchange/registerReferrer.js.map +1 -1
  110. package/dist/src/api/exchange/reserveRequestWeight.d.ts +38 -6
  111. package/dist/src/api/exchange/reserveRequestWeight.d.ts.map +1 -1
  112. package/dist/src/api/exchange/reserveRequestWeight.js +18 -6
  113. package/dist/src/api/exchange/reserveRequestWeight.js.map +1 -1
  114. package/dist/src/api/exchange/scheduleCancel.d.ts +39 -7
  115. package/dist/src/api/exchange/scheduleCancel.d.ts.map +1 -1
  116. package/dist/src/api/exchange/scheduleCancel.js +17 -5
  117. package/dist/src/api/exchange/scheduleCancel.js.map +1 -1
  118. package/dist/src/api/exchange/sendAsset.d.ts +40 -8
  119. package/dist/src/api/exchange/sendAsset.d.ts.map +1 -1
  120. package/dist/src/api/exchange/sendAsset.js +20 -8
  121. package/dist/src/api/exchange/sendAsset.js.map +1 -1
  122. package/dist/src/api/exchange/setDisplayName.d.ts +36 -11
  123. package/dist/src/api/exchange/setDisplayName.d.ts.map +1 -1
  124. package/dist/src/api/exchange/setDisplayName.js +16 -11
  125. package/dist/src/api/exchange/setDisplayName.js.map +1 -1
  126. package/dist/src/api/exchange/setReferrer.d.ts +36 -11
  127. package/dist/src/api/exchange/setReferrer.d.ts.map +1 -1
  128. package/dist/src/api/exchange/setReferrer.js +16 -11
  129. package/dist/src/api/exchange/setReferrer.js.map +1 -1
  130. package/dist/src/api/exchange/spotDeploy.d.ts +38 -6
  131. package/dist/src/api/exchange/spotDeploy.d.ts.map +1 -1
  132. package/dist/src/api/exchange/spotDeploy.js +18 -6
  133. package/dist/src/api/exchange/spotDeploy.js.map +1 -1
  134. package/dist/src/api/exchange/spotSend.d.ts +38 -6
  135. package/dist/src/api/exchange/spotSend.d.ts.map +1 -1
  136. package/dist/src/api/exchange/spotSend.js +18 -6
  137. package/dist/src/api/exchange/spotSend.js.map +1 -1
  138. package/dist/src/api/exchange/spotUser.d.ts +36 -11
  139. package/dist/src/api/exchange/spotUser.d.ts.map +1 -1
  140. package/dist/src/api/exchange/spotUser.js +16 -11
  141. package/dist/src/api/exchange/spotUser.js.map +1 -1
  142. package/dist/src/api/exchange/subAccountModify.d.ts +36 -11
  143. package/dist/src/api/exchange/subAccountModify.d.ts.map +1 -1
  144. package/dist/src/api/exchange/subAccountModify.js +16 -11
  145. package/dist/src/api/exchange/subAccountModify.js.map +1 -1
  146. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts +36 -11
  147. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts.map +1 -1
  148. package/dist/src/api/exchange/subAccountSpotTransfer.js +16 -11
  149. package/dist/src/api/exchange/subAccountSpotTransfer.js.map +1 -1
  150. package/dist/src/api/exchange/subAccountTransfer.d.ts +36 -11
  151. package/dist/src/api/exchange/subAccountTransfer.d.ts.map +1 -1
  152. package/dist/src/api/exchange/subAccountTransfer.js +16 -11
  153. package/dist/src/api/exchange/subAccountTransfer.js.map +1 -1
  154. package/dist/src/api/exchange/tokenDelegate.d.ts +38 -6
  155. package/dist/src/api/exchange/tokenDelegate.d.ts.map +1 -1
  156. package/dist/src/api/exchange/tokenDelegate.js +18 -6
  157. package/dist/src/api/exchange/tokenDelegate.js.map +1 -1
  158. package/dist/src/api/exchange/twapCancel.d.ts +9 -35
  159. package/dist/src/api/exchange/twapCancel.d.ts.map +1 -1
  160. package/dist/src/api/exchange/twapCancel.js +15 -22
  161. package/dist/src/api/exchange/twapCancel.js.map +1 -1
  162. package/dist/src/api/exchange/twapOrder.d.ts +9 -59
  163. package/dist/src/api/exchange/twapOrder.d.ts.map +1 -1
  164. package/dist/src/api/exchange/twapOrder.js +15 -28
  165. package/dist/src/api/exchange/twapOrder.js.map +1 -1
  166. package/dist/src/api/exchange/updateIsolatedMargin.d.ts +38 -6
  167. package/dist/src/api/exchange/updateIsolatedMargin.d.ts.map +1 -1
  168. package/dist/src/api/exchange/updateIsolatedMargin.js +18 -6
  169. package/dist/src/api/exchange/updateIsolatedMargin.js.map +1 -1
  170. package/dist/src/api/exchange/updateLeverage.d.ts +38 -6
  171. package/dist/src/api/exchange/updateLeverage.d.ts.map +1 -1
  172. package/dist/src/api/exchange/updateLeverage.js +18 -6
  173. package/dist/src/api/exchange/updateLeverage.js.map +1 -1
  174. package/dist/src/api/exchange/usdClassTransfer.d.ts +38 -6
  175. package/dist/src/api/exchange/usdClassTransfer.d.ts.map +1 -1
  176. package/dist/src/api/exchange/usdClassTransfer.js +18 -6
  177. package/dist/src/api/exchange/usdClassTransfer.js.map +1 -1
  178. package/dist/src/api/exchange/usdSend.d.ts +38 -6
  179. package/dist/src/api/exchange/usdSend.d.ts.map +1 -1
  180. package/dist/src/api/exchange/usdSend.js +18 -6
  181. package/dist/src/api/exchange/usdSend.js.map +1 -1
  182. package/dist/src/api/exchange/userDexAbstraction.d.ts +44 -12
  183. package/dist/src/api/exchange/userDexAbstraction.d.ts.map +1 -1
  184. package/dist/src/api/exchange/userDexAbstraction.js +22 -10
  185. package/dist/src/api/exchange/userDexAbstraction.js.map +1 -1
  186. package/dist/src/api/exchange/validatorL1Stream.d.ts +116 -0
  187. package/dist/src/api/exchange/validatorL1Stream.d.ts.map +1 -0
  188. package/dist/src/api/exchange/validatorL1Stream.js +84 -0
  189. package/dist/src/api/exchange/validatorL1Stream.js.map +1 -0
  190. package/dist/src/api/exchange/vaultDistribute.d.ts +36 -11
  191. package/dist/src/api/exchange/vaultDistribute.d.ts.map +1 -1
  192. package/dist/src/api/exchange/vaultDistribute.js +16 -11
  193. package/dist/src/api/exchange/vaultDistribute.js.map +1 -1
  194. package/dist/src/api/exchange/vaultModify.d.ts +36 -11
  195. package/dist/src/api/exchange/vaultModify.d.ts.map +1 -1
  196. package/dist/src/api/exchange/vaultModify.js +16 -11
  197. package/dist/src/api/exchange/vaultModify.js.map +1 -1
  198. package/dist/src/api/exchange/vaultTransfer.d.ts +38 -6
  199. package/dist/src/api/exchange/vaultTransfer.d.ts.map +1 -1
  200. package/dist/src/api/exchange/vaultTransfer.js +18 -6
  201. package/dist/src/api/exchange/vaultTransfer.js.map +1 -1
  202. package/dist/src/api/exchange/withdraw3.d.ts +38 -6
  203. package/dist/src/api/exchange/withdraw3.d.ts.map +1 -1
  204. package/dist/src/api/exchange/withdraw3.js +18 -6
  205. package/dist/src/api/exchange/withdraw3.js.map +1 -1
  206. package/dist/src/api/exchange/~client.d.ts +121 -451
  207. package/dist/src/api/exchange/~client.d.ts.map +1 -1
  208. package/dist/src/api/exchange/~client.js +33 -21
  209. package/dist/src/api/exchange/~client.js.map +1 -1
  210. package/dist/src/api/exchange/~mod.d.ts +2 -1
  211. package/dist/src/api/exchange/~mod.d.ts.map +1 -1
  212. package/dist/src/api/exchange/~mod.js +2 -1
  213. package/dist/src/api/exchange/~mod.js.map +1 -1
  214. package/dist/src/api/info/activeAssetData.d.ts +2 -2
  215. package/dist/src/api/info/activeAssetData.d.ts.map +1 -1
  216. package/dist/src/api/info/activeAssetData.js +8 -2
  217. package/dist/src/api/info/activeAssetData.js.map +1 -1
  218. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts +2 -2
  219. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts.map +1 -1
  220. package/dist/src/api/info/alignedQuoteTokenInfo.js +8 -2
  221. package/dist/src/api/info/alignedQuoteTokenInfo.js.map +1 -1
  222. package/dist/src/api/info/allMids.d.ts +2 -2
  223. package/dist/src/api/info/allMids.d.ts.map +1 -1
  224. package/dist/src/api/info/allMids.js +8 -2
  225. package/dist/src/api/info/allMids.js.map +1 -1
  226. package/dist/src/api/info/allPerpMetas.d.ts +1 -1
  227. package/dist/src/api/info/allPerpMetas.d.ts.map +1 -1
  228. package/dist/src/api/info/allPerpMetas.js +7 -2
  229. package/dist/src/api/info/allPerpMetas.js.map +1 -1
  230. package/dist/src/api/info/blockDetails.d.ts +3 -3
  231. package/dist/src/api/info/blockDetails.d.ts.map +1 -1
  232. package/dist/src/api/info/blockDetails.js +8 -2
  233. package/dist/src/api/info/blockDetails.js.map +1 -1
  234. package/dist/src/api/info/candleSnapshot.d.ts +2 -2
  235. package/dist/src/api/info/candleSnapshot.d.ts.map +1 -1
  236. package/dist/src/api/info/candleSnapshot.js +8 -2
  237. package/dist/src/api/info/candleSnapshot.js.map +1 -1
  238. package/dist/src/api/info/clearinghouseState.d.ts +2 -2
  239. package/dist/src/api/info/clearinghouseState.d.ts.map +1 -1
  240. package/dist/src/api/info/clearinghouseState.js +8 -2
  241. package/dist/src/api/info/clearinghouseState.js.map +1 -1
  242. package/dist/src/api/info/delegations.d.ts +2 -2
  243. package/dist/src/api/info/delegations.d.ts.map +1 -1
  244. package/dist/src/api/info/delegations.js +8 -2
  245. package/dist/src/api/info/delegations.js.map +1 -1
  246. package/dist/src/api/info/delegatorHistory.d.ts +2 -2
  247. package/dist/src/api/info/delegatorHistory.d.ts.map +1 -1
  248. package/dist/src/api/info/delegatorHistory.js +8 -2
  249. package/dist/src/api/info/delegatorHistory.js.map +1 -1
  250. package/dist/src/api/info/delegatorRewards.d.ts +2 -2
  251. package/dist/src/api/info/delegatorRewards.d.ts.map +1 -1
  252. package/dist/src/api/info/delegatorRewards.js +8 -2
  253. package/dist/src/api/info/delegatorRewards.js.map +1 -1
  254. package/dist/src/api/info/delegatorSummary.d.ts +2 -2
  255. package/dist/src/api/info/delegatorSummary.d.ts.map +1 -1
  256. package/dist/src/api/info/delegatorSummary.js +8 -2
  257. package/dist/src/api/info/delegatorSummary.js.map +1 -1
  258. package/dist/src/api/info/exchangeStatus.d.ts +1 -1
  259. package/dist/src/api/info/exchangeStatus.d.ts.map +1 -1
  260. package/dist/src/api/info/exchangeStatus.js +8 -3
  261. package/dist/src/api/info/exchangeStatus.js.map +1 -1
  262. package/dist/src/api/info/extraAgents.d.ts +2 -2
  263. package/dist/src/api/info/extraAgents.d.ts.map +1 -1
  264. package/dist/src/api/info/extraAgents.js +8 -2
  265. package/dist/src/api/info/extraAgents.js.map +1 -1
  266. package/dist/src/api/info/frontendOpenOrders.d.ts +2 -2
  267. package/dist/src/api/info/frontendOpenOrders.d.ts.map +1 -1
  268. package/dist/src/api/info/frontendOpenOrders.js +8 -2
  269. package/dist/src/api/info/frontendOpenOrders.js.map +1 -1
  270. package/dist/src/api/info/fundingHistory.d.ts +2 -2
  271. package/dist/src/api/info/fundingHistory.d.ts.map +1 -1
  272. package/dist/src/api/info/fundingHistory.js +8 -2
  273. package/dist/src/api/info/fundingHistory.js.map +1 -1
  274. package/dist/src/api/info/gossipRootIps.d.ts +1 -1
  275. package/dist/src/api/info/gossipRootIps.d.ts.map +1 -1
  276. package/dist/src/api/info/gossipRootIps.js +7 -3
  277. package/dist/src/api/info/gossipRootIps.js.map +1 -1
  278. package/dist/src/api/info/historicalOrders.d.ts +2 -2
  279. package/dist/src/api/info/historicalOrders.d.ts.map +1 -1
  280. package/dist/src/api/info/historicalOrders.js +8 -2
  281. package/dist/src/api/info/historicalOrders.js.map +1 -1
  282. package/dist/src/api/info/isVip.d.ts +2 -2
  283. package/dist/src/api/info/isVip.d.ts.map +1 -1
  284. package/dist/src/api/info/isVip.js +8 -2
  285. package/dist/src/api/info/isVip.js.map +1 -1
  286. package/dist/src/api/info/l2Book.d.ts +2 -2
  287. package/dist/src/api/info/l2Book.d.ts.map +1 -1
  288. package/dist/src/api/info/l2Book.js +8 -2
  289. package/dist/src/api/info/l2Book.js.map +1 -1
  290. package/dist/src/api/info/leadingVaults.d.ts +2 -2
  291. package/dist/src/api/info/leadingVaults.d.ts.map +1 -1
  292. package/dist/src/api/info/leadingVaults.js +8 -2
  293. package/dist/src/api/info/leadingVaults.js.map +1 -1
  294. package/dist/src/api/info/legalCheck.d.ts +2 -2
  295. package/dist/src/api/info/legalCheck.d.ts.map +1 -1
  296. package/dist/src/api/info/legalCheck.js +8 -2
  297. package/dist/src/api/info/legalCheck.js.map +1 -1
  298. package/dist/src/api/info/liquidatable.d.ts +1 -1
  299. package/dist/src/api/info/liquidatable.d.ts.map +1 -1
  300. package/dist/src/api/info/liquidatable.js +7 -3
  301. package/dist/src/api/info/liquidatable.js.map +1 -1
  302. package/dist/src/api/info/marginTable.d.ts +2 -2
  303. package/dist/src/api/info/marginTable.d.ts.map +1 -1
  304. package/dist/src/api/info/marginTable.js +8 -2
  305. package/dist/src/api/info/marginTable.js.map +1 -1
  306. package/dist/src/api/info/maxBuilderFee.d.ts +2 -2
  307. package/dist/src/api/info/maxBuilderFee.d.ts.map +1 -1
  308. package/dist/src/api/info/maxBuilderFee.js +8 -2
  309. package/dist/src/api/info/maxBuilderFee.js.map +1 -1
  310. package/dist/src/api/info/maxMarketOrderNtls.d.ts +1 -1
  311. package/dist/src/api/info/maxMarketOrderNtls.d.ts.map +1 -1
  312. package/dist/src/api/info/maxMarketOrderNtls.js +8 -2
  313. package/dist/src/api/info/maxMarketOrderNtls.js.map +1 -1
  314. package/dist/src/api/info/meta.d.ts +2 -2
  315. package/dist/src/api/info/meta.d.ts.map +1 -1
  316. package/dist/src/api/info/meta.js +8 -2
  317. package/dist/src/api/info/meta.js.map +1 -1
  318. package/dist/src/api/info/metaAndAssetCtxs.d.ts +2 -2
  319. package/dist/src/api/info/metaAndAssetCtxs.d.ts.map +1 -1
  320. package/dist/src/api/info/metaAndAssetCtxs.js +8 -2
  321. package/dist/src/api/info/metaAndAssetCtxs.js.map +1 -1
  322. package/dist/src/api/info/openOrders.d.ts +2 -2
  323. package/dist/src/api/info/openOrders.d.ts.map +1 -1
  324. package/dist/src/api/info/openOrders.js +8 -2
  325. package/dist/src/api/info/openOrders.js.map +1 -1
  326. package/dist/src/api/info/orderStatus.d.ts +2 -2
  327. package/dist/src/api/info/orderStatus.d.ts.map +1 -1
  328. package/dist/src/api/info/orderStatus.js +8 -2
  329. package/dist/src/api/info/orderStatus.js.map +1 -1
  330. package/dist/src/api/info/perpDeployAuctionStatus.d.ts +1 -1
  331. package/dist/src/api/info/perpDeployAuctionStatus.d.ts.map +1 -1
  332. package/dist/src/api/info/perpDeployAuctionStatus.js +8 -3
  333. package/dist/src/api/info/perpDeployAuctionStatus.js.map +1 -1
  334. package/dist/src/api/info/perpDexLimits.d.ts +2 -2
  335. package/dist/src/api/info/perpDexLimits.d.ts.map +1 -1
  336. package/dist/src/api/info/perpDexLimits.js +8 -2
  337. package/dist/src/api/info/perpDexLimits.js.map +1 -1
  338. package/dist/src/api/info/perpDexs.d.ts +1 -1
  339. package/dist/src/api/info/perpDexs.d.ts.map +1 -1
  340. package/dist/src/api/info/perpDexs.js +8 -3
  341. package/dist/src/api/info/perpDexs.js.map +1 -1
  342. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts +2 -2
  343. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts.map +1 -1
  344. package/dist/src/api/info/perpsAtOpenInterestCap.js +7 -2
  345. package/dist/src/api/info/perpsAtOpenInterestCap.js.map +1 -1
  346. package/dist/src/api/info/portfolio.d.ts +2 -2
  347. package/dist/src/api/info/portfolio.d.ts.map +1 -1
  348. package/dist/src/api/info/portfolio.js +8 -2
  349. package/dist/src/api/info/portfolio.js.map +1 -1
  350. package/dist/src/api/info/preTransferCheck.d.ts +2 -2
  351. package/dist/src/api/info/preTransferCheck.d.ts.map +1 -1
  352. package/dist/src/api/info/preTransferCheck.js +8 -2
  353. package/dist/src/api/info/preTransferCheck.js.map +1 -1
  354. package/dist/src/api/info/predictedFundings.d.ts +1 -1
  355. package/dist/src/api/info/predictedFundings.d.ts.map +1 -1
  356. package/dist/src/api/info/predictedFundings.js +8 -3
  357. package/dist/src/api/info/predictedFundings.js.map +1 -1
  358. package/dist/src/api/info/recentTrades.d.ts +2 -2
  359. package/dist/src/api/info/recentTrades.d.ts.map +1 -1
  360. package/dist/src/api/info/recentTrades.js +8 -2
  361. package/dist/src/api/info/recentTrades.js.map +1 -1
  362. package/dist/src/api/info/referral.d.ts +2 -2
  363. package/dist/src/api/info/referral.d.ts.map +1 -1
  364. package/dist/src/api/info/referral.js +8 -2
  365. package/dist/src/api/info/referral.js.map +1 -1
  366. package/dist/src/api/info/spotClearinghouseState.d.ts +2 -2
  367. package/dist/src/api/info/spotClearinghouseState.d.ts.map +1 -1
  368. package/dist/src/api/info/spotClearinghouseState.js +8 -2
  369. package/dist/src/api/info/spotClearinghouseState.js.map +1 -1
  370. package/dist/src/api/info/spotDeployState.d.ts +2 -2
  371. package/dist/src/api/info/spotDeployState.d.ts.map +1 -1
  372. package/dist/src/api/info/spotDeployState.js +8 -2
  373. package/dist/src/api/info/spotDeployState.js.map +1 -1
  374. package/dist/src/api/info/spotMeta.d.ts +1 -1
  375. package/dist/src/api/info/spotMeta.d.ts.map +1 -1
  376. package/dist/src/api/info/spotMeta.js +8 -3
  377. package/dist/src/api/info/spotMeta.js.map +1 -1
  378. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts +1 -1
  379. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts.map +1 -1
  380. package/dist/src/api/info/spotMetaAndAssetCtxs.js +8 -3
  381. package/dist/src/api/info/spotMetaAndAssetCtxs.js.map +1 -1
  382. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts +1 -1
  383. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts.map +1 -1
  384. package/dist/src/api/info/spotPairDeployAuctionStatus.js +8 -3
  385. package/dist/src/api/info/spotPairDeployAuctionStatus.js.map +1 -1
  386. package/dist/src/api/info/subAccounts.d.ts +2 -2
  387. package/dist/src/api/info/subAccounts.d.ts.map +1 -1
  388. package/dist/src/api/info/subAccounts.js +8 -2
  389. package/dist/src/api/info/subAccounts.js.map +1 -1
  390. package/dist/src/api/info/subAccounts2.d.ts +2 -2
  391. package/dist/src/api/info/subAccounts2.d.ts.map +1 -1
  392. package/dist/src/api/info/subAccounts2.js +8 -2
  393. package/dist/src/api/info/subAccounts2.js.map +1 -1
  394. package/dist/src/api/info/tokenDetails.d.ts +2 -2
  395. package/dist/src/api/info/tokenDetails.d.ts.map +1 -1
  396. package/dist/src/api/info/tokenDetails.js +8 -2
  397. package/dist/src/api/info/tokenDetails.js.map +1 -1
  398. package/dist/src/api/info/twapHistory.d.ts +2 -2
  399. package/dist/src/api/info/twapHistory.d.ts.map +1 -1
  400. package/dist/src/api/info/twapHistory.js +8 -2
  401. package/dist/src/api/info/twapHistory.js.map +1 -1
  402. package/dist/src/api/info/txDetails.d.ts +3 -3
  403. package/dist/src/api/info/txDetails.d.ts.map +1 -1
  404. package/dist/src/api/info/txDetails.js +8 -2
  405. package/dist/src/api/info/txDetails.js.map +1 -1
  406. package/dist/src/api/info/userDetails.d.ts +3 -3
  407. package/dist/src/api/info/userDetails.d.ts.map +1 -1
  408. package/dist/src/api/info/userDetails.js +8 -2
  409. package/dist/src/api/info/userDetails.js.map +1 -1
  410. package/dist/src/api/info/userDexAbstraction.d.ts +8 -8
  411. package/dist/src/api/info/userDexAbstraction.d.ts.map +1 -1
  412. package/dist/src/api/info/userDexAbstraction.js +11 -5
  413. package/dist/src/api/info/userDexAbstraction.js.map +1 -1
  414. package/dist/src/api/info/userFees.d.ts +2 -2
  415. package/dist/src/api/info/userFees.d.ts.map +1 -1
  416. package/dist/src/api/info/userFees.js +8 -2
  417. package/dist/src/api/info/userFees.js.map +1 -1
  418. package/dist/src/api/info/userFills.d.ts +2 -2
  419. package/dist/src/api/info/userFills.d.ts.map +1 -1
  420. package/dist/src/api/info/userFills.js +8 -2
  421. package/dist/src/api/info/userFills.js.map +1 -1
  422. package/dist/src/api/info/userFillsByTime.d.ts +2 -2
  423. package/dist/src/api/info/userFillsByTime.d.ts.map +1 -1
  424. package/dist/src/api/info/userFillsByTime.js +8 -2
  425. package/dist/src/api/info/userFillsByTime.js.map +1 -1
  426. package/dist/src/api/info/userFunding.d.ts +2 -2
  427. package/dist/src/api/info/userFunding.d.ts.map +1 -1
  428. package/dist/src/api/info/userFunding.js +8 -2
  429. package/dist/src/api/info/userFunding.js.map +1 -1
  430. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts +2 -2
  431. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts.map +1 -1
  432. package/dist/src/api/info/userNonFundingLedgerUpdates.js +8 -2
  433. package/dist/src/api/info/userNonFundingLedgerUpdates.js.map +1 -1
  434. package/dist/src/api/info/userRateLimit.d.ts +2 -2
  435. package/dist/src/api/info/userRateLimit.d.ts.map +1 -1
  436. package/dist/src/api/info/userRateLimit.js +8 -2
  437. package/dist/src/api/info/userRateLimit.js.map +1 -1
  438. package/dist/src/api/info/userRole.d.ts +2 -2
  439. package/dist/src/api/info/userRole.d.ts.map +1 -1
  440. package/dist/src/api/info/userRole.js +8 -2
  441. package/dist/src/api/info/userRole.js.map +1 -1
  442. package/dist/src/api/info/userToMultiSigSigners.d.ts +2 -2
  443. package/dist/src/api/info/userToMultiSigSigners.d.ts.map +1 -1
  444. package/dist/src/api/info/userToMultiSigSigners.js +8 -2
  445. package/dist/src/api/info/userToMultiSigSigners.js.map +1 -1
  446. package/dist/src/api/info/userTwapSliceFills.d.ts +2 -2
  447. package/dist/src/api/info/userTwapSliceFills.d.ts.map +1 -1
  448. package/dist/src/api/info/userTwapSliceFills.js +8 -2
  449. package/dist/src/api/info/userTwapSliceFills.js.map +1 -1
  450. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts +2 -2
  451. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts.map +1 -1
  452. package/dist/src/api/info/userTwapSliceFillsByTime.js +8 -2
  453. package/dist/src/api/info/userTwapSliceFillsByTime.js.map +1 -1
  454. package/dist/src/api/info/userVaultEquities.d.ts +2 -2
  455. package/dist/src/api/info/userVaultEquities.d.ts.map +1 -1
  456. package/dist/src/api/info/userVaultEquities.js +8 -2
  457. package/dist/src/api/info/userVaultEquities.js.map +1 -1
  458. package/dist/src/api/info/validatorL1Votes.d.ts +1 -1
  459. package/dist/src/api/info/validatorL1Votes.d.ts.map +1 -1
  460. package/dist/src/api/info/validatorL1Votes.js +8 -3
  461. package/dist/src/api/info/validatorL1Votes.js.map +1 -1
  462. package/dist/src/api/info/validatorSummaries.d.ts +1 -1
  463. package/dist/src/api/info/validatorSummaries.d.ts.map +1 -1
  464. package/dist/src/api/info/validatorSummaries.js +8 -3
  465. package/dist/src/api/info/validatorSummaries.js.map +1 -1
  466. package/dist/src/api/info/vaultDetails.d.ts +2 -2
  467. package/dist/src/api/info/vaultDetails.d.ts.map +1 -1
  468. package/dist/src/api/info/vaultDetails.js +8 -2
  469. package/dist/src/api/info/vaultDetails.js.map +1 -1
  470. package/dist/src/api/info/vaultSummaries.d.ts +1 -1
  471. package/dist/src/api/info/vaultSummaries.d.ts.map +1 -1
  472. package/dist/src/api/info/vaultSummaries.js +8 -3
  473. package/dist/src/api/info/vaultSummaries.js.map +1 -1
  474. package/dist/src/api/info/webData2.d.ts +2 -2
  475. package/dist/src/api/info/webData2.d.ts.map +1 -1
  476. package/dist/src/api/info/webData2.js +8 -2
  477. package/dist/src/api/info/webData2.js.map +1 -1
  478. package/dist/src/api/info/~client.d.ts +134 -1344
  479. package/dist/src/api/info/~client.d.ts.map +1 -1
  480. package/dist/src/api/info/~client.js.map +1 -1
  481. package/dist/src/api/subscription/activeAssetCtx.d.ts +3 -3
  482. package/dist/src/api/subscription/activeAssetCtx.d.ts.map +1 -1
  483. package/dist/src/api/subscription/activeAssetCtx.js +8 -2
  484. package/dist/src/api/subscription/activeAssetCtx.js.map +1 -1
  485. package/dist/src/api/subscription/activeAssetData.d.ts +3 -3
  486. package/dist/src/api/subscription/activeAssetData.d.ts.map +1 -1
  487. package/dist/src/api/subscription/activeAssetData.js +8 -2
  488. package/dist/src/api/subscription/activeAssetData.js.map +1 -1
  489. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts +3 -3
  490. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts.map +1 -1
  491. package/dist/src/api/subscription/activeSpotAssetCtx.js +8 -2
  492. package/dist/src/api/subscription/activeSpotAssetCtx.js.map +1 -1
  493. package/dist/src/api/subscription/allMids.d.ts +3 -3
  494. package/dist/src/api/subscription/allMids.d.ts.map +1 -1
  495. package/dist/src/api/subscription/allMids.js +8 -2
  496. package/dist/src/api/subscription/allMids.js.map +1 -1
  497. package/dist/src/api/subscription/assetCtxs.d.ts +3 -3
  498. package/dist/src/api/subscription/assetCtxs.d.ts.map +1 -1
  499. package/dist/src/api/subscription/assetCtxs.js +8 -2
  500. package/dist/src/api/subscription/assetCtxs.js.map +1 -1
  501. package/dist/src/api/subscription/bbo.d.ts +3 -3
  502. package/dist/src/api/subscription/bbo.d.ts.map +1 -1
  503. package/dist/src/api/subscription/bbo.js +8 -2
  504. package/dist/src/api/subscription/bbo.js.map +1 -1
  505. package/dist/src/api/subscription/candle.d.ts +3 -3
  506. package/dist/src/api/subscription/candle.d.ts.map +1 -1
  507. package/dist/src/api/subscription/candle.js +7 -2
  508. package/dist/src/api/subscription/candle.js.map +1 -1
  509. package/dist/src/api/subscription/clearinghouseState.d.ts +3 -3
  510. package/dist/src/api/subscription/clearinghouseState.d.ts.map +1 -1
  511. package/dist/src/api/subscription/clearinghouseState.js +8 -2
  512. package/dist/src/api/subscription/clearinghouseState.js.map +1 -1
  513. package/dist/src/api/subscription/explorerBlock.d.ts +2 -2
  514. package/dist/src/api/subscription/explorerBlock.d.ts.map +1 -1
  515. package/dist/src/api/subscription/explorerBlock.js +8 -2
  516. package/dist/src/api/subscription/explorerBlock.js.map +1 -1
  517. package/dist/src/api/subscription/explorerTxs.d.ts +2 -2
  518. package/dist/src/api/subscription/explorerTxs.d.ts.map +1 -1
  519. package/dist/src/api/subscription/explorerTxs.js +8 -2
  520. package/dist/src/api/subscription/explorerTxs.js.map +1 -1
  521. package/dist/src/api/subscription/l2Book.d.ts +3 -3
  522. package/dist/src/api/subscription/l2Book.d.ts.map +1 -1
  523. package/dist/src/api/subscription/l2Book.js +8 -2
  524. package/dist/src/api/subscription/l2Book.js.map +1 -1
  525. package/dist/src/api/subscription/notification.d.ts +3 -3
  526. package/dist/src/api/subscription/notification.d.ts.map +1 -1
  527. package/dist/src/api/subscription/notification.js +8 -2
  528. package/dist/src/api/subscription/notification.js.map +1 -1
  529. package/dist/src/api/subscription/openOrders.d.ts +3 -3
  530. package/dist/src/api/subscription/openOrders.d.ts.map +1 -1
  531. package/dist/src/api/subscription/openOrders.js +8 -2
  532. package/dist/src/api/subscription/openOrders.js.map +1 -1
  533. package/dist/src/api/subscription/orderUpdates.d.ts +3 -3
  534. package/dist/src/api/subscription/orderUpdates.d.ts.map +1 -1
  535. package/dist/src/api/subscription/orderUpdates.js +8 -2
  536. package/dist/src/api/subscription/orderUpdates.js.map +1 -1
  537. package/dist/src/api/subscription/spotAssetCtxs.d.ts +67 -0
  538. package/dist/src/api/subscription/spotAssetCtxs.d.ts.map +1 -0
  539. package/dist/src/api/subscription/spotAssetCtxs.js +67 -0
  540. package/dist/src/api/subscription/spotAssetCtxs.js.map +1 -0
  541. package/dist/src/api/subscription/spotState.d.ts +3 -3
  542. package/dist/src/api/subscription/spotState.d.ts.map +1 -1
  543. package/dist/src/api/subscription/spotState.js +8 -2
  544. package/dist/src/api/subscription/spotState.js.map +1 -1
  545. package/dist/src/api/subscription/trades.d.ts +3 -3
  546. package/dist/src/api/subscription/trades.d.ts.map +1 -1
  547. package/dist/src/api/subscription/trades.js +7 -2
  548. package/dist/src/api/subscription/trades.js.map +1 -1
  549. package/dist/src/api/subscription/userEvents.d.ts +3 -3
  550. package/dist/src/api/subscription/userEvents.d.ts.map +1 -1
  551. package/dist/src/api/subscription/userEvents.js +8 -2
  552. package/dist/src/api/subscription/userEvents.js.map +1 -1
  553. package/dist/src/api/subscription/userFills.d.ts +3 -3
  554. package/dist/src/api/subscription/userFills.d.ts.map +1 -1
  555. package/dist/src/api/subscription/userFills.js +8 -2
  556. package/dist/src/api/subscription/userFills.js.map +1 -1
  557. package/dist/src/api/subscription/userFundings.d.ts +3 -3
  558. package/dist/src/api/subscription/userFundings.d.ts.map +1 -1
  559. package/dist/src/api/subscription/userFundings.js +8 -2
  560. package/dist/src/api/subscription/userFundings.js.map +1 -1
  561. package/dist/src/api/subscription/userHistoricalOrders.d.ts +3 -3
  562. package/dist/src/api/subscription/userHistoricalOrders.d.ts.map +1 -1
  563. package/dist/src/api/subscription/userHistoricalOrders.js +8 -2
  564. package/dist/src/api/subscription/userHistoricalOrders.js.map +1 -1
  565. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts +3 -3
  566. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +1 -1
  567. package/dist/src/api/subscription/userNonFundingLedgerUpdates.js +8 -2
  568. package/dist/src/api/subscription/userNonFundingLedgerUpdates.js.map +1 -1
  569. package/dist/src/api/subscription/userTwapHistory.d.ts +3 -3
  570. package/dist/src/api/subscription/userTwapHistory.d.ts.map +1 -1
  571. package/dist/src/api/subscription/userTwapHistory.js +8 -2
  572. package/dist/src/api/subscription/userTwapHistory.js.map +1 -1
  573. package/dist/src/api/subscription/userTwapSliceFills.d.ts +3 -3
  574. package/dist/src/api/subscription/userTwapSliceFills.d.ts.map +1 -1
  575. package/dist/src/api/subscription/userTwapSliceFills.js +8 -2
  576. package/dist/src/api/subscription/userTwapSliceFills.js.map +1 -1
  577. package/dist/src/api/subscription/webData2.d.ts +3 -3
  578. package/dist/src/api/subscription/webData2.d.ts.map +1 -1
  579. package/dist/src/api/subscription/webData2.js +8 -2
  580. package/dist/src/api/subscription/webData2.js.map +1 -1
  581. package/dist/src/api/subscription/webData3.d.ts +3 -3
  582. package/dist/src/api/subscription/webData3.d.ts.map +1 -1
  583. package/dist/src/api/subscription/webData3.js +8 -2
  584. package/dist/src/api/subscription/webData3.js.map +1 -1
  585. package/dist/src/api/subscription/~client.d.ts +46 -25
  586. package/dist/src/api/subscription/~client.d.ts.map +1 -1
  587. package/dist/src/api/subscription/~client.js +22 -0
  588. package/dist/src/api/subscription/~client.js.map +1 -1
  589. package/dist/src/api/subscription/~mod.d.ts +1 -0
  590. package/dist/src/api/subscription/~mod.d.ts.map +1 -1
  591. package/dist/src/api/subscription/~mod.js +1 -0
  592. package/dist/src/api/subscription/~mod.js.map +1 -1
  593. package/dist/src/signing/mod.d.ts +6 -6
  594. package/dist/src/signing/mod.js +6 -6
  595. package/package.json +1 -1
  596. package/src/api/_base.ts +6 -2
  597. package/src/api/exchange/_base/_execute.ts +36 -5
  598. package/src/api/exchange/_base/_nonce.ts +12 -1
  599. package/src/api/exchange/_base/_types.ts +26 -0
  600. package/src/api/exchange/_base/mod.ts +0 -1
  601. package/src/api/exchange/agentEnableDexAbstraction.ts +36 -16
  602. package/src/api/exchange/approveAgent.ts +37 -16
  603. package/src/api/exchange/approveBuilderFee.ts +37 -16
  604. package/src/api/exchange/batchModify.ts +32 -16
  605. package/src/api/exchange/cDeposit.ts +37 -16
  606. package/src/api/exchange/cSignerAction.ts +34 -20
  607. package/src/api/exchange/cValidatorAction.ts +34 -20
  608. package/src/api/exchange/cWithdraw.ts +37 -16
  609. package/src/api/exchange/cancel.ts +27 -49
  610. package/src/api/exchange/cancelByCloid.ts +32 -15
  611. package/src/api/exchange/claimRewards.ts +32 -19
  612. package/src/api/exchange/convertToMultiSigUser.ts +38 -18
  613. package/src/api/exchange/createSubAccount.ts +50 -36
  614. package/src/api/exchange/createVault.ts +50 -36
  615. package/src/api/exchange/evmUserModify.ts +36 -15
  616. package/src/api/exchange/linkStakingUser.ts +37 -16
  617. package/src/api/exchange/modify.ts +36 -16
  618. package/src/api/exchange/multiSig.ts +118 -73
  619. package/src/api/exchange/noop.ts +34 -14
  620. package/src/api/exchange/order.ts +27 -99
  621. package/src/api/exchange/perpDeploy.ts +36 -15
  622. package/src/api/exchange/registerReferrer.ts +34 -20
  623. package/src/api/exchange/reserveRequestWeight.ts +36 -15
  624. package/src/api/exchange/scheduleCancel.ts +38 -17
  625. package/src/api/exchange/sendAsset.ts +39 -18
  626. package/src/api/exchange/setDisplayName.ts +34 -20
  627. package/src/api/exchange/setReferrer.ts +34 -20
  628. package/src/api/exchange/spotDeploy.ts +36 -15
  629. package/src/api/exchange/spotSend.ts +37 -16
  630. package/src/api/exchange/spotUser.ts +34 -20
  631. package/src/api/exchange/subAccountModify.ts +34 -20
  632. package/src/api/exchange/subAccountSpotTransfer.ts +34 -20
  633. package/src/api/exchange/subAccountTransfer.ts +34 -20
  634. package/src/api/exchange/tokenDelegate.ts +37 -16
  635. package/src/api/exchange/twapCancel.ts +27 -49
  636. package/src/api/exchange/twapOrder.ts +27 -61
  637. package/src/api/exchange/updateIsolatedMargin.ts +36 -15
  638. package/src/api/exchange/updateLeverage.ts +36 -15
  639. package/src/api/exchange/usdClassTransfer.ts +37 -16
  640. package/src/api/exchange/usdSend.ts +37 -16
  641. package/src/api/exchange/userDexAbstraction.ts +48 -27
  642. package/src/api/exchange/validatorL1Stream.ts +136 -0
  643. package/src/api/exchange/vaultDistribute.ts +34 -20
  644. package/src/api/exchange/vaultModify.ts +34 -20
  645. package/src/api/exchange/vaultTransfer.ts +36 -15
  646. package/src/api/exchange/withdraw3.ts +37 -16
  647. package/src/api/exchange/~client.ts +225 -121
  648. package/src/api/exchange/~mod.ts +2 -1
  649. package/src/api/info/activeAssetData.ts +11 -4
  650. package/src/api/info/alignedQuoteTokenInfo.ts +11 -4
  651. package/src/api/info/allMids.ts +11 -4
  652. package/src/api/info/allPerpMetas.ts +10 -5
  653. package/src/api/info/blockDetails.ts +12 -5
  654. package/src/api/info/candleSnapshot.ts +11 -5
  655. package/src/api/info/clearinghouseState.ts +11 -4
  656. package/src/api/info/delegations.ts +11 -4
  657. package/src/api/info/delegatorHistory.ts +11 -4
  658. package/src/api/info/delegatorRewards.ts +11 -4
  659. package/src/api/info/delegatorSummary.ts +11 -4
  660. package/src/api/info/exchangeStatus.ts +11 -4
  661. package/src/api/info/extraAgents.ts +11 -4
  662. package/src/api/info/frontendOpenOrders.ts +11 -5
  663. package/src/api/info/fundingHistory.ts +11 -4
  664. package/src/api/info/gossipRootIps.ts +9 -4
  665. package/src/api/info/historicalOrders.ts +11 -5
  666. package/src/api/info/isVip.ts +11 -4
  667. package/src/api/info/l2Book.ts +11 -5
  668. package/src/api/info/leadingVaults.ts +11 -4
  669. package/src/api/info/legalCheck.ts +11 -4
  670. package/src/api/info/liquidatable.ts +9 -4
  671. package/src/api/info/marginTable.ts +11 -4
  672. package/src/api/info/maxBuilderFee.ts +11 -4
  673. package/src/api/info/maxMarketOrderNtls.ts +11 -4
  674. package/src/api/info/meta.ts +11 -5
  675. package/src/api/info/metaAndAssetCtxs.ts +11 -5
  676. package/src/api/info/openOrders.ts +11 -5
  677. package/src/api/info/orderStatus.ts +11 -5
  678. package/src/api/info/perpDeployAuctionStatus.ts +11 -4
  679. package/src/api/info/perpDexLimits.ts +11 -4
  680. package/src/api/info/perpDexs.ts +11 -4
  681. package/src/api/info/perpsAtOpenInterestCap.ts +9 -4
  682. package/src/api/info/portfolio.ts +11 -4
  683. package/src/api/info/preTransferCheck.ts +11 -4
  684. package/src/api/info/predictedFundings.ts +11 -4
  685. package/src/api/info/recentTrades.ts +11 -4
  686. package/src/api/info/referral.ts +11 -4
  687. package/src/api/info/spotClearinghouseState.ts +11 -5
  688. package/src/api/info/spotDeployState.ts +11 -4
  689. package/src/api/info/spotMeta.ts +11 -4
  690. package/src/api/info/spotMetaAndAssetCtxs.ts +11 -5
  691. package/src/api/info/spotPairDeployAuctionStatus.ts +11 -4
  692. package/src/api/info/subAccounts.ts +11 -5
  693. package/src/api/info/subAccounts2.ts +11 -5
  694. package/src/api/info/tokenDetails.ts +11 -4
  695. package/src/api/info/twapHistory.ts +11 -5
  696. package/src/api/info/txDetails.ts +12 -5
  697. package/src/api/info/userDetails.ts +12 -6
  698. package/src/api/info/userDexAbstraction.ts +19 -12
  699. package/src/api/info/userFees.ts +11 -4
  700. package/src/api/info/userFills.ts +11 -5
  701. package/src/api/info/userFillsByTime.ts +11 -5
  702. package/src/api/info/userFunding.ts +11 -4
  703. package/src/api/info/userNonFundingLedgerUpdates.ts +11 -4
  704. package/src/api/info/userRateLimit.ts +11 -4
  705. package/src/api/info/userRole.ts +11 -4
  706. package/src/api/info/userToMultiSigSigners.ts +11 -4
  707. package/src/api/info/userTwapSliceFills.ts +11 -5
  708. package/src/api/info/userTwapSliceFillsByTime.ts +11 -5
  709. package/src/api/info/userVaultEquities.ts +11 -4
  710. package/src/api/info/validatorL1Votes.ts +11 -4
  711. package/src/api/info/validatorSummaries.ts +11 -4
  712. package/src/api/info/vaultDetails.ts +11 -5
  713. package/src/api/info/vaultSummaries.ts +11 -4
  714. package/src/api/info/webData2.ts +11 -5
  715. package/src/api/info/~client.ts +263 -141
  716. package/src/api/subscription/activeAssetCtx.ts +12 -5
  717. package/src/api/subscription/activeAssetData.ts +12 -6
  718. package/src/api/subscription/activeSpotAssetCtx.ts +12 -5
  719. package/src/api/subscription/allMids.ts +12 -5
  720. package/src/api/subscription/assetCtxs.ts +12 -5
  721. package/src/api/subscription/bbo.ts +12 -6
  722. package/src/api/subscription/candle.ts +11 -6
  723. package/src/api/subscription/clearinghouseState.ts +12 -6
  724. package/src/api/subscription/explorerBlock.ts +12 -5
  725. package/src/api/subscription/explorerTxs.ts +12 -5
  726. package/src/api/subscription/l2Book.ts +12 -6
  727. package/src/api/subscription/notification.ts +12 -5
  728. package/src/api/subscription/openOrders.ts +12 -6
  729. package/src/api/subscription/orderUpdates.ts +12 -6
  730. package/src/api/subscription/spotAssetCtxs.ts +118 -0
  731. package/src/api/subscription/spotState.ts +12 -6
  732. package/src/api/subscription/trades.ts +11 -6
  733. package/src/api/subscription/userEvents.ts +12 -6
  734. package/src/api/subscription/userFills.ts +12 -6
  735. package/src/api/subscription/userFundings.ts +12 -5
  736. package/src/api/subscription/userHistoricalOrders.ts +12 -6
  737. package/src/api/subscription/userNonFundingLedgerUpdates.ts +12 -6
  738. package/src/api/subscription/userTwapHistory.ts +12 -6
  739. package/src/api/subscription/userTwapSliceFills.ts +12 -6
  740. package/src/api/subscription/webData2.ts +12 -6
  741. package/src/api/subscription/webData3.ts +12 -6
  742. package/src/api/subscription/~client.ts +104 -25
  743. package/src/api/subscription/~mod.ts +1 -0
  744. package/src/signing/mod.ts +6 -6
  745. package/dist/src/api/exchange/_base/_helpers.d.ts +0 -11
  746. package/dist/src/api/exchange/_base/_helpers.d.ts.map +0 -1
  747. package/dist/src/api/exchange/_base/_helpers.js +0 -18
  748. package/dist/src/api/exchange/_base/_helpers.js.map +0 -1
  749. package/src/api/exchange/_base/_helpers.ts +0 -26
@@ -69,81 +69,6 @@ import { vaultDetails } from "./vaultDetails.ts";
69
69
  import { vaultSummaries } from "./vaultSummaries.ts";
70
70
  import { webData2 } from "./webData2.ts";
71
71
 
72
- export type { ActiveAssetDataParameters, ActiveAssetDataResponse } from "./activeAssetData.ts";
73
- export type { AlignedQuoteTokenInfoParameters, AlignedQuoteTokenInfoResponse } from "./alignedQuoteTokenInfo.ts";
74
- export type { AllMidsParameters, AllMidsResponse } from "./allMids.ts";
75
- export type { AllPerpMetasParameters, AllPerpMetasResponse } from "./allPerpMetas.ts";
76
- export type { BlockDetailsParameters, BlockDetailsResponse } from "./blockDetails.ts";
77
- export type { CandleSnapshotParameters, CandleSnapshotResponse } from "./candleSnapshot.ts";
78
- export type { ClearinghouseStateParameters, ClearinghouseStateResponse } from "./clearinghouseState.ts";
79
- export type { DelegationsParameters, DelegationsResponse } from "./delegations.ts";
80
- export type { DelegatorHistoryParameters, DelegatorHistoryResponse } from "./delegatorHistory.ts";
81
- export type { DelegatorRewardsParameters, DelegatorRewardsResponse } from "./delegatorRewards.ts";
82
- export type { DelegatorSummaryParameters, DelegatorSummaryResponse } from "./delegatorSummary.ts";
83
- export type { ExchangeStatusResponse } from "./exchangeStatus.ts";
84
- export type { ExtraAgentsParameters, ExtraAgentsResponse } from "./extraAgents.ts";
85
- export type { FrontendOpenOrdersParameters, FrontendOpenOrdersResponse } from "./frontendOpenOrders.ts";
86
- export type { FundingHistoryParameters, FundingHistoryResponse } from "./fundingHistory.ts";
87
- export type { GossipRootIpsResponse } from "./gossipRootIps.ts";
88
- export type { HistoricalOrdersParameters, HistoricalOrdersResponse } from "./historicalOrders.ts";
89
- export type { IsVipParameters, IsVipResponse } from "./isVip.ts";
90
- export type { L2BookParameters, L2BookResponse } from "./l2Book.ts";
91
- export type { LeadingVaultsParameters, LeadingVaultsResponse } from "./leadingVaults.ts";
92
- export type { LegalCheckParameters, LegalCheckResponse } from "./legalCheck.ts";
93
- export type { LiquidatableResponse } from "./liquidatable.ts";
94
- export type { MarginTableParameters, MarginTableResponse } from "./marginTable.ts";
95
- export type { MaxBuilderFeeParameters, MaxBuilderFeeResponse } from "./maxBuilderFee.ts";
96
- export type { MaxMarketOrderNtlsParameters, MaxMarketOrderNtlsResponse } from "./maxMarketOrderNtls.ts";
97
- export type { MetaParameters, MetaResponse } from "./meta.ts";
98
- export type { MetaAndAssetCtxsParameters, MetaAndAssetCtxsResponse } from "./metaAndAssetCtxs.ts";
99
- export type { OpenOrdersParameters, OpenOrdersResponse } from "./openOrders.ts";
100
- export type { OrderStatusParameters, OrderStatusResponse } from "./orderStatus.ts";
101
- export type { PerpDeployAuctionStatusResponse } from "./perpDeployAuctionStatus.ts";
102
- export type { PerpDexLimitsParameters, PerpDexLimitsResponse } from "./perpDexLimits.ts";
103
- export type { PerpDexsResponse } from "./perpDexs.ts";
104
- export type { PerpsAtOpenInterestCapParameters, PerpsAtOpenInterestCapResponse } from "./perpsAtOpenInterestCap.ts";
105
- export type { PortfolioParameters, PortfolioResponse } from "./portfolio.ts";
106
- export type { PredictedFundingsResponse } from "./predictedFundings.ts";
107
- export type { PreTransferCheckParameters, PreTransferCheckResponse } from "./preTransferCheck.ts";
108
- export type { RecentTradesParameters, RecentTradesResponse } from "./recentTrades.ts";
109
- export type { ReferralParameters, ReferralResponse } from "./referral.ts";
110
- export type { SpotClearinghouseStateParameters, SpotClearinghouseStateResponse } from "./spotClearinghouseState.ts";
111
- export type { SpotDeployStateParameters, SpotDeployStateResponse } from "./spotDeployState.ts";
112
- export type { SpotMetaResponse } from "./spotMeta.ts";
113
- export type { SpotMetaAndAssetCtxsResponse } from "./spotMetaAndAssetCtxs.ts";
114
- export type { SpotPairDeployAuctionStatusResponse } from "./spotPairDeployAuctionStatus.ts";
115
- export type { SubAccountsParameters, SubAccountsResponse } from "./subAccounts.ts";
116
- export type { SubAccounts2Parameters, SubAccounts2Response } from "./subAccounts2.ts";
117
- export type { TokenDetailsParameters, TokenDetailsResponse } from "./tokenDetails.ts";
118
- export type { TwapHistoryParameters, TwapHistoryResponse } from "./twapHistory.ts";
119
- export type { TxDetailsParameters, TxDetailsResponse } from "./txDetails.ts";
120
- export type { UserDetailsParameters, UserDetailsResponse } from "./userDetails.ts";
121
- export type { UserDexAbstractionInfoParameters, UserDexAbstractionInfoResponse } from "./userDexAbstraction.ts";
122
- export type { UserFeesParameters, UserFeesResponse } from "./userFees.ts";
123
- export type { UserFillsParameters, UserFillsResponse } from "./userFills.ts";
124
- export type { UserFillsByTimeParameters, UserFillsByTimeResponse } from "./userFillsByTime.ts";
125
- export type { UserFundingParameters, UserFundingResponse } from "./userFunding.ts";
126
- export type {
127
- UserNonFundingLedgerUpdatesParameters,
128
- UserNonFundingLedgerUpdatesResponse,
129
- } from "./userNonFundingLedgerUpdates.ts";
130
- export type { UserRateLimitParameters, UserRateLimitResponse } from "./userRateLimit.ts";
131
- export type { UserRoleParameters, UserRoleResponse } from "./userRole.ts";
132
- export type { UserToMultiSigSignersParameters, UserToMultiSigSignersResponse } from "./userToMultiSigSigners.ts";
133
- export type { UserTwapSliceFillsParameters, UserTwapSliceFillsResponse } from "./userTwapSliceFills.ts";
134
- export type {
135
- UserTwapSliceFillsByTimeParameters,
136
- UserTwapSliceFillsByTimeResponse,
137
- } from "./userTwapSliceFillsByTime.ts";
138
- export type { UserVaultEquitiesParameters, UserVaultEquitiesResponse } from "./userVaultEquities.ts";
139
- export type { ValidatorL1VotesResponse } from "./validatorL1Votes.ts";
140
- export type { ValidatorSummariesResponse } from "./validatorSummaries.ts";
141
- export type { VaultDetailsParameters, VaultDetailsResponse } from "./vaultDetails.ts";
142
- export type { VaultSummariesResponse } from "./vaultSummaries.ts";
143
- export type { WebData2Parameters, WebData2Response } from "./webData2.ts";
144
-
145
- export type { InfoRequestConfig } from "./_types.ts";
146
-
147
72
  /**
148
73
  * A client for interacting with the Hyperliquid Info API.
149
74
  * @typeParam T - The transport (extends {@linkcode IRequestTransport}) used to connect to the Hyperliquid API.
@@ -186,7 +111,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
186
111
  * const data = await client.activeAssetData({ user: "0x...", coin: "ETH" });
187
112
  * ```
188
113
  */
189
- activeAssetData(...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>) {
114
+ activeAssetData(
115
+ ...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>
116
+ ): ReturnType<typeof activeAssetData> {
190
117
  return activeAssetData(this, ...args);
191
118
  }
192
119
 
@@ -209,7 +136,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
209
136
  * const data = await client.alignedQuoteTokenInfo({ token: 1328 });
210
137
  * ```
211
138
  */
212
- alignedQuoteTokenInfo(...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>) {
139
+ alignedQuoteTokenInfo(
140
+ ...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>
141
+ ): ReturnType<typeof alignedQuoteTokenInfo> {
213
142
  return alignedQuoteTokenInfo(this, ...args);
214
143
  }
215
144
 
@@ -232,7 +161,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
232
161
  * const data = await client.allMids();
233
162
  * ```
234
163
  */
235
- allMids(...args: OmitFirst<OverloadedParameters<typeof allMids>>) {
164
+ allMids(
165
+ ...args: OmitFirst<OverloadedParameters<typeof allMids>>
166
+ ): ReturnType<typeof allMids> {
236
167
  return allMids(
237
168
  this,
238
169
  // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
@@ -258,7 +189,7 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
258
189
  * const data = await client.allPerpMetas();
259
190
  * ```
260
191
  */
261
- allPerpMetas() {
192
+ allPerpMetas(): ReturnType<typeof allPerpMetas> {
262
193
  return allPerpMetas(this);
263
194
  }
264
195
 
@@ -284,7 +215,7 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
284
215
  blockDetails(
285
216
  this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
286
217
  ...args: OmitFirst<OverloadedParameters<typeof blockDetails>>
287
- ) {
218
+ ): ReturnType<typeof blockDetails> {
288
219
  return blockDetails(this, ...args);
289
220
  }
290
221
 
@@ -311,7 +242,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
311
242
  * });
312
243
  * ```
313
244
  */
314
- candleSnapshot(...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>) {
245
+ candleSnapshot(
246
+ ...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>
247
+ ): ReturnType<typeof candleSnapshot> {
315
248
  return candleSnapshot(this, ...args);
316
249
  }
317
250
 
@@ -334,7 +267,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
334
267
  * const data = await client.clearinghouseState({ user: "0x..." });
335
268
  * ```
336
269
  */
337
- clearinghouseState(...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>) {
270
+ clearinghouseState(
271
+ ...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>
272
+ ): ReturnType<typeof clearinghouseState> {
338
273
  return clearinghouseState(this, ...args);
339
274
  }
340
275
 
@@ -357,7 +292,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
357
292
  * const data = await client.delegations({ user: "0x..." });
358
293
  * ```
359
294
  */
360
- delegations(...args: OmitFirst<OverloadedParameters<typeof delegations>>) {
295
+ delegations(
296
+ ...args: OmitFirst<OverloadedParameters<typeof delegations>>
297
+ ): ReturnType<typeof delegations> {
361
298
  return delegations(this, ...args);
362
299
  }
363
300
 
@@ -380,7 +317,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
380
317
  * const data = await client.delegatorHistory({ user: "0x..." });
381
318
  * ```
382
319
  */
383
- delegatorHistory(...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>) {
320
+ delegatorHistory(
321
+ ...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>
322
+ ): ReturnType<typeof delegatorHistory> {
384
323
  return delegatorHistory(this, ...args);
385
324
  }
386
325
 
@@ -403,7 +342,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
403
342
  * const data = await client.delegatorRewards({ user: "0x..." });
404
343
  * ```
405
344
  */
406
- delegatorRewards(...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>) {
345
+ delegatorRewards(
346
+ ...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>
347
+ ): ReturnType<typeof delegatorRewards> {
407
348
  return delegatorRewards(this, ...args);
408
349
  }
409
350
 
@@ -426,7 +367,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
426
367
  * const data = await client.delegatorSummary({ user: "0x..." });
427
368
  * ```
428
369
  */
429
- delegatorSummary(...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>) {
370
+ delegatorSummary(
371
+ ...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>
372
+ ): ReturnType<typeof delegatorSummary> {
430
373
  return delegatorSummary(this, ...args);
431
374
  }
432
375
 
@@ -448,7 +391,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
448
391
  * const data = await client.exchangeStatus();
449
392
  * ```
450
393
  */
451
- exchangeStatus(...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>) {
394
+ exchangeStatus(
395
+ ...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>
396
+ ): ReturnType<typeof exchangeStatus> {
452
397
  return exchangeStatus(this, ...args);
453
398
  }
454
399
 
@@ -471,7 +416,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
471
416
  * const data = await client.extraAgents({ user: "0x..." });
472
417
  * ```
473
418
  */
474
- extraAgents(...args: OmitFirst<OverloadedParameters<typeof extraAgents>>) {
419
+ extraAgents(
420
+ ...args: OmitFirst<OverloadedParameters<typeof extraAgents>>
421
+ ): ReturnType<typeof extraAgents> {
475
422
  return extraAgents(this, ...args);
476
423
  }
477
424
 
@@ -494,7 +441,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
494
441
  * const data = await client.frontendOpenOrders({ user: "0x..." });
495
442
  * ```
496
443
  */
497
- frontendOpenOrders(...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>) {
444
+ frontendOpenOrders(
445
+ ...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>
446
+ ): ReturnType<typeof frontendOpenOrders> {
498
447
  return frontendOpenOrders(this, ...args);
499
448
  }
500
449
 
@@ -520,7 +469,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
520
469
  * });
521
470
  * ```
522
471
  */
523
- fundingHistory(...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>) {
472
+ fundingHistory(
473
+ ...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>
474
+ ): ReturnType<typeof fundingHistory> {
524
475
  return fundingHistory(this, ...args);
525
476
  }
526
477
 
@@ -542,7 +493,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
542
493
  * const data = await client.gossipRootIps();
543
494
  * ```
544
495
  */
545
- gossipRootIps(...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>) {
496
+ gossipRootIps(
497
+ ...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>
498
+ ): ReturnType<typeof gossipRootIps> {
546
499
  return gossipRootIps(this, ...args);
547
500
  }
548
501
 
@@ -565,7 +518,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
565
518
  * const data = await client.historicalOrders({ user: "0x..." });
566
519
  * ```
567
520
  */
568
- historicalOrders(...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>) {
521
+ historicalOrders(
522
+ ...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>
523
+ ): ReturnType<typeof historicalOrders> {
569
524
  return historicalOrders(this, ...args);
570
525
  }
571
526
 
@@ -588,7 +543,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
588
543
  * const data = await client.isVip({ user: "0x..." });
589
544
  * ```
590
545
  */
591
- isVip(...args: OmitFirst<OverloadedParameters<typeof isVip>>) {
546
+ isVip(
547
+ ...args: OmitFirst<OverloadedParameters<typeof isVip>>
548
+ ): ReturnType<typeof isVip> {
592
549
  return isVip(this, ...args);
593
550
  }
594
551
 
@@ -611,7 +568,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
611
568
  * const data = await client.l2Book({ coin: "ETH", nSigFigs: 2 });
612
569
  * ```
613
570
  */
614
- l2Book(...args: OmitFirst<OverloadedParameters<typeof l2Book>>) {
571
+ l2Book(
572
+ ...args: OmitFirst<OverloadedParameters<typeof l2Book>>
573
+ ): ReturnType<typeof l2Book> {
615
574
  return l2Book(this, ...args);
616
575
  }
617
576
 
@@ -634,7 +593,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
634
593
  * const data = await client.leadingVaults({ user: "0x..." });
635
594
  * ```
636
595
  */
637
- leadingVaults(...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>) {
596
+ leadingVaults(
597
+ ...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>
598
+ ): ReturnType<typeof leadingVaults> {
638
599
  return leadingVaults(this, ...args);
639
600
  }
640
601
 
@@ -657,7 +618,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
657
618
  * const data = await client.legalCheck({ user: "0x..." });
658
619
  * ```
659
620
  */
660
- legalCheck(...args: OmitFirst<OverloadedParameters<typeof legalCheck>>) {
621
+ legalCheck(
622
+ ...args: OmitFirst<OverloadedParameters<typeof legalCheck>>
623
+ ): ReturnType<typeof legalCheck> {
661
624
  return legalCheck(this, ...args);
662
625
  }
663
626
 
@@ -679,7 +642,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
679
642
  * const data = await client.liquidatable();
680
643
  * ```
681
644
  */
682
- liquidatable(...args: OmitFirst<OverloadedParameters<typeof liquidatable>>) {
645
+ liquidatable(
646
+ ...args: OmitFirst<OverloadedParameters<typeof liquidatable>>
647
+ ): ReturnType<typeof liquidatable> {
683
648
  return liquidatable(this, ...args);
684
649
  }
685
650
 
@@ -702,7 +667,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
702
667
  * const data = await client.marginTable({ id: 1 });
703
668
  * ```
704
669
  */
705
- marginTable(...args: OmitFirst<OverloadedParameters<typeof marginTable>>) {
670
+ marginTable(
671
+ ...args: OmitFirst<OverloadedParameters<typeof marginTable>>
672
+ ): ReturnType<typeof marginTable> {
706
673
  return marginTable(this, ...args);
707
674
  }
708
675
 
@@ -725,7 +692,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
725
692
  * const data = await client.maxBuilderFee({ user: "0x...", builder: "0x..." });
726
693
  * ```
727
694
  */
728
- maxBuilderFee(...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>) {
695
+ maxBuilderFee(
696
+ ...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>
697
+ ): ReturnType<typeof maxBuilderFee> {
729
698
  return maxBuilderFee(this, ...args);
730
699
  }
731
700
 
@@ -747,7 +716,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
747
716
  * const data = await client.maxMarketOrderNtls();
748
717
  * ```
749
718
  */
750
- maxMarketOrderNtls(...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>) {
719
+ maxMarketOrderNtls(
720
+ ...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>
721
+ ): ReturnType<typeof maxMarketOrderNtls> {
751
722
  return maxMarketOrderNtls(this, ...args);
752
723
  }
753
724
 
@@ -770,7 +741,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
770
741
  * const data = await client.meta();
771
742
  * ```
772
743
  */
773
- meta(...args: OmitFirst<OverloadedParameters<typeof meta>>) {
744
+ meta(
745
+ ...args: OmitFirst<OverloadedParameters<typeof meta>>
746
+ ): ReturnType<typeof meta> {
774
747
  return meta(
775
748
  this,
776
749
  // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
@@ -796,7 +769,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
796
769
  * const data = await client.metaAndAssetCtxs();
797
770
  * ```
798
771
  */
799
- metaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>) {
772
+ metaAndAssetCtxs(
773
+ ...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>
774
+ ): ReturnType<typeof metaAndAssetCtxs> {
800
775
  return metaAndAssetCtxs(
801
776
  this,
802
777
  // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
@@ -823,7 +798,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
823
798
  * const data = await client.openOrders({ user: "0x..." });
824
799
  * ```
825
800
  */
826
- openOrders(...args: OmitFirst<OverloadedParameters<typeof openOrders>>) {
801
+ openOrders(
802
+ ...args: OmitFirst<OverloadedParameters<typeof openOrders>>
803
+ ): ReturnType<typeof openOrders> {
827
804
  return openOrders(this, ...args);
828
805
  }
829
806
 
@@ -846,7 +823,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
846
823
  * const data = await client.orderStatus({ user: "0x...", oid: 12345 });
847
824
  * ```
848
825
  */
849
- orderStatus(...args: OmitFirst<OverloadedParameters<typeof orderStatus>>) {
826
+ orderStatus(
827
+ ...args: OmitFirst<OverloadedParameters<typeof orderStatus>>
828
+ ): ReturnType<typeof orderStatus> {
850
829
  return orderStatus(this, ...args);
851
830
  }
852
831
 
@@ -868,7 +847,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
868
847
  * const data = await client.perpDeployAuctionStatus();
869
848
  * ```
870
849
  */
871
- perpDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>) {
850
+ perpDeployAuctionStatus(
851
+ ...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>
852
+ ): ReturnType<typeof perpDeployAuctionStatus> {
872
853
  return perpDeployAuctionStatus(this, ...args);
873
854
  }
874
855
 
@@ -891,7 +872,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
891
872
  * const data = await client.perpDexLimits({ dex: "test" });
892
873
  * ```
893
874
  */
894
- perpDexLimits(...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>) {
875
+ perpDexLimits(
876
+ ...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>
877
+ ): ReturnType<typeof perpDexLimits> {
895
878
  return perpDexLimits(this, ...args);
896
879
  }
897
880
 
@@ -913,7 +896,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
913
896
  * const data = await client.perpDexs();
914
897
  * ```
915
898
  */
916
- perpDexs(...args: OmitFirst<OverloadedParameters<typeof perpDexs>>) {
899
+ perpDexs(
900
+ ...args: OmitFirst<OverloadedParameters<typeof perpDexs>>
901
+ ): ReturnType<typeof perpDexs> {
917
902
  return perpDexs(this, ...args);
918
903
  }
919
904
 
@@ -936,7 +921,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
936
921
  * const data = await client.perpsAtOpenInterestCap();
937
922
  * ```
938
923
  */
939
- perpsAtOpenInterestCap(...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>) {
924
+ perpsAtOpenInterestCap(
925
+ ...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>
926
+ ): ReturnType<typeof perpsAtOpenInterestCap> {
940
927
  return perpsAtOpenInterestCap(
941
928
  this,
942
929
  // @ts-ignore: TypeScript can't resolve overloaded signatures from parameter unions
@@ -963,7 +950,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
963
950
  * const data = await client.portfolio({ user: "0x..." });
964
951
  * ```
965
952
  */
966
- portfolio(...args: OmitFirst<OverloadedParameters<typeof portfolio>>) {
953
+ portfolio(
954
+ ...args: OmitFirst<OverloadedParameters<typeof portfolio>>
955
+ ): ReturnType<typeof portfolio> {
967
956
  return portfolio(this, ...args);
968
957
  }
969
958
 
@@ -985,7 +974,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
985
974
  * const data = await client.predictedFundings();
986
975
  * ```
987
976
  */
988
- predictedFundings(...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>) {
977
+ predictedFundings(
978
+ ...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>
979
+ ): ReturnType<typeof predictedFundings> {
989
980
  return predictedFundings(this, ...args);
990
981
  }
991
982
 
@@ -1008,7 +999,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1008
999
  * const data = await client.preTransferCheck({ user: "0x...", source: "0x..." });
1009
1000
  * ```
1010
1001
  */
1011
- preTransferCheck(...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>) {
1002
+ preTransferCheck(
1003
+ ...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>
1004
+ ): ReturnType<typeof preTransferCheck> {
1012
1005
  return preTransferCheck(this, ...args);
1013
1006
  }
1014
1007
 
@@ -1031,7 +1024,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1031
1024
  * const data = await client.recentTrades({ coin: "ETH" });
1032
1025
  * ```
1033
1026
  */
1034
- recentTrades(...args: OmitFirst<OverloadedParameters<typeof recentTrades>>) {
1027
+ recentTrades(
1028
+ ...args: OmitFirst<OverloadedParameters<typeof recentTrades>>
1029
+ ): ReturnType<typeof recentTrades> {
1035
1030
  return recentTrades(this, ...args);
1036
1031
  }
1037
1032
 
@@ -1054,7 +1049,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1054
1049
  * const data = await client.referral({ user: "0x..." });
1055
1050
  * ```
1056
1051
  */
1057
- referral(...args: OmitFirst<OverloadedParameters<typeof referral>>) {
1052
+ referral(
1053
+ ...args: OmitFirst<OverloadedParameters<typeof referral>>
1054
+ ): ReturnType<typeof referral> {
1058
1055
  return referral(this, ...args);
1059
1056
  }
1060
1057
 
@@ -1077,7 +1074,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1077
1074
  * const data = await client.spotClearinghouseState({ user: "0x..." });
1078
1075
  * ```
1079
1076
  */
1080
- spotClearinghouseState(...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>) {
1077
+ spotClearinghouseState(
1078
+ ...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>
1079
+ ): ReturnType<typeof spotClearinghouseState> {
1081
1080
  return spotClearinghouseState(this, ...args);
1082
1081
  }
1083
1082
 
@@ -1100,7 +1099,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1100
1099
  * const data = await client.spotDeployState({ user: "0x..." });
1101
1100
  * ```
1102
1101
  */
1103
- spotDeployState(...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>) {
1102
+ spotDeployState(
1103
+ ...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>
1104
+ ): ReturnType<typeof spotDeployState> {
1104
1105
  return spotDeployState(this, ...args);
1105
1106
  }
1106
1107
 
@@ -1122,7 +1123,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1122
1123
  * const data = await client.spotMeta();
1123
1124
  * ```
1124
1125
  */
1125
- spotMeta(...args: OmitFirst<OverloadedParameters<typeof spotMeta>>) {
1126
+ spotMeta(
1127
+ ...args: OmitFirst<OverloadedParameters<typeof spotMeta>>
1128
+ ): ReturnType<typeof spotMeta> {
1126
1129
  return spotMeta(this, ...args);
1127
1130
  }
1128
1131
 
@@ -1144,7 +1147,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1144
1147
  * const data = await client.spotMetaAndAssetCtxs();
1145
1148
  * ```
1146
1149
  */
1147
- spotMetaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>) {
1150
+ spotMetaAndAssetCtxs(
1151
+ ...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>
1152
+ ): ReturnType<typeof spotMetaAndAssetCtxs> {
1148
1153
  return spotMetaAndAssetCtxs(this, ...args);
1149
1154
  }
1150
1155
 
@@ -1166,7 +1171,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1166
1171
  * const data = await client.spotPairDeployAuctionStatus();
1167
1172
  * ```
1168
1173
  */
1169
- spotPairDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>) {
1174
+ spotPairDeployAuctionStatus(
1175
+ ...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>
1176
+ ): ReturnType<typeof spotPairDeployAuctionStatus> {
1170
1177
  return spotPairDeployAuctionStatus(this, ...args);
1171
1178
  }
1172
1179
 
@@ -1189,7 +1196,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1189
1196
  * const data = await client.subAccounts({ user: "0x..." });
1190
1197
  * ```
1191
1198
  */
1192
- subAccounts(...args: OmitFirst<OverloadedParameters<typeof subAccounts>>) {
1199
+ subAccounts(
1200
+ ...args: OmitFirst<OverloadedParameters<typeof subAccounts>>
1201
+ ): ReturnType<typeof subAccounts> {
1193
1202
  return subAccounts(this, ...args);
1194
1203
  }
1195
1204
 
@@ -1212,7 +1221,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1212
1221
  * const data = await client.subAccounts2({ user: "0x..." });
1213
1222
  * ```
1214
1223
  */
1215
- subAccounts2(...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>) {
1224
+ subAccounts2(
1225
+ ...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>
1226
+ ): ReturnType<typeof subAccounts2> {
1216
1227
  return subAccounts2(this, ...args);
1217
1228
  }
1218
1229
 
@@ -1235,7 +1246,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1235
1246
  * const data = await client.tokenDetails({ tokenId: "0x..." });
1236
1247
  * ```
1237
1248
  */
1238
- tokenDetails(...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>) {
1249
+ tokenDetails(
1250
+ ...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>
1251
+ ): ReturnType<typeof tokenDetails> {
1239
1252
  return tokenDetails(this, ...args);
1240
1253
  }
1241
1254
 
@@ -1258,7 +1271,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1258
1271
  * const data = await client.twapHistory({ user: "0x..." });
1259
1272
  * ```
1260
1273
  */
1261
- twapHistory(...args: OmitFirst<OverloadedParameters<typeof twapHistory>>) {
1274
+ twapHistory(
1275
+ ...args: OmitFirst<OverloadedParameters<typeof twapHistory>>
1276
+ ): ReturnType<typeof twapHistory> {
1262
1277
  return twapHistory(this, ...args);
1263
1278
  }
1264
1279
 
@@ -1284,7 +1299,7 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1284
1299
  txDetails(
1285
1300
  this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
1286
1301
  ...args: OmitFirst<OverloadedParameters<typeof txDetails>>
1287
- ) {
1302
+ ): ReturnType<typeof txDetails> {
1288
1303
  return txDetails(this, ...args);
1289
1304
  }
1290
1305
 
@@ -1310,7 +1325,7 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1310
1325
  userDetails(
1311
1326
  this: T extends { request(endpoint: "explorer", ...args: unknown[]): unknown } ? InfoRequestConfig<T> : never,
1312
1327
  ...args: OmitFirst<OverloadedParameters<typeof userDetails>>
1313
- ) {
1328
+ ): ReturnType<typeof userDetails> {
1314
1329
  return userDetails(this, ...args);
1315
1330
  }
1316
1331
 
@@ -1333,7 +1348,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1333
1348
  * const data = await client.userDexAbstraction({ user: "0x..." });
1334
1349
  * ```
1335
1350
  */
1336
- userDexAbstraction(...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>) {
1351
+ userDexAbstraction(
1352
+ ...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>
1353
+ ): ReturnType<typeof userDexAbstraction> {
1337
1354
  return userDexAbstraction(this, ...args);
1338
1355
  }
1339
1356
 
@@ -1356,7 +1373,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1356
1373
  * const data = await client.userFees({ user: "0x..." });
1357
1374
  * ```
1358
1375
  */
1359
- userFees(...args: OmitFirst<OverloadedParameters<typeof userFees>>) {
1376
+ userFees(
1377
+ ...args: OmitFirst<OverloadedParameters<typeof userFees>>
1378
+ ): ReturnType<typeof userFees> {
1360
1379
  return userFees(this, ...args);
1361
1380
  }
1362
1381
 
@@ -1379,7 +1398,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1379
1398
  * const data = await client.userFills({ user: "0x..." });
1380
1399
  * ```
1381
1400
  */
1382
- userFills(...args: OmitFirst<OverloadedParameters<typeof userFills>>) {
1401
+ userFills(
1402
+ ...args: OmitFirst<OverloadedParameters<typeof userFills>>
1403
+ ): ReturnType<typeof userFills> {
1383
1404
  return userFills(this, ...args);
1384
1405
  }
1385
1406
 
@@ -1405,7 +1426,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1405
1426
  * });
1406
1427
  * ```
1407
1428
  */
1408
- userFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>) {
1429
+ userFillsByTime(
1430
+ ...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>
1431
+ ): ReturnType<typeof userFillsByTime> {
1409
1432
  return userFillsByTime(this, ...args);
1410
1433
  }
1411
1434
 
@@ -1431,7 +1454,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1431
1454
  * });
1432
1455
  * ```
1433
1456
  */
1434
- userFunding(...args: OmitFirst<OverloadedParameters<typeof userFunding>>) {
1457
+ userFunding(
1458
+ ...args: OmitFirst<OverloadedParameters<typeof userFunding>>
1459
+ ): ReturnType<typeof userFunding> {
1435
1460
  return userFunding(this, ...args);
1436
1461
  }
1437
1462
 
@@ -1457,7 +1482,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1457
1482
  * });
1458
1483
  * ```
1459
1484
  */
1460
- userNonFundingLedgerUpdates(...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>) {
1485
+ userNonFundingLedgerUpdates(
1486
+ ...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>
1487
+ ): ReturnType<typeof userNonFundingLedgerUpdates> {
1461
1488
  return userNonFundingLedgerUpdates(this, ...args);
1462
1489
  }
1463
1490
 
@@ -1480,7 +1507,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1480
1507
  * const data = await client.userRateLimit({ user: "0x..." });
1481
1508
  * ```
1482
1509
  */
1483
- userRateLimit(...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>) {
1510
+ userRateLimit(
1511
+ ...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>
1512
+ ): ReturnType<typeof userRateLimit> {
1484
1513
  return userRateLimit(this, ...args);
1485
1514
  }
1486
1515
 
@@ -1503,7 +1532,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1503
1532
  * const data = await client.userRole({ user: "0x..." });
1504
1533
  * ```
1505
1534
  */
1506
- userRole(...args: OmitFirst<OverloadedParameters<typeof userRole>>) {
1535
+ userRole(
1536
+ ...args: OmitFirst<OverloadedParameters<typeof userRole>>
1537
+ ): ReturnType<typeof userRole> {
1507
1538
  return userRole(this, ...args);
1508
1539
  }
1509
1540
 
@@ -1526,7 +1557,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1526
1557
  * const data = await client.userToMultiSigSigners({ user: "0x..." });
1527
1558
  * ```
1528
1559
  */
1529
- userToMultiSigSigners(...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>) {
1560
+ userToMultiSigSigners(
1561
+ ...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>
1562
+ ): ReturnType<typeof userToMultiSigSigners> {
1530
1563
  return userToMultiSigSigners(this, ...args);
1531
1564
  }
1532
1565
 
@@ -1549,7 +1582,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1549
1582
  * const data = await client.userTwapSliceFills({ user: "0x..." });
1550
1583
  * ```
1551
1584
  */
1552
- userTwapSliceFills(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>) {
1585
+ userTwapSliceFills(
1586
+ ...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>
1587
+ ): ReturnType<typeof userTwapSliceFills> {
1553
1588
  return userTwapSliceFills(this, ...args);
1554
1589
  }
1555
1590
 
@@ -1575,7 +1610,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1575
1610
  * });
1576
1611
  * ```
1577
1612
  */
1578
- userTwapSliceFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>) {
1613
+ userTwapSliceFillsByTime(
1614
+ ...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>
1615
+ ): ReturnType<typeof userTwapSliceFillsByTime> {
1579
1616
  return userTwapSliceFillsByTime(this, ...args);
1580
1617
  }
1581
1618
 
@@ -1598,7 +1635,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1598
1635
  * const data = await client.userVaultEquities({ user: "0x..." });
1599
1636
  * ```
1600
1637
  */
1601
- userVaultEquities(...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>) {
1638
+ userVaultEquities(
1639
+ ...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>
1640
+ ): ReturnType<typeof userVaultEquities> {
1602
1641
  return userVaultEquities(this, ...args);
1603
1642
  }
1604
1643
 
@@ -1620,7 +1659,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1620
1659
  * const data = await client.validatorL1Votes();
1621
1660
  * ```
1622
1661
  */
1623
- validatorL1Votes(...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>) {
1662
+ validatorL1Votes(
1663
+ ...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>
1664
+ ): ReturnType<typeof validatorL1Votes> {
1624
1665
  return validatorL1Votes(this, ...args);
1625
1666
  }
1626
1667
 
@@ -1642,7 +1683,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1642
1683
  * const data = await client.validatorSummaries();
1643
1684
  * ```
1644
1685
  */
1645
- validatorSummaries(...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>) {
1686
+ validatorSummaries(
1687
+ ...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>
1688
+ ): ReturnType<typeof validatorSummaries> {
1646
1689
  return validatorSummaries(this, ...args);
1647
1690
  }
1648
1691
 
@@ -1665,7 +1708,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1665
1708
  * const data = await client.vaultDetails({ vaultAddress: "0x..." });
1666
1709
  * ```
1667
1710
  */
1668
- vaultDetails(...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>) {
1711
+ vaultDetails(
1712
+ ...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>
1713
+ ): ReturnType<typeof vaultDetails> {
1669
1714
  return vaultDetails(this, ...args);
1670
1715
  }
1671
1716
 
@@ -1687,7 +1732,9 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1687
1732
  * const data = await client.vaultSummaries();
1688
1733
  * ```
1689
1734
  */
1690
- vaultSummaries(...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>) {
1735
+ vaultSummaries(
1736
+ ...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>
1737
+ ): ReturnType<typeof vaultSummaries> {
1691
1738
  return vaultSummaries(this, ...args);
1692
1739
  }
1693
1740
 
@@ -1710,7 +1757,82 @@ export class InfoClient<T extends IRequestTransport = IRequestTransport> impleme
1710
1757
  * const data = await client.webData2({ user: "0x..." });
1711
1758
  * ```
1712
1759
  */
1713
- webData2(...args: OmitFirst<OverloadedParameters<typeof webData2>>) {
1760
+ webData2(
1761
+ ...args: OmitFirst<OverloadedParameters<typeof webData2>>
1762
+ ): ReturnType<typeof webData2> {
1714
1763
  return webData2(this, ...args);
1715
1764
  }
1716
1765
  }
1766
+
1767
+ export type * from "./activeAssetData.ts";
1768
+ export type * from "./alignedQuoteTokenInfo.ts";
1769
+ export type * from "./allMids.ts";
1770
+ export type * from "./allPerpMetas.ts";
1771
+ export type * from "./blockDetails.ts";
1772
+ export type * from "./candleSnapshot.ts";
1773
+ export type * from "./clearinghouseState.ts";
1774
+ export type * from "./delegations.ts";
1775
+ export type * from "./delegatorHistory.ts";
1776
+ export type * from "./delegatorRewards.ts";
1777
+ export type * from "./delegatorSummary.ts";
1778
+ export type * from "./exchangeStatus.ts";
1779
+ export type * from "./extraAgents.ts";
1780
+ export type * from "./frontendOpenOrders.ts";
1781
+ export type * from "./fundingHistory.ts";
1782
+ export type * from "./gossipRootIps.ts";
1783
+ export type * from "./historicalOrders.ts";
1784
+ export type * from "./isVip.ts";
1785
+ export type * from "./l2Book.ts";
1786
+ export type * from "./leadingVaults.ts";
1787
+ export type * from "./legalCheck.ts";
1788
+ export type * from "./liquidatable.ts";
1789
+ export type * from "./marginTable.ts";
1790
+ export type * from "./maxBuilderFee.ts";
1791
+ export type * from "./maxMarketOrderNtls.ts";
1792
+ export type * from "./meta.ts";
1793
+ export type * from "./metaAndAssetCtxs.ts";
1794
+ export type * from "./openOrders.ts";
1795
+ export type * from "./orderStatus.ts";
1796
+ export type * from "./perpDeployAuctionStatus.ts";
1797
+ export type * from "./perpDexLimits.ts";
1798
+ export type * from "./perpDexs.ts";
1799
+ export type * from "./perpsAtOpenInterestCap.ts";
1800
+ export type * from "./portfolio.ts";
1801
+ export type * from "./predictedFundings.ts";
1802
+ export type * from "./preTransferCheck.ts";
1803
+ export type * from "./recentTrades.ts";
1804
+ export type * from "./referral.ts";
1805
+ export type * from "./spotClearinghouseState.ts";
1806
+ export type * from "./spotDeployState.ts";
1807
+ export type * from "./spotMeta.ts";
1808
+ export type * from "./spotMetaAndAssetCtxs.ts";
1809
+ export type * from "./spotPairDeployAuctionStatus.ts";
1810
+ export type * from "./subAccounts.ts";
1811
+ export type * from "./subAccounts2.ts";
1812
+ export type * from "./tokenDetails.ts";
1813
+ export type * from "./twapHistory.ts";
1814
+ export type * from "./txDetails.ts";
1815
+ export type * from "./userDetails.ts";
1816
+ export type {
1817
+ UserDexAbstractionParameters as UserDexAbstractionInfoParameters,
1818
+ UserDexAbstractionRequest as UserDexAbstractionInfoRequest,
1819
+ UserDexAbstractionResponse as UserDexAbstractionInfoResponse,
1820
+ } from "./userDexAbstraction.ts";
1821
+ export type * from "./userFees.ts";
1822
+ export type * from "./userFills.ts";
1823
+ export type * from "./userFillsByTime.ts";
1824
+ export type * from "./userFunding.ts";
1825
+ export type * from "./userNonFundingLedgerUpdates.ts";
1826
+ export type * from "./userRateLimit.ts";
1827
+ export type * from "./userRole.ts";
1828
+ export type * from "./userToMultiSigSigners.ts";
1829
+ export type * from "./userTwapSliceFills.ts";
1830
+ export type * from "./userTwapSliceFillsByTime.ts";
1831
+ export type * from "./userVaultEquities.ts";
1832
+ export type * from "./validatorL1Votes.ts";
1833
+ export type * from "./validatorSummaries.ts";
1834
+ export type * from "./vaultDetails.ts";
1835
+ export type * from "./vaultSummaries.ts";
1836
+ export type * from "./webData2.ts";
1837
+
1838
+ export type { InfoRequestConfig } from "./_types.ts";