@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
@@ -4,6 +4,7 @@ import type { InfoRequestConfig } from "./_types.ts";
4
4
  import { activeAssetData } from "./activeAssetData.ts";
5
5
  import { alignedQuoteTokenInfo } from "./alignedQuoteTokenInfo.ts";
6
6
  import { allMids } from "./allMids.ts";
7
+ import { allPerpMetas } from "./allPerpMetas.ts";
7
8
  import { blockDetails } from "./blockDetails.ts";
8
9
  import { candleSnapshot } from "./candleSnapshot.ts";
9
10
  import { clearinghouseState } from "./clearinghouseState.ts";
@@ -66,73 +67,6 @@ import { validatorSummaries } from "./validatorSummaries.ts";
66
67
  import { vaultDetails } from "./vaultDetails.ts";
67
68
  import { vaultSummaries } from "./vaultSummaries.ts";
68
69
  import { webData2 } from "./webData2.ts";
69
- export type { ActiveAssetDataParameters, ActiveAssetDataResponse } from "./activeAssetData.ts";
70
- export type { AlignedQuoteTokenInfoParameters, AlignedQuoteTokenInfoResponse } from "./alignedQuoteTokenInfo.ts";
71
- export type { AllMidsParameters, AllMidsResponse } from "./allMids.ts";
72
- export type { AllPerpMetasParameters, AllPerpMetasResponse } from "./allPerpMetas.ts";
73
- export type { BlockDetailsParameters, BlockDetailsResponse } from "./blockDetails.ts";
74
- export type { CandleSnapshotParameters, CandleSnapshotResponse } from "./candleSnapshot.ts";
75
- export type { ClearinghouseStateParameters, ClearinghouseStateResponse } from "./clearinghouseState.ts";
76
- export type { DelegationsParameters, DelegationsResponse } from "./delegations.ts";
77
- export type { DelegatorHistoryParameters, DelegatorHistoryResponse } from "./delegatorHistory.ts";
78
- export type { DelegatorRewardsParameters, DelegatorRewardsResponse } from "./delegatorRewards.ts";
79
- export type { DelegatorSummaryParameters, DelegatorSummaryResponse } from "./delegatorSummary.ts";
80
- export type { ExchangeStatusResponse } from "./exchangeStatus.ts";
81
- export type { ExtraAgentsParameters, ExtraAgentsResponse } from "./extraAgents.ts";
82
- export type { FrontendOpenOrdersParameters, FrontendOpenOrdersResponse } from "./frontendOpenOrders.ts";
83
- export type { FundingHistoryParameters, FundingHistoryResponse } from "./fundingHistory.ts";
84
- export type { GossipRootIpsResponse } from "./gossipRootIps.ts";
85
- export type { HistoricalOrdersParameters, HistoricalOrdersResponse } from "./historicalOrders.ts";
86
- export type { IsVipParameters, IsVipResponse } from "./isVip.ts";
87
- export type { L2BookParameters, L2BookResponse } from "./l2Book.ts";
88
- export type { LeadingVaultsParameters, LeadingVaultsResponse } from "./leadingVaults.ts";
89
- export type { LegalCheckParameters, LegalCheckResponse } from "./legalCheck.ts";
90
- export type { LiquidatableResponse } from "./liquidatable.ts";
91
- export type { MarginTableParameters, MarginTableResponse } from "./marginTable.ts";
92
- export type { MaxBuilderFeeParameters, MaxBuilderFeeResponse } from "./maxBuilderFee.ts";
93
- export type { MaxMarketOrderNtlsParameters, MaxMarketOrderNtlsResponse } from "./maxMarketOrderNtls.ts";
94
- export type { MetaParameters, MetaResponse } from "./meta.ts";
95
- export type { MetaAndAssetCtxsParameters, MetaAndAssetCtxsResponse } from "./metaAndAssetCtxs.ts";
96
- export type { OpenOrdersParameters, OpenOrdersResponse } from "./openOrders.ts";
97
- export type { OrderStatusParameters, OrderStatusResponse } from "./orderStatus.ts";
98
- export type { PerpDeployAuctionStatusResponse } from "./perpDeployAuctionStatus.ts";
99
- export type { PerpDexLimitsParameters, PerpDexLimitsResponse } from "./perpDexLimits.ts";
100
- export type { PerpDexsResponse } from "./perpDexs.ts";
101
- export type { PerpsAtOpenInterestCapParameters, PerpsAtOpenInterestCapResponse } from "./perpsAtOpenInterestCap.ts";
102
- export type { PortfolioParameters, PortfolioResponse } from "./portfolio.ts";
103
- export type { PredictedFundingsResponse } from "./predictedFundings.ts";
104
- export type { PreTransferCheckParameters, PreTransferCheckResponse } from "./preTransferCheck.ts";
105
- export type { RecentTradesParameters, RecentTradesResponse } from "./recentTrades.ts";
106
- export type { ReferralParameters, ReferralResponse } from "./referral.ts";
107
- export type { SpotClearinghouseStateParameters, SpotClearinghouseStateResponse } from "./spotClearinghouseState.ts";
108
- export type { SpotDeployStateParameters, SpotDeployStateResponse } from "./spotDeployState.ts";
109
- export type { SpotMetaResponse } from "./spotMeta.ts";
110
- export type { SpotMetaAndAssetCtxsResponse } from "./spotMetaAndAssetCtxs.ts";
111
- export type { SpotPairDeployAuctionStatusResponse } from "./spotPairDeployAuctionStatus.ts";
112
- export type { SubAccountsParameters, SubAccountsResponse } from "./subAccounts.ts";
113
- export type { SubAccounts2Parameters, SubAccounts2Response } from "./subAccounts2.ts";
114
- export type { TokenDetailsParameters, TokenDetailsResponse } from "./tokenDetails.ts";
115
- export type { TwapHistoryParameters, TwapHistoryResponse } from "./twapHistory.ts";
116
- export type { TxDetailsParameters, TxDetailsResponse } from "./txDetails.ts";
117
- export type { UserDetailsParameters, UserDetailsResponse } from "./userDetails.ts";
118
- export type { UserDexAbstractionInfoParameters, UserDexAbstractionInfoResponse } from "./userDexAbstraction.ts";
119
- export type { UserFeesParameters, UserFeesResponse } from "./userFees.ts";
120
- export type { UserFillsParameters, UserFillsResponse } from "./userFills.ts";
121
- export type { UserFillsByTimeParameters, UserFillsByTimeResponse } from "./userFillsByTime.ts";
122
- export type { UserFundingParameters, UserFundingResponse } from "./userFunding.ts";
123
- export type { UserNonFundingLedgerUpdatesParameters, UserNonFundingLedgerUpdatesResponse, } from "./userNonFundingLedgerUpdates.ts";
124
- export type { UserRateLimitParameters, UserRateLimitResponse } from "./userRateLimit.ts";
125
- export type { UserRoleParameters, UserRoleResponse } from "./userRole.ts";
126
- export type { UserToMultiSigSignersParameters, UserToMultiSigSignersResponse } from "./userToMultiSigSigners.ts";
127
- export type { UserTwapSliceFillsParameters, UserTwapSliceFillsResponse } from "./userTwapSliceFills.ts";
128
- export type { UserTwapSliceFillsByTimeParameters, UserTwapSliceFillsByTimeResponse, } from "./userTwapSliceFillsByTime.ts";
129
- export type { UserVaultEquitiesParameters, UserVaultEquitiesResponse } from "./userVaultEquities.ts";
130
- export type { ValidatorL1VotesResponse } from "./validatorL1Votes.ts";
131
- export type { ValidatorSummariesResponse } from "./validatorSummaries.ts";
132
- export type { VaultDetailsParameters, VaultDetailsResponse } from "./vaultDetails.ts";
133
- export type { VaultSummariesResponse } from "./vaultSummaries.ts";
134
- export type { WebData2Parameters, WebData2Response } from "./webData2.ts";
135
- export type { InfoRequestConfig } from "./_types.ts";
136
70
  /**
137
71
  * A client for interacting with the Hyperliquid Info API.
138
72
  * @typeParam T - The transport (extends {@linkcode IRequestTransport}) used to connect to the Hyperliquid API.
@@ -171,21 +105,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
171
105
  * const data = await client.activeAssetData({ user: "0x...", coin: "ETH" });
172
106
  * ```
173
107
  */
174
- activeAssetData(...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>): Promise<{
175
- user: `0x${string}`;
176
- coin: string;
177
- leverage: {
178
- type: "isolated";
179
- value: number;
180
- rawUsd: string;
181
- } | {
182
- type: "cross";
183
- value: number;
184
- };
185
- maxTradeSzs: [string, string];
186
- availableToTrade: [string, string];
187
- markPx: string;
188
- }>;
108
+ activeAssetData(...args: OmitFirst<OverloadedParameters<typeof activeAssetData>>): ReturnType<typeof activeAssetData>;
189
109
  /**
190
110
  * Request supply, rate, and pending payment information for an aligned quote token.
191
111
  * @param params - Parameters specific to the API request.
@@ -205,13 +125,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
205
125
  * const data = await client.alignedQuoteTokenInfo({ token: 1328 });
206
126
  * ```
207
127
  */
208
- alignedQuoteTokenInfo(...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>): Promise<{
209
- isAligned: boolean;
210
- firstAlignedTime: number;
211
- evmMintedSupply: string;
212
- dailyAmountOwed: [string, string][];
213
- predictedRate: string;
214
- }>;
128
+ alignedQuoteTokenInfo(...args: OmitFirst<OverloadedParameters<typeof alignedQuoteTokenInfo>>): ReturnType<typeof alignedQuoteTokenInfo>;
215
129
  /**
216
130
  * Request mid coin prices.
217
131
  * @param params - Parameters specific to the API request.
@@ -231,9 +145,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
231
145
  * const data = await client.allMids();
232
146
  * ```
233
147
  */
234
- allMids(...args: OmitFirst<OverloadedParameters<typeof allMids>>): Promise<{
235
- [x: string]: string;
236
- }>;
148
+ allMids(...args: OmitFirst<OverloadedParameters<typeof allMids>>): ReturnType<typeof allMids>;
237
149
  /**
238
150
  * Request trading metadata for all DEXes.
239
151
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -252,25 +164,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
252
164
  * const data = await client.allPerpMetas();
253
165
  * ```
254
166
  */
