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