@nktkas/hyperliquid 0.25.8 → 0.26.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 (2230) hide show
  1. package/README.md +25 -21
  2. package/bin/cli.ts +318 -0
  3. package/dist/bin/_utils.d.ts.map +1 -0
  4. package/dist/bin/_utils.js.map +1 -0
  5. package/dist/bin/cli.d.ts.map +1 -0
  6. package/dist/bin/cli.js +298 -0
  7. package/dist/bin/cli.js.map +1 -0
  8. package/dist/src/_base.d.ts.map +1 -0
  9. package/dist/src/_base.js.map +1 -0
  10. package/dist/src/api/_base.d.ts +53 -0
  11. package/dist/src/api/_base.d.ts.map +1 -0
  12. package/dist/src/api/_base.js +65 -0
  13. package/dist/src/api/_base.js.map +1 -0
  14. package/dist/src/api/_common_schemas.d.ts +425 -0
  15. package/dist/src/api/_common_schemas.d.ts.map +1 -0
  16. package/dist/src/api/_common_schemas.js.map +1 -0
  17. package/dist/src/api/exchange/_base/_errors.d.ts +16 -0
  18. package/dist/src/api/exchange/_base/_errors.d.ts.map +1 -0
  19. package/dist/src/api/exchange/_base/_errors.js +51 -0
  20. package/dist/src/api/exchange/_base/_errors.js.map +1 -0
  21. package/dist/src/api/exchange/_base/_execute.d.ts +33 -0
  22. package/dist/src/api/exchange/_base/_execute.d.ts.map +1 -0
  23. package/dist/src/api/exchange/_base/_execute.js.map +1 -0
  24. package/dist/src/api/exchange/_base/_helpers.d.ts +11 -0
  25. package/dist/src/api/exchange/_base/_helpers.d.ts.map +1 -0
  26. package/dist/src/api/exchange/_base/_helpers.js.map +1 -0
  27. package/dist/src/api/exchange/_base/_nonce.d.ts.map +1 -0
  28. package/dist/src/api/exchange/_base/_nonce.js.map +1 -0
  29. package/dist/src/api/exchange/_base/_schemas.d.ts.map +1 -0
  30. package/dist/src/api/exchange/_base/_schemas.js.map +1 -0
  31. package/dist/src/api/exchange/_base/_types.d.ts +61 -0
  32. package/dist/src/api/exchange/_base/_types.d.ts.map +1 -0
  33. package/dist/src/api/exchange/_base/_types.js.map +1 -0
  34. package/dist/src/api/exchange/_base/mod.d.ts +6 -0
  35. package/dist/src/api/exchange/_base/mod.d.ts.map +1 -0
  36. package/dist/src/api/exchange/_base/mod.js.map +1 -0
  37. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts +74 -0
  38. package/dist/src/api/exchange/agentEnableDexAbstraction.d.ts.map +1 -0
  39. package/dist/src/api/exchange/agentEnableDexAbstraction.js.map +1 -0
  40. package/dist/src/api/exchange/approveAgent.d.ts +104 -0
  41. package/dist/src/api/exchange/approveAgent.d.ts.map +1 -0
  42. package/dist/src/api/exchange/approveAgent.js.map +1 -0
  43. package/dist/src/api/exchange/approveBuilderFee.d.ts +104 -0
  44. package/dist/src/api/exchange/approveBuilderFee.d.ts.map +1 -0
  45. package/dist/src/api/exchange/approveBuilderFee.js.map +1 -0
  46. package/dist/src/api/exchange/batchModify.d.ts +221 -0
  47. package/dist/src/api/exchange/batchModify.d.ts.map +1 -0
  48. package/dist/src/api/exchange/batchModify.js.map +1 -0
  49. package/dist/src/api/exchange/cDeposit.d.ts +100 -0
  50. package/dist/src/api/exchange/cDeposit.d.ts.map +1 -0
  51. package/dist/src/api/exchange/cDeposit.js.map +1 -0
  52. package/dist/src/api/exchange/cSignerAction.d.ts +102 -0
  53. package/dist/src/api/exchange/cSignerAction.d.ts.map +1 -0
  54. package/dist/src/api/exchange/cSignerAction.js.map +1 -0
  55. package/dist/src/api/exchange/cValidatorAction.d.ts +265 -0
  56. package/dist/src/api/exchange/cValidatorAction.d.ts.map +1 -0
  57. package/dist/src/api/exchange/cValidatorAction.js.map +1 -0
  58. package/dist/src/api/exchange/cWithdraw.d.ts +100 -0
  59. package/dist/src/api/exchange/cWithdraw.d.ts.map +1 -0
  60. package/dist/src/api/exchange/cWithdraw.js.map +1 -0
  61. package/dist/src/api/exchange/cancel.d.ts +176 -0
  62. package/dist/src/api/exchange/cancel.d.ts.map +1 -0
  63. package/dist/src/api/exchange/cancel.js.map +1 -0
  64. package/dist/src/api/exchange/cancelByCloid.d.ts +105 -0
  65. package/dist/src/api/exchange/cancelByCloid.d.ts.map +1 -0
  66. package/dist/src/api/exchange/cancelByCloid.js.map +1 -0
  67. package/dist/src/api/exchange/claimRewards.d.ts +72 -0
  68. package/dist/src/api/exchange/claimRewards.d.ts.map +1 -0
  69. package/dist/src/api/exchange/claimRewards.js.map +1 -0
  70. package/dist/src/api/exchange/convertToMultiSigUser.d.ts +149 -0
  71. package/dist/src/api/exchange/convertToMultiSigUser.d.ts.map +1 -0
  72. package/dist/src/api/exchange/convertToMultiSigUser.js.map +1 -0
  73. package/dist/src/api/exchange/createSubAccount.d.ts +104 -0
  74. package/dist/src/api/exchange/createSubAccount.d.ts.map +1 -0
  75. package/dist/src/api/exchange/createSubAccount.js.map +1 -0
  76. package/dist/src/api/exchange/createVault.d.ts +120 -0
  77. package/dist/src/api/exchange/createVault.d.ts.map +1 -0
  78. package/dist/src/api/exchange/createVault.js.map +1 -0
  79. package/dist/src/api/exchange/evmUserModify.d.ts +84 -0
  80. package/dist/src/api/exchange/evmUserModify.d.ts.map +1 -0
  81. package/dist/src/api/exchange/evmUserModify.js.map +1 -0
  82. package/dist/src/api/exchange/linkStakingUser.d.ts +112 -0
  83. package/dist/src/api/exchange/linkStakingUser.d.ts.map +1 -0
  84. package/dist/src/api/exchange/linkStakingUser.js.map +1 -0
  85. package/dist/src/api/exchange/modify.d.ts +190 -0
  86. package/dist/src/api/exchange/modify.d.ts.map +1 -0
  87. package/dist/src/api/exchange/modify.js.map +1 -0
  88. package/dist/src/api/exchange/multiSig.d.ts +2964 -0
  89. package/dist/src/api/exchange/multiSig.d.ts.map +1 -0
  90. package/dist/src/api/exchange/multiSig.js.map +1 -0
  91. package/dist/src/api/exchange/noop.d.ts +74 -0
  92. package/dist/src/api/exchange/noop.d.ts.map +1 -0
  93. package/dist/src/api/exchange/noop.js.map +1 -0
  94. package/dist/src/api/exchange/order.d.ts +456 -0
  95. package/dist/src/api/exchange/order.d.ts.map +1 -0
  96. package/dist/src/api/exchange/order.js.map +1 -0
  97. package/dist/src/api/exchange/perpDeploy.d.ts +368 -0
  98. package/dist/src/api/exchange/perpDeploy.d.ts.map +1 -0
  99. package/dist/src/api/exchange/perpDeploy.js +196 -0
  100. package/dist/src/api/exchange/perpDeploy.js.map +1 -0
  101. package/dist/src/api/exchange/registerReferrer.d.ts +84 -0
  102. package/dist/src/api/exchange/registerReferrer.d.ts.map +1 -0
  103. package/dist/src/api/exchange/registerReferrer.js.map +1 -0
  104. package/dist/src/api/exchange/reserveRequestWeight.d.ts +84 -0
  105. package/dist/src/api/exchange/reserveRequestWeight.d.ts.map +1 -0
  106. package/dist/src/api/exchange/reserveRequestWeight.js.map +1 -0
  107. package/dist/src/api/exchange/scheduleCancel.d.ts +93 -0
  108. package/dist/src/api/exchange/scheduleCancel.d.ts.map +1 -0
  109. package/dist/src/api/exchange/scheduleCancel.js.map +1 -0
  110. package/dist/src/api/exchange/sendAsset.d.ts +126 -0
  111. package/dist/src/api/exchange/sendAsset.d.ts.map +1 -0
  112. package/dist/src/api/exchange/sendAsset.js.map +1 -0
  113. package/dist/src/api/exchange/setDisplayName.d.ts +88 -0
  114. package/dist/src/api/exchange/setDisplayName.d.ts.map +1 -0
  115. package/dist/src/api/exchange/setDisplayName.js.map +1 -0
  116. package/dist/src/api/exchange/setReferrer.d.ts +84 -0
  117. package/dist/src/api/exchange/setReferrer.d.ts.map +1 -0
  118. package/dist/src/api/exchange/setReferrer.js.map +1 -0
  119. package/dist/src/api/exchange/spotDeploy.d.ts +357 -0
  120. package/dist/src/api/exchange/spotDeploy.d.ts.map +1 -0
  121. package/dist/src/api/exchange/spotDeploy.js.map +1 -0
  122. package/dist/src/api/exchange/spotSend.d.ts +112 -0
  123. package/dist/src/api/exchange/spotSend.d.ts.map +1 -0
  124. package/dist/src/api/exchange/spotSend.js.map +1 -0
  125. package/dist/src/api/exchange/spotUser.d.ts +93 -0
  126. package/dist/src/api/exchange/spotUser.d.ts.map +1 -0
  127. package/dist/src/api/exchange/spotUser.js.map +1 -0
  128. package/dist/src/api/exchange/subAccountModify.d.ts +88 -0
  129. package/dist/src/api/exchange/subAccountModify.d.ts.map +1 -0
  130. package/dist/src/api/exchange/subAccountModify.js.map +1 -0
  131. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts +101 -0
  132. package/dist/src/api/exchange/subAccountSpotTransfer.d.ts.map +1 -0
  133. package/dist/src/api/exchange/subAccountSpotTransfer.js.map +1 -0
  134. package/dist/src/api/exchange/subAccountTransfer.d.ts +92 -0
  135. package/dist/src/api/exchange/subAccountTransfer.d.ts.map +1 -0
  136. package/dist/src/api/exchange/subAccountTransfer.js.map +1 -0
  137. package/dist/src/api/exchange/tokenDelegate.d.ts +108 -0
  138. package/dist/src/api/exchange/tokenDelegate.d.ts.map +1 -0
  139. package/dist/src/api/exchange/tokenDelegate.js.map +1 -0
  140. package/dist/src/api/exchange/twapCancel.d.ts +162 -0
  141. package/dist/src/api/exchange/twapCancel.d.ts.map +1 -0
  142. package/dist/src/api/exchange/twapCancel.js.map +1 -0
  143. package/dist/src/api/exchange/twapOrder.d.ts +249 -0
  144. package/dist/src/api/exchange/twapOrder.d.ts.map +1 -0
  145. package/dist/src/api/exchange/twapOrder.js.map +1 -0
  146. package/dist/src/api/exchange/updateIsolatedMargin.d.ts +95 -0
  147. package/dist/src/api/exchange/updateIsolatedMargin.d.ts.map +1 -0
  148. package/dist/src/api/exchange/updateIsolatedMargin.js.map +1 -0
  149. package/dist/src/api/exchange/updateLeverage.d.ts +95 -0
  150. package/dist/src/api/exchange/updateLeverage.d.ts.map +1 -0
  151. package/dist/src/api/exchange/updateLeverage.js.map +1 -0
  152. package/dist/src/api/exchange/usdClassTransfer.d.ts +104 -0
  153. package/dist/src/api/exchange/usdClassTransfer.d.ts.map +1 -0
  154. package/dist/src/api/exchange/usdClassTransfer.js.map +1 -0
  155. package/dist/src/api/exchange/usdSend.d.ts +104 -0
  156. package/dist/src/api/exchange/usdSend.d.ts.map +1 -0
  157. package/dist/src/api/exchange/usdSend.js.map +1 -0
  158. package/dist/src/api/exchange/userDexAbstraction.d.ts +104 -0
  159. package/dist/src/api/exchange/userDexAbstraction.d.ts.map +1 -0
  160. package/dist/src/api/exchange/userDexAbstraction.js.map +1 -0
  161. package/dist/src/api/exchange/vaultDistribute.d.ts +92 -0
  162. package/dist/src/api/exchange/vaultDistribute.d.ts.map +1 -0
  163. package/dist/src/api/exchange/vaultDistribute.js.map +1 -0
  164. package/dist/src/api/exchange/vaultModify.d.ts +96 -0
  165. package/dist/src/api/exchange/vaultModify.d.ts.map +1 -0
  166. package/dist/src/api/exchange/vaultModify.js.map +1 -0
  167. package/dist/src/api/exchange/vaultTransfer.d.ts +92 -0
  168. package/dist/src/api/exchange/vaultTransfer.d.ts.map +1 -0
  169. package/dist/src/api/exchange/vaultTransfer.js.map +1 -0
  170. package/dist/src/api/exchange/withdraw3.d.ts +104 -0
  171. package/dist/src/api/exchange/withdraw3.d.ts.map +1 -0
  172. package/dist/src/api/exchange/withdraw3.js.map +1 -0
  173. package/dist/src/api/exchange/~client.d.ts +1711 -0
  174. package/dist/src/api/exchange/~client.d.ts.map +1 -0
  175. package/dist/src/api/exchange/~client.js.map +1 -0
  176. package/dist/src/api/exchange/~mod.d.ts +86 -0
  177. package/dist/src/api/exchange/~mod.d.ts.map +1 -0
  178. package/dist/src/api/exchange/~mod.js.map +1 -0
  179. package/dist/src/api/info/_types.d.ts +7 -0
  180. package/dist/src/api/info/_types.d.ts.map +1 -0
  181. package/dist/src/api/info/_types.js.map +1 -0
  182. package/dist/src/api/info/activeAssetData.d.ts +98 -0
  183. package/dist/src/api/info/activeAssetData.d.ts.map +1 -0
  184. package/dist/src/api/info/activeAssetData.js.map +1 -0
  185. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts +66 -0
  186. package/dist/src/api/info/alignedQuoteTokenInfo.d.ts.map +1 -0
  187. package/dist/src/api/info/alignedQuoteTokenInfo.js +68 -0
  188. package/dist/src/api/info/alignedQuoteTokenInfo.js.map +1 -0
  189. package/dist/src/api/info/allMids.d.ts +49 -0
  190. package/dist/src/api/info/allMids.d.ts.map +1 -0
  191. package/dist/src/api/info/allMids.js.map +1 -0
  192. package/dist/src/api/info/allPerpMetas.d.ts +135 -0
  193. package/dist/src/api/info/allPerpMetas.d.ts.map +1 -0
  194. package/dist/src/api/info/allPerpMetas.js.map +1 -0
  195. package/dist/src/api/info/blockDetails.d.ts +151 -0
  196. package/dist/src/api/info/blockDetails.d.ts.map +1 -0
  197. package/dist/src/api/info/blockDetails.js.map +1 -0
  198. package/dist/src/api/info/candleSnapshot.d.ts +111 -0
  199. package/dist/src/api/info/candleSnapshot.d.ts.map +1 -0
  200. package/dist/src/api/info/candleSnapshot.js.map +1 -0
  201. package/dist/src/api/info/clearinghouseState.d.ts +269 -0
  202. package/dist/src/api/info/clearinghouseState.d.ts.map +1 -0
  203. package/dist/src/api/info/clearinghouseState.js.map +1 -0
  204. package/dist/src/api/info/delegations.d.ts +64 -0
  205. package/dist/src/api/info/delegations.d.ts.map +1 -0
  206. package/dist/src/api/info/delegations.js.map +1 -0
  207. package/dist/src/api/info/delegatorHistory.d.ts +142 -0
  208. package/dist/src/api/info/delegatorHistory.d.ts.map +1 -0
  209. package/dist/src/api/info/delegatorHistory.js.map +1 -0
  210. package/dist/src/api/info/delegatorRewards.d.ts +64 -0
  211. package/dist/src/api/info/delegatorRewards.d.ts.map +1 -0
  212. package/dist/src/api/info/delegatorRewards.js.map +1 -0
  213. package/dist/src/api/info/delegatorSummary.d.ts +63 -0
  214. package/dist/src/api/info/delegatorSummary.d.ts.map +1 -0
  215. package/dist/src/api/info/delegatorSummary.js.map +1 -0
  216. package/dist/src/api/info/exchangeStatus.d.ts +46 -0
  217. package/dist/src/api/info/exchangeStatus.d.ts.map +1 -0
  218. package/dist/src/api/info/exchangeStatus.js.map +1 -0
  219. package/dist/src/api/info/extraAgents.d.ts +64 -0
  220. package/dist/src/api/info/extraAgents.d.ts.map +1 -0
  221. package/dist/src/api/info/extraAgents.js.map +1 -0
  222. package/dist/src/api/info/frontendOpenOrders.d.ts +103 -0
  223. package/dist/src/api/info/frontendOpenOrders.d.ts.map +1 -0
  224. package/dist/src/api/info/frontendOpenOrders.js.map +1 -0
  225. package/dist/src/api/info/fundingHistory.d.ts +74 -0
  226. package/dist/src/api/info/fundingHistory.d.ts.map +1 -0
  227. package/dist/src/api/info/fundingHistory.js.map +1 -0
  228. package/dist/src/api/info/gossipRootIps.d.ts +39 -0
  229. package/dist/src/api/info/gossipRootIps.d.ts.map +1 -0
  230. package/dist/src/api/info/gossipRootIps.js.map +1 -0
  231. package/dist/src/api/info/historicalOrders.d.ts +132 -0
  232. package/dist/src/api/info/historicalOrders.d.ts.map +1 -0
  233. package/dist/src/api/info/historicalOrders.js.map +1 -0
  234. package/dist/src/api/info/isVip.d.ts +49 -0
  235. package/dist/src/api/info/isVip.d.ts.map +1 -0
  236. package/dist/src/api/info/isVip.js.map +1 -0
  237. package/dist/src/api/info/l2Book.d.ts +98 -0
  238. package/dist/src/api/info/l2Book.d.ts.map +1 -0
  239. package/dist/src/api/info/l2Book.js.map +1 -0
  240. package/dist/src/api/info/leadingVaults.d.ts +60 -0
  241. package/dist/src/api/info/leadingVaults.d.ts.map +1 -0
  242. package/dist/src/api/info/leadingVaults.js.map +1 -0
  243. package/dist/src/api/info/legalCheck.d.ts +60 -0
  244. package/dist/src/api/info/legalCheck.d.ts.map +1 -0
  245. package/dist/src/api/info/legalCheck.js.map +1 -0
  246. package/dist/src/api/info/liquidatable.d.ts +38 -0
  247. package/dist/src/api/info/liquidatable.d.ts.map +1 -0
  248. package/dist/src/api/info/liquidatable.js.map +1 -0
  249. package/dist/src/api/info/marginTable.d.ts +71 -0
  250. package/dist/src/api/info/marginTable.d.ts.map +1 -0
  251. package/dist/src/api/info/marginTable.js.map +1 -0
  252. package/dist/src/api/info/maxBuilderFee.d.ts +52 -0
  253. package/dist/src/api/info/maxBuilderFee.d.ts.map +1 -0
  254. package/dist/src/api/info/maxBuilderFee.js.map +1 -0
  255. package/dist/src/api/info/maxMarketOrderNtls.d.ts +41 -0
  256. package/dist/src/api/info/maxMarketOrderNtls.d.ts.map +1 -0
  257. package/dist/src/api/info/maxMarketOrderNtls.js.map +1 -0
  258. package/dist/src/api/info/meta.d.ts +133 -0
  259. package/dist/src/api/info/meta.d.ts.map +1 -0
  260. package/dist/src/api/info/meta.js.map +1 -0
  261. package/dist/src/api/info/metaAndAssetCtxs.d.ts +194 -0
  262. package/dist/src/api/info/metaAndAssetCtxs.d.ts.map +1 -0
  263. package/dist/src/api/info/metaAndAssetCtxs.js.map +1 -0
  264. package/dist/src/api/info/openOrders.d.ts +82 -0
  265. package/dist/src/api/info/openOrders.d.ts.map +1 -0
  266. package/dist/src/api/info/openOrders.js.map +1 -0
  267. package/dist/src/api/info/orderStatus.d.ts +150 -0
  268. package/dist/src/api/info/orderStatus.d.ts.map +1 -0
  269. package/dist/src/api/info/orderStatus.js.map +1 -0
  270. package/dist/src/api/info/perpDeployAuctionStatus.d.ts +56 -0
  271. package/dist/src/api/info/perpDeployAuctionStatus.d.ts.map +1 -0
  272. package/dist/src/api/info/perpDeployAuctionStatus.js.map +1 -0
  273. package/dist/src/api/info/perpDexLimits.d.ts +63 -0
  274. package/dist/src/api/info/perpDexLimits.d.ts.map +1 -0
  275. package/dist/src/api/info/perpDexLimits.js.map +1 -0
  276. package/dist/src/api/info/perpDexs.d.ts +78 -0
  277. package/dist/src/api/info/perpDexs.d.ts.map +1 -0
  278. package/dist/src/api/info/perpDexs.js +70 -0
  279. package/dist/src/api/info/perpDexs.js.map +1 -0
  280. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts +47 -0
  281. package/dist/src/api/info/perpsAtOpenInterestCap.d.ts.map +1 -0
  282. package/dist/src/api/info/perpsAtOpenInterestCap.js.map +1 -0
  283. package/dist/src/api/info/portfolio.d.ts +169 -0
  284. package/dist/src/api/info/portfolio.d.ts.map +1 -0
  285. package/dist/src/api/info/portfolio.js.map +1 -0
  286. package/dist/src/api/info/preTransferCheck.d.ts +66 -0
  287. package/dist/src/api/info/preTransferCheck.d.ts.map +1 -0
  288. package/dist/src/api/info/preTransferCheck.js.map +1 -0
  289. package/dist/src/api/info/predictedFundings.d.ts +66 -0
  290. package/dist/src/api/info/predictedFundings.d.ts.map +1 -0
  291. package/dist/src/api/info/predictedFundings.js.map +1 -0
  292. package/dist/src/api/info/recentTrades.d.ts +84 -0
  293. package/dist/src/api/info/recentTrades.d.ts.map +1 -0
  294. package/dist/src/api/info/recentTrades.js.map +1 -0
  295. package/dist/src/api/info/referral.d.ts +274 -0
  296. package/dist/src/api/info/referral.d.ts.map +1 -0
  297. package/dist/src/api/info/referral.js.map +1 -0
  298. package/dist/src/api/info/spotClearinghouseState.d.ts +103 -0
  299. package/dist/src/api/info/spotClearinghouseState.d.ts.map +1 -0
  300. package/dist/src/api/info/spotClearinghouseState.js.map +1 -0
  301. package/dist/src/api/info/spotDeployState.d.ts +162 -0
  302. package/dist/src/api/info/spotDeployState.d.ts.map +1 -0
  303. package/dist/src/api/info/spotDeployState.js.map +1 -0
  304. package/dist/src/api/info/spotMeta.d.ts +137 -0
  305. package/dist/src/api/info/spotMeta.d.ts.map +1 -0
  306. package/dist/src/api/info/spotMeta.js.map +1 -0
  307. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts +185 -0
  308. package/dist/src/api/info/spotMetaAndAssetCtxs.d.ts.map +1 -0
  309. package/dist/src/api/info/spotMetaAndAssetCtxs.js.map +1 -0
  310. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts +56 -0
  311. package/dist/src/api/info/spotPairDeployAuctionStatus.d.ts.map +1 -0
  312. package/dist/src/api/info/spotPairDeployAuctionStatus.js.map +1 -0
  313. package/dist/src/api/info/subAccounts.d.ts +412 -0
  314. package/dist/src/api/info/subAccounts.d.ts.map +1 -0
  315. package/dist/src/api/info/subAccounts.js.map +1 -0
  316. package/dist/src/api/info/subAccounts2.d.ts +498 -0
  317. package/dist/src/api/info/subAccounts2.d.ts.map +1 -0
  318. package/dist/src/api/info/subAccounts2.js.map +1 -0
  319. package/dist/src/api/info/tokenDetails.d.ts +114 -0
  320. package/dist/src/api/info/tokenDetails.d.ts.map +1 -0
  321. package/dist/src/api/info/tokenDetails.js.map +1 -0
  322. package/dist/src/api/info/twapHistory.d.ts +132 -0
  323. package/dist/src/api/info/twapHistory.d.ts.map +1 -0
  324. package/dist/src/api/info/twapHistory.js.map +1 -0
  325. package/dist/src/api/info/txDetails.d.ts +102 -0
  326. package/dist/src/api/info/txDetails.d.ts.map +1 -0
  327. package/dist/src/api/info/txDetails.js.map +1 -0
  328. package/dist/src/api/info/userDetails.d.ts +106 -0
  329. package/dist/src/api/info/userDetails.d.ts.map +1 -0
  330. package/dist/src/api/info/userDetails.js.map +1 -0
  331. package/dist/src/api/info/userDexAbstraction.d.ts +49 -0
  332. package/dist/src/api/info/userDexAbstraction.d.ts.map +1 -0
  333. package/dist/src/api/info/userDexAbstraction.js.map +1 -0
  334. package/dist/src/api/info/userFees.d.ts +269 -0
  335. package/dist/src/api/info/userFees.d.ts.map +1 -0
  336. package/dist/src/api/info/userFees.js.map +1 -0
  337. package/dist/src/api/info/userFills.d.ts +122 -0
  338. package/dist/src/api/info/userFills.d.ts.map +1 -0
  339. package/dist/src/api/info/userFills.js.map +1 -0
  340. package/dist/src/api/info/userFillsByTime.d.ts +128 -0
  341. package/dist/src/api/info/userFillsByTime.d.ts.map +1 -0
  342. package/dist/src/api/info/userFillsByTime.js.map +1 -0
  343. package/dist/src/api/info/userFunding.d.ts +104 -0
  344. package/dist/src/api/info/userFunding.d.ts.map +1 -0
  345. package/dist/src/api/info/userFunding.js.map +1 -0
  346. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts +711 -0
  347. package/dist/src/api/info/userNonFundingLedgerUpdates.d.ts.map +1 -0
  348. package/dist/src/api/info/userNonFundingLedgerUpdates.js.map +1 -0
  349. package/dist/src/api/info/userRateLimit.d.ts +63 -0
  350. package/dist/src/api/info/userRateLimit.d.ts.map +1 -0
  351. package/dist/src/api/info/userRateLimit.js +61 -0
  352. package/dist/src/api/info/userRateLimit.js.map +1 -0
  353. package/dist/src/api/info/userRole.d.ts +84 -0
  354. package/dist/src/api/info/userRole.d.ts.map +1 -0
  355. package/dist/src/api/info/userRole.js.map +1 -0
  356. package/dist/src/api/info/userToMultiSigSigners.d.ts +57 -0
  357. package/dist/src/api/info/userToMultiSigSigners.d.ts.map +1 -0
  358. package/dist/src/api/info/userToMultiSigSigners.js.map +1 -0
  359. package/dist/src/api/info/userTwapSliceFills.d.ts +124 -0
  360. package/dist/src/api/info/userTwapSliceFills.d.ts.map +1 -0
  361. package/dist/src/api/info/userTwapSliceFills.js.map +1 -0
  362. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts +133 -0
  363. package/dist/src/api/info/userTwapSliceFillsByTime.d.ts.map +1 -0
  364. package/dist/src/api/info/userTwapSliceFillsByTime.js.map +1 -0
  365. package/dist/src/api/info/userVaultEquities.d.ts +64 -0
  366. package/dist/src/api/info/userVaultEquities.d.ts.map +1 -0
  367. package/dist/src/api/info/userVaultEquities.js.map +1 -0
  368. package/dist/src/api/info/validatorL1Votes.d.ts +70 -0
  369. package/dist/src/api/info/validatorL1Votes.d.ts.map +1 -0
  370. package/dist/src/api/info/validatorL1Votes.js.map +1 -0
  371. package/dist/src/api/info/validatorSummaries.d.ts +155 -0
  372. package/dist/src/api/info/validatorSummaries.d.ts.map +1 -0
  373. package/dist/src/api/info/validatorSummaries.js.map +1 -0
  374. package/dist/src/api/info/vaultDetails.d.ts +359 -0
  375. package/dist/src/api/info/vaultDetails.d.ts.map +1 -0
  376. package/dist/src/api/info/vaultDetails.js +134 -0
  377. package/dist/src/api/info/vaultDetails.js.map +1 -0
  378. package/dist/src/api/info/vaultSummaries.d.ts +104 -0
  379. package/dist/src/api/info/vaultSummaries.d.ts.map +1 -0
  380. package/dist/src/api/info/vaultSummaries.js.map +1 -0
  381. package/dist/src/api/info/webData2.d.ts +821 -0
  382. package/dist/src/api/info/webData2.d.ts.map +1 -0
  383. package/dist/src/api/info/webData2.js.map +1 -0
  384. package/dist/src/api/info/~client.d.ts +2697 -0
  385. package/dist/src/api/info/~client.d.ts.map +1 -0
  386. package/dist/src/api/info/~client.js.map +1 -0
  387. package/dist/src/api/info/~mod.d.ts +91 -0
  388. package/dist/src/api/info/~mod.d.ts.map +1 -0
  389. package/dist/src/api/info/~mod.js.map +1 -0
  390. package/dist/src/api/subscription/_types.d.ts +7 -0
  391. package/dist/src/api/subscription/_types.d.ts.map +1 -0
  392. package/dist/src/api/subscription/_types.js.map +1 -0
  393. package/dist/src/api/subscription/activeAssetCtx.d.ts +97 -0
  394. package/dist/src/api/subscription/activeAssetCtx.d.ts.map +1 -0
  395. package/dist/src/api/subscription/activeAssetCtx.js.map +1 -0
  396. package/dist/src/api/subscription/activeAssetData.d.ts +84 -0
  397. package/dist/src/api/subscription/activeAssetData.d.ts.map +1 -0
  398. package/dist/src/api/subscription/activeAssetData.js.map +1 -0
  399. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts +89 -0
  400. package/dist/src/api/subscription/activeSpotAssetCtx.d.ts.map +1 -0
  401. package/dist/src/api/subscription/activeSpotAssetCtx.js.map +1 -0
  402. package/dist/src/api/subscription/allMids.d.ts +58 -0
  403. package/dist/src/api/subscription/allMids.d.ts.map +1 -0
  404. package/dist/src/api/subscription/allMids.js.map +1 -0
  405. package/dist/src/api/subscription/assetCtxs.d.ts +108 -0
  406. package/dist/src/api/subscription/assetCtxs.d.ts.map +1 -0
  407. package/dist/src/api/subscription/assetCtxs.js.map +1 -0
  408. package/dist/src/api/subscription/bbo.d.ts +89 -0
  409. package/dist/src/api/subscription/bbo.d.ts.map +1 -0
  410. package/dist/src/api/subscription/bbo.js.map +1 -0
  411. package/dist/src/api/subscription/candle.d.ts +71 -0
  412. package/dist/src/api/subscription/candle.d.ts.map +1 -0
  413. package/dist/src/api/subscription/candle.js.map +1 -0
  414. package/dist/src/api/subscription/clearinghouseState.d.ts +285 -0
  415. package/dist/src/api/subscription/clearinghouseState.d.ts.map +1 -0
  416. package/dist/src/api/subscription/clearinghouseState.js.map +1 -0
  417. package/dist/src/api/subscription/explorerBlock.d.ts +64 -0
  418. package/dist/src/api/subscription/explorerBlock.d.ts.map +1 -0
  419. package/dist/src/api/subscription/explorerBlock.js.map +1 -0
  420. package/dist/src/api/subscription/explorerTxs.d.ts +83 -0
  421. package/dist/src/api/subscription/explorerTxs.d.ts.map +1 -0
  422. package/dist/src/api/subscription/explorerTxs.js.map +1 -0
  423. package/dist/src/api/subscription/l2Book.d.ts +95 -0
  424. package/dist/src/api/subscription/l2Book.d.ts.map +1 -0
  425. package/dist/src/api/subscription/l2Book.js.map +1 -0
  426. package/dist/src/api/subscription/notification.d.ts +51 -0
  427. package/dist/src/api/subscription/notification.d.ts.map +1 -0
  428. package/dist/src/api/subscription/notification.js.map +1 -0
  429. package/dist/src/api/subscription/openOrders.d.ts +128 -0
  430. package/dist/src/api/subscription/openOrders.d.ts.map +1 -0
  431. package/dist/src/api/subscription/openOrders.js.map +1 -0
  432. package/dist/src/api/subscription/orderUpdates.d.ts +101 -0
  433. package/dist/src/api/subscription/orderUpdates.d.ts.map +1 -0
  434. package/dist/src/api/subscription/orderUpdates.js.map +1 -0
  435. package/dist/src/api/subscription/spotState.d.ts +91 -0
  436. package/dist/src/api/subscription/spotState.d.ts.map +1 -0
  437. package/dist/src/api/subscription/spotState.js.map +1 -0
  438. package/dist/src/api/subscription/trades.d.ts +73 -0
  439. package/dist/src/api/subscription/trades.d.ts.map +1 -0
  440. package/dist/src/api/subscription/trades.js.map +1 -0
  441. package/dist/src/api/subscription/userEvents.d.ts +876 -0
  442. package/dist/src/api/subscription/userEvents.d.ts.map +1 -0
  443. package/dist/src/api/subscription/userEvents.js +143 -0
  444. package/dist/src/api/subscription/userEvents.js.map +1 -0
  445. package/dist/src/api/subscription/userFills.d.ts +152 -0
  446. package/dist/src/api/subscription/userFills.d.ts.map +1 -0
  447. package/dist/src/api/subscription/userFills.js.map +1 -0
  448. package/dist/src/api/subscription/userFundings.d.ts +91 -0
  449. package/dist/src/api/subscription/userFundings.d.ts.map +1 -0
  450. package/dist/src/api/subscription/userFundings.js.map +1 -0
  451. package/dist/src/api/subscription/userHistoricalOrders.d.ts +161 -0
  452. package/dist/src/api/subscription/userHistoricalOrders.d.ts.map +1 -0
  453. package/dist/src/api/subscription/userHistoricalOrders.js.map +1 -0
  454. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts +493 -0
  455. package/dist/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +1 -0
  456. package/dist/src/api/subscription/userNonFundingLedgerUpdates.js.map +1 -0
  457. package/dist/src/api/subscription/userTwapHistory.d.ts +161 -0
  458. package/dist/src/api/subscription/userTwapHistory.d.ts.map +1 -0
  459. package/dist/src/api/subscription/userTwapHistory.js.map +1 -0
  460. package/dist/src/api/subscription/userTwapSliceFills.d.ts +132 -0
  461. package/dist/src/api/subscription/userTwapSliceFills.d.ts.map +1 -0
  462. package/dist/src/api/subscription/userTwapSliceFills.js.map +1 -0
  463. package/dist/src/api/subscription/webData2.d.ts +694 -0
  464. package/dist/src/api/subscription/webData2.d.ts.map +1 -0
  465. package/dist/src/api/subscription/webData2.js.map +1 -0
  466. package/dist/src/api/subscription/webData3.d.ts +541 -0
  467. package/dist/src/api/subscription/webData3.d.ts.map +1 -0
  468. package/dist/src/api/subscription/webData3.js.map +1 -0
  469. package/dist/src/api/subscription/~client.d.ts +577 -0
  470. package/dist/src/api/subscription/~client.d.ts.map +1 -0
  471. package/dist/src/api/subscription/~client.js.map +1 -0
  472. package/dist/src/api/subscription/~mod.d.ts +52 -0
  473. package/dist/src/api/subscription/~mod.d.ts.map +1 -0
  474. package/dist/src/api/subscription/~mod.js.map +1 -0
  475. package/dist/src/mod.d.ts +9 -0
  476. package/dist/src/mod.d.ts.map +1 -0
  477. package/dist/src/mod.js.map +1 -0
  478. package/dist/src/signing/_signTypedData.d.ts +123 -0
  479. package/dist/src/signing/_signTypedData.d.ts.map +1 -0
  480. package/dist/src/signing/_signTypedData.js +161 -0
  481. package/dist/src/signing/_signTypedData.js.map +1 -0
  482. package/dist/src/signing/mod.d.ts +324 -0
  483. package/dist/src/signing/mod.d.ts.map +1 -0
  484. package/dist/src/signing/mod.js +366 -0
  485. package/dist/src/signing/mod.js.map +1 -0
  486. package/dist/src/transport/_polyfills.d.ts +23 -0
  487. package/dist/src/transport/_polyfills.d.ts.map +1 -0
  488. package/dist/src/transport/_polyfills.js +48 -0
  489. package/dist/src/transport/_polyfills.js.map +1 -0
  490. package/dist/src/transport/base.d.ts +48 -0
  491. package/dist/src/transport/base.d.ts.map +1 -0
  492. package/dist/src/transport/base.js +9 -0
  493. package/dist/src/transport/base.js.map +1 -0
  494. package/dist/src/transport/http/mod.d.ts +94 -0
  495. package/dist/src/transport/http/mod.d.ts.map +1 -0
  496. package/dist/src/transport/http/mod.js.map +1 -0
  497. package/dist/src/transport/websocket/_hyperliquid_event_target.d.ts +91 -0
  498. package/dist/src/transport/websocket/_hyperliquid_event_target.d.ts.map +1 -0
  499. package/dist/src/transport/websocket/_hyperliquid_event_target.js +54 -0
  500. package/dist/src/transport/websocket/_hyperliquid_event_target.js.map +1 -0
  501. package/dist/src/transport/websocket/_websocket_async_request.d.ts +37 -0
  502. package/dist/src/transport/websocket/_websocket_async_request.d.ts.map +1 -0
  503. package/dist/src/transport/websocket/_websocket_async_request.js +192 -0
  504. package/dist/src/transport/websocket/_websocket_async_request.js.map +1 -0
  505. package/dist/src/transport/websocket/mod.d.ts +123 -0
  506. package/dist/src/transport/websocket/mod.d.ts.map +1 -0
  507. package/dist/src/transport/websocket/mod.js +250 -0
  508. package/dist/src/transport/websocket/mod.js.map +1 -0
  509. package/dist/src/utils/_eip712.d.ts +42 -0
  510. package/dist/src/utils/_eip712.d.ts.map +1 -0
  511. package/dist/src/utils/_eip712.js.map +1 -0
  512. package/dist/src/utils/_format.d.ts.map +1 -0
  513. package/dist/src/utils/_format.js.map +1 -0
  514. package/dist/src/utils/_recover.d.ts +89 -0
  515. package/dist/src/utils/_recover.d.ts.map +1 -0
  516. package/dist/src/utils/_recover.js.map +1 -0
  517. package/dist/src/utils/_symbolConverter.d.ts +90 -0
  518. package/dist/src/utils/_symbolConverter.d.ts.map +1 -0
  519. package/dist/src/utils/_symbolConverter.js.map +1 -0
  520. package/dist/src/utils/mod.d.ts +4 -0
  521. package/dist/src/utils/mod.d.ts.map +1 -0
  522. package/dist/src/utils/mod.js.map +1 -0
  523. package/package.json +47 -44
  524. package/src/api/_base.ts +159 -0
  525. package/src/api/_common_schemas.ts +767 -0
  526. package/src/api/exchange/_base/_errors.ts +57 -0
  527. package/src/api/exchange/_base/_execute.ts +244 -0
  528. package/src/api/exchange/_base/_helpers.ts +26 -0
  529. package/src/api/exchange/_base/_schemas.ts +73 -0
  530. package/src/api/exchange/_base/_types.ts +88 -0
  531. package/src/api/exchange/_base/mod.ts +5 -0
  532. package/src/api/exchange/agentEnableDexAbstraction.ts +104 -0
  533. package/src/api/exchange/approveAgent.ts +141 -0
  534. package/src/api/exchange/approveBuilderFee.ts +141 -0
  535. package/src/api/exchange/batchModify.ts +148 -0
  536. package/src/api/exchange/cDeposit.ts +135 -0
  537. package/src/api/exchange/cSignerAction.ts +136 -0
  538. package/src/api/exchange/cValidatorAction.ts +276 -0
  539. package/src/api/exchange/cWithdraw.ts +135 -0
  540. package/src/api/exchange/cancel.ts +218 -0
  541. package/src/api/exchange/cancelByCloid.ts +136 -0
  542. package/src/api/exchange/claimRewards.ts +100 -0
  543. package/src/api/exchange/convertToMultiSigUser.ts +192 -0
  544. package/src/api/exchange/createSubAccount.ts +144 -0
  545. package/src/api/exchange/createVault.ts +165 -0
  546. package/src/api/exchange/evmUserModify.ts +115 -0
  547. package/src/api/exchange/linkStakingUser.ts +157 -0
  548. package/src/api/exchange/modify.ts +139 -0
  549. package/src/api/exchange/multiSig.ts +303 -0
  550. package/src/api/exchange/noop.ts +102 -0
  551. package/src/api/exchange/order.ts +350 -0
  552. package/src/api/exchange/perpDeploy.ts +381 -0
  553. package/src/api/exchange/registerReferrer.ts +116 -0
  554. package/src/api/exchange/reserveRequestWeight.ts +115 -0
  555. package/src/api/exchange/scheduleCancel.ts +145 -0
  556. package/src/api/exchange/sendAsset.ts +171 -0
  557. package/src/api/exchange/setDisplayName.ts +122 -0
  558. package/src/api/exchange/setReferrer.ts +116 -0
  559. package/src/api/exchange/spotDeploy.ts +358 -0
  560. package/src/api/exchange/spotSend.ts +151 -0
  561. package/src/api/exchange/spotUser.ts +121 -0
  562. package/src/api/exchange/subAccountModify.ts +121 -0
  563. package/src/api/exchange/subAccountSpotTransfer.ts +135 -0
  564. package/src/api/exchange/subAccountTransfer.ts +125 -0
  565. package/src/api/exchange/tokenDelegate.ts +147 -0
  566. package/src/api/exchange/twapCancel.ts +206 -0
  567. package/src/api/exchange/twapOrder.ts +265 -0
  568. package/src/api/exchange/updateIsolatedMargin.ts +131 -0
  569. package/src/api/exchange/updateLeverage.ts +131 -0
  570. package/src/api/exchange/usdClassTransfer.ts +141 -0
  571. package/src/api/exchange/usdSend.ts +141 -0
  572. package/src/api/exchange/userDexAbstraction.ts +145 -0
  573. package/src/api/exchange/vaultDistribute.ts +127 -0
  574. package/src/api/exchange/vaultModify.ts +129 -0
  575. package/src/api/exchange/vaultTransfer.ts +125 -0
  576. package/src/api/exchange/withdraw3.ts +141 -0
  577. package/src/api/exchange/~client.ts +1567 -0
  578. package/src/api/exchange/~mod.ts +87 -0
  579. package/src/api/info/_types.ts +7 -0
  580. package/src/api/info/activeAssetData.ts +147 -0
  581. package/src/api/info/alignedQuoteTokenInfo.ts +121 -0
  582. package/src/api/info/allMids.ts +88 -0
  583. package/src/api/info/allPerpMetas.ts +70 -0
  584. package/src/api/info/blockDetails.ts +165 -0
  585. package/src/api/info/candleSnapshot.ts +153 -0
  586. package/src/api/info/clearinghouseState.ts +279 -0
  587. package/src/api/info/delegations.ts +101 -0
  588. package/src/api/info/delegatorHistory.ts +156 -0
  589. package/src/api/info/delegatorRewards.ts +101 -0
  590. package/src/api/info/delegatorSummary.ts +100 -0
  591. package/src/api/info/exchangeStatus.ts +74 -0
  592. package/src/api/info/extraAgents.ts +102 -0
  593. package/src/api/info/frontendOpenOrders.ts +86 -0
  594. package/src/api/info/fundingHistory.ts +116 -0
  595. package/src/api/info/gossipRootIps.ts +65 -0
  596. package/src/api/info/historicalOrders.ts +97 -0
  597. package/src/api/info/isVip.ts +79 -0
  598. package/src/api/info/l2Book.ts +119 -0
  599. package/src/api/info/leadingVaults.ts +96 -0
  600. package/src/api/info/legalCheck.ts +95 -0
  601. package/src/api/info/liquidatable.ts +63 -0
  602. package/src/api/info/marginTable.ts +110 -0
  603. package/src/api/info/maxBuilderFee.ts +86 -0
  604. package/src/api/info/maxMarketOrderNtls.ts +74 -0
  605. package/src/api/info/meta.ts +160 -0
  606. package/src/api/info/metaAndAssetCtxs.ts +153 -0
  607. package/src/api/info/openOrders.ts +86 -0
  608. package/src/api/info/orderStatus.ts +122 -0
  609. package/src/api/info/perpDeployAuctionStatus.ts +91 -0
  610. package/src/api/info/perpDexLimits.ts +102 -0
  611. package/src/api/info/perpDexs.ts +124 -0
  612. package/src/api/info/perpsAtOpenInterestCap.ts +88 -0
  613. package/src/api/info/portfolio.ts +113 -0
  614. package/src/api/info/preTransferCheck.ts +105 -0
  615. package/src/api/info/predictedFundings.ts +117 -0
  616. package/src/api/info/recentTrades.ts +126 -0
  617. package/src/api/info/referral.ts +314 -0
  618. package/src/api/info/spotClearinghouseState.ts +121 -0
  619. package/src/api/info/spotDeployState.ts +194 -0
  620. package/src/api/info/spotMeta.ts +168 -0
  621. package/src/api/info/spotMetaAndAssetCtxs.ts +121 -0
  622. package/src/api/info/spotPairDeployAuctionStatus.ts +91 -0
  623. package/src/api/info/subAccounts.ts +111 -0
  624. package/src/api/info/subAccounts2.ts +120 -0
  625. package/src/api/info/tokenDetails.ts +178 -0
  626. package/src/api/info/twapHistory.ts +102 -0
  627. package/src/api/info/txDetails.ts +128 -0
  628. package/src/api/info/userDetails.ts +93 -0
  629. package/src/api/info/userDexAbstraction.ts +79 -0
  630. package/src/api/info/userFees.ts +333 -0
  631. package/src/api/info/userFills.ts +86 -0
  632. package/src/api/info/userFillsByTime.ts +96 -0
  633. package/src/api/info/userFunding.ts +142 -0
  634. package/src/api/info/userNonFundingLedgerUpdates.ts +530 -0
  635. package/src/api/info/userRateLimit.ts +100 -0
  636. package/src/api/info/userRole.ts +123 -0
  637. package/src/api/info/userToMultiSigSigners.ts +94 -0
  638. package/src/api/info/userTwapSliceFills.ts +95 -0
  639. package/src/api/info/userTwapSliceFillsByTime.ts +110 -0
  640. package/src/api/info/userVaultEquities.ts +101 -0
  641. package/src/api/info/validatorL1Votes.ts +94 -0
  642. package/src/api/info/validatorSummaries.ts +156 -0
  643. package/src/api/info/vaultDetails.ts +273 -0
  644. package/src/api/info/vaultSummaries.ts +133 -0
  645. package/src/api/info/webData2.ts +81 -0
  646. package/src/api/info/~client.ts +1716 -0
  647. package/src/api/info/~mod.ts +92 -0
  648. package/src/api/subscription/_types.ts +7 -0
  649. package/src/api/subscription/activeAssetCtx.ts +139 -0
  650. package/src/api/subscription/activeAssetData.ts +81 -0
  651. package/src/api/subscription/activeSpotAssetCtx.ts +129 -0
  652. package/src/api/subscription/allMids.ts +103 -0
  653. package/src/api/subscription/assetCtxs.ts +160 -0
  654. package/src/api/subscription/bbo.ts +95 -0
  655. package/src/api/subscription/candle.ts +79 -0
  656. package/src/api/subscription/clearinghouseState.ts +101 -0
  657. package/src/api/subscription/explorerBlock.ts +100 -0
  658. package/src/api/subscription/explorerTxs.ts +111 -0
  659. package/src/api/subscription/l2Book.ts +120 -0
  660. package/src/api/subscription/notification.ts +81 -0
  661. package/src/api/subscription/openOrders.ts +104 -0
  662. package/src/api/subscription/orderUpdates.ts +93 -0
  663. package/src/api/subscription/spotState.ts +96 -0
  664. package/src/api/subscription/trades.ts +76 -0
  665. package/src/api/subscription/userEvents.ts +275 -0
  666. package/src/api/subscription/userFills.ts +104 -0
  667. package/src/api/subscription/userFundings.ts +130 -0
  668. package/src/api/subscription/userHistoricalOrders.ts +111 -0
  669. package/src/api/subscription/userNonFundingLedgerUpdates.ts +95 -0
  670. package/src/api/subscription/userTwapHistory.ts +116 -0
  671. package/src/api/subscription/userTwapSliceFills.ts +105 -0
  672. package/src/api/subscription/webData2.ts +180 -0
  673. package/src/api/subscription/webData3.ts +179 -0
  674. package/src/api/subscription/~client.ts +713 -0
  675. package/src/api/subscription/~mod.ts +53 -0
  676. package/src/mod.ts +10 -0
  677. package/src/signing/_signTypedData.ts +314 -0
  678. package/src/signing/mod.ts +475 -0
  679. package/src/transport/_polyfills.ts +55 -0
  680. package/src/transport/base.ts +54 -0
  681. package/src/transport/http/mod.ts +218 -0
  682. package/src/transport/websocket/_hyperliquid_event_target.ts +137 -0
  683. package/src/transport/websocket/_websocket_async_request.ts +242 -0
  684. package/src/transport/websocket/mod.ts +349 -0
  685. package/src/utils/_eip712.ts +243 -0
  686. package/src/utils/_recover.ts +178 -0
  687. package/src/utils/_symbolConverter.ts +203 -0
  688. package/src/utils/mod.ts +3 -0
  689. package/CONTRIBUTING.md +0 -51
  690. package/esm/bin/_utils.d.ts.map +0 -1
  691. package/esm/bin/_utils.js.map +0 -1
  692. package/esm/bin/cli.d.ts.map +0 -1
  693. package/esm/bin/cli.js +0 -297
  694. package/esm/bin/cli.js.map +0 -1
  695. package/esm/package.json +0 -3
  696. package/esm/src/_base.d.ts.map +0 -1
  697. package/esm/src/_base.js.map +0 -1
  698. package/esm/src/api/_base.d.ts +0 -51
  699. package/esm/src/api/_base.d.ts.map +0 -1
  700. package/esm/src/api/_base.js +0 -62
  701. package/esm/src/api/_base.js.map +0 -1
  702. package/esm/src/api/_common_schemas.d.ts +0 -425
  703. package/esm/src/api/_common_schemas.d.ts.map +0 -1
  704. package/esm/src/api/_common_schemas.js.map +0 -1
  705. package/esm/src/api/exchange/_base/_errors.d.ts +0 -14
  706. package/esm/src/api/exchange/_base/_errors.d.ts.map +0 -1
  707. package/esm/src/api/exchange/_base/_errors.js +0 -51
  708. package/esm/src/api/exchange/_base/_errors.js.map +0 -1
  709. package/esm/src/api/exchange/_base/_execute.d.ts +0 -33
  710. package/esm/src/api/exchange/_base/_execute.d.ts.map +0 -1
  711. package/esm/src/api/exchange/_base/_execute.js.map +0 -1
  712. package/esm/src/api/exchange/_base/_helpers.d.ts +0 -11
  713. package/esm/src/api/exchange/_base/_helpers.d.ts.map +0 -1
  714. package/esm/src/api/exchange/_base/_helpers.js.map +0 -1
  715. package/esm/src/api/exchange/_base/_nonce.d.ts.map +0 -1
  716. package/esm/src/api/exchange/_base/_nonce.js.map +0 -1
  717. package/esm/src/api/exchange/_base/_schemas.d.ts.map +0 -1
  718. package/esm/src/api/exchange/_base/_schemas.js.map +0 -1
  719. package/esm/src/api/exchange/_base/_types.d.ts +0 -61
  720. package/esm/src/api/exchange/_base/_types.d.ts.map +0 -1
  721. package/esm/src/api/exchange/_base/_types.js.map +0 -1
  722. package/esm/src/api/exchange/_base/mod.d.ts +0 -6
  723. package/esm/src/api/exchange/_base/mod.d.ts.map +0 -1
  724. package/esm/src/api/exchange/_base/mod.js.map +0 -1
  725. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -74
  726. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
  727. package/esm/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
  728. package/esm/src/api/exchange/approveAgent.d.ts +0 -104
  729. package/esm/src/api/exchange/approveAgent.d.ts.map +0 -1
  730. package/esm/src/api/exchange/approveAgent.js.map +0 -1
  731. package/esm/src/api/exchange/approveBuilderFee.d.ts +0 -104
  732. package/esm/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
  733. package/esm/src/api/exchange/approveBuilderFee.js.map +0 -1
  734. package/esm/src/api/exchange/batchModify.d.ts +0 -221
  735. package/esm/src/api/exchange/batchModify.d.ts.map +0 -1
  736. package/esm/src/api/exchange/batchModify.js.map +0 -1
  737. package/esm/src/api/exchange/cDeposit.d.ts +0 -100
  738. package/esm/src/api/exchange/cDeposit.d.ts.map +0 -1
  739. package/esm/src/api/exchange/cDeposit.js.map +0 -1
  740. package/esm/src/api/exchange/cSignerAction.d.ts +0 -102
  741. package/esm/src/api/exchange/cSignerAction.d.ts.map +0 -1
  742. package/esm/src/api/exchange/cSignerAction.js.map +0 -1
  743. package/esm/src/api/exchange/cValidatorAction.d.ts +0 -265
  744. package/esm/src/api/exchange/cValidatorAction.d.ts.map +0 -1
  745. package/esm/src/api/exchange/cValidatorAction.js.map +0 -1
  746. package/esm/src/api/exchange/cWithdraw.d.ts +0 -100
  747. package/esm/src/api/exchange/cWithdraw.d.ts.map +0 -1
  748. package/esm/src/api/exchange/cWithdraw.js.map +0 -1
  749. package/esm/src/api/exchange/cancel.d.ts +0 -176
  750. package/esm/src/api/exchange/cancel.d.ts.map +0 -1
  751. package/esm/src/api/exchange/cancel.js.map +0 -1
  752. package/esm/src/api/exchange/cancelByCloid.d.ts +0 -105
  753. package/esm/src/api/exchange/cancelByCloid.d.ts.map +0 -1
  754. package/esm/src/api/exchange/cancelByCloid.js.map +0 -1
  755. package/esm/src/api/exchange/claimRewards.d.ts +0 -72
  756. package/esm/src/api/exchange/claimRewards.d.ts.map +0 -1
  757. package/esm/src/api/exchange/claimRewards.js.map +0 -1
  758. package/esm/src/api/exchange/convertToMultiSigUser.d.ts +0 -149
  759. package/esm/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
  760. package/esm/src/api/exchange/convertToMultiSigUser.js.map +0 -1
  761. package/esm/src/api/exchange/createSubAccount.d.ts +0 -104
  762. package/esm/src/api/exchange/createSubAccount.d.ts.map +0 -1
  763. package/esm/src/api/exchange/createSubAccount.js.map +0 -1
  764. package/esm/src/api/exchange/createVault.d.ts +0 -120
  765. package/esm/src/api/exchange/createVault.d.ts.map +0 -1
  766. package/esm/src/api/exchange/createVault.js.map +0 -1
  767. package/esm/src/api/exchange/evmUserModify.d.ts +0 -84
  768. package/esm/src/api/exchange/evmUserModify.d.ts.map +0 -1
  769. package/esm/src/api/exchange/evmUserModify.js.map +0 -1
  770. package/esm/src/api/exchange/linkStakingUser.d.ts +0 -112
  771. package/esm/src/api/exchange/linkStakingUser.d.ts.map +0 -1
  772. package/esm/src/api/exchange/linkStakingUser.js.map +0 -1
  773. package/esm/src/api/exchange/modify.d.ts +0 -190
  774. package/esm/src/api/exchange/modify.d.ts.map +0 -1
  775. package/esm/src/api/exchange/modify.js.map +0 -1
  776. package/esm/src/api/exchange/multiSig.d.ts +0 -2901
  777. package/esm/src/api/exchange/multiSig.d.ts.map +0 -1
  778. package/esm/src/api/exchange/multiSig.js.map +0 -1
  779. package/esm/src/api/exchange/noop.d.ts +0 -74
  780. package/esm/src/api/exchange/noop.d.ts.map +0 -1
  781. package/esm/src/api/exchange/noop.js.map +0 -1
  782. package/esm/src/api/exchange/order.d.ts +0 -456
  783. package/esm/src/api/exchange/order.d.ts.map +0 -1
  784. package/esm/src/api/exchange/order.js.map +0 -1
  785. package/esm/src/api/exchange/perpDeploy.d.ts +0 -342
  786. package/esm/src/api/exchange/perpDeploy.d.ts.map +0 -1
  787. package/esm/src/api/exchange/perpDeploy.js +0 -167
  788. package/esm/src/api/exchange/perpDeploy.js.map +0 -1
  789. package/esm/src/api/exchange/registerReferrer.d.ts +0 -84
  790. package/esm/src/api/exchange/registerReferrer.d.ts.map +0 -1
  791. package/esm/src/api/exchange/registerReferrer.js.map +0 -1
  792. package/esm/src/api/exchange/reserveRequestWeight.d.ts +0 -84
  793. package/esm/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
  794. package/esm/src/api/exchange/reserveRequestWeight.js.map +0 -1
  795. package/esm/src/api/exchange/scheduleCancel.d.ts +0 -93
  796. package/esm/src/api/exchange/scheduleCancel.d.ts.map +0 -1
  797. package/esm/src/api/exchange/scheduleCancel.js.map +0 -1
  798. package/esm/src/api/exchange/sendAsset.d.ts +0 -126
  799. package/esm/src/api/exchange/sendAsset.d.ts.map +0 -1
  800. package/esm/src/api/exchange/sendAsset.js.map +0 -1
  801. package/esm/src/api/exchange/setDisplayName.d.ts +0 -88
  802. package/esm/src/api/exchange/setDisplayName.d.ts.map +0 -1
  803. package/esm/src/api/exchange/setDisplayName.js.map +0 -1
  804. package/esm/src/api/exchange/setReferrer.d.ts +0 -84
  805. package/esm/src/api/exchange/setReferrer.d.ts.map +0 -1
  806. package/esm/src/api/exchange/setReferrer.js.map +0 -1
  807. package/esm/src/api/exchange/spotDeploy.d.ts +0 -357
  808. package/esm/src/api/exchange/spotDeploy.d.ts.map +0 -1
  809. package/esm/src/api/exchange/spotDeploy.js.map +0 -1
  810. package/esm/src/api/exchange/spotSend.d.ts +0 -112
  811. package/esm/src/api/exchange/spotSend.d.ts.map +0 -1
  812. package/esm/src/api/exchange/spotSend.js.map +0 -1
  813. package/esm/src/api/exchange/spotUser.d.ts +0 -93
  814. package/esm/src/api/exchange/spotUser.d.ts.map +0 -1
  815. package/esm/src/api/exchange/spotUser.js.map +0 -1
  816. package/esm/src/api/exchange/subAccountModify.d.ts +0 -88
  817. package/esm/src/api/exchange/subAccountModify.d.ts.map +0 -1
  818. package/esm/src/api/exchange/subAccountModify.js.map +0 -1
  819. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts +0 -101
  820. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
  821. package/esm/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
  822. package/esm/src/api/exchange/subAccountTransfer.d.ts +0 -92
  823. package/esm/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
  824. package/esm/src/api/exchange/subAccountTransfer.js.map +0 -1
  825. package/esm/src/api/exchange/tokenDelegate.d.ts +0 -108
  826. package/esm/src/api/exchange/tokenDelegate.d.ts.map +0 -1
  827. package/esm/src/api/exchange/tokenDelegate.js.map +0 -1
  828. package/esm/src/api/exchange/twapCancel.d.ts +0 -162
  829. package/esm/src/api/exchange/twapCancel.d.ts.map +0 -1
  830. package/esm/src/api/exchange/twapCancel.js.map +0 -1
  831. package/esm/src/api/exchange/twapOrder.d.ts +0 -249
  832. package/esm/src/api/exchange/twapOrder.d.ts.map +0 -1
  833. package/esm/src/api/exchange/twapOrder.js.map +0 -1
  834. package/esm/src/api/exchange/updateIsolatedMargin.d.ts +0 -95
  835. package/esm/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
  836. package/esm/src/api/exchange/updateIsolatedMargin.js.map +0 -1
  837. package/esm/src/api/exchange/updateLeverage.d.ts +0 -95
  838. package/esm/src/api/exchange/updateLeverage.d.ts.map +0 -1
  839. package/esm/src/api/exchange/updateLeverage.js.map +0 -1
  840. package/esm/src/api/exchange/usdClassTransfer.d.ts +0 -104
  841. package/esm/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
  842. package/esm/src/api/exchange/usdClassTransfer.js.map +0 -1
  843. package/esm/src/api/exchange/usdSend.d.ts +0 -104
  844. package/esm/src/api/exchange/usdSend.d.ts.map +0 -1
  845. package/esm/src/api/exchange/usdSend.js.map +0 -1
  846. package/esm/src/api/exchange/userDexAbstraction.d.ts +0 -104
  847. package/esm/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
  848. package/esm/src/api/exchange/userDexAbstraction.js.map +0 -1
  849. package/esm/src/api/exchange/vaultDistribute.d.ts +0 -92
  850. package/esm/src/api/exchange/vaultDistribute.d.ts.map +0 -1
  851. package/esm/src/api/exchange/vaultDistribute.js.map +0 -1
  852. package/esm/src/api/exchange/vaultModify.d.ts +0 -96
  853. package/esm/src/api/exchange/vaultModify.d.ts.map +0 -1
  854. package/esm/src/api/exchange/vaultModify.js.map +0 -1
  855. package/esm/src/api/exchange/vaultTransfer.d.ts +0 -92
  856. package/esm/src/api/exchange/vaultTransfer.d.ts.map +0 -1
  857. package/esm/src/api/exchange/vaultTransfer.js.map +0 -1
  858. package/esm/src/api/exchange/withdraw3.d.ts +0 -104
  859. package/esm/src/api/exchange/withdraw3.d.ts.map +0 -1
  860. package/esm/src/api/exchange/withdraw3.js.map +0 -1
  861. package/esm/src/api/exchange/~client.d.ts +0 -1711
  862. package/esm/src/api/exchange/~client.d.ts.map +0 -1
  863. package/esm/src/api/exchange/~client.js.map +0 -1
  864. package/esm/src/api/exchange/~mod.d.ts +0 -86
  865. package/esm/src/api/exchange/~mod.d.ts.map +0 -1
  866. package/esm/src/api/exchange/~mod.js.map +0 -1
  867. package/esm/src/api/info/_types.d.ts +0 -7
  868. package/esm/src/api/info/_types.d.ts.map +0 -1
  869. package/esm/src/api/info/_types.js.map +0 -1
  870. package/esm/src/api/info/activeAssetData.d.ts +0 -98
  871. package/esm/src/api/info/activeAssetData.d.ts.map +0 -1
  872. package/esm/src/api/info/activeAssetData.js.map +0 -1
  873. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
  874. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
  875. package/esm/src/api/info/alignedQuoteTokenInfo.js +0 -68
  876. package/esm/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
  877. package/esm/src/api/info/allMids.d.ts +0 -49
  878. package/esm/src/api/info/allMids.d.ts.map +0 -1
  879. package/esm/src/api/info/allMids.js.map +0 -1
  880. package/esm/src/api/info/allPerpMetas.d.ts +0 -135
  881. package/esm/src/api/info/allPerpMetas.d.ts.map +0 -1
  882. package/esm/src/api/info/allPerpMetas.js.map +0 -1
  883. package/esm/src/api/info/blockDetails.d.ts +0 -151
  884. package/esm/src/api/info/blockDetails.d.ts.map +0 -1
  885. package/esm/src/api/info/blockDetails.js.map +0 -1
  886. package/esm/src/api/info/candleSnapshot.d.ts +0 -111
  887. package/esm/src/api/info/candleSnapshot.d.ts.map +0 -1
  888. package/esm/src/api/info/candleSnapshot.js.map +0 -1
  889. package/esm/src/api/info/clearinghouseState.d.ts +0 -269
  890. package/esm/src/api/info/clearinghouseState.d.ts.map +0 -1
  891. package/esm/src/api/info/clearinghouseState.js.map +0 -1
  892. package/esm/src/api/info/delegations.d.ts +0 -64
  893. package/esm/src/api/info/delegations.d.ts.map +0 -1
  894. package/esm/src/api/info/delegations.js.map +0 -1
  895. package/esm/src/api/info/delegatorHistory.d.ts +0 -142
  896. package/esm/src/api/info/delegatorHistory.d.ts.map +0 -1
  897. package/esm/src/api/info/delegatorHistory.js.map +0 -1
  898. package/esm/src/api/info/delegatorRewards.d.ts +0 -64
  899. package/esm/src/api/info/delegatorRewards.d.ts.map +0 -1
  900. package/esm/src/api/info/delegatorRewards.js.map +0 -1
  901. package/esm/src/api/info/delegatorSummary.d.ts +0 -63
  902. package/esm/src/api/info/delegatorSummary.d.ts.map +0 -1
  903. package/esm/src/api/info/delegatorSummary.js.map +0 -1
  904. package/esm/src/api/info/exchangeStatus.d.ts +0 -46
  905. package/esm/src/api/info/exchangeStatus.d.ts.map +0 -1
  906. package/esm/src/api/info/exchangeStatus.js.map +0 -1
  907. package/esm/src/api/info/extraAgents.d.ts +0 -64
  908. package/esm/src/api/info/extraAgents.d.ts.map +0 -1
  909. package/esm/src/api/info/extraAgents.js.map +0 -1
  910. package/esm/src/api/info/frontendOpenOrders.d.ts +0 -103
  911. package/esm/src/api/info/frontendOpenOrders.d.ts.map +0 -1
  912. package/esm/src/api/info/frontendOpenOrders.js.map +0 -1
  913. package/esm/src/api/info/fundingHistory.d.ts +0 -74
  914. package/esm/src/api/info/fundingHistory.d.ts.map +0 -1
  915. package/esm/src/api/info/fundingHistory.js.map +0 -1
  916. package/esm/src/api/info/gossipRootIps.d.ts +0 -39
  917. package/esm/src/api/info/gossipRootIps.d.ts.map +0 -1
  918. package/esm/src/api/info/gossipRootIps.js.map +0 -1
  919. package/esm/src/api/info/historicalOrders.d.ts +0 -132
  920. package/esm/src/api/info/historicalOrders.d.ts.map +0 -1
  921. package/esm/src/api/info/historicalOrders.js.map +0 -1
  922. package/esm/src/api/info/isVip.d.ts +0 -49
  923. package/esm/src/api/info/isVip.d.ts.map +0 -1
  924. package/esm/src/api/info/isVip.js.map +0 -1
  925. package/esm/src/api/info/l2Book.d.ts +0 -98
  926. package/esm/src/api/info/l2Book.d.ts.map +0 -1
  927. package/esm/src/api/info/l2Book.js.map +0 -1
  928. package/esm/src/api/info/leadingVaults.d.ts +0 -60
  929. package/esm/src/api/info/leadingVaults.d.ts.map +0 -1
  930. package/esm/src/api/info/leadingVaults.js.map +0 -1
  931. package/esm/src/api/info/legalCheck.d.ts +0 -60
  932. package/esm/src/api/info/legalCheck.d.ts.map +0 -1
  933. package/esm/src/api/info/legalCheck.js.map +0 -1
  934. package/esm/src/api/info/liquidatable.d.ts +0 -38
  935. package/esm/src/api/info/liquidatable.d.ts.map +0 -1
  936. package/esm/src/api/info/liquidatable.js.map +0 -1
  937. package/esm/src/api/info/marginTable.d.ts +0 -71
  938. package/esm/src/api/info/marginTable.d.ts.map +0 -1
  939. package/esm/src/api/info/marginTable.js.map +0 -1
  940. package/esm/src/api/info/maxBuilderFee.d.ts +0 -52
  941. package/esm/src/api/info/maxBuilderFee.d.ts.map +0 -1
  942. package/esm/src/api/info/maxBuilderFee.js.map +0 -1
  943. package/esm/src/api/info/maxMarketOrderNtls.d.ts +0 -41
  944. package/esm/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
  945. package/esm/src/api/info/maxMarketOrderNtls.js.map +0 -1
  946. package/esm/src/api/info/meta.d.ts +0 -133
  947. package/esm/src/api/info/meta.d.ts.map +0 -1
  948. package/esm/src/api/info/meta.js.map +0 -1
  949. package/esm/src/api/info/metaAndAssetCtxs.d.ts +0 -194
  950. package/esm/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
  951. package/esm/src/api/info/metaAndAssetCtxs.js.map +0 -1
  952. package/esm/src/api/info/openOrders.d.ts +0 -82
  953. package/esm/src/api/info/openOrders.d.ts.map +0 -1
  954. package/esm/src/api/info/openOrders.js.map +0 -1
  955. package/esm/src/api/info/orderStatus.d.ts +0 -150
  956. package/esm/src/api/info/orderStatus.d.ts.map +0 -1
  957. package/esm/src/api/info/orderStatus.js.map +0 -1
  958. package/esm/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
  959. package/esm/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
  960. package/esm/src/api/info/perpDeployAuctionStatus.js.map +0 -1
  961. package/esm/src/api/info/perpDexLimits.d.ts +0 -63
  962. package/esm/src/api/info/perpDexLimits.d.ts.map +0 -1
  963. package/esm/src/api/info/perpDexLimits.js.map +0 -1
  964. package/esm/src/api/info/perpDexs.d.ts +0 -70
  965. package/esm/src/api/info/perpDexs.d.ts.map +0 -1
  966. package/esm/src/api/info/perpDexs.js +0 -66
  967. package/esm/src/api/info/perpDexs.js.map +0 -1
  968. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
  969. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
  970. package/esm/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
  971. package/esm/src/api/info/portfolio.d.ts +0 -169
  972. package/esm/src/api/info/portfolio.d.ts.map +0 -1
  973. package/esm/src/api/info/portfolio.js.map +0 -1
  974. package/esm/src/api/info/preTransferCheck.d.ts +0 -66
  975. package/esm/src/api/info/preTransferCheck.d.ts.map +0 -1
  976. package/esm/src/api/info/preTransferCheck.js.map +0 -1
  977. package/esm/src/api/info/predictedFundings.d.ts +0 -66
  978. package/esm/src/api/info/predictedFundings.d.ts.map +0 -1
  979. package/esm/src/api/info/predictedFundings.js.map +0 -1
  980. package/esm/src/api/info/recentTrades.d.ts +0 -84
  981. package/esm/src/api/info/recentTrades.d.ts.map +0 -1
  982. package/esm/src/api/info/recentTrades.js.map +0 -1
  983. package/esm/src/api/info/referral.d.ts +0 -274
  984. package/esm/src/api/info/referral.d.ts.map +0 -1
  985. package/esm/src/api/info/referral.js.map +0 -1
  986. package/esm/src/api/info/spotClearinghouseState.d.ts +0 -103
  987. package/esm/src/api/info/spotClearinghouseState.d.ts.map +0 -1
  988. package/esm/src/api/info/spotClearinghouseState.js.map +0 -1
  989. package/esm/src/api/info/spotDeployState.d.ts +0 -162
  990. package/esm/src/api/info/spotDeployState.d.ts.map +0 -1
  991. package/esm/src/api/info/spotDeployState.js.map +0 -1
  992. package/esm/src/api/info/spotMeta.d.ts +0 -137
  993. package/esm/src/api/info/spotMeta.d.ts.map +0 -1
  994. package/esm/src/api/info/spotMeta.js.map +0 -1
  995. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
  996. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
  997. package/esm/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
  998. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
  999. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
  1000. package/esm/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
  1001. package/esm/src/api/info/subAccounts.d.ts +0 -412
  1002. package/esm/src/api/info/subAccounts.d.ts.map +0 -1
  1003. package/esm/src/api/info/subAccounts.js.map +0 -1
  1004. package/esm/src/api/info/subAccounts2.d.ts +0 -498
  1005. package/esm/src/api/info/subAccounts2.d.ts.map +0 -1
  1006. package/esm/src/api/info/subAccounts2.js.map +0 -1
  1007. package/esm/src/api/info/tokenDetails.d.ts +0 -114
  1008. package/esm/src/api/info/tokenDetails.d.ts.map +0 -1
  1009. package/esm/src/api/info/tokenDetails.js.map +0 -1
  1010. package/esm/src/api/info/twapHistory.d.ts +0 -132
  1011. package/esm/src/api/info/twapHistory.d.ts.map +0 -1
  1012. package/esm/src/api/info/twapHistory.js.map +0 -1
  1013. package/esm/src/api/info/txDetails.d.ts +0 -102
  1014. package/esm/src/api/info/txDetails.d.ts.map +0 -1
  1015. package/esm/src/api/info/txDetails.js.map +0 -1
  1016. package/esm/src/api/info/userDetails.d.ts +0 -106
  1017. package/esm/src/api/info/userDetails.d.ts.map +0 -1
  1018. package/esm/src/api/info/userDetails.js.map +0 -1
  1019. package/esm/src/api/info/userDexAbstraction.d.ts +0 -49
  1020. package/esm/src/api/info/userDexAbstraction.d.ts.map +0 -1
  1021. package/esm/src/api/info/userDexAbstraction.js.map +0 -1
  1022. package/esm/src/api/info/userFees.d.ts +0 -269
  1023. package/esm/src/api/info/userFees.d.ts.map +0 -1
  1024. package/esm/src/api/info/userFees.js.map +0 -1
  1025. package/esm/src/api/info/userFills.d.ts +0 -122
  1026. package/esm/src/api/info/userFills.d.ts.map +0 -1
  1027. package/esm/src/api/info/userFills.js.map +0 -1
  1028. package/esm/src/api/info/userFillsByTime.d.ts +0 -128
  1029. package/esm/src/api/info/userFillsByTime.d.ts.map +0 -1
  1030. package/esm/src/api/info/userFillsByTime.js.map +0 -1
  1031. package/esm/src/api/info/userFunding.d.ts +0 -104
  1032. package/esm/src/api/info/userFunding.d.ts.map +0 -1
  1033. package/esm/src/api/info/userFunding.js.map +0 -1
  1034. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
  1035. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
  1036. package/esm/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
  1037. package/esm/src/api/info/userRateLimit.d.ts +0 -60
  1038. package/esm/src/api/info/userRateLimit.d.ts.map +0 -1
  1039. package/esm/src/api/info/userRateLimit.js +0 -59
  1040. package/esm/src/api/info/userRateLimit.js.map +0 -1
  1041. package/esm/src/api/info/userRole.d.ts +0 -84
  1042. package/esm/src/api/info/userRole.d.ts.map +0 -1
  1043. package/esm/src/api/info/userRole.js.map +0 -1
  1044. package/esm/src/api/info/userToMultiSigSigners.d.ts +0 -57
  1045. package/esm/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
  1046. package/esm/src/api/info/userToMultiSigSigners.js.map +0 -1
  1047. package/esm/src/api/info/userTwapSliceFills.d.ts +0 -124
  1048. package/esm/src/api/info/userTwapSliceFills.d.ts.map +0 -1
  1049. package/esm/src/api/info/userTwapSliceFills.js.map +0 -1
  1050. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
  1051. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
  1052. package/esm/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
  1053. package/esm/src/api/info/userVaultEquities.d.ts +0 -64
  1054. package/esm/src/api/info/userVaultEquities.d.ts.map +0 -1
  1055. package/esm/src/api/info/userVaultEquities.js.map +0 -1
  1056. package/esm/src/api/info/validatorL1Votes.d.ts +0 -70
  1057. package/esm/src/api/info/validatorL1Votes.d.ts.map +0 -1
  1058. package/esm/src/api/info/validatorL1Votes.js.map +0 -1
  1059. package/esm/src/api/info/validatorSummaries.d.ts +0 -155
  1060. package/esm/src/api/info/validatorSummaries.d.ts.map +0 -1
  1061. package/esm/src/api/info/validatorSummaries.js.map +0 -1
  1062. package/esm/src/api/info/vaultDetails.d.ts +0 -359
  1063. package/esm/src/api/info/vaultDetails.d.ts.map +0 -1
  1064. package/esm/src/api/info/vaultDetails.js +0 -134
  1065. package/esm/src/api/info/vaultDetails.js.map +0 -1
  1066. package/esm/src/api/info/vaultSummaries.d.ts +0 -104
  1067. package/esm/src/api/info/vaultSummaries.d.ts.map +0 -1
  1068. package/esm/src/api/info/vaultSummaries.js.map +0 -1
  1069. package/esm/src/api/info/webData2.d.ts +0 -821
  1070. package/esm/src/api/info/webData2.d.ts.map +0 -1
  1071. package/esm/src/api/info/webData2.js.map +0 -1
  1072. package/esm/src/api/info/~client.d.ts +0 -2694
  1073. package/esm/src/api/info/~client.d.ts.map +0 -1
  1074. package/esm/src/api/info/~client.js.map +0 -1
  1075. package/esm/src/api/info/~mod.d.ts +0 -91
  1076. package/esm/src/api/info/~mod.d.ts.map +0 -1
  1077. package/esm/src/api/info/~mod.js.map +0 -1
  1078. package/esm/src/api/subscription/_types.d.ts +0 -7
  1079. package/esm/src/api/subscription/_types.d.ts.map +0 -1
  1080. package/esm/src/api/subscription/_types.js.map +0 -1
  1081. package/esm/src/api/subscription/activeAssetCtx.d.ts +0 -97
  1082. package/esm/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
  1083. package/esm/src/api/subscription/activeAssetCtx.js.map +0 -1
  1084. package/esm/src/api/subscription/activeAssetData.d.ts +0 -84
  1085. package/esm/src/api/subscription/activeAssetData.d.ts.map +0 -1
  1086. package/esm/src/api/subscription/activeAssetData.js.map +0 -1
  1087. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
  1088. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
  1089. package/esm/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
  1090. package/esm/src/api/subscription/allMids.d.ts +0 -58
  1091. package/esm/src/api/subscription/allMids.d.ts.map +0 -1
  1092. package/esm/src/api/subscription/allMids.js.map +0 -1
  1093. package/esm/src/api/subscription/assetCtxs.d.ts +0 -108
  1094. package/esm/src/api/subscription/assetCtxs.d.ts.map +0 -1
  1095. package/esm/src/api/subscription/assetCtxs.js.map +0 -1
  1096. package/esm/src/api/subscription/bbo.d.ts +0 -89
  1097. package/esm/src/api/subscription/bbo.d.ts.map +0 -1
  1098. package/esm/src/api/subscription/bbo.js.map +0 -1
  1099. package/esm/src/api/subscription/candle.d.ts +0 -71
  1100. package/esm/src/api/subscription/candle.d.ts.map +0 -1
  1101. package/esm/src/api/subscription/candle.js.map +0 -1
  1102. package/esm/src/api/subscription/clearinghouseState.d.ts +0 -285
  1103. package/esm/src/api/subscription/clearinghouseState.d.ts.map +0 -1
  1104. package/esm/src/api/subscription/clearinghouseState.js.map +0 -1
  1105. package/esm/src/api/subscription/explorerBlock.d.ts +0 -64
  1106. package/esm/src/api/subscription/explorerBlock.d.ts.map +0 -1
  1107. package/esm/src/api/subscription/explorerBlock.js.map +0 -1
  1108. package/esm/src/api/subscription/explorerTxs.d.ts +0 -83
  1109. package/esm/src/api/subscription/explorerTxs.d.ts.map +0 -1
  1110. package/esm/src/api/subscription/explorerTxs.js.map +0 -1
  1111. package/esm/src/api/subscription/l2Book.d.ts +0 -95
  1112. package/esm/src/api/subscription/l2Book.d.ts.map +0 -1
  1113. package/esm/src/api/subscription/l2Book.js.map +0 -1
  1114. package/esm/src/api/subscription/notification.d.ts +0 -51
  1115. package/esm/src/api/subscription/notification.d.ts.map +0 -1
  1116. package/esm/src/api/subscription/notification.js.map +0 -1
  1117. package/esm/src/api/subscription/openOrders.d.ts +0 -128
  1118. package/esm/src/api/subscription/openOrders.d.ts.map +0 -1
  1119. package/esm/src/api/subscription/openOrders.js.map +0 -1
  1120. package/esm/src/api/subscription/orderUpdates.d.ts +0 -101
  1121. package/esm/src/api/subscription/orderUpdates.d.ts.map +0 -1
  1122. package/esm/src/api/subscription/orderUpdates.js.map +0 -1
  1123. package/esm/src/api/subscription/spotState.d.ts +0 -91
  1124. package/esm/src/api/subscription/spotState.d.ts.map +0 -1
  1125. package/esm/src/api/subscription/spotState.js.map +0 -1
  1126. package/esm/src/api/subscription/trades.d.ts +0 -73
  1127. package/esm/src/api/subscription/trades.d.ts.map +0 -1
  1128. package/esm/src/api/subscription/trades.js.map +0 -1
  1129. package/esm/src/api/subscription/userEvents.d.ts +0 -851
  1130. package/esm/src/api/subscription/userEvents.d.ts.map +0 -1
  1131. package/esm/src/api/subscription/userEvents.js +0 -138
  1132. package/esm/src/api/subscription/userEvents.js.map +0 -1
  1133. package/esm/src/api/subscription/userFills.d.ts +0 -152
  1134. package/esm/src/api/subscription/userFills.d.ts.map +0 -1
  1135. package/esm/src/api/subscription/userFills.js.map +0 -1
  1136. package/esm/src/api/subscription/userFundings.d.ts +0 -91
  1137. package/esm/src/api/subscription/userFundings.d.ts.map +0 -1
  1138. package/esm/src/api/subscription/userFundings.js.map +0 -1
  1139. package/esm/src/api/subscription/userHistoricalOrders.d.ts +0 -161
  1140. package/esm/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
  1141. package/esm/src/api/subscription/userHistoricalOrders.js.map +0 -1
  1142. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
  1143. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
  1144. package/esm/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
  1145. package/esm/src/api/subscription/userTwapHistory.d.ts +0 -161
  1146. package/esm/src/api/subscription/userTwapHistory.d.ts.map +0 -1
  1147. package/esm/src/api/subscription/userTwapHistory.js.map +0 -1
  1148. package/esm/src/api/subscription/userTwapSliceFills.d.ts +0 -132
  1149. package/esm/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
  1150. package/esm/src/api/subscription/userTwapSliceFills.js.map +0 -1
  1151. package/esm/src/api/subscription/webData2.d.ts +0 -694
  1152. package/esm/src/api/subscription/webData2.d.ts.map +0 -1
  1153. package/esm/src/api/subscription/webData2.js.map +0 -1
  1154. package/esm/src/api/subscription/webData3.d.ts +0 -541
  1155. package/esm/src/api/subscription/webData3.d.ts.map +0 -1
  1156. package/esm/src/api/subscription/webData3.js.map +0 -1
  1157. package/esm/src/api/subscription/~client.d.ts +0 -577
  1158. package/esm/src/api/subscription/~client.d.ts.map +0 -1
  1159. package/esm/src/api/subscription/~client.js.map +0 -1
  1160. package/esm/src/api/subscription/~mod.d.ts +0 -52
  1161. package/esm/src/api/subscription/~mod.d.ts.map +0 -1
  1162. package/esm/src/api/subscription/~mod.js.map +0 -1
  1163. package/esm/src/mod.d.ts +0 -9
  1164. package/esm/src/mod.d.ts.map +0 -1
  1165. package/esm/src/mod.js.map +0 -1
  1166. package/esm/src/signing/_signTypedData.d.ts +0 -118
  1167. package/esm/src/signing/_signTypedData.d.ts.map +0 -1
  1168. package/esm/src/signing/_signTypedData.js +0 -103
  1169. package/esm/src/signing/_signTypedData.js.map +0 -1
  1170. package/esm/src/signing/mod.d.ts +0 -324
  1171. package/esm/src/signing/mod.d.ts.map +0 -1
  1172. package/esm/src/signing/mod.js +0 -366
  1173. package/esm/src/signing/mod.js.map +0 -1
  1174. package/esm/src/transport/_polyfills.d.ts +0 -12
  1175. package/esm/src/transport/_polyfills.d.ts.map +0 -1
  1176. package/esm/src/transport/_polyfills.js +0 -46
  1177. package/esm/src/transport/_polyfills.js.map +0 -1
  1178. package/esm/src/transport/base.d.ts +0 -48
  1179. package/esm/src/transport/base.d.ts.map +0 -1
  1180. package/esm/src/transport/base.js +0 -9
  1181. package/esm/src/transport/base.js.map +0 -1
  1182. package/esm/src/transport/http/mod.d.ts +0 -94
  1183. package/esm/src/transport/http/mod.d.ts.map +0 -1
  1184. package/esm/src/transport/http/mod.js.map +0 -1
  1185. package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -80
  1186. package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
  1187. package/esm/src/transport/websocket/_hyperliquid_event_target.js +0 -55
  1188. package/esm/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
  1189. package/esm/src/transport/websocket/_reconnecting_websocket.d.ts +0 -108
  1190. package/esm/src/transport/websocket/_reconnecting_websocket.d.ts.map +0 -1
  1191. package/esm/src/transport/websocket/_reconnecting_websocket.js +0 -298
  1192. package/esm/src/transport/websocket/_reconnecting_websocket.js.map +0 -1
  1193. package/esm/src/transport/websocket/_websocket_async_request.d.ts +0 -37
  1194. package/esm/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
  1195. package/esm/src/transport/websocket/_websocket_async_request.js +0 -186
  1196. package/esm/src/transport/websocket/_websocket_async_request.js.map +0 -1
  1197. package/esm/src/transport/websocket/mod.d.ts +0 -123
  1198. package/esm/src/transport/websocket/mod.d.ts.map +0 -1
  1199. package/esm/src/transport/websocket/mod.js +0 -250
  1200. package/esm/src/transport/websocket/mod.js.map +0 -1
  1201. package/esm/src/utils/_eip712.d.ts +0 -42
  1202. package/esm/src/utils/_eip712.d.ts.map +0 -1
  1203. package/esm/src/utils/_eip712.js.map +0 -1
  1204. package/esm/src/utils/_format.d.ts.map +0 -1
  1205. package/esm/src/utils/_format.js.map +0 -1
  1206. package/esm/src/utils/_recover.d.ts +0 -89
  1207. package/esm/src/utils/_recover.d.ts.map +0 -1
  1208. package/esm/src/utils/_recover.js.map +0 -1
  1209. package/esm/src/utils/_symbolConverter.d.ts +0 -90
  1210. package/esm/src/utils/_symbolConverter.d.ts.map +0 -1
  1211. package/esm/src/utils/_symbolConverter.js.map +0 -1
  1212. package/esm/src/utils/mod.d.ts +0 -4
  1213. package/esm/src/utils/mod.d.ts.map +0 -1
  1214. package/esm/src/utils/mod.js.map +0 -1
  1215. package/script/bin/_utils.d.ts +0 -80
  1216. package/script/bin/_utils.d.ts.map +0 -1
  1217. package/script/bin/_utils.js +0 -112
  1218. package/script/bin/_utils.js.map +0 -1
  1219. package/script/bin/cli.d.ts +0 -3
  1220. package/script/bin/cli.d.ts.map +0 -1
  1221. package/script/bin/cli.js +0 -332
  1222. package/script/bin/cli.js.map +0 -1
  1223. package/script/package.json +0 -3
  1224. package/script/src/_base.d.ts +0 -5
  1225. package/script/src/_base.d.ts.map +0 -1
  1226. package/script/src/_base.js +0 -12
  1227. package/script/src/_base.js.map +0 -1
  1228. package/script/src/api/_base.d.ts +0 -51
  1229. package/script/src/api/_base.d.ts.map +0 -1
  1230. package/script/src/api/_base.js +0 -100
  1231. package/script/src/api/_base.js.map +0 -1
  1232. package/script/src/api/_common_schemas.d.ts +0 -425
  1233. package/script/src/api/_common_schemas.d.ts.map +0 -1
  1234. package/script/src/api/_common_schemas.js +0 -471
  1235. package/script/src/api/_common_schemas.js.map +0 -1
  1236. package/script/src/api/exchange/_base/_errors.d.ts +0 -14
  1237. package/script/src/api/exchange/_base/_errors.d.ts.map +0 -1
  1238. package/script/src/api/exchange/_base/_errors.js +0 -56
  1239. package/script/src/api/exchange/_base/_errors.js.map +0 -1
  1240. package/script/src/api/exchange/_base/_execute.d.ts +0 -33
  1241. package/script/src/api/exchange/_base/_execute.d.ts.map +0 -1
  1242. package/script/src/api/exchange/_base/_execute.js +0 -171
  1243. package/script/src/api/exchange/_base/_execute.js.map +0 -1
  1244. package/script/src/api/exchange/_base/_helpers.d.ts +0 -11
  1245. package/script/src/api/exchange/_base/_helpers.d.ts.map +0 -1
  1246. package/script/src/api/exchange/_base/_helpers.js +0 -21
  1247. package/script/src/api/exchange/_base/_helpers.js.map +0 -1
  1248. package/script/src/api/exchange/_base/_nonce.d.ts +0 -11
  1249. package/script/src/api/exchange/_base/_nonce.d.ts.map +0 -1
  1250. package/script/src/api/exchange/_base/_nonce.js +0 -22
  1251. package/script/src/api/exchange/_base/_nonce.js.map +0 -1
  1252. package/script/src/api/exchange/_base/_schemas.d.ts +0 -45
  1253. package/script/src/api/exchange/_base/_schemas.d.ts.map +0 -1
  1254. package/script/src/api/exchange/_base/_schemas.js +0 -71
  1255. package/script/src/api/exchange/_base/_schemas.js.map +0 -1
  1256. package/script/src/api/exchange/_base/_types.d.ts +0 -61
  1257. package/script/src/api/exchange/_base/_types.d.ts.map +0 -1
  1258. package/script/src/api/exchange/_base/_types.js +0 -3
  1259. package/script/src/api/exchange/_base/_types.js.map +0 -1
  1260. package/script/src/api/exchange/_base/mod.d.ts +0 -6
  1261. package/script/src/api/exchange/_base/mod.d.ts.map +0 -1
  1262. package/script/src/api/exchange/_base/mod.js +0 -22
  1263. package/script/src/api/exchange/_base/mod.js.map +0 -1
  1264. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -74
  1265. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
  1266. package/script/src/api/exchange/agentEnableDexAbstraction.js +0 -103
  1267. package/script/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
  1268. package/script/src/api/exchange/approveAgent.d.ts +0 -104
  1269. package/script/src/api/exchange/approveAgent.d.ts.map +0 -1
  1270. package/script/src/api/exchange/approveAgent.js +0 -124
  1271. package/script/src/api/exchange/approveAgent.js.map +0 -1
  1272. package/script/src/api/exchange/approveBuilderFee.d.ts +0 -104
  1273. package/script/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
  1274. package/script/src/api/exchange/approveBuilderFee.js +0 -124
  1275. package/script/src/api/exchange/approveBuilderFee.js.map +0 -1
  1276. package/script/src/api/exchange/batchModify.d.ts +0 -221
  1277. package/script/src/api/exchange/batchModify.d.ts.map +0 -1
  1278. package/script/src/api/exchange/batchModify.js +0 -135
  1279. package/script/src/api/exchange/batchModify.js.map +0 -1
  1280. package/script/src/api/exchange/cDeposit.d.ts +0 -100
  1281. package/script/src/api/exchange/cDeposit.d.ts.map +0 -1
  1282. package/script/src/api/exchange/cDeposit.js +0 -121
  1283. package/script/src/api/exchange/cDeposit.js.map +0 -1
  1284. package/script/src/api/exchange/cSignerAction.d.ts +0 -102
  1285. package/script/src/api/exchange/cSignerAction.d.ts.map +0 -1
  1286. package/script/src/api/exchange/cSignerAction.js +0 -124
  1287. package/script/src/api/exchange/cSignerAction.js.map +0 -1
  1288. package/script/src/api/exchange/cValidatorAction.d.ts +0 -265
  1289. package/script/src/api/exchange/cValidatorAction.d.ts.map +0 -1
  1290. package/script/src/api/exchange/cValidatorAction.js +0 -200
  1291. package/script/src/api/exchange/cValidatorAction.js.map +0 -1
  1292. package/script/src/api/exchange/cWithdraw.d.ts +0 -100
  1293. package/script/src/api/exchange/cWithdraw.d.ts.map +0 -1
  1294. package/script/src/api/exchange/cWithdraw.js +0 -121
  1295. package/script/src/api/exchange/cWithdraw.js.map +0 -1
  1296. package/script/src/api/exchange/cancel.d.ts +0 -176
  1297. package/script/src/api/exchange/cancel.d.ts.map +0 -1
  1298. package/script/src/api/exchange/cancel.js +0 -159
  1299. package/script/src/api/exchange/cancel.js.map +0 -1
  1300. package/script/src/api/exchange/cancelByCloid.d.ts +0 -105
  1301. package/script/src/api/exchange/cancelByCloid.d.ts.map +0 -1
  1302. package/script/src/api/exchange/cancelByCloid.js +0 -121
  1303. package/script/src/api/exchange/cancelByCloid.js.map +0 -1
  1304. package/script/src/api/exchange/claimRewards.d.ts +0 -72
  1305. package/script/src/api/exchange/claimRewards.d.ts.map +0 -1
  1306. package/script/src/api/exchange/claimRewards.js +0 -101
  1307. package/script/src/api/exchange/claimRewards.js.map +0 -1
  1308. package/script/src/api/exchange/convertToMultiSigUser.d.ts +0 -149
  1309. package/script/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
  1310. package/script/src/api/exchange/convertToMultiSigUser.js +0 -154
  1311. package/script/src/api/exchange/convertToMultiSigUser.js.map +0 -1
  1312. package/script/src/api/exchange/createSubAccount.d.ts +0 -104
  1313. package/script/src/api/exchange/createSubAccount.d.ts.map +0 -1
  1314. package/script/src/api/exchange/createSubAccount.js +0 -121
  1315. package/script/src/api/exchange/createSubAccount.js.map +0 -1
  1316. package/script/src/api/exchange/createVault.d.ts +0 -120
  1317. package/script/src/api/exchange/createVault.d.ts.map +0 -1
  1318. package/script/src/api/exchange/createVault.js +0 -133
  1319. package/script/src/api/exchange/createVault.js.map +0 -1
  1320. package/script/src/api/exchange/evmUserModify.d.ts +0 -84
  1321. package/script/src/api/exchange/evmUserModify.d.ts.map +0 -1
  1322. package/script/src/api/exchange/evmUserModify.js +0 -109
  1323. package/script/src/api/exchange/evmUserModify.js.map +0 -1
  1324. package/script/src/api/exchange/linkStakingUser.d.ts +0 -112
  1325. package/script/src/api/exchange/linkStakingUser.d.ts.map +0 -1
  1326. package/script/src/api/exchange/linkStakingUser.js +0 -136
  1327. package/script/src/api/exchange/linkStakingUser.js.map +0 -1
  1328. package/script/src/api/exchange/modify.d.ts +0 -190
  1329. package/script/src/api/exchange/modify.d.ts.map +0 -1
  1330. package/script/src/api/exchange/modify.js +0 -129
  1331. package/script/src/api/exchange/modify.js.map +0 -1
  1332. package/script/src/api/exchange/multiSig.d.ts +0 -2901
  1333. package/script/src/api/exchange/multiSig.d.ts.map +0 -1
  1334. package/script/src/api/exchange/multiSig.js +0 -261
  1335. package/script/src/api/exchange/multiSig.js.map +0 -1
  1336. package/script/src/api/exchange/noop.d.ts +0 -74
  1337. package/script/src/api/exchange/noop.d.ts.map +0 -1
  1338. package/script/src/api/exchange/noop.js +0 -103
  1339. package/script/src/api/exchange/noop.js.map +0 -1
  1340. package/script/src/api/exchange/order.d.ts +0 -456
  1341. package/script/src/api/exchange/order.d.ts.map +0 -1
  1342. package/script/src/api/exchange/order.js +0 -229
  1343. package/script/src/api/exchange/order.js.map +0 -1
  1344. package/script/src/api/exchange/perpDeploy.d.ts +0 -342
  1345. package/script/src/api/exchange/perpDeploy.d.ts.map +0 -1
  1346. package/script/src/api/exchange/perpDeploy.js +0 -204
  1347. package/script/src/api/exchange/perpDeploy.js.map +0 -1
  1348. package/script/src/api/exchange/registerReferrer.d.ts +0 -84
  1349. package/script/src/api/exchange/registerReferrer.d.ts.map +0 -1
  1350. package/script/src/api/exchange/registerReferrer.js +0 -109
  1351. package/script/src/api/exchange/registerReferrer.js.map +0 -1
  1352. package/script/src/api/exchange/reserveRequestWeight.d.ts +0 -84
  1353. package/script/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
  1354. package/script/src/api/exchange/reserveRequestWeight.js +0 -109
  1355. package/script/src/api/exchange/reserveRequestWeight.js.map +0 -1
  1356. package/script/src/api/exchange/scheduleCancel.d.ts +0 -93
  1357. package/script/src/api/exchange/scheduleCancel.d.ts.map +0 -1
  1358. package/script/src/api/exchange/scheduleCancel.js +0 -96
  1359. package/script/src/api/exchange/scheduleCancel.js.map +0 -1
  1360. package/script/src/api/exchange/sendAsset.d.ts +0 -126
  1361. package/script/src/api/exchange/sendAsset.d.ts.map +0 -1
  1362. package/script/src/api/exchange/sendAsset.js +0 -142
  1363. package/script/src/api/exchange/sendAsset.js.map +0 -1
  1364. package/script/src/api/exchange/setDisplayName.d.ts +0 -88
  1365. package/script/src/api/exchange/setDisplayName.d.ts.map +0 -1
  1366. package/script/src/api/exchange/setDisplayName.js +0 -114
  1367. package/script/src/api/exchange/setDisplayName.js.map +0 -1
  1368. package/script/src/api/exchange/setReferrer.d.ts +0 -84
  1369. package/script/src/api/exchange/setReferrer.d.ts.map +0 -1
  1370. package/script/src/api/exchange/setReferrer.js +0 -109
  1371. package/script/src/api/exchange/setReferrer.js.map +0 -1
  1372. package/script/src/api/exchange/spotDeploy.d.ts +0 -357
  1373. package/script/src/api/exchange/spotDeploy.d.ts.map +0 -1
  1374. package/script/src/api/exchange/spotDeploy.js +0 -221
  1375. package/script/src/api/exchange/spotDeploy.js.map +0 -1
  1376. package/script/src/api/exchange/spotSend.d.ts +0 -112
  1377. package/script/src/api/exchange/spotSend.d.ts.map +0 -1
  1378. package/script/src/api/exchange/spotSend.js +0 -131
  1379. package/script/src/api/exchange/spotSend.js.map +0 -1
  1380. package/script/src/api/exchange/spotUser.d.ts +0 -93
  1381. package/script/src/api/exchange/spotUser.d.ts.map +0 -1
  1382. package/script/src/api/exchange/spotUser.js +0 -112
  1383. package/script/src/api/exchange/spotUser.js.map +0 -1
  1384. package/script/src/api/exchange/subAccountModify.d.ts +0 -88
  1385. package/script/src/api/exchange/subAccountModify.d.ts.map +0 -1
  1386. package/script/src/api/exchange/subAccountModify.js +0 -111
  1387. package/script/src/api/exchange/subAccountModify.js.map +0 -1
  1388. package/script/src/api/exchange/subAccountSpotTransfer.d.ts +0 -101
  1389. package/script/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
  1390. package/script/src/api/exchange/subAccountSpotTransfer.js +0 -120
  1391. package/script/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
  1392. package/script/src/api/exchange/subAccountTransfer.d.ts +0 -92
  1393. package/script/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
  1394. package/script/src/api/exchange/subAccountTransfer.js +0 -113
  1395. package/script/src/api/exchange/subAccountTransfer.js.map +0 -1
  1396. package/script/src/api/exchange/tokenDelegate.d.ts +0 -108
  1397. package/script/src/api/exchange/tokenDelegate.d.ts.map +0 -1
  1398. package/script/src/api/exchange/tokenDelegate.js +0 -127
  1399. package/script/src/api/exchange/tokenDelegate.js.map +0 -1
  1400. package/script/src/api/exchange/twapCancel.d.ts +0 -162
  1401. package/script/src/api/exchange/twapCancel.d.ts.map +0 -1
  1402. package/script/src/api/exchange/twapCancel.js +0 -152
  1403. package/script/src/api/exchange/twapCancel.js.map +0 -1
  1404. package/script/src/api/exchange/twapOrder.d.ts +0 -249
  1405. package/script/src/api/exchange/twapOrder.d.ts.map +0 -1
  1406. package/script/src/api/exchange/twapOrder.js +0 -184
  1407. package/script/src/api/exchange/twapOrder.js.map +0 -1
  1408. package/script/src/api/exchange/updateIsolatedMargin.d.ts +0 -95
  1409. package/script/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
  1410. package/script/src/api/exchange/updateIsolatedMargin.js +0 -116
  1411. package/script/src/api/exchange/updateIsolatedMargin.js.map +0 -1
  1412. package/script/src/api/exchange/updateLeverage.d.ts +0 -95
  1413. package/script/src/api/exchange/updateLeverage.d.ts.map +0 -1
  1414. package/script/src/api/exchange/updateLeverage.js +0 -116
  1415. package/script/src/api/exchange/updateLeverage.js.map +0 -1
  1416. package/script/src/api/exchange/usdClassTransfer.d.ts +0 -104
  1417. package/script/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
  1418. package/script/src/api/exchange/usdClassTransfer.js +0 -124
  1419. package/script/src/api/exchange/usdClassTransfer.js.map +0 -1
  1420. package/script/src/api/exchange/usdSend.d.ts +0 -104
  1421. package/script/src/api/exchange/usdSend.d.ts.map +0 -1
  1422. package/script/src/api/exchange/usdSend.js +0 -124
  1423. package/script/src/api/exchange/usdSend.js.map +0 -1
  1424. package/script/src/api/exchange/userDexAbstraction.d.ts +0 -104
  1425. package/script/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
  1426. package/script/src/api/exchange/userDexAbstraction.js +0 -124
  1427. package/script/src/api/exchange/userDexAbstraction.js.map +0 -1
  1428. package/script/src/api/exchange/vaultDistribute.d.ts +0 -92
  1429. package/script/src/api/exchange/vaultDistribute.d.ts.map +0 -1
  1430. package/script/src/api/exchange/vaultDistribute.js +0 -116
  1431. package/script/src/api/exchange/vaultDistribute.js.map +0 -1
  1432. package/script/src/api/exchange/vaultModify.d.ts +0 -96
  1433. package/script/src/api/exchange/vaultModify.d.ts.map +0 -1
  1434. package/script/src/api/exchange/vaultModify.js +0 -117
  1435. package/script/src/api/exchange/vaultModify.js.map +0 -1
  1436. package/script/src/api/exchange/vaultTransfer.d.ts +0 -92
  1437. package/script/src/api/exchange/vaultTransfer.d.ts.map +0 -1
  1438. package/script/src/api/exchange/vaultTransfer.js +0 -113
  1439. package/script/src/api/exchange/vaultTransfer.js.map +0 -1
  1440. package/script/src/api/exchange/withdraw3.d.ts +0 -104
  1441. package/script/src/api/exchange/withdraw3.d.ts.map +0 -1
  1442. package/script/src/api/exchange/withdraw3.js +0 -124
  1443. package/script/src/api/exchange/withdraw3.js.map +0 -1
  1444. package/script/src/api/exchange/~client.d.ts +0 -1711
  1445. package/script/src/api/exchange/~client.d.ts.map +0 -1
  1446. package/script/src/api/exchange/~client.js +0 -1439
  1447. package/script/src/api/exchange/~client.js.map +0 -1
  1448. package/script/src/api/exchange/~mod.d.ts +0 -86
  1449. package/script/src/api/exchange/~mod.d.ts.map +0 -1
  1450. package/script/src/api/exchange/~mod.js +0 -106
  1451. package/script/src/api/exchange/~mod.js.map +0 -1
  1452. package/script/src/api/info/_types.d.ts +0 -7
  1453. package/script/src/api/info/_types.d.ts.map +0 -1
  1454. package/script/src/api/info/_types.js +0 -3
  1455. package/script/src/api/info/_types.js.map +0 -1
  1456. package/script/src/api/info/activeAssetData.d.ts +0 -98
  1457. package/script/src/api/info/activeAssetData.d.ts.map +0 -1
  1458. package/script/src/api/info/activeAssetData.js +0 -119
  1459. package/script/src/api/info/activeAssetData.js.map +0 -1
  1460. package/script/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
  1461. package/script/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
  1462. package/script/src/api/info/alignedQuoteTokenInfo.js +0 -105
  1463. package/script/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
  1464. package/script/src/api/info/allMids.d.ts +0 -49
  1465. package/script/src/api/info/allMids.d.ts.map +0 -1
  1466. package/script/src/api/info/allMids.js +0 -69
  1467. package/script/src/api/info/allMids.js.map +0 -1
  1468. package/script/src/api/info/allPerpMetas.d.ts +0 -135
  1469. package/script/src/api/info/allPerpMetas.d.ts.map +0 -1
  1470. package/script/src/api/info/allPerpMetas.js +0 -83
  1471. package/script/src/api/info/allPerpMetas.js.map +0 -1
  1472. package/script/src/api/info/blockDetails.d.ts +0 -151
  1473. package/script/src/api/info/blockDetails.d.ts.map +0 -1
  1474. package/script/src/api/info/blockDetails.js +0 -125
  1475. package/script/src/api/info/blockDetails.js.map +0 -1
  1476. package/script/src/api/info/candleSnapshot.d.ts +0 -111
  1477. package/script/src/api/info/candleSnapshot.d.ts.map +0 -1
  1478. package/script/src/api/info/candleSnapshot.js +0 -122
  1479. package/script/src/api/info/candleSnapshot.js.map +0 -1
  1480. package/script/src/api/info/clearinghouseState.d.ts +0 -269
  1481. package/script/src/api/info/clearinghouseState.d.ts.map +0 -1
  1482. package/script/src/api/info/clearinghouseState.js +0 -174
  1483. package/script/src/api/info/clearinghouseState.js.map +0 -1
  1484. package/script/src/api/info/delegations.d.ts +0 -64
  1485. package/script/src/api/info/delegations.d.ts.map +0 -1
  1486. package/script/src/api/info/delegations.js +0 -98
  1487. package/script/src/api/info/delegations.js.map +0 -1
  1488. package/script/src/api/info/delegatorHistory.d.ts +0 -142
  1489. package/script/src/api/info/delegatorHistory.d.ts.map +0 -1
  1490. package/script/src/api/info/delegatorHistory.js +0 -126
  1491. package/script/src/api/info/delegatorHistory.js.map +0 -1
  1492. package/script/src/api/info/delegatorRewards.d.ts +0 -64
  1493. package/script/src/api/info/delegatorRewards.d.ts.map +0 -1
  1494. package/script/src/api/info/delegatorRewards.js +0 -98
  1495. package/script/src/api/info/delegatorRewards.js.map +0 -1
  1496. package/script/src/api/info/delegatorSummary.d.ts +0 -63
  1497. package/script/src/api/info/delegatorSummary.d.ts.map +0 -1
  1498. package/script/src/api/info/delegatorSummary.js +0 -98
  1499. package/script/src/api/info/delegatorSummary.js.map +0 -1
  1500. package/script/src/api/info/exchangeStatus.d.ts +0 -46
  1501. package/script/src/api/info/exchangeStatus.d.ts.map +0 -1
  1502. package/script/src/api/info/exchangeStatus.js +0 -87
  1503. package/script/src/api/info/exchangeStatus.js.map +0 -1
  1504. package/script/src/api/info/extraAgents.d.ts +0 -64
  1505. package/script/src/api/info/extraAgents.d.ts.map +0 -1
  1506. package/script/src/api/info/extraAgents.js +0 -98
  1507. package/script/src/api/info/extraAgents.js.map +0 -1
  1508. package/script/src/api/info/frontendOpenOrders.d.ts +0 -103
  1509. package/script/src/api/info/frontendOpenOrders.d.ts.map +0 -1
  1510. package/script/src/api/info/frontendOpenOrders.js +0 -92
  1511. package/script/src/api/info/frontendOpenOrders.js.map +0 -1
  1512. package/script/src/api/info/fundingHistory.d.ts +0 -74
  1513. package/script/src/api/info/fundingHistory.d.ts.map +0 -1
  1514. package/script/src/api/info/fundingHistory.js +0 -104
  1515. package/script/src/api/info/fundingHistory.js.map +0 -1
  1516. package/script/src/api/info/gossipRootIps.d.ts +0 -39
  1517. package/script/src/api/info/gossipRootIps.d.ts.map +0 -1
  1518. package/script/src/api/info/gossipRootIps.js +0 -83
  1519. package/script/src/api/info/gossipRootIps.js.map +0 -1
  1520. package/script/src/api/info/historicalOrders.d.ts +0 -132
  1521. package/script/src/api/info/historicalOrders.d.ts.map +0 -1
  1522. package/script/src/api/info/historicalOrders.js +0 -99
  1523. package/script/src/api/info/historicalOrders.js.map +0 -1
  1524. package/script/src/api/info/isVip.d.ts +0 -49
  1525. package/script/src/api/info/isVip.d.ts.map +0 -1
  1526. package/script/src/api/info/isVip.js +0 -89
  1527. package/script/src/api/info/isVip.js.map +0 -1
  1528. package/script/src/api/info/l2Book.d.ts +0 -98
  1529. package/script/src/api/info/l2Book.d.ts.map +0 -1
  1530. package/script/src/api/info/l2Book.js +0 -101
  1531. package/script/src/api/info/l2Book.js.map +0 -1
  1532. package/script/src/api/info/leadingVaults.d.ts +0 -60
  1533. package/script/src/api/info/leadingVaults.d.ts.map +0 -1
  1534. package/script/src/api/info/leadingVaults.js +0 -96
  1535. package/script/src/api/info/leadingVaults.js.map +0 -1
  1536. package/script/src/api/info/legalCheck.d.ts +0 -60
  1537. package/script/src/api/info/legalCheck.d.ts.map +0 -1
  1538. package/script/src/api/info/legalCheck.js +0 -96
  1539. package/script/src/api/info/legalCheck.js.map +0 -1
  1540. package/script/src/api/info/liquidatable.d.ts +0 -38
  1541. package/script/src/api/info/liquidatable.d.ts.map +0 -1
  1542. package/script/src/api/info/liquidatable.js +0 -82
  1543. package/script/src/api/info/liquidatable.js.map +0 -1
  1544. package/script/src/api/info/marginTable.d.ts +0 -71
  1545. package/script/src/api/info/marginTable.d.ts.map +0 -1
  1546. package/script/src/api/info/marginTable.js +0 -101
  1547. package/script/src/api/info/marginTable.js.map +0 -1
  1548. package/script/src/api/info/maxBuilderFee.d.ts +0 -52
  1549. package/script/src/api/info/maxBuilderFee.d.ts.map +0 -1
  1550. package/script/src/api/info/maxBuilderFee.js +0 -91
  1551. package/script/src/api/info/maxBuilderFee.js.map +0 -1
  1552. package/script/src/api/info/maxMarketOrderNtls.d.ts +0 -41
  1553. package/script/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
  1554. package/script/src/api/info/maxMarketOrderNtls.js +0 -84
  1555. package/script/src/api/info/maxMarketOrderNtls.js.map +0 -1
  1556. package/script/src/api/info/meta.d.ts +0 -133
  1557. package/script/src/api/info/meta.d.ts.map +0 -1
  1558. package/script/src/api/info/meta.js +0 -99
  1559. package/script/src/api/info/meta.js.map +0 -1
  1560. package/script/src/api/info/metaAndAssetCtxs.d.ts +0 -194
  1561. package/script/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
  1562. package/script/src/api/info/metaAndAssetCtxs.js +0 -97
  1563. package/script/src/api/info/metaAndAssetCtxs.js.map +0 -1
  1564. package/script/src/api/info/openOrders.d.ts +0 -82
  1565. package/script/src/api/info/openOrders.d.ts.map +0 -1
  1566. package/script/src/api/info/openOrders.js +0 -92
  1567. package/script/src/api/info/openOrders.js.map +0 -1
  1568. package/script/src/api/info/orderStatus.d.ts +0 -150
  1569. package/script/src/api/info/orderStatus.d.ts.map +0 -1
  1570. package/script/src/api/info/orderStatus.js +0 -114
  1571. package/script/src/api/info/orderStatus.js.map +0 -1
  1572. package/script/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
  1573. package/script/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
  1574. package/script/src/api/info/perpDeployAuctionStatus.js +0 -94
  1575. package/script/src/api/info/perpDeployAuctionStatus.js.map +0 -1
  1576. package/script/src/api/info/perpDexLimits.d.ts +0 -63
  1577. package/script/src/api/info/perpDexLimits.d.ts.map +0 -1
  1578. package/script/src/api/info/perpDexLimits.js +0 -98
  1579. package/script/src/api/info/perpDexLimits.js.map +0 -1
  1580. package/script/src/api/info/perpDexs.d.ts +0 -70
  1581. package/script/src/api/info/perpDexs.d.ts.map +0 -1
  1582. package/script/src/api/info/perpDexs.js +0 -103
  1583. package/script/src/api/info/perpDexs.js.map +0 -1
  1584. package/script/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
  1585. package/script/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
  1586. package/script/src/api/info/perpsAtOpenInterestCap.js +0 -69
  1587. package/script/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
  1588. package/script/src/api/info/portfolio.d.ts +0 -169
  1589. package/script/src/api/info/portfolio.d.ts.map +0 -1
  1590. package/script/src/api/info/portfolio.js +0 -109
  1591. package/script/src/api/info/portfolio.js.map +0 -1
  1592. package/script/src/api/info/preTransferCheck.d.ts +0 -66
  1593. package/script/src/api/info/preTransferCheck.d.ts.map +0 -1
  1594. package/script/src/api/info/preTransferCheck.js +0 -100
  1595. package/script/src/api/info/preTransferCheck.js.map +0 -1
  1596. package/script/src/api/info/predictedFundings.d.ts +0 -66
  1597. package/script/src/api/info/predictedFundings.d.ts.map +0 -1
  1598. package/script/src/api/info/predictedFundings.js +0 -104
  1599. package/script/src/api/info/predictedFundings.js.map +0 -1
  1600. package/script/src/api/info/recentTrades.d.ts +0 -84
  1601. package/script/src/api/info/recentTrades.d.ts.map +0 -1
  1602. package/script/src/api/info/recentTrades.js +0 -108
  1603. package/script/src/api/info/recentTrades.js.map +0 -1
  1604. package/script/src/api/info/referral.d.ts +0 -274
  1605. package/script/src/api/info/referral.d.ts.map +0 -1
  1606. package/script/src/api/info/referral.js +0 -190
  1607. package/script/src/api/info/referral.js.map +0 -1
  1608. package/script/src/api/info/spotClearinghouseState.d.ts +0 -103
  1609. package/script/src/api/info/spotClearinghouseState.d.ts.map +0 -1
  1610. package/script/src/api/info/spotClearinghouseState.js +0 -106
  1611. package/script/src/api/info/spotClearinghouseState.js.map +0 -1
  1612. package/script/src/api/info/spotDeployState.d.ts +0 -162
  1613. package/script/src/api/info/spotDeployState.d.ts.map +0 -1
  1614. package/script/src/api/info/spotDeployState.js +0 -137
  1615. package/script/src/api/info/spotDeployState.js.map +0 -1
  1616. package/script/src/api/info/spotMeta.d.ts +0 -137
  1617. package/script/src/api/info/spotMeta.d.ts.map +0 -1
  1618. package/script/src/api/info/spotMeta.js +0 -125
  1619. package/script/src/api/info/spotMeta.js.map +0 -1
  1620. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
  1621. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
  1622. package/script/src/api/info/spotMetaAndAssetCtxs.js +0 -107
  1623. package/script/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
  1624. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
  1625. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
  1626. package/script/src/api/info/spotPairDeployAuctionStatus.js +0 -94
  1627. package/script/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
  1628. package/script/src/api/info/subAccounts.d.ts +0 -412
  1629. package/script/src/api/info/subAccounts.d.ts.map +0 -1
  1630. package/script/src/api/info/subAccounts.js +0 -104
  1631. package/script/src/api/info/subAccounts.js.map +0 -1
  1632. package/script/src/api/info/subAccounts2.d.ts +0 -498
  1633. package/script/src/api/info/subAccounts2.d.ts.map +0 -1
  1634. package/script/src/api/info/subAccounts2.js +0 -107
  1635. package/script/src/api/info/subAccounts2.js.map +0 -1
  1636. package/script/src/api/info/tokenDetails.d.ts +0 -114
  1637. package/script/src/api/info/tokenDetails.d.ts.map +0 -1
  1638. package/script/src/api/info/tokenDetails.js +0 -129
  1639. package/script/src/api/info/tokenDetails.js.map +0 -1
  1640. package/script/src/api/info/twapHistory.d.ts +0 -132
  1641. package/script/src/api/info/twapHistory.d.ts.map +0 -1
  1642. package/script/src/api/info/twapHistory.js +0 -101
  1643. package/script/src/api/info/twapHistory.js.map +0 -1
  1644. package/script/src/api/info/txDetails.d.ts +0 -102
  1645. package/script/src/api/info/txDetails.d.ts.map +0 -1
  1646. package/script/src/api/info/txDetails.js +0 -110
  1647. package/script/src/api/info/txDetails.js.map +0 -1
  1648. package/script/src/api/info/userDetails.d.ts +0 -106
  1649. package/script/src/api/info/userDetails.d.ts.map +0 -1
  1650. package/script/src/api/info/userDetails.js +0 -95
  1651. package/script/src/api/info/userDetails.js.map +0 -1
  1652. package/script/src/api/info/userDexAbstraction.d.ts +0 -49
  1653. package/script/src/api/info/userDexAbstraction.d.ts.map +0 -1
  1654. package/script/src/api/info/userDexAbstraction.js +0 -89
  1655. package/script/src/api/info/userDexAbstraction.js.map +0 -1
  1656. package/script/src/api/info/userFees.d.ts +0 -269
  1657. package/script/src/api/info/userFees.d.ts.map +0 -1
  1658. package/script/src/api/info/userFees.js +0 -204
  1659. package/script/src/api/info/userFees.js.map +0 -1
  1660. package/script/src/api/info/userFills.d.ts +0 -122
  1661. package/script/src/api/info/userFills.d.ts.map +0 -1
  1662. package/script/src/api/info/userFills.js +0 -92
  1663. package/script/src/api/info/userFills.js.map +0 -1
  1664. package/script/src/api/info/userFillsByTime.d.ts +0 -128
  1665. package/script/src/api/info/userFillsByTime.d.ts.map +0 -1
  1666. package/script/src/api/info/userFillsByTime.js +0 -96
  1667. package/script/src/api/info/userFillsByTime.js.map +0 -1
  1668. package/script/src/api/info/userFunding.d.ts +0 -104
  1669. package/script/src/api/info/userFunding.d.ts.map +0 -1
  1670. package/script/src/api/info/userFunding.js +0 -115
  1671. package/script/src/api/info/userFunding.js.map +0 -1
  1672. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
  1673. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
  1674. package/script/src/api/info/userNonFundingLedgerUpdates.js +0 -289
  1675. package/script/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
  1676. package/script/src/api/info/userRateLimit.d.ts +0 -60
  1677. package/script/src/api/info/userRateLimit.d.ts.map +0 -1
  1678. package/script/src/api/info/userRateLimit.js +0 -96
  1679. package/script/src/api/info/userRateLimit.js.map +0 -1
  1680. package/script/src/api/info/userRole.d.ts +0 -84
  1681. package/script/src/api/info/userRole.d.ts.map +0 -1
  1682. package/script/src/api/info/userRole.js +0 -112
  1683. package/script/src/api/info/userRole.js.map +0 -1
  1684. package/script/src/api/info/userToMultiSigSigners.d.ts +0 -57
  1685. package/script/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
  1686. package/script/src/api/info/userToMultiSigSigners.js +0 -94
  1687. package/script/src/api/info/userToMultiSigSigners.js.map +0 -1
  1688. package/script/src/api/info/userTwapSliceFills.d.ts +0 -124
  1689. package/script/src/api/info/userTwapSliceFills.d.ts.map +0 -1
  1690. package/script/src/api/info/userTwapSliceFills.js +0 -97
  1691. package/script/src/api/info/userTwapSliceFills.js.map +0 -1
  1692. package/script/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
  1693. package/script/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
  1694. package/script/src/api/info/userTwapSliceFillsByTime.js +0 -103
  1695. package/script/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
  1696. package/script/src/api/info/userVaultEquities.d.ts +0 -64
  1697. package/script/src/api/info/userVaultEquities.d.ts.map +0 -1
  1698. package/script/src/api/info/userVaultEquities.js +0 -98
  1699. package/script/src/api/info/userVaultEquities.js.map +0 -1
  1700. package/script/src/api/info/validatorL1Votes.d.ts +0 -70
  1701. package/script/src/api/info/validatorL1Votes.d.ts.map +0 -1
  1702. package/script/src/api/info/validatorL1Votes.js +0 -99
  1703. package/script/src/api/info/validatorL1Votes.js.map +0 -1
  1704. package/script/src/api/info/validatorSummaries.d.ts +0 -155
  1705. package/script/src/api/info/validatorSummaries.d.ts.map +0 -1
  1706. package/script/src/api/info/validatorSummaries.js +0 -123
  1707. package/script/src/api/info/validatorSummaries.js.map +0 -1
  1708. package/script/src/api/info/vaultDetails.d.ts +0 -359
  1709. package/script/src/api/info/vaultDetails.d.ts.map +0 -1
  1710. package/script/src/api/info/vaultDetails.js +0 -171
  1711. package/script/src/api/info/vaultDetails.js.map +0 -1
  1712. package/script/src/api/info/vaultSummaries.d.ts +0 -104
  1713. package/script/src/api/info/vaultSummaries.d.ts.map +0 -1
  1714. package/script/src/api/info/vaultSummaries.js +0 -114
  1715. package/script/src/api/info/vaultSummaries.js.map +0 -1
  1716. package/script/src/api/info/webData2.d.ts +0 -821
  1717. package/script/src/api/info/webData2.d.ts.map +0 -1
  1718. package/script/src/api/info/webData2.js +0 -90
  1719. package/script/src/api/info/webData2.js.map +0 -1
  1720. package/script/src/api/info/~client.d.ts +0 -2694
  1721. package/script/src/api/info/~client.d.ts.map +0 -1
  1722. package/script/src/api/info/~client.js +0 -1557
  1723. package/script/src/api/info/~client.js.map +0 -1
  1724. package/script/src/api/info/~mod.d.ts +0 -91
  1725. package/script/src/api/info/~mod.d.ts.map +0 -1
  1726. package/script/src/api/info/~mod.js +0 -109
  1727. package/script/src/api/info/~mod.js.map +0 -1
  1728. package/script/src/api/subscription/_types.d.ts +0 -7
  1729. package/script/src/api/subscription/_types.d.ts.map +0 -1
  1730. package/script/src/api/subscription/_types.js +0 -3
  1731. package/script/src/api/subscription/_types.js.map +0 -1
  1732. package/script/src/api/subscription/activeAssetCtx.d.ts +0 -97
  1733. package/script/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
  1734. package/script/src/api/subscription/activeAssetCtx.js +0 -112
  1735. package/script/src/api/subscription/activeAssetCtx.js.map +0 -1
  1736. package/script/src/api/subscription/activeAssetData.d.ts +0 -84
  1737. package/script/src/api/subscription/activeAssetData.d.ts.map +0 -1
  1738. package/script/src/api/subscription/activeAssetData.js +0 -89
  1739. package/script/src/api/subscription/activeAssetData.js.map +0 -1
  1740. package/script/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
  1741. package/script/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
  1742. package/script/src/api/subscription/activeSpotAssetCtx.js +0 -108
  1743. package/script/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
  1744. package/script/src/api/subscription/allMids.d.ts +0 -58
  1745. package/script/src/api/subscription/allMids.d.ts.map +0 -1
  1746. package/script/src/api/subscription/allMids.js +0 -73
  1747. package/script/src/api/subscription/allMids.js.map +0 -1
  1748. package/script/src/api/subscription/assetCtxs.d.ts +0 -108
  1749. package/script/src/api/subscription/assetCtxs.d.ts.map +0 -1
  1750. package/script/src/api/subscription/assetCtxs.js +0 -96
  1751. package/script/src/api/subscription/assetCtxs.js.map +0 -1
  1752. package/script/src/api/subscription/bbo.d.ts +0 -89
  1753. package/script/src/api/subscription/bbo.d.ts.map +0 -1
  1754. package/script/src/api/subscription/bbo.js +0 -94
  1755. package/script/src/api/subscription/bbo.js.map +0 -1
  1756. package/script/src/api/subscription/candle.d.ts +0 -71
  1757. package/script/src/api/subscription/candle.d.ts.map +0 -1
  1758. package/script/src/api/subscription/candle.js +0 -90
  1759. package/script/src/api/subscription/candle.js.map +0 -1
  1760. package/script/src/api/subscription/clearinghouseState.d.ts +0 -285
  1761. package/script/src/api/subscription/clearinghouseState.d.ts.map +0 -1
  1762. package/script/src/api/subscription/clearinghouseState.js +0 -100
  1763. package/script/src/api/subscription/clearinghouseState.js.map +0 -1
  1764. package/script/src/api/subscription/explorerBlock.d.ts +0 -64
  1765. package/script/src/api/subscription/explorerBlock.d.ts.map +0 -1
  1766. package/script/src/api/subscription/explorerBlock.js +0 -94
  1767. package/script/src/api/subscription/explorerBlock.js.map +0 -1
  1768. package/script/src/api/subscription/explorerTxs.d.ts +0 -83
  1769. package/script/src/api/subscription/explorerTxs.d.ts.map +0 -1
  1770. package/script/src/api/subscription/explorerTxs.js +0 -99
  1771. package/script/src/api/subscription/explorerTxs.js.map +0 -1
  1772. package/script/src/api/subscription/l2Book.d.ts +0 -95
  1773. package/script/src/api/subscription/l2Book.d.ts.map +0 -1
  1774. package/script/src/api/subscription/l2Book.js +0 -103
  1775. package/script/src/api/subscription/l2Book.js.map +0 -1
  1776. package/script/src/api/subscription/notification.d.ts +0 -51
  1777. package/script/src/api/subscription/notification.d.ts.map +0 -1
  1778. package/script/src/api/subscription/notification.js +0 -87
  1779. package/script/src/api/subscription/notification.js.map +0 -1
  1780. package/script/src/api/subscription/openOrders.d.ts +0 -128
  1781. package/script/src/api/subscription/openOrders.d.ts.map +0 -1
  1782. package/script/src/api/subscription/openOrders.js +0 -100
  1783. package/script/src/api/subscription/openOrders.js.map +0 -1
  1784. package/script/src/api/subscription/orderUpdates.d.ts +0 -101
  1785. package/script/src/api/subscription/orderUpdates.d.ts.map +0 -1
  1786. package/script/src/api/subscription/orderUpdates.js +0 -94
  1787. package/script/src/api/subscription/orderUpdates.js.map +0 -1
  1788. package/script/src/api/subscription/spotState.d.ts +0 -91
  1789. package/script/src/api/subscription/spotState.d.ts.map +0 -1
  1790. package/script/src/api/subscription/spotState.js +0 -95
  1791. package/script/src/api/subscription/spotState.js.map +0 -1
  1792. package/script/src/api/subscription/trades.d.ts +0 -73
  1793. package/script/src/api/subscription/trades.d.ts.map +0 -1
  1794. package/script/src/api/subscription/trades.js +0 -87
  1795. package/script/src/api/subscription/trades.js.map +0 -1
  1796. package/script/src/api/subscription/userEvents.d.ts +0 -851
  1797. package/script/src/api/subscription/userEvents.d.ts.map +0 -1
  1798. package/script/src/api/subscription/userEvents.js +0 -175
  1799. package/script/src/api/subscription/userEvents.js.map +0 -1
  1800. package/script/src/api/subscription/userFills.d.ts +0 -152
  1801. package/script/src/api/subscription/userFills.d.ts.map +0 -1
  1802. package/script/src/api/subscription/userFills.js +0 -100
  1803. package/script/src/api/subscription/userFills.js.map +0 -1
  1804. package/script/src/api/subscription/userFundings.d.ts +0 -91
  1805. package/script/src/api/subscription/userFundings.d.ts.map +0 -1
  1806. package/script/src/api/subscription/userFundings.js +0 -108
  1807. package/script/src/api/subscription/userFundings.js.map +0 -1
  1808. package/script/src/api/subscription/userHistoricalOrders.d.ts +0 -161
  1809. package/script/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
  1810. package/script/src/api/subscription/userHistoricalOrders.js +0 -103
  1811. package/script/src/api/subscription/userHistoricalOrders.js.map +0 -1
  1812. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
  1813. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
  1814. package/script/src/api/subscription/userNonFundingLedgerUpdates.js +0 -94
  1815. package/script/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
  1816. package/script/src/api/subscription/userTwapHistory.d.ts +0 -161
  1817. package/script/src/api/subscription/userTwapHistory.d.ts.map +0 -1
  1818. package/script/src/api/subscription/userTwapHistory.js +0 -105
  1819. package/script/src/api/subscription/userTwapHistory.js.map +0 -1
  1820. package/script/src/api/subscription/userTwapSliceFills.d.ts +0 -132
  1821. package/script/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
  1822. package/script/src/api/subscription/userTwapSliceFills.js +0 -99
  1823. package/script/src/api/subscription/userTwapSliceFills.js.map +0 -1
  1824. package/script/src/api/subscription/webData2.d.ts +0 -694
  1825. package/script/src/api/subscription/webData2.d.ts.map +0 -1
  1826. package/script/src/api/subscription/webData2.js +0 -138
  1827. package/script/src/api/subscription/webData2.js.map +0 -1
  1828. package/script/src/api/subscription/webData3.d.ts +0 -541
  1829. package/script/src/api/subscription/webData3.d.ts.map +0 -1
  1830. package/script/src/api/subscription/webData3.js +0 -131
  1831. package/script/src/api/subscription/webData3.js.map +0 -1
  1832. package/script/src/api/subscription/~client.d.ts +0 -577
  1833. package/script/src/api/subscription/~client.d.ts.map +0 -1
  1834. package/script/src/api/subscription/~client.js +0 -608
  1835. package/script/src/api/subscription/~client.js.map +0 -1
  1836. package/script/src/api/subscription/~mod.d.ts +0 -52
  1837. package/script/src/api/subscription/~mod.d.ts.map +0 -1
  1838. package/script/src/api/subscription/~mod.js +0 -70
  1839. package/script/src/api/subscription/~mod.js.map +0 -1
  1840. package/script/src/mod.d.ts +0 -9
  1841. package/script/src/mod.d.ts.map +0 -1
  1842. package/script/src/mod.js +0 -28
  1843. package/script/src/mod.js.map +0 -1
  1844. package/script/src/signing/_signTypedData.d.ts +0 -118
  1845. package/script/src/signing/_signTypedData.d.ts.map +0 -1
  1846. package/script/src/signing/_signTypedData.js +0 -108
  1847. package/script/src/signing/_signTypedData.js.map +0 -1
  1848. package/script/src/signing/mod.d.ts +0 -324
  1849. package/script/src/signing/mod.d.ts.map +0 -1
  1850. package/script/src/signing/mod.js +0 -375
  1851. package/script/src/signing/mod.js.map +0 -1
  1852. package/script/src/transport/_polyfills.d.ts +0 -12
  1853. package/script/src/transport/_polyfills.d.ts.map +0 -1
  1854. package/script/src/transport/_polyfills.js +0 -49
  1855. package/script/src/transport/_polyfills.js.map +0 -1
  1856. package/script/src/transport/base.d.ts +0 -48
  1857. package/script/src/transport/base.d.ts.map +0 -1
  1858. package/script/src/transport/base.js +0 -13
  1859. package/script/src/transport/base.js.map +0 -1
  1860. package/script/src/transport/http/mod.d.ts +0 -94
  1861. package/script/src/transport/http/mod.d.ts.map +0 -1
  1862. package/script/src/transport/http/mod.js +0 -157
  1863. package/script/src/transport/http/mod.js.map +0 -1
  1864. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -80
  1865. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
  1866. package/script/src/transport/websocket/_hyperliquid_event_target.js +0 -92
  1867. package/script/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
  1868. package/script/src/transport/websocket/_reconnecting_websocket.d.ts +0 -108
  1869. package/script/src/transport/websocket/_reconnecting_websocket.d.ts.map +0 -1
  1870. package/script/src/transport/websocket/_reconnecting_websocket.js +0 -303
  1871. package/script/src/transport/websocket/_reconnecting_websocket.js.map +0 -1
  1872. package/script/src/transport/websocket/_websocket_async_request.d.ts +0 -37
  1873. package/script/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
  1874. package/script/src/transport/websocket/_websocket_async_request.js +0 -191
  1875. package/script/src/transport/websocket/_websocket_async_request.js.map +0 -1
  1876. package/script/src/transport/websocket/mod.d.ts +0 -123
  1877. package/script/src/transport/websocket/mod.d.ts.map +0 -1
  1878. package/script/src/transport/websocket/mod.js +0 -255
  1879. package/script/src/transport/websocket/mod.js.map +0 -1
  1880. package/script/src/utils/_eip712.d.ts +0 -42
  1881. package/script/src/utils/_eip712.d.ts.map +0 -1
  1882. package/script/src/utils/_eip712.js +0 -214
  1883. package/script/src/utils/_eip712.js.map +0 -1
  1884. package/script/src/utils/_format.d.ts +0 -28
  1885. package/script/src/utils/_format.d.ts.map +0 -1
  1886. package/script/src/utils/_format.js +0 -161
  1887. package/script/src/utils/_format.js.map +0 -1
  1888. package/script/src/utils/_recover.d.ts +0 -89
  1889. package/script/src/utils/_recover.d.ts.map +0 -1
  1890. package/script/src/utils/_recover.js +0 -156
  1891. package/script/src/utils/_recover.js.map +0 -1
  1892. package/script/src/utils/_symbolConverter.d.ts +0 -90
  1893. package/script/src/utils/_symbolConverter.d.ts.map +0 -1
  1894. package/script/src/utils/_symbolConverter.js +0 -176
  1895. package/script/src/utils/_symbolConverter.js.map +0 -1
  1896. package/script/src/utils/mod.d.ts +0 -4
  1897. package/script/src/utils/mod.d.ts.map +0 -1
  1898. package/script/src/utils/mod.js +0 -20
  1899. package/script/src/utils/mod.js.map +0 -1
  1900. package/src/bin/cli.ts +0 -319
  1901. package/src/src/api/_base.ts +0 -145
  1902. package/src/src/api/_common_schemas.ts +0 -767
  1903. package/src/src/api/exchange/_base/_errors.ts +0 -60
  1904. package/src/src/api/exchange/_base/_execute.ts +0 -244
  1905. package/src/src/api/exchange/_base/_helpers.ts +0 -26
  1906. package/src/src/api/exchange/_base/_schemas.ts +0 -73
  1907. package/src/src/api/exchange/_base/_types.ts +0 -88
  1908. package/src/src/api/exchange/_base/mod.ts +0 -5
  1909. package/src/src/api/exchange/agentEnableDexAbstraction.ts +0 -104
  1910. package/src/src/api/exchange/approveAgent.ts +0 -141
  1911. package/src/src/api/exchange/approveBuilderFee.ts +0 -141
  1912. package/src/src/api/exchange/batchModify.ts +0 -148
  1913. package/src/src/api/exchange/cDeposit.ts +0 -135
  1914. package/src/src/api/exchange/cSignerAction.ts +0 -136
  1915. package/src/src/api/exchange/cValidatorAction.ts +0 -276
  1916. package/src/src/api/exchange/cWithdraw.ts +0 -135
  1917. package/src/src/api/exchange/cancel.ts +0 -218
  1918. package/src/src/api/exchange/cancelByCloid.ts +0 -136
  1919. package/src/src/api/exchange/claimRewards.ts +0 -100
  1920. package/src/src/api/exchange/convertToMultiSigUser.ts +0 -192
  1921. package/src/src/api/exchange/createSubAccount.ts +0 -144
  1922. package/src/src/api/exchange/createVault.ts +0 -165
  1923. package/src/src/api/exchange/evmUserModify.ts +0 -115
  1924. package/src/src/api/exchange/linkStakingUser.ts +0 -157
  1925. package/src/src/api/exchange/modify.ts +0 -139
  1926. package/src/src/api/exchange/multiSig.ts +0 -303
  1927. package/src/src/api/exchange/noop.ts +0 -102
  1928. package/src/src/api/exchange/order.ts +0 -350
  1929. package/src/src/api/exchange/perpDeploy.ts +0 -336
  1930. package/src/src/api/exchange/registerReferrer.ts +0 -116
  1931. package/src/src/api/exchange/reserveRequestWeight.ts +0 -115
  1932. package/src/src/api/exchange/scheduleCancel.ts +0 -145
  1933. package/src/src/api/exchange/sendAsset.ts +0 -171
  1934. package/src/src/api/exchange/setDisplayName.ts +0 -122
  1935. package/src/src/api/exchange/setReferrer.ts +0 -116
  1936. package/src/src/api/exchange/spotDeploy.ts +0 -358
  1937. package/src/src/api/exchange/spotSend.ts +0 -151
  1938. package/src/src/api/exchange/spotUser.ts +0 -121
  1939. package/src/src/api/exchange/subAccountModify.ts +0 -121
  1940. package/src/src/api/exchange/subAccountSpotTransfer.ts +0 -135
  1941. package/src/src/api/exchange/subAccountTransfer.ts +0 -125
  1942. package/src/src/api/exchange/tokenDelegate.ts +0 -147
  1943. package/src/src/api/exchange/twapCancel.ts +0 -206
  1944. package/src/src/api/exchange/twapOrder.ts +0 -265
  1945. package/src/src/api/exchange/updateIsolatedMargin.ts +0 -131
  1946. package/src/src/api/exchange/updateLeverage.ts +0 -131
  1947. package/src/src/api/exchange/usdClassTransfer.ts +0 -141
  1948. package/src/src/api/exchange/usdSend.ts +0 -141
  1949. package/src/src/api/exchange/userDexAbstraction.ts +0 -145
  1950. package/src/src/api/exchange/vaultDistribute.ts +0 -127
  1951. package/src/src/api/exchange/vaultModify.ts +0 -129
  1952. package/src/src/api/exchange/vaultTransfer.ts +0 -125
  1953. package/src/src/api/exchange/withdraw3.ts +0 -141
  1954. package/src/src/api/exchange/~client.ts +0 -1567
  1955. package/src/src/api/exchange/~mod.ts +0 -87
  1956. package/src/src/api/info/_types.ts +0 -7
  1957. package/src/src/api/info/activeAssetData.ts +0 -147
  1958. package/src/src/api/info/alignedQuoteTokenInfo.ts +0 -121
  1959. package/src/src/api/info/allMids.ts +0 -88
  1960. package/src/src/api/info/allPerpMetas.ts +0 -70
  1961. package/src/src/api/info/blockDetails.ts +0 -165
  1962. package/src/src/api/info/candleSnapshot.ts +0 -153
  1963. package/src/src/api/info/clearinghouseState.ts +0 -279
  1964. package/src/src/api/info/delegations.ts +0 -101
  1965. package/src/src/api/info/delegatorHistory.ts +0 -156
  1966. package/src/src/api/info/delegatorRewards.ts +0 -101
  1967. package/src/src/api/info/delegatorSummary.ts +0 -100
  1968. package/src/src/api/info/exchangeStatus.ts +0 -74
  1969. package/src/src/api/info/extraAgents.ts +0 -102
  1970. package/src/src/api/info/frontendOpenOrders.ts +0 -86
  1971. package/src/src/api/info/fundingHistory.ts +0 -116
  1972. package/src/src/api/info/gossipRootIps.ts +0 -65
  1973. package/src/src/api/info/historicalOrders.ts +0 -97
  1974. package/src/src/api/info/isVip.ts +0 -79
  1975. package/src/src/api/info/l2Book.ts +0 -119
  1976. package/src/src/api/info/leadingVaults.ts +0 -96
  1977. package/src/src/api/info/legalCheck.ts +0 -95
  1978. package/src/src/api/info/liquidatable.ts +0 -63
  1979. package/src/src/api/info/marginTable.ts +0 -110
  1980. package/src/src/api/info/maxBuilderFee.ts +0 -86
  1981. package/src/src/api/info/maxMarketOrderNtls.ts +0 -74
  1982. package/src/src/api/info/meta.ts +0 -160
  1983. package/src/src/api/info/metaAndAssetCtxs.ts +0 -153
  1984. package/src/src/api/info/openOrders.ts +0 -86
  1985. package/src/src/api/info/orderStatus.ts +0 -122
  1986. package/src/src/api/info/perpDeployAuctionStatus.ts +0 -91
  1987. package/src/src/api/info/perpDexLimits.ts +0 -102
  1988. package/src/src/api/info/perpDexs.ts +0 -114
  1989. package/src/src/api/info/perpsAtOpenInterestCap.ts +0 -88
  1990. package/src/src/api/info/portfolio.ts +0 -113
  1991. package/src/src/api/info/preTransferCheck.ts +0 -105
  1992. package/src/src/api/info/predictedFundings.ts +0 -117
  1993. package/src/src/api/info/recentTrades.ts +0 -126
  1994. package/src/src/api/info/referral.ts +0 -314
  1995. package/src/src/api/info/spotClearinghouseState.ts +0 -121
  1996. package/src/src/api/info/spotDeployState.ts +0 -194
  1997. package/src/src/api/info/spotMeta.ts +0 -168
  1998. package/src/src/api/info/spotMetaAndAssetCtxs.ts +0 -121
  1999. package/src/src/api/info/spotPairDeployAuctionStatus.ts +0 -91
  2000. package/src/src/api/info/subAccounts.ts +0 -111
  2001. package/src/src/api/info/subAccounts2.ts +0 -120
  2002. package/src/src/api/info/tokenDetails.ts +0 -178
  2003. package/src/src/api/info/twapHistory.ts +0 -102
  2004. package/src/src/api/info/txDetails.ts +0 -128
  2005. package/src/src/api/info/userDetails.ts +0 -93
  2006. package/src/src/api/info/userDexAbstraction.ts +0 -79
  2007. package/src/src/api/info/userFees.ts +0 -333
  2008. package/src/src/api/info/userFills.ts +0 -86
  2009. package/src/src/api/info/userFillsByTime.ts +0 -96
  2010. package/src/src/api/info/userFunding.ts +0 -142
  2011. package/src/src/api/info/userNonFundingLedgerUpdates.ts +0 -530
  2012. package/src/src/api/info/userRateLimit.ts +0 -95
  2013. package/src/src/api/info/userRole.ts +0 -123
  2014. package/src/src/api/info/userToMultiSigSigners.ts +0 -94
  2015. package/src/src/api/info/userTwapSliceFills.ts +0 -95
  2016. package/src/src/api/info/userTwapSliceFillsByTime.ts +0 -110
  2017. package/src/src/api/info/userVaultEquities.ts +0 -101
  2018. package/src/src/api/info/validatorL1Votes.ts +0 -94
  2019. package/src/src/api/info/validatorSummaries.ts +0 -156
  2020. package/src/src/api/info/vaultDetails.ts +0 -275
  2021. package/src/src/api/info/vaultSummaries.ts +0 -133
  2022. package/src/src/api/info/webData2.ts +0 -81
  2023. package/src/src/api/info/~client.ts +0 -1716
  2024. package/src/src/api/info/~mod.ts +0 -92
  2025. package/src/src/api/subscription/_types.ts +0 -7
  2026. package/src/src/api/subscription/activeAssetCtx.ts +0 -139
  2027. package/src/src/api/subscription/activeAssetData.ts +0 -81
  2028. package/src/src/api/subscription/activeSpotAssetCtx.ts +0 -129
  2029. package/src/src/api/subscription/allMids.ts +0 -103
  2030. package/src/src/api/subscription/assetCtxs.ts +0 -160
  2031. package/src/src/api/subscription/bbo.ts +0 -95
  2032. package/src/src/api/subscription/candle.ts +0 -79
  2033. package/src/src/api/subscription/clearinghouseState.ts +0 -101
  2034. package/src/src/api/subscription/explorerBlock.ts +0 -100
  2035. package/src/src/api/subscription/explorerTxs.ts +0 -111
  2036. package/src/src/api/subscription/l2Book.ts +0 -120
  2037. package/src/src/api/subscription/notification.ts +0 -81
  2038. package/src/src/api/subscription/openOrders.ts +0 -104
  2039. package/src/src/api/subscription/orderUpdates.ts +0 -93
  2040. package/src/src/api/subscription/spotState.ts +0 -96
  2041. package/src/src/api/subscription/trades.ts +0 -76
  2042. package/src/src/api/subscription/userEvents.ts +0 -265
  2043. package/src/src/api/subscription/userFills.ts +0 -104
  2044. package/src/src/api/subscription/userFundings.ts +0 -130
  2045. package/src/src/api/subscription/userHistoricalOrders.ts +0 -111
  2046. package/src/src/api/subscription/userNonFundingLedgerUpdates.ts +0 -95
  2047. package/src/src/api/subscription/userTwapHistory.ts +0 -116
  2048. package/src/src/api/subscription/userTwapSliceFills.ts +0 -105
  2049. package/src/src/api/subscription/webData2.ts +0 -180
  2050. package/src/src/api/subscription/webData3.ts +0 -179
  2051. package/src/src/api/subscription/~client.ts +0 -713
  2052. package/src/src/api/subscription/~mod.ts +0 -53
  2053. package/src/src/mod.ts +0 -10
  2054. package/src/src/signing/_signTypedData.ts +0 -237
  2055. package/src/src/signing/mod.ts +0 -474
  2056. package/src/src/transport/_polyfills.ts +0 -47
  2057. package/src/src/transport/base.ts +0 -54
  2058. package/src/src/transport/http/mod.ts +0 -218
  2059. package/src/src/transport/websocket/_hyperliquid_event_target.ts +0 -117
  2060. package/src/src/transport/websocket/_reconnecting_websocket.ts +0 -390
  2061. package/src/src/transport/websocket/_websocket_async_request.ts +0 -233
  2062. package/src/src/transport/websocket/mod.ts +0 -353
  2063. package/src/src/utils/_eip712.ts +0 -243
  2064. package/src/src/utils/_recover.ts +0 -178
  2065. package/src/src/utils/_symbolConverter.ts +0 -203
  2066. package/src/src/utils/mod.ts +0 -3
  2067. /package/{src/bin → bin}/_utils.ts +0 -0
  2068. /package/{esm → dist}/bin/_utils.d.ts +0 -0
  2069. /package/{esm → dist}/bin/_utils.js +0 -0
  2070. /package/{esm → dist}/bin/cli.d.ts +0 -0
  2071. /package/{esm → dist}/src/_base.d.ts +0 -0
  2072. /package/{esm → dist}/src/_base.js +0 -0
  2073. /package/{esm → dist}/src/api/_common_schemas.js +0 -0
  2074. /package/{esm → dist}/src/api/exchange/_base/_execute.js +0 -0
  2075. /package/{esm → dist}/src/api/exchange/_base/_helpers.js +0 -0
  2076. /package/{esm → dist}/src/api/exchange/_base/_nonce.d.ts +0 -0
  2077. /package/{esm → dist}/src/api/exchange/_base/_nonce.js +0 -0
  2078. /package/{esm → dist}/src/api/exchange/_base/_schemas.d.ts +0 -0
  2079. /package/{esm → dist}/src/api/exchange/_base/_schemas.js +0 -0
  2080. /package/{esm → dist}/src/api/exchange/_base/_types.js +0 -0
  2081. /package/{esm → dist}/src/api/exchange/_base/mod.js +0 -0
  2082. /package/{esm → dist}/src/api/exchange/agentEnableDexAbstraction.js +0 -0
  2083. /package/{esm → dist}/src/api/exchange/approveAgent.js +0 -0
  2084. /package/{esm → dist}/src/api/exchange/approveBuilderFee.js +0 -0
  2085. /package/{esm → dist}/src/api/exchange/batchModify.js +0 -0
  2086. /package/{esm → dist}/src/api/exchange/cDeposit.js +0 -0
  2087. /package/{esm → dist}/src/api/exchange/cSignerAction.js +0 -0
  2088. /package/{esm → dist}/src/api/exchange/cValidatorAction.js +0 -0
  2089. /package/{esm → dist}/src/api/exchange/cWithdraw.js +0 -0
  2090. /package/{esm → dist}/src/api/exchange/cancel.js +0 -0
  2091. /package/{esm → dist}/src/api/exchange/cancelByCloid.js +0 -0
  2092. /package/{esm → dist}/src/api/exchange/claimRewards.js +0 -0
  2093. /package/{esm → dist}/src/api/exchange/convertToMultiSigUser.js +0 -0
  2094. /package/{esm → dist}/src/api/exchange/createSubAccount.js +0 -0
  2095. /package/{esm → dist}/src/api/exchange/createVault.js +0 -0
  2096. /package/{esm → dist}/src/api/exchange/evmUserModify.js +0 -0
  2097. /package/{esm → dist}/src/api/exchange/linkStakingUser.js +0 -0
  2098. /package/{esm → dist}/src/api/exchange/modify.js +0 -0
  2099. /package/{esm → dist}/src/api/exchange/multiSig.js +0 -0
  2100. /package/{esm → dist}/src/api/exchange/noop.js +0 -0
  2101. /package/{esm → dist}/src/api/exchange/order.js +0 -0
  2102. /package/{esm → dist}/src/api/exchange/registerReferrer.js +0 -0
  2103. /package/{esm → dist}/src/api/exchange/reserveRequestWeight.js +0 -0
  2104. /package/{esm → dist}/src/api/exchange/scheduleCancel.js +0 -0
  2105. /package/{esm → dist}/src/api/exchange/sendAsset.js +0 -0
  2106. /package/{esm → dist}/src/api/exchange/setDisplayName.js +0 -0
  2107. /package/{esm → dist}/src/api/exchange/setReferrer.js +0 -0
  2108. /package/{esm → dist}/src/api/exchange/spotDeploy.js +0 -0
  2109. /package/{esm → dist}/src/api/exchange/spotSend.js +0 -0
  2110. /package/{esm → dist}/src/api/exchange/spotUser.js +0 -0
  2111. /package/{esm → dist}/src/api/exchange/subAccountModify.js +0 -0
  2112. /package/{esm → dist}/src/api/exchange/subAccountSpotTransfer.js +0 -0
  2113. /package/{esm → dist}/src/api/exchange/subAccountTransfer.js +0 -0
  2114. /package/{esm → dist}/src/api/exchange/tokenDelegate.js +0 -0
  2115. /package/{esm → dist}/src/api/exchange/twapCancel.js +0 -0
  2116. /package/{esm → dist}/src/api/exchange/twapOrder.js +0 -0
  2117. /package/{esm → dist}/src/api/exchange/updateIsolatedMargin.js +0 -0
  2118. /package/{esm → dist}/src/api/exchange/updateLeverage.js +0 -0
  2119. /package/{esm → dist}/src/api/exchange/usdClassTransfer.js +0 -0
  2120. /package/{esm → dist}/src/api/exchange/usdSend.js +0 -0
  2121. /package/{esm → dist}/src/api/exchange/userDexAbstraction.js +0 -0
  2122. /package/{esm → dist}/src/api/exchange/vaultDistribute.js +0 -0
  2123. /package/{esm → dist}/src/api/exchange/vaultModify.js +0 -0
  2124. /package/{esm → dist}/src/api/exchange/vaultTransfer.js +0 -0
  2125. /package/{esm → dist}/src/api/exchange/withdraw3.js +0 -0
  2126. /package/{esm → dist}/src/api/exchange/~client.js +0 -0
  2127. /package/{esm → dist}/src/api/exchange/~mod.js +0 -0
  2128. /package/{esm → dist}/src/api/info/_types.js +0 -0
  2129. /package/{esm → dist}/src/api/info/activeAssetData.js +0 -0
  2130. /package/{esm → dist}/src/api/info/allMids.js +0 -0
  2131. /package/{esm → dist}/src/api/info/allPerpMetas.js +0 -0
  2132. /package/{esm → dist}/src/api/info/blockDetails.js +0 -0
  2133. /package/{esm → dist}/src/api/info/candleSnapshot.js +0 -0
  2134. /package/{esm → dist}/src/api/info/clearinghouseState.js +0 -0
  2135. /package/{esm → dist}/src/api/info/delegations.js +0 -0
  2136. /package/{esm → dist}/src/api/info/delegatorHistory.js +0 -0
  2137. /package/{esm → dist}/src/api/info/delegatorRewards.js +0 -0
  2138. /package/{esm → dist}/src/api/info/delegatorSummary.js +0 -0
  2139. /package/{esm → dist}/src/api/info/exchangeStatus.js +0 -0
  2140. /package/{esm → dist}/src/api/info/extraAgents.js +0 -0
  2141. /package/{esm → dist}/src/api/info/frontendOpenOrders.js +0 -0
  2142. /package/{esm → dist}/src/api/info/fundingHistory.js +0 -0
  2143. /package/{esm → dist}/src/api/info/gossipRootIps.js +0 -0
  2144. /package/{esm → dist}/src/api/info/historicalOrders.js +0 -0
  2145. /package/{esm → dist}/src/api/info/isVip.js +0 -0
  2146. /package/{esm → dist}/src/api/info/l2Book.js +0 -0
  2147. /package/{esm → dist}/src/api/info/leadingVaults.js +0 -0
  2148. /package/{esm → dist}/src/api/info/legalCheck.js +0 -0
  2149. /package/{esm → dist}/src/api/info/liquidatable.js +0 -0
  2150. /package/{esm → dist}/src/api/info/marginTable.js +0 -0
  2151. /package/{esm → dist}/src/api/info/maxBuilderFee.js +0 -0
  2152. /package/{esm → dist}/src/api/info/maxMarketOrderNtls.js +0 -0
  2153. /package/{esm → dist}/src/api/info/meta.js +0 -0
  2154. /package/{esm → dist}/src/api/info/metaAndAssetCtxs.js +0 -0
  2155. /package/{esm → dist}/src/api/info/openOrders.js +0 -0
  2156. /package/{esm → dist}/src/api/info/orderStatus.js +0 -0
  2157. /package/{esm → dist}/src/api/info/perpDeployAuctionStatus.js +0 -0
  2158. /package/{esm → dist}/src/api/info/perpDexLimits.js +0 -0
  2159. /package/{esm → dist}/src/api/info/perpsAtOpenInterestCap.js +0 -0
  2160. /package/{esm → dist}/src/api/info/portfolio.js +0 -0
  2161. /package/{esm → dist}/src/api/info/preTransferCheck.js +0 -0
  2162. /package/{esm → dist}/src/api/info/predictedFundings.js +0 -0
  2163. /package/{esm → dist}/src/api/info/recentTrades.js +0 -0
  2164. /package/{esm → dist}/src/api/info/referral.js +0 -0
  2165. /package/{esm → dist}/src/api/info/spotClearinghouseState.js +0 -0
  2166. /package/{esm → dist}/src/api/info/spotDeployState.js +0 -0
  2167. /package/{esm → dist}/src/api/info/spotMeta.js +0 -0
  2168. /package/{esm → dist}/src/api/info/spotMetaAndAssetCtxs.js +0 -0
  2169. /package/{esm → dist}/src/api/info/spotPairDeployAuctionStatus.js +0 -0
  2170. /package/{esm → dist}/src/api/info/subAccounts.js +0 -0
  2171. /package/{esm → dist}/src/api/info/subAccounts2.js +0 -0
  2172. /package/{esm → dist}/src/api/info/tokenDetails.js +0 -0
  2173. /package/{esm → dist}/src/api/info/twapHistory.js +0 -0
  2174. /package/{esm → dist}/src/api/info/txDetails.js +0 -0
  2175. /package/{esm → dist}/src/api/info/userDetails.js +0 -0
  2176. /package/{esm → dist}/src/api/info/userDexAbstraction.js +0 -0
  2177. /package/{esm → dist}/src/api/info/userFees.js +0 -0
  2178. /package/{esm → dist}/src/api/info/userFills.js +0 -0
  2179. /package/{esm → dist}/src/api/info/userFillsByTime.js +0 -0
  2180. /package/{esm → dist}/src/api/info/userFunding.js +0 -0
  2181. /package/{esm → dist}/src/api/info/userNonFundingLedgerUpdates.js +0 -0
  2182. /package/{esm → dist}/src/api/info/userRole.js +0 -0
  2183. /package/{esm → dist}/src/api/info/userToMultiSigSigners.js +0 -0
  2184. /package/{esm → dist}/src/api/info/userTwapSliceFills.js +0 -0
  2185. /package/{esm → dist}/src/api/info/userTwapSliceFillsByTime.js +0 -0
  2186. /package/{esm → dist}/src/api/info/userVaultEquities.js +0 -0
  2187. /package/{esm → dist}/src/api/info/validatorL1Votes.js +0 -0
  2188. /package/{esm → dist}/src/api/info/validatorSummaries.js +0 -0
  2189. /package/{esm → dist}/src/api/info/vaultSummaries.js +0 -0
  2190. /package/{esm → dist}/src/api/info/webData2.js +0 -0
  2191. /package/{esm → dist}/src/api/info/~client.js +0 -0
  2192. /package/{esm → dist}/src/api/info/~mod.js +0 -0
  2193. /package/{esm → dist}/src/api/subscription/_types.js +0 -0
  2194. /package/{esm → dist}/src/api/subscription/activeAssetCtx.js +0 -0
  2195. /package/{esm → dist}/src/api/subscription/activeAssetData.js +0 -0
  2196. /package/{esm → dist}/src/api/subscription/activeSpotAssetCtx.js +0 -0
  2197. /package/{esm → dist}/src/api/subscription/allMids.js +0 -0
  2198. /package/{esm → dist}/src/api/subscription/assetCtxs.js +0 -0
  2199. /package/{esm → dist}/src/api/subscription/bbo.js +0 -0
  2200. /package/{esm → dist}/src/api/subscription/candle.js +0 -0
  2201. /package/{esm → dist}/src/api/subscription/clearinghouseState.js +0 -0
  2202. /package/{esm → dist}/src/api/subscription/explorerBlock.js +0 -0
  2203. /package/{esm → dist}/src/api/subscription/explorerTxs.js +0 -0
  2204. /package/{esm → dist}/src/api/subscription/l2Book.js +0 -0
  2205. /package/{esm → dist}/src/api/subscription/notification.js +0 -0
  2206. /package/{esm → dist}/src/api/subscription/openOrders.js +0 -0
  2207. /package/{esm → dist}/src/api/subscription/orderUpdates.js +0 -0
  2208. /package/{esm → dist}/src/api/subscription/spotState.js +0 -0
  2209. /package/{esm → dist}/src/api/subscription/trades.js +0 -0
  2210. /package/{esm → dist}/src/api/subscription/userFills.js +0 -0
  2211. /package/{esm → dist}/src/api/subscription/userFundings.js +0 -0
  2212. /package/{esm → dist}/src/api/subscription/userHistoricalOrders.js +0 -0
  2213. /package/{esm → dist}/src/api/subscription/userNonFundingLedgerUpdates.js +0 -0
  2214. /package/{esm → dist}/src/api/subscription/userTwapHistory.js +0 -0
  2215. /package/{esm → dist}/src/api/subscription/userTwapSliceFills.js +0 -0
  2216. /package/{esm → dist}/src/api/subscription/webData2.js +0 -0
  2217. /package/{esm → dist}/src/api/subscription/webData3.js +0 -0
  2218. /package/{esm → dist}/src/api/subscription/~client.js +0 -0
  2219. /package/{esm → dist}/src/api/subscription/~mod.js +0 -0
  2220. /package/{esm → dist}/src/mod.js +0 -0
  2221. /package/{esm → dist}/src/transport/http/mod.js +0 -0
  2222. /package/{esm → dist}/src/utils/_eip712.js +0 -0
  2223. /package/{esm → dist}/src/utils/_format.d.ts +0 -0
  2224. /package/{esm → dist}/src/utils/_format.js +0 -0
  2225. /package/{esm → dist}/src/utils/_recover.js +0 -0
  2226. /package/{esm → dist}/src/utils/_symbolConverter.js +0 -0
  2227. /package/{esm → dist}/src/utils/mod.js +0 -0
  2228. /package/src/{src/_base.ts → _base.ts} +0 -0
  2229. /package/src/{src/api → api}/exchange/_base/_nonce.ts +0 -0
  2230. /package/src/{src/utils → utils}/_format.ts +0 -0