255
- allPerpMetas(): Promise<{
256
- universe: {
257
- szDecimals: number;
258
- name: string;
259
- maxLeverage: number;
260
- marginTableId: number;
261
- onlyIsolated?: true | undefined;
262
- isDelisted?: true | undefined;
263
- marginMode?: "strictIsolated" | "noCross" | undefined;
264
- }[];
265
- marginTables: [number, {
266
- description: string;
267
- marginTiers: {
268
- lowerBound: string;
269
- maxLeverage: number;
270
- }[];
271
- }][];
272
- collateralToken: number;
273
- }[]>;
167
+ allPerpMetas(): ReturnType<typeof allPerpMetas>;
274
168
  /**
275
169
  * Request block details by block height.
276
170
  * @param params - Parameters specific to the API request.
@@ -292,28 +186,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
292
186
  */
293
187
  blockDetails(this: T extends {
294
188
  request(endpoint: "explorer", ...args: unknown[]): unknown;
295
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof blockDetails>>): Promise<{
296
- type: "blockDetails";
297
- blockDetails: {
298
- blockTime: number;
299
- hash: `0x${string}`;
300
- height: number;
301
- numTxs: number;
302
- proposer: `0x${string}`;
303
- txs: {
304
- action: {
305
- type: string;
306
- } & {
307
- [key: string]: unknown;
308
- };
309
- block: number;
310
- error: string | null;
311
- hash: `0x${string}`;
312
- time: number;
313
- user: `0x${string}`;
314
- }[];
315
- };
316
- }>;
189
+ } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof blockDetails>>): ReturnType<typeof blockDetails>;
317
190
  /**
318
191
  * Request candlestick snapshots.
319
192
  * @param params - Parameters specific to the API request.
@@ -337,18 +210,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
337
210
  * });
338
211
  * ```
339
212
  */
340
- candleSnapshot(...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>): Promise<{
341
- t: number;
342
- T: number;
343
- s: string;
344
- i: "1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1M";
345
- o: string;
346
- c: string;
347
- h: string;
348
- l: string;
349
- v: string;
350
- n: number;
351
- }[]>;
213
+ candleSnapshot(...args: OmitFirst<OverloadedParameters<typeof candleSnapshot>>): ReturnType<typeof candleSnapshot>;
352
214
  /**
353
215
  * Request clearinghouse state.
354
216
  * @param params - Parameters specific to the API request.
@@ -368,50 +230,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
368
230
  * const data = await client.clearinghouseState({ user: "0x..." });
369
231
  * ```
370
232
  */
371
- clearinghouseState(...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>): Promise<{
372
- marginSummary: {
373
- accountValue: string;
374
- totalNtlPos: string;
375
- totalRawUsd: string;
376
- totalMarginUsed: string;
377
- };
378
- crossMarginSummary: {
379
- accountValue: string;
380
- totalNtlPos: string;
381
- totalRawUsd: string;
382
- totalMarginUsed: string;
383
- };
384
- crossMaintenanceMarginUsed: string;
385
- withdrawable: string;
386
- assetPositions: {
387
- type: "oneWay";
388
- position: {
389
- coin: string;
390
- szi: string;
391
- leverage: {
392
- type: "isolated";
393
- value: number;
394
- rawUsd: string;
395
- } | {
396
- type: "cross";
397
- value: number;
398
- };
399
- entryPx: string;
400
- positionValue: string;
401
- unrealizedPnl: string;
402
- returnOnEquity: string;
403
- liquidationPx: string | null;
404
- marginUsed: string;
405
- maxLeverage: number;
406
- cumFunding: {
407
- allTime: string;
408
- sinceOpen: string;
409
- sinceChange: string;
410
- };
411
- };
412
- }[];
413
- time: number;
414
- }>;
233
+ clearinghouseState(...args: OmitFirst<OverloadedParameters<typeof clearinghouseState>>): ReturnType<typeof clearinghouseState>;
415
234
  /**
416
235
  * Request user staking delegations.
417
236
  * @param params - Parameters specific to the API request.
@@ -431,11 +250,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
431
250
  * const data = await client.delegations({ user: "0x..." });
432
251
  * ```
433
252
  */
434
- delegations(...args: OmitFirst<OverloadedParameters<typeof delegations>>): Promise<{
435
- validator: `0x${string}`;
436
- amount: string;
437
- lockedUntilTimestamp: number;
438
- }[]>;
253
+ delegations(...args: OmitFirst<OverloadedParameters<typeof delegations>>): ReturnType<typeof delegations>;
439
254
  /**
440
255
  * Request user staking history.
441
256
  * @param params - Parameters specific to the API request.
@@ -455,26 +270,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
455
270
  * const data = await client.delegatorHistory({ user: "0x..." });
456
271
  * ```
457
272
  */
458
- delegatorHistory(...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>): Promise<{
459
- time: number;
460
- hash: `0x${string}`;
461
- delta: {
462
- delegate: {
463
- validator: `0x${string}`;
464
- amount: string;
465
- isUndelegate: boolean;
466
- };
467
- } | {
468
- cDeposit: {
469
- amount: string;
470
- };
471
- } | {
472
- withdrawal: {
473
- amount: string;
474
- phase: "initiated" | "finalized";
475
- };
476
- };
477
- }[]>;
273
+ delegatorHistory(...args: OmitFirst<OverloadedParameters<typeof delegatorHistory>>): ReturnType<typeof delegatorHistory>;
478
274
  /**
479
275
  * Request user staking rewards.
480
276
  * @param params - Parameters specific to the API request.
@@ -494,11 +290,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
494
290
  * const data = await client.delegatorRewards({ user: "0x..." });
495
291
  * ```
496
292
  */
497
- delegatorRewards(...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>): Promise<{
498
- time: number;
499
- source: "delegation" | "commission";
500
- totalAmount: string;
501
- }[]>;
293
+ delegatorRewards(...args: OmitFirst<OverloadedParameters<typeof delegatorRewards>>): ReturnType<typeof delegatorRewards>;
502
294
  /**
503
295
  * Request user's staking summary.
504
296
  * @param params - Parameters specific to the API request.
@@ -518,12 +310,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
518
310
  * const data = await client.delegatorSummary({ user: "0x..." });
519
311
  * ```
520
312
  */
521
- delegatorSummary(...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>): Promise<{
522
- delegated: string;
523
- undelegated: string;
524
- totalPendingWithdrawal: string;
525
- nPendingWithdrawals: number;
526
- }>;
313
+ delegatorSummary(...args: OmitFirst<OverloadedParameters<typeof delegatorSummary>>): ReturnType<typeof delegatorSummary>;
527
314
  /**
528
315
  * Request exchange system status information.
529
316
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -542,10 +329,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
542
329
  * const data = await client.exchangeStatus();
543
330
  * ```
544
331
  */
545
- exchangeStatus(...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>): Promise<{
546
- time: number;
547
- specialStatuses: unknown;
548
- }>;
332
+ exchangeStatus(...args: OmitFirst<OverloadedParameters<typeof exchangeStatus>>): ReturnType<typeof exchangeStatus>;
549
333
  /**
550
334
  * Request user extra agents.
551
335
  * @param params - Parameters specific to the API request.
@@ -565,11 +349,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
565
349
  * const data = await client.extraAgents({ user: "0x..." });
566
350
  * ```
567
351
  */
568
- extraAgents(...args: OmitFirst<OverloadedParameters<typeof extraAgents>>): Promise<{
569
- address: `0x${string}`;
570
- name: string;
571
- validUntil: number;
572
- }[]>;
352
+ extraAgents(...args: OmitFirst<OverloadedParameters<typeof extraAgents>>): ReturnType<typeof extraAgents>;
573
353
  /**
574
354
  * Request frontend open orders.
575
355
  * @param params - Parameters specific to the API request.
@@ -589,24 +369,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
589
369
  * const data = await client.frontendOpenOrders({ user: "0x..." });
590
370
  * ```
591
371
  */
592
- frontendOpenOrders(...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>): Promise<{
593
- coin: string;
594
- side: "B" | "A";
595
- limitPx: string;
596
- sz: string;
597
- oid: number;
598
- timestamp: number;
599
- origSz: string;
600
- triggerCondition: string;
601
- isTrigger: boolean;
602
- triggerPx: string;
603
- children: any[];
604
- isPositionTpsl: boolean;
605
- reduceOnly: boolean;
606
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
607
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
608
- cloid: `0x${string}` | null;
609
- }[]>;
372
+ frontendOpenOrders(...args: OmitFirst<OverloadedParameters<typeof frontendOpenOrders>>): ReturnType<typeof frontendOpenOrders>;
610
373
  /**
611
374
  * Request funding history.
612
375
  * @param params - Parameters specific to the API request.
@@ -629,12 +392,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
629
392
  * });
630
393
  * ```
631
394
  */
632
- fundingHistory(...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>): Promise<{
633
- coin: string;
634
- fundingRate: string;
635
- premium: string;
636
- time: number;
637
- }[]>;
395
+ fundingHistory(...args: OmitFirst<OverloadedParameters<typeof fundingHistory>>): ReturnType<typeof fundingHistory>;
638
396
  /**
639
397
  * Request gossip root IPs.
640
398
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -653,7 +411,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
653
411
  * const data = await client.gossipRootIps();
654
412
  * ```
655
413
  */
656
- gossipRootIps(...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>): Promise<string[]>;
414
+ gossipRootIps(...args: OmitFirst<OverloadedParameters<typeof gossipRootIps>>): ReturnType<typeof gossipRootIps>;
657
415
  /**
658
416
  * Request user historical orders.
659
417
  * @param params - Parameters specific to the API request.
@@ -673,28 +431,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
673
431
  * const data = await client.historicalOrders({ user: "0x..." });
674
432
  * ```
675
433
  */
676
- historicalOrders(...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>): Promise<{
677
- order: {
678
- coin: string;
679
- side: "B" | "A";
680
- limitPx: string;
681
- sz: string;
682
- oid: number;
683
- timestamp: number;
684
- origSz: string;
685
- triggerCondition: string;
686
- isTrigger: boolean;
687
- triggerPx: string;
688
- children: any[];
689
- isPositionTpsl: boolean;
690
- reduceOnly: boolean;
691
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
692
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
693
- cloid: `0x${string}` | null;
694
- };
695
- status: "open" | "canceled" | "rejected" | "filled" | "triggered" | "marginCanceled" | "vaultWithdrawalCanceled" | "openInterestCapCanceled" | "selfTradeCanceled" | "reduceOnlyCanceled" | "siblingFilledCanceled" | "delistedCanceled" | "liquidatedCanceled" | "scheduledCancel" | "tickRejected" | "minTradeNtlRejected" | "perpMarginRejected" | "reduceOnlyRejected" | "badAloPxRejected" | "iocCancelRejected" | "badTriggerPxRejected" | "marketOrderNoLiquidityRejected" | "positionIncreaseAtOpenInterestCapRejected" | "positionFlipAtOpenInterestCapRejected" | "tooAggressiveAtOpenInterestCapRejected" | "openInterestIncreaseRejected" | "insufficientSpotBalanceRejected" | "oracleRejected" | "perpMaxPositionRejected";
696
- statusTimestamp: number;
697
- }[]>;
434
+ historicalOrders(...args: OmitFirst<OverloadedParameters<typeof historicalOrders>>): ReturnType<typeof historicalOrders>;
698
435
  /**
699
436
  * Request to check if a user is a VIP.
700
437
  * @param params - Parameters specific to the API request.
@@ -714,7 +451,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
714
451
  * const data = await client.isVip({ user: "0x..." });
715
452
  * ```
716
453
  */
717
- isVip(...args: OmitFirst<OverloadedParameters<typeof isVip>>): Promise<boolean | null>;
454
+ isVip(...args: OmitFirst<OverloadedParameters<typeof isVip>>): ReturnType<typeof isVip>;
718
455
  /**
719
456
  * Request L2 order book.
720
457
  * @param params - Parameters specific to the API request.
@@ -734,19 +471,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
734
471
  * const data = await client.l2Book({ coin: "ETH", nSigFigs: 2 });
735
472
  * ```
736
473
  */
737
- l2Book(...args: OmitFirst<OverloadedParameters<typeof l2Book>>): Promise<{
738
- coin: string;
739
- time: number;
740
- levels: [{
741
- px: string;
742
- sz: string;
743
- n: number;
744
- }[], {
745
- px: string;
746
- sz: string;
747
- n: number;
748
- }[]];
749
- } | null>;
474
+ l2Book(...args: OmitFirst<OverloadedParameters<typeof l2Book>>): ReturnType<typeof l2Book>;
750
475
  /**
751
476
  * Request leading vaults for a user.
752
477
  * @param params - Parameters specific to the API request.
@@ -766,10 +491,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
766
491
  * const data = await client.leadingVaults({ user: "0x..." });
767
492
  * ```
768
493
  */
769
- leadingVaults(...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>): Promise<{
770
- address: `0x${string}`;
771
- name: string;
772
- }[]>;
494
+ leadingVaults(...args: OmitFirst<OverloadedParameters<typeof leadingVaults>>): ReturnType<typeof leadingVaults>;
773
495
  /**
774
496
  * Request legal verification status of a user.
775
497
  * @param params - Parameters specific to the API request.
@@ -789,11 +511,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
789
511
  * const data = await client.legalCheck({ user: "0x..." });
790
512
  * ```
791
513
  */
792
- legalCheck(...args: OmitFirst<OverloadedParameters<typeof legalCheck>>): Promise<{
793
- ipAllowed: boolean;
794
- acceptedTerms: boolean;
795
- userAllowed: boolean;
796
- }>;
514
+ legalCheck(...args: OmitFirst<OverloadedParameters<typeof legalCheck>>): ReturnType<typeof legalCheck>;
797
515
  /**
798
516
  * Request liquidatable.
799
517
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -812,7 +530,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
812
530
  * const data = await client.liquidatable();
813
531
  * ```
814
532
  */
815
- liquidatable(...args: OmitFirst<OverloadedParameters<typeof liquidatable>>): Promise<unknown[]>;
533
+ liquidatable(...args: OmitFirst<OverloadedParameters<typeof liquidatable>>): ReturnType<typeof liquidatable>;
816
534
  /**
817
535
  * Request margin table data.
818
536
  * @param params - Parameters specific to the API request.
@@ -832,13 +550,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
832
550
  * const data = await client.marginTable({ id: 1 });
833
551
  * ```
834
552
  */
835
- marginTable(...args: OmitFirst<OverloadedParameters<typeof marginTable>>): Promise<{
836
- description: string;
837
- marginTiers: {
838
- lowerBound: string;
839
- maxLeverage: number;
840
- }[];
841
- }>;
553
+ marginTable(...args: OmitFirst<OverloadedParameters<typeof marginTable>>): ReturnType<typeof marginTable>;
842
554
  /**
843
555
  * Request builder fee approval.
844
556
  * @param params - Parameters specific to the API request.
@@ -858,7 +570,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
858
570
  * const data = await client.maxBuilderFee({ user: "0x...", builder: "0x..." });
859
571
  * ```
860
572
  */
861
- maxBuilderFee(...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>): Promise<number>;
573
+ maxBuilderFee(...args: OmitFirst<OverloadedParameters<typeof maxBuilderFee>>): ReturnType<typeof maxBuilderFee>;
862
574
  /**
863
575
  * Request maximum market order notionals.
864
576
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -877,7 +589,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
877
589
  * const data = await client.maxMarketOrderNtls();
878
590
  * ```
879
591
  */
880
- maxMarketOrderNtls(...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>): Promise<[string, string][]>;
592
+ maxMarketOrderNtls(...args: OmitFirst<OverloadedParameters<typeof maxMarketOrderNtls>>): ReturnType<typeof maxMarketOrderNtls>;
881
593
  /**
882
594
  * Request trading metadata.
883
595
  * @param params - Parameters specific to the API request.
@@ -897,25 +609,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
897
609
  * const data = await client.meta();
898
610
  * ```
899
611
  */
900
- meta(...args: OmitFirst<OverloadedParameters<typeof meta>>): Promise<{
901
- universe: {
902
- szDecimals: number;
903
- name: string;
904
- maxLeverage: number;
905
- marginTableId: number;
906
- onlyIsolated?: true | undefined;
907
- isDelisted?: true | undefined;
908
- marginMode?: "strictIsolated" | "noCross" | undefined;
909
- }[];
910
- marginTables: [number, {
911
- description: string;
912
- marginTiers: {
913
- lowerBound: string;
914
- maxLeverage: number;
915
- }[];
916
- }][];
917
- collateralToken: number;
918
- }>;
612
+ meta(...args: OmitFirst<OverloadedParameters<typeof meta>>): ReturnType<typeof meta>;
919
613
  /**
920
614
  * Request metadata and asset contexts.
921
615
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -934,36 +628,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
934
628
  * const data = await client.metaAndAssetCtxs();
935
629
  * ```
936
630
  */
937
- metaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>): Promise<[{
938
- universe: {
939
- szDecimals: number;
940
- name: string;
941
- maxLeverage: number;
942
- marginTableId: number;
943
- onlyIsolated?: true | undefined;
944
- isDelisted?: true | undefined;
945
- marginMode?: "strictIsolated" | "noCross" | undefined;
946
- }[];
947
- marginTables: [number, {
948
- description: string;
949
- marginTiers: {
950
- lowerBound: string;
951
- maxLeverage: number;
952
- }[];
953
- }][];
954
- collateralToken: number;
955
- }, {
956
- prevDayPx: string;
957
- dayNtlVlm: string;
958
- markPx: string;
959
- midPx: string | null;
960
- funding: string;
961
- openInterest: string;
962
- premium: string | null;
963
- oraclePx: string;
964
- impactPxs: string[] | null;
965
- dayBaseVlm: string;
966
- }[]]>;
631
+ metaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof metaAndAssetCtxs>>): ReturnType<typeof metaAndAssetCtxs>;
967
632
  /**
968
633
  * Request open orders.
969
634
  * @param params - Parameters specific to the API request.
@@ -983,17 +648,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
983
648
  * const data = await client.openOrders({ user: "0x..." });
984
649
  * ```
985
650
  */
986
- openOrders(...args: OmitFirst<OverloadedParameters<typeof openOrders>>): Promise<{
987
- coin: string;
988
- side: "B" | "A";
989
- limitPx: string;
990
- sz: string;
991
- oid: number;
992
- timestamp: number;
993
- origSz: string;
994
- cloid?: `0x${string}` | undefined;
995
- reduceOnly?: true | undefined;
996
- }[]>;
651
+ openOrders(...args: OmitFirst<OverloadedParameters<typeof openOrders>>): ReturnType<typeof openOrders>;
997
652
  /**
998
653
  * Request order status.
999
654
  * @param params - Parameters specific to the API request.
@@ -1013,33 +668,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1013
668
  * const data = await client.orderStatus({ user: "0x...", oid: 12345 });
1014
669
  * ```
1015
670
  */
1016
- orderStatus(...args: OmitFirst<OverloadedParameters<typeof orderStatus>>): Promise<{
1017
- status: "order";
1018
- order: {
1019
- order: {
1020
- coin: string;
1021
- side: "B" | "A";
1022
- limitPx: string;
1023
- sz: string;
1024
- oid: number;
1025
- timestamp: number;
1026
- origSz: string;
1027
- triggerCondition: string;
1028
- isTrigger: boolean;
1029
- triggerPx: string;
1030
- children: any[];
1031
- isPositionTpsl: boolean;
1032
- reduceOnly: boolean;
1033
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
1034
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
1035
- cloid: `0x${string}` | null;
1036
- };
1037
- status: "open" | "canceled" | "rejected" | "filled" | "triggered" | "marginCanceled" | "vaultWithdrawalCanceled" | "openInterestCapCanceled" | "selfTradeCanceled" | "reduceOnlyCanceled" | "siblingFilledCanceled" | "delistedCanceled" | "liquidatedCanceled" | "scheduledCancel" | "tickRejected" | "minTradeNtlRejected" | "perpMarginRejected" | "reduceOnlyRejected" | "badAloPxRejected" | "iocCancelRejected" | "badTriggerPxRejected" | "marketOrderNoLiquidityRejected" | "positionIncreaseAtOpenInterestCapRejected" | "positionFlipAtOpenInterestCapRejected" | "tooAggressiveAtOpenInterestCapRejected" | "openInterestIncreaseRejected" | "insufficientSpotBalanceRejected" | "oracleRejected" | "perpMaxPositionRejected";
1038
- statusTimestamp: number;
1039
- };
1040
- } | {
1041
- status: "unknownOid";
1042
- }>;
671
+ orderStatus(...args: OmitFirst<OverloadedParameters<typeof orderStatus>>): ReturnType<typeof orderStatus>;
1043
672
  /**
1044
673
  * Request for the status of the perpetual deploy auction.
1045
674
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1058,13 +687,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1058
687
  * const data = await client.perpDeployAuctionStatus();
1059
688
  * ```
1060
689
  */