@@ -1,2901 +0,0 @@
1
- import * as v from "valibot";
2
- import { type DeepImmutable } from "../_base.js";
3
- import { type ExchangeRequestConfig, type ExtractRequestAction, type ExtractRequestOptions } from "./_base/mod.js";
4
- import { CancelSuccessResponse } from "./cancel.js";
5
- import { CreateSubAccountResponse } from "./createSubAccount.js";
6
- import { CreateVaultResponse } from "./createVault.js";
7
- import { OrderSuccessResponse } from "./order.js";
8
- import { TwapOrderSuccessResponse } from "./twapOrder.js";
9
- import { TwapCancelSuccessResponse } from "./twapCancel.js";
10
- /**
11
- * A multi-signature request.
12
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
13
- */
14
- export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
15
- /** Action to perform. */
16
- readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
17
- /** Type of action. */
18
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"multiSig", undefined>, v.DescriptionAction<"multiSig", "Type of action.">]>;
19
- /** Chain ID used for signing. */
20
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
21
- /** List of signatures from authorized signers. */
22
- readonly signatures: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
23
- readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
24
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "Second 32-byte component of ECDSA signature.">]>;
25
- readonly v: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<27, undefined>, v.LiteralSchema<28, undefined>], undefined>, v.DescriptionAction<27 | 28, "Recovery identifier.">]>;
26
- }, undefined>, v.DescriptionAction<{
27
- r: `0x${string}`;
28
- s: `0x${string}`;
29
- v: 27 | 28;
30
- }, "ECDSA signature components for Ethereum typed data.">]>, undefined>, v.DescriptionAction<{
31
- r: `0x${string}`;
32
- s: `0x${string}`;
33
- v: 27 | 28;
34
- }[], "List of signatures from authorized signers.">]>;
35
- /** Multi-signature payload information. */
36
- readonly payload: v.SchemaWithPipe<readonly [v.ObjectSchema<{
37
- /** Address of the multi-signature user account. */
38
- readonly multiSigUser: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the multi-signature user account.">]>;
39
- /** Address of the authorized user initiating the request (any authorized user). */
40
- readonly outerSigner: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the authorized user initiating the request (any authorized user).">]>;
41
- /** The underlying action to be executed through multi-sig. */
42
- readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
43
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveAgent", undefined>, v.DescriptionAction<"approveAgent", "Type of action.">]>;
44
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
45
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
46
- readonly agentAddress: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Agent address.">]>;
47
- readonly agentName: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>, v.DescriptionAction<string | null, "Agent name or null for unnamed agent.">]>;
48
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
49
- }, undefined>, v.DescriptionAction<{
50
- type: "approveAgent";
51
- signatureChainId: `0x${string}`;
52
- hyperliquidChain: "Testnet" | "Mainnet";
53
- agentAddress: `0x${string}`;
54
- agentName: string | null;
55
- nonce: number;
56
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
57
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveBuilderFee", undefined>, v.DescriptionAction<"approveBuilderFee", "Type of action.">]>;
58
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
59
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
60
- readonly maxFeeRate: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `${string}%`>]>, v.DescriptionAction<`${string}%`, "Max fee rate (e.g., \"0.01%\").">]>;
61
- readonly builder: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Builder address.">]>;
62
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
63
- }, undefined>, v.DescriptionAction<{
64
- type: "approveBuilderFee";
65
- signatureChainId: `0x${string}`;
66
- hyperliquidChain: "Testnet" | "Mainnet";
67
- maxFeeRate: `${string}%`;
68
- builder: `0x${string}`;
69
- nonce: number;
70
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
71
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"batchModify", undefined>, v.DescriptionAction<"batchModify", "Type of action.">]>;
72
- readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
73
- readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
74
- readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
75
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
76
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
77
- readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Price.">]>;
78
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
79
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
80
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
81
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
82
- readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", string>]>;
83
- }, undefined>, v.DescriptionAction<{
84
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
85
- }, "Limit order parameters.">]>;
86
- }, undefined>, v.ObjectSchema<{
87
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
88
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
89
- readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Trigger price.">]>;
90
- readonly tpsl: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"tp", undefined>, v.LiteralSchema<"sl", undefined>], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
91
- }, undefined>, v.DescriptionAction<{
92
- isMarket: boolean;
93
- triggerPx: string;
94
- tpsl: "tp" | "sl";
95
- }, "Trigger order parameters.">]>;
96
- }, undefined>], undefined>, v.DescriptionAction<{
97
- limit: {
98
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
99
- };
100
- } | {
101
- trigger: {
102
- isMarket: boolean;
103
- triggerPx: string;
104
- tpsl: "tp" | "sl";
105
- };
106
- }, "Order type.">]>;
107
- readonly c: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | undefined, "Client Order ID.">]>;
108
- }, undefined>, v.DescriptionAction<{
109
- a: number;
110
- b: boolean;
111
- p: string;
112
- s: string;
113
- r: boolean;
114
- t: {
115
- limit: {
116
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
117
- };
118
- } | {
119
- trigger: {
120
- isMarket: boolean;
121
- triggerPx: string;
122
- tpsl: "tp" | "sl";
123
- };
124
- };
125
- c?: `0x${string}` | undefined;
126
- }, "Place order parameters.">]>;
127
- }, undefined>, undefined>, v.DescriptionAction<{
128
- oid: number | `0x${string}`;
129
- order: {
130
- a: number;
131
- b: boolean;
132
- p: string;
133
- s: string;
134
- r: boolean;
135
- t: {
136
- limit: {
137
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
138
- };
139
- } | {
140
- trigger: {
141
- isMarket: boolean;
142
- triggerPx: string;
143
- tpsl: "tp" | "sl";
144
- };
145
- };
146
- c?: `0x${string}` | undefined;
147
- };
148
- }[], "Order modifications.">]>;
149
- }, undefined>, v.DescriptionAction<{
150
- type: "batchModify";
151
- modifies: {
152
- oid: number | `0x${string}`;
153
- order: {
154
- a: number;
155
- b: boolean;
156
- p: string;
157
- s: string;
158
- r: boolean;
159
- t: {
160
- limit: {
161
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
162
- };
163
- } | {
164
- trigger: {
165
- isMarket: boolean;
166
- triggerPx: string;
167
- tpsl: "tp" | "sl";
168
- };
169
- };
170
- c?: `0x${string}` | undefined;
171
- };
172
- }[];
173
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
174
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of action.">]>;
175
- readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
176
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
177
- readonly o: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Order ID.">]>;
178
- }, undefined>, undefined>, v.DescriptionAction<{
179
- a: number;
180
- o: number;
181
- }[], "Orders to cancel.">]>;
182
- }, undefined>, v.DescriptionAction<{
183
- type: "cancel";
184
- cancels: {
185
- a: number;
186
- o: number;
187
- }[];
188
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
189
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancelByCloid", undefined>, v.DescriptionAction<"cancelByCloid", "Type of action.">]>;
190
- readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
191
- readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
192
- readonly cloid: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>, v.DescriptionAction<`0x${string}`, "Client Order ID.">]>;
193
- }, undefined>, undefined>, v.DescriptionAction<{
194
- asset: number;
195
- cloid: `0x${string}`;
196
- }[], "Orders to cancel.">]>;
197
- }, undefined>, v.DescriptionAction<{
198
- type: "cancelByCloid";
199
- cancels: {
200
- asset: number;
201
- cloid: `0x${string}`;
202
- }[];
203
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
204
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cDeposit", undefined>, v.DescriptionAction<"cDeposit", "Type of action.">]>;
205
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
206
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
207
- readonly wei: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount of wei to deposit into staking balance (float * 1e8).">]>;
208
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
209
- }, undefined>, v.DescriptionAction<{
210
- type: "cDeposit";
211
- signatureChainId: `0x${string}`;
212
- hyperliquidChain: "Testnet" | "Mainnet";
213
- wei: number;
214
- nonce: number;
215
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
216
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"claimRewards", undefined>, v.DescriptionAction<"claimRewards", "Type of action.">]>;
217
- }, undefined>, v.DescriptionAction<{
218
- type: "claimRewards";
219
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
220
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"convertToMultiSigUser", undefined>, v.DescriptionAction<"convertToMultiSigUser", "Type of action.">]>;
221
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
222
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
223
- readonly signers: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ParseJsonAction<string, undefined, undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
224
- readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
225
- readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
226
- }, undefined>, v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Convert a multi-signature account to a single-signature account.">]>], undefined>, v.DescriptionAction<{
227
- authorizedUsers: `0x${string}`[];
228
- threshold: number;
229
- } | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
230
- authorizedUsers: `0x${string}`[];
231
- threshold: number;
232
- } | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
233
- readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
234
- readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
235
- }, undefined>, v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Convert a multi-signature account to a single-signature account.">]>], undefined>, v.DescriptionAction<{
236
- authorizedUsers: `0x${string}`[];
237
- threshold: number;
238
- } | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
239
- authorizedUsers: `0x${string}`[];
240
- threshold: number;
241
- } | null, undefined, undefined>]>], undefined>, v.DescriptionAction<string, string>]>;
242
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
243
- }, undefined>, v.DescriptionAction<{
244
- type: "convertToMultiSigUser";
245
- signatureChainId: `0x${string}`;
246
- hyperliquidChain: "Testnet" | "Mainnet";
247
- signers: string;
248
- nonce: number;
249
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
250
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createSubAccount", undefined>, v.DescriptionAction<"createSubAccount", "Type of action.">]>;
251
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Sub-account name.">]>;
252
- }, undefined>, v.DescriptionAction<{
253
- type: "createSubAccount";
254
- name: string;
255
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
256
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createVault", undefined>, v.DescriptionAction<"createVault", "Type of action.">]>;
257
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.DescriptionAction<string, "Vault name.">]>;
258
- readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 10, undefined>, v.DescriptionAction<string, "Vault description.">]>;
259
- readonly initialUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 100000000, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
260
- readonly nonce: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, () => number>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
261
- }, undefined>, v.DescriptionAction<{
262
- type: "createVault";
263
- name: string;
264
- description: string;
265
- initialUsd: number;
266
- nonce: number;
267
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
268
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
269
- readonly jailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Jail the signer.">]>;
270
- }, undefined>, v.ObjectSchema<{
271
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
272
- readonly unjailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Unjail the signer.">]>;
273
- }, undefined>], undefined>, v.DescriptionAction<{
274
- type: "CSignerAction";
275
- jailSelf: null;
276
- } | {
277
- type: "CSignerAction";
278
- unjailSelf: null;
279
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
280
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
281
- readonly changeProfile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
282
- readonly node_ip: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
283
- readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
284
- }, undefined>, undefined>, v.DescriptionAction<{
285
- Ip: string;
286
- } | null, "Validator node IP address.">]>;
287
- readonly name: v.SchemaWithPipe<readonly [v.NullableSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | null, "Validator name.">]>;
288
- readonly description: v.SchemaWithPipe<readonly [v.NullableSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | null, "Validator description.">]>;
289
- readonly unjailed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Validator jail status.">]>;
290
- readonly disable_delegations: v.SchemaWithPipe<readonly [v.NullableSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | null, "Enable or disable delegations.">]>;
291
- readonly commission_bps: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | null, "Commission rate in basis points (1 = 0.0001%).">]>;
292
- readonly signer: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | null, "Signer address.">]>;
293
- }, undefined>, v.DescriptionAction<{
294
- node_ip: {
295
- Ip: string;
296
- } | null;
297
- name: string | null;
298
- description: string | null;
299
- unjailed: boolean;
300
- disable_delegations: boolean | null;
301
- commission_bps: number | null;
302
- signer: `0x${string}` | null;
303
- }, "Profile changes to apply.">]>;
304
- }, undefined>, v.ObjectSchema<{
305
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
306
- readonly register: v.SchemaWithPipe<readonly [v.ObjectSchema<{
307
- readonly profile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
308
- readonly node_ip: v.SchemaWithPipe<readonly [v.ObjectSchema<{
309
- readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
310
- }, undefined>, v.DescriptionAction<{
311
- Ip: string;
312
- }, "Validator node IP address.">]>;
313
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Validator name.">]>;
314
- readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Validator description.">]>;
315
- readonly delegations_disabled: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether delegations are disabled.">]>;
316
- readonly commission_bps: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Commission rate in basis points (1 = 0.0001%).">]>;
317
- readonly signer: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Signer address.">]>;
318
- }, undefined>, v.DescriptionAction<{
319
- node_ip: {
320
- Ip: string;
321
- };
322
- name: string;
323
- description: string;
324
- delegations_disabled: boolean;
325
- commission_bps: number;
326
- signer: `0x${string}`;
327
- }, "Validator profile information.">]>;
328
- readonly unjailed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Initial jail status.">]>;
329
- readonly initial_wei: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Initial stake amount in wei.">]>;
330
- }, undefined>, v.DescriptionAction<{
331
- profile: {
332
- node_ip: {
333
- Ip: string;
334
- };
335
- name: string;
336
- description: string;
337
- delegations_disabled: boolean;
338
- commission_bps: number;
339
- signer: `0x${string}`;
340
- };
341
- unjailed: boolean;
342
- initial_wei: number;
343
- }, "Registration parameters.">]>;
344
- }, undefined>, v.ObjectSchema<{
345
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
346
- readonly unregister: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Unregister the validator.">]>;
347
- }, undefined>], undefined>, v.DescriptionAction<{
348
- type: "CValidatorAction";
349
- changeProfile: {
350
- node_ip: {
351
- Ip: string;
352
- } | null;
353
- name: string | null;
354
- description: string | null;
355
- unjailed: boolean;
356
- disable_delegations: boolean | null;
357
- commission_bps: number | null;
358
- signer: `0x${string}` | null;
359
- };
360
- } | {
361
- type: "CValidatorAction";
362
- register: {
363
- profile: {
364
- node_ip: {
365
- Ip: string;
366
- };
367
- name: string;
368
- description: string;
369
- delegations_disabled: boolean;
370
- commission_bps: number;
371
- signer: `0x${string}`;
372
- };
373
- unjailed: boolean;
374
- initial_wei: number;
375
- };
376
- } | {
377
- type: "CValidatorAction";
378
- unregister: null;
379
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
380
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cWithdraw", undefined>, v.DescriptionAction<"cWithdraw", "Type of action.">]>;
381
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
382
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
383
- readonly wei: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount of wei to withdraw from staking balance (float * 1e8).">]>;
384
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
385
- }, undefined>, v.DescriptionAction<{
386
- type: "cWithdraw";
387
- signatureChainId: `0x${string}`;
388
- hyperliquidChain: "Testnet" | "Mainnet";
389
- wei: number;
390
- nonce: number;
391
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
392
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"evmUserModify", undefined>, v.DescriptionAction<"evmUserModify", "Type of action.">]>;
393
- readonly usingBigBlocks: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for large blocks, `false` for small blocks.">]>;
394
- }, undefined>, v.DescriptionAction<{
395
- type: "evmUserModify";
396
- usingBigBlocks: boolean;
397
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
398
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
399
- readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
400
- readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
401
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
402
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
403
- readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Price.">]>;
404
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
405
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
406
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
407
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
408
- readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", string>]>;
409
- }, undefined>, v.DescriptionAction<{
410
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
411
- }, "Limit order parameters.">]>;
412
- }, undefined>, v.ObjectSchema<{
413
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
414
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
415
- readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Trigger price.">]>;
416
- readonly tpsl: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"tp", undefined>, v.LiteralSchema<"sl", undefined>], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
417
- }, undefined>, v.DescriptionAction<{
418
- isMarket: boolean;
419
- triggerPx: string;
420
- tpsl: "tp" | "sl";
421
- }, "Trigger order parameters.">]>;
422
- }, undefined>], undefined>, v.DescriptionAction<{
423
- limit: {
424
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
425
- };
426
- } | {
427
- trigger: {
428
- isMarket: boolean;
429
- triggerPx: string;
430
- tpsl: "tp" | "sl";
431
- };
432
- }, "Order type.">]>;
433
- readonly c: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | undefined, "Client Order ID.">]>;
434
- }, undefined>, v.DescriptionAction<{
435
- a: number;
436
- b: boolean;
437
- p: string;
438
- s: string;
439
- r: boolean;
440
- t: {
441
- limit: {
442
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
443
- };
444
- } | {
445
- trigger: {
446
- isMarket: boolean;
447
- triggerPx: string;
448
- tpsl: "tp" | "sl";
449
- };
450
- };
451
- c?: `0x${string}` | undefined;
452
- }, "Place order parameters.">]>;
453
- }, undefined>, v.DescriptionAction<{
454
- type: "modify";
455
- oid: number | `0x${string}`;
456
- order: {
457
- a: number;
458
- b: boolean;
459
- p: string;
460
- s: string;
461
- r: boolean;
462
- t: {
463
- limit: {
464
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
465
- };
466
- } | {
467
- trigger: {
468
- isMarket: boolean;
469
- triggerPx: string;
470
- tpsl: "tp" | "sl";
471
- };
472
- };
473
- c?: `0x${string}` | undefined;
474
- };
475
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
476
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"noop", undefined>, v.DescriptionAction<"noop", "Type of action.">]>;
477
- }, undefined>, v.DescriptionAction<{
478
- type: "noop";
479
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
480
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of action.">]>;
481
- readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
482
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
483
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
484
- readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Price.">]>;
485
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
486
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
487
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
488
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
489
- readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", string>]>;
490
- }, undefined>, v.DescriptionAction<{
491
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
492
- }, "Limit order parameters.">]>;
493
- }, undefined>, v.ObjectSchema<{
494
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
495
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
496
- readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Trigger price.">]>;
497
- readonly tpsl: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"tp", undefined>, v.LiteralSchema<"sl", undefined>], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
498
- }, undefined>, v.DescriptionAction<{
499
- isMarket: boolean;
500
- triggerPx: string;
501
- tpsl: "tp" | "sl";
502
- }, "Trigger order parameters.">]>;
503
- }, undefined>], undefined>, v.DescriptionAction<{
504
- limit: {
505
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
506
- };
507
- } | {
508
- trigger: {
509
- isMarket: boolean;
510
- triggerPx: string;
511
- tpsl: "tp" | "sl";
512
- };
513
- }, "Order type.">]>;
514
- readonly c: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | undefined, "Client Order ID.">]>;
515
- }, undefined>, v.DescriptionAction<{
516
- a: number;
517
- b: boolean;
518
- p: string;
519
- s: string;
520
- r: boolean;
521
- t: {
522
- limit: {
523
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
524
- };
525
- } | {
526
- trigger: {
527
- isMarket: boolean;
528
- triggerPx: string;
529
- tpsl: "tp" | "sl";
530
- };
531
- };
532
- c?: `0x${string}` | undefined;
533
- }, "Place order parameters.">]>, undefined>, v.DescriptionAction<{
534
- a: number;
535
- b: boolean;
536
- p: string;
537
- s: string;
538
- r: boolean;
539
- t: {
540
- limit: {
541
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
542
- };
543
- } | {
544
- trigger: {
545
- isMarket: boolean;
546
- triggerPx: string;
547
- tpsl: "tp" | "sl";
548
- };
549
- };
550
- c?: `0x${string}` | undefined;
551
- }[], "Order parameters.">]>;
552
- readonly grouping: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"na", undefined>, v.LiteralSchema<"normalTpsl", undefined>, v.LiteralSchema<"positionTpsl", undefined>], undefined>, "na">, v.DescriptionAction<"na" | "normalTpsl" | "positionTpsl", string>]>;
553
- readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
554
- readonly b: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Builder address.">]>;
555
- readonly f: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Builder fee in 0.1bps (1 = 0.0001%).">]>;
556
- }, undefined>, undefined>, v.DescriptionAction<{
557
- b: `0x${string}`;
558
- f: number;
559
- } | undefined, "Builder fee.">]>;
560
- }, undefined>, v.DescriptionAction<{
561
- type: "order";
562
- orders: {
563
- a: number;
564
- b: boolean;
565
- p: string;
566
- s: string;
567
- r: boolean;
568
- t: {
569
- limit: {
570
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
571
- };
572
- } | {
573
- trigger: {
574
- isMarket: boolean;
575
- triggerPx: string;
576
- tpsl: "tp" | "sl";
577
- };
578
- };
579
- c?: `0x${string}` | undefined;
580
- }[];
581
- grouping: "na" | "normalTpsl" | "positionTpsl";
582
- builder?: {
583
- b: `0x${string}`;
584
- f: number;
585
- } | undefined;
586
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
587
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
588
- readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
589
- readonly maxGas: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
590
- readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
591
- readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
592
- readonly szDecimals: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
593
- readonly oraclePx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
594
- readonly marginTableId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
595
- readonly onlyIsolated: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the asset can only be traded with isolated margin.">]>;
596
- }, undefined>, v.DescriptionAction<{
597
- coin: string;
598
- szDecimals: number;
599
- oraclePx: string;
600
- marginTableId: number;
601
- onlyIsolated: boolean;
602
- }, "Contains new asset listing parameters.">]>;
603
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
604
- readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
605
- readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
606
- readonly collateralToken: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Collateral token index.">]>;
607
- readonly oracleUpdater: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
608
- }, undefined>, undefined>, v.DescriptionAction<{
609
- fullName: string;
610
- collateralToken: number;
611
- oracleUpdater: `0x${string}` | null;
612
- } | null, "Contains new dex parameters.">]>;
613
- }, undefined>, v.DescriptionAction<{
614
- maxGas: number | null;
615
- assetRequest: {
616
- coin: string;
617
- szDecimals: number;
618
- oraclePx: string;
619
- marginTableId: number;
620
- onlyIsolated: boolean;
621
- };
622
- dex: string;
623
- schema: {
624
- fullName: string;
625
- collateralToken: number;
626
- oracleUpdater: `0x${string}` | null;
627
- } | null;
628
- }, "Parameters for registering a new perpetual asset.">]>;
629
- }, undefined>, v.DescriptionAction<{
630
- type: "perpDeploy";
631
- registerAsset: {
632
- maxGas: number | null;
633
- assetRequest: {
634
- coin: string;
635
- szDecimals: number;
636
- oraclePx: string;
637
- marginTableId: number;
638
- onlyIsolated: boolean;
639
- };
640
- dex: string;
641
- schema: {
642
- fullName: string;
643
- collateralToken: number;
644
- oracleUpdater: `0x${string}` | null;
645
- } | null;
646
- };
647
- }, "Register asset variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
648
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
649
- readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
650
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
651
- readonly oraclePxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
652
- readonly markPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, undefined>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
653
- readonly externalPerpPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and external prices which prevent sudden mark price deviations.">]>;
654
- }, undefined>, v.DescriptionAction<{
655
- dex: string;
656
- oraclePxs: [string, string][];
657
- markPxs: [string, string][][];
658
- externalPerpPxs: [string, string][];
659
- }, "Parameters for setting oracle and mark prices for assets.">]>;
660
- }, undefined>, v.DescriptionAction<{
661
- type: "perpDeploy";
662
- setOracle: {
663
- dex: string;
664
- oraclePxs: [string, string][];
665
- markPxs: [string, string][][];
666
- externalPerpPxs: [string, string][];
667
- };
668
- }, "Set oracle variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
669
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
670
- readonly setFundingMultipliers: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and funding multiplier.">]>;
671
- }, undefined>, v.DescriptionAction<{
672
- type: "perpDeploy";
673
- setFundingMultipliers: [string, string][];
674
- }, "Set funding multipliers variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
675
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
676
- readonly haltTrading: v.SchemaWithPipe<readonly [v.ObjectSchema<{
677
- readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the asset to halt or resume.">]>;
678
- readonly isHalted: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether trading should be halted (true) or resumed (false).">]>;
679
- }, undefined>, v.DescriptionAction<{
680
- coin: string;
681
- isHalted: boolean;
682
- }, "Parameters for halting or resuming trading for an asset.">]>;
683
- }, undefined>, v.DescriptionAction<{
684
- type: "perpDeploy";
685
- haltTrading: {
686
- coin: string;
687
- isHalted: boolean;
688
- };
689
- }, "Halt trading variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
690
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
691
- readonly setMarginTableIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and margin table ids.">]>;
692
- }, undefined>, v.DescriptionAction<{
693
- type: "perpDeploy";
694
- setMarginTableIds: [string, number][];
695
- }, "Set margin table ids variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
696
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
697
- readonly setFeeRecipient: v.SchemaWithPipe<readonly [v.ObjectSchema<{
698
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
699
- readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the fee recipient.">]>;
700
- }, undefined>, v.DescriptionAction<{
701
- dex: string;
702
- feeRecipient: `0x${string}`;
703
- }, "Parameters for setting the fee recipient.">]>;
704
- }, undefined>, v.DescriptionAction<{
705
- type: "perpDeploy";
706
- setFeeRecipient: {
707
- dex: string;
708
- feeRecipient: `0x${string}`;
709
- };
710
- }, "Set fee recipient variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
711
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
712
- readonly setOpenInterestCaps: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and open interest cap notionals.">]>;
713
- }, undefined>, v.DescriptionAction<{
714
- type: "perpDeploy";
715
- setOpenInterestCaps: [string, number][];
716
- }, "Set open interest caps variant">]>], undefined>, v.DescriptionAction<{
717
- type: "perpDeploy";
718
- registerAsset: {
719
- maxGas: number | null;
720
- assetRequest: {
721
- coin: string;
722
- szDecimals: number;
723
- oraclePx: string;
724
- marginTableId: number;
725
- onlyIsolated: boolean;
726
- };
727
- dex: string;
728
- schema: {
729
- fullName: string;
730
- collateralToken: number;
731
- oracleUpdater: `0x${string}` | null;
732
- } | null;
733
- };
734
- } | {
735
- type: "perpDeploy";
736
- setOracle: {
737
- dex: string;
738
- oraclePxs: [string, string][];
739
- markPxs: [string, string][][];
740
- externalPerpPxs: [string, string][];
741
- };
742
- } | {
743
- type: "perpDeploy";
744
- setFundingMultipliers: [string, string][];
745
- } | {
746
- type: "perpDeploy";
747
- haltTrading: {
748
- coin: string;
749
- isHalted: boolean;
750
- };
751
- } | {
752
- type: "perpDeploy";
753
- setMarginTableIds: [string, number][];
754
- } | {
755
- type: "perpDeploy";
756
- setFeeRecipient: {
757
- dex: string;
758
- feeRecipient: `0x${string}`;
759
- };
760
- } | {
761
- type: "perpDeploy";
762
- setOpenInterestCaps: [string, number][];
763
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
764
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"registerReferrer", undefined>, v.DescriptionAction<"registerReferrer", "Type of action.">]>;
765
- readonly code: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Referral code to create.">]>;
766
- }, undefined>, v.DescriptionAction<{
767
- type: "registerReferrer";
768
- code: string;
769
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
770
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"reserveRequestWeight", undefined>, v.DescriptionAction<"reserveRequestWeight", "Type of action.">]>;
771
- readonly weight: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount of request weight to reserve.">]>;
772
- }, undefined>, v.DescriptionAction<{
773
- type: "reserveRequestWeight";
774
- weight: number;
775
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
776
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"scheduleCancel", undefined>, v.DescriptionAction<"scheduleCancel", "Type of action.">]>;
777
- readonly time: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, string>]>;
778
- }, undefined>, v.DescriptionAction<{
779
- type: "scheduleCancel";
780
- time?: number | undefined;
781
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
782
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"sendAsset", undefined>, v.DescriptionAction<"sendAsset", "Type of action.">]>;
783
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
784
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
785
- readonly destination: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Destination address.">]>;
786
- readonly sourceDex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Source DEX (\"\" for default USDC perp DEX, \"spot\" for spot).">]>;
787
- readonly destinationDex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Destination DEX (\"\" for default USDC perp DEX, \"spot\" for spot).">]>;
788
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `${string}:0x${string}`>]>, v.DescriptionAction<`${string}:0x${string}`, "Token identifier.">]>;
789
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to send (not in wei).">]>;
790
- readonly fromSubAccount: v.SchemaWithPipe<readonly [v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>], undefined>, "">, v.DescriptionAction<"" | `0x${string}`, "Source sub-account address (\"\" for main account).">]>;
791
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
792
- }, undefined>, v.DescriptionAction<{
793
- type: "sendAsset";
794
- signatureChainId: `0x${string}`;
795
- hyperliquidChain: "Testnet" | "Mainnet";
796
- destination: `0x${string}`;
797
- sourceDex: string;
798
- destinationDex: string;
799
- token: `${string}:0x${string}`;
800
- amount: string;
801
- fromSubAccount: "" | `0x${string}`;
802
- nonce: number;
803
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
804
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setDisplayName", undefined>, v.DescriptionAction<"setDisplayName", "Type of action.">]>;
805
- readonly displayName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, string>]>;
806
- }, undefined>, v.DescriptionAction<{
807
- type: "setDisplayName";
808
- displayName: string;
809
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
810
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setReferrer", undefined>, v.DescriptionAction<"setReferrer", "Type of action.">]>;
811
- readonly code: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Referral code.">]>;
812
- }, undefined>, v.DescriptionAction<{
813
- type: "setReferrer";
814
- code: string;
815
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
816
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
817
- readonly genesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
818
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
819
- readonly maxSupply: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Maximum token supply.">]>;
820
- readonly noHyperliquidity: v.SchemaWithPipe<readonly [v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>, v.DescriptionAction<true | undefined, "Set hyperliquidity balance to 0.">]>;
821
- }, undefined>, v.DescriptionAction<{
822
- token: number;
823
- maxSupply: string;
824
- noHyperliquidity?: true | undefined;
825
- }, "Genesis parameters.">]>;
826
- }, undefined>, v.DescriptionAction<{
827
- type: "spotDeploy";
828
- genesis: {
829
- token: number;
830
- maxSupply: string;
831
- noHyperliquidity?: true | undefined;
832
- };
833
- }, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
834
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
835
- readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.ObjectSchema<{
836
- readonly spot: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Spot index (distinct from base token index).">]>;
837
- readonly startPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Starting price for liquidity seeding.">]>;
838
- readonly orderSz: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Order size as a float (not in wei).">]>;
839
- readonly nOrders: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Total number of orders to place.">]>;
840
- readonly nSeededLevels: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Number of levels to seed with USDC.">]>;
841
- }, undefined>, v.DescriptionAction<{
842
- spot: number;
843
- startPx: string;
844
- orderSz: string;
845
- nOrders: number;
846
- nSeededLevels?: number | undefined;
847
- }, "Register hyperliquidity parameters.">]>;
848
- }, undefined>, v.DescriptionAction<{
849
- type: "spotDeploy";
850
- registerHyperliquidity: {
851
- spot: number;
852
- startPx: string;
853
- orderSz: string;
854
- nOrders: number;
855
- nSeededLevels?: number | undefined;
856
- };
857
- }, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
858
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
859
- readonly registerSpot: v.SchemaWithPipe<readonly [v.ObjectSchema<{
860
- readonly tokens: v.SchemaWithPipe<readonly [v.TupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, v.DescriptionAction<[number, number], "Tuple containing base and quote token indices.">]>;
861
- }, undefined>, v.DescriptionAction<{
862
- tokens: [number, number];
863
- }, "Register spot parameters.">]>;
864
- }, undefined>, v.DescriptionAction<{
865
- type: "spotDeploy";
866
- registerSpot: {
867
- tokens: [number, number];
868
- };
869
- }, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
870
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
871
- readonly registerToken2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
872
- readonly spec: v.SchemaWithPipe<readonly [v.ObjectSchema<{
873
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Token name.">]>;
874
- readonly szDecimals: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Number of decimals for token size.">]>;
875
- readonly weiDecimals: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Number of decimals for token amounts in wei.">]>;
876
- }, undefined>, v.DescriptionAction<{
877
- name: string;
878
- szDecimals: number;
879
- weiDecimals: number;
880
- }, "Token specifications.">]>;
881
- readonly maxGas: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Maximum gas allowed for registration.">]>;
882
- readonly fullName: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "Optional full token name.">]>;
883
- }, undefined>, v.DescriptionAction<{
884
- spec: {
885
- name: string;
886
- szDecimals: number;
887
- weiDecimals: number;
888
- };
889
- maxGas: number;
890
- fullName?: string | undefined;
891
- }, "Register token parameters.">]>;
892
- }, undefined>, v.DescriptionAction<{
893
- type: "spotDeploy";
894
- registerToken2: {
895
- spec: {
896
- name: string;
897
- szDecimals: number;
898
- weiDecimals: number;
899
- };
900
- maxGas: number;
901
- fullName?: string | undefined;
902
- };
903
- }, "Register token variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
904
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
905
- readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.ObjectSchema<{
906
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
907
- readonly share: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `${string}%`>]>, v.DescriptionAction<`${string}%`, "The deployer trading fee share. Range is 0% to 100%.">]>;
908
- }, undefined>, v.DescriptionAction<{
909
- token: number;
910
- share: `${string}%`;
911
- }, "Set deployer trading fee share parameters.">]>;
912
- }, undefined>, v.DescriptionAction<{
913
- type: "spotDeploy";
914
- setDeployerTradingFeeShare: {
915
- token: number;
916
- share: `${string}%`;
917
- };
918
- }, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
919
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
920
- readonly userGenesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
921
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
922
- readonly userAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[`0x${string}`, string][], "Array of tuples: [user address, genesis amount in wei].">]>;
923
- readonly existingTokenAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "Array of tuples: [existing token identifier, genesis amount in wei].">]>;
924
- readonly blacklistUsers: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<[`0x${string}`, boolean][] | undefined, "Array of tuples: [user address, blacklist status] (`true` for blacklist, `false` to remove existing blacklisted user).">]>;
925
- }, undefined>, v.DescriptionAction<{
926
- token: number;
927
- userAndWei: [`0x${string}`, string][];
928
- existingTokenAndWei: [number, string][];
929
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
930
- }, "User genesis parameters.">]>;
931
- }, undefined>, v.DescriptionAction<{
932
- type: "spotDeploy";
933
- userGenesis: {
934
- token: number;
935
- userAndWei: [`0x${string}`, string][];
936
- existingTokenAndWei: [number, string][];
937
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
938
- };
939
- }, "User genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
940
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
941
- readonly enableQuoteToken: v.SchemaWithPipe<readonly [v.ObjectSchema<{
942
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "The token ID to convert to a quote token.">]>;
943
- }, undefined>, v.DescriptionAction<{
944
- token: number;
945
- }, "Enable quote token parameters.">]>;
946
- }, undefined>, v.DescriptionAction<{
947
- type: "spotDeploy";
948
- enableQuoteToken: {
949
- token: number;
950
- };
951
- }, "Convert token to quote token variant">]>], undefined>, v.DescriptionAction<{
952
- type: "spotDeploy";
953
- genesis: {
954
- token: number;
955
- maxSupply: string;
956
- noHyperliquidity?: true | undefined;
957
- };
958
- } | {
959
- type: "spotDeploy";
960
- registerHyperliquidity: {
961
- spot: number;
962
- startPx: string;
963
- orderSz: string;
964
- nOrders: number;
965
- nSeededLevels?: number | undefined;
966
- };
967
- } | {
968
- type: "spotDeploy";
969
- registerSpot: {
970
- tokens: [number, number];
971
- };
972
- } | {
973
- type: "spotDeploy";
974
- registerToken2: {
975
- spec: {
976
- name: string;
977
- szDecimals: number;
978
- weiDecimals: number;
979
- };
980
- maxGas: number;
981
- fullName?: string | undefined;
982
- };
983
- } | {
984
- type: "spotDeploy";
985
- setDeployerTradingFeeShare: {
986
- token: number;
987
- share: `${string}%`;
988
- };
989
- } | {
990
- type: "spotDeploy";
991
- userGenesis: {
992
- token: number;
993
- userAndWei: [`0x${string}`, string][];
994
- existingTokenAndWei: [number, string][];
995
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
996
- };
997
- } | {
998
- type: "spotDeploy";
999
- enableQuoteToken: {
1000
- token: number;
1001
- };
1002
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1003
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotSend", undefined>, v.DescriptionAction<"spotSend", "Type of action.">]>;
1004
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
1005
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1006
- readonly destination: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Destination address.">]>;
1007
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `${string}:0x${string}`>]>, v.DescriptionAction<`${string}:0x${string}`, "Token identifier.">]>;
1008
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to send (not in wei).">]>;
1009
- readonly time: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
1010
- }, undefined>, v.DescriptionAction<{
1011
- type: "spotSend";
1012
- signatureChainId: `0x${string}`;
1013
- hyperliquidChain: "Testnet" | "Mainnet";
1014
- destination: `0x${string}`;
1015
- token: `${string}:0x${string}`;
1016
- amount: string;
1017
- time: number;
1018
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1019
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotUser", undefined>, v.DescriptionAction<"spotUser", "Type of action.">]>;
1020
- readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1021
- readonly optOut: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Opt out of spot dusting.">]>;
1022
- }, undefined>, v.DescriptionAction<{
1023
- optOut: boolean;
1024
- }, "Spot dusting options.">]>;
1025
- }, undefined>, v.DescriptionAction<{
1026
- type: "spotUser";
1027
- toggleSpotDusting: {
1028
- optOut: boolean;
1029
- };
1030
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1031
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountModify", undefined>, v.DescriptionAction<"subAccountModify", "Type of action.">]>;
1032
- readonly subAccountUser: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-account address to modify.">]>;
1033
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "New sub-account name.">]>;
1034
- }, undefined>, v.DescriptionAction<{
1035
- type: "subAccountModify";
1036
- subAccountUser: `0x${string}`;
1037
- name: string;
1038
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1039
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountSpotTransfer", undefined>, v.DescriptionAction<"subAccountSpotTransfer", "Type of action.">]>;
1040
- readonly subAccountUser: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-account address.">]>;
1041
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1042
- readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `${string}:0x${string}`>]>, v.DescriptionAction<`${string}:0x${string}`, "Token identifier.">]>;
1043
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to send (not in wei).">]>;
1044
- }, undefined>, v.DescriptionAction<{
1045
- type: "subAccountSpotTransfer";
1046
- subAccountUser: `0x${string}`;
1047
- isDeposit: boolean;
1048
- token: `${string}:0x${string}`;
1049
- amount: string;
1050
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1051
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Type of action.">]>;
1052
- readonly subAccountUser: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-account address.">]>;
1053
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1054
- readonly usd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount to transfer (float * 1e6).">]>;
1055
- }, undefined>, v.DescriptionAction<{
1056
- type: "subAccountTransfer";
1057
- subAccountUser: `0x${string}`;
1058
- isDeposit: boolean;
1059
- usd: number;
1060
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1061
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"tokenDelegate", undefined>, v.DescriptionAction<"tokenDelegate", "Type of action.">]>;
1062
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
1063
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1064
- readonly validator: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Validator address.">]>;
1065
- readonly wei: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount for delegate/undelegate (float * 1e8).">]>;
1066
- readonly isUndelegate: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for undelegate, `false` for delegate.">]>;
1067
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
1068
- }, undefined>, v.DescriptionAction<{
1069
- type: "tokenDelegate";
1070
- signatureChainId: `0x${string}`;
1071
- hyperliquidChain: "Testnet" | "Mainnet";
1072
- validator: `0x${string}`;
1073
- wei: number;
1074
- isUndelegate: boolean;
1075
- nonce: number;
1076
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1077
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapCancel", undefined>, v.DescriptionAction<"twapCancel", "Type of action.">]>;
1078
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
1079
- readonly t: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Twap ID.">]>;
1080
- }, undefined>, v.DescriptionAction<{
1081
- type: "twapCancel";
1082
- a: number;
1083
- t: number;
1084
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1085
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapOrder", undefined>, v.DescriptionAction<"twapOrder", "Type of action.">]>;
1086
- readonly twap: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1087
- readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
1088
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
1089
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
1090
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
1091
- readonly m: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "TWAP duration in minutes.">]>;
1092
- readonly t: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Enable random order timing.">]>;
1093
- }, undefined>, v.DescriptionAction<{
1094
- a: number;
1095
- b: boolean;
1096
- s: string;
1097
- r: boolean;
1098
- m: number;
1099
- t: boolean;
1100
- }, "Twap parameters.">]>;
1101
- }, undefined>, v.DescriptionAction<{
1102
- type: "twapOrder";
1103
- twap: {
1104
- a: number;
1105
- b: boolean;
1106
- s: string;
1107
- r: boolean;
1108
- m: number;
1109
- t: boolean;
1110
- };
1111
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1112
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateIsolatedMargin", undefined>, v.DescriptionAction<"updateIsolatedMargin", "Type of action.">]>;
1113
- readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
1114
- readonly isBuy: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
1115
- readonly ntli: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>]>, v.DescriptionAction<number, "Amount to adjust (float * 1e6).">]>;
1116
- }, undefined>, v.DescriptionAction<{
1117
- type: "updateIsolatedMargin";
1118
- asset: number;
1119
- isBuy: boolean;
1120
- ntli: number;
1121
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1122
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateLeverage", undefined>, v.DescriptionAction<"updateLeverage", "Type of action.">]>;
1123
- readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
1124
- readonly isCross: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for cross leverage, `false` for isolated leverage.">]>;
1125
- readonly leverage: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>]>, v.DescriptionAction<number, "New leverage value.">]>;
1126
- }, undefined>, v.DescriptionAction<{
1127
- type: "updateLeverage";
1128
- asset: number;
1129
- isCross: boolean;
1130
- leverage: number;
1131
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1132
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdClassTransfer", undefined>, v.DescriptionAction<"usdClassTransfer", "Type of action.">]>;
1133
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
1134
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1135
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to transfer (1 = $1).">]>;
1136
- readonly toPerp: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for Spot to Perp, `false` for Perp to Spot.">]>;
1137
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
1138
- }, undefined>, v.DescriptionAction<{
1139
- type: "usdClassTransfer";
1140
- signatureChainId: `0x${string}`;
1141
- hyperliquidChain: "Testnet" | "Mainnet";
1142
- amount: string;
1143
- toPerp: boolean;
1144
- nonce: number;
1145
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1146
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdSend", undefined>, v.DescriptionAction<"usdSend", "Type of action.">]>;
1147
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
1148
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1149
- readonly destination: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Destination address.">]>;
1150
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to send (1 = $1).">]>;
1151
- readonly time: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
1152
- }, undefined>, v.DescriptionAction<{
1153
- type: "usdSend";
1154
- signatureChainId: `0x${string}`;
1155
- hyperliquidChain: "Testnet" | "Mainnet";
1156
- destination: `0x${string}`;
1157
- amount: string;
1158
- time: number;
1159
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1160
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribute", undefined>, v.DescriptionAction<"vaultDistribute", "Type of action.">]>;
1161
- readonly vaultAddress: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Vault address.">]>;
1162
- readonly usd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, string>]>;
1163
- }, undefined>, v.DescriptionAction<{
1164
- type: "vaultDistribute";
1165
- vaultAddress: `0x${string}`;
1166
- usd: number;
1167
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1168
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultModify", undefined>, v.DescriptionAction<"vaultModify", "Type of action.">]>;
1169
- readonly vaultAddress: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Vault address.">]>;
1170
- readonly allowDeposits: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, null>, v.DescriptionAction<boolean | null, "Allow deposits from followers.">]>;
1171
- readonly alwaysCloseOnWithdraw: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, null>, v.DescriptionAction<boolean | null, "Always close positions on withdrawal.">]>;
1172
- }, undefined>, v.DescriptionAction<{
1173
- type: "vaultModify";
1174
- vaultAddress: `0x${string}`;
1175
- allowDeposits: boolean | null;
1176
- alwaysCloseOnWithdraw: boolean | null;
1177
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1178
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultTransfer", undefined>, v.DescriptionAction<"vaultTransfer", "Type of action.">]>;
1179
- readonly vaultAddress: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Vault address.">]>;
1180
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1181
- readonly usd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Amount for deposit/withdrawal (float * 1e6).">]>;
1182
- }, undefined>, v.DescriptionAction<{
1183
- type: "vaultTransfer";
1184
- vaultAddress: `0x${string}`;
1185
- isDeposit: boolean;
1186
- usd: number;
1187
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1188
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw3", undefined>, v.DescriptionAction<"withdraw3", "Type of action.">]>;
1189
- readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
1190
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1191
- readonly destination: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Destination address.">]>;
1192
- readonly amount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, string>, v.TrimAction, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount to withdraw (1 = $1).">]>;
1193
- readonly time: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
1194
- }, undefined>, v.DescriptionAction<{
1195
- type: "withdraw3";
1196
- signatureChainId: `0x${string}`;
1197
- hyperliquidChain: "Testnet" | "Mainnet";
1198
- destination: `0x${string}`;
1199
- amount: string;
1200
- time: number;
1201
- }, "Action to perform.">]>], undefined>, v.DescriptionAction<{
1202
- type: "cancel";
1203
- cancels: {
1204
- a: number;
1205
- o: number;
1206
- }[];
1207
- } | {
1208
- type: "order";
1209
- orders: {
1210
- a: number;
1211
- b: boolean;
1212
- p: string;
1213
- s: string;
1214
- r: boolean;
1215
- t: {
1216
- limit: {
1217
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1218
- };
1219
- } | {
1220
- trigger: {
1221
- isMarket: boolean;
1222
- triggerPx: string;
1223
- tpsl: "tp" | "sl";
1224
- };
1225
- };
1226
- c?: `0x${string}` | undefined;
1227
- }[];
1228
- grouping: "na" | "normalTpsl" | "positionTpsl";
1229
- builder?: {
1230
- b: `0x${string}`;
1231
- f: number;
1232
- } | undefined;
1233
- } | {
1234
- type: "twapOrder";
1235
- twap: {
1236
- a: number;
1237
- b: boolean;
1238
- s: string;
1239
- r: boolean;
1240
- m: number;
1241
- t: boolean;
1242
- };
1243
- } | {
1244
- type: "twapCancel";
1245
- a: number;
1246
- t: number;
1247
- } | {
1248
- type: "createSubAccount";
1249
- name: string;
1250
- } | {
1251
- type: "createVault";
1252
- name: string;
1253
- description: string;
1254
- initialUsd: number;
1255
- nonce: number;
1256
- } | {
1257
- type: "approveAgent";
1258
- signatureChainId: `0x${string}`;
1259
- hyperliquidChain: "Testnet" | "Mainnet";
1260
- agentAddress: `0x${string}`;
1261
- agentName: string | null;
1262
- nonce: number;
1263
- } | {
1264
- type: "approveBuilderFee";
1265
- signatureChainId: `0x${string}`;
1266
- hyperliquidChain: "Testnet" | "Mainnet";
1267
- maxFeeRate: `${string}%`;
1268
- builder: `0x${string}`;
1269
- nonce: number;
1270
- } | {
1271
- type: "batchModify";
1272
- modifies: {
1273
- oid: number | `0x${string}`;
1274
- order: {
1275
- a: number;
1276
- b: boolean;
1277
- p: string;
1278
- s: string;
1279
- r: boolean;
1280
- t: {
1281
- limit: {
1282
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1283
- };
1284
- } | {
1285
- trigger: {
1286
- isMarket: boolean;
1287
- triggerPx: string;
1288
- tpsl: "tp" | "sl";
1289
- };
1290
- };
1291
- c?: `0x${string}` | undefined;
1292
- };
1293
- }[];
1294
- } | {
1295
- type: "cancelByCloid";
1296
- cancels: {
1297
- asset: number;
1298
- cloid: `0x${string}`;
1299
- }[];
1300
- } | {
1301
- type: "cDeposit";
1302
- signatureChainId: `0x${string}`;
1303
- hyperliquidChain: "Testnet" | "Mainnet";
1304
- wei: number;
1305
- nonce: number;
1306
- } | {
1307
- type: "claimRewards";
1308
- } | {
1309
- type: "convertToMultiSigUser";
1310
- signatureChainId: `0x${string}`;
1311
- hyperliquidChain: "Testnet" | "Mainnet";
1312
- signers: string;
1313
- nonce: number;
1314
- } | {
1315
- type: "CSignerAction";
1316
- jailSelf: null;
1317
- } | {
1318
- type: "CSignerAction";
1319
- unjailSelf: null;
1320
- } | {
1321
- type: "CValidatorAction";
1322
- changeProfile: {
1323
- node_ip: {
1324
- Ip: string;
1325
- } | null;
1326
- name: string | null;
1327
- description: string | null;
1328
- unjailed: boolean;
1329
- disable_delegations: boolean | null;
1330
- commission_bps: number | null;
1331
- signer: `0x${string}` | null;
1332
- };
1333
- } | {
1334
- type: "CValidatorAction";
1335
- register: {
1336
- profile: {
1337
- node_ip: {
1338
- Ip: string;
1339
- };
1340
- name: string;
1341
- description: string;
1342
- delegations_disabled: boolean;
1343
- commission_bps: number;
1344
- signer: `0x${string}`;
1345
- };
1346
- unjailed: boolean;
1347
- initial_wei: number;
1348
- };
1349
- } | {
1350
- type: "CValidatorAction";
1351
- unregister: null;
1352
- } | {
1353
- type: "cWithdraw";
1354
- signatureChainId: `0x${string}`;
1355
- hyperliquidChain: "Testnet" | "Mainnet";
1356
- wei: number;
1357
- nonce: number;
1358
- } | {
1359
- type: "evmUserModify";
1360
- usingBigBlocks: boolean;
1361
- } | {
1362
- type: "modify";
1363
- oid: number | `0x${string}`;
1364
- order: {
1365
- a: number;
1366
- b: boolean;
1367
- p: string;
1368
- s: string;
1369
- r: boolean;
1370
- t: {
1371
- limit: {
1372
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1373
- };
1374
- } | {
1375
- trigger: {
1376
- isMarket: boolean;
1377
- triggerPx: string;
1378
- tpsl: "tp" | "sl";
1379
- };
1380
- };
1381
- c?: `0x${string}` | undefined;
1382
- };
1383
- } | {
1384
- type: "noop";
1385
- } | {
1386
- type: "registerReferrer";
1387
- code: string;
1388
- } | {
1389
- type: "reserveRequestWeight";
1390
- weight: number;
1391
- } | {
1392
- type: "scheduleCancel";
1393
- time?: number | undefined;
1394
- } | {
1395
- type: "setDisplayName";
1396
- displayName: string;
1397
- } | {
1398
- type: "setReferrer";
1399
- code: string;
1400
- } | {
1401
- type: "spotDeploy";
1402
- genesis: {
1403
- token: number;
1404
- maxSupply: string;
1405
- noHyperliquidity?: true | undefined;
1406
- };
1407
- } | {
1408
- type: "spotDeploy";
1409
- registerHyperliquidity: {
1410
- spot: number;
1411
- startPx: string;
1412
- orderSz: string;
1413
- nOrders: number;
1414
- nSeededLevels?: number | undefined;
1415
- };
1416
- } | {
1417
- type: "spotDeploy";
1418
- registerSpot: {
1419
- tokens: [number, number];
1420
- };
1421
- } | {
1422
- type: "spotDeploy";
1423
- registerToken2: {
1424
- spec: {
1425
- name: string;
1426
- szDecimals: number;
1427
- weiDecimals: number;
1428
- };
1429
- maxGas: number;
1430
- fullName?: string | undefined;
1431
- };
1432
- } | {
1433
- type: "spotDeploy";
1434
- setDeployerTradingFeeShare: {
1435
- token: number;
1436
- share: `${string}%`;
1437
- };
1438
- } | {
1439
- type: "spotDeploy";
1440
- userGenesis: {
1441
- token: number;
1442
- userAndWei: [`0x${string}`, string][];
1443
- existingTokenAndWei: [number, string][];
1444
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
1445
- };
1446
- } | {
1447
- type: "spotDeploy";
1448
- enableQuoteToken: {
1449
- token: number;
1450
- };
1451
- } | {
1452
- type: "subAccountModify";
1453
- subAccountUser: `0x${string}`;
1454
- name: string;
1455
- } | {
1456
- type: "tokenDelegate";
1457
- signatureChainId: `0x${string}`;
1458
- hyperliquidChain: "Testnet" | "Mainnet";
1459
- validator: `0x${string}`;
1460
- wei: number;
1461
- isUndelegate: boolean;
1462
- nonce: number;
1463
- } | {
1464
- type: "usdClassTransfer";
1465
- signatureChainId: `0x${string}`;
1466
- hyperliquidChain: "Testnet" | "Mainnet";
1467
- amount: string;
1468
- toPerp: boolean;
1469
- nonce: number;
1470
- } | {
1471
- type: "vaultDistribute";
1472
- vaultAddress: `0x${string}`;
1473
- usd: number;
1474
- } | {
1475
- type: "withdraw3";
1476
- signatureChainId: `0x${string}`;
1477
- hyperliquidChain: "Testnet" | "Mainnet";
1478
- destination: `0x${string}`;
1479
- amount: string;
1480
- time: number;
1481
- } | {
1482
- type: "perpDeploy";
1483
- registerAsset: {
1484
- maxGas: number | null;
1485
- assetRequest: {
1486
- coin: string;
1487
- szDecimals: number;
1488
- oraclePx: string;
1489
- marginTableId: number;
1490
- onlyIsolated: boolean;
1491
- };
1492
- dex: string;
1493
- schema: {
1494
- fullName: string;
1495
- collateralToken: number;
1496
- oracleUpdater: `0x${string}` | null;
1497
- } | null;
1498
- };
1499
- } | {
1500
- type: "perpDeploy";
1501
- setOracle: {
1502
- dex: string;
1503
- oraclePxs: [string, string][];
1504
- markPxs: [string, string][][];
1505
- externalPerpPxs: [string, string][];
1506
- };
1507
- } | {
1508
- type: "perpDeploy";
1509
- setFundingMultipliers: [string, string][];
1510
- } | {
1511
- type: "perpDeploy";
1512
- haltTrading: {
1513
- coin: string;
1514
- isHalted: boolean;
1515
- };
1516
- } | {
1517
- type: "perpDeploy";
1518
- setMarginTableIds: [string, number][];
1519
- } | {
1520
- type: "perpDeploy";
1521
- setFeeRecipient: {
1522
- dex: string;
1523
- feeRecipient: `0x${string}`;
1524
- };
1525
- } | {
1526
- type: "perpDeploy";
1527
- setOpenInterestCaps: [string, number][];
1528
- } | {
1529
- type: "sendAsset";
1530
- signatureChainId: `0x${string}`;
1531
- hyperliquidChain: "Testnet" | "Mainnet";
1532
- destination: `0x${string}`;
1533
- sourceDex: string;
1534
- destinationDex: string;
1535
- token: `${string}:0x${string}`;
1536
- amount: string;
1537
- fromSubAccount: "" | `0x${string}`;
1538
- nonce: number;
1539
- } | {
1540
- type: "spotSend";
1541
- signatureChainId: `0x${string}`;
1542
- hyperliquidChain: "Testnet" | "Mainnet";
1543
- destination: `0x${string}`;
1544
- token: `${string}:0x${string}`;
1545
- amount: string;
1546
- time: number;
1547
- } | {
1548
- type: "spotUser";
1549
- toggleSpotDusting: {
1550
- optOut: boolean;
1551
- };
1552
- } | {
1553
- type: "subAccountSpotTransfer";
1554
- subAccountUser: `0x${string}`;
1555
- isDeposit: boolean;
1556
- token: `${string}:0x${string}`;
1557
- amount: string;
1558
- } | {
1559
- type: "subAccountTransfer";
1560
- subAccountUser: `0x${string}`;
1561
- isDeposit: boolean;
1562
- usd: number;
1563
- } | {
1564
- type: "updateIsolatedMargin";
1565
- asset: number;
1566
- isBuy: boolean;
1567
- ntli: number;
1568
- } | {
1569
- type: "updateLeverage";
1570
- asset: number;
1571
- isCross: boolean;
1572
- leverage: number;
1573
- } | {
1574
- type: "usdSend";
1575
- signatureChainId: `0x${string}`;
1576
- hyperliquidChain: "Testnet" | "Mainnet";
1577
- destination: `0x${string}`;
1578
- amount: string;
1579
- time: number;
1580
- } | {
1581
- type: "vaultModify";
1582
- vaultAddress: `0x${string}`;
1583
- allowDeposits: boolean | null;
1584
- alwaysCloseOnWithdraw: boolean | null;
1585
- } | {
1586
- type: "vaultTransfer";
1587
- vaultAddress: `0x${string}`;
1588
- isDeposit: boolean;
1589
- usd: number;
1590
- }, "The underlying action to be executed through multi-sig.">]>;
1591
- }, undefined>, v.DescriptionAction<{
1592
- multiSigUser: `0x${string}`;
1593
- outerSigner: `0x${string}`;
1594
- action: {
1595
- type: "cancel";
1596
- cancels: {
1597
- a: number;
1598
- o: number;
1599
- }[];
1600
- } | {
1601
- type: "order";
1602
- orders: {
1603
- a: number;
1604
- b: boolean;
1605
- p: string;
1606
- s: string;
1607
- r: boolean;
1608
- t: {
1609
- limit: {
1610
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1611
- };
1612
- } | {
1613
- trigger: {
1614
- isMarket: boolean;
1615
- triggerPx: string;
1616
- tpsl: "tp" | "sl";
1617
- };
1618
- };
1619
- c?: `0x${string}` | undefined;
1620
- }[];
1621
- grouping: "na" | "normalTpsl" | "positionTpsl";
1622
- builder?: {
1623
- b: `0x${string}`;
1624
- f: number;
1625
- } | undefined;
1626
- } | {
1627
- type: "twapOrder";
1628
- twap: {
1629
- a: number;
1630
- b: boolean;
1631
- s: string;
1632
- r: boolean;
1633
- m: number;
1634
- t: boolean;
1635
- };
1636
- } | {
1637
- type: "twapCancel";
1638
- a: number;
1639
- t: number;
1640
- } | {
1641
- type: "createSubAccount";
1642
- name: string;
1643
- } | {
1644
- type: "createVault";
1645
- name: string;
1646
- description: string;
1647
- initialUsd: number;
1648
- nonce: number;
1649
- } | {
1650
- type: "approveAgent";
1651
- signatureChainId: `0x${string}`;
1652
- hyperliquidChain: "Testnet" | "Mainnet";
1653
- agentAddress: `0x${string}`;
1654
- agentName: string | null;
1655
- nonce: number;
1656
- } | {
1657
- type: "approveBuilderFee";
1658
- signatureChainId: `0x${string}`;
1659
- hyperliquidChain: "Testnet" | "Mainnet";
1660
- maxFeeRate: `${string}%`;
1661
- builder: `0x${string}`;
1662
- nonce: number;
1663
- } | {
1664
- type: "batchModify";
1665
- modifies: {
1666
- oid: number | `0x${string}`;
1667
- order: {
1668
- a: number;
1669
- b: boolean;
1670
- p: string;
1671
- s: string;
1672
- r: boolean;
1673
- t: {
1674
- limit: {
1675
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1676
- };
1677
- } | {
1678
- trigger: {
1679
- isMarket: boolean;
1680
- triggerPx: string;
1681
- tpsl: "tp" | "sl";
1682
- };
1683
- };
1684
- c?: `0x${string}` | undefined;
1685
- };
1686
- }[];
1687
- } | {
1688
- type: "cancelByCloid";
1689
- cancels: {
1690
- asset: number;
1691
- cloid: `0x${string}`;
1692
- }[];
1693
- } | {
1694
- type: "cDeposit";
1695
- signatureChainId: `0x${string}`;
1696
- hyperliquidChain: "Testnet" | "Mainnet";
1697
- wei: number;
1698
- nonce: number;
1699
- } | {
1700
- type: "claimRewards";
1701
- } | {
1702
- type: "convertToMultiSigUser";
1703
- signatureChainId: `0x${string}`;
1704
- hyperliquidChain: "Testnet" | "Mainnet";
1705
- signers: string;
1706
- nonce: number;
1707
- } | {
1708
- type: "CSignerAction";
1709
- jailSelf: null;
1710
- } | {
1711
- type: "CSignerAction";
1712
- unjailSelf: null;
1713
- } | {
1714
- type: "CValidatorAction";
1715
- changeProfile: {
1716
- node_ip: {
1717
- Ip: string;
1718
- } | null;
1719
- name: string | null;
1720
- description: string | null;
1721
- unjailed: boolean;
1722
- disable_delegations: boolean | null;
1723
- commission_bps: number | null;
1724
- signer: `0x${string}` | null;
1725
- };
1726
- } | {
1727
- type: "CValidatorAction";
1728
- register: {
1729
- profile: {
1730
- node_ip: {
1731
- Ip: string;
1732
- };
1733
- name: string;
1734
- description: string;
1735
- delegations_disabled: boolean;
1736
- commission_bps: number;
1737
- signer: `0x${string}`;
1738
- };
1739
- unjailed: boolean;
1740
- initial_wei: number;
1741
- };
1742
- } | {
1743
- type: "CValidatorAction";
1744
- unregister: null;
1745
- } | {
1746
- type: "cWithdraw";
1747
- signatureChainId: `0x${string}`;
1748
- hyperliquidChain: "Testnet" | "Mainnet";
1749
- wei: number;
1750
- nonce: number;
1751
- } | {
1752
- type: "evmUserModify";
1753
- usingBigBlocks: boolean;
1754
- } | {
1755
- type: "modify";
1756
- oid: number | `0x${string}`;
1757
- order: {
1758
- a: number;
1759
- b: boolean;
1760
- p: string;
1761
- s: string;
1762
- r: boolean;
1763
- t: {
1764
- limit: {
1765
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1766
- };
1767
- } | {
1768
- trigger: {
1769
- isMarket: boolean;
1770
- triggerPx: string;
1771
- tpsl: "tp" | "sl";
1772
- };
1773
- };
1774
- c?: `0x${string}` | undefined;
1775
- };
1776
- } | {
1777
- type: "noop";
1778
- } | {
1779
- type: "registerReferrer";
1780
- code: string;
1781
- } | {
1782
- type: "reserveRequestWeight";
1783
- weight: number;
1784
- } | {
1785
- type: "scheduleCancel";
1786
- time?: number | undefined;
1787
- } | {
1788
- type: "setDisplayName";
1789
- displayName: string;
1790
- } | {
1791
- type: "setReferrer";
1792
- code: string;
1793
- } | {
1794
- type: "spotDeploy";
1795
- genesis: {
1796
- token: number;
1797
- maxSupply: string;
1798
- noHyperliquidity?: true | undefined;
1799
- };
1800
- } | {
1801
- type: "spotDeploy";
1802
- registerHyperliquidity: {
1803
- spot: number;
1804
- startPx: string;
1805
- orderSz: string;
1806
- nOrders: number;
1807
- nSeededLevels?: number | undefined;
1808
- };
1809
- } | {
1810
- type: "spotDeploy";
1811
- registerSpot: {
1812
- tokens: [number, number];
1813
- };
1814
- } | {
1815
- type: "spotDeploy";
1816
- registerToken2: {
1817
- spec: {
1818
- name: string;
1819
- szDecimals: number;
1820
- weiDecimals: number;
1821
- };
1822
- maxGas: number;
1823
- fullName?: string | undefined;
1824
- };
1825
- } | {
1826
- type: "spotDeploy";
1827
- setDeployerTradingFeeShare: {
1828
- token: number;
1829
- share: `${string}%`;
1830
- };
1831
- } | {
1832
- type: "spotDeploy";
1833
- userGenesis: {
1834
- token: number;
1835
- userAndWei: [`0x${string}`, string][];
1836
- existingTokenAndWei: [number, string][];
1837
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
1838
- };
1839
- } | {
1840
- type: "spotDeploy";
1841
- enableQuoteToken: {
1842
- token: number;
1843
- };
1844
- } | {
1845
- type: "subAccountModify";
1846
- subAccountUser: `0x${string}`;
1847
- name: string;
1848
- } | {
1849
- type: "tokenDelegate";
1850
- signatureChainId: `0x${string}`;
1851
- hyperliquidChain: "Testnet" | "Mainnet";
1852
- validator: `0x${string}`;
1853
- wei: number;
1854
- isUndelegate: boolean;
1855
- nonce: number;
1856
- } | {
1857
- type: "usdClassTransfer";
1858
- signatureChainId: `0x${string}`;
1859
- hyperliquidChain: "Testnet" | "Mainnet";
1860
- amount: string;
1861
- toPerp: boolean;
1862
- nonce: number;
1863
- } | {
1864
- type: "vaultDistribute";
1865
- vaultAddress: `0x${string}`;
1866
- usd: number;
1867
- } | {
1868
- type: "withdraw3";
1869
- signatureChainId: `0x${string}`;
1870
- hyperliquidChain: "Testnet" | "Mainnet";
1871
- destination: `0x${string}`;
1872
- amount: string;
1873
- time: number;
1874
- } | {
1875
- type: "perpDeploy";
1876
- registerAsset: {
1877
- maxGas: number | null;
1878
- assetRequest: {
1879
- coin: string;
1880
- szDecimals: number;
1881
- oraclePx: string;
1882
- marginTableId: number;
1883
- onlyIsolated: boolean;
1884
- };
1885
- dex: string;
1886
- schema: {
1887
- fullName: string;
1888
- collateralToken: number;
1889
- oracleUpdater: `0x${string}` | null;
1890
- } | null;
1891
- };
1892
- } | {
1893
- type: "perpDeploy";
1894
- setOracle: {
1895
- dex: string;
1896
- oraclePxs: [string, string][];
1897
- markPxs: [string, string][][];
1898
- externalPerpPxs: [string, string][];
1899
- };
1900
- } | {
1901
- type: "perpDeploy";
1902
- setFundingMultipliers: [string, string][];
1903
- } | {
1904
- type: "perpDeploy";
1905
- haltTrading: {
1906
- coin: string;
1907
- isHalted: boolean;
1908
- };
1909
- } | {
1910
- type: "perpDeploy";
1911
- setMarginTableIds: [string, number][];
1912
- } | {
1913
- type: "perpDeploy";
1914
- setFeeRecipient: {
1915
- dex: string;
1916
- feeRecipient: `0x${string}`;
1917
- };
1918
- } | {
1919
- type: "perpDeploy";
1920
- setOpenInterestCaps: [string, number][];
1921
- } | {
1922
- type: "sendAsset";
1923
- signatureChainId: `0x${string}`;
1924
- hyperliquidChain: "Testnet" | "Mainnet";
1925
- destination: `0x${string}`;
1926
- sourceDex: string;
1927
- destinationDex: string;
1928
- token: `${string}:0x${string}`;
1929
- amount: string;
1930
- fromSubAccount: "" | `0x${string}`;
1931
- nonce: number;
1932
- } | {
1933
- type: "spotSend";
1934
- signatureChainId: `0x${string}`;
1935
- hyperliquidChain: "Testnet" | "Mainnet";
1936
- destination: `0x${string}`;
1937
- token: `${string}:0x${string}`;
1938
- amount: string;
1939
- time: number;
1940
- } | {
1941
- type: "spotUser";
1942
- toggleSpotDusting: {
1943
- optOut: boolean;
1944
- };
1945
- } | {
1946
- type: "subAccountSpotTransfer";
1947
- subAccountUser: `0x${string}`;
1948
- isDeposit: boolean;
1949
- token: `${string}:0x${string}`;
1950
- amount: string;
1951
- } | {
1952
- type: "subAccountTransfer";
1953
- subAccountUser: `0x${string}`;
1954
- isDeposit: boolean;
1955
- usd: number;
1956
- } | {
1957
- type: "updateIsolatedMargin";
1958
- asset: number;
1959
- isBuy: boolean;
1960
- ntli: number;
1961
- } | {
1962
- type: "updateLeverage";
1963
- asset: number;
1964
- isCross: boolean;
1965
- leverage: number;
1966
- } | {
1967
- type: "usdSend";
1968
- signatureChainId: `0x${string}`;
1969
- hyperliquidChain: "Testnet" | "Mainnet";
1970
- destination: `0x${string}`;
1971
- amount: string;
1972
- time: number;
1973
- } | {
1974
- type: "vaultModify";
1975
- vaultAddress: `0x${string}`;
1976
- allowDeposits: boolean | null;
1977
- alwaysCloseOnWithdraw: boolean | null;
1978
- } | {
1979
- type: "vaultTransfer";
1980
- vaultAddress: `0x${string}`;
1981
- isDeposit: boolean;
1982
- usd: number;
1983
- };
1984
- }, "Multi-signature payload information.">]>;
1985
- }, undefined>, v.DescriptionAction<{
1986
- type: "multiSig";
1987
- signatureChainId: `0x${string}`;
1988
- signatures: {
1989
- r: `0x${string}`;
1990
- s: `0x${string}`;
1991
- v: 27 | 28;
1992
- }[];
1993
- payload: {
1994
- multiSigUser: `0x${string}`;
1995
- outerSigner: `0x${string}`;
1996
- action: {
1997
- type: "cancel";
1998
- cancels: {
1999
- a: number;
2000
- o: number;
2001
- }[];
2002
- } | {
2003
- type: "order";
2004
- orders: {
2005
- a: number;
2006
- b: boolean;
2007
- p: string;
2008
- s: string;
2009
- r: boolean;
2010
- t: {
2011
- limit: {
2012
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2013
- };
2014
- } | {
2015
- trigger: {
2016
- isMarket: boolean;
2017
- triggerPx: string;
2018
- tpsl: "tp" | "sl";
2019
- };
2020
- };
2021
- c?: `0x${string}` | undefined;
2022
- }[];
2023
- grouping: "na" | "normalTpsl" | "positionTpsl";
2024
- builder?: {
2025
- b: `0x${string}`;
2026
- f: number;
2027
- } | undefined;
2028
- } | {
2029
- type: "twapOrder";
2030
- twap: {
2031
- a: number;
2032
- b: boolean;
2033
- s: string;
2034
- r: boolean;
2035
- m: number;
2036
- t: boolean;
2037
- };
2038
- } | {
2039
- type: "twapCancel";
2040
- a: number;
2041
- t: number;
2042
- } | {
2043
- type: "createSubAccount";
2044
- name: string;
2045
- } | {
2046
- type: "createVault";
2047
- name: string;
2048
- description: string;
2049
- initialUsd: number;
2050
- nonce: number;
2051
- } | {
2052
- type: "approveAgent";
2053
- signatureChainId: `0x${string}`;
2054
- hyperliquidChain: "Testnet" | "Mainnet";
2055
- agentAddress: `0x${string}`;
2056
- agentName: string | null;
2057
- nonce: number;
2058
- } | {
2059
- type: "approveBuilderFee";
2060
- signatureChainId: `0x${string}`;
2061
- hyperliquidChain: "Testnet" | "Mainnet";
2062
- maxFeeRate: `${string}%`;
2063
- builder: `0x${string}`;
2064
- nonce: number;
2065
- } | {
2066
- type: "batchModify";
2067
- modifies: {
2068
- oid: number | `0x${string}`;
2069
- order: {
2070
- a: number;
2071
- b: boolean;
2072
- p: string;
2073
- s: string;
2074
- r: boolean;
2075
- t: {
2076
- limit: {
2077
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2078
- };
2079
- } | {
2080
- trigger: {
2081
- isMarket: boolean;
2082
- triggerPx: string;
2083
- tpsl: "tp" | "sl";
2084
- };
2085
- };
2086
- c?: `0x${string}` | undefined;
2087
- };
2088
- }[];
2089
- } | {
2090
- type: "cancelByCloid";
2091
- cancels: {
2092
- asset: number;
2093
- cloid: `0x${string}`;
2094
- }[];
2095
- } | {
2096
- type: "cDeposit";
2097
- signatureChainId: `0x${string}`;
2098
- hyperliquidChain: "Testnet" | "Mainnet";
2099
- wei: number;
2100
- nonce: number;
2101
- } | {
2102
- type: "claimRewards";
2103
- } | {
2104
- type: "convertToMultiSigUser";
2105
- signatureChainId: `0x${string}`;
2106
- hyperliquidChain: "Testnet" | "Mainnet";
2107
- signers: string;
2108
- nonce: number;
2109
- } | {
2110
- type: "CSignerAction";
2111
- jailSelf: null;
2112
- } | {
2113
- type: "CSignerAction";
2114
- unjailSelf: null;
2115
- } | {
2116
- type: "CValidatorAction";
2117
- changeProfile: {
2118
- node_ip: {
2119
- Ip: string;
2120
- } | null;
2121
- name: string | null;
2122
- description: string | null;
2123
- unjailed: boolean;
2124
- disable_delegations: boolean | null;
2125
- commission_bps: number | null;
2126
- signer: `0x${string}` | null;
2127
- };
2128
- } | {
2129
- type: "CValidatorAction";
2130
- register: {
2131
- profile: {
2132
- node_ip: {
2133
- Ip: string;
2134
- };
2135
- name: string;
2136
- description: string;
2137
- delegations_disabled: boolean;
2138
- commission_bps: number;
2139
- signer: `0x${string}`;
2140
- };
2141
- unjailed: boolean;
2142
- initial_wei: number;
2143
- };
2144
- } | {
2145
- type: "CValidatorAction";
2146
- unregister: null;
2147
- } | {
2148
- type: "cWithdraw";
2149
- signatureChainId: `0x${string}`;
2150
- hyperliquidChain: "Testnet" | "Mainnet";
2151
- wei: number;
2152
- nonce: number;
2153
- } | {
2154
- type: "evmUserModify";
2155
- usingBigBlocks: boolean;
2156
- } | {
2157
- type: "modify";
2158
- oid: number | `0x${string}`;
2159
- order: {
2160
- a: number;
2161
- b: boolean;
2162
- p: string;
2163
- s: string;
2164
- r: boolean;
2165
- t: {
2166
- limit: {
2167
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2168
- };
2169
- } | {
2170
- trigger: {
2171
- isMarket: boolean;
2172
- triggerPx: string;
2173
- tpsl: "tp" | "sl";
2174
- };
2175
- };
2176
- c?: `0x${string}` | undefined;
2177
- };
2178
- } | {
2179
- type: "noop";
2180
- } | {
2181
- type: "registerReferrer";
2182
- code: string;
2183
- } | {
2184
- type: "reserveRequestWeight";
2185
- weight: number;
2186
- } | {
2187
- type: "scheduleCancel";
2188
- time?: number | undefined;
2189
- } | {
2190
- type: "setDisplayName";
2191
- displayName: string;
2192
- } | {
2193
- type: "setReferrer";
2194
- code: string;
2195
- } | {
2196
- type: "spotDeploy";
2197
- genesis: {
2198
- token: number;
2199
- maxSupply: string;
2200
- noHyperliquidity?: true | undefined;
2201
- };
2202
- } | {
2203
- type: "spotDeploy";
2204
- registerHyperliquidity: {
2205
- spot: number;
2206
- startPx: string;
2207
- orderSz: string;
2208
- nOrders: number;
2209
- nSeededLevels?: number | undefined;
2210
- };
2211
- } | {
2212
- type: "spotDeploy";
2213
- registerSpot: {
2214
- tokens: [number, number];
2215
- };
2216
- } | {
2217
- type: "spotDeploy";
2218
- registerToken2: {
2219
- spec: {
2220
- name: string;
2221
- szDecimals: number;
2222
- weiDecimals: number;
2223
- };
2224
- maxGas: number;
2225
- fullName?: string | undefined;
2226
- };
2227
- } | {
2228
- type: "spotDeploy";
2229
- setDeployerTradingFeeShare: {
2230
- token: number;
2231
- share: `${string}%`;
2232
- };
2233
- } | {
2234
- type: "spotDeploy";
2235
- userGenesis: {
2236
- token: number;
2237
- userAndWei: [`0x${string}`, string][];
2238
- existingTokenAndWei: [number, string][];
2239
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
2240
- };
2241
- } | {
2242
- type: "spotDeploy";
2243
- enableQuoteToken: {
2244
- token: number;
2245
- };
2246
- } | {
2247
- type: "subAccountModify";
2248
- subAccountUser: `0x${string}`;
2249
- name: string;
2250
- } | {
2251
- type: "tokenDelegate";
2252
- signatureChainId: `0x${string}`;
2253
- hyperliquidChain: "Testnet" | "Mainnet";
2254
- validator: `0x${string}`;
2255
- wei: number;
2256
- isUndelegate: boolean;
2257
- nonce: number;
2258
- } | {
2259
- type: "usdClassTransfer";
2260
- signatureChainId: `0x${string}`;
2261
- hyperliquidChain: "Testnet" | "Mainnet";
2262
- amount: string;
2263
- toPerp: boolean;
2264
- nonce: number;
2265
- } | {
2266
- type: "vaultDistribute";
2267
- vaultAddress: `0x${string}`;
2268
- usd: number;
2269
- } | {
2270
- type: "withdraw3";
2271
- signatureChainId: `0x${string}`;
2272
- hyperliquidChain: "Testnet" | "Mainnet";
2273
- destination: `0x${string}`;
2274
- amount: string;
2275
- time: number;
2276
- } | {
2277
- type: "perpDeploy";
2278
- registerAsset: {
2279
- maxGas: number | null;
2280
- assetRequest: {
2281
- coin: string;
2282
- szDecimals: number;
2283
- oraclePx: string;
2284
- marginTableId: number;
2285
- onlyIsolated: boolean;
2286
- };
2287
- dex: string;
2288
- schema: {
2289
- fullName: string;
2290
- collateralToken: number;
2291
- oracleUpdater: `0x${string}` | null;
2292
- } | null;
2293
- };
2294
- } | {
2295
- type: "perpDeploy";
2296
- setOracle: {
2297
- dex: string;
2298
- oraclePxs: [string, string][];
2299
- markPxs: [string, string][][];
2300
- externalPerpPxs: [string, string][];
2301
- };
2302
- } | {
2303
- type: "perpDeploy";
2304
- setFundingMultipliers: [string, string][];
2305
- } | {
2306
- type: "perpDeploy";
2307
- haltTrading: {
2308
- coin: string;
2309
- isHalted: boolean;
2310
- };
2311
- } | {
2312
- type: "perpDeploy";
2313
- setMarginTableIds: [string, number][];
2314
- } | {
2315
- type: "perpDeploy";
2316
- setFeeRecipient: {
2317
- dex: string;
2318
- feeRecipient: `0x${string}`;
2319
- };
2320
- } | {
2321
- type: "perpDeploy";
2322
- setOpenInterestCaps: [string, number][];
2323
- } | {
2324
- type: "sendAsset";
2325
- signatureChainId: `0x${string}`;
2326
- hyperliquidChain: "Testnet" | "Mainnet";
2327
- destination: `0x${string}`;
2328
- sourceDex: string;
2329
- destinationDex: string;
2330
- token: `${string}:0x${string}`;
2331
- amount: string;
2332
- fromSubAccount: "" | `0x${string}`;
2333
- nonce: number;
2334
- } | {
2335
- type: "spotSend";
2336
- signatureChainId: `0x${string}`;
2337
- hyperliquidChain: "Testnet" | "Mainnet";
2338
- destination: `0x${string}`;
2339
- token: `${string}:0x${string}`;
2340
- amount: string;
2341
- time: number;
2342
- } | {
2343
- type: "spotUser";
2344
- toggleSpotDusting: {
2345
- optOut: boolean;
2346
- };
2347
- } | {
2348
- type: "subAccountSpotTransfer";
2349
- subAccountUser: `0x${string}`;
2350
- isDeposit: boolean;
2351
- token: `${string}:0x${string}`;
2352
- amount: string;
2353
- } | {
2354
- type: "subAccountTransfer";
2355
- subAccountUser: `0x${string}`;
2356
- isDeposit: boolean;
2357
- usd: number;
2358
- } | {
2359
- type: "updateIsolatedMargin";
2360
- asset: number;
2361
- isBuy: boolean;
2362
- ntli: number;
2363
- } | {
2364
- type: "updateLeverage";
2365
- asset: number;
2366
- isCross: boolean;
2367
- leverage: number;
2368
- } | {
2369
- type: "usdSend";
2370
- signatureChainId: `0x${string}`;
2371
- hyperliquidChain: "Testnet" | "Mainnet";
2372
- destination: `0x${string}`;
2373
- amount: string;
2374
- time: number;
2375
- } | {
2376
- type: "vaultModify";
2377
- vaultAddress: `0x${string}`;
2378
- allowDeposits: boolean | null;
2379
- alwaysCloseOnWithdraw: boolean | null;
2380
- } | {
2381
- type: "vaultTransfer";
2382
- vaultAddress: `0x${string}`;
2383
- isDeposit: boolean;
2384
- usd: number;
2385
- };
2386
- };
2387
- }, "Action to perform.">]>;
2388
- /** Unique request identifier (current timestamp in ms). */
2389
- readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
2390
- /** Cryptographic signature. */
2391
- readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
2392
- readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
2393
- readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "Second 32-byte component of ECDSA signature.">]>;
2394
- readonly v: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<27, undefined>, v.LiteralSchema<28, undefined>], undefined>, v.DescriptionAction<27 | 28, "Recovery identifier.">]>;
2395
- }, undefined>, v.DescriptionAction<{
2396
- r: `0x${string}`;
2397
- s: `0x${string}`;
2398
- v: 27 | 28;
2399
- }, "ECDSA signature components for Ethereum typed data.">]>, v.DescriptionAction<{
2400
- r: `0x${string}`;
2401
- s: `0x${string}`;
2402
- v: 27 | 28;
2403
- }, "Cryptographic signature.">]>;
2404
- /** Vault address (for vault trading). */
2405
- readonly vaultAddress: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}` | undefined, "Vault address (for vault trading).">]>;
2406
- /** Expiration time of the action. */
2407
- readonly expiresAfter: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<any, number>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
2408
- }, undefined>, v.DescriptionAction<{
2409
- action: {
2410
- type: "multiSig";
2411
- signatureChainId: `0x${string}`;
2412
- signatures: {
2413
- r: `0x${string}`;
2414
- s: `0x${string}`;
2415
- v: 27 | 28;
2416
- }[];
2417
- payload: {
2418
- multiSigUser: `0x${string}`;
2419
- outerSigner: `0x${string}`;
2420
- action: {
2421
- type: "cancel";
2422
- cancels: {
2423
- a: number;
2424
- o: number;
2425
- }[];
2426
- } | {
2427
- type: "order";
2428
- orders: {
2429
- a: number;
2430
- b: boolean;
2431
- p: string;
2432
- s: string;
2433
- r: boolean;
2434
- t: {
2435
- limit: {
2436
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2437
- };
2438
- } | {
2439
- trigger: {
2440
- isMarket: boolean;
2441
- triggerPx: string;
2442
- tpsl: "tp" | "sl";
2443
- };
2444
- };
2445
- c?: `0x${string}` | undefined;
2446
- }[];
2447
- grouping: "na" | "normalTpsl" | "positionTpsl";
2448
- builder?: {
2449
- b: `0x${string}`;
2450
- f: number;
2451
- } | undefined;
2452
- } | {
2453
- type: "twapOrder";
2454
- twap: {
2455
- a: number;
2456
- b: boolean;
2457
- s: string;
2458
- r: boolean;
2459
- m: number;
2460
- t: boolean;
2461
- };
2462
- } | {
2463
- type: "twapCancel";
2464
- a: number;
2465
- t: number;
2466
- } | {
2467
- type: "createSubAccount";
2468
- name: string;
2469
- } | {
2470
- type: "createVault";
2471
- name: string;
2472
- description: string;
2473
- initialUsd: number;
2474
- nonce: number;
2475
- } | {
2476
- type: "approveAgent";
2477
- signatureChainId: `0x${string}`;
2478
- hyperliquidChain: "Testnet" | "Mainnet";
2479
- agentAddress: `0x${string}`;
2480
- agentName: string | null;
2481
- nonce: number;
2482
- } | {
2483
- type: "approveBuilderFee";
2484
- signatureChainId: `0x${string}`;
2485
- hyperliquidChain: "Testnet" | "Mainnet";
2486
- maxFeeRate: `${string}%`;
2487
- builder: `0x${string}`;
2488
- nonce: number;
2489
- } | {
2490
- type: "batchModify";
2491
- modifies: {
2492
- oid: number | `0x${string}`;
2493
- order: {
2494
- a: number;
2495
- b: boolean;
2496
- p: string;
2497
- s: string;
2498
- r: boolean;
2499
- t: {
2500
- limit: {
2501
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2502
- };
2503
- } | {
2504
- trigger: {
2505
- isMarket: boolean;
2506
- triggerPx: string;
2507
- tpsl: "tp" | "sl";
2508
- };
2509
- };
2510
- c?: `0x${string}` | undefined;
2511
- };
2512
- }[];
2513
- } | {
2514
- type: "cancelByCloid";
2515
- cancels: {
2516
- asset: number;
2517
- cloid: `0x${string}`;
2518
- }[];
2519
- } | {
2520
- type: "cDeposit";
2521
- signatureChainId: `0x${string}`;
2522
- hyperliquidChain: "Testnet" | "Mainnet";
2523
- wei: number;
2524
- nonce: number;
2525
- } | {
2526
- type: "claimRewards";
2527
- } | {
2528
- type: "convertToMultiSigUser";
2529
- signatureChainId: `0x${string}`;
2530
- hyperliquidChain: "Testnet" | "Mainnet";
2531
- signers: string;
2532
- nonce: number;
2533
- } | {
2534
- type: "CSignerAction";
2535
- jailSelf: null;
2536
- } | {
2537
- type: "CSignerAction";
2538
- unjailSelf: null;
2539
- } | {
2540
- type: "CValidatorAction";
2541
- changeProfile: {
2542
- node_ip: {
2543
- Ip: string;
2544
- } | null;
2545
- name: string | null;
2546
- description: string | null;
2547
- unjailed: boolean;
2548
- disable_delegations: boolean | null;
2549
- commission_bps: number | null;
2550
- signer: `0x${string}` | null;
2551
- };
2552
- } | {
2553
- type: "CValidatorAction";
2554
- register: {
2555
- profile: {
2556
- node_ip: {
2557
- Ip: string;
2558
- };
2559
- name: string;
2560
- description: string;
2561
- delegations_disabled: boolean;
2562
- commission_bps: number;
2563
- signer: `0x${string}`;
2564
- };
2565
- unjailed: boolean;
2566
- initial_wei: number;
2567
- };
2568
- } | {
2569
- type: "CValidatorAction";
2570
- unregister: null;
2571
- } | {
2572
- type: "cWithdraw";
2573
- signatureChainId: `0x${string}`;
2574
- hyperliquidChain: "Testnet" | "Mainnet";
2575
- wei: number;
2576
- nonce: number;
2577
- } | {
2578
- type: "evmUserModify";
2579
- usingBigBlocks: boolean;
2580
- } | {
2581
- type: "modify";
2582
- oid: number | `0x${string}`;
2583
- order: {
2584
- a: number;
2585
- b: boolean;
2586
- p: string;
2587
- s: string;
2588
- r: boolean;
2589
- t: {
2590
- limit: {
2591
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2592
- };
2593
- } | {
2594
- trigger: {
2595
- isMarket: boolean;
2596
- triggerPx: string;
2597
- tpsl: "tp" | "sl";
2598
- };
2599
- };
2600
- c?: `0x${string}` | undefined;
2601
- };
2602
- } | {
2603
- type: "noop";
2604
- } | {
2605
- type: "registerReferrer";
2606
- code: string;
2607
- } | {
2608
- type: "reserveRequestWeight";
2609
- weight: number;
2610
- } | {
2611
- type: "scheduleCancel";
2612
- time?: number | undefined;
2613
- } | {
2614
- type: "setDisplayName";
2615
- displayName: string;
2616
- } | {
2617
- type: "setReferrer";
2618
- code: string;
2619
- } | {
2620
- type: "spotDeploy";
2621
- genesis: {
2622
- token: number;
2623
- maxSupply: string;
2624
- noHyperliquidity?: true | undefined;
2625
- };
2626
- } | {
2627
- type: "spotDeploy";
2628
- registerHyperliquidity: {
2629
- spot: number;
2630
- startPx: string;
2631
- orderSz: string;
2632
- nOrders: number;
2633
- nSeededLevels?: number | undefined;
2634
- };
2635
- } | {
2636
- type: "spotDeploy";
2637
- registerSpot: {
2638
- tokens: [number, number];
2639
- };
2640
- } | {
2641
- type: "spotDeploy";
2642
- registerToken2: {
2643
- spec: {
2644
- name: string;
2645
- szDecimals: number;
2646
- weiDecimals: number;
2647
- };
2648
- maxGas: number;
2649
- fullName?: string | undefined;
2650
- };
2651
- } | {
2652
- type: "spotDeploy";
2653
- setDeployerTradingFeeShare: {
2654
- token: number;
2655
- share: `${string}%`;
2656
- };
2657
- } | {
2658
- type: "spotDeploy";
2659
- userGenesis: {
2660
- token: number;
2661
- userAndWei: [`0x${string}`, string][];
2662
- existingTokenAndWei: [number, string][];
2663
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
2664
- };
2665
- } | {
2666
- type: "spotDeploy";
2667
- enableQuoteToken: {
2668
- token: number;
2669
- };
2670
- } | {
2671
- type: "subAccountModify";
2672
- subAccountUser: `0x${string}`;
2673
- name: string;
2674
- } | {
2675
- type: "tokenDelegate";
2676
- signatureChainId: `0x${string}`;
2677
- hyperliquidChain: "Testnet" | "Mainnet";
2678
- validator: `0x${string}`;
2679
- wei: number;
2680
- isUndelegate: boolean;
2681
- nonce: number;
2682
- } | {
2683
- type: "usdClassTransfer";
2684
- signatureChainId: `0x${string}`;
2685
- hyperliquidChain: "Testnet" | "Mainnet";
2686
- amount: string;
2687
- toPerp: boolean;
2688
- nonce: number;
2689
- } | {
2690
- type: "vaultDistribute";
2691
- vaultAddress: `0x${string}`;
2692
- usd: number;
2693
- } | {
2694
- type: "withdraw3";
2695
- signatureChainId: `0x${string}`;
2696
- hyperliquidChain: "Testnet" | "Mainnet";
2697
- destination: `0x${string}`;
2698
- amount: string;
2699
- time: number;
2700
- } | {
2701
- type: "perpDeploy";
2702
- registerAsset: {
2703
- maxGas: number | null;
2704
- assetRequest: {
2705
- coin: string;
2706
- szDecimals: number;
2707
- oraclePx: string;
2708
- marginTableId: number;
2709
- onlyIsolated: boolean;
2710
- };
2711
- dex: string;
2712
- schema: {
2713
- fullName: string;
2714
- collateralToken: number;
2715
- oracleUpdater: `0x${string}` | null;
2716
- } | null;
2717
- };
2718
- } | {
2719
- type: "perpDeploy";
2720
- setOracle: {
2721
- dex: string;
2722
- oraclePxs: [string, string][];
2723
- markPxs: [string, string][][];
2724
- externalPerpPxs: [string, string][];
2725
- };
2726
- } | {
2727
- type: "perpDeploy";
2728
- setFundingMultipliers: [string, string][];
2729
- } | {
2730
- type: "perpDeploy";
2731
- haltTrading: {
2732
- coin: string;
2733
- isHalted: boolean;
2734
- };
2735
- } | {
2736
- type: "perpDeploy";
2737
- setMarginTableIds: [string, number][];
2738
- } | {
2739
- type: "perpDeploy";
2740
- setFeeRecipient: {
2741
- dex: string;
2742
- feeRecipient: `0x${string}`;
2743
- };
2744
- } | {
2745
- type: "perpDeploy";
2746
- setOpenInterestCaps: [string, number][];
2747
- } | {
2748
- type: "sendAsset";
2749
- signatureChainId: `0x${string}`;
2750
- hyperliquidChain: "Testnet" | "Mainnet";
2751
- destination: `0x${string}`;
2752
- sourceDex: string;
2753
- destinationDex: string;
2754
- token: `${string}:0x${string}`;
2755
- amount: string;
2756
- fromSubAccount: "" | `0x${string}`;
2757
- nonce: number;
2758
- } | {
2759
- type: "spotSend";
2760
- signatureChainId: `0x${string}`;
2761
- hyperliquidChain: "Testnet" | "Mainnet";
2762
- destination: `0x${string}`;
2763
- token: `${string}:0x${string}`;
2764
- amount: string;
2765
- time: number;
2766
- } | {
2767
- type: "spotUser";
2768
- toggleSpotDusting: {
2769
- optOut: boolean;
2770
- };
2771
- } | {
2772
- type: "subAccountSpotTransfer";
2773
- subAccountUser: `0x${string}`;
2774
- isDeposit: boolean;
2775
- token: `${string}:0x${string}`;
2776
- amount: string;
2777
- } | {
2778
- type: "subAccountTransfer";
2779
- subAccountUser: `0x${string}`;
2780
- isDeposit: boolean;
2781
- usd: number;
2782
- } | {
2783
- type: "updateIsolatedMargin";
2784
- asset: number;
2785
- isBuy: boolean;
2786
- ntli: number;
2787
- } | {
2788
- type: "updateLeverage";
2789
- asset: number;
2790
- isCross: boolean;
2791
- leverage: number;
2792
- } | {
2793
- type: "usdSend";
2794
- signatureChainId: `0x${string}`;
2795
- hyperliquidChain: "Testnet" | "Mainnet";
2796
- destination: `0x${string}`;
2797
- amount: string;
2798
- time: number;
2799
- } | {
2800
- type: "vaultModify";
2801
- vaultAddress: `0x${string}`;
2802
- allowDeposits: boolean | null;
2803
- alwaysCloseOnWithdraw: boolean | null;
2804
- } | {
2805
- type: "vaultTransfer";
2806
- vaultAddress: `0x${string}`;
2807
- isDeposit: boolean;
2808
- usd: number;
2809
- };
2810
- };
2811
- };
2812
- nonce: number;
2813
- signature: {
2814
- r: `0x${string}`;
2815
- s: `0x${string}`;
2816
- v: 27 | 28;
2817
- };
2818
- vaultAddress?: `0x${string}` | undefined;
2819
- expiresAfter?: number | undefined;
2820
- }, "A multi-signature request.">]>;
2821
- export type MultiSigRequest = v.InferOutput<typeof MultiSigRequest>;
2822
- import { SuccessResponse } from "./_base/mod.js";
2823
- export { CancelSuccessResponse, CreateSubAccountResponse, CreateVaultResponse, OrderSuccessResponse, SuccessResponse, TwapCancelSuccessResponse, TwapOrderSuccessResponse, };
2824
- /** Action parameters for the {@linkcode multiSig} function. */
2825
- export type MultiSigParameters = ExtractRequestAction<v.InferInput<typeof MultiSigRequest>> & Pick<v.InferInput<typeof MultiSigRequest>, "nonce">;
2826
- /** Request options for the {@linkcode multiSig} function. */
2827
- export type MultiSigOptions = ExtractRequestOptions<v.InferInput<typeof MultiSigRequest>>;
2828
- /** EIP-712 types for the {@linkcode multiSig} function. */
2829
- export declare const MultiSigTypes: {
2830
- "HyperliquidTransaction:SendMultiSig": {
2831
- name: string;
2832
- type: string;
2833
- }[];
2834
- };
2835
- /**
2836
- * A multi-signature request.
2837
- * @param config - General configuration for Exchange API requests.
2838
- * @param params - Parameters specific to the API request.
2839
- * @param opts - Request execution options.
2840
- * @returns Any successful response.
2841
- *
2842
- * @throws {ApiRequestError} When the API returns an unsuccessful response.
2843
- * @throws {TransportError} When the transport layer throws an error.
2844
- *
2845
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
2846
- * @example
2847
- * ```ts
2848
- * import { HttpTransport } from "@nktkas/hyperliquid";
2849
- * import { multiSig, parser, ScheduleCancelRequest } from "@nktkas/hyperliquid/api/exchange";
2850
- * import { signL1Action } from "@nktkas/hyperliquid/signing";
2851
- * import { privateKeyToAccount } from "npm:viem/accounts";
2852
- *
2853
- * const wallet = privateKeyToAccount("0x..."); // viem or ethers
2854
- * const multiSigUser = "0x...";
2855
- * const transport = new HttpTransport(); // or `WebSocketTransport`
2856
- *
2857
- * const nonce = Date.now();
2858
- * const action = parser(ScheduleCancelRequest.entries.action)({
2859
- * type: "scheduleCancel",
2860
- * time: Date.now() + 10000,
2861
- * });
2862
- *
2863
- * // Create the required number of signatures
2864
- * const signatures = await Promise.all(["0x...", "0x..."].map(async (signerPrivKey) => {
2865
- * return await signL1Action({
2866
- * wallet: privateKeyToAccount(signerPrivKey as `0x${string}`), // viem or ethers
2867
- * action: [multiSigUser.toLowerCase(), wallet.address.toLowerCase(), action],
2868
- * nonce,
2869
- * });
2870
- * }));
2871
- *
2872
- * // // or user-signed action
2873
- * // const signatures = await Promise.all(["0x...", "0x..."].map(async (signerPrivKey) => {
2874
- * // return await signUserSignedAction({
2875
- * // wallet: privateKeyToAccount(signerPrivKey as `0x${string}`), // viem or ethers
2876
- * // action: {
2877
- * // ...action,
2878
- * // payloadMultiSigUser: multiSigUser,
2879
- * // outerSigner: wallet.address,
2880
- * // },
2881
- * // types: SomeTypes,
2882
- * // });
2883
- * // }));
2884
- *
2885
- * // Then use signatures in the `multiSig` action
2886
- * const data = await multiSig(
2887
- * { transport, wallet },
2888
- * {
2889
- * signatures,
2890
- * payload: {
2891
- * multiSigUser,
2892
- * outerSigner: wallet.address,
2893
- * action,
2894
- * },
2895
- * nonce,
2896
- * },
2897
- * );
2898
- * ```
2899
- */
2900
- export declare function multiSig<T extends SuccessResponse | CancelSuccessResponse | CreateSubAccountResponse | CreateVaultResponse | OrderSuccessResponse | TwapOrderSuccessResponse | TwapCancelSuccessResponse>(config: ExchangeRequestConfig, paramsAndNonce: DeepImmutable<MultiSigParameters>, opts?: MultiSigOptions): Promise<T>;
2901
- //# sourceMappingURL=multiSig.d.ts.map