1061
- perpDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>): Promise<{
1062
- currentGas: string | null;
1063
- durationSeconds: number;
1064
- endGas: string | null;
1065
- startGas: string;
1066
- startTimeSeconds: number;
1067
- }>;
690
+ perpDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof perpDeployAuctionStatus>>): ReturnType<typeof perpDeployAuctionStatus>;
1068
691
  /**
1069
692
  * Request builder deployed perpetual market limits.
1070
693
  * @param params - Parameters specific to the API request.
@@ -1084,12 +707,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1084
707
  * const data = await client.perpDexLimits({ dex: "test" });
1085
708
  * ```
1086
709
  */
1087
- perpDexLimits(...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>): Promise<{
1088
- totalOiCap: string;
1089
- oiSzCapPerPerp: string;
1090
- maxTransferNtl: string;
1091
- coinToOiCap: [string, string][];
1092
- } | null>;
710
+ perpDexLimits(...args: OmitFirst<OverloadedParameters<typeof perpDexLimits>>): ReturnType<typeof perpDexLimits>;
1093
711
  /**
1094
712
  * Request all perpetual dexs.
1095
713
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1108,17 +726,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1108
726
  * const data = await client.perpDexs();
1109
727
  * ```
1110
728
  */
1111
- perpDexs(...args: OmitFirst<OverloadedParameters<typeof perpDexs>>): Promise<({
1112
- name: string;
1113
- fullName: string;
1114
- deployer: `0x${string}`;
1115
- oracleUpdater: `0x${string}` | null;
1116
- feeRecipient: `0x${string}` | null;
1117
- assetToStreamingOiCap: [string, string][];
1118
- subDeployers: [string, `0x${string}`[]][];
1119
- deployerFeeScale: string;
1120
- lastDeployerFeeScaleChangeTime: string;
1121
- } | null)[]>;
729
+ perpDexs(...args: OmitFirst<OverloadedParameters<typeof perpDexs>>): ReturnType<typeof perpDexs>;
1122
730
  /**
1123
731
  * Request perpetuals at open interest cap.
1124
732
  * @param params - Parameters specific to the API request.
@@ -1138,7 +746,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1138
746
  * const data = await client.perpsAtOpenInterestCap();
1139
747
  * ```
1140
748
  */
1141
- perpsAtOpenInterestCap(...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>): Promise<string[]>;
749
+ perpsAtOpenInterestCap(...args: OmitFirst<OverloadedParameters<typeof perpsAtOpenInterestCap>>): ReturnType<typeof perpsAtOpenInterestCap>;
1142
750
  /**
1143
751
  * Request user portfolio.
1144
752
  * @param params - Parameters specific to the API request.
@@ -1158,39 +766,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1158
766
  * const data = await client.portfolio({ user: "0x..." });
1159
767
  * ```
1160
768
  */
1161
- portfolio(...args: OmitFirst<OverloadedParameters<typeof portfolio>>): Promise<[["day", {
1162
- accountValueHistory: [number, string][];
1163
- pnlHistory: [number, string][];
1164
- vlm: string;
1165
- }], ["week", {
1166
- accountValueHistory: [number, string][];
1167
- pnlHistory: [number, string][];
1168
- vlm: string;
1169
- }], ["month", {
1170
- accountValueHistory: [number, string][];
1171
- pnlHistory: [number, string][];
1172
- vlm: string;
1173
- }], ["allTime", {
1174
- accountValueHistory: [number, string][];
1175
- pnlHistory: [number, string][];
1176
- vlm: string;
1177
- }], ["perpDay", {
1178
- accountValueHistory: [number, string][];
1179
- pnlHistory: [number, string][];
1180
- vlm: string;
1181
- }], ["perpWeek", {
1182
- accountValueHistory: [number, string][];
1183
- pnlHistory: [number, string][];
1184
- vlm: string;
1185
- }], ["perpMonth", {
1186
- accountValueHistory: [number, string][];
1187
- pnlHistory: [number, string][];
1188
- vlm: string;
1189
- }], ["perpAllTime", {
1190
- accountValueHistory: [number, string][];
1191
- pnlHistory: [number, string][];
1192
- vlm: string;
1193
- }]]>;
769
+ portfolio(...args: OmitFirst<OverloadedParameters<typeof portfolio>>): ReturnType<typeof portfolio>;
1194
770
  /**
1195
771
  * Request predicted funding rates.
1196
772
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1209,11 +785,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1209
785
  * const data = await client.predictedFundings();
1210
786
  * ```
1211
787
  */
1212
- predictedFundings(...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>): Promise<[string, [string, {
1213
- fundingRate: string;
1214
- nextFundingTime: number;
1215
- fundingIntervalHours?: number | undefined;
1216
- } | null][]][]>;
788
+ predictedFundings(...args: OmitFirst<OverloadedParameters<typeof predictedFundings>>): ReturnType<typeof predictedFundings>;
1217
789
  /**
1218
790
  * Request user existence check before transfer.
1219
791
  * @param params - Parameters specific to the API request.
@@ -1233,12 +805,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1233
805
  * const data = await client.preTransferCheck({ user: "0x...", source: "0x..." });
1234
806
  * ```
1235
807
  */
1236
- preTransferCheck(...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>): Promise<{
1237
- fee: string;
1238
- isSanctioned: boolean;
1239
- userExists: boolean;
1240
- userHasSentTx: boolean;
1241
- }>;
808
+ preTransferCheck(...args: OmitFirst<OverloadedParameters<typeof preTransferCheck>>): ReturnType<typeof preTransferCheck>;
1242
809
  /**
1243
810
  * Request recent trades.
1244
811
  * @param params - Parameters specific to the API request.
@@ -1258,16 +825,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1258
825
  * const data = await client.recentTrades({ coin: "ETH" });
1259
826
  * ```
1260
827
  */
1261
- recentTrades(...args: OmitFirst<OverloadedParameters<typeof recentTrades>>): Promise<{
1262
- coin: string;
1263
- side: "B" | "A";
1264
- px: string;
1265
- sz: string;
1266
- time: number;
1267
- hash: `0x${string}`;
1268
- tid: number;
1269
- users: [`0x${string}`, `0x${string}`];
1270
- }[]>;
828
+ recentTrades(...args: OmitFirst<OverloadedParameters<typeof recentTrades>>): ReturnType<typeof recentTrades>;
1271
829
  /**
1272
830
  * Request user referral.
1273
831
  * @param params - Parameters specific to the API request.
@@ -1287,54 +845,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1287
845
  * const data = await client.referral({ user: "0x..." });
1288
846
  * ```
1289
847
  */
1290
- referral(...args: OmitFirst<OverloadedParameters<typeof referral>>): Promise<{
1291
- referredBy: {
1292
- referrer: `0x${string}`;
1293
- code: string;
1294
- } | null;
1295
- cumVlm: string;
1296
- unclaimedRewards: string;
1297
- claimedRewards: string;
1298
- builderRewards: string;
1299
- referrerState: {
1300
- stage: "ready";
1301
- data: {
1302
- code: string;
1303
- nReferrals: number;
1304
- referralStates: {
1305
- cumVlm: string;
1306
- cumRewardedFeesSinceReferred: string;
1307
- cumFeesRewardedToReferrer: string;
1308
- timeJoined: number;
1309
- user: `0x${string}`;
1310
- tokenToState: [number, {
1311
- cumVlm: string;
1312
- cumRewardedFeesSinceReferred: string;
1313
- cumFeesRewardedToReferrer: string;
1314
- }][];
1315
- }[];
1316
- };
1317
- } | {
1318
- stage: "needToCreateCode";
1319
- } | {
1320
- stage: "needToTrade";
1321
- data: {
1322
- required: string;
1323
- };
1324
- };
1325
- rewardHistory: {
1326
- earned: string;
1327
- vlm: string;
1328
- referralVlm: string;
1329
- time: number;
1330
- }[];
1331
- tokenToState: [number, {
1332
- cumVlm: string;
1333
- unclaimedRewards: string;
1334
- claimedRewards: string;
1335
- builderRewards: string;
1336
- }][];
1337
- }>;
848
+ referral(...args: OmitFirst<OverloadedParameters<typeof referral>>): ReturnType<typeof referral>;
1338
849
  /**
1339
850
  * Request spot clearinghouse state.
1340
851
  * @param params - Parameters specific to the API request.
@@ -1354,20 +865,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1354
865
  * const data = await client.spotClearinghouseState({ user: "0x..." });
1355
866
  * ```
1356
867
  */
1357
- spotClearinghouseState(...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>): Promise<{
1358
- balances: {
1359
- coin: string;
1360
- token: number;
1361
- total: string;
1362
- hold: string;
1363
- entryNtl: string;
1364
- }[];
1365
- evmEscrows?: {
1366
- coin: string;
1367
- token: number;
1368
- total: string;
1369
- }[] | undefined;
1370
- }>;
868
+ spotClearinghouseState(...args: OmitFirst<OverloadedParameters<typeof spotClearinghouseState>>): ReturnType<typeof spotClearinghouseState>;
1371
869
  /**
1372
870
  * Request spot deploy state.
1373
871
  * @param params - Parameters specific to the API request.
@@ -1387,32 +885,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1387
885
  * const data = await client.spotDeployState({ user: "0x..." });
1388
886
  * ```
1389
887
  */
1390
- spotDeployState(...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>): Promise<{
1391
- states: {
1392
- token: number;
1393
- spec: {
1394
- name: string;
1395
- szDecimals: number;
1396
- weiDecimals: number;
1397
- };
1398
- fullName: string | null;
1399
- deployerTradingFeeShare: string;
1400
- spots: number[];
1401
- maxSupply: string | null;
1402
- hyperliquidityGenesisBalance: string;
1403
- totalGenesisBalanceWei: string;
1404
- userGenesisBalances: [`0x${string}`, string][];
1405
- existingTokenGenesisBalances: [number, string][];
1406
- blacklistUsers: `0x${string}`[];
1407
- }[];
1408
- gasAuction: {
1409
- currentGas: string | null;
1410
- durationSeconds: number;
1411
- endGas: string | null;
1412
- startGas: string;
1413
- startTimeSeconds: number;
1414
- };
1415
- }>;
888
+ spotDeployState(...args: OmitFirst<OverloadedParameters<typeof spotDeployState>>): ReturnType<typeof spotDeployState>;
1416
889
  /**
1417
890
  * Request spot trading metadata.
1418
891
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1431,28 +904,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1431
904
  * const data = await client.spotMeta();
1432
905
  * ```
1433
906
  */
1434
- spotMeta(...args: OmitFirst<OverloadedParameters<typeof spotMeta>>): Promise<{
1435
- universe: {
1436
- tokens: number[];
1437
- name: string;
1438
- index: number;
1439
- isCanonical: boolean;
1440
- }[];
1441
- tokens: {
1442
- name: string;
1443
- szDecimals: number;
1444
- weiDecimals: number;
1445
- index: number;
1446
- tokenId: `0x${string}`;
1447
- isCanonical: boolean;
1448
- evmContract: {
1449
- address: `0x${string}`;
1450
- evm_extra_wei_decimals: number;
1451
- } | null;
1452
- fullName: string | null;
1453
- deployerTradingFeeShare: string;
1454
- }[];
1455
- }>;
907
+ spotMeta(...args: OmitFirst<OverloadedParameters<typeof spotMeta>>): ReturnType<typeof spotMeta>;
1456
908
  /**
1457
909
  * Request spot metadata and asset contexts.
1458
910
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1471,37 +923,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1471
923
  * const data = await client.spotMetaAndAssetCtxs();
1472
924
  * ```
1473
925
  */
1474
- spotMetaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>): Promise<[{
1475
- universe: {
1476
- tokens: number[];
1477
- name: string;
1478
- index: number;
1479
- isCanonical: boolean;
1480
- }[];
1481
- tokens: {
1482
- name: string;
1483
- szDecimals: number;
1484
- weiDecimals: number;
1485
- index: number;
1486
- tokenId: `0x${string}`;
1487
- isCanonical: boolean;
1488
- evmContract: {
1489
- address: `0x${string}`;
1490
- evm_extra_wei_decimals: number;
1491
- } | null;
1492
- fullName: string | null;
1493
- deployerTradingFeeShare: string;
1494
- }[];
1495
- }, {
1496
- prevDayPx: string;
1497
- dayNtlVlm: string;
1498
- markPx: string;
1499
- midPx: string | null;
1500
- circulatingSupply: string;
1501
- coin: string;
1502
- totalSupply: string;
1503
- dayBaseVlm: string;
1504
- }[]]>;
926
+ spotMetaAndAssetCtxs(...args: OmitFirst<OverloadedParameters<typeof spotMetaAndAssetCtxs>>): ReturnType<typeof spotMetaAndAssetCtxs>;
1505
927
  /**
1506
928
  * Request for the status of the spot deploy auction.
1507
929
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -1520,13 +942,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1520
942
  * const data = await client.spotPairDeployAuctionStatus();
1521
943
  * ```
1522
944
  */
1523
- spotPairDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>): Promise<{
1524
- currentGas: string | null;
1525
- durationSeconds: number;
1526
- endGas: string | null;
1527
- startGas: string;
1528
- startTimeSeconds: number;
1529
- }>;
945
+ spotPairDeployAuctionStatus(...args: OmitFirst<OverloadedParameters<typeof spotPairDeployAuctionStatus>>): ReturnType<typeof spotPairDeployAuctionStatus>;
1530
946
  /**
1531
947
  * Request user sub-accounts.
1532
948
  * @param params - Parameters specific to the API request.
@@ -1546,69 +962,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1546
962
  * const data = await client.subAccounts({ user: "0x..." });
1547
963
  * ```
1548
964
  */
1549
- subAccounts(...args: OmitFirst<OverloadedParameters<typeof subAccounts>>): Promise<{
1550
- name: string;
1551
- subAccountUser: `0x${string}`;
1552
- master: `0x${string}`;
1553
- clearinghouseState: {
1554
- marginSummary: {
1555
- accountValue: string;
1556
- totalNtlPos: string;
1557
- totalRawUsd: string;
1558
- totalMarginUsed: string;
1559
- };
1560
- crossMarginSummary: {
1561
- accountValue: string;
1562
- totalNtlPos: string;
1563
- totalRawUsd: string;
1564
- totalMarginUsed: string;
1565
- };
1566
- crossMaintenanceMarginUsed: string;
1567
- withdrawable: string;
1568
- assetPositions: {
1569
- type: "oneWay";
1570
- position: {
1571
- coin: string;
1572
- szi: string;
1573
- leverage: {
1574
- type: "isolated";
1575
- value: number;
1576
- rawUsd: string;
1577
- } | {
1578
- type: "cross";
1579
- value: number;
1580
- };
1581
- entryPx: string;
1582
- positionValue: string;
1583
- unrealizedPnl: string;
1584
- returnOnEquity: string;
1585
- liquidationPx: string | null;
1586
- marginUsed: string;
1587
- maxLeverage: number;
1588
- cumFunding: {
1589
- allTime: string;
1590
- sinceOpen: string;
1591
- sinceChange: string;
1592
- };
1593
- };
1594
- }[];
1595
- time: number;
1596
- };
1597
- spotState: {
1598
- balances: {
1599
- coin: string;
1600
- token: number;
1601
- total: string;
1602
- hold: string;
1603
- entryNtl: string;
1604
- }[];
1605
- evmEscrows?: {
1606
- coin: string;
1607
- token: number;
1608
- total: string;
1609
- }[] | undefined;
1610
- };
1611
- }[] | null>;
965
+ subAccounts(...args: OmitFirst<OverloadedParameters<typeof subAccounts>>): ReturnType<typeof subAccounts>;
1612
966
  /**
1613
967
  * Request user sub-accounts V2.
1614
968
  * @param params - Parameters specific to the API request.
@@ -1628,69 +982,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1628
982
  * const data = await client.subAccounts2({ user: "0x..." });
1629
983
  * ```
1630
984
  */
1631
- subAccounts2(...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>): Promise<{
1632
- name: string;
1633
- subAccountUser: `0x${string}`;
1634
- master: `0x${string}`;
1635
- dexToClearinghouseState: [string, {
1636
- marginSummary: {
1637
- accountValue: string;
1638
- totalNtlPos: string;
1639
- totalRawUsd: string;
1640
- totalMarginUsed: string;
1641
- };
1642
- crossMarginSummary: {
1643
- accountValue: string;
1644
- totalNtlPos: string;
1645
- totalRawUsd: string;
1646
- totalMarginUsed: string;
1647
- };
1648
- crossMaintenanceMarginUsed: string;
1649
- withdrawable: string;
1650
- assetPositions: {
1651
- type: "oneWay";
1652
- position: {
1653
- coin: string;
1654
- szi: string;
1655
- leverage: {
1656
- type: "isolated";
1657
- value: number;
1658
- rawUsd: string;
1659
- } | {
1660
- type: "cross";
1661
- value: number;
1662
- };
1663
- entryPx: string;
1664
- positionValue: string;
1665
- unrealizedPnl: string;
1666
- returnOnEquity: string;
1667
- liquidationPx: string | null;
1668
- marginUsed: string;
1669
- maxLeverage: number;
1670
- cumFunding: {
1671
- allTime: string;
1672
- sinceOpen: string;
1673
- sinceChange: string;
1674
- };
1675
- };
1676
- }[];
1677
- time: number;
1678
- }][];
1679
- spotState: {
1680
- balances: {
1681
- coin: string;
1682
- token: number;
1683
- total: string;
1684
- hold: string;
1685
- entryNtl: string;
1686
- }[];
1687
- evmEscrows?: {
1688
- coin: string;
1689
- token: number;
1690
- total: string;
1691
- }[] | undefined;
1692
- };
1693
- }[] | null>;
985
+ subAccounts2(...args: OmitFirst<OverloadedParameters<typeof subAccounts2>>): ReturnType<typeof subAccounts2>;
1694
986
  /**
1695
987
  * Request token details.
1696
988
  * @param params - Parameters specific to the API request.
@@ -1710,28 +1002,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1710
1002
  * const data = await client.tokenDetails({ tokenId: "0x..." });
1711
1003
  * ```
1712
1004
  */
1713
- tokenDetails(...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>): Promise<{
1714
- name: string;
1715
- maxSupply: string;
1716
- totalSupply: string;
1717
- circulatingSupply: string;
1718
- szDecimals: number;
1719
- weiDecimals: number;
1720
- midPx: string;
1721
- markPx: string;
1722
- prevDayPx: string;
1723
- genesis: {
1724
- userBalances: [`0x${string}`, string][];
1725
- existingTokenBalances: [number, string][];
1726
- blacklistUsers: `0x${string}`[];
1727
- } | null;
1728
- deployer: `0x${string}` | null;
1729
- deployGas: string | null;
1730
- deployTime: string | null;
1731
- seededUsdc: string;
1732
- nonCirculatingUserBalances: [`0x${string}`, string][];
1733
- futureEmissions: string;
1734
- }>;
1005
+ tokenDetails(...args: OmitFirst<OverloadedParameters<typeof tokenDetails>>): ReturnType<typeof tokenDetails>;
1735
1006
  /**
1736
1007
  * Request twap history of a user.
1737
1008
  * @param params - Parameters specific to the API request.
@@ -1751,28 +1022,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1751
1022
  * const data = await client.twapHistory({ user: "0x..." });
1752
1023
  * ```
1753
1024
  */
1754
- twapHistory(...args: OmitFirst<OverloadedParameters<typeof twapHistory>>): Promise<{
1755
- time: number;
1756
- state: {
1757
- coin: string;
1758
- executedNtl: string;
1759
- executedSz: string;
1760
- minutes: number;
1761
- randomize: boolean;
1762
- reduceOnly: boolean;
1763
- side: "B" | "A";
1764
- sz: string;
1765
- timestamp: number;
1766
- user: `0x${string}`;
1767
- };
1768
- status: {
1769
- status: "finished" | "activated" | "terminated";
1770
- } | {
1771
- status: "error";
1772
- description: string;
1773
- };
1774
- twapId?: number | undefined;
1775
- }[]>;
1025
+ twapHistory(...args: OmitFirst<OverloadedParameters<typeof twapHistory>>): ReturnType<typeof twapHistory>;
1776
1026
  /**
1777
1027
  * Request transaction details by transaction hash.
1778
1028
  * @param params - Parameters specific to the API request.
@@ -1794,21 +1044,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1794
1044
  */
1795
1045
  txDetails(this: T extends {
1796
1046
  request(endpoint: "explorer", ...args: unknown[]): unknown;
1797
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof txDetails>>): Promise<{
1798
- type: "txDetails";
1799
- tx: {
1800
- action: {
1801
- type: string;
1802
- } & {
1803
- [key: string]: unknown;
1804
- };
1805
- block: number;
1806
- error: string | null;
1807
- hash: `0x${string}`;
1808
- time: number;
1809
- user: `0x${string}`;
1810
- };
1811
- }>;
1047
+ } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof txDetails>>): ReturnType<typeof txDetails>;
1812
1048
  /**
1813
1049
  * Request array of user transaction details.
1814
1050
  * @param params - Parameters specific to the API request.
@@ -1830,21 +1066,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1830
1066
  */
1831
1067
  userDetails(this: T extends {
1832
1068
  request(endpoint: "explorer", ...args: unknown[]): unknown;
1833
- } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof userDetails>>): Promise<{
1834
- type: "userDetails";
1835
- txs: {
1836
- action: {
1837
- type: string;
1838
- } & {
1839
- [key: string]: unknown;
1840
- };
1841
- block: number;
1842
- error: string | null;
1843
- hash: `0x${string}`;
1844
- time: number;
1845
- user: `0x${string}`;
1846
- }[];
1847
- }>;
1069
+ } ? InfoRequestConfig<T> : never, ...args: OmitFirst<OverloadedParameters<typeof userDetails>>): ReturnType<typeof userDetails>;
1848
1070
  /**
1849
1071
  * Request user HIP-3 DEX abstraction state.
1850
1072
  * @param params - Parameters specific to the API request.
@@ -1864,7 +1086,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1864
1086
  * const data = await client.userDexAbstraction({ user: "0x..." });
1865
1087
  * ```
1866
1088
  */
1867
- userDexAbstraction(...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>): Promise<boolean | null>;
1089
+ userDexAbstraction(...args: OmitFirst<OverloadedParameters<typeof userDexAbstraction>>): ReturnType<typeof userDexAbstraction>;
1868
1090
  /**
1869
1091
  * Request user fees.
1870
1092
  * @param params - Parameters specific to the API request.
@@ -1884,54 +1106,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1884
1106
  * const data = await client.userFees({ user: "0x..." });
1885
1107
  * ```
1886
1108
  */
1887
- userFees(...args: OmitFirst<OverloadedParameters<typeof userFees>>): Promise<{
1888
- dailyUserVlm: {
1889
- date: string;
1890
- userCross: string;
1891
- userAdd: string;
1892
- exchange: string;
1893
- }[];
1894
- feeSchedule: {
1895
- cross: string;
1896
- add: string;
1897
- spotCross: string;
1898
- spotAdd: string;
1899
- tiers: {
1900
- vip: {
1901
- ntlCutoff: string;
1902
- cross: string;
1903
- add: string;
1904
- spotCross: string;
1905
- spotAdd: string;
1906
- }[];
1907
- mm: {
1908
- makerFractionCutoff: string;
1909
- add: string;
1910
- }[];
1911
- };
1912
- referralDiscount: string;
1913
- stakingDiscountTiers: {
1914
- bpsOfMaxSupply: string;
1915
- discount: string;
1916
- }[];
1917
- };
1918
- userCrossRate: string;
1919
- userAddRate: string;
1920
- userSpotCrossRate: string;
1921
- userSpotAddRate: string;
1922
- activeReferralDiscount: string;
1923
- trial: unknown;
1924
- feeTrialEscrow: string;
1925
- nextTrialAvailableTimestamp: unknown;
1926
- stakingLink: {
1927
- stakingUser: `0x${string}`;
1928
- type: "stakingUser" | "requested" | "tradingUser";
1929
- } | null;
1930
- activeStakingDiscount: {
1931
- bpsOfMaxSupply: string;
1932
- discount: string;
1933
- };
1934
- }>;
1109
+ userFees(...args: OmitFirst<OverloadedParameters<typeof userFees>>): ReturnType<typeof userFees>;
1935
1110
  /**
1936
1111
  * Request array of user fills.
1937
1112
  * @param params - Parameters specific to the API request.
@@ -1951,29 +1126,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1951
1126
  * const data = await client.userFills({ user: "0x..." });
1952
1127
  * ```
1953
1128
  */
1954
- userFills(...args: OmitFirst<OverloadedParameters<typeof userFills>>): Promise<{
1955
- coin: string;
1956
- px: string;
1957
- sz: string;
1958
- side: "B" | "A";
1959
- time: number;
1960
- startPosition: string;
1961
- dir: string;
1962
- closedPnl: string;
1963
- hash: `0x${string}`;
1964
- oid: number;
1965
- crossed: boolean;
1966
- fee: string;
1967
- tid: number;
1968
- cloid?: `0x${string}` | undefined;
1969
- liquidation?: {
1970
- liquidatedUser: `0x${string}`;
1971
- markPx: string;
1972
- method: "market" | "backstop";
1973
- } | undefined;
1974
- feeToken: string;
1975
- twapId: number | null;
1976
- }[]>;
1129
+ userFills(...args: OmitFirst<OverloadedParameters<typeof userFills>>): ReturnType<typeof userFills>;
1977
1130
  /**
1978
1131
  * Request array of user fills by time.
1979
1132
  * @param params - Parameters specific to the API request.
@@ -1996,29 +1149,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
1996
1149
  * });
1997
1150
  * ```
1998
1151
  */
1999
- userFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>): Promise<{
2000
- coin: string;
2001
- px: string;
2002
- sz: string;
2003
- side: "B" | "A";
2004
- time: number;
2005
- startPosition: string;
2006
- dir: string;
2007
- closedPnl: string;
2008
- hash: `0x${string}`;
2009
- oid: number;
2010
- crossed: boolean;
2011
- fee: string;
2012
- tid: number;
2013
- cloid?: `0x${string}` | undefined;
2014
- liquidation?: {
2015
- liquidatedUser: `0x${string}`;
2016
- markPx: string;
2017
- method: "market" | "backstop";
2018
- } | undefined;
2019
- feeToken: string;
2020
- twapId: number | null;
2021
- }[]>;
1152
+ userFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userFillsByTime>>): ReturnType<typeof userFillsByTime>;
2022
1153
  /**
2023
1154
  * Request array of user funding ledger updates.
2024
1155
  * @param params - Parameters specific to the API request.
@@ -2041,18 +1172,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2041
1172
  * });
2042
1173
  * ```
2043
1174
  */
2044
- userFunding(...args: OmitFirst<OverloadedParameters<typeof userFunding>>): Promise<{
2045
- time: number;
2046
- hash: `0x${string}`;
2047
- delta: {
2048
- type: "funding";
2049
- coin: string;
2050
- usdc: string;
2051
- szi: string;
2052
- fundingRate: string;
2053
- nSamples: number | null;
2054
- };
2055
- }[]>;
1175
+ userFunding(...args: OmitFirst<OverloadedParameters<typeof userFunding>>): ReturnType<typeof userFunding>;
2056
1176
  /**
2057
1177
  * Request user non-funding ledger updates.
2058
1178
  * @param params - Parameters specific to the API request.
@@ -2075,80 +1195,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2075
1195
  * });
2076
1196
  * ```
2077
1197
  */
2078
- userNonFundingLedgerUpdates(...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>): Promise<{
2079
- time: number;
2080
- hash: `0x${string}`;
2081
- delta: {
2082
- type: "accountClassTransfer";
2083
- usdc: string;
2084
- toPerp: boolean;
2085
- } | {
2086
- type: "deposit";
2087
- usdc: string;
2088
- } | {
2089
- type: "internalTransfer";
2090
- usdc: string;
2091
- user: `0x${string}`;
2092
- destination: `0x${string}`;
2093
- fee: string;
2094
- } | {
2095
- type: "liquidation";
2096
- liquidatedNtlPos: string;
2097
- accountValue: string;
2098
- leverageType: "Cross" | "Isolated";
2099
- liquidatedPositions: {
2100
- coin: string;
2101
- szi: string;
2102
- }[];
2103
- } | {
2104
- type: "rewardsClaim";
2105
- amount: string;
2106
- token: string;
2107
- } | {
2108
- type: "spotTransfer";
2109
- token: string;
2110
- amount: string;
2111
- usdcValue: string;
2112
- user: `0x${string}`;
2113
- destination: `0x${string}`;
2114
- fee: string;
2115
- nativeTokenFee: string;
2116
- nonce: null;
2117
- feeToken: string;
2118
- } | {
2119
- type: "subAccountTransfer";
2120
- usdc: string;
2121
- user: `0x${string}`;
2122
- destination: `0x${string}`;
2123
- } | {
2124
- type: "vaultCreate";
2125
- vault: `0x${string}`;
2126
- usdc: string;
2127
- fee: string;
2128
- } | {
2129
- type: "vaultDeposit";
2130
- vault: `0x${string}`;
2131
- usdc: string;
2132
- } | {
2133
- type: "vaultDistribution";
2134
- vault: `0x${string}`;
2135
- usdc: string;
2136
- } | {
2137
- type: "vaultWithdraw";
2138
- vault: `0x${string}`;
2139
- user: `0x${string}`;
2140
- requestedUsd: string;
2141
- commission: string;
2142
- closingCost: string;
2143
- basis: string;
2144
- netWithdrawnUsd: string;
2145
- } | {
2146
- type: "withdraw";
2147
- usdc: string;
2148
- nonce: number;
2149
- fee: string;
2150
- };
2151
- }[]>;
1198
+ userNonFundingLedgerUpdates(...args: OmitFirst<OverloadedParameters<typeof userNonFundingLedgerUpdates>>): ReturnType<typeof userNonFundingLedgerUpdates>;
2152
1199
  /**
2153
1200
  * Request user rate limits.
2154
1201
  * @param params - Parameters specific to the API request.
@@ -2168,12 +1215,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2168
1215
  * const data = await client.userRateLimit({ user: "0x..." });
2169
1216
  * ```
2170
1217
  */
2171
- userRateLimit(...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>): Promise<{
2172
- cumVlm: string;
2173
- nRequestsUsed: number;
2174
- nRequestsCap: number;
2175
- nRequestsSurplus: number;
2176
- }>;
1218
+ userRateLimit(...args: OmitFirst<OverloadedParameters<typeof userRateLimit>>): ReturnType<typeof userRateLimit>;
2177
1219
  /**
2178
1220
  * Request user role.
2179
1221
  * @param params - Parameters specific to the API request.
@@ -2193,19 +1235,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2193
1235
  * const data = await client.userRole({ user: "0x..." });
2194
1236
  * ```
2195
1237
  */
2196
- userRole(...args: OmitFirst<OverloadedParameters<typeof userRole>>): Promise<{
2197
- role: "user" | "vault" | "missing";
2198
- } | {
2199
- role: "agent";
2200
- data: {
2201
- user: `0x${string}`;
2202
- };
2203
- } | {
2204
- role: "subAccount";
2205
- data: {
2206
- master: `0x${string}`;
2207
- };
2208
- }>;
1238
+ userRole(...args: OmitFirst<OverloadedParameters<typeof userRole>>): ReturnType<typeof userRole>;
2209
1239
  /**
2210
1240
  * Request multi-sig signers for a user.
2211
1241
  * @param params - Parameters specific to the API request.
@@ -2225,10 +1255,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2225
1255
  * const data = await client.userToMultiSigSigners({ user: "0x..." });
2226
1256
  * ```
2227
1257
  */
2228
- userToMultiSigSigners(...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>): Promise<{
2229
- authorizedUsers: `0x${string}`[];
2230
- threshold: number;
2231
- } | null>;
1258
+ userToMultiSigSigners(...args: OmitFirst<OverloadedParameters<typeof userToMultiSigSigners>>): ReturnType<typeof userToMultiSigSigners>;
2232
1259
  /**
2233
1260
  * Request user TWAP slice fills.
2234
1261
  * @param params - Parameters specific to the API request.
@@ -2248,26 +1275,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2248
1275
  * const data = await client.userTwapSliceFills({ user: "0x..." });
2249
1276
  * ```
2250
1277
  */
2251
- userTwapSliceFills(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>): Promise<{
2252
- fill: {
2253
- coin: string;
2254
- px: string;
2255
- sz: string;
2256
- side: "B" | "A";
2257
- time: number;
2258
- startPosition: string;
2259
- dir: string;
2260
- closedPnl: string;
2261
- hash: `0x${string}`;
2262
- oid: number;
2263
- crossed: boolean;
2264
- fee: string;
2265
- tid: number;
2266
- feeToken: string;
2267
- twapId: number | null;
2268
- };
2269
- twapId: number;
2270
- }[]>;
1278
+ userTwapSliceFills(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFills>>): ReturnType<typeof userTwapSliceFills>;
2271
1279
  /**
2272
1280
  * Request user TWAP slice fills by time.
2273
1281
  * @param params - Parameters specific to the API request.
@@ -2290,26 +1298,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2290
1298
  * });
2291
1299
  * ```
2292
1300
  */
2293
- userTwapSliceFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>): Promise<{
2294
- fill: {
2295
- coin: string;
2296
- px: string;
2297
- sz: string;
2298
- side: "B" | "A";
2299
- time: number;
2300
- startPosition: string;
2301
- dir: string;
2302
- closedPnl: string;
2303
- hash: `0x${string}`;
2304
- oid: number;
2305
- crossed: boolean;
2306
- fee: string;
2307
- tid: number;
2308
- feeToken: string;
2309
- twapId: number | null;
2310
- };
2311
- twapId: number;
2312
- }[]>;
1301
+ userTwapSliceFillsByTime(...args: OmitFirst<OverloadedParameters<typeof userTwapSliceFillsByTime>>): ReturnType<typeof userTwapSliceFillsByTime>;
2313
1302
  /**
2314
1303
  * Request user vault deposits.
2315
1304
  * @param params - Parameters specific to the API request.
@@ -2329,11 +1318,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2329
1318
  * const data = await client.userVaultEquities({ user: "0x..." });
2330
1319
  * ```
2331
1320
  */
2332
- userVaultEquities(...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>): Promise<{
2333
- vaultAddress: `0x${string}`;
2334
- equity: string;
2335
- lockedUntilTimestamp: number;
2336
- }[]>;
1321
+ userVaultEquities(...args: OmitFirst<OverloadedParameters<typeof userVaultEquities>>): ReturnType<typeof userVaultEquities>;
2337
1322
  /**
2338
1323
  * Request validator L1 votes.
2339
1324
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -2352,15 +1337,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2352
1337
  * const data = await client.validatorL1Votes();
2353
1338
  * ```
2354
1339
  */
2355
- validatorL1Votes(...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>): Promise<{
2356
- expireTime: number;
2357
- action: {
2358
- D: string;
2359
- } | {
2360
- C: string[];
2361
- };
2362
- votes: `0x${string}`[];
2363
- }[]>;
1340
+ validatorL1Votes(...args: OmitFirst<OverloadedParameters<typeof validatorL1Votes>>): ReturnType<typeof validatorL1Votes>;
2364
1341
  /**
2365
1342
  * Request validator summaries.
2366
1343
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -2379,31 +1356,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2379
1356
  * const data = await client.validatorSummaries();
2380
1357
  * ```
2381
1358
  */
2382
- validatorSummaries(...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>): Promise<{
2383
- validator: `0x${string}`;
2384
- signer: `0x${string}`;
2385
- name: string;
2386
- description: string;
2387
- nRecentBlocks: number;
2388
- stake: number;
2389
- isJailed: boolean;
2390
- unjailableAfter: number | null;
2391
- isActive: boolean;
2392
- commission: string;
2393
- stats: [["day", {
2394
- uptimeFraction: string;
2395
- predictedApr: string;
2396
- nSamples: number;
2397
- }], ["week", {
2398
- uptimeFraction: string;
2399
- predictedApr: string;
2400
- nSamples: number;
2401
- }], ["month", {
2402
- uptimeFraction: string;
2403
- predictedApr: string;
2404
- nSamples: number;
2405
- }]];
2406
- }[]>;
1359
+ validatorSummaries(...args: OmitFirst<OverloadedParameters<typeof validatorSummaries>>): ReturnType<typeof validatorSummaries>;
2407
1360
  /**
2408
1361
  * Request details of a vault.
2409
1362
  * @param params - Parameters specific to the API request.
@@ -2423,79 +1376,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2423
1376
  * const data = await client.vaultDetails({ vaultAddress: "0x..." });
2424
1377
  * ```
2425
1378
  */
2426
- vaultDetails(...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>): Promise<{
2427
- name: string;
2428
- vaultAddress: `0x${string}`;
2429
- leader: `0x${string}`;
2430
- description: string;
2431
- portfolio: [["day", {
2432
- accountValueHistory: [number, string][];
2433
- pnlHistory: [number, string][];
2434
- vlm: string;
2435
- }], ["week", {
2436
- accountValueHistory: [number, string][];
2437
- pnlHistory: [number, string][];
2438
- vlm: string;
2439
- }], ["month", {
2440
- accountValueHistory: [number, string][];
2441
- pnlHistory: [number, string][];
2442
- vlm: string;
2443
- }], ["allTime", {
2444
- accountValueHistory: [number, string][];
2445
- pnlHistory: [number, string][];
2446
- vlm: string;
2447
- }], ["perpDay", {
2448
- accountValueHistory: [number, string][];
2449
- pnlHistory: [number, string][];
2450
- vlm: string;
2451
- }], ["perpWeek", {
2452
- accountValueHistory: [number, string][];
2453
- pnlHistory: [number, string][];
2454
- vlm: string;
2455
- }], ["perpMonth", {
2456
- accountValueHistory: [number, string][];
2457
- pnlHistory: [number, string][];
2458
- vlm: string;
2459
- }], ["perpAllTime", {
2460
- accountValueHistory: [number, string][];
2461
- pnlHistory: [number, string][];
2462
- vlm: string;
2463
- }]];
2464
- apr: number;
2465
- followerState: {
2466
- user: `0x${string}`;
2467
- vaultEquity: string;
2468
- pnl: string;
2469
- allTimePnl: string;
2470
- daysFollowing: number;
2471
- vaultEntryTime: number;
2472
- lockupUntil: number;
2473
- } | null;
2474
- leaderFraction: number;
2475
- leaderCommission: number;
2476
- followers: {
2477
- user: `0x${string}` | "Leader";
2478
- vaultEquity: string;
2479
- pnl: string;
2480
- allTimePnl: string;
2481
- daysFollowing: number;
2482
- vaultEntryTime: number;
2483
- lockupUntil: number;
2484
- }[];
2485
- maxDistributable: number;
2486
- maxWithdrawable: number;
2487
- isClosed: boolean;
2488
- relationship: {
2489
- type: "normal" | "child";
2490
- } | {
2491
- type: "parent";
2492
- data: {
2493
- childAddresses: `0x${string}`[];
2494
- };
2495
- };
2496
- allowDeposits: boolean;
2497
- alwaysCloseOnWithdraw: boolean;
2498
- }>;
1379
+ vaultDetails(...args: OmitFirst<OverloadedParameters<typeof vaultDetails>>): ReturnType<typeof vaultDetails>;
2499
1380
  /**
2500
1381
  * Request a list of vaults less than 2 hours old.
2501
1382
  * @param signal - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) can be used to cancel the request by calling [`abort()`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) on the corresponding [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
@@ -2514,22 +1395,7 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2514
1395
  * const data = await client.vaultSummaries();
2515
1396
  * ```
2516
1397
  */
2517
- vaultSummaries(...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>): Promise<{
2518
- name: string;
2519
- vaultAddress: `0x${string}`;
2520
- leader: `0x${string}`;
2521
- tvl: string;
2522
- isClosed: boolean;
2523
- relationship: {
2524
- type: "normal" | "child";
2525
- } | {
2526
- type: "parent";
2527
- data: {
2528
- childAddresses: `0x${string}`[];
2529
- };
2530
- };
2531
- createTimeMillis: number;
2532
- }[]>;
1398
+ vaultSummaries(...args: OmitFirst<OverloadedParameters<typeof vaultSummaries>>): ReturnType<typeof vaultSummaries>;
2533
1399
  /**
2534
1400
  * Request comprehensive user and market data.
2535
1401
  * @param params - Parameters specific to the API request.
@@ -2549,149 +1415,73 @@ export declare class InfoClient<T extends IRequestTransport = IRequestTransport>
2549
1415
  * const data = await client.webData2({ user: "0x..." });
2550
1416
  * ```
2551
1417
  */
2552
- webData2(...args: OmitFirst<OverloadedParameters<typeof webData2>>): Promise<{
2553
- clearinghouseState: {
2554
- marginSummary: {
2555
- accountValue: string;
2556
- totalNtlPos: string;
2557
- totalRawUsd: string;
2558
- totalMarginUsed: string;
2559
- };
2560
- crossMarginSummary: {
2561
- accountValue: string;
2562
- totalNtlPos: string;
2563
- totalRawUsd: string;
2564
- totalMarginUsed: string;
2565
- };
2566
- crossMaintenanceMarginUsed: string;
2567
- withdrawable: string;
2568
- assetPositions: {
2569
- type: "oneWay";
2570
- position: {
2571
- coin: string;
2572
- szi: string;
2573
- leverage: {
2574
- type: "isolated";
2575
- value: number;
2576
- rawUsd: string;
2577
- } | {
2578
- type: "cross";
2579
- value: number;
2580
- };
2581
- entryPx: string;
2582
- positionValue: string;
2583
- unrealizedPnl: string;
2584
- returnOnEquity: string;
2585
- liquidationPx: string | null;
2586
- marginUsed: string;
2587
- maxLeverage: number;
2588
- cumFunding: {
2589
- allTime: string;
2590
- sinceOpen: string;
2591
- sinceChange: string;
2592
- };
2593
- };
2594
- }[];
2595
- time: number;
2596
- };
2597
- leadingVaults: {
2598
- address: `0x${string}`;
2599
- name: string;
2600
- }[];
2601
- totalVaultEquity: string;
2602
- openOrders: {
2603
- coin: string;
2604
- side: "B" | "A";
2605
- limitPx: string;
2606
- sz: string;
2607
- oid: number;
2608
- timestamp: number;
2609
- origSz: string;
2610
- triggerCondition: string;
2611
- isTrigger: boolean;
2612
- triggerPx: string;
2613
- children: any[];
2614
- isPositionTpsl: boolean;
2615
- reduceOnly: boolean;
2616
- orderType: "Market" | "Limit" | "Stop Market" | "Stop Limit" | "Take Profit Market" | "Take Profit Limit";
2617
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket" | null;
2618
- cloid: `0x${string}` | null;
2619
- }[];
2620
- agentAddress: `0x${string}` | null;
2621
- agentValidUntil: number | null;
2622
- cumLedger: string;
2623
- meta: {
2624
- universe: {
2625
- szDecimals: number;
2626
- name: string;
2627
- maxLeverage: number;
2628
- marginTableId: number;
2629
- onlyIsolated?: true | undefined;
2630
- isDelisted?: true | undefined;
2631
- marginMode?: "strictIsolated" | "noCross" | undefined;
2632
- }[];
2633
- marginTables: [number, {
2634
- description: string;
2635
- marginTiers: {
2636
- lowerBound: string;
2637
- maxLeverage: number;
2638
- }[];
2639
- }][];
2640
- collateralToken: number;
2641
- };
2642
- assetCtxs: {
2643
- prevDayPx: string;
2644
- dayNtlVlm: string;
2645
- markPx: string;
2646
- midPx: string | null;
2647
- funding: string;
2648
- openInterest: string;
2649
- premium: string | null;
2650
- oraclePx: string;
2651
- impactPxs: string[] | null;
2652
- dayBaseVlm: string;
2653
- }[];
2654
- serverTime: number;
2655
- isVault: boolean;
2656
- user: `0x${string}`;
2657
- twapStates: [number, {
2658
- coin: string;
2659
- executedNtl: string;
2660
- executedSz: string;
2661
- minutes: number;
2662
- randomize: boolean;
2663
- reduceOnly: boolean;
2664
- side: "B" | "A";
2665
- sz: string;
2666
- timestamp: number;
2667
- user: `0x${string}`;
2668
- }][];
2669
- spotState?: {
2670
- balances: {
2671
- coin: string;
2672
- token: number;
2673
- total: string;
2674
- hold: string;
2675
- entryNtl: string;
2676
- }[];
2677
- evmEscrows?: {
2678
- coin: string;
2679
- token: number;
2680
- total: string;
2681
- }[] | undefined;
2682
- } | undefined;
2683
- spotAssetCtxs: {
2684
- prevDayPx: string;
2685
- dayNtlVlm: string;
2686
- markPx: string;
2687
- midPx: string | null;
2688
- circulatingSupply: string;
2689
- coin: string;
2690
- totalSupply: string;
2691
- dayBaseVlm: string;
2692
- }[];
2693
- optOutOfSpotDusting?: true | undefined;
2694
- perpsAtOpenInterestCap?: string[] | undefined;
2695
- }>;
1418
+ webData2(...args: OmitFirst<OverloadedParameters<typeof webData2>>): ReturnType<typeof webData2>;
2696
1419
  }
1420
+ export type * from "./activeAssetData.ts";
1421
+ export type * from "./alignedQuoteTokenInfo.ts";
1422
+ export type * from "./allMids.ts";
1423
+ export type * from "./allPerpMetas.ts";
1424
+ export type * from "./blockDetails.ts";
1425
+ export type * from "./candleSnapshot.ts";
1426
+ export type * from "./clearinghouseState.ts";
1427
+ export type * from "./delegations.ts";
1428
+ export type * from "./delegatorHistory.ts";
1429
+ export type * from "./delegatorRewards.ts";
1430
+ export type * from "./delegatorSummary.ts";
1431
+ export type * from "./exchangeStatus.ts";
1432
+ export type * from "./extraAgents.ts";
1433
+ export type * from "./frontendOpenOrders.ts";
1434
+ export type * from "./fundingHistory.ts";
1435
+ export type * from "./gossipRootIps.ts";
1436
+ export type * from "./historicalOrders.ts";
1437
+ export type * from "./isVip.ts";
1438
+ export type * from "./l2Book.ts";
1439
+ export type * from "./leadingVaults.ts";
1440
+ export type * from "./legalCheck.ts";
1441
+ export type * from "./liquidatable.ts";
1442
+ export type * from "./marginTable.ts";
1443
+ export type * from "./maxBuilderFee.ts";
1444
+ export type * from "./maxMarketOrderNtls.ts";
1445
+ export type * from "./meta.ts";
1446
+ export type * from "./metaAndAssetCtxs.ts";
1447
+ export type * from "./openOrders.ts";
1448
+ export type * from "./orderStatus.ts";
1449
+ export type * from "./perpDeployAuctionStatus.ts";
1450
+ export type * from "./perpDexLimits.ts";
1451
+ export type * from "./perpDexs.ts";
1452
+ export type * from "./perpsAtOpenInterestCap.ts";
1453
+ export type * from "./portfolio.ts";
1454
+ export type * from "./predictedFundings.ts";
1455
+ export type * from "./preTransferCheck.ts";
1456
+ export type * from "./recentTrades.ts";
1457
+ export type * from "./referral.ts";
1458
+ export type * from "./spotClearinghouseState.ts";
1459
+ export type * from "./spotDeployState.ts";
1460
+ export type * from "./spotMeta.ts";
1461
+ export type * from "./spotMetaAndAssetCtxs.ts";
1462
+ export type * from "./spotPairDeployAuctionStatus.ts";
1463
+ export type * from "./subAccounts.ts";
1464
+ export type * from "./subAccounts2.ts";
1465
+ export type * from "./tokenDetails.ts";
1466
+ export type * from "./twapHistory.ts";
1467
+ export type * from "./txDetails.ts";
1468
+ export type * from "./userDetails.ts";
1469
+ export type { UserDexAbstractionParameters as UserDexAbstractionInfoParameters, UserDexAbstractionRequest as UserDexAbstractionInfoRequest, UserDexAbstractionResponse as UserDexAbstractionInfoResponse, } from "./userDexAbstraction.ts";
1470
+ export type * from "./userFees.ts";
1471
+ export type * from "./userFills.ts";
1472
+ export type * from "./userFillsByTime.ts";
1473
+ export type * from "./userFunding.ts";
1474
+ export type * from "./userNonFundingLedgerUpdates.ts";
1475
+ export type * from "./userRateLimit.ts";
1476
+ export type * from "./userRole.ts";
1477
+ export type * from "./userToMultiSigSigners.ts";
1478
+ export type * from "./userTwapSliceFills.ts";
1479
+ export type * from "./userTwapSliceFillsByTime.ts";
1480
+ export type * from "./userVaultEquities.ts";
1481
+ export type * from "./validatorL1Votes.ts";
1482
+ export type * from "./validatorSummaries.ts";
1483
+ export type * from "./vaultDetails.ts";
1484
+ export type * from "./vaultSummaries.ts";
1485
+ export type * from "./webData2.ts";
1486
+ export type { InfoRequestConfig } from "./_types.ts";
2697
1487
  //# sourceMappingURL=~client.d.ts.map