@hfunlabs/hyperliquid 0.27.1 → 0.30.0-hfunlabs.1

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 (3030) hide show
  1. package/CONTRIBUTING.md +3 -5
  2. package/README.md +31 -1096
  3. package/esm/bin/_utils.d.ts +77 -41
  4. package/esm/bin/_utils.d.ts.map +1 -1
  5. package/esm/bin/_utils.js +176 -80
  6. package/esm/bin/_utils.js.map +1 -1
  7. package/esm/bin/cli.js +73 -50
  8. package/esm/bin/cli.js.map +1 -1
  9. package/esm/src/api/_schemas.d.ts +20 -0
  10. package/esm/src/api/_schemas.d.ts.map +1 -0
  11. package/esm/src/api/_schemas.js +58 -0
  12. package/esm/src/api/_schemas.js.map +1 -0
  13. package/esm/src/api/exchange/_methods/_base/_nonce.d.ts +12 -0
  14. package/esm/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -0
  15. package/esm/src/api/exchange/_methods/_base/_nonce.js +25 -0
  16. package/esm/src/api/exchange/_methods/_base/_nonce.js.map +1 -0
  17. package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts +8 -0
  18. package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -0
  19. package/esm/src/api/exchange/_methods/_base/_semaphore.js +84 -0
  20. package/esm/src/api/exchange/_methods/_base/_semaphore.js.map +1 -0
  21. package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts +48 -0
  22. package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -0
  23. package/esm/src/api/exchange/_methods/_base/commonSchemas.js +39 -0
  24. package/esm/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -0
  25. package/esm/src/api/exchange/_methods/_base/errors.d.ts +49 -0
  26. package/esm/src/api/exchange/_methods/_base/errors.d.ts.map +1 -0
  27. package/esm/src/api/exchange/_methods/_base/errors.js +73 -0
  28. package/esm/src/api/exchange/_methods/_base/errors.js.map +1 -0
  29. package/esm/src/api/exchange/_methods/_base/execute.d.ts +74 -0
  30. package/esm/src/api/exchange/_methods/_base/execute.d.ts.map +1 -0
  31. package/esm/src/api/exchange/_methods/_base/execute.js +207 -0
  32. package/esm/src/api/exchange/_methods/_base/execute.js.map +1 -0
  33. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +111 -0
  34. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -0
  35. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js +67 -0
  36. package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -0
  37. package/esm/src/api/exchange/_methods/approveAgent.d.ts +193 -0
  38. package/esm/src/api/exchange/_methods/approveAgent.d.ts.map +1 -0
  39. package/esm/src/api/exchange/_methods/approveAgent.js +92 -0
  40. package/esm/src/api/exchange/_methods/approveAgent.js.map +1 -0
  41. package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts +193 -0
  42. package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -0
  43. package/esm/src/api/exchange/_methods/approveBuilderFee.js +92 -0
  44. package/esm/src/api/exchange/_methods/approveBuilderFee.js.map +1 -0
  45. package/esm/src/api/exchange/_methods/batchModify.d.ts +708 -0
  46. package/esm/src/api/exchange/_methods/batchModify.d.ts.map +1 -0
  47. package/esm/src/api/exchange/_methods/batchModify.js +145 -0
  48. package/esm/src/api/exchange/_methods/batchModify.js.map +1 -0
  49. package/esm/src/api/exchange/_methods/cDeposit.d.ts +180 -0
  50. package/esm/src/api/exchange/_methods/cDeposit.d.ts.map +1 -0
  51. package/esm/src/api/exchange/_methods/cDeposit.js +89 -0
  52. package/esm/src/api/exchange/_methods/cDeposit.js.map +1 -0
  53. package/esm/src/api/exchange/_methods/cSignerAction.d.ts +198 -0
  54. package/esm/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -0
  55. package/esm/src/api/exchange/_methods/cSignerAction.js +91 -0
  56. package/esm/src/api/exchange/_methods/cSignerAction.js.map +1 -0
  57. package/esm/src/api/exchange/_methods/cValidatorAction.d.ts +626 -0
  58. package/esm/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -0
  59. package/esm/src/api/exchange/_methods/cValidatorAction.js +134 -0
  60. package/esm/src/api/exchange/_methods/cValidatorAction.js.map +1 -0
  61. package/esm/src/api/exchange/_methods/cWithdraw.d.ts +180 -0
  62. package/esm/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -0
  63. package/esm/src/api/exchange/_methods/cWithdraw.js +89 -0
  64. package/esm/src/api/exchange/_methods/cWithdraw.js.map +1 -0
  65. package/esm/src/api/exchange/_methods/cancel.d.ts +217 -0
  66. package/esm/src/api/exchange/_methods/cancel.d.ts.map +1 -0
  67. package/esm/src/api/exchange/_methods/cancel.js +107 -0
  68. package/esm/src/api/exchange/_methods/cancel.js.map +1 -0
  69. package/esm/src/api/exchange/_methods/cancelByCloid.d.ts +221 -0
  70. package/esm/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -0
  71. package/esm/src/api/exchange/_methods/cancelByCloid.js +89 -0
  72. package/esm/src/api/exchange/_methods/cancelByCloid.js.map +1 -0
  73. package/esm/src/api/exchange/_methods/claimRewards.d.ts +101 -0
  74. package/esm/src/api/exchange/_methods/claimRewards.d.ts.map +1 -0
  75. package/esm/src/api/exchange/_methods/claimRewards.js +57 -0
  76. package/esm/src/api/exchange/_methods/claimRewards.js.map +1 -0
  77. package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts +296 -0
  78. package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -0
  79. package/esm/src/api/exchange/_methods/convertToMultiSigUser.js +128 -0
  80. package/esm/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -0
  81. package/esm/src/api/exchange/_methods/createSubAccount.d.ts +146 -0
  82. package/esm/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -0
  83. package/esm/src/api/exchange/_methods/createSubAccount.js +82 -0
  84. package/esm/src/api/exchange/_methods/createSubAccount.js.map +1 -0
  85. package/esm/src/api/exchange/_methods/createVault.d.ts +190 -0
  86. package/esm/src/api/exchange/_methods/createVault.d.ts.map +1 -0
  87. package/esm/src/api/exchange/_methods/createVault.js +94 -0
  88. package/esm/src/api/exchange/_methods/createVault.js.map +1 -0
  89. package/esm/src/api/exchange/_methods/evmUserModify.d.ts +152 -0
  90. package/esm/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -0
  91. package/esm/src/api/exchange/_methods/evmUserModify.js +77 -0
  92. package/esm/src/api/exchange/_methods/evmUserModify.js.map +1 -0
  93. package/esm/src/api/exchange/_methods/linkStakingUser.d.ts +217 -0
  94. package/esm/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -0
  95. package/esm/src/api/exchange/_methods/linkStakingUser.js +104 -0
  96. package/esm/src/api/exchange/_methods/linkStakingUser.js.map +1 -0
  97. package/esm/src/api/exchange/_methods/modify.d.ts +521 -0
  98. package/esm/src/api/exchange/_methods/modify.d.ts.map +1 -0
  99. package/esm/src/api/exchange/_methods/modify.js +138 -0
  100. package/esm/src/api/exchange/_methods/modify.js.map +1 -0
  101. package/esm/src/api/exchange/_methods/noop.d.ts +111 -0
  102. package/esm/src/api/exchange/_methods/noop.d.ts.map +1 -0
  103. package/esm/src/api/exchange/_methods/noop.js +67 -0
  104. package/esm/src/api/exchange/_methods/noop.js.map +1 -0
  105. package/esm/src/api/exchange/_methods/order.d.ts +685 -0
  106. package/esm/src/api/exchange/_methods/order.d.ts.map +1 -0
  107. package/esm/src/api/exchange/_methods/order.js +195 -0
  108. package/esm/src/api/exchange/_methods/order.js.map +1 -0
  109. package/esm/src/api/exchange/_methods/perpDeploy.d.ts +1457 -0
  110. package/esm/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -0
  111. package/esm/src/api/exchange/_methods/perpDeploy.js +272 -0
  112. package/esm/src/api/exchange/_methods/perpDeploy.js.map +1 -0
  113. package/esm/src/api/exchange/_methods/registerReferrer.d.ts +144 -0
  114. package/esm/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -0
  115. package/esm/src/api/exchange/_methods/registerReferrer.js +69 -0
  116. package/esm/src/api/exchange/_methods/registerReferrer.js.map +1 -0
  117. package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts +152 -0
  118. package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -0
  119. package/esm/src/api/exchange/_methods/reserveRequestWeight.js +78 -0
  120. package/esm/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -0
  121. package/esm/src/api/exchange/_methods/scheduleCancel.d.ts +171 -0
  122. package/esm/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -0
  123. package/esm/src/api/exchange/_methods/scheduleCancel.js +59 -0
  124. package/esm/src/api/exchange/_methods/scheduleCancel.js.map +1 -0
  125. package/esm/src/api/exchange/_methods/sendAsset.d.ts +251 -0
  126. package/esm/src/api/exchange/_methods/sendAsset.d.ts.map +1 -0
  127. package/esm/src/api/exchange/_methods/sendAsset.js +110 -0
  128. package/esm/src/api/exchange/_methods/sendAsset.js.map +1 -0
  129. package/esm/src/api/exchange/_methods/setDisplayName.d.ts +153 -0
  130. package/esm/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -0
  131. package/esm/src/api/exchange/_methods/setDisplayName.js +73 -0
  132. package/esm/src/api/exchange/_methods/setDisplayName.js.map +1 -0
  133. package/esm/src/api/exchange/_methods/setReferrer.d.ts +144 -0
  134. package/esm/src/api/exchange/_methods/setReferrer.d.ts.map +1 -0
  135. package/esm/src/api/exchange/_methods/setReferrer.js +69 -0
  136. package/esm/src/api/exchange/_methods/setReferrer.js.map +1 -0
  137. package/esm/src/api/exchange/_methods/spotDeploy.d.ts +939 -0
  138. package/esm/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -0
  139. package/esm/src/api/exchange/_methods/spotDeploy.js +198 -0
  140. package/esm/src/api/exchange/_methods/spotDeploy.js.map +1 -0
  141. package/esm/src/api/exchange/_methods/spotSend.d.ts +210 -0
  142. package/esm/src/api/exchange/_methods/spotSend.d.ts.map +1 -0
  143. package/esm/src/api/exchange/_methods/spotSend.js +99 -0
  144. package/esm/src/api/exchange/_methods/spotSend.js.map +1 -0
  145. package/esm/src/api/exchange/_methods/spotUser.d.ts +173 -0
  146. package/esm/src/api/exchange/_methods/spotUser.d.ts.map +1 -0
  147. package/esm/src/api/exchange/_methods/spotUser.js +72 -0
  148. package/esm/src/api/exchange/_methods/spotUser.js.map +1 -0
  149. package/esm/src/api/exchange/_methods/subAccountModify.d.ts +157 -0
  150. package/esm/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -0
  151. package/esm/src/api/exchange/_methods/subAccountModify.js +71 -0
  152. package/esm/src/api/exchange/_methods/subAccountModify.js.map +1 -0
  153. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +188 -0
  154. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -0
  155. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js +80 -0
  156. package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -0
  157. package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts +170 -0
  158. package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -0
  159. package/esm/src/api/exchange/_methods/subAccountTransfer.js +73 -0
  160. package/esm/src/api/exchange/_methods/subAccountTransfer.js.map +1 -0
  161. package/esm/src/api/exchange/_methods/tokenDelegate.d.ts +206 -0
  162. package/esm/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -0
  163. package/esm/src/api/exchange/_methods/tokenDelegate.js +95 -0
  164. package/esm/src/api/exchange/_methods/tokenDelegate.js.map +1 -0
  165. package/esm/src/api/exchange/_methods/twapCancel.d.ts +181 -0
  166. package/esm/src/api/exchange/_methods/twapCancel.d.ts.map +1 -0
  167. package/esm/src/api/exchange/_methods/twapCancel.js +100 -0
  168. package/esm/src/api/exchange/_methods/twapCancel.js.map +1 -0
  169. package/esm/src/api/exchange/_methods/twapOrder.d.ts +310 -0
  170. package/esm/src/api/exchange/_methods/twapOrder.d.ts.map +1 -0
  171. package/esm/src/api/exchange/_methods/twapOrder.js +126 -0
  172. package/esm/src/api/exchange/_methods/twapOrder.js.map +1 -0
  173. package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts +181 -0
  174. package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -0
  175. package/esm/src/api/exchange/_methods/updateIsolatedMargin.js +83 -0
  176. package/esm/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -0
  177. package/esm/src/api/exchange/_methods/updateLeverage.d.ts +181 -0
  178. package/esm/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -0
  179. package/esm/src/api/exchange/_methods/updateLeverage.js +83 -0
  180. package/esm/src/api/exchange/_methods/updateLeverage.js.map +1 -0
  181. package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts +193 -0
  182. package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -0
  183. package/esm/src/api/exchange/_methods/usdClassTransfer.js +92 -0
  184. package/esm/src/api/exchange/_methods/usdClassTransfer.js.map +1 -0
  185. package/esm/src/api/exchange/_methods/usdSend.d.ts +193 -0
  186. package/esm/src/api/exchange/_methods/usdSend.d.ts.map +1 -0
  187. package/esm/src/api/exchange/_methods/usdSend.js +92 -0
  188. package/esm/src/api/exchange/_methods/usdSend.js.map +1 -0
  189. package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts +193 -0
  190. package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -0
  191. package/esm/src/api/exchange/_methods/userDexAbstraction.js +92 -0
  192. package/esm/src/api/exchange/_methods/userDexAbstraction.js.map +1 -0
  193. package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts +152 -0
  194. package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -0
  195. package/esm/src/api/exchange/_methods/validatorL1Stream.js +77 -0
  196. package/esm/src/api/exchange/_methods/validatorL1Stream.js.map +1 -0
  197. package/esm/src/api/exchange/_methods/vaultDistribute.d.ts +166 -0
  198. package/esm/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -0
  199. package/esm/src/api/exchange/_methods/vaultDistribute.js +75 -0
  200. package/esm/src/api/exchange/_methods/vaultDistribute.js.map +1 -0
  201. package/esm/src/api/exchange/_methods/vaultModify.d.ts +174 -0
  202. package/esm/src/api/exchange/_methods/vaultModify.d.ts.map +1 -0
  203. package/esm/src/api/exchange/_methods/vaultModify.js +77 -0
  204. package/esm/src/api/exchange/_methods/vaultModify.js.map +1 -0
  205. package/esm/src/api/exchange/_methods/vaultTransfer.d.ts +178 -0
  206. package/esm/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -0
  207. package/esm/src/api/exchange/_methods/vaultTransfer.js +81 -0
  208. package/esm/src/api/exchange/_methods/vaultTransfer.js.map +1 -0
  209. package/esm/src/api/exchange/_methods/withdraw3.d.ts +193 -0
  210. package/esm/src/api/exchange/_methods/withdraw3.d.ts.map +1 -0
  211. package/esm/src/api/exchange/_methods/withdraw3.js +92 -0
  212. package/esm/src/api/exchange/_methods/withdraw3.js.map +1 -0
  213. package/esm/src/api/exchange/client.d.ts +238 -0
  214. package/esm/src/api/exchange/client.d.ts.map +1 -0
  215. package/esm/src/api/exchange/client.js +290 -0
  216. package/esm/src/api/exchange/client.js.map +1 -0
  217. package/esm/src/api/exchange/mod.d.ts +86 -0
  218. package/esm/src/api/exchange/mod.d.ts.map +1 -0
  219. package/esm/src/api/exchange/mod.js +85 -0
  220. package/esm/src/api/exchange/mod.js.map +1 -0
  221. package/esm/src/api/info/_methods/_base/commonSchemas.d.ts +343 -0
  222. package/esm/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -0
  223. package/esm/src/api/info/_methods/_base/commonSchemas.js +341 -0
  224. package/esm/src/api/info/_methods/_base/commonSchemas.js.map +1 -0
  225. package/esm/src/api/info/_methods/_base/types.d.ts +7 -0
  226. package/esm/src/api/info/_methods/_base/types.d.ts.map +1 -0
  227. package/esm/src/api/info/_methods/_base/types.js +2 -0
  228. package/esm/src/api/info/_methods/_base/types.js.map +1 -0
  229. package/esm/src/api/info/_methods/activeAssetData.d.ts +102 -0
  230. package/esm/src/api/info/_methods/activeAssetData.d.ts.map +1 -0
  231. package/esm/src/api/info/_methods/activeAssetData.js +89 -0
  232. package/esm/src/api/info/_methods/activeAssetData.js.map +1 -0
  233. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +66 -0
  234. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -0
  235. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js +69 -0
  236. package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -0
  237. package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts +84 -0
  238. package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -0
  239. package/esm/src/api/info/_methods/allBorrowLendReserveStates.js +73 -0
  240. package/esm/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -0
  241. package/esm/src/api/info/_methods/allMids.d.ts +53 -0
  242. package/esm/src/api/info/_methods/allMids.d.ts.map +1 -0
  243. package/esm/src/api/info/_methods/allMids.js +34 -0
  244. package/esm/src/api/info/_methods/allMids.js.map +1 -0
  245. package/esm/src/api/info/_methods/allPerpMetas.d.ts +125 -0
  246. package/esm/src/api/info/_methods/allPerpMetas.d.ts.map +1 -0
  247. package/esm/src/api/info/_methods/allPerpMetas.js +48 -0
  248. package/esm/src/api/info/_methods/allPerpMetas.js.map +1 -0
  249. package/esm/src/api/info/_methods/blockDetails.d.ts +140 -0
  250. package/esm/src/api/info/_methods/blockDetails.d.ts.map +1 -0
  251. package/esm/src/api/info/_methods/blockDetails.js +73 -0
  252. package/esm/src/api/info/_methods/blockDetails.js.map +1 -0
  253. package/esm/src/api/info/_methods/borrowLendUserState.d.ts +123 -0
  254. package/esm/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -0
  255. package/esm/src/api/info/_methods/borrowLendUserState.js +84 -0
  256. package/esm/src/api/info/_methods/borrowLendUserState.js.map +1 -0
  257. package/esm/src/api/info/_methods/candleSnapshot.d.ts +104 -0
  258. package/esm/src/api/info/_methods/candleSnapshot.d.ts.map +1 -0
  259. package/esm/src/api/info/_methods/candleSnapshot.js +89 -0
  260. package/esm/src/api/info/_methods/candleSnapshot.js.map +1 -0
  261. package/esm/src/api/info/_methods/clearinghouseState.d.ts +247 -0
  262. package/esm/src/api/info/_methods/clearinghouseState.d.ts.map +1 -0
  263. package/esm/src/api/info/_methods/clearinghouseState.js +142 -0
  264. package/esm/src/api/info/_methods/clearinghouseState.js.map +1 -0
  265. package/esm/src/api/info/_methods/delegations.d.ts +64 -0
  266. package/esm/src/api/info/_methods/delegations.d.ts.map +1 -0
  267. package/esm/src/api/info/_methods/delegations.js +66 -0
  268. package/esm/src/api/info/_methods/delegations.js.map +1 -0
  269. package/esm/src/api/info/_methods/delegatorHistory.d.ts +127 -0
  270. package/esm/src/api/info/_methods/delegatorHistory.d.ts.map +1 -0
  271. package/esm/src/api/info/_methods/delegatorHistory.js +94 -0
  272. package/esm/src/api/info/_methods/delegatorHistory.js.map +1 -0
  273. package/esm/src/api/info/_methods/delegatorRewards.d.ts +64 -0
  274. package/esm/src/api/info/_methods/delegatorRewards.d.ts.map +1 -0
  275. package/esm/src/api/info/_methods/delegatorRewards.js +66 -0
  276. package/esm/src/api/info/_methods/delegatorRewards.js.map +1 -0
  277. package/esm/src/api/info/_methods/delegatorSummary.d.ts +67 -0
  278. package/esm/src/api/info/_methods/delegatorSummary.d.ts.map +1 -0
  279. package/esm/src/api/info/_methods/delegatorSummary.js +68 -0
  280. package/esm/src/api/info/_methods/delegatorSummary.js.map +1 -0
  281. package/esm/src/api/info/_methods/exchangeStatus.d.ts +48 -0
  282. package/esm/src/api/info/_methods/exchangeStatus.d.ts.map +1 -0
  283. package/esm/src/api/info/_methods/exchangeStatus.js +53 -0
  284. package/esm/src/api/info/_methods/exchangeStatus.js.map +1 -0
  285. package/esm/src/api/info/_methods/extraAgents.d.ts +60 -0
  286. package/esm/src/api/info/_methods/extraAgents.d.ts.map +1 -0
  287. package/esm/src/api/info/_methods/extraAgents.js +62 -0
  288. package/esm/src/api/info/_methods/extraAgents.js.map +1 -0
  289. package/esm/src/api/info/_methods/frontendOpenOrders.d.ts +107 -0
  290. package/esm/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -0
  291. package/esm/src/api/info/_methods/frontendOpenOrders.js +62 -0
  292. package/esm/src/api/info/_methods/frontendOpenOrders.js.map +1 -0
  293. package/esm/src/api/info/_methods/fundingHistory.d.ts +73 -0
  294. package/esm/src/api/info/_methods/fundingHistory.d.ts.map +1 -0
  295. package/esm/src/api/info/_methods/fundingHistory.js +72 -0
  296. package/esm/src/api/info/_methods/fundingHistory.js.map +1 -0
  297. package/esm/src/api/info/_methods/gossipRootIps.d.ts +40 -0
  298. package/esm/src/api/info/_methods/gossipRootIps.d.ts.map +1 -0
  299. package/esm/src/api/info/_methods/gossipRootIps.js +47 -0
  300. package/esm/src/api/info/_methods/gossipRootIps.js.map +1 -0
  301. package/esm/src/api/info/_methods/historicalOrders.d.ts +163 -0
  302. package/esm/src/api/info/_methods/historicalOrders.d.ts.map +1 -0
  303. package/esm/src/api/info/_methods/historicalOrders.js +127 -0
  304. package/esm/src/api/info/_methods/historicalOrders.js.map +1 -0
  305. package/esm/src/api/info/_methods/isVip.d.ts +49 -0
  306. package/esm/src/api/info/_methods/isVip.d.ts.map +1 -0
  307. package/esm/src/api/info/_methods/isVip.js +55 -0
  308. package/esm/src/api/info/_methods/isVip.js.map +1 -0
  309. package/esm/src/api/info/_methods/l2Book.d.ts +108 -0
  310. package/esm/src/api/info/_methods/l2Book.d.ts.map +1 -0
  311. package/esm/src/api/info/_methods/l2Book.js +80 -0
  312. package/esm/src/api/info/_methods/l2Book.js.map +1 -0
  313. package/esm/src/api/info/_methods/l3Orders.d.ts +183 -0
  314. package/esm/src/api/info/_methods/l3Orders.d.ts.map +1 -0
  315. package/esm/src/api/info/_methods/l3Orders.js +105 -0
  316. package/esm/src/api/info/_methods/l3Orders.js.map +1 -0
  317. package/esm/src/api/info/_methods/l4Orders.d.ts +219 -0
  318. package/esm/src/api/info/_methods/l4Orders.d.ts.map +1 -0
  319. package/esm/src/api/info/_methods/l4Orders.js +124 -0
  320. package/esm/src/api/info/_methods/l4Orders.js.map +1 -0
  321. package/esm/src/api/info/_methods/leadingVaults.d.ts +57 -0
  322. package/esm/src/api/info/_methods/leadingVaults.d.ts.map +1 -0
  323. package/esm/src/api/info/_methods/leadingVaults.js +60 -0
  324. package/esm/src/api/info/_methods/leadingVaults.js.map +1 -0
  325. package/esm/src/api/info/_methods/legalCheck.d.ts +60 -0
  326. package/esm/src/api/info/_methods/legalCheck.d.ts.map +1 -0
  327. package/esm/src/api/info/_methods/legalCheck.js +62 -0
  328. package/esm/src/api/info/_methods/legalCheck.js.map +1 -0
  329. package/esm/src/api/info/_methods/liquidatable.d.ts +40 -0
  330. package/esm/src/api/info/_methods/liquidatable.d.ts.map +1 -0
  331. package/esm/src/api/info/_methods/liquidatable.js +47 -0
  332. package/esm/src/api/info/_methods/liquidatable.js.map +1 -0
  333. package/esm/src/api/info/_methods/marginTable.d.ts +68 -0
  334. package/esm/src/api/info/_methods/marginTable.d.ts.map +1 -0
  335. package/esm/src/api/info/_methods/marginTable.js +65 -0
  336. package/esm/src/api/info/_methods/marginTable.js.map +1 -0
  337. package/esm/src/api/info/_methods/maxBuilderFee.d.ts +56 -0
  338. package/esm/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -0
  339. package/esm/src/api/info/_methods/maxBuilderFee.js +61 -0
  340. package/esm/src/api/info/_methods/maxBuilderFee.js.map +1 -0
  341. package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts +40 -0
  342. package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -0
  343. package/esm/src/api/info/_methods/maxMarketOrderNtls.js +48 -0
  344. package/esm/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -0
  345. package/esm/src/api/info/_methods/meta.d.ts +128 -0
  346. package/esm/src/api/info/_methods/meta.d.ts.map +1 -0
  347. package/esm/src/api/info/_methods/meta.js +64 -0
  348. package/esm/src/api/info/_methods/meta.js.map +1 -0
  349. package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts +168 -0
  350. package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -0
  351. package/esm/src/api/info/_methods/metaAndAssetCtxs.js +38 -0
  352. package/esm/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -0
  353. package/esm/src/api/info/_methods/openOrders.d.ts +86 -0
  354. package/esm/src/api/info/_methods/openOrders.d.ts.map +1 -0
  355. package/esm/src/api/info/_methods/openOrders.js +62 -0
  356. package/esm/src/api/info/_methods/openOrders.js.map +1 -0
  357. package/esm/src/api/info/_methods/orderStatus.d.ts +202 -0
  358. package/esm/src/api/info/_methods/orderStatus.d.ts.map +1 -0
  359. package/esm/src/api/info/_methods/orderStatus.js +144 -0
  360. package/esm/src/api/info/_methods/orderStatus.js.map +1 -0
  361. package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts +61 -0
  362. package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -0
  363. package/esm/src/api/info/_methods/perpDeployAuctionStatus.js +63 -0
  364. package/esm/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -0
  365. package/esm/src/api/info/_methods/perpDexLimits.d.ts +67 -0
  366. package/esm/src/api/info/_methods/perpDexLimits.d.ts.map +1 -0
  367. package/esm/src/api/info/_methods/perpDexLimits.js +68 -0
  368. package/esm/src/api/info/_methods/perpDexLimits.js.map +1 -0
  369. package/esm/src/api/info/_methods/perpDexStatus.d.ts +55 -0
  370. package/esm/src/api/info/_methods/perpDexStatus.d.ts.map +1 -0
  371. package/esm/src/api/info/_methods/perpDexStatus.js +59 -0
  372. package/esm/src/api/info/_methods/perpDexStatus.js.map +1 -0
  373. package/esm/src/api/info/_methods/perpDexs.d.ts +87 -0
  374. package/esm/src/api/info/_methods/perpDexs.d.ts.map +1 -0
  375. package/esm/src/api/info/_methods/perpDexs.js +78 -0
  376. package/esm/src/api/info/_methods/perpDexs.js.map +1 -0
  377. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +51 -0
  378. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -0
  379. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js +33 -0
  380. package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -0
  381. package/esm/src/api/info/_methods/portfolio.d.ts +173 -0
  382. package/esm/src/api/info/_methods/portfolio.d.ts.map +1 -0
  383. package/esm/src/api/info/_methods/portfolio.js +79 -0
  384. package/esm/src/api/info/_methods/portfolio.js.map +1 -0
  385. package/esm/src/api/info/_methods/preTransferCheck.d.ts +66 -0
  386. package/esm/src/api/info/_methods/preTransferCheck.d.ts.map +1 -0
  387. package/esm/src/api/info/_methods/preTransferCheck.js +66 -0
  388. package/esm/src/api/info/_methods/preTransferCheck.js.map +1 -0
  389. package/esm/src/api/info/_methods/predictedFundings.d.ts +55 -0
  390. package/esm/src/api/info/_methods/predictedFundings.d.ts.map +1 -0
  391. package/esm/src/api/info/_methods/predictedFundings.js +69 -0
  392. package/esm/src/api/info/_methods/predictedFundings.js.map +1 -0
  393. package/esm/src/api/info/_methods/recentTrades.d.ts +75 -0
  394. package/esm/src/api/info/_methods/recentTrades.d.ts.map +1 -0
  395. package/esm/src/api/info/_methods/recentTrades.js +72 -0
  396. package/esm/src/api/info/_methods/recentTrades.js.map +1 -0
  397. package/esm/src/api/info/_methods/referral.d.ts +253 -0
  398. package/esm/src/api/info/_methods/referral.d.ts.map +1 -0
  399. package/esm/src/api/info/_methods/referral.js +152 -0
  400. package/esm/src/api/info/_methods/referral.js.map +1 -0
  401. package/esm/src/api/info/_methods/spotClearinghouseState.d.ts +102 -0
  402. package/esm/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -0
  403. package/esm/src/api/info/_methods/spotClearinghouseState.js +84 -0
  404. package/esm/src/api/info/_methods/spotClearinghouseState.js.map +1 -0
  405. package/esm/src/api/info/_methods/spotDeployState.d.ts +157 -0
  406. package/esm/src/api/info/_methods/spotDeployState.d.ts.map +1 -0
  407. package/esm/src/api/info/_methods/spotDeployState.js +95 -0
  408. package/esm/src/api/info/_methods/spotDeployState.js.map +1 -0
  409. package/esm/src/api/info/_methods/spotMeta.d.ts +124 -0
  410. package/esm/src/api/info/_methods/spotMeta.d.ts.map +1 -0
  411. package/esm/src/api/info/_methods/spotMeta.js +90 -0
  412. package/esm/src/api/info/_methods/spotMeta.js.map +1 -0
  413. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +155 -0
  414. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -0
  415. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js +56 -0
  416. package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -0
  417. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +62 -0
  418. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -0
  419. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js +52 -0
  420. package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -0
  421. package/esm/src/api/info/_methods/subAccounts.d.ts +374 -0
  422. package/esm/src/api/info/_methods/subAccounts.d.ts.map +1 -0
  423. package/esm/src/api/info/_methods/subAccounts.js +72 -0
  424. package/esm/src/api/info/_methods/subAccounts.js.map +1 -0
  425. package/esm/src/api/info/_methods/subAccounts2.d.ts +414 -0
  426. package/esm/src/api/info/_methods/subAccounts2.d.ts.map +1 -0
  427. package/esm/src/api/info/_methods/subAccounts2.js +69 -0
  428. package/esm/src/api/info/_methods/subAccounts2.js.map +1 -0
  429. package/esm/src/api/info/_methods/tokenDetails.d.ts +118 -0
  430. package/esm/src/api/info/_methods/tokenDetails.d.ts.map +1 -0
  431. package/esm/src/api/info/_methods/tokenDetails.js +99 -0
  432. package/esm/src/api/info/_methods/tokenDetails.js.map +1 -0
  433. package/esm/src/api/info/_methods/twapHistory.d.ts +131 -0
  434. package/esm/src/api/info/_methods/twapHistory.d.ts.map +1 -0
  435. package/esm/src/api/info/_methods/twapHistory.js +86 -0
  436. package/esm/src/api/info/_methods/twapHistory.js.map +1 -0
  437. package/esm/src/api/info/_methods/txDetails.d.ts +102 -0
  438. package/esm/src/api/info/_methods/txDetails.d.ts.map +1 -0
  439. package/esm/src/api/info/_methods/txDetails.js +60 -0
  440. package/esm/src/api/info/_methods/txDetails.js.map +1 -0
  441. package/esm/src/api/info/_methods/userDetails.d.ts +102 -0
  442. package/esm/src/api/info/_methods/userDetails.d.ts.map +1 -0
  443. package/esm/src/api/info/_methods/userDetails.js +60 -0
  444. package/esm/src/api/info/_methods/userDetails.js.map +1 -0
  445. package/esm/src/api/info/_methods/userDexAbstraction.d.ts +53 -0
  446. package/esm/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -0
  447. package/esm/src/api/info/_methods/userDexAbstraction.js +59 -0
  448. package/esm/src/api/info/_methods/userDexAbstraction.js.map +1 -0
  449. package/esm/src/api/info/_methods/userFees.d.ts +256 -0
  450. package/esm/src/api/info/_methods/userFees.d.ts.map +1 -0
  451. package/esm/src/api/info/_methods/userFees.js +164 -0
  452. package/esm/src/api/info/_methods/userFees.js.map +1 -0
  453. package/esm/src/api/info/_methods/userFills.d.ts +127 -0
  454. package/esm/src/api/info/_methods/userFills.d.ts.map +1 -0
  455. package/esm/src/api/info/_methods/userFills.js +77 -0
  456. package/esm/src/api/info/_methods/userFills.js.map +1 -0
  457. package/esm/src/api/info/_methods/userFillsByTime.d.ts +151 -0
  458. package/esm/src/api/info/_methods/userFillsByTime.d.ts.map +1 -0
  459. package/esm/src/api/info/_methods/userFillsByTime.js +66 -0
  460. package/esm/src/api/info/_methods/userFillsByTime.js.map +1 -0
  461. package/esm/src/api/info/_methods/userFunding.d.ts +97 -0
  462. package/esm/src/api/info/_methods/userFunding.d.ts.map +1 -0
  463. package/esm/src/api/info/_methods/userFunding.js +83 -0
  464. package/esm/src/api/info/_methods/userFunding.js.map +1 -0
  465. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +421 -0
  466. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
  467. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js +267 -0
  468. package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -0
  469. package/esm/src/api/info/_methods/userRateLimit.d.ts +67 -0
  470. package/esm/src/api/info/_methods/userRateLimit.d.ts.map +1 -0
  471. package/esm/src/api/info/_methods/userRateLimit.js +68 -0
  472. package/esm/src/api/info/_methods/userRateLimit.js.map +1 -0
  473. package/esm/src/api/info/_methods/userRole.d.ts +88 -0
  474. package/esm/src/api/info/_methods/userRole.d.ts.map +1 -0
  475. package/esm/src/api/info/_methods/userRole.js +82 -0
  476. package/esm/src/api/info/_methods/userRole.js.map +1 -0
  477. package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts +57 -0
  478. package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -0
  479. package/esm/src/api/info/_methods/userToMultiSigSigners.js +60 -0
  480. package/esm/src/api/info/_methods/userToMultiSigSigners.js.map +1 -0
  481. package/esm/src/api/info/_methods/userTwapSliceFills.d.ts +125 -0
  482. package/esm/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -0
  483. package/esm/src/api/info/_methods/userTwapSliceFills.js +65 -0
  484. package/esm/src/api/info/_methods/userTwapSliceFills.js.map +1 -0
  485. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +148 -0
  486. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -0
  487. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js +63 -0
  488. package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -0
  489. package/esm/src/api/info/_methods/userVaultEquities.d.ts +64 -0
  490. package/esm/src/api/info/_methods/userVaultEquities.d.ts.map +1 -0
  491. package/esm/src/api/info/_methods/userVaultEquities.js +66 -0
  492. package/esm/src/api/info/_methods/userVaultEquities.js.map +1 -0
  493. package/esm/src/api/info/_methods/validatorL1Votes.d.ts +63 -0
  494. package/esm/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -0
  495. package/esm/src/api/info/_methods/validatorL1Votes.js +64 -0
  496. package/esm/src/api/info/_methods/validatorL1Votes.js.map +1 -0
  497. package/esm/src/api/info/_methods/validatorSummaries.d.ts +132 -0
  498. package/esm/src/api/info/_methods/validatorSummaries.d.ts.map +1 -0
  499. package/esm/src/api/info/_methods/validatorSummaries.js +86 -0
  500. package/esm/src/api/info/_methods/validatorSummaries.js.map +1 -0
  501. package/esm/src/api/info/_methods/vaultDetails.d.ts +358 -0
  502. package/esm/src/api/info/_methods/vaultDetails.d.ts.map +1 -0
  503. package/esm/src/api/info/_methods/vaultDetails.js +126 -0
  504. package/esm/src/api/info/_methods/vaultDetails.js.map +1 -0
  505. package/esm/src/api/info/_methods/vaultSummaries.d.ts +93 -0
  506. package/esm/src/api/info/_methods/vaultSummaries.d.ts.map +1 -0
  507. package/esm/src/api/info/_methods/vaultSummaries.js +64 -0
  508. package/esm/src/api/info/_methods/vaultSummaries.js.map +1 -0
  509. package/esm/src/api/info/_methods/webData2.d.ts +732 -0
  510. package/esm/src/api/info/_methods/webData2.d.ts.map +1 -0
  511. package/esm/src/api/info/_methods/webData2.js +97 -0
  512. package/esm/src/api/info/_methods/webData2.js.map +1 -0
  513. package/esm/src/api/info/client.d.ts +314 -0
  514. package/esm/src/api/info/client.d.ts.map +1 -0
  515. package/esm/src/api/info/client.js +391 -0
  516. package/esm/src/api/info/client.js.map +1 -0
  517. package/esm/src/api/info/mod.d.ts +96 -0
  518. package/esm/src/api/info/mod.d.ts.map +1 -0
  519. package/esm/src/api/info/mod.js +95 -0
  520. package/esm/src/api/info/mod.js.map +1 -0
  521. package/esm/src/api/subscription/_methods/_types.d.ts +7 -0
  522. package/esm/src/api/subscription/_methods/_types.d.ts.map +1 -0
  523. package/esm/src/api/subscription/_methods/_types.js.map +1 -0
  524. package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts +101 -0
  525. package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -0
  526. package/esm/src/api/subscription/_methods/activeAssetCtx.js +60 -0
  527. package/esm/src/api/subscription/_methods/activeAssetCtx.js.map +1 -0
  528. package/esm/src/api/subscription/_methods/activeAssetData.d.ts +101 -0
  529. package/esm/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -0
  530. package/esm/src/api/subscription/_methods/activeAssetData.js +58 -0
  531. package/esm/src/api/subscription/_methods/activeAssetData.js.map +1 -0
  532. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +92 -0
  533. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -0
  534. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js +59 -0
  535. package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -0
  536. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +91 -0
  537. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -0
  538. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js +57 -0
  539. package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -0
  540. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +299 -0
  541. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -0
  542. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js +67 -0
  543. package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -0
  544. package/esm/src/api/subscription/_methods/allMids.d.ts +63 -0
  545. package/esm/src/api/subscription/_methods/allMids.d.ts.map +1 -0
  546. package/esm/src/api/subscription/_methods/allMids.js +38 -0
  547. package/esm/src/api/subscription/_methods/allMids.js.map +1 -0
  548. package/esm/src/api/subscription/_methods/assetCtxs.d.ts +99 -0
  549. package/esm/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -0
  550. package/esm/src/api/subscription/_methods/assetCtxs.js +38 -0
  551. package/esm/src/api/subscription/_methods/assetCtxs.js.map +1 -0
  552. package/esm/src/api/subscription/_methods/bbo.d.ts +98 -0
  553. package/esm/src/api/subscription/_methods/bbo.d.ts.map +1 -0
  554. package/esm/src/api/subscription/_methods/bbo.js +72 -0
  555. package/esm/src/api/subscription/_methods/bbo.js.map +1 -0
  556. package/esm/src/api/subscription/_methods/candle.d.ts +84 -0
  557. package/esm/src/api/subscription/_methods/candle.d.ts.map +1 -0
  558. package/esm/src/api/subscription/_methods/candle.js +78 -0
  559. package/esm/src/api/subscription/_methods/candle.js.map +1 -0
  560. package/esm/src/api/subscription/_methods/clearinghouseState.d.ts +303 -0
  561. package/esm/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -0
  562. package/esm/src/api/subscription/_methods/clearinghouseState.js +67 -0
  563. package/esm/src/api/subscription/_methods/clearinghouseState.js.map +1 -0
  564. package/esm/src/api/subscription/_methods/explorerBlock.d.ts +57 -0
  565. package/esm/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -0
  566. package/esm/src/api/subscription/_methods/explorerBlock.js +58 -0
  567. package/esm/src/api/subscription/_methods/explorerBlock.js.map +1 -0
  568. package/esm/src/api/subscription/_methods/explorerTxs.d.ts +74 -0
  569. package/esm/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -0
  570. package/esm/src/api/subscription/_methods/explorerTxs.js +46 -0
  571. package/esm/src/api/subscription/_methods/explorerTxs.js.map +1 -0
  572. package/esm/src/api/subscription/_methods/l2Book.d.ts +106 -0
  573. package/esm/src/api/subscription/_methods/l2Book.d.ts.map +1 -0
  574. package/esm/src/api/subscription/_methods/l2Book.js +83 -0
  575. package/esm/src/api/subscription/_methods/l2Book.js.map +1 -0
  576. package/esm/src/api/subscription/_methods/notification.d.ts +54 -0
  577. package/esm/src/api/subscription/_methods/notification.d.ts.map +1 -0
  578. package/esm/src/api/subscription/_methods/notification.js +56 -0
  579. package/esm/src/api/subscription/_methods/notification.js.map +1 -0
  580. package/esm/src/api/subscription/_methods/openOrders.d.ts +148 -0
  581. package/esm/src/api/subscription/_methods/openOrders.d.ts.map +1 -0
  582. package/esm/src/api/subscription/_methods/openOrders.js +69 -0
  583. package/esm/src/api/subscription/_methods/openOrders.js.map +1 -0
  584. package/esm/src/api/subscription/_methods/orderUpdates.d.ts +131 -0
  585. package/esm/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -0
  586. package/esm/src/api/subscription/_methods/orderUpdates.js +121 -0
  587. package/esm/src/api/subscription/_methods/orderUpdates.js.map +1 -0
  588. package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts +70 -0
  589. package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -0
  590. package/esm/src/api/subscription/_methods/spotAssetCtxs.js +50 -0
  591. package/esm/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -0
  592. package/esm/src/api/subscription/_methods/spotState.d.ts +122 -0
  593. package/esm/src/api/subscription/_methods/spotState.d.ts.map +1 -0
  594. package/esm/src/api/subscription/_methods/spotState.js +63 -0
  595. package/esm/src/api/subscription/_methods/spotState.js.map +1 -0
  596. package/esm/src/api/subscription/_methods/trades.d.ts +76 -0
  597. package/esm/src/api/subscription/_methods/trades.d.ts.map +1 -0
  598. package/esm/src/api/subscription/_methods/trades.js +55 -0
  599. package/esm/src/api/subscription/_methods/trades.js.map +1 -0
  600. package/esm/src/api/subscription/_methods/twapStates.d.ts +102 -0
  601. package/esm/src/api/subscription/_methods/twapStates.d.ts.map +1 -0
  602. package/esm/src/api/subscription/_methods/twapStates.js +64 -0
  603. package/esm/src/api/subscription/_methods/twapStates.js.map +1 -0
  604. package/esm/src/api/subscription/_methods/userEvents.d.ts +467 -0
  605. package/esm/src/api/subscription/_methods/userEvents.d.ts.map +1 -0
  606. package/esm/src/api/subscription/_methods/userEvents.js +116 -0
  607. package/esm/src/api/subscription/_methods/userEvents.js.map +1 -0
  608. package/esm/src/api/subscription/_methods/userFills.d.ts +175 -0
  609. package/esm/src/api/subscription/_methods/userFills.d.ts.map +1 -0
  610. package/esm/src/api/subscription/_methods/userFills.js +69 -0
  611. package/esm/src/api/subscription/_methods/userFills.js.map +1 -0
  612. package/esm/src/api/subscription/_methods/userFundings.d.ts +87 -0
  613. package/esm/src/api/subscription/_methods/userFundings.d.ts.map +1 -0
  614. package/esm/src/api/subscription/_methods/userFundings.js +75 -0
  615. package/esm/src/api/subscription/_methods/userFundings.js.map +1 -0
  616. package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts +178 -0
  617. package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -0
  618. package/esm/src/api/subscription/_methods/userHistoricalOrders.js +63 -0
  619. package/esm/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -0
  620. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +534 -0
  621. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
  622. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +63 -0
  623. package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -0
  624. package/esm/src/api/subscription/_methods/userTwapHistory.d.ts +171 -0
  625. package/esm/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -0
  626. package/esm/src/api/subscription/_methods/userTwapHistory.js +63 -0
  627. package/esm/src/api/subscription/_methods/userTwapHistory.js.map +1 -0
  628. package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts +168 -0
  629. package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -0
  630. package/esm/src/api/subscription/_methods/userTwapSliceFills.js +63 -0
  631. package/esm/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -0
  632. package/esm/src/api/subscription/_methods/webData2.d.ts +860 -0
  633. package/esm/src/api/subscription/_methods/webData2.d.ts.map +1 -0
  634. package/esm/src/api/subscription/_methods/webData2.js +56 -0
  635. package/esm/src/api/subscription/_methods/webData2.js.map +1 -0
  636. package/esm/src/api/subscription/_methods/webData3.d.ts +126 -0
  637. package/esm/src/api/subscription/_methods/webData3.d.ts.map +1 -0
  638. package/esm/src/api/subscription/_methods/webData3.js +88 -0
  639. package/esm/src/api/subscription/_methods/webData3.js.map +1 -0
  640. package/esm/src/api/subscription/client.d.ts +145 -0
  641. package/esm/src/api/subscription/client.d.ts.map +1 -0
  642. package/esm/src/api/subscription/client.js +179 -0
  643. package/esm/src/api/subscription/client.js.map +1 -0
  644. package/esm/src/api/subscription/mod.d.ts +55 -0
  645. package/esm/src/api/subscription/mod.d.ts.map +1 -0
  646. package/esm/src/api/subscription/mod.js +54 -0
  647. package/esm/src/api/subscription/mod.js.map +1 -0
  648. package/esm/src/mod.d.ts +34 -8
  649. package/esm/src/mod.d.ts.map +1 -1
  650. package/esm/src/mod.js +34 -8
  651. package/esm/src/mod.js.map +1 -1
  652. package/esm/src/signing/_abstractWallet.d.ts +119 -0
  653. package/esm/src/signing/_abstractWallet.d.ts.map +1 -0
  654. package/esm/src/signing/_abstractWallet.js +155 -0
  655. package/esm/src/signing/_abstractWallet.js.map +1 -0
  656. package/esm/src/signing/_privateKeySigner.d.ts +37 -0
  657. package/esm/src/signing/_privateKeySigner.d.ts.map +1 -0
  658. package/esm/src/signing/_privateKeySigner.js +33 -0
  659. package/esm/src/signing/_privateKeySigner.js.map +1 -0
  660. package/esm/src/signing/mod.d.ts +33 -80
  661. package/esm/src/signing/mod.d.ts.map +1 -1
  662. package/esm/src/signing/mod.js +67 -109
  663. package/esm/src/signing/mod.js.map +1 -1
  664. package/esm/src/transport/_base.d.ts +51 -0
  665. package/esm/src/transport/_base.d.ts.map +1 -0
  666. package/esm/src/transport/_base.js +9 -0
  667. package/esm/src/transport/_base.js.map +1 -0
  668. package/esm/src/transport/_polyfills.d.ts +30 -3
  669. package/esm/src/transport/_polyfills.d.ts.map +1 -1
  670. package/esm/src/transport/_polyfills.js +11 -5
  671. package/esm/src/transport/_polyfills.js.map +1 -1
  672. package/esm/src/transport/http/mod.d.ts +68 -51
  673. package/esm/src/transport/http/mod.d.ts.map +1 -1
  674. package/esm/src/transport/http/mod.js +86 -72
  675. package/esm/src/transport/http/mod.js.map +1 -1
  676. package/esm/src/transport/mod.d.ts +19 -0
  677. package/esm/src/transport/mod.d.ts.map +1 -0
  678. package/esm/src/transport/mod.js +19 -0
  679. package/esm/src/transport/mod.js.map +1 -0
  680. package/esm/src/transport/websocket/_hyperliquidEventTarget.d.ts +67 -0
  681. package/esm/src/transport/websocket/_hyperliquidEventTarget.d.ts.map +1 -0
  682. package/esm/src/transport/websocket/_hyperliquidEventTarget.js +59 -0
  683. package/esm/src/transport/websocket/_hyperliquidEventTarget.js.map +1 -0
  684. package/esm/src/transport/websocket/_postRequest.d.ts +42 -0
  685. package/esm/src/transport/websocket/_postRequest.d.ts.map +1 -0
  686. package/esm/src/transport/websocket/_postRequest.js +231 -0
  687. package/esm/src/transport/websocket/_postRequest.js.map +1 -0
  688. package/esm/src/transport/websocket/_subscriptionManager.d.ts +51 -0
  689. package/esm/src/transport/websocket/_subscriptionManager.d.ts.map +1 -0
  690. package/esm/src/transport/websocket/_subscriptionManager.js +150 -0
  691. package/esm/src/transport/websocket/_subscriptionManager.js.map +1 -0
  692. package/esm/src/transport/websocket/mod.d.ts +75 -56
  693. package/esm/src/transport/websocket/mod.d.ts.map +1 -1
  694. package/esm/src/transport/websocket/mod.js +125 -175
  695. package/esm/src/transport/websocket/mod.js.map +1 -1
  696. package/esm/src/utils/_format.d.ts +15 -6
  697. package/esm/src/utils/_format.d.ts.map +1 -1
  698. package/esm/src/utils/_format.js +30 -13
  699. package/esm/src/utils/_format.js.map +1 -1
  700. package/esm/src/utils/_symbolConverter.d.ts +21 -15
  701. package/esm/src/utils/_symbolConverter.d.ts.map +1 -1
  702. package/esm/src/utils/_symbolConverter.js +58 -44
  703. package/esm/src/utils/_symbolConverter.js.map +1 -1
  704. package/esm/src/utils/mod.d.ts +24 -1
  705. package/esm/src/utils/mod.d.ts.map +1 -1
  706. package/esm/src/utils/mod.js +24 -1
  707. package/esm/src/utils/mod.js.map +1 -1
  708. package/package.json +9 -10
  709. package/script/bin/_utils.d.ts +77 -41
  710. package/script/bin/_utils.d.ts.map +1 -1
  711. package/script/bin/_utils.js +179 -83
  712. package/script/bin/_utils.js.map +1 -1
  713. package/script/bin/cli.js +72 -82
  714. package/script/bin/cli.js.map +1 -1
  715. package/script/src/api/_schemas.d.ts +20 -0
  716. package/script/src/api/_schemas.d.ts.map +1 -0
  717. package/script/src/api/_schemas.js +94 -0
  718. package/script/src/api/_schemas.js.map +1 -0
  719. package/script/src/api/exchange/_methods/_base/_nonce.d.ts +12 -0
  720. package/script/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -0
  721. package/script/src/api/exchange/_methods/_base/_nonce.js +28 -0
  722. package/script/src/api/exchange/_methods/_base/_nonce.js.map +1 -0
  723. package/script/src/api/exchange/_methods/_base/_semaphore.d.ts +8 -0
  724. package/script/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -0
  725. package/script/src/api/exchange/_methods/_base/_semaphore.js +89 -0
  726. package/script/src/api/exchange/_methods/_base/_semaphore.js.map +1 -0
  727. package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts +48 -0
  728. package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -0
  729. package/script/src/api/exchange/_methods/_base/commonSchemas.js +75 -0
  730. package/script/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -0
  731. package/script/src/api/exchange/_methods/_base/errors.d.ts +49 -0
  732. package/script/src/api/exchange/_methods/_base/errors.d.ts.map +1 -0
  733. package/script/src/api/exchange/_methods/_base/errors.js +78 -0
  734. package/script/src/api/exchange/_methods/_base/errors.js.map +1 -0
  735. package/script/src/api/exchange/_methods/_base/execute.d.ts +74 -0
  736. package/script/src/api/exchange/_methods/_base/execute.d.ts.map +1 -0
  737. package/script/src/api/exchange/_methods/_base/execute.js +244 -0
  738. package/script/src/api/exchange/_methods/_base/execute.js.map +1 -0
  739. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +111 -0
  740. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -0
  741. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js +104 -0
  742. package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -0
  743. package/script/src/api/exchange/_methods/approveAgent.d.ts +193 -0
  744. package/script/src/api/exchange/_methods/approveAgent.d.ts.map +1 -0
  745. package/script/src/api/exchange/_methods/approveAgent.js +129 -0
  746. package/script/src/api/exchange/_methods/approveAgent.js.map +1 -0
  747. package/script/src/api/exchange/_methods/approveBuilderFee.d.ts +193 -0
  748. package/script/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -0
  749. package/script/src/api/exchange/_methods/approveBuilderFee.js +129 -0
  750. package/script/src/api/exchange/_methods/approveBuilderFee.js.map +1 -0
  751. package/script/src/api/exchange/_methods/batchModify.d.ts +708 -0
  752. package/script/src/api/exchange/_methods/batchModify.d.ts.map +1 -0
  753. package/script/src/api/exchange/_methods/batchModify.js +182 -0
  754. package/script/src/api/exchange/_methods/batchModify.js.map +1 -0
  755. package/script/src/api/exchange/_methods/cDeposit.d.ts +180 -0
  756. package/script/src/api/exchange/_methods/cDeposit.d.ts.map +1 -0
  757. package/script/src/api/exchange/_methods/cDeposit.js +126 -0
  758. package/script/src/api/exchange/_methods/cDeposit.js.map +1 -0
  759. package/script/src/api/exchange/_methods/cSignerAction.d.ts +198 -0
  760. package/script/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -0
  761. package/script/src/api/exchange/_methods/cSignerAction.js +128 -0
  762. package/script/src/api/exchange/_methods/cSignerAction.js.map +1 -0
  763. package/script/src/api/exchange/_methods/cValidatorAction.d.ts +626 -0
  764. package/script/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -0
  765. package/script/src/api/exchange/_methods/cValidatorAction.js +171 -0
  766. package/script/src/api/exchange/_methods/cValidatorAction.js.map +1 -0
  767. package/script/src/api/exchange/_methods/cWithdraw.d.ts +180 -0
  768. package/script/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -0
  769. package/script/src/api/exchange/_methods/cWithdraw.js +126 -0
  770. package/script/src/api/exchange/_methods/cWithdraw.js.map +1 -0
  771. package/script/src/api/exchange/_methods/cancel.d.ts +217 -0
  772. package/script/src/api/exchange/_methods/cancel.d.ts.map +1 -0
  773. package/script/src/api/exchange/_methods/cancel.js +144 -0
  774. package/script/src/api/exchange/_methods/cancel.js.map +1 -0
  775. package/script/src/api/exchange/_methods/cancelByCloid.d.ts +221 -0
  776. package/script/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -0
  777. package/script/src/api/exchange/_methods/cancelByCloid.js +126 -0
  778. package/script/src/api/exchange/_methods/cancelByCloid.js.map +1 -0
  779. package/script/src/api/exchange/_methods/claimRewards.d.ts +101 -0
  780. package/script/src/api/exchange/_methods/claimRewards.d.ts.map +1 -0
  781. package/script/src/api/exchange/_methods/claimRewards.js +94 -0
  782. package/script/src/api/exchange/_methods/claimRewards.js.map +1 -0
  783. package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts +296 -0
  784. package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -0
  785. package/script/src/api/exchange/_methods/convertToMultiSigUser.js +165 -0
  786. package/script/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -0
  787. package/script/src/api/exchange/_methods/createSubAccount.d.ts +146 -0
  788. package/script/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -0
  789. package/script/src/api/exchange/_methods/createSubAccount.js +119 -0
  790. package/script/src/api/exchange/_methods/createSubAccount.js.map +1 -0
  791. package/script/src/api/exchange/_methods/createVault.d.ts +190 -0
  792. package/script/src/api/exchange/_methods/createVault.d.ts.map +1 -0
  793. package/script/src/api/exchange/_methods/createVault.js +131 -0
  794. package/script/src/api/exchange/_methods/createVault.js.map +1 -0
  795. package/script/src/api/exchange/_methods/evmUserModify.d.ts +152 -0
  796. package/script/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -0
  797. package/script/src/api/exchange/_methods/evmUserModify.js +114 -0
  798. package/script/src/api/exchange/_methods/evmUserModify.js.map +1 -0
  799. package/script/src/api/exchange/_methods/linkStakingUser.d.ts +217 -0
  800. package/script/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -0
  801. package/script/src/api/exchange/_methods/linkStakingUser.js +141 -0
  802. package/script/src/api/exchange/_methods/linkStakingUser.js.map +1 -0
  803. package/script/src/api/exchange/_methods/modify.d.ts +521 -0
  804. package/script/src/api/exchange/_methods/modify.d.ts.map +1 -0
  805. package/script/src/api/exchange/_methods/modify.js +175 -0
  806. package/script/src/api/exchange/_methods/modify.js.map +1 -0
  807. package/script/src/api/exchange/_methods/noop.d.ts +111 -0
  808. package/script/src/api/exchange/_methods/noop.d.ts.map +1 -0
  809. package/script/src/api/exchange/_methods/noop.js +104 -0
  810. package/script/src/api/exchange/_methods/noop.js.map +1 -0
  811. package/script/src/api/exchange/_methods/order.d.ts +685 -0
  812. package/script/src/api/exchange/_methods/order.d.ts.map +1 -0
  813. package/script/src/api/exchange/_methods/order.js +232 -0
  814. package/script/src/api/exchange/_methods/order.js.map +1 -0
  815. package/script/src/api/exchange/_methods/perpDeploy.d.ts +1457 -0
  816. package/script/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -0
  817. package/script/src/api/exchange/_methods/perpDeploy.js +309 -0
  818. package/script/src/api/exchange/_methods/perpDeploy.js.map +1 -0
  819. package/script/src/api/exchange/_methods/registerReferrer.d.ts +144 -0
  820. package/script/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -0
  821. package/script/src/api/exchange/_methods/registerReferrer.js +106 -0
  822. package/script/src/api/exchange/_methods/registerReferrer.js.map +1 -0
  823. package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts +152 -0
  824. package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -0
  825. package/script/src/api/exchange/_methods/reserveRequestWeight.js +115 -0
  826. package/script/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -0
  827. package/script/src/api/exchange/_methods/scheduleCancel.d.ts +171 -0
  828. package/script/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -0
  829. package/script/src/api/exchange/_methods/scheduleCancel.js +96 -0
  830. package/script/src/api/exchange/_methods/scheduleCancel.js.map +1 -0
  831. package/script/src/api/exchange/_methods/sendAsset.d.ts +251 -0
  832. package/script/src/api/exchange/_methods/sendAsset.d.ts.map +1 -0
  833. package/script/src/api/exchange/_methods/sendAsset.js +147 -0
  834. package/script/src/api/exchange/_methods/sendAsset.js.map +1 -0
  835. package/script/src/api/exchange/_methods/setDisplayName.d.ts +153 -0
  836. package/script/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -0
  837. package/script/src/api/exchange/_methods/setDisplayName.js +110 -0
  838. package/script/src/api/exchange/_methods/setDisplayName.js.map +1 -0
  839. package/script/src/api/exchange/_methods/setReferrer.d.ts +144 -0
  840. package/script/src/api/exchange/_methods/setReferrer.d.ts.map +1 -0
  841. package/script/src/api/exchange/_methods/setReferrer.js +106 -0
  842. package/script/src/api/exchange/_methods/setReferrer.js.map +1 -0
  843. package/script/src/api/exchange/_methods/spotDeploy.d.ts +939 -0
  844. package/script/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -0
  845. package/script/src/api/exchange/_methods/spotDeploy.js +235 -0
  846. package/script/src/api/exchange/_methods/spotDeploy.js.map +1 -0
  847. package/script/src/api/exchange/_methods/spotSend.d.ts +210 -0
  848. package/script/src/api/exchange/_methods/spotSend.d.ts.map +1 -0
  849. package/script/src/api/exchange/_methods/spotSend.js +136 -0
  850. package/script/src/api/exchange/_methods/spotSend.js.map +1 -0
  851. package/script/src/api/exchange/_methods/spotUser.d.ts +173 -0
  852. package/script/src/api/exchange/_methods/spotUser.d.ts.map +1 -0
  853. package/script/src/api/exchange/_methods/spotUser.js +109 -0
  854. package/script/src/api/exchange/_methods/spotUser.js.map +1 -0
  855. package/script/src/api/exchange/_methods/subAccountModify.d.ts +157 -0
  856. package/script/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -0
  857. package/script/src/api/exchange/_methods/subAccountModify.js +108 -0
  858. package/script/src/api/exchange/_methods/subAccountModify.js.map +1 -0
  859. package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +188 -0
  860. package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -0
  861. package/script/src/api/exchange/_methods/subAccountSpotTransfer.js +117 -0
  862. package/script/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -0
  863. package/script/src/api/exchange/_methods/subAccountTransfer.d.ts +170 -0
  864. package/script/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -0
  865. package/script/src/api/exchange/_methods/subAccountTransfer.js +110 -0
  866. package/script/src/api/exchange/_methods/subAccountTransfer.js.map +1 -0
  867. package/script/src/api/exchange/_methods/tokenDelegate.d.ts +206 -0
  868. package/script/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -0
  869. package/script/src/api/exchange/_methods/tokenDelegate.js +132 -0
  870. package/script/src/api/exchange/_methods/tokenDelegate.js.map +1 -0
  871. package/script/src/api/exchange/_methods/twapCancel.d.ts +181 -0
  872. package/script/src/api/exchange/_methods/twapCancel.d.ts.map +1 -0
  873. package/script/src/api/exchange/_methods/twapCancel.js +137 -0
  874. package/script/src/api/exchange/_methods/twapCancel.js.map +1 -0
  875. package/script/src/api/exchange/_methods/twapOrder.d.ts +310 -0
  876. package/script/src/api/exchange/_methods/twapOrder.d.ts.map +1 -0
  877. package/script/src/api/exchange/_methods/twapOrder.js +163 -0
  878. package/script/src/api/exchange/_methods/twapOrder.js.map +1 -0
  879. package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts +181 -0
  880. package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -0
  881. package/script/src/api/exchange/_methods/updateIsolatedMargin.js +120 -0
  882. package/script/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -0
  883. package/script/src/api/exchange/_methods/updateLeverage.d.ts +181 -0
  884. package/script/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -0
  885. package/script/src/api/exchange/_methods/updateLeverage.js +120 -0
  886. package/script/src/api/exchange/_methods/updateLeverage.js.map +1 -0
  887. package/script/src/api/exchange/_methods/usdClassTransfer.d.ts +193 -0
  888. package/script/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -0
  889. package/script/src/api/exchange/_methods/usdClassTransfer.js +129 -0
  890. package/script/src/api/exchange/_methods/usdClassTransfer.js.map +1 -0
  891. package/script/src/api/exchange/_methods/usdSend.d.ts +193 -0
  892. package/script/src/api/exchange/_methods/usdSend.d.ts.map +1 -0
  893. package/script/src/api/exchange/_methods/usdSend.js +129 -0
  894. package/script/src/api/exchange/_methods/usdSend.js.map +1 -0
  895. package/script/src/api/exchange/_methods/userDexAbstraction.d.ts +193 -0
  896. package/script/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -0
  897. package/script/src/api/exchange/_methods/userDexAbstraction.js +129 -0
  898. package/script/src/api/exchange/_methods/userDexAbstraction.js.map +1 -0
  899. package/script/src/api/exchange/_methods/validatorL1Stream.d.ts +152 -0
  900. package/script/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -0
  901. package/script/src/api/exchange/_methods/validatorL1Stream.js +114 -0
  902. package/script/src/api/exchange/_methods/validatorL1Stream.js.map +1 -0
  903. package/script/src/api/exchange/_methods/vaultDistribute.d.ts +166 -0
  904. package/script/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -0
  905. package/script/src/api/exchange/_methods/vaultDistribute.js +112 -0
  906. package/script/src/api/exchange/_methods/vaultDistribute.js.map +1 -0
  907. package/script/src/api/exchange/_methods/vaultModify.d.ts +174 -0
  908. package/script/src/api/exchange/_methods/vaultModify.d.ts.map +1 -0
  909. package/script/src/api/exchange/_methods/vaultModify.js +114 -0
  910. package/script/src/api/exchange/_methods/vaultModify.js.map +1 -0
  911. package/script/src/api/exchange/_methods/vaultTransfer.d.ts +178 -0
  912. package/script/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -0
  913. package/script/src/api/exchange/_methods/vaultTransfer.js +118 -0
  914. package/script/src/api/exchange/_methods/vaultTransfer.js.map +1 -0
  915. package/script/src/api/exchange/_methods/withdraw3.d.ts +193 -0
  916. package/script/src/api/exchange/_methods/withdraw3.d.ts.map +1 -0
  917. package/script/src/api/exchange/_methods/withdraw3.js +129 -0
  918. package/script/src/api/exchange/_methods/withdraw3.js.map +1 -0
  919. package/script/src/api/exchange/client.d.ts +238 -0
  920. package/script/src/api/exchange/client.d.ts.map +1 -0
  921. package/script/src/api/exchange/client.js +295 -0
  922. package/script/src/api/exchange/client.js.map +1 -0
  923. package/script/src/api/exchange/mod.d.ts +86 -0
  924. package/script/src/api/exchange/mod.d.ts.map +1 -0
  925. package/script/src/api/exchange/mod.js +103 -0
  926. package/script/src/api/exchange/mod.js.map +1 -0
  927. package/script/src/api/info/_methods/_base/commonSchemas.d.ts +343 -0
  928. package/script/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -0
  929. package/script/src/api/info/_methods/_base/commonSchemas.js +377 -0
  930. package/script/src/api/info/_methods/_base/commonSchemas.js.map +1 -0
  931. package/script/src/api/info/_methods/_base/types.d.ts +7 -0
  932. package/script/src/api/info/_methods/_base/types.d.ts.map +1 -0
  933. package/script/src/api/info/_methods/_base/types.js +3 -0
  934. package/script/src/api/info/_methods/_base/types.js.map +1 -0
  935. package/script/src/api/info/_methods/activeAssetData.d.ts +102 -0
  936. package/script/src/api/info/_methods/activeAssetData.d.ts.map +1 -0
  937. package/script/src/api/info/_methods/activeAssetData.js +126 -0
  938. package/script/src/api/info/_methods/activeAssetData.js.map +1 -0
  939. package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +66 -0
  940. package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -0
  941. package/script/src/api/info/_methods/alignedQuoteTokenInfo.js +106 -0
  942. package/script/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -0
  943. package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts +84 -0
  944. package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -0
  945. package/script/src/api/info/_methods/allBorrowLendReserveStates.js +110 -0
  946. package/script/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -0
  947. package/script/src/api/info/_methods/allMids.d.ts +53 -0
  948. package/script/src/api/info/_methods/allMids.d.ts.map +1 -0
  949. package/script/src/api/info/_methods/allMids.js +71 -0
  950. package/script/src/api/info/_methods/allMids.js.map +1 -0
  951. package/script/src/api/info/_methods/allPerpMetas.d.ts +125 -0
  952. package/script/src/api/info/_methods/allPerpMetas.d.ts.map +1 -0
  953. package/script/src/api/info/_methods/allPerpMetas.js +85 -0
  954. package/script/src/api/info/_methods/allPerpMetas.js.map +1 -0
  955. package/script/src/api/info/_methods/blockDetails.d.ts +140 -0
  956. package/script/src/api/info/_methods/blockDetails.d.ts.map +1 -0
  957. package/script/src/api/info/_methods/blockDetails.js +110 -0
  958. package/script/src/api/info/_methods/blockDetails.js.map +1 -0
  959. package/script/src/api/info/_methods/borrowLendUserState.d.ts +123 -0
  960. package/script/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -0
  961. package/script/src/api/info/_methods/borrowLendUserState.js +121 -0
  962. package/script/src/api/info/_methods/borrowLendUserState.js.map +1 -0
  963. package/script/src/api/info/_methods/candleSnapshot.d.ts +104 -0
  964. package/script/src/api/info/_methods/candleSnapshot.d.ts.map +1 -0
  965. package/script/src/api/info/_methods/candleSnapshot.js +126 -0
  966. package/script/src/api/info/_methods/candleSnapshot.js.map +1 -0
  967. package/script/src/api/info/_methods/clearinghouseState.d.ts +247 -0
  968. package/script/src/api/info/_methods/clearinghouseState.d.ts.map +1 -0
  969. package/script/src/api/info/_methods/clearinghouseState.js +179 -0
  970. package/script/src/api/info/_methods/clearinghouseState.js.map +1 -0
  971. package/script/src/api/info/_methods/delegations.d.ts +64 -0
  972. package/script/src/api/info/_methods/delegations.d.ts.map +1 -0
  973. package/script/src/api/info/_methods/delegations.js +103 -0
  974. package/script/src/api/info/_methods/delegations.js.map +1 -0
  975. package/script/src/api/info/_methods/delegatorHistory.d.ts +127 -0
  976. package/script/src/api/info/_methods/delegatorHistory.d.ts.map +1 -0
  977. package/script/src/api/info/_methods/delegatorHistory.js +131 -0
  978. package/script/src/api/info/_methods/delegatorHistory.js.map +1 -0
  979. package/script/src/api/info/_methods/delegatorRewards.d.ts +64 -0
  980. package/script/src/api/info/_methods/delegatorRewards.d.ts.map +1 -0
  981. package/script/src/api/info/_methods/delegatorRewards.js +103 -0
  982. package/script/src/api/info/_methods/delegatorRewards.js.map +1 -0
  983. package/script/src/api/info/_methods/delegatorSummary.d.ts +67 -0
  984. package/script/src/api/info/_methods/delegatorSummary.d.ts.map +1 -0
  985. package/script/src/api/info/_methods/delegatorSummary.js +105 -0
  986. package/script/src/api/info/_methods/delegatorSummary.js.map +1 -0
  987. package/script/src/api/info/_methods/exchangeStatus.d.ts +48 -0
  988. package/script/src/api/info/_methods/exchangeStatus.d.ts.map +1 -0
  989. package/script/src/api/info/_methods/exchangeStatus.js +90 -0
  990. package/script/src/api/info/_methods/exchangeStatus.js.map +1 -0
  991. package/script/src/api/info/_methods/extraAgents.d.ts +60 -0
  992. package/script/src/api/info/_methods/extraAgents.d.ts.map +1 -0
  993. package/script/src/api/info/_methods/extraAgents.js +99 -0
  994. package/script/src/api/info/_methods/extraAgents.js.map +1 -0
  995. package/script/src/api/info/_methods/frontendOpenOrders.d.ts +107 -0
  996. package/script/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -0
  997. package/script/src/api/info/_methods/frontendOpenOrders.js +99 -0
  998. package/script/src/api/info/_methods/frontendOpenOrders.js.map +1 -0
  999. package/script/src/api/info/_methods/fundingHistory.d.ts +73 -0
  1000. package/script/src/api/info/_methods/fundingHistory.d.ts.map +1 -0
  1001. package/script/src/api/info/_methods/fundingHistory.js +109 -0
  1002. package/script/src/api/info/_methods/fundingHistory.js.map +1 -0
  1003. package/script/src/api/info/_methods/gossipRootIps.d.ts +40 -0
  1004. package/script/src/api/info/_methods/gossipRootIps.d.ts.map +1 -0
  1005. package/script/src/api/info/_methods/gossipRootIps.js +84 -0
  1006. package/script/src/api/info/_methods/gossipRootIps.js.map +1 -0
  1007. package/script/src/api/info/_methods/historicalOrders.d.ts +163 -0
  1008. package/script/src/api/info/_methods/historicalOrders.d.ts.map +1 -0
  1009. package/script/src/api/info/_methods/historicalOrders.js +164 -0
  1010. package/script/src/api/info/_methods/historicalOrders.js.map +1 -0
  1011. package/script/src/api/info/_methods/isVip.d.ts +49 -0
  1012. package/script/src/api/info/_methods/isVip.d.ts.map +1 -0
  1013. package/script/src/api/info/_methods/isVip.js +92 -0
  1014. package/script/src/api/info/_methods/isVip.js.map +1 -0
  1015. package/script/src/api/info/_methods/l2Book.d.ts +108 -0
  1016. package/script/src/api/info/_methods/l2Book.d.ts.map +1 -0
  1017. package/script/src/api/info/_methods/l2Book.js +117 -0
  1018. package/script/src/api/info/_methods/l2Book.js.map +1 -0
  1019. package/script/src/api/info/_methods/l3Orders.d.ts +183 -0
  1020. package/script/src/api/info/_methods/l3Orders.d.ts.map +1 -0
  1021. package/script/src/api/info/_methods/l3Orders.js +142 -0
  1022. package/script/src/api/info/_methods/l3Orders.js.map +1 -0
  1023. package/script/src/api/info/_methods/l4Orders.d.ts +219 -0
  1024. package/script/src/api/info/_methods/l4Orders.d.ts.map +1 -0
  1025. package/script/src/api/info/_methods/l4Orders.js +161 -0
  1026. package/script/src/api/info/_methods/l4Orders.js.map +1 -0
  1027. package/script/src/api/info/_methods/leadingVaults.d.ts +57 -0
  1028. package/script/src/api/info/_methods/leadingVaults.d.ts.map +1 -0
  1029. package/script/src/api/info/_methods/leadingVaults.js +97 -0
  1030. package/script/src/api/info/_methods/leadingVaults.js.map +1 -0
  1031. package/script/src/api/info/_methods/legalCheck.d.ts +60 -0
  1032. package/script/src/api/info/_methods/legalCheck.d.ts.map +1 -0
  1033. package/script/src/api/info/_methods/legalCheck.js +99 -0
  1034. package/script/src/api/info/_methods/legalCheck.js.map +1 -0
  1035. package/script/src/api/info/_methods/liquidatable.d.ts +40 -0
  1036. package/script/src/api/info/_methods/liquidatable.d.ts.map +1 -0
  1037. package/script/src/api/info/_methods/liquidatable.js +84 -0
  1038. package/script/src/api/info/_methods/liquidatable.js.map +1 -0
  1039. package/script/src/api/info/_methods/marginTable.d.ts +68 -0
  1040. package/script/src/api/info/_methods/marginTable.d.ts.map +1 -0
  1041. package/script/src/api/info/_methods/marginTable.js +102 -0
  1042. package/script/src/api/info/_methods/marginTable.js.map +1 -0
  1043. package/script/src/api/info/_methods/maxBuilderFee.d.ts +56 -0
  1044. package/script/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -0
  1045. package/script/src/api/info/_methods/maxBuilderFee.js +98 -0
  1046. package/script/src/api/info/_methods/maxBuilderFee.js.map +1 -0
  1047. package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts +40 -0
  1048. package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -0
  1049. package/script/src/api/info/_methods/maxMarketOrderNtls.js +85 -0
  1050. package/script/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -0
  1051. package/script/src/api/info/_methods/meta.d.ts +128 -0
  1052. package/script/src/api/info/_methods/meta.d.ts.map +1 -0
  1053. package/script/src/api/info/_methods/meta.js +101 -0
  1054. package/script/src/api/info/_methods/meta.js.map +1 -0
  1055. package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts +168 -0
  1056. package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -0
  1057. package/script/src/api/info/_methods/metaAndAssetCtxs.js +75 -0
  1058. package/script/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -0
  1059. package/script/src/api/info/_methods/openOrders.d.ts +86 -0
  1060. package/script/src/api/info/_methods/openOrders.d.ts.map +1 -0
  1061. package/script/src/api/info/_methods/openOrders.js +99 -0
  1062. package/script/src/api/info/_methods/openOrders.js.map +1 -0
  1063. package/script/src/api/info/_methods/orderStatus.d.ts +202 -0
  1064. package/script/src/api/info/_methods/orderStatus.d.ts.map +1 -0
  1065. package/script/src/api/info/_methods/orderStatus.js +181 -0
  1066. package/script/src/api/info/_methods/orderStatus.js.map +1 -0
  1067. package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts +61 -0
  1068. package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -0
  1069. package/script/src/api/info/_methods/perpDeployAuctionStatus.js +100 -0
  1070. package/script/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -0
  1071. package/script/src/api/info/_methods/perpDexLimits.d.ts +67 -0
  1072. package/script/src/api/info/_methods/perpDexLimits.d.ts.map +1 -0
  1073. package/script/src/api/info/_methods/perpDexLimits.js +105 -0
  1074. package/script/src/api/info/_methods/perpDexLimits.js.map +1 -0
  1075. package/script/src/api/info/_methods/perpDexStatus.d.ts +55 -0
  1076. package/script/src/api/info/_methods/perpDexStatus.d.ts.map +1 -0
  1077. package/script/src/api/info/_methods/perpDexStatus.js +96 -0
  1078. package/script/src/api/info/_methods/perpDexStatus.js.map +1 -0
  1079. package/script/src/api/info/_methods/perpDexs.d.ts +87 -0
  1080. package/script/src/api/info/_methods/perpDexs.d.ts.map +1 -0
  1081. package/script/src/api/info/_methods/perpDexs.js +115 -0
  1082. package/script/src/api/info/_methods/perpDexs.js.map +1 -0
  1083. package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +51 -0
  1084. package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -0
  1085. package/script/src/api/info/_methods/perpsAtOpenInterestCap.js +70 -0
  1086. package/script/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -0
  1087. package/script/src/api/info/_methods/portfolio.d.ts +173 -0
  1088. package/script/src/api/info/_methods/portfolio.d.ts.map +1 -0
  1089. package/script/src/api/info/_methods/portfolio.js +116 -0
  1090. package/script/src/api/info/_methods/portfolio.js.map +1 -0
  1091. package/script/src/api/info/_methods/preTransferCheck.d.ts +66 -0
  1092. package/script/src/api/info/_methods/preTransferCheck.d.ts.map +1 -0
  1093. package/script/src/api/info/_methods/preTransferCheck.js +103 -0
  1094. package/script/src/api/info/_methods/preTransferCheck.js.map +1 -0
  1095. package/script/src/api/info/_methods/predictedFundings.d.ts +55 -0
  1096. package/script/src/api/info/_methods/predictedFundings.d.ts.map +1 -0
  1097. package/script/src/api/info/_methods/predictedFundings.js +106 -0
  1098. package/script/src/api/info/_methods/predictedFundings.js.map +1 -0
  1099. package/script/src/api/info/_methods/recentTrades.d.ts +75 -0
  1100. package/script/src/api/info/_methods/recentTrades.d.ts.map +1 -0
  1101. package/script/src/api/info/_methods/recentTrades.js +109 -0
  1102. package/script/src/api/info/_methods/recentTrades.js.map +1 -0
  1103. package/script/src/api/info/_methods/referral.d.ts +253 -0
  1104. package/script/src/api/info/_methods/referral.d.ts.map +1 -0
  1105. package/script/src/api/info/_methods/referral.js +189 -0
  1106. package/script/src/api/info/_methods/referral.js.map +1 -0
  1107. package/script/src/api/info/_methods/spotClearinghouseState.d.ts +102 -0
  1108. package/script/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -0
  1109. package/script/src/api/info/_methods/spotClearinghouseState.js +121 -0
  1110. package/script/src/api/info/_methods/spotClearinghouseState.js.map +1 -0
  1111. package/script/src/api/info/_methods/spotDeployState.d.ts +157 -0
  1112. package/script/src/api/info/_methods/spotDeployState.d.ts.map +1 -0
  1113. package/script/src/api/info/_methods/spotDeployState.js +132 -0
  1114. package/script/src/api/info/_methods/spotDeployState.js.map +1 -0
  1115. package/script/src/api/info/_methods/spotMeta.d.ts +124 -0
  1116. package/script/src/api/info/_methods/spotMeta.d.ts.map +1 -0
  1117. package/script/src/api/info/_methods/spotMeta.js +127 -0
  1118. package/script/src/api/info/_methods/spotMeta.js.map +1 -0
  1119. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +155 -0
  1120. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -0
  1121. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js +93 -0
  1122. package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -0
  1123. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +62 -0
  1124. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -0
  1125. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js +89 -0
  1126. package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -0
  1127. package/script/src/api/info/_methods/subAccounts.d.ts +374 -0
  1128. package/script/src/api/info/_methods/subAccounts.d.ts.map +1 -0
  1129. package/script/src/api/info/_methods/subAccounts.js +109 -0
  1130. package/script/src/api/info/_methods/subAccounts.js.map +1 -0
  1131. package/script/src/api/info/_methods/subAccounts2.d.ts +414 -0
  1132. package/script/src/api/info/_methods/subAccounts2.d.ts.map +1 -0
  1133. package/script/src/api/info/_methods/subAccounts2.js +106 -0
  1134. package/script/src/api/info/_methods/subAccounts2.js.map +1 -0
  1135. package/script/src/api/info/_methods/tokenDetails.d.ts +118 -0
  1136. package/script/src/api/info/_methods/tokenDetails.d.ts.map +1 -0
  1137. package/script/src/api/info/_methods/tokenDetails.js +136 -0
  1138. package/script/src/api/info/_methods/tokenDetails.js.map +1 -0
  1139. package/script/src/api/info/_methods/twapHistory.d.ts +131 -0
  1140. package/script/src/api/info/_methods/twapHistory.d.ts.map +1 -0
  1141. package/script/src/api/info/_methods/twapHistory.js +123 -0
  1142. package/script/src/api/info/_methods/twapHistory.js.map +1 -0
  1143. package/script/src/api/info/_methods/txDetails.d.ts +102 -0
  1144. package/script/src/api/info/_methods/txDetails.d.ts.map +1 -0
  1145. package/script/src/api/info/_methods/txDetails.js +97 -0
  1146. package/script/src/api/info/_methods/txDetails.js.map +1 -0
  1147. package/script/src/api/info/_methods/userDetails.d.ts +102 -0
  1148. package/script/src/api/info/_methods/userDetails.d.ts.map +1 -0
  1149. package/script/src/api/info/_methods/userDetails.js +97 -0
  1150. package/script/src/api/info/_methods/userDetails.js.map +1 -0
  1151. package/script/src/api/info/_methods/userDexAbstraction.d.ts +53 -0
  1152. package/script/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -0
  1153. package/script/src/api/info/_methods/userDexAbstraction.js +96 -0
  1154. package/script/src/api/info/_methods/userDexAbstraction.js.map +1 -0
  1155. package/script/src/api/info/_methods/userFees.d.ts +256 -0
  1156. package/script/src/api/info/_methods/userFees.d.ts.map +1 -0
  1157. package/script/src/api/info/_methods/userFees.js +201 -0
  1158. package/script/src/api/info/_methods/userFees.js.map +1 -0
  1159. package/script/src/api/info/_methods/userFills.d.ts +127 -0
  1160. package/script/src/api/info/_methods/userFills.d.ts.map +1 -0
  1161. package/script/src/api/info/_methods/userFills.js +114 -0
  1162. package/script/src/api/info/_methods/userFills.js.map +1 -0
  1163. package/script/src/api/info/_methods/userFillsByTime.d.ts +151 -0
  1164. package/script/src/api/info/_methods/userFillsByTime.d.ts.map +1 -0
  1165. package/script/src/api/info/_methods/userFillsByTime.js +103 -0
  1166. package/script/src/api/info/_methods/userFillsByTime.js.map +1 -0
  1167. package/script/src/api/info/_methods/userFunding.d.ts +97 -0
  1168. package/script/src/api/info/_methods/userFunding.d.ts.map +1 -0
  1169. package/script/src/api/info/_methods/userFunding.js +120 -0
  1170. package/script/src/api/info/_methods/userFunding.js.map +1 -0
  1171. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +421 -0
  1172. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
  1173. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js +304 -0
  1174. package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -0
  1175. package/script/src/api/info/_methods/userRateLimit.d.ts +67 -0
  1176. package/script/src/api/info/_methods/userRateLimit.d.ts.map +1 -0
  1177. package/script/src/api/info/_methods/userRateLimit.js +105 -0
  1178. package/script/src/api/info/_methods/userRateLimit.js.map +1 -0
  1179. package/script/src/api/info/_methods/userRole.d.ts +88 -0
  1180. package/script/src/api/info/_methods/userRole.d.ts.map +1 -0
  1181. package/script/src/api/info/_methods/userRole.js +119 -0
  1182. package/script/src/api/info/_methods/userRole.js.map +1 -0
  1183. package/script/src/api/info/_methods/userToMultiSigSigners.d.ts +57 -0
  1184. package/script/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -0
  1185. package/script/src/api/info/_methods/userToMultiSigSigners.js +97 -0
  1186. package/script/src/api/info/_methods/userToMultiSigSigners.js.map +1 -0
  1187. package/script/src/api/info/_methods/userTwapSliceFills.d.ts +125 -0
  1188. package/script/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -0
  1189. package/script/src/api/info/_methods/userTwapSliceFills.js +102 -0
  1190. package/script/src/api/info/_methods/userTwapSliceFills.js.map +1 -0
  1191. package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +148 -0
  1192. package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -0
  1193. package/script/src/api/info/_methods/userTwapSliceFillsByTime.js +100 -0
  1194. package/script/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -0
  1195. package/script/src/api/info/_methods/userVaultEquities.d.ts +64 -0
  1196. package/script/src/api/info/_methods/userVaultEquities.d.ts.map +1 -0
  1197. package/script/src/api/info/_methods/userVaultEquities.js +103 -0
  1198. package/script/src/api/info/_methods/userVaultEquities.js.map +1 -0
  1199. package/script/src/api/info/_methods/validatorL1Votes.d.ts +63 -0
  1200. package/script/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -0
  1201. package/script/src/api/info/_methods/validatorL1Votes.js +101 -0
  1202. package/script/src/api/info/_methods/validatorL1Votes.js.map +1 -0
  1203. package/script/src/api/info/_methods/validatorSummaries.d.ts +132 -0
  1204. package/script/src/api/info/_methods/validatorSummaries.d.ts.map +1 -0
  1205. package/script/src/api/info/_methods/validatorSummaries.js +123 -0
  1206. package/script/src/api/info/_methods/validatorSummaries.js.map +1 -0
  1207. package/script/src/api/info/_methods/vaultDetails.d.ts +358 -0
  1208. package/script/src/api/info/_methods/vaultDetails.d.ts.map +1 -0
  1209. package/script/src/api/info/_methods/vaultDetails.js +163 -0
  1210. package/script/src/api/info/_methods/vaultDetails.js.map +1 -0
  1211. package/script/src/api/info/_methods/vaultSummaries.d.ts +93 -0
  1212. package/script/src/api/info/_methods/vaultSummaries.d.ts.map +1 -0
  1213. package/script/src/api/info/_methods/vaultSummaries.js +101 -0
  1214. package/script/src/api/info/_methods/vaultSummaries.js.map +1 -0
  1215. package/script/src/api/info/_methods/webData2.d.ts +732 -0
  1216. package/script/src/api/info/_methods/webData2.d.ts.map +1 -0
  1217. package/script/src/api/info/_methods/webData2.js +134 -0
  1218. package/script/src/api/info/_methods/webData2.js.map +1 -0
  1219. package/script/src/api/info/client.d.ts +314 -0
  1220. package/script/src/api/info/client.d.ts.map +1 -0
  1221. package/script/src/api/info/client.js +395 -0
  1222. package/script/src/api/info/client.js.map +1 -0
  1223. package/script/src/api/info/mod.d.ts +96 -0
  1224. package/script/src/api/info/mod.d.ts.map +1 -0
  1225. package/script/src/api/info/mod.js +111 -0
  1226. package/script/src/api/info/mod.js.map +1 -0
  1227. package/script/src/api/subscription/_methods/_types.d.ts +7 -0
  1228. package/script/src/api/subscription/_methods/_types.d.ts.map +1 -0
  1229. package/script/src/api/subscription/_methods/_types.js.map +1 -0
  1230. package/script/src/api/subscription/_methods/activeAssetCtx.d.ts +101 -0
  1231. package/script/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -0
  1232. package/script/src/api/subscription/_methods/activeAssetCtx.js +97 -0
  1233. package/script/src/api/subscription/_methods/activeAssetCtx.js.map +1 -0
  1234. package/script/src/api/subscription/_methods/activeAssetData.d.ts +101 -0
  1235. package/script/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -0
  1236. package/script/src/api/subscription/_methods/activeAssetData.js +95 -0
  1237. package/script/src/api/subscription/_methods/activeAssetData.js.map +1 -0
  1238. package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +92 -0
  1239. package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -0
  1240. package/script/src/api/subscription/_methods/activeSpotAssetCtx.js +96 -0
  1241. package/script/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -0
  1242. package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +91 -0
  1243. package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -0
  1244. package/script/src/api/subscription/_methods/allDexsAssetCtxs.js +94 -0
  1245. package/script/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -0
  1246. package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +299 -0
  1247. package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -0
  1248. package/script/src/api/subscription/_methods/allDexsClearinghouseState.js +104 -0
  1249. package/script/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -0
  1250. package/script/src/api/subscription/_methods/allMids.d.ts +63 -0
  1251. package/script/src/api/subscription/_methods/allMids.d.ts.map +1 -0
  1252. package/script/src/api/subscription/_methods/allMids.js +75 -0
  1253. package/script/src/api/subscription/_methods/allMids.js.map +1 -0
  1254. package/script/src/api/subscription/_methods/assetCtxs.d.ts +99 -0
  1255. package/script/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -0
  1256. package/script/src/api/subscription/_methods/assetCtxs.js +75 -0
  1257. package/script/src/api/subscription/_methods/assetCtxs.js.map +1 -0
  1258. package/script/src/api/subscription/_methods/bbo.d.ts +98 -0
  1259. package/script/src/api/subscription/_methods/bbo.d.ts.map +1 -0
  1260. package/script/src/api/subscription/_methods/bbo.js +109 -0
  1261. package/script/src/api/subscription/_methods/bbo.js.map +1 -0
  1262. package/script/src/api/subscription/_methods/candle.d.ts +84 -0
  1263. package/script/src/api/subscription/_methods/candle.d.ts.map +1 -0
  1264. package/script/src/api/subscription/_methods/candle.js +115 -0
  1265. package/script/src/api/subscription/_methods/candle.js.map +1 -0
  1266. package/script/src/api/subscription/_methods/clearinghouseState.d.ts +303 -0
  1267. package/script/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -0
  1268. package/script/src/api/subscription/_methods/clearinghouseState.js +104 -0
  1269. package/script/src/api/subscription/_methods/clearinghouseState.js.map +1 -0
  1270. package/script/src/api/subscription/_methods/explorerBlock.d.ts +57 -0
  1271. package/script/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -0
  1272. package/script/src/api/subscription/_methods/explorerBlock.js +95 -0
  1273. package/script/src/api/subscription/_methods/explorerBlock.js.map +1 -0
  1274. package/script/src/api/subscription/_methods/explorerTxs.d.ts +74 -0
  1275. package/script/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -0
  1276. package/script/src/api/subscription/_methods/explorerTxs.js +83 -0
  1277. package/script/src/api/subscription/_methods/explorerTxs.js.map +1 -0
  1278. package/script/src/api/subscription/_methods/l2Book.d.ts +106 -0
  1279. package/script/src/api/subscription/_methods/l2Book.d.ts.map +1 -0
  1280. package/script/src/api/subscription/_methods/l2Book.js +120 -0
  1281. package/script/src/api/subscription/_methods/l2Book.js.map +1 -0
  1282. package/script/src/api/subscription/_methods/notification.d.ts +54 -0
  1283. package/script/src/api/subscription/_methods/notification.d.ts.map +1 -0
  1284. package/script/src/api/subscription/_methods/notification.js +93 -0
  1285. package/script/src/api/subscription/_methods/notification.js.map +1 -0
  1286. package/script/src/api/subscription/_methods/openOrders.d.ts +148 -0
  1287. package/script/src/api/subscription/_methods/openOrders.d.ts.map +1 -0
  1288. package/script/src/api/subscription/_methods/openOrders.js +106 -0
  1289. package/script/src/api/subscription/_methods/openOrders.js.map +1 -0
  1290. package/script/src/api/subscription/_methods/orderUpdates.d.ts +131 -0
  1291. package/script/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -0
  1292. package/script/src/api/subscription/_methods/orderUpdates.js +158 -0
  1293. package/script/src/api/subscription/_methods/orderUpdates.js.map +1 -0
  1294. package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts +70 -0
  1295. package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -0
  1296. package/script/src/api/subscription/_methods/spotAssetCtxs.js +87 -0
  1297. package/script/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -0
  1298. package/script/src/api/subscription/_methods/spotState.d.ts +122 -0
  1299. package/script/src/api/subscription/_methods/spotState.d.ts.map +1 -0
  1300. package/script/src/api/subscription/_methods/spotState.js +100 -0
  1301. package/script/src/api/subscription/_methods/spotState.js.map +1 -0
  1302. package/script/src/api/subscription/_methods/trades.d.ts +76 -0
  1303. package/script/src/api/subscription/_methods/trades.d.ts.map +1 -0
  1304. package/script/src/api/subscription/_methods/trades.js +92 -0
  1305. package/script/src/api/subscription/_methods/trades.js.map +1 -0
  1306. package/script/src/api/subscription/_methods/twapStates.d.ts +102 -0
  1307. package/script/src/api/subscription/_methods/twapStates.d.ts.map +1 -0
  1308. package/script/src/api/subscription/_methods/twapStates.js +101 -0
  1309. package/script/src/api/subscription/_methods/twapStates.js.map +1 -0
  1310. package/script/src/api/subscription/_methods/userEvents.d.ts +467 -0
  1311. package/script/src/api/subscription/_methods/userEvents.d.ts.map +1 -0
  1312. package/script/src/api/subscription/_methods/userEvents.js +153 -0
  1313. package/script/src/api/subscription/_methods/userEvents.js.map +1 -0
  1314. package/script/src/api/subscription/_methods/userFills.d.ts +175 -0
  1315. package/script/src/api/subscription/_methods/userFills.d.ts.map +1 -0
  1316. package/script/src/api/subscription/_methods/userFills.js +106 -0
  1317. package/script/src/api/subscription/_methods/userFills.js.map +1 -0
  1318. package/script/src/api/subscription/_methods/userFundings.d.ts +87 -0
  1319. package/script/src/api/subscription/_methods/userFundings.d.ts.map +1 -0
  1320. package/script/src/api/subscription/_methods/userFundings.js +112 -0
  1321. package/script/src/api/subscription/_methods/userFundings.js.map +1 -0
  1322. package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts +178 -0
  1323. package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -0
  1324. package/script/src/api/subscription/_methods/userHistoricalOrders.js +100 -0
  1325. package/script/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -0
  1326. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +534 -0
  1327. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
  1328. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +100 -0
  1329. package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -0
  1330. package/script/src/api/subscription/_methods/userTwapHistory.d.ts +171 -0
  1331. package/script/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -0
  1332. package/script/src/api/subscription/_methods/userTwapHistory.js +100 -0
  1333. package/script/src/api/subscription/_methods/userTwapHistory.js.map +1 -0
  1334. package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts +168 -0
  1335. package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -0
  1336. package/script/src/api/subscription/_methods/userTwapSliceFills.js +100 -0
  1337. package/script/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -0
  1338. package/script/src/api/subscription/_methods/webData2.d.ts +860 -0
  1339. package/script/src/api/subscription/_methods/webData2.d.ts.map +1 -0
  1340. package/script/src/api/subscription/_methods/webData2.js +93 -0
  1341. package/script/src/api/subscription/_methods/webData2.js.map +1 -0
  1342. package/script/src/api/subscription/_methods/webData3.d.ts +126 -0
  1343. package/script/src/api/subscription/_methods/webData3.d.ts.map +1 -0
  1344. package/script/src/api/subscription/_methods/webData3.js +125 -0
  1345. package/script/src/api/subscription/_methods/webData3.js.map +1 -0
  1346. package/script/src/api/subscription/client.d.ts +145 -0
  1347. package/script/src/api/subscription/client.d.ts.map +1 -0
  1348. package/script/src/api/subscription/client.js +183 -0
  1349. package/script/src/api/subscription/client.js.map +1 -0
  1350. package/script/src/api/subscription/mod.d.ts +55 -0
  1351. package/script/src/api/subscription/mod.d.ts.map +1 -0
  1352. package/script/src/api/subscription/mod.js +70 -0
  1353. package/script/src/api/subscription/mod.js.map +1 -0
  1354. package/script/src/mod.d.ts +34 -8
  1355. package/script/src/mod.d.ts.map +1 -1
  1356. package/script/src/mod.js +34 -11
  1357. package/script/src/mod.js.map +1 -1
  1358. package/script/src/signing/_abstractWallet.d.ts +119 -0
  1359. package/script/src/signing/_abstractWallet.d.ts.map +1 -0
  1360. package/script/src/signing/_abstractWallet.js +195 -0
  1361. package/script/src/signing/_abstractWallet.js.map +1 -0
  1362. package/script/src/signing/_privateKeySigner.d.ts +37 -0
  1363. package/script/src/signing/_privateKeySigner.d.ts.map +1 -0
  1364. package/script/src/signing/_privateKeySigner.js +37 -0
  1365. package/script/src/signing/_privateKeySigner.js.map +1 -0
  1366. package/script/src/signing/mod.d.ts +33 -80
  1367. package/script/src/signing/mod.d.ts.map +1 -1
  1368. package/script/src/signing/mod.js +75 -116
  1369. package/script/src/signing/mod.js.map +1 -1
  1370. package/script/src/transport/_base.d.ts +51 -0
  1371. package/script/src/transport/_base.d.ts.map +1 -0
  1372. package/script/src/transport/_base.js +13 -0
  1373. package/script/src/transport/_base.js.map +1 -0
  1374. package/script/src/transport/_polyfills.d.ts +30 -3
  1375. package/script/src/transport/_polyfills.d.ts.map +1 -1
  1376. package/script/src/transport/_polyfills.js +12 -6
  1377. package/script/src/transport/_polyfills.js.map +1 -1
  1378. package/script/src/transport/http/mod.d.ts +68 -51
  1379. package/script/src/transport/http/mod.d.ts.map +1 -1
  1380. package/script/src/transport/http/mod.js +90 -76
  1381. package/script/src/transport/http/mod.js.map +1 -1
  1382. package/script/src/transport/mod.d.ts +19 -0
  1383. package/script/src/transport/mod.d.ts.map +1 -0
  1384. package/script/src/transport/mod.js +35 -0
  1385. package/script/src/transport/mod.js.map +1 -0
  1386. package/script/src/transport/websocket/_hyperliquidEventTarget.d.ts +67 -0
  1387. package/script/src/transport/websocket/_hyperliquidEventTarget.d.ts.map +1 -0
  1388. package/script/src/transport/websocket/_hyperliquidEventTarget.js +96 -0
  1389. package/script/src/transport/websocket/_hyperliquidEventTarget.js.map +1 -0
  1390. package/script/src/transport/websocket/_postRequest.d.ts +42 -0
  1391. package/script/src/transport/websocket/_postRequest.d.ts.map +1 -0
  1392. package/script/src/transport/websocket/_postRequest.js +236 -0
  1393. package/script/src/transport/websocket/_postRequest.js.map +1 -0
  1394. package/script/src/transport/websocket/_subscriptionManager.d.ts +51 -0
  1395. package/script/src/transport/websocket/_subscriptionManager.d.ts.map +1 -0
  1396. package/script/src/transport/websocket/_subscriptionManager.js +154 -0
  1397. package/script/src/transport/websocket/_subscriptionManager.js.map +1 -0
  1398. package/script/src/transport/websocket/mod.d.ts +75 -56
  1399. package/script/src/transport/websocket/mod.d.ts.map +1 -1
  1400. package/script/src/transport/websocket/mod.js +126 -177
  1401. package/script/src/transport/websocket/mod.js.map +1 -1
  1402. package/script/src/utils/_format.d.ts +15 -6
  1403. package/script/src/utils/_format.d.ts.map +1 -1
  1404. package/script/src/utils/_format.js +30 -13
  1405. package/script/src/utils/_format.js.map +1 -1
  1406. package/script/src/utils/_symbolConverter.d.ts +21 -15
  1407. package/script/src/utils/_symbolConverter.d.ts.map +1 -1
  1408. package/script/src/utils/_symbolConverter.js +61 -47
  1409. package/script/src/utils/_symbolConverter.js.map +1 -1
  1410. package/script/src/utils/mod.d.ts +24 -1
  1411. package/script/src/utils/mod.d.ts.map +1 -1
  1412. package/script/src/utils/mod.js +24 -1
  1413. package/script/src/utils/mod.js.map +1 -1
  1414. package/src/bin/_utils.ts +283 -120
  1415. package/src/bin/cli.ts +84 -68
  1416. package/src/src/api/_schemas.ts +110 -0
  1417. package/src/src/api/exchange/_methods/_base/_nonce.ts +28 -0
  1418. package/src/src/api/exchange/_methods/_base/_semaphore.ts +99 -0
  1419. package/src/src/api/exchange/_methods/_base/commonSchemas.ts +84 -0
  1420. package/src/src/api/exchange/_methods/_base/errors.ts +108 -0
  1421. package/src/src/api/exchange/_methods/_base/execute.ts +350 -0
  1422. package/src/src/api/exchange/_methods/agentEnableDexAbstraction.ts +108 -0
  1423. package/src/src/api/exchange/_methods/approveAgent.ts +163 -0
  1424. package/src/src/api/exchange/_methods/approveBuilderFee.ts +156 -0
  1425. package/src/src/api/exchange/_methods/batchModify.ts +250 -0
  1426. package/src/src/api/exchange/_methods/cDeposit.ts +151 -0
  1427. package/src/src/api/exchange/_methods/cSignerAction.ts +145 -0
  1428. package/src/src/api/exchange/_methods/cValidatorAction.ts +252 -0
  1429. package/src/src/api/exchange/_methods/cWithdraw.ts +151 -0
  1430. package/src/src/api/exchange/_methods/cancel.ts +187 -0
  1431. package/src/src/api/exchange/_methods/cancelByCloid.ts +149 -0
  1432. package/src/src/api/exchange/_methods/claimRewards.ts +96 -0
  1433. package/src/src/api/exchange/_methods/convertToMultiSigUser.ts +212 -0
  1434. package/src/src/api/exchange/_methods/createSubAccount.ts +145 -0
  1435. package/src/src/api/exchange/_methods/createVault.ts +168 -0
  1436. package/src/src/api/exchange/_methods/evmUserModify.ts +126 -0
  1437. package/src/src/api/exchange/_methods/linkStakingUser.ts +172 -0
  1438. package/src/src/api/exchange/_methods/modify.ts +236 -0
  1439. package/src/src/api/exchange/_methods/noop.ts +106 -0
  1440. package/src/src/api/exchange/_methods/order.ts +351 -0
  1441. package/src/src/api/exchange/_methods/perpDeploy.ts +539 -0
  1442. package/src/src/api/exchange/_methods/registerReferrer.ts +120 -0
  1443. package/src/src/api/exchange/_methods/reserveRequestWeight.ts +127 -0
  1444. package/src/src/api/exchange/_methods/scheduleCancel.ts +153 -0
  1445. package/src/src/api/exchange/_methods/sendAsset.ts +189 -0
  1446. package/src/src/api/exchange/_methods/setDisplayName.ts +125 -0
  1447. package/src/src/api/exchange/_methods/setReferrer.ts +120 -0
  1448. package/src/src/api/exchange/_methods/spotDeploy.ts +369 -0
  1449. package/src/src/api/exchange/_methods/spotSend.ts +166 -0
  1450. package/src/src/api/exchange/_methods/spotUser.ts +124 -0
  1451. package/src/src/api/exchange/_methods/subAccountModify.ts +125 -0
  1452. package/src/src/api/exchange/_methods/subAccountSpotTransfer.ts +138 -0
  1453. package/src/src/api/exchange/_methods/subAccountTransfer.ts +129 -0
  1454. package/src/src/api/exchange/_methods/tokenDelegate.ts +163 -0
  1455. package/src/src/api/exchange/_methods/twapCancel.ts +173 -0
  1456. package/src/src/api/exchange/_methods/twapOrder.ts +222 -0
  1457. package/src/src/api/exchange/_methods/updateIsolatedMargin.ts +141 -0
  1458. package/src/src/api/exchange/_methods/updateLeverage.ts +142 -0
  1459. package/src/src/api/exchange/_methods/usdClassTransfer.ts +156 -0
  1460. package/src/src/api/exchange/_methods/usdSend.ts +156 -0
  1461. package/src/src/api/exchange/_methods/userDexAbstraction.ts +158 -0
  1462. package/src/src/api/exchange/_methods/validatorL1Stream.ts +126 -0
  1463. package/src/src/api/exchange/_methods/vaultDistribute.ts +129 -0
  1464. package/src/src/api/exchange/_methods/vaultModify.ts +132 -0
  1465. package/src/src/api/exchange/_methods/vaultTransfer.ts +137 -0
  1466. package/src/src/api/exchange/_methods/withdraw3.ts +156 -0
  1467. package/src/src/api/exchange/client.ts +830 -0
  1468. package/src/src/api/exchange/mod.ts +87 -0
  1469. package/src/src/api/info/_methods/_base/commonSchemas.ts +630 -0
  1470. package/src/src/api/info/_methods/_base/types.ts +7 -0
  1471. package/src/src/api/info/_methods/activeAssetData.ts +158 -0
  1472. package/src/src/api/info/_methods/alignedQuoteTokenInfo.ts +117 -0
  1473. package/src/src/api/info/_methods/allBorrowLendReserveStates.ts +131 -0
  1474. package/src/src/api/info/_methods/allMids.ts +99 -0
  1475. package/src/src/api/info/_methods/allPerpMetas.ts +72 -0
  1476. package/src/src/api/info/_methods/blockDetails.ts +129 -0
  1477. package/src/src/api/info/_methods/borrowLendUserState.ts +151 -0
  1478. package/src/src/api/info/_methods/candleSnapshot.ts +164 -0
  1479. package/src/src/api/info/_methods/clearinghouseState.ts +286 -0
  1480. package/src/src/api/info/_methods/delegations.ts +108 -0
  1481. package/src/src/api/info/_methods/delegatorHistory.ts +164 -0
  1482. package/src/src/api/info/_methods/delegatorRewards.ts +108 -0
  1483. package/src/src/api/info/_methods/delegatorSummary.ts +111 -0
  1484. package/src/src/api/info/_methods/exchangeStatus.ts +83 -0
  1485. package/src/src/api/info/_methods/extraAgents.ts +105 -0
  1486. package/src/src/api/info/_methods/frontendOpenOrders.ts +96 -0
  1487. package/src/src/api/info/_methods/fundingHistory.ts +123 -0
  1488. package/src/src/api/info/_methods/gossipRootIps.ts +70 -0
  1489. package/src/src/api/info/_methods/historicalOrders.ts +171 -0
  1490. package/src/src/api/info/_methods/isVip.ts +86 -0
  1491. package/src/src/api/info/_methods/l2Book.ts +141 -0
  1492. package/src/src/api/info/_methods/l3Orders.ts +196 -0
  1493. package/src/src/api/info/_methods/l4Orders.ts +233 -0
  1494. package/src/src/api/info/_methods/leadingVaults.ts +99 -0
  1495. package/src/src/api/info/_methods/legalCheck.ts +102 -0
  1496. package/src/src/api/info/_methods/liquidatable.ts +70 -0
  1497. package/src/src/api/info/_methods/marginTable.ts +113 -0
  1498. package/src/src/api/info/_methods/maxBuilderFee.ts +97 -0
  1499. package/src/src/api/info/_methods/maxMarketOrderNtls.ts +74 -0
  1500. package/src/src/api/info/_methods/meta.ts +170 -0
  1501. package/src/src/api/info/_methods/metaAndAssetCtxs.ts +102 -0
  1502. package/src/src/api/info/_methods/openOrders.ts +96 -0
  1503. package/src/src/api/info/_methods/orderStatus.ts +200 -0
  1504. package/src/src/api/info/_methods/perpDeployAuctionStatus.ts +102 -0
  1505. package/src/src/api/info/_methods/perpDexLimits.ts +113 -0
  1506. package/src/src/api/info/_methods/perpDexStatus.ts +93 -0
  1507. package/src/src/api/info/_methods/perpDexs.ts +140 -0
  1508. package/src/src/api/info/_methods/perpsAtOpenInterestCap.ts +97 -0
  1509. package/src/src/api/info/_methods/portfolio.ts +124 -0
  1510. package/src/src/api/info/_methods/preTransferCheck.ts +112 -0
  1511. package/src/src/api/info/_methods/predictedFundings.ts +108 -0
  1512. package/src/src/api/info/_methods/recentTrades.ts +130 -0
  1513. package/src/src/api/info/_methods/referral.ts +309 -0
  1514. package/src/src/api/info/_methods/spotClearinghouseState.ts +154 -0
  1515. package/src/src/api/info/_methods/spotDeployState.ts +176 -0
  1516. package/src/src/api/info/_methods/spotMeta.ts +171 -0
  1517. package/src/src/api/info/_methods/spotMetaAndAssetCtxs.ts +80 -0
  1518. package/src/src/api/info/_methods/spotPairDeployAuctionStatus.ts +76 -0
  1519. package/src/src/api/info/_methods/subAccounts.ts +123 -0
  1520. package/src/src/api/info/_methods/subAccounts2.ts +121 -0
  1521. package/src/src/api/info/_methods/tokenDetails.ts +190 -0
  1522. package/src/src/api/info/_methods/twapHistory.ts +142 -0
  1523. package/src/src/api/info/_methods/txDetails.ts +98 -0
  1524. package/src/src/api/info/_methods/userDetails.ts +97 -0
  1525. package/src/src/api/info/_methods/userDexAbstraction.ts +90 -0
  1526. package/src/src/api/info/_methods/userFees.ts +326 -0
  1527. package/src/src/api/info/_methods/userFills.ts +130 -0
  1528. package/src/src/api/info/_methods/userFillsByTime.ts +106 -0
  1529. package/src/src/api/info/_methods/userFunding.ts +150 -0
  1530. package/src/src/api/info/_methods/userNonFundingLedgerUpdates.ts +546 -0
  1531. package/src/src/api/info/_methods/userRateLimit.ts +111 -0
  1532. package/src/src/api/info/_methods/userRole.ts +134 -0
  1533. package/src/src/api/info/_methods/userToMultiSigSigners.ts +101 -0
  1534. package/src/src/api/info/_methods/userTwapSliceFills.ts +104 -0
  1535. package/src/src/api/info/_methods/userTwapSliceFillsByTime.ts +103 -0
  1536. package/src/src/api/info/_methods/userVaultEquities.ts +108 -0
  1537. package/src/src/api/info/_methods/validatorL1Votes.ts +99 -0
  1538. package/src/src/api/info/_methods/validatorSummaries.ts +159 -0
  1539. package/src/src/api/info/_methods/vaultDetails.ts +254 -0
  1540. package/src/src/api/info/_methods/vaultSummaries.ts +111 -0
  1541. package/src/src/api/info/_methods/webData2.ts +179 -0
  1542. package/src/src/api/info/client.ts +898 -0
  1543. package/src/src/api/info/mod.ts +97 -0
  1544. package/src/src/api/subscription/_methods/_types.ts +7 -0
  1545. package/src/src/api/subscription/_methods/activeAssetCtx.ts +98 -0
  1546. package/src/src/api/subscription/_methods/activeAssetData.ts +93 -0
  1547. package/src/src/api/subscription/_methods/activeSpotAssetCtx.ts +97 -0
  1548. package/src/src/api/subscription/_methods/allDexsAssetCtxs.ts +87 -0
  1549. package/src/src/api/subscription/_methods/allDexsClearinghouseState.ts +107 -0
  1550. package/src/src/api/subscription/_methods/allMids.ts +113 -0
  1551. package/src/src/api/subscription/_methods/assetCtxs.ts +111 -0
  1552. package/src/src/api/subscription/_methods/bbo.ts +126 -0
  1553. package/src/src/api/subscription/_methods/candle.ts +143 -0
  1554. package/src/src/api/subscription/_methods/clearinghouseState.ts +111 -0
  1555. package/src/src/api/subscription/_methods/explorerBlock.ts +101 -0
  1556. package/src/src/api/subscription/_methods/explorerTxs.ts +71 -0
  1557. package/src/src/api/subscription/_methods/l2Book.ts +151 -0
  1558. package/src/src/api/subscription/_methods/notification.ts +91 -0
  1559. package/src/src/api/subscription/_methods/openOrders.ts +113 -0
  1560. package/src/src/api/subscription/_methods/orderUpdates.ts +166 -0
  1561. package/src/src/api/subscription/_methods/spotAssetCtxs.ts +75 -0
  1562. package/src/src/api/subscription/_methods/spotState.ts +104 -0
  1563. package/src/src/api/subscription/_methods/trades.ts +87 -0
  1564. package/src/src/api/subscription/_methods/twapStates.ts +105 -0
  1565. package/src/src/api/subscription/_methods/userEvents.ts +203 -0
  1566. package/src/src/api/subscription/_methods/userFills.ts +113 -0
  1567. package/src/src/api/subscription/_methods/userFundings.ts +136 -0
  1568. package/src/src/api/subscription/_methods/userHistoricalOrders.ts +104 -0
  1569. package/src/src/api/subscription/_methods/userNonFundingLedgerUpdates.ts +107 -0
  1570. package/src/src/api/subscription/_methods/userTwapHistory.ts +104 -0
  1571. package/src/src/api/subscription/_methods/userTwapSliceFills.ts +104 -0
  1572. package/src/src/api/subscription/_methods/webData2.ts +88 -0
  1573. package/src/src/api/subscription/_methods/webData3.ts +164 -0
  1574. package/src/src/api/subscription/client.ts +441 -0
  1575. package/src/src/api/subscription/mod.ts +56 -0
  1576. package/src/src/mod.ts +34 -9
  1577. package/src/src/signing/_abstractWallet.ts +315 -0
  1578. package/src/src/signing/_privateKeySigner.ts +56 -0
  1579. package/src/src/signing/mod.ts +78 -130
  1580. package/src/src/transport/_base.ts +57 -0
  1581. package/src/src/transport/_polyfills.ts +14 -7
  1582. package/src/src/transport/http/mod.ts +94 -107
  1583. package/src/src/transport/mod.ts +19 -0
  1584. package/src/src/transport/websocket/_hyperliquidEventTarget.ts +131 -0
  1585. package/src/src/transport/websocket/_postRequest.ts +292 -0
  1586. package/src/src/transport/websocket/_subscriptionManager.ts +195 -0
  1587. package/src/src/transport/websocket/mod.ts +152 -223
  1588. package/src/src/utils/_format.ts +32 -13
  1589. package/src/src/utils/_symbolConverter.ts +72 -52
  1590. package/src/src/utils/mod.ts +25 -1
  1591. package/esm/src/api/_base.d.ts +0 -53
  1592. package/esm/src/api/_base.d.ts.map +0 -1
  1593. package/esm/src/api/_base.js +0 -67
  1594. package/esm/src/api/_base.js.map +0 -1
  1595. package/esm/src/api/_common_schemas.d.ts +0 -425
  1596. package/esm/src/api/_common_schemas.d.ts.map +0 -1
  1597. package/esm/src/api/_common_schemas.js +0 -435
  1598. package/esm/src/api/_common_schemas.js.map +0 -1
  1599. package/esm/src/api/exchange/_base/_errors.d.ts +0 -16
  1600. package/esm/src/api/exchange/_base/_errors.d.ts.map +0 -1
  1601. package/esm/src/api/exchange/_base/_errors.js +0 -51
  1602. package/esm/src/api/exchange/_base/_errors.js.map +0 -1
  1603. package/esm/src/api/exchange/_base/_execute.d.ts +0 -43
  1604. package/esm/src/api/exchange/_base/_execute.d.ts.map +0 -1
  1605. package/esm/src/api/exchange/_base/_execute.js +0 -181
  1606. package/esm/src/api/exchange/_base/_execute.js.map +0 -1
  1607. package/esm/src/api/exchange/_base/_nonce.d.ts +0 -5
  1608. package/esm/src/api/exchange/_base/_nonce.d.ts.map +0 -1
  1609. package/esm/src/api/exchange/_base/_nonce.js +0 -28
  1610. package/esm/src/api/exchange/_base/_nonce.js.map +0 -1
  1611. package/esm/src/api/exchange/_base/_schemas.d.ts +0 -45
  1612. package/esm/src/api/exchange/_base/_schemas.d.ts.map +0 -1
  1613. package/esm/src/api/exchange/_base/_schemas.js +0 -35
  1614. package/esm/src/api/exchange/_base/_schemas.js.map +0 -1
  1615. package/esm/src/api/exchange/_base/_types.d.ts +0 -105
  1616. package/esm/src/api/exchange/_base/_types.d.ts.map +0 -1
  1617. package/esm/src/api/exchange/_base/_types.js.map +0 -1
  1618. package/esm/src/api/exchange/_base/mod.d.ts +0 -5
  1619. package/esm/src/api/exchange/_base/mod.d.ts.map +0 -1
  1620. package/esm/src/api/exchange/_base/mod.js +0 -5
  1621. package/esm/src/api/exchange/_base/mod.js.map +0 -1
  1622. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -106
  1623. package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
  1624. package/esm/src/api/exchange/agentEnableDexAbstraction.js +0 -78
  1625. package/esm/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
  1626. package/esm/src/api/exchange/approveAgent.d.ts +0 -136
  1627. package/esm/src/api/exchange/approveAgent.d.ts.map +0 -1
  1628. package/esm/src/api/exchange/approveAgent.js +0 -99
  1629. package/esm/src/api/exchange/approveAgent.js.map +0 -1
  1630. package/esm/src/api/exchange/approveBuilderFee.d.ts +0 -136
  1631. package/esm/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
  1632. package/esm/src/api/exchange/approveBuilderFee.js +0 -99
  1633. package/esm/src/api/exchange/approveBuilderFee.js.map +0 -1
  1634. package/esm/src/api/exchange/batchModify.d.ts +0 -329
  1635. package/esm/src/api/exchange/batchModify.d.ts.map +0 -1
  1636. package/esm/src/api/exchange/batchModify.js +0 -109
  1637. package/esm/src/api/exchange/batchModify.js.map +0 -1
  1638. package/esm/src/api/exchange/cDeposit.d.ts +0 -132
  1639. package/esm/src/api/exchange/cDeposit.d.ts.map +0 -1
  1640. package/esm/src/api/exchange/cDeposit.js +0 -96
  1641. package/esm/src/api/exchange/cDeposit.js.map +0 -1
  1642. package/esm/src/api/exchange/cSignerAction.d.ts +0 -127
  1643. package/esm/src/api/exchange/cSignerAction.d.ts.map +0 -1
  1644. package/esm/src/api/exchange/cSignerAction.js +0 -92
  1645. package/esm/src/api/exchange/cSignerAction.js.map +0 -1
  1646. package/esm/src/api/exchange/cValidatorAction.d.ts +0 -290
  1647. package/esm/src/api/exchange/cValidatorAction.d.ts.map +0 -1
  1648. package/esm/src/api/exchange/cValidatorAction.js +0 -168
  1649. package/esm/src/api/exchange/cValidatorAction.js.map +0 -1
  1650. package/esm/src/api/exchange/cWithdraw.d.ts +0 -132
  1651. package/esm/src/api/exchange/cWithdraw.d.ts.map +0 -1
  1652. package/esm/src/api/exchange/cWithdraw.js +0 -96
  1653. package/esm/src/api/exchange/cWithdraw.js.map +0 -1
  1654. package/esm/src/api/exchange/cancel.d.ts +0 -150
  1655. package/esm/src/api/exchange/cancel.d.ts.map +0 -1
  1656. package/esm/src/api/exchange/cancel.js +0 -115
  1657. package/esm/src/api/exchange/cancel.js.map +0 -1
  1658. package/esm/src/api/exchange/cancelByCloid.d.ts +0 -145
  1659. package/esm/src/api/exchange/cancelByCloid.d.ts.map +0 -1
  1660. package/esm/src/api/exchange/cancelByCloid.js +0 -95
  1661. package/esm/src/api/exchange/cancelByCloid.js.map +0 -1
  1662. package/esm/src/api/exchange/claimRewards.d.ts +0 -97
  1663. package/esm/src/api/exchange/claimRewards.d.ts.map +0 -1
  1664. package/esm/src/api/exchange/claimRewards.js +0 -69
  1665. package/esm/src/api/exchange/claimRewards.js.map +0 -1
  1666. package/esm/src/api/exchange/convertToMultiSigUser.d.ts +0 -170
  1667. package/esm/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
  1668. package/esm/src/api/exchange/convertToMultiSigUser.js +0 -129
  1669. package/esm/src/api/exchange/convertToMultiSigUser.js.map +0 -1
  1670. package/esm/src/api/exchange/createSubAccount.d.ts +0 -117
  1671. package/esm/src/api/exchange/createSubAccount.d.ts.map +0 -1
  1672. package/esm/src/api/exchange/createSubAccount.js +0 -90
  1673. package/esm/src/api/exchange/createSubAccount.js.map +0 -1
  1674. package/esm/src/api/exchange/createVault.d.ts +0 -133
  1675. package/esm/src/api/exchange/createVault.d.ts.map +0 -1
  1676. package/esm/src/api/exchange/createVault.js +0 -102
  1677. package/esm/src/api/exchange/createVault.js.map +0 -1
  1678. package/esm/src/api/exchange/evmUserModify.d.ts +0 -116
  1679. package/esm/src/api/exchange/evmUserModify.d.ts.map +0 -1
  1680. package/esm/src/api/exchange/evmUserModify.js +0 -84
  1681. package/esm/src/api/exchange/evmUserModify.js.map +0 -1
  1682. package/esm/src/api/exchange/linkStakingUser.d.ts +0 -144
  1683. package/esm/src/api/exchange/linkStakingUser.d.ts.map +0 -1
  1684. package/esm/src/api/exchange/linkStakingUser.js +0 -111
  1685. package/esm/src/api/exchange/linkStakingUser.js.map +0 -1
  1686. package/esm/src/api/exchange/modify.d.ts +0 -222
  1687. package/esm/src/api/exchange/modify.d.ts.map +0 -1
  1688. package/esm/src/api/exchange/modify.js +0 -104
  1689. package/esm/src/api/exchange/modify.js.map +0 -1
  1690. package/esm/src/api/exchange/multiSig.d.ts +0 -4314
  1691. package/esm/src/api/exchange/multiSig.d.ts.map +0 -1
  1692. package/esm/src/api/exchange/multiSig.js +0 -272
  1693. package/esm/src/api/exchange/multiSig.js.map +0 -1
  1694. package/esm/src/api/exchange/noop.d.ts +0 -106
  1695. package/esm/src/api/exchange/noop.d.ts.map +0 -1
  1696. package/esm/src/api/exchange/noop.js +0 -78
  1697. package/esm/src/api/exchange/noop.js.map +0 -1
  1698. package/esm/src/api/exchange/order.d.ts +0 -354
  1699. package/esm/src/api/exchange/order.d.ts.map +0 -1
  1700. package/esm/src/api/exchange/order.js +0 -162
  1701. package/esm/src/api/exchange/order.js.map +0 -1
  1702. package/esm/src/api/exchange/perpDeploy.d.ts +0 -400
  1703. package/esm/src/api/exchange/perpDeploy.d.ts.map +0 -1
  1704. package/esm/src/api/exchange/perpDeploy.js +0 -208
  1705. package/esm/src/api/exchange/perpDeploy.js.map +0 -1
  1706. package/esm/src/api/exchange/registerReferrer.d.ts +0 -109
  1707. package/esm/src/api/exchange/registerReferrer.d.ts.map +0 -1
  1708. package/esm/src/api/exchange/registerReferrer.js +0 -77
  1709. package/esm/src/api/exchange/registerReferrer.js.map +0 -1
  1710. package/esm/src/api/exchange/reserveRequestWeight.d.ts +0 -116
  1711. package/esm/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
  1712. package/esm/src/api/exchange/reserveRequestWeight.js +0 -84
  1713. package/esm/src/api/exchange/reserveRequestWeight.js.map +0 -1
  1714. package/esm/src/api/exchange/scheduleCancel.d.ts +0 -125
  1715. package/esm/src/api/exchange/scheduleCancel.d.ts.map +0 -1
  1716. package/esm/src/api/exchange/scheduleCancel.js +0 -71
  1717. package/esm/src/api/exchange/scheduleCancel.js.map +0 -1
  1718. package/esm/src/api/exchange/sendAsset.d.ts +0 -158
  1719. package/esm/src/api/exchange/sendAsset.d.ts.map +0 -1
  1720. package/esm/src/api/exchange/sendAsset.js +0 -117
  1721. package/esm/src/api/exchange/sendAsset.js.map +0 -1
  1722. package/esm/src/api/exchange/setDisplayName.d.ts +0 -113
  1723. package/esm/src/api/exchange/setDisplayName.d.ts.map +0 -1
  1724. package/esm/src/api/exchange/setDisplayName.js +0 -82
  1725. package/esm/src/api/exchange/setDisplayName.js.map +0 -1
  1726. package/esm/src/api/exchange/setReferrer.d.ts +0 -109
  1727. package/esm/src/api/exchange/setReferrer.d.ts.map +0 -1
  1728. package/esm/src/api/exchange/setReferrer.js +0 -77
  1729. package/esm/src/api/exchange/setReferrer.js.map +0 -1
  1730. package/esm/src/api/exchange/spotDeploy.d.ts +0 -389
  1731. package/esm/src/api/exchange/spotDeploy.d.ts.map +0 -1
  1732. package/esm/src/api/exchange/spotDeploy.js +0 -196
  1733. package/esm/src/api/exchange/spotDeploy.js.map +0 -1
  1734. package/esm/src/api/exchange/spotSend.d.ts +0 -144
  1735. package/esm/src/api/exchange/spotSend.d.ts.map +0 -1
  1736. package/esm/src/api/exchange/spotSend.js +0 -106
  1737. package/esm/src/api/exchange/spotSend.js.map +0 -1
  1738. package/esm/src/api/exchange/spotUser.d.ts +0 -118
  1739. package/esm/src/api/exchange/spotUser.d.ts.map +0 -1
  1740. package/esm/src/api/exchange/spotUser.js +0 -80
  1741. package/esm/src/api/exchange/spotUser.js.map +0 -1
  1742. package/esm/src/api/exchange/subAccountModify.d.ts +0 -113
  1743. package/esm/src/api/exchange/subAccountModify.d.ts.map +0 -1
  1744. package/esm/src/api/exchange/subAccountModify.js +0 -79
  1745. package/esm/src/api/exchange/subAccountModify.js.map +0 -1
  1746. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts +0 -126
  1747. package/esm/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
  1748. package/esm/src/api/exchange/subAccountSpotTransfer.js +0 -88
  1749. package/esm/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
  1750. package/esm/src/api/exchange/subAccountTransfer.d.ts +0 -117
  1751. package/esm/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
  1752. package/esm/src/api/exchange/subAccountTransfer.js +0 -81
  1753. package/esm/src/api/exchange/subAccountTransfer.js.map +0 -1
  1754. package/esm/src/api/exchange/tokenDelegate.d.ts +0 -140
  1755. package/esm/src/api/exchange/tokenDelegate.d.ts.map +0 -1
  1756. package/esm/src/api/exchange/tokenDelegate.js +0 -102
  1757. package/esm/src/api/exchange/tokenDelegate.js.map +0 -1
  1758. package/esm/src/api/exchange/twapCancel.d.ts +0 -136
  1759. package/esm/src/api/exchange/twapCancel.d.ts.map +0 -1
  1760. package/esm/src/api/exchange/twapCancel.js +0 -108
  1761. package/esm/src/api/exchange/twapCancel.js.map +0 -1
  1762. package/esm/src/api/exchange/twapOrder.d.ts +0 -199
  1763. package/esm/src/api/exchange/twapOrder.d.ts.map +0 -1
  1764. package/esm/src/api/exchange/twapOrder.js +0 -134
  1765. package/esm/src/api/exchange/twapOrder.js.map +0 -1
  1766. package/esm/src/api/exchange/updateIsolatedMargin.d.ts +0 -127
  1767. package/esm/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
  1768. package/esm/src/api/exchange/updateIsolatedMargin.js +0 -91
  1769. package/esm/src/api/exchange/updateIsolatedMargin.js.map +0 -1
  1770. package/esm/src/api/exchange/updateLeverage.d.ts +0 -127
  1771. package/esm/src/api/exchange/updateLeverage.d.ts.map +0 -1
  1772. package/esm/src/api/exchange/updateLeverage.js +0 -91
  1773. package/esm/src/api/exchange/updateLeverage.js.map +0 -1
  1774. package/esm/src/api/exchange/usdClassTransfer.d.ts +0 -136
  1775. package/esm/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
  1776. package/esm/src/api/exchange/usdClassTransfer.js +0 -99
  1777. package/esm/src/api/exchange/usdClassTransfer.js.map +0 -1
  1778. package/esm/src/api/exchange/usdSend.d.ts +0 -136
  1779. package/esm/src/api/exchange/usdSend.d.ts.map +0 -1
  1780. package/esm/src/api/exchange/usdSend.js +0 -99
  1781. package/esm/src/api/exchange/usdSend.js.map +0 -1
  1782. package/esm/src/api/exchange/userDexAbstraction.d.ts +0 -136
  1783. package/esm/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
  1784. package/esm/src/api/exchange/userDexAbstraction.js +0 -99
  1785. package/esm/src/api/exchange/userDexAbstraction.js.map +0 -1
  1786. package/esm/src/api/exchange/validatorL1Stream.d.ts +0 -116
  1787. package/esm/src/api/exchange/validatorL1Stream.d.ts.map +0 -1
  1788. package/esm/src/api/exchange/validatorL1Stream.js +0 -84
  1789. package/esm/src/api/exchange/validatorL1Stream.js.map +0 -1
  1790. package/esm/src/api/exchange/vaultDistribute.d.ts +0 -117
  1791. package/esm/src/api/exchange/vaultDistribute.d.ts.map +0 -1
  1792. package/esm/src/api/exchange/vaultDistribute.js +0 -84
  1793. package/esm/src/api/exchange/vaultDistribute.js.map +0 -1
  1794. package/esm/src/api/exchange/vaultModify.d.ts +0 -121
  1795. package/esm/src/api/exchange/vaultModify.d.ts.map +0 -1
  1796. package/esm/src/api/exchange/vaultModify.js +0 -85
  1797. package/esm/src/api/exchange/vaultModify.js.map +0 -1
  1798. package/esm/src/api/exchange/vaultTransfer.d.ts +0 -124
  1799. package/esm/src/api/exchange/vaultTransfer.d.ts.map +0 -1
  1800. package/esm/src/api/exchange/vaultTransfer.js +0 -88
  1801. package/esm/src/api/exchange/vaultTransfer.js.map +0 -1
  1802. package/esm/src/api/exchange/withdraw3.d.ts +0 -136
  1803. package/esm/src/api/exchange/withdraw3.d.ts.map +0 -1
  1804. package/esm/src/api/exchange/withdraw3.js +0 -99
  1805. package/esm/src/api/exchange/withdraw3.js.map +0 -1
  1806. package/esm/src/api/exchange/~client.d.ts +0 -1381
  1807. package/esm/src/api/exchange/~client.d.ts.map +0 -1
  1808. package/esm/src/api/exchange/~client.js +0 -1445
  1809. package/esm/src/api/exchange/~client.js.map +0 -1
  1810. package/esm/src/api/exchange/~mod.d.ts +0 -87
  1811. package/esm/src/api/exchange/~mod.d.ts.map +0 -1
  1812. package/esm/src/api/exchange/~mod.js +0 -87
  1813. package/esm/src/api/exchange/~mod.js.map +0 -1
  1814. package/esm/src/api/info/_types.d.ts +0 -7
  1815. package/esm/src/api/info/_types.d.ts.map +0 -1
  1816. package/esm/src/api/info/_types.js +0 -2
  1817. package/esm/src/api/info/_types.js.map +0 -1
  1818. package/esm/src/api/info/activeAssetData.d.ts +0 -98
  1819. package/esm/src/api/info/activeAssetData.d.ts.map +0 -1
  1820. package/esm/src/api/info/activeAssetData.js +0 -88
  1821. package/esm/src/api/info/activeAssetData.js.map +0 -1
  1822. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
  1823. package/esm/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
  1824. package/esm/src/api/info/alignedQuoteTokenInfo.js +0 -74
  1825. package/esm/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
  1826. package/esm/src/api/info/allMids.d.ts +0 -49
  1827. package/esm/src/api/info/allMids.d.ts.map +0 -1
  1828. package/esm/src/api/info/allMids.js +0 -38
  1829. package/esm/src/api/info/allMids.js.map +0 -1
  1830. package/esm/src/api/info/allPerpMetas.d.ts +0 -145
  1831. package/esm/src/api/info/allPerpMetas.d.ts.map +0 -1
  1832. package/esm/src/api/info/allPerpMetas.js +0 -51
  1833. package/esm/src/api/info/allPerpMetas.js.map +0 -1
  1834. package/esm/src/api/info/blockDetails.d.ts +0 -151
  1835. package/esm/src/api/info/blockDetails.d.ts.map +0 -1
  1836. package/esm/src/api/info/blockDetails.js +0 -94
  1837. package/esm/src/api/info/blockDetails.js.map +0 -1
  1838. package/esm/src/api/info/candleSnapshot.d.ts +0 -111
  1839. package/esm/src/api/info/candleSnapshot.d.ts.map +0 -1
  1840. package/esm/src/api/info/candleSnapshot.js +0 -91
  1841. package/esm/src/api/info/candleSnapshot.js.map +0 -1
  1842. package/esm/src/api/info/clearinghouseState.d.ts +0 -269
  1843. package/esm/src/api/info/clearinghouseState.d.ts.map +0 -1
  1844. package/esm/src/api/info/clearinghouseState.js +0 -143
  1845. package/esm/src/api/info/clearinghouseState.js.map +0 -1
  1846. package/esm/src/api/info/delegations.d.ts +0 -64
  1847. package/esm/src/api/info/delegations.d.ts.map +0 -1
  1848. package/esm/src/api/info/delegations.js +0 -67
  1849. package/esm/src/api/info/delegations.js.map +0 -1
  1850. package/esm/src/api/info/delegatorHistory.d.ts +0 -142
  1851. package/esm/src/api/info/delegatorHistory.d.ts.map +0 -1
  1852. package/esm/src/api/info/delegatorHistory.js +0 -95
  1853. package/esm/src/api/info/delegatorHistory.js.map +0 -1
  1854. package/esm/src/api/info/delegatorRewards.d.ts +0 -64
  1855. package/esm/src/api/info/delegatorRewards.d.ts.map +0 -1
  1856. package/esm/src/api/info/delegatorRewards.js +0 -67
  1857. package/esm/src/api/info/delegatorRewards.js.map +0 -1
  1858. package/esm/src/api/info/delegatorSummary.d.ts +0 -63
  1859. package/esm/src/api/info/delegatorSummary.d.ts.map +0 -1
  1860. package/esm/src/api/info/delegatorSummary.js +0 -67
  1861. package/esm/src/api/info/delegatorSummary.js.map +0 -1
  1862. package/esm/src/api/info/exchangeStatus.d.ts +0 -46
  1863. package/esm/src/api/info/exchangeStatus.d.ts.map +0 -1
  1864. package/esm/src/api/info/exchangeStatus.js +0 -55
  1865. package/esm/src/api/info/exchangeStatus.js.map +0 -1
  1866. package/esm/src/api/info/extraAgents.d.ts +0 -64
  1867. package/esm/src/api/info/extraAgents.d.ts.map +0 -1
  1868. package/esm/src/api/info/extraAgents.js +0 -67
  1869. package/esm/src/api/info/extraAgents.js.map +0 -1
  1870. package/esm/src/api/info/frontendOpenOrders.d.ts +0 -103
  1871. package/esm/src/api/info/frontendOpenOrders.d.ts.map +0 -1
  1872. package/esm/src/api/info/frontendOpenOrders.js +0 -61
  1873. package/esm/src/api/info/frontendOpenOrders.js.map +0 -1
  1874. package/esm/src/api/info/fundingHistory.d.ts +0 -74
  1875. package/esm/src/api/info/fundingHistory.d.ts.map +0 -1
  1876. package/esm/src/api/info/fundingHistory.js +0 -73
  1877. package/esm/src/api/info/fundingHistory.js.map +0 -1
  1878. package/esm/src/api/info/gossipRootIps.d.ts +0 -39
  1879. package/esm/src/api/info/gossipRootIps.d.ts.map +0 -1
  1880. package/esm/src/api/info/gossipRootIps.js +0 -50
  1881. package/esm/src/api/info/gossipRootIps.js.map +0 -1
  1882. package/esm/src/api/info/historicalOrders.d.ts +0 -132
  1883. package/esm/src/api/info/historicalOrders.d.ts.map +0 -1
  1884. package/esm/src/api/info/historicalOrders.js +0 -68
  1885. package/esm/src/api/info/historicalOrders.js.map +0 -1
  1886. package/esm/src/api/info/isVip.d.ts +0 -49
  1887. package/esm/src/api/info/isVip.d.ts.map +0 -1
  1888. package/esm/src/api/info/isVip.js +0 -58
  1889. package/esm/src/api/info/isVip.js.map +0 -1
  1890. package/esm/src/api/info/l2Book.d.ts +0 -98
  1891. package/esm/src/api/info/l2Book.d.ts.map +0 -1
  1892. package/esm/src/api/info/l2Book.js +0 -70
  1893. package/esm/src/api/info/l2Book.js.map +0 -1
  1894. package/esm/src/api/info/leadingVaults.d.ts +0 -60
  1895. package/esm/src/api/info/leadingVaults.d.ts.map +0 -1
  1896. package/esm/src/api/info/leadingVaults.js +0 -65
  1897. package/esm/src/api/info/leadingVaults.js.map +0 -1
  1898. package/esm/src/api/info/legalCheck.d.ts +0 -60
  1899. package/esm/src/api/info/legalCheck.d.ts.map +0 -1
  1900. package/esm/src/api/info/legalCheck.js +0 -65
  1901. package/esm/src/api/info/legalCheck.js.map +0 -1
  1902. package/esm/src/api/info/liquidatable.d.ts +0 -38
  1903. package/esm/src/api/info/liquidatable.d.ts.map +0 -1
  1904. package/esm/src/api/info/liquidatable.js +0 -49
  1905. package/esm/src/api/info/liquidatable.js.map +0 -1
  1906. package/esm/src/api/info/marginTable.d.ts +0 -71
  1907. package/esm/src/api/info/marginTable.d.ts.map +0 -1
  1908. package/esm/src/api/info/marginTable.js +0 -70
  1909. package/esm/src/api/info/marginTable.js.map +0 -1
  1910. package/esm/src/api/info/maxBuilderFee.d.ts +0 -52
  1911. package/esm/src/api/info/maxBuilderFee.d.ts.map +0 -1
  1912. package/esm/src/api/info/maxBuilderFee.js +0 -60
  1913. package/esm/src/api/info/maxBuilderFee.js.map +0 -1
  1914. package/esm/src/api/info/maxMarketOrderNtls.d.ts +0 -41
  1915. package/esm/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
  1916. package/esm/src/api/info/maxMarketOrderNtls.js +0 -53
  1917. package/esm/src/api/info/maxMarketOrderNtls.js.map +0 -1
  1918. package/esm/src/api/info/meta.d.ts +0 -143
  1919. package/esm/src/api/info/meta.d.ts.map +0 -1
  1920. package/esm/src/api/info/meta.js +0 -72
  1921. package/esm/src/api/info/meta.js.map +0 -1
  1922. package/esm/src/api/info/metaAndAssetCtxs.d.ts +0 -204
  1923. package/esm/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
  1924. package/esm/src/api/info/metaAndAssetCtxs.js +0 -66
  1925. package/esm/src/api/info/metaAndAssetCtxs.js.map +0 -1
  1926. package/esm/src/api/info/openOrders.d.ts +0 -82
  1927. package/esm/src/api/info/openOrders.d.ts.map +0 -1
  1928. package/esm/src/api/info/openOrders.js +0 -61
  1929. package/esm/src/api/info/openOrders.js.map +0 -1
  1930. package/esm/src/api/info/orderStatus.d.ts +0 -150
  1931. package/esm/src/api/info/orderStatus.d.ts.map +0 -1
  1932. package/esm/src/api/info/orderStatus.js +0 -83
  1933. package/esm/src/api/info/orderStatus.js.map +0 -1
  1934. package/esm/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
  1935. package/esm/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
  1936. package/esm/src/api/info/perpDeployAuctionStatus.js +0 -62
  1937. package/esm/src/api/info/perpDeployAuctionStatus.js.map +0 -1
  1938. package/esm/src/api/info/perpDexLimits.d.ts +0 -63
  1939. package/esm/src/api/info/perpDexLimits.d.ts.map +0 -1
  1940. package/esm/src/api/info/perpDexLimits.js +0 -67
  1941. package/esm/src/api/info/perpDexLimits.js.map +0 -1
  1942. package/esm/src/api/info/perpDexs.d.ts +0 -78
  1943. package/esm/src/api/info/perpDexs.d.ts.map +0 -1
  1944. package/esm/src/api/info/perpDexs.js +0 -75
  1945. package/esm/src/api/info/perpDexs.js.map +0 -1
  1946. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
  1947. package/esm/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
  1948. package/esm/src/api/info/perpsAtOpenInterestCap.js +0 -37
  1949. package/esm/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
  1950. package/esm/src/api/info/portfolio.d.ts +0 -169
  1951. package/esm/src/api/info/portfolio.d.ts.map +0 -1
  1952. package/esm/src/api/info/portfolio.js +0 -78
  1953. package/esm/src/api/info/portfolio.js.map +0 -1
  1954. package/esm/src/api/info/preTransferCheck.d.ts +0 -66
  1955. package/esm/src/api/info/preTransferCheck.d.ts.map +0 -1
  1956. package/esm/src/api/info/preTransferCheck.js +0 -69
  1957. package/esm/src/api/info/preTransferCheck.js.map +0 -1
  1958. package/esm/src/api/info/predictedFundings.d.ts +0 -66
  1959. package/esm/src/api/info/predictedFundings.d.ts.map +0 -1
  1960. package/esm/src/api/info/predictedFundings.js +0 -72
  1961. package/esm/src/api/info/predictedFundings.js.map +0 -1
  1962. package/esm/src/api/info/recentTrades.d.ts +0 -84
  1963. package/esm/src/api/info/recentTrades.d.ts.map +0 -1
  1964. package/esm/src/api/info/recentTrades.js +0 -77
  1965. package/esm/src/api/info/recentTrades.js.map +0 -1
  1966. package/esm/src/api/info/referral.d.ts +0 -274
  1967. package/esm/src/api/info/referral.d.ts.map +0 -1
  1968. package/esm/src/api/info/referral.js +0 -159
  1969. package/esm/src/api/info/referral.js.map +0 -1
  1970. package/esm/src/api/info/spotClearinghouseState.d.ts +0 -103
  1971. package/esm/src/api/info/spotClearinghouseState.d.ts.map +0 -1
  1972. package/esm/src/api/info/spotClearinghouseState.js +0 -75
  1973. package/esm/src/api/info/spotClearinghouseState.js.map +0 -1
  1974. package/esm/src/api/info/spotDeployState.d.ts +0 -162
  1975. package/esm/src/api/info/spotDeployState.d.ts.map +0 -1
  1976. package/esm/src/api/info/spotDeployState.js +0 -106
  1977. package/esm/src/api/info/spotDeployState.js.map +0 -1
  1978. package/esm/src/api/info/spotMeta.d.ts +0 -137
  1979. package/esm/src/api/info/spotMeta.d.ts.map +0 -1
  1980. package/esm/src/api/info/spotMeta.js +0 -93
  1981. package/esm/src/api/info/spotMeta.js.map +0 -1
  1982. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
  1983. package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
  1984. package/esm/src/api/info/spotMetaAndAssetCtxs.js +0 -75
  1985. package/esm/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
  1986. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
  1987. package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
  1988. package/esm/src/api/info/spotPairDeployAuctionStatus.js +0 -62
  1989. package/esm/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
  1990. package/esm/src/api/info/subAccounts.d.ts +0 -412
  1991. package/esm/src/api/info/subAccounts.d.ts.map +0 -1
  1992. package/esm/src/api/info/subAccounts.js +0 -73
  1993. package/esm/src/api/info/subAccounts.js.map +0 -1
  1994. package/esm/src/api/info/subAccounts2.d.ts +0 -498
  1995. package/esm/src/api/info/subAccounts2.d.ts.map +0 -1
  1996. package/esm/src/api/info/subAccounts2.js +0 -76
  1997. package/esm/src/api/info/subAccounts2.js.map +0 -1
  1998. package/esm/src/api/info/tokenDetails.d.ts +0 -114
  1999. package/esm/src/api/info/tokenDetails.d.ts.map +0 -1
  2000. package/esm/src/api/info/tokenDetails.js +0 -98
  2001. package/esm/src/api/info/tokenDetails.js.map +0 -1
  2002. package/esm/src/api/info/twapHistory.d.ts +0 -132
  2003. package/esm/src/api/info/twapHistory.d.ts.map +0 -1
  2004. package/esm/src/api/info/twapHistory.js +0 -70
  2005. package/esm/src/api/info/twapHistory.js.map +0 -1
  2006. package/esm/src/api/info/txDetails.d.ts +0 -102
  2007. package/esm/src/api/info/txDetails.d.ts.map +0 -1
  2008. package/esm/src/api/info/txDetails.js +0 -79
  2009. package/esm/src/api/info/txDetails.js.map +0 -1
  2010. package/esm/src/api/info/userDetails.d.ts +0 -106
  2011. package/esm/src/api/info/userDetails.d.ts.map +0 -1
  2012. package/esm/src/api/info/userDetails.js +0 -64
  2013. package/esm/src/api/info/userDetails.js.map +0 -1
  2014. package/esm/src/api/info/userDexAbstraction.d.ts +0 -49
  2015. package/esm/src/api/info/userDexAbstraction.d.ts.map +0 -1
  2016. package/esm/src/api/info/userDexAbstraction.js +0 -58
  2017. package/esm/src/api/info/userDexAbstraction.js.map +0 -1
  2018. package/esm/src/api/info/userFees.d.ts +0 -269
  2019. package/esm/src/api/info/userFees.d.ts.map +0 -1
  2020. package/esm/src/api/info/userFees.js +0 -173
  2021. package/esm/src/api/info/userFees.js.map +0 -1
  2022. package/esm/src/api/info/userFills.d.ts +0 -122
  2023. package/esm/src/api/info/userFills.d.ts.map +0 -1
  2024. package/esm/src/api/info/userFills.js +0 -61
  2025. package/esm/src/api/info/userFills.js.map +0 -1
  2026. package/esm/src/api/info/userFillsByTime.d.ts +0 -128
  2027. package/esm/src/api/info/userFillsByTime.d.ts.map +0 -1
  2028. package/esm/src/api/info/userFillsByTime.js +0 -65
  2029. package/esm/src/api/info/userFillsByTime.js.map +0 -1
  2030. package/esm/src/api/info/userFunding.d.ts +0 -104
  2031. package/esm/src/api/info/userFunding.d.ts.map +0 -1
  2032. package/esm/src/api/info/userFunding.js +0 -84
  2033. package/esm/src/api/info/userFunding.js.map +0 -1
  2034. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
  2035. package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2036. package/esm/src/api/info/userNonFundingLedgerUpdates.js +0 -258
  2037. package/esm/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
  2038. package/esm/src/api/info/userRateLimit.d.ts +0 -63
  2039. package/esm/src/api/info/userRateLimit.d.ts.map +0 -1
  2040. package/esm/src/api/info/userRateLimit.js +0 -67
  2041. package/esm/src/api/info/userRateLimit.js.map +0 -1
  2042. package/esm/src/api/info/userRole.d.ts +0 -84
  2043. package/esm/src/api/info/userRole.d.ts.map +0 -1
  2044. package/esm/src/api/info/userRole.js +0 -81
  2045. package/esm/src/api/info/userRole.js.map +0 -1
  2046. package/esm/src/api/info/userToMultiSigSigners.d.ts +0 -57
  2047. package/esm/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
  2048. package/esm/src/api/info/userToMultiSigSigners.js +0 -63
  2049. package/esm/src/api/info/userToMultiSigSigners.js.map +0 -1
  2050. package/esm/src/api/info/userTwapSliceFills.d.ts +0 -124
  2051. package/esm/src/api/info/userTwapSliceFills.d.ts.map +0 -1
  2052. package/esm/src/api/info/userTwapSliceFills.js +0 -66
  2053. package/esm/src/api/info/userTwapSliceFills.js.map +0 -1
  2054. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
  2055. package/esm/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
  2056. package/esm/src/api/info/userTwapSliceFillsByTime.js +0 -72
  2057. package/esm/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
  2058. package/esm/src/api/info/userVaultEquities.d.ts +0 -64
  2059. package/esm/src/api/info/userVaultEquities.d.ts.map +0 -1
  2060. package/esm/src/api/info/userVaultEquities.js +0 -67
  2061. package/esm/src/api/info/userVaultEquities.js.map +0 -1
  2062. package/esm/src/api/info/validatorL1Votes.d.ts +0 -70
  2063. package/esm/src/api/info/validatorL1Votes.d.ts.map +0 -1
  2064. package/esm/src/api/info/validatorL1Votes.js +0 -67
  2065. package/esm/src/api/info/validatorL1Votes.js.map +0 -1
  2066. package/esm/src/api/info/validatorSummaries.d.ts +0 -155
  2067. package/esm/src/api/info/validatorSummaries.d.ts.map +0 -1
  2068. package/esm/src/api/info/validatorSummaries.js +0 -91
  2069. package/esm/src/api/info/validatorSummaries.js.map +0 -1
  2070. package/esm/src/api/info/vaultDetails.d.ts +0 -359
  2071. package/esm/src/api/info/vaultDetails.d.ts.map +0 -1
  2072. package/esm/src/api/info/vaultDetails.js +0 -140
  2073. package/esm/src/api/info/vaultDetails.js.map +0 -1
  2074. package/esm/src/api/info/vaultSummaries.d.ts +0 -104
  2075. package/esm/src/api/info/vaultSummaries.d.ts.map +0 -1
  2076. package/esm/src/api/info/vaultSummaries.js +0 -82
  2077. package/esm/src/api/info/vaultSummaries.js.map +0 -1
  2078. package/esm/src/api/info/webData2.d.ts +0 -833
  2079. package/esm/src/api/info/webData2.d.ts.map +0 -1
  2080. package/esm/src/api/info/webData2.js +0 -59
  2081. package/esm/src/api/info/webData2.js.map +0 -1
  2082. package/esm/src/api/info/~client.d.ts +0 -1487
  2083. package/esm/src/api/info/~client.d.ts.map +0 -1
  2084. package/esm/src/api/info/~client.js +0 -1553
  2085. package/esm/src/api/info/~client.js.map +0 -1
  2086. package/esm/src/api/info/~mod.d.ts +0 -91
  2087. package/esm/src/api/info/~mod.d.ts.map +0 -1
  2088. package/esm/src/api/info/~mod.js +0 -90
  2089. package/esm/src/api/info/~mod.js.map +0 -1
  2090. package/esm/src/api/subscription/_types.d.ts +0 -7
  2091. package/esm/src/api/subscription/_types.d.ts.map +0 -1
  2092. package/esm/src/api/subscription/_types.js +0 -2
  2093. package/esm/src/api/subscription/_types.js.map +0 -1
  2094. package/esm/src/api/subscription/activeAssetCtx.d.ts +0 -97
  2095. package/esm/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
  2096. package/esm/src/api/subscription/activeAssetCtx.js +0 -81
  2097. package/esm/src/api/subscription/activeAssetCtx.js.map +0 -1
  2098. package/esm/src/api/subscription/activeAssetData.d.ts +0 -84
  2099. package/esm/src/api/subscription/activeAssetData.d.ts.map +0 -1
  2100. package/esm/src/api/subscription/activeAssetData.js +0 -58
  2101. package/esm/src/api/subscription/activeAssetData.js.map +0 -1
  2102. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
  2103. package/esm/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
  2104. package/esm/src/api/subscription/activeSpotAssetCtx.js +0 -77
  2105. package/esm/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
  2106. package/esm/src/api/subscription/allMids.d.ts +0 -58
  2107. package/esm/src/api/subscription/allMids.d.ts.map +0 -1
  2108. package/esm/src/api/subscription/allMids.js +0 -42
  2109. package/esm/src/api/subscription/allMids.js.map +0 -1
  2110. package/esm/src/api/subscription/assetCtxs.d.ts +0 -108
  2111. package/esm/src/api/subscription/assetCtxs.d.ts.map +0 -1
  2112. package/esm/src/api/subscription/assetCtxs.js +0 -65
  2113. package/esm/src/api/subscription/assetCtxs.js.map +0 -1
  2114. package/esm/src/api/subscription/bbo.d.ts +0 -89
  2115. package/esm/src/api/subscription/bbo.d.ts.map +0 -1
  2116. package/esm/src/api/subscription/bbo.js +0 -63
  2117. package/esm/src/api/subscription/bbo.js.map +0 -1
  2118. package/esm/src/api/subscription/candle.d.ts +0 -71
  2119. package/esm/src/api/subscription/candle.d.ts.map +0 -1
  2120. package/esm/src/api/subscription/candle.js +0 -58
  2121. package/esm/src/api/subscription/candle.js.map +0 -1
  2122. package/esm/src/api/subscription/clearinghouseState.d.ts +0 -285
  2123. package/esm/src/api/subscription/clearinghouseState.d.ts.map +0 -1
  2124. package/esm/src/api/subscription/clearinghouseState.js +0 -69
  2125. package/esm/src/api/subscription/clearinghouseState.js.map +0 -1
  2126. package/esm/src/api/subscription/explorerBlock.d.ts +0 -64
  2127. package/esm/src/api/subscription/explorerBlock.d.ts.map +0 -1
  2128. package/esm/src/api/subscription/explorerBlock.js +0 -63
  2129. package/esm/src/api/subscription/explorerBlock.js.map +0 -1
  2130. package/esm/src/api/subscription/explorerTxs.d.ts +0 -83
  2131. package/esm/src/api/subscription/explorerTxs.d.ts.map +0 -1
  2132. package/esm/src/api/subscription/explorerTxs.js +0 -68
  2133. package/esm/src/api/subscription/explorerTxs.js.map +0 -1
  2134. package/esm/src/api/subscription/l2Book.d.ts +0 -97
  2135. package/esm/src/api/subscription/l2Book.d.ts.map +0 -1
  2136. package/esm/src/api/subscription/l2Book.js +0 -75
  2137. package/esm/src/api/subscription/l2Book.js.map +0 -1
  2138. package/esm/src/api/subscription/notification.d.ts +0 -51
  2139. package/esm/src/api/subscription/notification.d.ts.map +0 -1
  2140. package/esm/src/api/subscription/notification.js +0 -56
  2141. package/esm/src/api/subscription/notification.js.map +0 -1
  2142. package/esm/src/api/subscription/openOrders.d.ts +0 -128
  2143. package/esm/src/api/subscription/openOrders.d.ts.map +0 -1
  2144. package/esm/src/api/subscription/openOrders.js +0 -69
  2145. package/esm/src/api/subscription/openOrders.js.map +0 -1
  2146. package/esm/src/api/subscription/orderUpdates.d.ts +0 -101
  2147. package/esm/src/api/subscription/orderUpdates.d.ts.map +0 -1
  2148. package/esm/src/api/subscription/orderUpdates.js +0 -63
  2149. package/esm/src/api/subscription/orderUpdates.js.map +0 -1
  2150. package/esm/src/api/subscription/spotAssetCtxs.d.ts +0 -67
  2151. package/esm/src/api/subscription/spotAssetCtxs.d.ts.map +0 -1
  2152. package/esm/src/api/subscription/spotAssetCtxs.js +0 -67
  2153. package/esm/src/api/subscription/spotAssetCtxs.js.map +0 -1
  2154. package/esm/src/api/subscription/spotState.d.ts +0 -91
  2155. package/esm/src/api/subscription/spotState.d.ts.map +0 -1
  2156. package/esm/src/api/subscription/spotState.js +0 -64
  2157. package/esm/src/api/subscription/spotState.js.map +0 -1
  2158. package/esm/src/api/subscription/trades.d.ts +0 -73
  2159. package/esm/src/api/subscription/trades.d.ts.map +0 -1
  2160. package/esm/src/api/subscription/trades.js +0 -55
  2161. package/esm/src/api/subscription/trades.js.map +0 -1
  2162. package/esm/src/api/subscription/userEvents.d.ts +0 -876
  2163. package/esm/src/api/subscription/userEvents.d.ts.map +0 -1
  2164. package/esm/src/api/subscription/userEvents.js +0 -149
  2165. package/esm/src/api/subscription/userEvents.js.map +0 -1
  2166. package/esm/src/api/subscription/userFills.d.ts +0 -152
  2167. package/esm/src/api/subscription/userFills.d.ts.map +0 -1
  2168. package/esm/src/api/subscription/userFills.js +0 -69
  2169. package/esm/src/api/subscription/userFills.js.map +0 -1
  2170. package/esm/src/api/subscription/userFundings.d.ts +0 -91
  2171. package/esm/src/api/subscription/userFundings.d.ts.map +0 -1
  2172. package/esm/src/api/subscription/userFundings.js +0 -77
  2173. package/esm/src/api/subscription/userFundings.js.map +0 -1
  2174. package/esm/src/api/subscription/userHistoricalOrders.d.ts +0 -161
  2175. package/esm/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
  2176. package/esm/src/api/subscription/userHistoricalOrders.js +0 -72
  2177. package/esm/src/api/subscription/userHistoricalOrders.js.map +0 -1
  2178. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
  2179. package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2180. package/esm/src/api/subscription/userNonFundingLedgerUpdates.js +0 -63
  2181. package/esm/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
  2182. package/esm/src/api/subscription/userTwapHistory.d.ts +0 -161
  2183. package/esm/src/api/subscription/userTwapHistory.d.ts.map +0 -1
  2184. package/esm/src/api/subscription/userTwapHistory.js +0 -74
  2185. package/esm/src/api/subscription/userTwapHistory.js.map +0 -1
  2186. package/esm/src/api/subscription/userTwapSliceFills.d.ts +0 -132
  2187. package/esm/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
  2188. package/esm/src/api/subscription/userTwapSliceFills.js +0 -68
  2189. package/esm/src/api/subscription/userTwapSliceFills.js.map +0 -1
  2190. package/esm/src/api/subscription/webData2.d.ts +0 -704
  2191. package/esm/src/api/subscription/webData2.d.ts.map +0 -1
  2192. package/esm/src/api/subscription/webData2.js +0 -107
  2193. package/esm/src/api/subscription/webData2.js.map +0 -1
  2194. package/esm/src/api/subscription/webData3.d.ts +0 -541
  2195. package/esm/src/api/subscription/webData3.d.ts.map +0 -1
  2196. package/esm/src/api/subscription/webData3.js +0 -100
  2197. package/esm/src/api/subscription/webData3.js.map +0 -1
  2198. package/esm/src/api/subscription/~client.d.ts +0 -598
  2199. package/esm/src/api/subscription/~client.d.ts.map +0 -1
  2200. package/esm/src/api/subscription/~client.js +0 -626
  2201. package/esm/src/api/subscription/~client.js.map +0 -1
  2202. package/esm/src/api/subscription/~mod.d.ts +0 -53
  2203. package/esm/src/api/subscription/~mod.d.ts.map +0 -1
  2204. package/esm/src/api/subscription/~mod.js +0 -52
  2205. package/esm/src/api/subscription/~mod.js.map +0 -1
  2206. package/esm/src/signing/_signTypedData.d.ts +0 -123
  2207. package/esm/src/signing/_signTypedData.d.ts.map +0 -1
  2208. package/esm/src/signing/_signTypedData.js +0 -161
  2209. package/esm/src/signing/_signTypedData.js.map +0 -1
  2210. package/esm/src/transport/base.d.ts +0 -48
  2211. package/esm/src/transport/base.d.ts.map +0 -1
  2212. package/esm/src/transport/base.js +0 -9
  2213. package/esm/src/transport/base.js.map +0 -1
  2214. package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -91
  2215. package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
  2216. package/esm/src/transport/websocket/_hyperliquid_event_target.js +0 -54
  2217. package/esm/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
  2218. package/esm/src/transport/websocket/_websocket_async_request.d.ts +0 -37
  2219. package/esm/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
  2220. package/esm/src/transport/websocket/_websocket_async_request.js +0 -192
  2221. package/esm/src/transport/websocket/_websocket_async_request.js.map +0 -1
  2222. package/esm/src/utils/_eip712.d.ts +0 -42
  2223. package/esm/src/utils/_eip712.d.ts.map +0 -1
  2224. package/esm/src/utils/_eip712.js +0 -175
  2225. package/esm/src/utils/_eip712.js.map +0 -1
  2226. package/esm/src/utils/_recover.d.ts +0 -89
  2227. package/esm/src/utils/_recover.d.ts.map +0 -1
  2228. package/esm/src/utils/_recover.js +0 -119
  2229. package/esm/src/utils/_recover.js.map +0 -1
  2230. package/script/src/api/_base.d.ts +0 -53
  2231. package/script/src/api/_base.d.ts.map +0 -1
  2232. package/script/src/api/_base.js +0 -105
  2233. package/script/src/api/_base.js.map +0 -1
  2234. package/script/src/api/_common_schemas.d.ts +0 -425
  2235. package/script/src/api/_common_schemas.d.ts.map +0 -1
  2236. package/script/src/api/_common_schemas.js +0 -471
  2237. package/script/src/api/_common_schemas.js.map +0 -1
  2238. package/script/src/api/exchange/_base/_errors.d.ts +0 -16
  2239. package/script/src/api/exchange/_base/_errors.d.ts.map +0 -1
  2240. package/script/src/api/exchange/_base/_errors.js +0 -56
  2241. package/script/src/api/exchange/_base/_errors.js.map +0 -1
  2242. package/script/src/api/exchange/_base/_execute.d.ts +0 -43
  2243. package/script/src/api/exchange/_base/_execute.d.ts.map +0 -1
  2244. package/script/src/api/exchange/_base/_execute.js +0 -187
  2245. package/script/src/api/exchange/_base/_execute.js.map +0 -1
  2246. package/script/src/api/exchange/_base/_nonce.d.ts +0 -5
  2247. package/script/src/api/exchange/_base/_nonce.d.ts.map +0 -1
  2248. package/script/src/api/exchange/_base/_nonce.js +0 -31
  2249. package/script/src/api/exchange/_base/_nonce.js.map +0 -1
  2250. package/script/src/api/exchange/_base/_schemas.d.ts +0 -45
  2251. package/script/src/api/exchange/_base/_schemas.d.ts.map +0 -1
  2252. package/script/src/api/exchange/_base/_schemas.js +0 -71
  2253. package/script/src/api/exchange/_base/_schemas.js.map +0 -1
  2254. package/script/src/api/exchange/_base/_types.d.ts +0 -105
  2255. package/script/src/api/exchange/_base/_types.d.ts.map +0 -1
  2256. package/script/src/api/exchange/_base/_types.js.map +0 -1
  2257. package/script/src/api/exchange/_base/mod.d.ts +0 -5
  2258. package/script/src/api/exchange/_base/mod.d.ts.map +0 -1
  2259. package/script/src/api/exchange/_base/mod.js +0 -21
  2260. package/script/src/api/exchange/_base/mod.js.map +0 -1
  2261. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -106
  2262. package/script/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
  2263. package/script/src/api/exchange/agentEnableDexAbstraction.js +0 -115
  2264. package/script/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
  2265. package/script/src/api/exchange/approveAgent.d.ts +0 -136
  2266. package/script/src/api/exchange/approveAgent.d.ts.map +0 -1
  2267. package/script/src/api/exchange/approveAgent.js +0 -136
  2268. package/script/src/api/exchange/approveAgent.js.map +0 -1
  2269. package/script/src/api/exchange/approveBuilderFee.d.ts +0 -136
  2270. package/script/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
  2271. package/script/src/api/exchange/approveBuilderFee.js +0 -136
  2272. package/script/src/api/exchange/approveBuilderFee.js.map +0 -1
  2273. package/script/src/api/exchange/batchModify.d.ts +0 -329
  2274. package/script/src/api/exchange/batchModify.d.ts.map +0 -1
  2275. package/script/src/api/exchange/batchModify.js +0 -146
  2276. package/script/src/api/exchange/batchModify.js.map +0 -1
  2277. package/script/src/api/exchange/cDeposit.d.ts +0 -132
  2278. package/script/src/api/exchange/cDeposit.d.ts.map +0 -1
  2279. package/script/src/api/exchange/cDeposit.js +0 -133
  2280. package/script/src/api/exchange/cDeposit.js.map +0 -1
  2281. package/script/src/api/exchange/cSignerAction.d.ts +0 -127
  2282. package/script/src/api/exchange/cSignerAction.d.ts.map +0 -1
  2283. package/script/src/api/exchange/cSignerAction.js +0 -129
  2284. package/script/src/api/exchange/cSignerAction.js.map +0 -1
  2285. package/script/src/api/exchange/cValidatorAction.d.ts +0 -290
  2286. package/script/src/api/exchange/cValidatorAction.d.ts.map +0 -1
  2287. package/script/src/api/exchange/cValidatorAction.js +0 -205
  2288. package/script/src/api/exchange/cValidatorAction.js.map +0 -1
  2289. package/script/src/api/exchange/cWithdraw.d.ts +0 -132
  2290. package/script/src/api/exchange/cWithdraw.d.ts.map +0 -1
  2291. package/script/src/api/exchange/cWithdraw.js +0 -133
  2292. package/script/src/api/exchange/cWithdraw.js.map +0 -1
  2293. package/script/src/api/exchange/cancel.d.ts +0 -150
  2294. package/script/src/api/exchange/cancel.d.ts.map +0 -1
  2295. package/script/src/api/exchange/cancel.js +0 -152
  2296. package/script/src/api/exchange/cancel.js.map +0 -1
  2297. package/script/src/api/exchange/cancelByCloid.d.ts +0 -145
  2298. package/script/src/api/exchange/cancelByCloid.d.ts.map +0 -1
  2299. package/script/src/api/exchange/cancelByCloid.js +0 -132
  2300. package/script/src/api/exchange/cancelByCloid.js.map +0 -1
  2301. package/script/src/api/exchange/claimRewards.d.ts +0 -97
  2302. package/script/src/api/exchange/claimRewards.d.ts.map +0 -1
  2303. package/script/src/api/exchange/claimRewards.js +0 -106
  2304. package/script/src/api/exchange/claimRewards.js.map +0 -1
  2305. package/script/src/api/exchange/convertToMultiSigUser.d.ts +0 -170
  2306. package/script/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
  2307. package/script/src/api/exchange/convertToMultiSigUser.js +0 -166
  2308. package/script/src/api/exchange/convertToMultiSigUser.js.map +0 -1
  2309. package/script/src/api/exchange/createSubAccount.d.ts +0 -117
  2310. package/script/src/api/exchange/createSubAccount.d.ts.map +0 -1
  2311. package/script/src/api/exchange/createSubAccount.js +0 -127
  2312. package/script/src/api/exchange/createSubAccount.js.map +0 -1
  2313. package/script/src/api/exchange/createVault.d.ts +0 -133
  2314. package/script/src/api/exchange/createVault.d.ts.map +0 -1
  2315. package/script/src/api/exchange/createVault.js +0 -139
  2316. package/script/src/api/exchange/createVault.js.map +0 -1
  2317. package/script/src/api/exchange/evmUserModify.d.ts +0 -116
  2318. package/script/src/api/exchange/evmUserModify.d.ts.map +0 -1
  2319. package/script/src/api/exchange/evmUserModify.js +0 -121
  2320. package/script/src/api/exchange/evmUserModify.js.map +0 -1
  2321. package/script/src/api/exchange/linkStakingUser.d.ts +0 -144
  2322. package/script/src/api/exchange/linkStakingUser.d.ts.map +0 -1
  2323. package/script/src/api/exchange/linkStakingUser.js +0 -148
  2324. package/script/src/api/exchange/linkStakingUser.js.map +0 -1
  2325. package/script/src/api/exchange/modify.d.ts +0 -222
  2326. package/script/src/api/exchange/modify.d.ts.map +0 -1
  2327. package/script/src/api/exchange/modify.js +0 -141
  2328. package/script/src/api/exchange/modify.js.map +0 -1
  2329. package/script/src/api/exchange/multiSig.d.ts +0 -4314
  2330. package/script/src/api/exchange/multiSig.d.ts.map +0 -1
  2331. package/script/src/api/exchange/multiSig.js +0 -309
  2332. package/script/src/api/exchange/multiSig.js.map +0 -1
  2333. package/script/src/api/exchange/noop.d.ts +0 -106
  2334. package/script/src/api/exchange/noop.d.ts.map +0 -1
  2335. package/script/src/api/exchange/noop.js +0 -115
  2336. package/script/src/api/exchange/noop.js.map +0 -1
  2337. package/script/src/api/exchange/order.d.ts +0 -354
  2338. package/script/src/api/exchange/order.d.ts.map +0 -1
  2339. package/script/src/api/exchange/order.js +0 -199
  2340. package/script/src/api/exchange/order.js.map +0 -1
  2341. package/script/src/api/exchange/perpDeploy.d.ts +0 -400
  2342. package/script/src/api/exchange/perpDeploy.d.ts.map +0 -1
  2343. package/script/src/api/exchange/perpDeploy.js +0 -245
  2344. package/script/src/api/exchange/perpDeploy.js.map +0 -1
  2345. package/script/src/api/exchange/registerReferrer.d.ts +0 -109
  2346. package/script/src/api/exchange/registerReferrer.d.ts.map +0 -1
  2347. package/script/src/api/exchange/registerReferrer.js +0 -114
  2348. package/script/src/api/exchange/registerReferrer.js.map +0 -1
  2349. package/script/src/api/exchange/reserveRequestWeight.d.ts +0 -116
  2350. package/script/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
  2351. package/script/src/api/exchange/reserveRequestWeight.js +0 -121
  2352. package/script/src/api/exchange/reserveRequestWeight.js.map +0 -1
  2353. package/script/src/api/exchange/scheduleCancel.d.ts +0 -125
  2354. package/script/src/api/exchange/scheduleCancel.d.ts.map +0 -1
  2355. package/script/src/api/exchange/scheduleCancel.js +0 -108
  2356. package/script/src/api/exchange/scheduleCancel.js.map +0 -1
  2357. package/script/src/api/exchange/sendAsset.d.ts +0 -158
  2358. package/script/src/api/exchange/sendAsset.d.ts.map +0 -1
  2359. package/script/src/api/exchange/sendAsset.js +0 -154
  2360. package/script/src/api/exchange/sendAsset.js.map +0 -1
  2361. package/script/src/api/exchange/setDisplayName.d.ts +0 -113
  2362. package/script/src/api/exchange/setDisplayName.d.ts.map +0 -1
  2363. package/script/src/api/exchange/setDisplayName.js +0 -119
  2364. package/script/src/api/exchange/setDisplayName.js.map +0 -1
  2365. package/script/src/api/exchange/setReferrer.d.ts +0 -109
  2366. package/script/src/api/exchange/setReferrer.d.ts.map +0 -1
  2367. package/script/src/api/exchange/setReferrer.js +0 -114
  2368. package/script/src/api/exchange/setReferrer.js.map +0 -1
  2369. package/script/src/api/exchange/spotDeploy.d.ts +0 -389
  2370. package/script/src/api/exchange/spotDeploy.d.ts.map +0 -1
  2371. package/script/src/api/exchange/spotDeploy.js +0 -233
  2372. package/script/src/api/exchange/spotDeploy.js.map +0 -1
  2373. package/script/src/api/exchange/spotSend.d.ts +0 -144
  2374. package/script/src/api/exchange/spotSend.d.ts.map +0 -1
  2375. package/script/src/api/exchange/spotSend.js +0 -143
  2376. package/script/src/api/exchange/spotSend.js.map +0 -1
  2377. package/script/src/api/exchange/spotUser.d.ts +0 -118
  2378. package/script/src/api/exchange/spotUser.d.ts.map +0 -1
  2379. package/script/src/api/exchange/spotUser.js +0 -117
  2380. package/script/src/api/exchange/spotUser.js.map +0 -1
  2381. package/script/src/api/exchange/subAccountModify.d.ts +0 -113
  2382. package/script/src/api/exchange/subAccountModify.d.ts.map +0 -1
  2383. package/script/src/api/exchange/subAccountModify.js +0 -116
  2384. package/script/src/api/exchange/subAccountModify.js.map +0 -1
  2385. package/script/src/api/exchange/subAccountSpotTransfer.d.ts +0 -126
  2386. package/script/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
  2387. package/script/src/api/exchange/subAccountSpotTransfer.js +0 -125
  2388. package/script/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
  2389. package/script/src/api/exchange/subAccountTransfer.d.ts +0 -117
  2390. package/script/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
  2391. package/script/src/api/exchange/subAccountTransfer.js +0 -118
  2392. package/script/src/api/exchange/subAccountTransfer.js.map +0 -1
  2393. package/script/src/api/exchange/tokenDelegate.d.ts +0 -140
  2394. package/script/src/api/exchange/tokenDelegate.d.ts.map +0 -1
  2395. package/script/src/api/exchange/tokenDelegate.js +0 -139
  2396. package/script/src/api/exchange/tokenDelegate.js.map +0 -1
  2397. package/script/src/api/exchange/twapCancel.d.ts +0 -136
  2398. package/script/src/api/exchange/twapCancel.d.ts.map +0 -1
  2399. package/script/src/api/exchange/twapCancel.js +0 -145
  2400. package/script/src/api/exchange/twapCancel.js.map +0 -1
  2401. package/script/src/api/exchange/twapOrder.d.ts +0 -199
  2402. package/script/src/api/exchange/twapOrder.d.ts.map +0 -1
  2403. package/script/src/api/exchange/twapOrder.js +0 -171
  2404. package/script/src/api/exchange/twapOrder.js.map +0 -1
  2405. package/script/src/api/exchange/updateIsolatedMargin.d.ts +0 -127
  2406. package/script/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
  2407. package/script/src/api/exchange/updateIsolatedMargin.js +0 -128
  2408. package/script/src/api/exchange/updateIsolatedMargin.js.map +0 -1
  2409. package/script/src/api/exchange/updateLeverage.d.ts +0 -127
  2410. package/script/src/api/exchange/updateLeverage.d.ts.map +0 -1
  2411. package/script/src/api/exchange/updateLeverage.js +0 -128
  2412. package/script/src/api/exchange/updateLeverage.js.map +0 -1
  2413. package/script/src/api/exchange/usdClassTransfer.d.ts +0 -136
  2414. package/script/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
  2415. package/script/src/api/exchange/usdClassTransfer.js +0 -136
  2416. package/script/src/api/exchange/usdClassTransfer.js.map +0 -1
  2417. package/script/src/api/exchange/usdSend.d.ts +0 -136
  2418. package/script/src/api/exchange/usdSend.d.ts.map +0 -1
  2419. package/script/src/api/exchange/usdSend.js +0 -136
  2420. package/script/src/api/exchange/usdSend.js.map +0 -1
  2421. package/script/src/api/exchange/userDexAbstraction.d.ts +0 -136
  2422. package/script/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
  2423. package/script/src/api/exchange/userDexAbstraction.js +0 -136
  2424. package/script/src/api/exchange/userDexAbstraction.js.map +0 -1
  2425. package/script/src/api/exchange/validatorL1Stream.d.ts +0 -116
  2426. package/script/src/api/exchange/validatorL1Stream.d.ts.map +0 -1
  2427. package/script/src/api/exchange/validatorL1Stream.js +0 -121
  2428. package/script/src/api/exchange/validatorL1Stream.js.map +0 -1
  2429. package/script/src/api/exchange/vaultDistribute.d.ts +0 -117
  2430. package/script/src/api/exchange/vaultDistribute.d.ts.map +0 -1
  2431. package/script/src/api/exchange/vaultDistribute.js +0 -121
  2432. package/script/src/api/exchange/vaultDistribute.js.map +0 -1
  2433. package/script/src/api/exchange/vaultModify.d.ts +0 -121
  2434. package/script/src/api/exchange/vaultModify.d.ts.map +0 -1
  2435. package/script/src/api/exchange/vaultModify.js +0 -122
  2436. package/script/src/api/exchange/vaultModify.js.map +0 -1
  2437. package/script/src/api/exchange/vaultTransfer.d.ts +0 -124
  2438. package/script/src/api/exchange/vaultTransfer.d.ts.map +0 -1
  2439. package/script/src/api/exchange/vaultTransfer.js +0 -125
  2440. package/script/src/api/exchange/vaultTransfer.js.map +0 -1
  2441. package/script/src/api/exchange/withdraw3.d.ts +0 -136
  2442. package/script/src/api/exchange/withdraw3.d.ts.map +0 -1
  2443. package/script/src/api/exchange/withdraw3.js +0 -136
  2444. package/script/src/api/exchange/withdraw3.js.map +0 -1
  2445. package/script/src/api/exchange/~client.d.ts +0 -1381
  2446. package/script/src/api/exchange/~client.d.ts.map +0 -1
  2447. package/script/src/api/exchange/~client.js +0 -1451
  2448. package/script/src/api/exchange/~client.js.map +0 -1
  2449. package/script/src/api/exchange/~mod.d.ts +0 -87
  2450. package/script/src/api/exchange/~mod.d.ts.map +0 -1
  2451. package/script/src/api/exchange/~mod.js +0 -107
  2452. package/script/src/api/exchange/~mod.js.map +0 -1
  2453. package/script/src/api/info/_types.d.ts +0 -7
  2454. package/script/src/api/info/_types.d.ts.map +0 -1
  2455. package/script/src/api/info/_types.js +0 -3
  2456. package/script/src/api/info/_types.js.map +0 -1
  2457. package/script/src/api/info/activeAssetData.d.ts +0 -98
  2458. package/script/src/api/info/activeAssetData.d.ts.map +0 -1
  2459. package/script/src/api/info/activeAssetData.js +0 -125
  2460. package/script/src/api/info/activeAssetData.js.map +0 -1
  2461. package/script/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
  2462. package/script/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
  2463. package/script/src/api/info/alignedQuoteTokenInfo.js +0 -111
  2464. package/script/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
  2465. package/script/src/api/info/allMids.d.ts +0 -49
  2466. package/script/src/api/info/allMids.d.ts.map +0 -1
  2467. package/script/src/api/info/allMids.js +0 -75
  2468. package/script/src/api/info/allMids.js.map +0 -1
  2469. package/script/src/api/info/allPerpMetas.d.ts +0 -145
  2470. package/script/src/api/info/allPerpMetas.d.ts.map +0 -1
  2471. package/script/src/api/info/allPerpMetas.js +0 -88
  2472. package/script/src/api/info/allPerpMetas.js.map +0 -1
  2473. package/script/src/api/info/blockDetails.d.ts +0 -151
  2474. package/script/src/api/info/blockDetails.d.ts.map +0 -1
  2475. package/script/src/api/info/blockDetails.js +0 -131
  2476. package/script/src/api/info/blockDetails.js.map +0 -1
  2477. package/script/src/api/info/candleSnapshot.d.ts +0 -111
  2478. package/script/src/api/info/candleSnapshot.d.ts.map +0 -1
  2479. package/script/src/api/info/candleSnapshot.js +0 -128
  2480. package/script/src/api/info/candleSnapshot.js.map +0 -1
  2481. package/script/src/api/info/clearinghouseState.d.ts +0 -269
  2482. package/script/src/api/info/clearinghouseState.d.ts.map +0 -1
  2483. package/script/src/api/info/clearinghouseState.js +0 -180
  2484. package/script/src/api/info/clearinghouseState.js.map +0 -1
  2485. package/script/src/api/info/delegations.d.ts +0 -64
  2486. package/script/src/api/info/delegations.d.ts.map +0 -1
  2487. package/script/src/api/info/delegations.js +0 -104
  2488. package/script/src/api/info/delegations.js.map +0 -1
  2489. package/script/src/api/info/delegatorHistory.d.ts +0 -142
  2490. package/script/src/api/info/delegatorHistory.d.ts.map +0 -1
  2491. package/script/src/api/info/delegatorHistory.js +0 -132
  2492. package/script/src/api/info/delegatorHistory.js.map +0 -1
  2493. package/script/src/api/info/delegatorRewards.d.ts +0 -64
  2494. package/script/src/api/info/delegatorRewards.d.ts.map +0 -1
  2495. package/script/src/api/info/delegatorRewards.js +0 -104
  2496. package/script/src/api/info/delegatorRewards.js.map +0 -1
  2497. package/script/src/api/info/delegatorSummary.d.ts +0 -63
  2498. package/script/src/api/info/delegatorSummary.d.ts.map +0 -1
  2499. package/script/src/api/info/delegatorSummary.js +0 -104
  2500. package/script/src/api/info/delegatorSummary.js.map +0 -1
  2501. package/script/src/api/info/exchangeStatus.d.ts +0 -46
  2502. package/script/src/api/info/exchangeStatus.d.ts.map +0 -1
  2503. package/script/src/api/info/exchangeStatus.js +0 -92
  2504. package/script/src/api/info/exchangeStatus.js.map +0 -1
  2505. package/script/src/api/info/extraAgents.d.ts +0 -64
  2506. package/script/src/api/info/extraAgents.d.ts.map +0 -1
  2507. package/script/src/api/info/extraAgents.js +0 -104
  2508. package/script/src/api/info/extraAgents.js.map +0 -1
  2509. package/script/src/api/info/frontendOpenOrders.d.ts +0 -103
  2510. package/script/src/api/info/frontendOpenOrders.d.ts.map +0 -1
  2511. package/script/src/api/info/frontendOpenOrders.js +0 -98
  2512. package/script/src/api/info/frontendOpenOrders.js.map +0 -1
  2513. package/script/src/api/info/fundingHistory.d.ts +0 -74
  2514. package/script/src/api/info/fundingHistory.d.ts.map +0 -1
  2515. package/script/src/api/info/fundingHistory.js +0 -110
  2516. package/script/src/api/info/fundingHistory.js.map +0 -1
  2517. package/script/src/api/info/gossipRootIps.d.ts +0 -39
  2518. package/script/src/api/info/gossipRootIps.d.ts.map +0 -1
  2519. package/script/src/api/info/gossipRootIps.js +0 -87
  2520. package/script/src/api/info/gossipRootIps.js.map +0 -1
  2521. package/script/src/api/info/historicalOrders.d.ts +0 -132
  2522. package/script/src/api/info/historicalOrders.d.ts.map +0 -1
  2523. package/script/src/api/info/historicalOrders.js +0 -105
  2524. package/script/src/api/info/historicalOrders.js.map +0 -1
  2525. package/script/src/api/info/isVip.d.ts +0 -49
  2526. package/script/src/api/info/isVip.d.ts.map +0 -1
  2527. package/script/src/api/info/isVip.js +0 -95
  2528. package/script/src/api/info/isVip.js.map +0 -1
  2529. package/script/src/api/info/l2Book.d.ts +0 -98
  2530. package/script/src/api/info/l2Book.d.ts.map +0 -1
  2531. package/script/src/api/info/l2Book.js +0 -107
  2532. package/script/src/api/info/l2Book.js.map +0 -1
  2533. package/script/src/api/info/leadingVaults.d.ts +0 -60
  2534. package/script/src/api/info/leadingVaults.d.ts.map +0 -1
  2535. package/script/src/api/info/leadingVaults.js +0 -102
  2536. package/script/src/api/info/leadingVaults.js.map +0 -1
  2537. package/script/src/api/info/legalCheck.d.ts +0 -60
  2538. package/script/src/api/info/legalCheck.d.ts.map +0 -1
  2539. package/script/src/api/info/legalCheck.js +0 -102
  2540. package/script/src/api/info/legalCheck.js.map +0 -1
  2541. package/script/src/api/info/liquidatable.d.ts +0 -38
  2542. package/script/src/api/info/liquidatable.d.ts.map +0 -1
  2543. package/script/src/api/info/liquidatable.js +0 -86
  2544. package/script/src/api/info/liquidatable.js.map +0 -1
  2545. package/script/src/api/info/marginTable.d.ts +0 -71
  2546. package/script/src/api/info/marginTable.d.ts.map +0 -1
  2547. package/script/src/api/info/marginTable.js +0 -107
  2548. package/script/src/api/info/marginTable.js.map +0 -1
  2549. package/script/src/api/info/maxBuilderFee.d.ts +0 -52
  2550. package/script/src/api/info/maxBuilderFee.d.ts.map +0 -1
  2551. package/script/src/api/info/maxBuilderFee.js +0 -97
  2552. package/script/src/api/info/maxBuilderFee.js.map +0 -1
  2553. package/script/src/api/info/maxMarketOrderNtls.d.ts +0 -41
  2554. package/script/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
  2555. package/script/src/api/info/maxMarketOrderNtls.js +0 -90
  2556. package/script/src/api/info/maxMarketOrderNtls.js.map +0 -1
  2557. package/script/src/api/info/meta.d.ts +0 -143
  2558. package/script/src/api/info/meta.d.ts.map +0 -1
  2559. package/script/src/api/info/meta.js +0 -109
  2560. package/script/src/api/info/meta.js.map +0 -1
  2561. package/script/src/api/info/metaAndAssetCtxs.d.ts +0 -204
  2562. package/script/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
  2563. package/script/src/api/info/metaAndAssetCtxs.js +0 -103
  2564. package/script/src/api/info/metaAndAssetCtxs.js.map +0 -1
  2565. package/script/src/api/info/openOrders.d.ts +0 -82
  2566. package/script/src/api/info/openOrders.d.ts.map +0 -1
  2567. package/script/src/api/info/openOrders.js +0 -98
  2568. package/script/src/api/info/openOrders.js.map +0 -1
  2569. package/script/src/api/info/orderStatus.d.ts +0 -150
  2570. package/script/src/api/info/orderStatus.d.ts.map +0 -1
  2571. package/script/src/api/info/orderStatus.js +0 -120
  2572. package/script/src/api/info/orderStatus.js.map +0 -1
  2573. package/script/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
  2574. package/script/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
  2575. package/script/src/api/info/perpDeployAuctionStatus.js +0 -99
  2576. package/script/src/api/info/perpDeployAuctionStatus.js.map +0 -1
  2577. package/script/src/api/info/perpDexLimits.d.ts +0 -63
  2578. package/script/src/api/info/perpDexLimits.d.ts.map +0 -1
  2579. package/script/src/api/info/perpDexLimits.js +0 -104
  2580. package/script/src/api/info/perpDexLimits.js.map +0 -1
  2581. package/script/src/api/info/perpDexs.d.ts +0 -78
  2582. package/script/src/api/info/perpDexs.d.ts.map +0 -1
  2583. package/script/src/api/info/perpDexs.js +0 -112
  2584. package/script/src/api/info/perpDexs.js.map +0 -1
  2585. package/script/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
  2586. package/script/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
  2587. package/script/src/api/info/perpsAtOpenInterestCap.js +0 -74
  2588. package/script/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
  2589. package/script/src/api/info/portfolio.d.ts +0 -169
  2590. package/script/src/api/info/portfolio.d.ts.map +0 -1
  2591. package/script/src/api/info/portfolio.js +0 -115
  2592. package/script/src/api/info/portfolio.js.map +0 -1
  2593. package/script/src/api/info/preTransferCheck.d.ts +0 -66
  2594. package/script/src/api/info/preTransferCheck.d.ts.map +0 -1
  2595. package/script/src/api/info/preTransferCheck.js +0 -106
  2596. package/script/src/api/info/preTransferCheck.js.map +0 -1
  2597. package/script/src/api/info/predictedFundings.d.ts +0 -66
  2598. package/script/src/api/info/predictedFundings.d.ts.map +0 -1
  2599. package/script/src/api/info/predictedFundings.js +0 -109
  2600. package/script/src/api/info/predictedFundings.js.map +0 -1
  2601. package/script/src/api/info/recentTrades.d.ts +0 -84
  2602. package/script/src/api/info/recentTrades.d.ts.map +0 -1
  2603. package/script/src/api/info/recentTrades.js +0 -114
  2604. package/script/src/api/info/recentTrades.js.map +0 -1
  2605. package/script/src/api/info/referral.d.ts +0 -274
  2606. package/script/src/api/info/referral.d.ts.map +0 -1
  2607. package/script/src/api/info/referral.js +0 -196
  2608. package/script/src/api/info/referral.js.map +0 -1
  2609. package/script/src/api/info/spotClearinghouseState.d.ts +0 -103
  2610. package/script/src/api/info/spotClearinghouseState.d.ts.map +0 -1
  2611. package/script/src/api/info/spotClearinghouseState.js +0 -112
  2612. package/script/src/api/info/spotClearinghouseState.js.map +0 -1
  2613. package/script/src/api/info/spotDeployState.d.ts +0 -162
  2614. package/script/src/api/info/spotDeployState.d.ts.map +0 -1
  2615. package/script/src/api/info/spotDeployState.js +0 -143
  2616. package/script/src/api/info/spotDeployState.js.map +0 -1
  2617. package/script/src/api/info/spotMeta.d.ts +0 -137
  2618. package/script/src/api/info/spotMeta.d.ts.map +0 -1
  2619. package/script/src/api/info/spotMeta.js +0 -130
  2620. package/script/src/api/info/spotMeta.js.map +0 -1
  2621. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
  2622. package/script/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
  2623. package/script/src/api/info/spotMetaAndAssetCtxs.js +0 -112
  2624. package/script/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
  2625. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
  2626. package/script/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
  2627. package/script/src/api/info/spotPairDeployAuctionStatus.js +0 -99
  2628. package/script/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
  2629. package/script/src/api/info/subAccounts.d.ts +0 -412
  2630. package/script/src/api/info/subAccounts.d.ts.map +0 -1
  2631. package/script/src/api/info/subAccounts.js +0 -110
  2632. package/script/src/api/info/subAccounts.js.map +0 -1
  2633. package/script/src/api/info/subAccounts2.d.ts +0 -498
  2634. package/script/src/api/info/subAccounts2.d.ts.map +0 -1
  2635. package/script/src/api/info/subAccounts2.js +0 -113
  2636. package/script/src/api/info/subAccounts2.js.map +0 -1
  2637. package/script/src/api/info/tokenDetails.d.ts +0 -114
  2638. package/script/src/api/info/tokenDetails.d.ts.map +0 -1
  2639. package/script/src/api/info/tokenDetails.js +0 -135
  2640. package/script/src/api/info/tokenDetails.js.map +0 -1
  2641. package/script/src/api/info/twapHistory.d.ts +0 -132
  2642. package/script/src/api/info/twapHistory.d.ts.map +0 -1
  2643. package/script/src/api/info/twapHistory.js +0 -107
  2644. package/script/src/api/info/twapHistory.js.map +0 -1
  2645. package/script/src/api/info/txDetails.d.ts +0 -102
  2646. package/script/src/api/info/txDetails.d.ts.map +0 -1
  2647. package/script/src/api/info/txDetails.js +0 -116
  2648. package/script/src/api/info/txDetails.js.map +0 -1
  2649. package/script/src/api/info/userDetails.d.ts +0 -106
  2650. package/script/src/api/info/userDetails.d.ts.map +0 -1
  2651. package/script/src/api/info/userDetails.js +0 -101
  2652. package/script/src/api/info/userDetails.js.map +0 -1
  2653. package/script/src/api/info/userDexAbstraction.d.ts +0 -49
  2654. package/script/src/api/info/userDexAbstraction.d.ts.map +0 -1
  2655. package/script/src/api/info/userDexAbstraction.js +0 -95
  2656. package/script/src/api/info/userDexAbstraction.js.map +0 -1
  2657. package/script/src/api/info/userFees.d.ts +0 -269
  2658. package/script/src/api/info/userFees.d.ts.map +0 -1
  2659. package/script/src/api/info/userFees.js +0 -210
  2660. package/script/src/api/info/userFees.js.map +0 -1
  2661. package/script/src/api/info/userFills.d.ts +0 -122
  2662. package/script/src/api/info/userFills.d.ts.map +0 -1
  2663. package/script/src/api/info/userFills.js +0 -98
  2664. package/script/src/api/info/userFills.js.map +0 -1
  2665. package/script/src/api/info/userFillsByTime.d.ts +0 -128
  2666. package/script/src/api/info/userFillsByTime.d.ts.map +0 -1
  2667. package/script/src/api/info/userFillsByTime.js +0 -102
  2668. package/script/src/api/info/userFillsByTime.js.map +0 -1
  2669. package/script/src/api/info/userFunding.d.ts +0 -104
  2670. package/script/src/api/info/userFunding.d.ts.map +0 -1
  2671. package/script/src/api/info/userFunding.js +0 -121
  2672. package/script/src/api/info/userFunding.js.map +0 -1
  2673. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
  2674. package/script/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2675. package/script/src/api/info/userNonFundingLedgerUpdates.js +0 -295
  2676. package/script/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
  2677. package/script/src/api/info/userRateLimit.d.ts +0 -63
  2678. package/script/src/api/info/userRateLimit.d.ts.map +0 -1
  2679. package/script/src/api/info/userRateLimit.js +0 -104
  2680. package/script/src/api/info/userRateLimit.js.map +0 -1
  2681. package/script/src/api/info/userRole.d.ts +0 -84
  2682. package/script/src/api/info/userRole.d.ts.map +0 -1
  2683. package/script/src/api/info/userRole.js +0 -118
  2684. package/script/src/api/info/userRole.js.map +0 -1
  2685. package/script/src/api/info/userToMultiSigSigners.d.ts +0 -57
  2686. package/script/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
  2687. package/script/src/api/info/userToMultiSigSigners.js +0 -100
  2688. package/script/src/api/info/userToMultiSigSigners.js.map +0 -1
  2689. package/script/src/api/info/userTwapSliceFills.d.ts +0 -124
  2690. package/script/src/api/info/userTwapSliceFills.d.ts.map +0 -1
  2691. package/script/src/api/info/userTwapSliceFills.js +0 -103
  2692. package/script/src/api/info/userTwapSliceFills.js.map +0 -1
  2693. package/script/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
  2694. package/script/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
  2695. package/script/src/api/info/userTwapSliceFillsByTime.js +0 -109
  2696. package/script/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
  2697. package/script/src/api/info/userVaultEquities.d.ts +0 -64
  2698. package/script/src/api/info/userVaultEquities.d.ts.map +0 -1
  2699. package/script/src/api/info/userVaultEquities.js +0 -104
  2700. package/script/src/api/info/userVaultEquities.js.map +0 -1
  2701. package/script/src/api/info/validatorL1Votes.d.ts +0 -70
  2702. package/script/src/api/info/validatorL1Votes.d.ts.map +0 -1
  2703. package/script/src/api/info/validatorL1Votes.js +0 -104
  2704. package/script/src/api/info/validatorL1Votes.js.map +0 -1
  2705. package/script/src/api/info/validatorSummaries.d.ts +0 -155
  2706. package/script/src/api/info/validatorSummaries.d.ts.map +0 -1
  2707. package/script/src/api/info/validatorSummaries.js +0 -128
  2708. package/script/src/api/info/validatorSummaries.js.map +0 -1
  2709. package/script/src/api/info/vaultDetails.d.ts +0 -359
  2710. package/script/src/api/info/vaultDetails.d.ts.map +0 -1
  2711. package/script/src/api/info/vaultDetails.js +0 -177
  2712. package/script/src/api/info/vaultDetails.js.map +0 -1
  2713. package/script/src/api/info/vaultSummaries.d.ts +0 -104
  2714. package/script/src/api/info/vaultSummaries.d.ts.map +0 -1
  2715. package/script/src/api/info/vaultSummaries.js +0 -119
  2716. package/script/src/api/info/vaultSummaries.js.map +0 -1
  2717. package/script/src/api/info/webData2.d.ts +0 -833
  2718. package/script/src/api/info/webData2.d.ts.map +0 -1
  2719. package/script/src/api/info/webData2.js +0 -96
  2720. package/script/src/api/info/webData2.js.map +0 -1
  2721. package/script/src/api/info/~client.d.ts +0 -1487
  2722. package/script/src/api/info/~client.d.ts.map +0 -1
  2723. package/script/src/api/info/~client.js +0 -1557
  2724. package/script/src/api/info/~client.js.map +0 -1
  2725. package/script/src/api/info/~mod.d.ts +0 -91
  2726. package/script/src/api/info/~mod.d.ts.map +0 -1
  2727. package/script/src/api/info/~mod.js +0 -109
  2728. package/script/src/api/info/~mod.js.map +0 -1
  2729. package/script/src/api/subscription/_types.d.ts +0 -7
  2730. package/script/src/api/subscription/_types.d.ts.map +0 -1
  2731. package/script/src/api/subscription/_types.js +0 -3
  2732. package/script/src/api/subscription/_types.js.map +0 -1
  2733. package/script/src/api/subscription/activeAssetCtx.d.ts +0 -97
  2734. package/script/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
  2735. package/script/src/api/subscription/activeAssetCtx.js +0 -118
  2736. package/script/src/api/subscription/activeAssetCtx.js.map +0 -1
  2737. package/script/src/api/subscription/activeAssetData.d.ts +0 -84
  2738. package/script/src/api/subscription/activeAssetData.d.ts.map +0 -1
  2739. package/script/src/api/subscription/activeAssetData.js +0 -95
  2740. package/script/src/api/subscription/activeAssetData.js.map +0 -1
  2741. package/script/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
  2742. package/script/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
  2743. package/script/src/api/subscription/activeSpotAssetCtx.js +0 -114
  2744. package/script/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
  2745. package/script/src/api/subscription/allMids.d.ts +0 -58
  2746. package/script/src/api/subscription/allMids.d.ts.map +0 -1
  2747. package/script/src/api/subscription/allMids.js +0 -79
  2748. package/script/src/api/subscription/allMids.js.map +0 -1
  2749. package/script/src/api/subscription/assetCtxs.d.ts +0 -108
  2750. package/script/src/api/subscription/assetCtxs.d.ts.map +0 -1
  2751. package/script/src/api/subscription/assetCtxs.js +0 -102
  2752. package/script/src/api/subscription/assetCtxs.js.map +0 -1
  2753. package/script/src/api/subscription/bbo.d.ts +0 -89
  2754. package/script/src/api/subscription/bbo.d.ts.map +0 -1
  2755. package/script/src/api/subscription/bbo.js +0 -100
  2756. package/script/src/api/subscription/bbo.js.map +0 -1
  2757. package/script/src/api/subscription/candle.d.ts +0 -71
  2758. package/script/src/api/subscription/candle.d.ts.map +0 -1
  2759. package/script/src/api/subscription/candle.js +0 -95
  2760. package/script/src/api/subscription/candle.js.map +0 -1
  2761. package/script/src/api/subscription/clearinghouseState.d.ts +0 -285
  2762. package/script/src/api/subscription/clearinghouseState.d.ts.map +0 -1
  2763. package/script/src/api/subscription/clearinghouseState.js +0 -106
  2764. package/script/src/api/subscription/clearinghouseState.js.map +0 -1
  2765. package/script/src/api/subscription/explorerBlock.d.ts +0 -64
  2766. package/script/src/api/subscription/explorerBlock.d.ts.map +0 -1
  2767. package/script/src/api/subscription/explorerBlock.js +0 -100
  2768. package/script/src/api/subscription/explorerBlock.js.map +0 -1
  2769. package/script/src/api/subscription/explorerTxs.d.ts +0 -83
  2770. package/script/src/api/subscription/explorerTxs.d.ts.map +0 -1
  2771. package/script/src/api/subscription/explorerTxs.js +0 -105
  2772. package/script/src/api/subscription/explorerTxs.js.map +0 -1
  2773. package/script/src/api/subscription/l2Book.d.ts +0 -97
  2774. package/script/src/api/subscription/l2Book.d.ts.map +0 -1
  2775. package/script/src/api/subscription/l2Book.js +0 -112
  2776. package/script/src/api/subscription/l2Book.js.map +0 -1
  2777. package/script/src/api/subscription/notification.d.ts +0 -51
  2778. package/script/src/api/subscription/notification.d.ts.map +0 -1
  2779. package/script/src/api/subscription/notification.js +0 -93
  2780. package/script/src/api/subscription/notification.js.map +0 -1
  2781. package/script/src/api/subscription/openOrders.d.ts +0 -128
  2782. package/script/src/api/subscription/openOrders.d.ts.map +0 -1
  2783. package/script/src/api/subscription/openOrders.js +0 -106
  2784. package/script/src/api/subscription/openOrders.js.map +0 -1
  2785. package/script/src/api/subscription/orderUpdates.d.ts +0 -101
  2786. package/script/src/api/subscription/orderUpdates.d.ts.map +0 -1
  2787. package/script/src/api/subscription/orderUpdates.js +0 -100
  2788. package/script/src/api/subscription/orderUpdates.js.map +0 -1
  2789. package/script/src/api/subscription/spotAssetCtxs.d.ts +0 -67
  2790. package/script/src/api/subscription/spotAssetCtxs.d.ts.map +0 -1
  2791. package/script/src/api/subscription/spotAssetCtxs.js +0 -104
  2792. package/script/src/api/subscription/spotAssetCtxs.js.map +0 -1
  2793. package/script/src/api/subscription/spotState.d.ts +0 -91
  2794. package/script/src/api/subscription/spotState.d.ts.map +0 -1
  2795. package/script/src/api/subscription/spotState.js +0 -101
  2796. package/script/src/api/subscription/spotState.js.map +0 -1
  2797. package/script/src/api/subscription/trades.d.ts +0 -73
  2798. package/script/src/api/subscription/trades.d.ts.map +0 -1
  2799. package/script/src/api/subscription/trades.js +0 -92
  2800. package/script/src/api/subscription/trades.js.map +0 -1
  2801. package/script/src/api/subscription/userEvents.d.ts +0 -876
  2802. package/script/src/api/subscription/userEvents.d.ts.map +0 -1
  2803. package/script/src/api/subscription/userEvents.js +0 -186
  2804. package/script/src/api/subscription/userEvents.js.map +0 -1
  2805. package/script/src/api/subscription/userFills.d.ts +0 -152
  2806. package/script/src/api/subscription/userFills.d.ts.map +0 -1
  2807. package/script/src/api/subscription/userFills.js +0 -106
  2808. package/script/src/api/subscription/userFills.js.map +0 -1
  2809. package/script/src/api/subscription/userFundings.d.ts +0 -91
  2810. package/script/src/api/subscription/userFundings.d.ts.map +0 -1
  2811. package/script/src/api/subscription/userFundings.js +0 -114
  2812. package/script/src/api/subscription/userFundings.js.map +0 -1
  2813. package/script/src/api/subscription/userHistoricalOrders.d.ts +0 -161
  2814. package/script/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
  2815. package/script/src/api/subscription/userHistoricalOrders.js +0 -109
  2816. package/script/src/api/subscription/userHistoricalOrders.js.map +0 -1
  2817. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
  2818. package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
  2819. package/script/src/api/subscription/userNonFundingLedgerUpdates.js +0 -100
  2820. package/script/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
  2821. package/script/src/api/subscription/userTwapHistory.d.ts +0 -161
  2822. package/script/src/api/subscription/userTwapHistory.d.ts.map +0 -1
  2823. package/script/src/api/subscription/userTwapHistory.js +0 -111
  2824. package/script/src/api/subscription/userTwapHistory.js.map +0 -1
  2825. package/script/src/api/subscription/userTwapSliceFills.d.ts +0 -132
  2826. package/script/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
  2827. package/script/src/api/subscription/userTwapSliceFills.js +0 -105
  2828. package/script/src/api/subscription/userTwapSliceFills.js.map +0 -1
  2829. package/script/src/api/subscription/webData2.d.ts +0 -704
  2830. package/script/src/api/subscription/webData2.d.ts.map +0 -1
  2831. package/script/src/api/subscription/webData2.js +0 -144
  2832. package/script/src/api/subscription/webData2.js.map +0 -1
  2833. package/script/src/api/subscription/webData3.d.ts +0 -541
  2834. package/script/src/api/subscription/webData3.d.ts.map +0 -1
  2835. package/script/src/api/subscription/webData3.js +0 -137
  2836. package/script/src/api/subscription/webData3.js.map +0 -1
  2837. package/script/src/api/subscription/~client.d.ts +0 -598
  2838. package/script/src/api/subscription/~client.d.ts.map +0 -1
  2839. package/script/src/api/subscription/~client.js +0 -630
  2840. package/script/src/api/subscription/~client.js.map +0 -1
  2841. package/script/src/api/subscription/~mod.d.ts +0 -53
  2842. package/script/src/api/subscription/~mod.d.ts.map +0 -1
  2843. package/script/src/api/subscription/~mod.js +0 -71
  2844. package/script/src/api/subscription/~mod.js.map +0 -1
  2845. package/script/src/signing/_signTypedData.d.ts +0 -123
  2846. package/script/src/signing/_signTypedData.d.ts.map +0 -1
  2847. package/script/src/signing/_signTypedData.js +0 -201
  2848. package/script/src/signing/_signTypedData.js.map +0 -1
  2849. package/script/src/transport/base.d.ts +0 -48
  2850. package/script/src/transport/base.d.ts.map +0 -1
  2851. package/script/src/transport/base.js +0 -13
  2852. package/script/src/transport/base.js.map +0 -1
  2853. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -91
  2854. package/script/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
  2855. package/script/src/transport/websocket/_hyperliquid_event_target.js +0 -91
  2856. package/script/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
  2857. package/script/src/transport/websocket/_websocket_async_request.d.ts +0 -37
  2858. package/script/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
  2859. package/script/src/transport/websocket/_websocket_async_request.js +0 -197
  2860. package/script/src/transport/websocket/_websocket_async_request.js.map +0 -1
  2861. package/script/src/utils/_eip712.d.ts +0 -42
  2862. package/script/src/utils/_eip712.d.ts.map +0 -1
  2863. package/script/src/utils/_eip712.js +0 -214
  2864. package/script/src/utils/_eip712.js.map +0 -1
  2865. package/script/src/utils/_recover.d.ts +0 -89
  2866. package/script/src/utils/_recover.d.ts.map +0 -1
  2867. package/script/src/utils/_recover.js +0 -156
  2868. package/script/src/utils/_recover.js.map +0 -1
  2869. package/src/src/api/_base.ts +0 -163
  2870. package/src/src/api/_common_schemas.ts +0 -767
  2871. package/src/src/api/exchange/_base/_errors.ts +0 -57
  2872. package/src/src/api/exchange/_base/_execute.ts +0 -275
  2873. package/src/src/api/exchange/_base/_nonce.ts +0 -29
  2874. package/src/src/api/exchange/_base/_schemas.ts +0 -73
  2875. package/src/src/api/exchange/_base/_types.ts +0 -114
  2876. package/src/src/api/exchange/_base/mod.ts +0 -4
  2877. package/src/src/api/exchange/agentEnableDexAbstraction.ts +0 -124
  2878. package/src/src/api/exchange/approveAgent.ts +0 -162
  2879. package/src/src/api/exchange/approveBuilderFee.ts +0 -162
  2880. package/src/src/api/exchange/batchModify.ts +0 -164
  2881. package/src/src/api/exchange/cDeposit.ts +0 -156
  2882. package/src/src/api/exchange/cSignerAction.ts +0 -150
  2883. package/src/src/api/exchange/cValidatorAction.ts +0 -290
  2884. package/src/src/api/exchange/cWithdraw.ts +0 -156
  2885. package/src/src/api/exchange/cancel.ts +0 -196
  2886. package/src/src/api/exchange/cancelByCloid.ts +0 -153
  2887. package/src/src/api/exchange/claimRewards.ts +0 -113
  2888. package/src/src/api/exchange/convertToMultiSigUser.ts +0 -212
  2889. package/src/src/api/exchange/createSubAccount.ts +0 -158
  2890. package/src/src/api/exchange/createVault.ts +0 -179
  2891. package/src/src/api/exchange/evmUserModify.ts +0 -136
  2892. package/src/src/api/exchange/linkStakingUser.ts +0 -178
  2893. package/src/src/api/exchange/modify.ts +0 -159
  2894. package/src/src/api/exchange/multiSig.ts +0 -348
  2895. package/src/src/api/exchange/noop.ts +0 -122
  2896. package/src/src/api/exchange/order.ts +0 -278
  2897. package/src/src/api/exchange/perpDeploy.ts +0 -402
  2898. package/src/src/api/exchange/registerReferrer.ts +0 -130
  2899. package/src/src/api/exchange/reserveRequestWeight.ts +0 -136
  2900. package/src/src/api/exchange/scheduleCancel.ts +0 -166
  2901. package/src/src/api/exchange/sendAsset.ts +0 -192
  2902. package/src/src/api/exchange/setDisplayName.ts +0 -136
  2903. package/src/src/api/exchange/setReferrer.ts +0 -130
  2904. package/src/src/api/exchange/spotDeploy.ts +0 -379
  2905. package/src/src/api/exchange/spotSend.ts +0 -172
  2906. package/src/src/api/exchange/spotUser.ts +0 -135
  2907. package/src/src/api/exchange/subAccountModify.ts +0 -135
  2908. package/src/src/api/exchange/subAccountSpotTransfer.ts +0 -149
  2909. package/src/src/api/exchange/subAccountTransfer.ts +0 -139
  2910. package/src/src/api/exchange/tokenDelegate.ts +0 -168
  2911. package/src/src/api/exchange/twapCancel.ts +0 -184
  2912. package/src/src/api/exchange/twapOrder.ts +0 -231
  2913. package/src/src/api/exchange/updateIsolatedMargin.ts +0 -152
  2914. package/src/src/api/exchange/updateLeverage.ts +0 -152
  2915. package/src/src/api/exchange/usdClassTransfer.ts +0 -162
  2916. package/src/src/api/exchange/usdSend.ts +0 -162
  2917. package/src/src/api/exchange/userDexAbstraction.ts +0 -166
  2918. package/src/src/api/exchange/validatorL1Stream.ts +0 -136
  2919. package/src/src/api/exchange/vaultDistribute.ts +0 -141
  2920. package/src/src/api/exchange/vaultModify.ts +0 -143
  2921. package/src/src/api/exchange/vaultTransfer.ts +0 -146
  2922. package/src/src/api/exchange/withdraw3.ts +0 -162
  2923. package/src/src/api/exchange/~client.ts +0 -1671
  2924. package/src/src/api/exchange/~mod.ts +0 -88
  2925. package/src/src/api/info/_types.ts +0 -7
  2926. package/src/src/api/info/activeAssetData.ts +0 -154
  2927. package/src/src/api/info/alignedQuoteTokenInfo.ts +0 -128
  2928. package/src/src/api/info/allMids.ts +0 -95
  2929. package/src/src/api/info/allPerpMetas.ts +0 -75
  2930. package/src/src/api/info/blockDetails.ts +0 -172
  2931. package/src/src/api/info/candleSnapshot.ts +0 -159
  2932. package/src/src/api/info/clearinghouseState.ts +0 -286
  2933. package/src/src/api/info/delegations.ts +0 -108
  2934. package/src/src/api/info/delegatorHistory.ts +0 -163
  2935. package/src/src/api/info/delegatorRewards.ts +0 -108
  2936. package/src/src/api/info/delegatorSummary.ts +0 -107
  2937. package/src/src/api/info/exchangeStatus.ts +0 -81
  2938. package/src/src/api/info/extraAgents.ts +0 -109
  2939. package/src/src/api/info/frontendOpenOrders.ts +0 -92
  2940. package/src/src/api/info/fundingHistory.ts +0 -123
  2941. package/src/src/api/info/gossipRootIps.ts +0 -70
  2942. package/src/src/api/info/historicalOrders.ts +0 -103
  2943. package/src/src/api/info/isVip.ts +0 -86
  2944. package/src/src/api/info/l2Book.ts +0 -125
  2945. package/src/src/api/info/leadingVaults.ts +0 -103
  2946. package/src/src/api/info/legalCheck.ts +0 -102
  2947. package/src/src/api/info/liquidatable.ts +0 -68
  2948. package/src/src/api/info/marginTable.ts +0 -117
  2949. package/src/src/api/info/maxBuilderFee.ts +0 -93
  2950. package/src/src/api/info/maxMarketOrderNtls.ts +0 -81
  2951. package/src/src/api/info/meta.ts +0 -176
  2952. package/src/src/api/info/metaAndAssetCtxs.ts +0 -159
  2953. package/src/src/api/info/openOrders.ts +0 -92
  2954. package/src/src/api/info/orderStatus.ts +0 -128
  2955. package/src/src/api/info/perpDeployAuctionStatus.ts +0 -98
  2956. package/src/src/api/info/perpDexLimits.ts +0 -109
  2957. package/src/src/api/info/perpDexs.ts +0 -131
  2958. package/src/src/api/info/perpsAtOpenInterestCap.ts +0 -93
  2959. package/src/src/api/info/portfolio.ts +0 -120
  2960. package/src/src/api/info/preTransferCheck.ts +0 -112
  2961. package/src/src/api/info/predictedFundings.ts +0 -124
  2962. package/src/src/api/info/recentTrades.ts +0 -133
  2963. package/src/src/api/info/referral.ts +0 -321
  2964. package/src/src/api/info/spotClearinghouseState.ts +0 -127
  2965. package/src/src/api/info/spotDeployState.ts +0 -201
  2966. package/src/src/api/info/spotMeta.ts +0 -175
  2967. package/src/src/api/info/spotMetaAndAssetCtxs.ts +0 -127
  2968. package/src/src/api/info/spotPairDeployAuctionStatus.ts +0 -98
  2969. package/src/src/api/info/subAccounts.ts +0 -117
  2970. package/src/src/api/info/subAccounts2.ts +0 -126
  2971. package/src/src/api/info/tokenDetails.ts +0 -185
  2972. package/src/src/api/info/twapHistory.ts +0 -108
  2973. package/src/src/api/info/txDetails.ts +0 -135
  2974. package/src/src/api/info/userDetails.ts +0 -99
  2975. package/src/src/api/info/userDexAbstraction.ts +0 -86
  2976. package/src/src/api/info/userFees.ts +0 -340
  2977. package/src/src/api/info/userFills.ts +0 -92
  2978. package/src/src/api/info/userFillsByTime.ts +0 -102
  2979. package/src/src/api/info/userFunding.ts +0 -149
  2980. package/src/src/api/info/userNonFundingLedgerUpdates.ts +0 -537
  2981. package/src/src/api/info/userRateLimit.ts +0 -107
  2982. package/src/src/api/info/userRole.ts +0 -130
  2983. package/src/src/api/info/userToMultiSigSigners.ts +0 -101
  2984. package/src/src/api/info/userTwapSliceFills.ts +0 -101
  2985. package/src/src/api/info/userTwapSliceFillsByTime.ts +0 -116
  2986. package/src/src/api/info/userVaultEquities.ts +0 -108
  2987. package/src/src/api/info/validatorL1Votes.ts +0 -101
  2988. package/src/src/api/info/validatorSummaries.ts +0 -163
  2989. package/src/src/api/info/vaultDetails.ts +0 -279
  2990. package/src/src/api/info/vaultSummaries.ts +0 -140
  2991. package/src/src/api/info/webData2.ts +0 -87
  2992. package/src/src/api/info/~client.ts +0 -1838
  2993. package/src/src/api/info/~mod.ts +0 -92
  2994. package/src/src/api/subscription/_types.ts +0 -7
  2995. package/src/src/api/subscription/activeAssetCtx.ts +0 -146
  2996. package/src/src/api/subscription/activeAssetData.ts +0 -87
  2997. package/src/src/api/subscription/activeSpotAssetCtx.ts +0 -136
  2998. package/src/src/api/subscription/allMids.ts +0 -110
  2999. package/src/src/api/subscription/assetCtxs.ts +0 -167
  3000. package/src/src/api/subscription/bbo.ts +0 -101
  3001. package/src/src/api/subscription/candle.ts +0 -84
  3002. package/src/src/api/subscription/clearinghouseState.ts +0 -107
  3003. package/src/src/api/subscription/explorerBlock.ts +0 -107
  3004. package/src/src/api/subscription/explorerTxs.ts +0 -118
  3005. package/src/src/api/subscription/l2Book.ts +0 -137
  3006. package/src/src/api/subscription/notification.ts +0 -88
  3007. package/src/src/api/subscription/openOrders.ts +0 -110
  3008. package/src/src/api/subscription/orderUpdates.ts +0 -99
  3009. package/src/src/api/subscription/spotAssetCtxs.ts +0 -118
  3010. package/src/src/api/subscription/spotState.ts +0 -102
  3011. package/src/src/api/subscription/trades.ts +0 -81
  3012. package/src/src/api/subscription/userEvents.ts +0 -281
  3013. package/src/src/api/subscription/userFills.ts +0 -110
  3014. package/src/src/api/subscription/userFundings.ts +0 -137
  3015. package/src/src/api/subscription/userHistoricalOrders.ts +0 -117
  3016. package/src/src/api/subscription/userNonFundingLedgerUpdates.ts +0 -101
  3017. package/src/src/api/subscription/userTwapHistory.ts +0 -122
  3018. package/src/src/api/subscription/userTwapSliceFills.ts +0 -111
  3019. package/src/src/api/subscription/webData2.ts +0 -186
  3020. package/src/src/api/subscription/webData3.ts +0 -185
  3021. package/src/src/api/subscription/~client.ts +0 -792
  3022. package/src/src/api/subscription/~mod.ts +0 -54
  3023. package/src/src/signing/_signTypedData.ts +0 -314
  3024. package/src/src/transport/base.ts +0 -54
  3025. package/src/src/transport/websocket/_hyperliquid_event_target.ts +0 -137
  3026. package/src/src/transport/websocket/_websocket_async_request.ts +0 -242
  3027. package/src/src/utils/_eip712.ts +0 -243
  3028. package/src/src/utils/_recover.ts +0 -178
  3029. /package/esm/src/api/{exchange/_base → subscription/_methods}/_types.js +0 -0
  3030. /package/script/src/api/{exchange/_base → subscription/_methods}/_types.js +0 -0
@@ -1,4314 +0,0 @@
1
- import * as v from "valibot";
2
- /**
3
- * A multi-signature request.
4
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
5
- */
6
- export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
7
- /** Action to perform. */
8
- readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
9
- /** Type of action. */
10
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"multiSig", undefined>, v.DescriptionAction<"multiSig", "Type of action.">]>;
11
- /** Chain ID used for signing. */
12
- 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.">]>;
13
- /** List of signatures from authorized signers. */
14
- readonly signatures: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
15
- 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.">]>;
16
- 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.">]>;
17
- readonly v: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<27, undefined>, v.LiteralSchema<28, undefined>], undefined>, v.DescriptionAction<27 | 28, "Recovery identifier.">]>;
18
- }, undefined>, v.DescriptionAction<{
19
- r: `0x${string}`;
20
- s: `0x${string}`;
21
- v: 27 | 28;
22
- }, "ECDSA signature components for Ethereum typed data.">]>, undefined>, v.DescriptionAction<{
23
- r: `0x${string}`;
24
- s: `0x${string}`;
25
- v: 27 | 28;
26
- }[], "List of signatures from authorized signers.">]>;
27
- /** Multi-signature payload information. */
28
- readonly payload: v.SchemaWithPipe<readonly [v.ObjectSchema<{
29
- /** Address of the multi-signature user account. */
30
- 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.">]>;
31
- /** Address of the authorized user initiating the request (any authorized user). */
32
- 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).">]>;
33
- /** The underlying action to be executed through multi-sig. */
34
- readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
35
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveAgent", undefined>, v.DescriptionAction<"approveAgent", "Type of action.">]>;
36
- 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.">]>;
37
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
38
- 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.">]>;
39
- 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.">]>;
40
- 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).">]>;
41
- }, undefined>, v.DescriptionAction<{
42
- type: "approveAgent";
43
- signatureChainId: `0x${string}`;
44
- hyperliquidChain: "Testnet" | "Mainnet";
45
- agentAddress: `0x${string}`;
46
- agentName: string | null;
47
- nonce: number;
48
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
49
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveBuilderFee", undefined>, v.DescriptionAction<"approveBuilderFee", "Type of action.">]>;
50
- 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.">]>;
51
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
52
- 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%\").">]>;
53
- 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.">]>;
54
- 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).">]>;
55
- }, undefined>, v.DescriptionAction<{
56
- type: "approveBuilderFee";
57
- signatureChainId: `0x${string}`;
58
- hyperliquidChain: "Testnet" | "Mainnet";
59
- maxFeeRate: `${string}%`;
60
- builder: `0x${string}`;
61
- nonce: number;
62
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
63
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"batchModify", undefined>, v.DescriptionAction<"batchModify", "Type of action.">]>;
64
- readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
65
- 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.">]>;
66
- readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
67
- 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.">]>;
68
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
69
- 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.">]>;
70
- 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).">]>;
71
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
72
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
73
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
74
- 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>]>;
75
- }, undefined>, v.DescriptionAction<{
76
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
77
- }, "Limit order parameters.">]>;
78
- }, undefined>, v.ObjectSchema<{
79
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
80
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
81
- 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.">]>;
82
- 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.">]>;
83
- }, undefined>, v.DescriptionAction<{
84
- isMarket: boolean;
85
- triggerPx: string;
86
- tpsl: "tp" | "sl";
87
- }, "Trigger order parameters.">]>;
88
- }, undefined>], undefined>, v.DescriptionAction<{
89
- limit: {
90
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
91
- };
92
- } | {
93
- trigger: {
94
- isMarket: boolean;
95
- triggerPx: string;
96
- tpsl: "tp" | "sl";
97
- };
98
- }, "Order type.">]>;
99
- 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.">]>;
100
- }, undefined>, v.DescriptionAction<{
101
- a: number;
102
- b: boolean;
103
- p: string;
104
- s: string;
105
- r: boolean;
106
- t: {
107
- limit: {
108
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
109
- };
110
- } | {
111
- trigger: {
112
- isMarket: boolean;
113
- triggerPx: string;
114
- tpsl: "tp" | "sl";
115
- };
116
- };
117
- c?: `0x${string}` | undefined;
118
- }, "Place order parameters.">]>;
119
- }, undefined>, undefined>, v.DescriptionAction<{
120
- oid: number | `0x${string}`;
121
- order: {
122
- a: number;
123
- b: boolean;
124
- p: string;
125
- s: string;
126
- r: boolean;
127
- t: {
128
- limit: {
129
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
130
- };
131
- } | {
132
- trigger: {
133
- isMarket: boolean;
134
- triggerPx: string;
135
- tpsl: "tp" | "sl";
136
- };
137
- };
138
- c?: `0x${string}` | undefined;
139
- };
140
- }[], "Order modifications.">]>;
141
- }, undefined>, v.DescriptionAction<{
142
- type: "batchModify";
143
- modifies: {
144
- oid: number | `0x${string}`;
145
- order: {
146
- a: number;
147
- b: boolean;
148
- p: string;
149
- s: string;
150
- r: boolean;
151
- t: {
152
- limit: {
153
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
154
- };
155
- } | {
156
- trigger: {
157
- isMarket: boolean;
158
- triggerPx: string;
159
- tpsl: "tp" | "sl";
160
- };
161
- };
162
- c?: `0x${string}` | undefined;
163
- };
164
- }[];
165
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
166
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of action.">]>;
167
- readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
168
- 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.">]>;
169
- 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.">]>;
170
- }, undefined>, undefined>, v.DescriptionAction<{
171
- a: number;
172
- o: number;
173
- }[], "Orders to cancel.">]>;
174
- }, undefined>, v.DescriptionAction<{
175
- type: "cancel";
176
- cancels: {
177
- a: number;
178
- o: number;
179
- }[];
180
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
181
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancelByCloid", undefined>, v.DescriptionAction<"cancelByCloid", "Type of action.">]>;
182
- readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
183
- 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.">]>;
184
- 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.">]>;
185
- }, undefined>, undefined>, v.DescriptionAction<{
186
- asset: number;
187
- cloid: `0x${string}`;
188
- }[], "Orders to cancel.">]>;
189
- }, undefined>, v.DescriptionAction<{
190
- type: "cancelByCloid";
191
- cancels: {
192
- asset: number;
193
- cloid: `0x${string}`;
194
- }[];
195
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
196
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cDeposit", undefined>, v.DescriptionAction<"cDeposit", "Type of action.">]>;
197
- 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.">]>;
198
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
199
- 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).">]>;
200
- 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).">]>;
201
- }, undefined>, v.DescriptionAction<{
202
- type: "cDeposit";
203
- signatureChainId: `0x${string}`;
204
- hyperliquidChain: "Testnet" | "Mainnet";
205
- wei: number;
206
- nonce: number;
207
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
208
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"claimRewards", undefined>, v.DescriptionAction<"claimRewards", "Type of action.">]>;
209
- }, undefined>, v.DescriptionAction<{
210
- type: "claimRewards";
211
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
212
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"convertToMultiSigUser", undefined>, v.DescriptionAction<"convertToMultiSigUser", "Type of action.">]>;
213
- 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.">]>;
214
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
215
- 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<{
216
- 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.">]>;
217
- 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.">]>;
218
- }, undefined>, v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Convert a multi-signature account to a single-signature account.">]>], undefined>, v.DescriptionAction<{
219
- authorizedUsers: `0x${string}`[];
220
- threshold: number;
221
- } | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
222
- authorizedUsers: `0x${string}`[];
223
- threshold: number;
224
- } | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
225
- 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.">]>;
226
- 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.">]>;
227
- }, undefined>, v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Convert a multi-signature account to a single-signature account.">]>], undefined>, v.DescriptionAction<{
228
- authorizedUsers: `0x${string}`[];
229
- threshold: number;
230
- } | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
231
- authorizedUsers: `0x${string}`[];
232
- threshold: number;
233
- } | null, undefined, undefined>]>], undefined>, v.DescriptionAction<string, string>]>;
234
- 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).">]>;
235
- }, undefined>, v.DescriptionAction<{
236
- type: "convertToMultiSigUser";
237
- signatureChainId: `0x${string}`;
238
- hyperliquidChain: "Testnet" | "Mainnet";
239
- signers: string;
240
- nonce: number;
241
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
242
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createSubAccount", undefined>, v.DescriptionAction<"createSubAccount", "Type of action.">]>;
243
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Sub-account name.">]>;
244
- }, undefined>, v.DescriptionAction<{
245
- type: "createSubAccount";
246
- name: string;
247
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
248
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createVault", undefined>, v.DescriptionAction<"createVault", "Type of action.">]>;
249
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 3, undefined>, v.DescriptionAction<string, "Vault name.">]>;
250
- readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 10, undefined>, v.DescriptionAction<string, "Vault description.">]>;
251
- 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).">]>;
252
- 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).">]>;
253
- }, undefined>, v.DescriptionAction<{
254
- type: "createVault";
255
- name: string;
256
- description: string;
257
- initialUsd: number;
258
- nonce: number;
259
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
260
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
261
- readonly jailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Jail the signer.">]>;
262
- }, undefined>, v.ObjectSchema<{
263
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
264
- readonly unjailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Unjail the signer.">]>;
265
- }, undefined>], undefined>, v.DescriptionAction<{
266
- type: "CSignerAction";
267
- jailSelf: null;
268
- } | {
269
- type: "CSignerAction";
270
- unjailSelf: null;
271
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
272
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
273
- readonly changeProfile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
274
- readonly node_ip: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
275
- readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
276
- }, undefined>, undefined>, v.DescriptionAction<{
277
- Ip: string;
278
- } | null, "Validator node IP address.">]>;
279
- readonly name: v.SchemaWithPipe<readonly [v.NullableSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | null, "Validator name.">]>;
280
- readonly description: v.SchemaWithPipe<readonly [v.NullableSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | null, "Validator description.">]>;
281
- readonly unjailed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Validator jail status.">]>;
282
- readonly disable_delegations: v.SchemaWithPipe<readonly [v.NullableSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | null, "Enable or disable delegations.">]>;
283
- 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%).">]>;
284
- 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.">]>;
285
- }, undefined>, v.DescriptionAction<{
286
- node_ip: {
287
- Ip: string;
288
- } | null;
289
- name: string | null;
290
- description: string | null;
291
- unjailed: boolean;
292
- disable_delegations: boolean | null;
293
- commission_bps: number | null;
294
- signer: `0x${string}` | null;
295
- }, "Profile changes to apply.">]>;
296
- }, undefined>, v.ObjectSchema<{
297
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
298
- readonly register: v.SchemaWithPipe<readonly [v.ObjectSchema<{
299
- readonly profile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
300
- readonly node_ip: v.SchemaWithPipe<readonly [v.ObjectSchema<{
301
- readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
302
- }, undefined>, v.DescriptionAction<{
303
- Ip: string;
304
- }, "Validator node IP address.">]>;
305
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Validator name.">]>;
306
- readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Validator description.">]>;
307
- readonly delegations_disabled: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether delegations are disabled.">]>;
308
- 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%).">]>;
309
- 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.">]>;
310
- }, undefined>, v.DescriptionAction<{
311
- node_ip: {
312
- Ip: string;
313
- };
314
- name: string;
315
- description: string;
316
- delegations_disabled: boolean;
317
- commission_bps: number;
318
- signer: `0x${string}`;
319
- }, "Validator profile information.">]>;
320
- readonly unjailed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Initial jail status.">]>;
321
- 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.">]>;
322
- }, undefined>, v.DescriptionAction<{
323
- profile: {
324
- node_ip: {
325
- Ip: string;
326
- };
327
- name: string;
328
- description: string;
329
- delegations_disabled: boolean;
330
- commission_bps: number;
331
- signer: `0x${string}`;
332
- };
333
- unjailed: boolean;
334
- initial_wei: number;
335
- }, "Registration parameters.">]>;
336
- }, undefined>, v.ObjectSchema<{
337
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
338
- readonly unregister: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Unregister the validator.">]>;
339
- }, undefined>], undefined>, v.DescriptionAction<{
340
- type: "CValidatorAction";
341
- changeProfile: {
342
- node_ip: {
343
- Ip: string;
344
- } | null;
345
- name: string | null;
346
- description: string | null;
347
- unjailed: boolean;
348
- disable_delegations: boolean | null;
349
- commission_bps: number | null;
350
- signer: `0x${string}` | null;
351
- };
352
- } | {
353
- type: "CValidatorAction";
354
- register: {
355
- profile: {
356
- node_ip: {
357
- Ip: string;
358
- };
359
- name: string;
360
- description: string;
361
- delegations_disabled: boolean;
362
- commission_bps: number;
363
- signer: `0x${string}`;
364
- };
365
- unjailed: boolean;
366
- initial_wei: number;
367
- };
368
- } | {
369
- type: "CValidatorAction";
370
- unregister: null;
371
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
372
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cWithdraw", undefined>, v.DescriptionAction<"cWithdraw", "Type of action.">]>;
373
- 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.">]>;
374
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
375
- 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).">]>;
376
- 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).">]>;
377
- }, undefined>, v.DescriptionAction<{
378
- type: "cWithdraw";
379
- signatureChainId: `0x${string}`;
380
- hyperliquidChain: "Testnet" | "Mainnet";
381
- wei: number;
382
- nonce: number;
383
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
384
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"evmUserModify", undefined>, v.DescriptionAction<"evmUserModify", "Type of action.">]>;
385
- readonly usingBigBlocks: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for large blocks, `false` for small blocks.">]>;
386
- }, undefined>, v.DescriptionAction<{
387
- type: "evmUserModify";
388
- usingBigBlocks: boolean;
389
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
390
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
391
- 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.">]>;
392
- readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
393
- 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.">]>;
394
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
395
- 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.">]>;
396
- 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).">]>;
397
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
398
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
399
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
400
- 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>]>;
401
- }, undefined>, v.DescriptionAction<{
402
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
403
- }, "Limit order parameters.">]>;
404
- }, undefined>, v.ObjectSchema<{
405
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
406
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
407
- 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.">]>;
408
- 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.">]>;
409
- }, undefined>, v.DescriptionAction<{
410
- isMarket: boolean;
411
- triggerPx: string;
412
- tpsl: "tp" | "sl";
413
- }, "Trigger order parameters.">]>;
414
- }, undefined>], undefined>, v.DescriptionAction<{
415
- limit: {
416
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
417
- };
418
- } | {
419
- trigger: {
420
- isMarket: boolean;
421
- triggerPx: string;
422
- tpsl: "tp" | "sl";
423
- };
424
- }, "Order type.">]>;
425
- 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.">]>;
426
- }, undefined>, v.DescriptionAction<{
427
- a: number;
428
- b: boolean;
429
- p: string;
430
- s: string;
431
- r: boolean;
432
- t: {
433
- limit: {
434
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
435
- };
436
- } | {
437
- trigger: {
438
- isMarket: boolean;
439
- triggerPx: string;
440
- tpsl: "tp" | "sl";
441
- };
442
- };
443
- c?: `0x${string}` | undefined;
444
- }, "Place order parameters.">]>;
445
- }, undefined>, v.DescriptionAction<{
446
- type: "modify";
447
- oid: number | `0x${string}`;
448
- order: {
449
- a: number;
450
- b: boolean;
451
- p: string;
452
- s: string;
453
- r: boolean;
454
- t: {
455
- limit: {
456
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
457
- };
458
- } | {
459
- trigger: {
460
- isMarket: boolean;
461
- triggerPx: string;
462
- tpsl: "tp" | "sl";
463
- };
464
- };
465
- c?: `0x${string}` | undefined;
466
- };
467
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
468
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"noop", undefined>, v.DescriptionAction<"noop", "Type of action.">]>;
469
- }, undefined>, v.DescriptionAction<{
470
- type: "noop";
471
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
472
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of action.">]>;
473
- readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
474
- 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.">]>;
475
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
476
- 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.">]>;
477
- 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).">]>;
478
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
479
- readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
480
- readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
481
- 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>]>;
482
- }, undefined>, v.DescriptionAction<{
483
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
484
- }, "Limit order parameters.">]>;
485
- }, undefined>, v.ObjectSchema<{
486
- readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
487
- readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
488
- 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.">]>;
489
- 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.">]>;
490
- }, undefined>, v.DescriptionAction<{
491
- isMarket: boolean;
492
- triggerPx: string;
493
- tpsl: "tp" | "sl";
494
- }, "Trigger order parameters.">]>;
495
- }, undefined>], undefined>, v.DescriptionAction<{
496
- limit: {
497
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
498
- };
499
- } | {
500
- trigger: {
501
- isMarket: boolean;
502
- triggerPx: string;
503
- tpsl: "tp" | "sl";
504
- };
505
- }, "Order type.">]>;
506
- 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.">]>;
507
- }, undefined>, v.DescriptionAction<{
508
- a: number;
509
- b: boolean;
510
- p: string;
511
- s: string;
512
- r: boolean;
513
- t: {
514
- limit: {
515
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
516
- };
517
- } | {
518
- trigger: {
519
- isMarket: boolean;
520
- triggerPx: string;
521
- tpsl: "tp" | "sl";
522
- };
523
- };
524
- c?: `0x${string}` | undefined;
525
- }, "Place order parameters.">]>, undefined>, v.DescriptionAction<{
526
- a: number;
527
- b: boolean;
528
- p: string;
529
- s: string;
530
- r: boolean;
531
- t: {
532
- limit: {
533
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
534
- };
535
- } | {
536
- trigger: {
537
- isMarket: boolean;
538
- triggerPx: string;
539
- tpsl: "tp" | "sl";
540
- };
541
- };
542
- c?: `0x${string}` | undefined;
543
- }[], "Order parameters.">]>;
544
- 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>]>;
545
- readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
546
- 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.">]>;
547
- 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%).">]>;
548
- }, undefined>, undefined>, v.DescriptionAction<{
549
- b: `0x${string}`;
550
- f: number;
551
- } | undefined, "Builder fee.">]>;
552
- }, undefined>, v.DescriptionAction<{
553
- type: "order";
554
- orders: {
555
- a: number;
556
- b: boolean;
557
- p: string;
558
- s: string;
559
- r: boolean;
560
- t: {
561
- limit: {
562
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
563
- };
564
- } | {
565
- trigger: {
566
- isMarket: boolean;
567
- triggerPx: string;
568
- tpsl: "tp" | "sl";
569
- };
570
- };
571
- c?: `0x${string}` | undefined;
572
- }[];
573
- grouping: "na" | "normalTpsl" | "positionTpsl";
574
- builder?: {
575
- b: `0x${string}`;
576
- f: number;
577
- } | undefined;
578
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
579
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
580
- readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
581
- 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.">]>;
582
- readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
583
- readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
584
- 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.">]>;
585
- 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.">]>;
586
- 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.">]>;
587
- readonly onlyIsolated: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the asset can only be traded with isolated margin.">]>;
588
- }, undefined>, v.DescriptionAction<{
589
- coin: string;
590
- szDecimals: number;
591
- oraclePx: string;
592
- marginTableId: number;
593
- onlyIsolated: boolean;
594
- }, "Contains new asset listing parameters.">]>;
595
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
596
- readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
597
- readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
598
- 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.">]>;
599
- 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.">]>;
600
- }, undefined>, undefined>, v.DescriptionAction<{
601
- fullName: string;
602
- collateralToken: number;
603
- oracleUpdater: `0x${string}` | null;
604
- } | null, "Contains new dex parameters.">]>;
605
- }, undefined>, v.DescriptionAction<{
606
- maxGas: number | null;
607
- assetRequest: {
608
- coin: string;
609
- szDecimals: number;
610
- oraclePx: string;
611
- marginTableId: number;
612
- onlyIsolated: boolean;
613
- };
614
- dex: string;
615
- schema: {
616
- fullName: string;
617
- collateralToken: number;
618
- oracleUpdater: `0x${string}` | null;
619
- } | null;
620
- }, "Parameters for registering a new perpetual asset.">]>;
621
- }, undefined>, v.ObjectSchema<{
622
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
623
- readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
624
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
625
- 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.">]>;
626
- 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.">]>;
627
- 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.">]>;
628
- }, undefined>, v.DescriptionAction<{
629
- dex: string;
630
- oraclePxs: [string, string][];
631
- markPxs: [string, string][][];
632
- externalPerpPxs: [string, string][];
633
- }, "Parameters for setting oracle and mark prices for assets.">]>;
634
- }, undefined>, v.ObjectSchema<{
635
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
636
- 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.">]>;
637
- }, undefined>, v.ObjectSchema<{
638
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
639
- readonly haltTrading: v.SchemaWithPipe<readonly [v.ObjectSchema<{
640
- readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the asset to halt or resume.">]>;
641
- readonly isHalted: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether trading should be halted (true) or resumed (false).">]>;
642
- }, undefined>, v.DescriptionAction<{
643
- coin: string;
644
- isHalted: boolean;
645
- }, "Parameters for halting or resuming trading for an asset.">]>;
646
- }, undefined>, v.ObjectSchema<{
647
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
648
- 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.">]>;
649
- }, undefined>, v.ObjectSchema<{
650
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
651
- readonly setFeeRecipient: v.SchemaWithPipe<readonly [v.ObjectSchema<{
652
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
653
- 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.">]>;
654
- }, undefined>, v.DescriptionAction<{
655
- dex: string;
656
- feeRecipient: `0x${string}`;
657
- }, "Parameters for setting the fee recipient.">]>;
658
- }, undefined>, v.ObjectSchema<{
659
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
660
- 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.">]>;
661
- }, undefined>, v.ObjectSchema<{
662
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
663
- readonly setSubDeployers: v.SchemaWithPipe<readonly [v.ObjectSchema<{
664
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
665
- readonly subDeployers: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
666
- readonly variant: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Corresponds to a variant of PerpDeployAction.">]>;
667
- 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.">]>;
668
- readonly allowed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Add or remove the subDeployer from the authorized set for the action variant.">]>;
669
- }, undefined>, undefined>, v.DescriptionAction<{
670
- variant: string;
671
- user: `0x${string}`;
672
- allowed: boolean;
673
- }[], "A modification to sub-deployer permissions.">]>;
674
- }, undefined>, v.DescriptionAction<{
675
- dex: string;
676
- subDeployers: {
677
- variant: string;
678
- user: `0x${string}`;
679
- allowed: boolean;
680
- }[];
681
- }, "A modification to sub-deployer permissions.">]>;
682
- }, undefined>, v.ObjectSchema<{
683
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
684
- readonly setFeeScale: v.SchemaWithPipe<readonly [v.ObjectSchema<{
685
- readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
686
- 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).">]>;
687
- }, undefined>, v.DescriptionAction<{
688
- dex: string;
689
- scale: string;
690
- }, "Set fee scale.">]>;
691
- }, undefined>], undefined>, v.DescriptionAction<{
692
- type: "perpDeploy";
693
- registerAsset: {
694
- maxGas: number | null;
695
- assetRequest: {
696
- coin: string;
697
- szDecimals: number;
698
- oraclePx: string;
699
- marginTableId: number;
700
- onlyIsolated: boolean;
701
- };
702
- dex: string;
703
- schema: {
704
- fullName: string;
705
- collateralToken: number;
706
- oracleUpdater: `0x${string}` | null;
707
- } | null;
708
- };
709
- } | {
710
- type: "perpDeploy";
711
- setOracle: {
712
- dex: string;
713
- oraclePxs: [string, string][];
714
- markPxs: [string, string][][];
715
- externalPerpPxs: [string, string][];
716
- };
717
- } | {
718
- type: "perpDeploy";
719
- setFundingMultipliers: [string, string][];
720
- } | {
721
- type: "perpDeploy";
722
- haltTrading: {
723
- coin: string;
724
- isHalted: boolean;
725
- };
726
- } | {
727
- type: "perpDeploy";
728
- setMarginTableIds: [string, number][];
729
- } | {
730
- type: "perpDeploy";
731
- setFeeRecipient: {
732
- dex: string;
733
- feeRecipient: `0x${string}`;
734
- };
735
- } | {
736
- type: "perpDeploy";
737
- setOpenInterestCaps: [string, number][];
738
- } | {
739
- type: "perpDeploy";
740
- setSubDeployers: {
741
- dex: string;
742
- subDeployers: {
743
- variant: string;
744
- user: `0x${string}`;
745
- allowed: boolean;
746
- }[];
747
- };
748
- } | {
749
- type: "perpDeploy";
750
- setFeeScale: {
751
- dex: string;
752
- scale: string;
753
- };
754
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
755
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"registerReferrer", undefined>, v.DescriptionAction<"registerReferrer", "Type of action.">]>;
756
- readonly code: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Referral code to create.">]>;
757
- }, undefined>, v.DescriptionAction<{
758
- type: "registerReferrer";
759
- code: string;
760
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
761
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"reserveRequestWeight", undefined>, v.DescriptionAction<"reserveRequestWeight", "Type of action.">]>;
762
- 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.">]>;
763
- }, undefined>, v.DescriptionAction<{
764
- type: "reserveRequestWeight";
765
- weight: number;
766
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
767
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"scheduleCancel", undefined>, v.DescriptionAction<"scheduleCancel", "Type of action.">]>;
768
- 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>]>;
769
- }, undefined>, v.DescriptionAction<{
770
- type: "scheduleCancel";
771
- time?: number | undefined;
772
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
773
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"sendAsset", undefined>, v.DescriptionAction<"sendAsset", "Type of action.">]>;
774
- 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.">]>;
775
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
776
- 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.">]>;
777
- readonly sourceDex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Source DEX (\"\" for default USDC perp DEX, \"spot\" for spot).">]>;
778
- readonly destinationDex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Destination DEX (\"\" for default USDC perp DEX, \"spot\" for spot).">]>;
779
- 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.">]>;
780
- 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).">]>;
781
- 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).">]>;
782
- 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).">]>;
783
- }, undefined>, v.DescriptionAction<{
784
- type: "sendAsset";
785
- signatureChainId: `0x${string}`;
786
- hyperliquidChain: "Testnet" | "Mainnet";
787
- destination: `0x${string}`;
788
- sourceDex: string;
789
- destinationDex: string;
790
- token: `${string}:0x${string}`;
791
- amount: string;
792
- fromSubAccount: "" | `0x${string}`;
793
- nonce: number;
794
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
795
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setDisplayName", undefined>, v.DescriptionAction<"setDisplayName", "Type of action.">]>;
796
- readonly displayName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, string>]>;
797
- }, undefined>, v.DescriptionAction<{
798
- type: "setDisplayName";
799
- displayName: string;
800
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
801
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setReferrer", undefined>, v.DescriptionAction<"setReferrer", "Type of action.">]>;
802
- readonly code: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Referral code.">]>;
803
- }, undefined>, v.DescriptionAction<{
804
- type: "setReferrer";
805
- code: string;
806
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
807
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
808
- readonly genesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
809
- 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.">]>;
810
- 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.">]>;
811
- readonly noHyperliquidity: v.SchemaWithPipe<readonly [v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>, v.DescriptionAction<true | undefined, "Set hyperliquidity balance to 0.">]>;
812
- }, undefined>, v.DescriptionAction<{
813
- token: number;
814
- maxSupply: string;
815
- noHyperliquidity?: true | undefined;
816
- }, "Genesis parameters.">]>;
817
- }, undefined>, v.DescriptionAction<{
818
- type: "spotDeploy";
819
- genesis: {
820
- token: number;
821
- maxSupply: string;
822
- noHyperliquidity?: true | undefined;
823
- };
824
- }, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
825
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
826
- readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.ObjectSchema<{
827
- 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).">]>;
828
- 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.">]>;
829
- 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).">]>;
830
- 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.">]>;
831
- 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.">]>;
832
- }, undefined>, v.DescriptionAction<{
833
- spot: number;
834
- startPx: string;
835
- orderSz: string;
836
- nOrders: number;
837
- nSeededLevels?: number | undefined;
838
- }, "Register hyperliquidity parameters.">]>;
839
- }, undefined>, v.DescriptionAction<{
840
- type: "spotDeploy";
841
- registerHyperliquidity: {
842
- spot: number;
843
- startPx: string;
844
- orderSz: string;
845
- nOrders: number;
846
- nSeededLevels?: number | undefined;
847
- };
848
- }, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
849
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
850
- readonly registerSpot: v.SchemaWithPipe<readonly [v.ObjectSchema<{
851
- 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.">]>;
852
- }, undefined>, v.DescriptionAction<{
853
- tokens: [number, number];
854
- }, "Register spot parameters.">]>;
855
- }, undefined>, v.DescriptionAction<{
856
- type: "spotDeploy";
857
- registerSpot: {
858
- tokens: [number, number];
859
- };
860
- }, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
861
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
862
- readonly registerToken2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
863
- readonly spec: v.SchemaWithPipe<readonly [v.ObjectSchema<{
864
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Token name.">]>;
865
- 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.">]>;
866
- 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.">]>;
867
- }, undefined>, v.DescriptionAction<{
868
- name: string;
869
- szDecimals: number;
870
- weiDecimals: number;
871
- }, "Token specifications.">]>;
872
- 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.">]>;
873
- readonly fullName: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "Optional full token name.">]>;
874
- }, undefined>, v.DescriptionAction<{
875
- spec: {
876
- name: string;
877
- szDecimals: number;
878
- weiDecimals: number;
879
- };
880
- maxGas: number;
881
- fullName?: string | undefined;
882
- }, "Register token parameters.">]>;
883
- }, undefined>, v.DescriptionAction<{
884
- type: "spotDeploy";
885
- registerToken2: {
886
- spec: {
887
- name: string;
888
- szDecimals: number;
889
- weiDecimals: number;
890
- };
891
- maxGas: number;
892
- fullName?: string | undefined;
893
- };
894
- }, "Register token variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
895
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
896
- readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.ObjectSchema<{
897
- 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.">]>;
898
- 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%.">]>;
899
- }, undefined>, v.DescriptionAction<{
900
- token: number;
901
- share: `${string}%`;
902
- }, "Set deployer trading fee share parameters.">]>;
903
- }, undefined>, v.DescriptionAction<{
904
- type: "spotDeploy";
905
- setDeployerTradingFeeShare: {
906
- token: number;
907
- share: `${string}%`;
908
- };
909
- }, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
910
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
911
- readonly userGenesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
912
- 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.">]>;
913
- 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].">]>;
914
- 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].">]>;
915
- 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).">]>;
916
- }, undefined>, v.DescriptionAction<{
917
- token: number;
918
- userAndWei: [`0x${string}`, string][];
919
- existingTokenAndWei: [number, string][];
920
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
921
- }, "User genesis parameters.">]>;
922
- }, undefined>, v.DescriptionAction<{
923
- type: "spotDeploy";
924
- userGenesis: {
925
- token: number;
926
- userAndWei: [`0x${string}`, string][];
927
- existingTokenAndWei: [number, string][];
928
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
929
- };
930
- }, "User genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
931
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
932
- readonly enableQuoteToken: v.SchemaWithPipe<readonly [v.ObjectSchema<{
933
- 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.">]>;
934
- }, undefined>, v.DescriptionAction<{
935
- token: number;
936
- }, "Enable quote token parameters.">]>;
937
- }, undefined>, v.DescriptionAction<{
938
- type: "spotDeploy";
939
- enableQuoteToken: {
940
- token: number;
941
- };
942
- }, "Convert token to quote token variant">]>], undefined>, v.DescriptionAction<{
943
- type: "spotDeploy";
944
- genesis: {
945
- token: number;
946
- maxSupply: string;
947
- noHyperliquidity?: true | undefined;
948
- };
949
- } | {
950
- type: "spotDeploy";
951
- registerHyperliquidity: {
952
- spot: number;
953
- startPx: string;
954
- orderSz: string;
955
- nOrders: number;
956
- nSeededLevels?: number | undefined;
957
- };
958
- } | {
959
- type: "spotDeploy";
960
- registerSpot: {
961
- tokens: [number, number];
962
- };
963
- } | {
964
- type: "spotDeploy";
965
- registerToken2: {
966
- spec: {
967
- name: string;
968
- szDecimals: number;
969
- weiDecimals: number;
970
- };
971
- maxGas: number;
972
- fullName?: string | undefined;
973
- };
974
- } | {
975
- type: "spotDeploy";
976
- setDeployerTradingFeeShare: {
977
- token: number;
978
- share: `${string}%`;
979
- };
980
- } | {
981
- type: "spotDeploy";
982
- userGenesis: {
983
- token: number;
984
- userAndWei: [`0x${string}`, string][];
985
- existingTokenAndWei: [number, string][];
986
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
987
- };
988
- } | {
989
- type: "spotDeploy";
990
- enableQuoteToken: {
991
- token: number;
992
- };
993
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
994
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotSend", undefined>, v.DescriptionAction<"spotSend", "Type of action.">]>;
995
- 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.">]>;
996
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
997
- 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.">]>;
998
- 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.">]>;
999
- 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).">]>;
1000
- 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).">]>;
1001
- }, undefined>, v.DescriptionAction<{
1002
- type: "spotSend";
1003
- signatureChainId: `0x${string}`;
1004
- hyperliquidChain: "Testnet" | "Mainnet";
1005
- destination: `0x${string}`;
1006
- token: `${string}:0x${string}`;
1007
- amount: string;
1008
- time: number;
1009
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1010
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotUser", undefined>, v.DescriptionAction<"spotUser", "Type of action.">]>;
1011
- readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1012
- readonly optOut: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Opt out of spot dusting.">]>;
1013
- }, undefined>, v.DescriptionAction<{
1014
- optOut: boolean;
1015
- }, "Spot dusting options.">]>;
1016
- }, undefined>, v.DescriptionAction<{
1017
- type: "spotUser";
1018
- toggleSpotDusting: {
1019
- optOut: boolean;
1020
- };
1021
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1022
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountModify", undefined>, v.DescriptionAction<"subAccountModify", "Type of action.">]>;
1023
- 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.">]>;
1024
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "New sub-account name.">]>;
1025
- }, undefined>, v.DescriptionAction<{
1026
- type: "subAccountModify";
1027
- subAccountUser: `0x${string}`;
1028
- name: string;
1029
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1030
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountSpotTransfer", undefined>, v.DescriptionAction<"subAccountSpotTransfer", "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.">]>;
1032
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1033
- 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.">]>;
1034
- 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).">]>;
1035
- }, undefined>, v.DescriptionAction<{
1036
- type: "subAccountSpotTransfer";
1037
- subAccountUser: `0x${string}`;
1038
- isDeposit: boolean;
1039
- token: `${string}:0x${string}`;
1040
- amount: string;
1041
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1042
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Type of action.">]>;
1043
- 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.">]>;
1044
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1045
- 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).">]>;
1046
- }, undefined>, v.DescriptionAction<{
1047
- type: "subAccountTransfer";
1048
- subAccountUser: `0x${string}`;
1049
- isDeposit: boolean;
1050
- usd: number;
1051
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1052
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"tokenDelegate", undefined>, v.DescriptionAction<"tokenDelegate", "Type of action.">]>;
1053
- 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.">]>;
1054
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1055
- 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.">]>;
1056
- 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).">]>;
1057
- readonly isUndelegate: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for undelegate, `false` for delegate.">]>;
1058
- 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).">]>;
1059
- }, undefined>, v.DescriptionAction<{
1060
- type: "tokenDelegate";
1061
- signatureChainId: `0x${string}`;
1062
- hyperliquidChain: "Testnet" | "Mainnet";
1063
- validator: `0x${string}`;
1064
- wei: number;
1065
- isUndelegate: boolean;
1066
- nonce: number;
1067
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1068
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapCancel", undefined>, v.DescriptionAction<"twapCancel", "Type of action.">]>;
1069
- 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.">]>;
1070
- 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.">]>;
1071
- }, undefined>, v.DescriptionAction<{
1072
- type: "twapCancel";
1073
- a: number;
1074
- t: number;
1075
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1076
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapOrder", undefined>, v.DescriptionAction<"twapOrder", "Type of action.">]>;
1077
- readonly twap: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1078
- 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.">]>;
1079
- readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
1080
- 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).">]>;
1081
- readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
1082
- 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.">]>;
1083
- readonly t: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Enable random order timing.">]>;
1084
- }, undefined>, v.DescriptionAction<{
1085
- a: number;
1086
- b: boolean;
1087
- s: string;
1088
- r: boolean;
1089
- m: number;
1090
- t: boolean;
1091
- }, "Twap parameters.">]>;
1092
- }, undefined>, v.DescriptionAction<{
1093
- type: "twapOrder";
1094
- twap: {
1095
- a: number;
1096
- b: boolean;
1097
- s: string;
1098
- r: boolean;
1099
- m: number;
1100
- t: boolean;
1101
- };
1102
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1103
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateIsolatedMargin", undefined>, v.DescriptionAction<"updateIsolatedMargin", "Type of action.">]>;
1104
- 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.">]>;
1105
- readonly isBuy: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
1106
- 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).">]>;
1107
- }, undefined>, v.DescriptionAction<{
1108
- type: "updateIsolatedMargin";
1109
- asset: number;
1110
- isBuy: boolean;
1111
- ntli: number;
1112
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1113
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateLeverage", undefined>, v.DescriptionAction<"updateLeverage", "Type of action.">]>;
1114
- 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.">]>;
1115
- readonly isCross: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for cross leverage, `false` for isolated leverage.">]>;
1116
- 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.">]>;
1117
- }, undefined>, v.DescriptionAction<{
1118
- type: "updateLeverage";
1119
- asset: number;
1120
- isCross: boolean;
1121
- leverage: number;
1122
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1123
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdClassTransfer", undefined>, v.DescriptionAction<"usdClassTransfer", "Type of action.">]>;
1124
- 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.">]>;
1125
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1126
- 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).">]>;
1127
- readonly toPerp: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for Spot to Perp, `false` for Perp to Spot.">]>;
1128
- 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).">]>;
1129
- }, undefined>, v.DescriptionAction<{
1130
- type: "usdClassTransfer";
1131
- signatureChainId: `0x${string}`;
1132
- hyperliquidChain: "Testnet" | "Mainnet";
1133
- amount: string;
1134
- toPerp: boolean;
1135
- nonce: number;
1136
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1137
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdSend", undefined>, v.DescriptionAction<"usdSend", "Type of action.">]>;
1138
- 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.">]>;
1139
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1140
- 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.">]>;
1141
- 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).">]>;
1142
- 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).">]>;
1143
- }, undefined>, v.DescriptionAction<{
1144
- type: "usdSend";
1145
- signatureChainId: `0x${string}`;
1146
- hyperliquidChain: "Testnet" | "Mainnet";
1147
- destination: `0x${string}`;
1148
- amount: string;
1149
- time: number;
1150
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1151
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribute", undefined>, v.DescriptionAction<"vaultDistribute", "Type of action.">]>;
1152
- 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.">]>;
1153
- 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>]>;
1154
- }, undefined>, v.DescriptionAction<{
1155
- type: "vaultDistribute";
1156
- vaultAddress: `0x${string}`;
1157
- usd: number;
1158
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1159
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultModify", undefined>, v.DescriptionAction<"vaultModify", "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 allowDeposits: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, null>, v.DescriptionAction<boolean | null, "Allow deposits from followers.">]>;
1162
- readonly alwaysCloseOnWithdraw: v.SchemaWithPipe<readonly [v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, null>, v.DescriptionAction<boolean | null, "Always close positions on withdrawal.">]>;
1163
- }, undefined>, v.DescriptionAction<{
1164
- type: "vaultModify";
1165
- vaultAddress: `0x${string}`;
1166
- allowDeposits: boolean | null;
1167
- alwaysCloseOnWithdraw: boolean | null;
1168
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1169
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultTransfer", undefined>, v.DescriptionAction<"vaultTransfer", "Type of action.">]>;
1170
- 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.">]>;
1171
- readonly isDeposit: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "`true` for deposit, `false` for withdrawal.">]>;
1172
- 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).">]>;
1173
- }, undefined>, v.DescriptionAction<{
1174
- type: "vaultTransfer";
1175
- vaultAddress: `0x${string}`;
1176
- isDeposit: boolean;
1177
- usd: number;
1178
- }, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1179
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw3", undefined>, v.DescriptionAction<"withdraw3", "Type of action.">]>;
1180
- 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.">]>;
1181
- readonly hyperliquidChain: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Mainnet", undefined>, v.LiteralSchema<"Testnet", undefined>], undefined>, v.DescriptionAction<"Testnet" | "Mainnet", "HyperLiquid network.">]>;
1182
- 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.">]>;
1183
- 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).">]>;
1184
- 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).">]>;
1185
- }, undefined>, v.DescriptionAction<{
1186
- type: "withdraw3";
1187
- signatureChainId: `0x${string}`;
1188
- hyperliquidChain: "Testnet" | "Mainnet";
1189
- destination: `0x${string}`;
1190
- amount: string;
1191
- time: number;
1192
- }, "Action to perform.">]>], undefined>, v.DescriptionAction<{
1193
- type: "cancel";
1194
- cancels: {
1195
- a: number;
1196
- o: number;
1197
- }[];
1198
- } | {
1199
- type: "order";
1200
- orders: {
1201
- a: number;
1202
- b: boolean;
1203
- p: string;
1204
- s: string;
1205
- r: boolean;
1206
- t: {
1207
- limit: {
1208
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1209
- };
1210
- } | {
1211
- trigger: {
1212
- isMarket: boolean;
1213
- triggerPx: string;
1214
- tpsl: "tp" | "sl";
1215
- };
1216
- };
1217
- c?: `0x${string}` | undefined;
1218
- }[];
1219
- grouping: "na" | "normalTpsl" | "positionTpsl";
1220
- builder?: {
1221
- b: `0x${string}`;
1222
- f: number;
1223
- } | undefined;
1224
- } | {
1225
- type: "twapOrder";
1226
- twap: {
1227
- a: number;
1228
- b: boolean;
1229
- s: string;
1230
- r: boolean;
1231
- m: number;
1232
- t: boolean;
1233
- };
1234
- } | {
1235
- type: "twapCancel";
1236
- a: number;
1237
- t: number;
1238
- } | {
1239
- type: "createSubAccount";
1240
- name: string;
1241
- } | {
1242
- type: "createVault";
1243
- name: string;
1244
- description: string;
1245
- initialUsd: number;
1246
- nonce: number;
1247
- } | {
1248
- type: "approveAgent";
1249
- signatureChainId: `0x${string}`;
1250
- hyperliquidChain: "Testnet" | "Mainnet";
1251
- agentAddress: `0x${string}`;
1252
- agentName: string | null;
1253
- nonce: number;
1254
- } | {
1255
- type: "approveBuilderFee";
1256
- signatureChainId: `0x${string}`;
1257
- hyperliquidChain: "Testnet" | "Mainnet";
1258
- maxFeeRate: `${string}%`;
1259
- builder: `0x${string}`;
1260
- nonce: number;
1261
- } | {
1262
- type: "batchModify";
1263
- modifies: {
1264
- oid: number | `0x${string}`;
1265
- order: {
1266
- a: number;
1267
- b: boolean;
1268
- p: string;
1269
- s: string;
1270
- r: boolean;
1271
- t: {
1272
- limit: {
1273
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1274
- };
1275
- } | {
1276
- trigger: {
1277
- isMarket: boolean;
1278
- triggerPx: string;
1279
- tpsl: "tp" | "sl";
1280
- };
1281
- };
1282
- c?: `0x${string}` | undefined;
1283
- };
1284
- }[];
1285
- } | {
1286
- type: "cancelByCloid";
1287
- cancels: {
1288
- asset: number;
1289
- cloid: `0x${string}`;
1290
- }[];
1291
- } | {
1292
- type: "cDeposit";
1293
- signatureChainId: `0x${string}`;
1294
- hyperliquidChain: "Testnet" | "Mainnet";
1295
- wei: number;
1296
- nonce: number;
1297
- } | {
1298
- type: "claimRewards";
1299
- } | {
1300
- type: "convertToMultiSigUser";
1301
- signatureChainId: `0x${string}`;
1302
- hyperliquidChain: "Testnet" | "Mainnet";
1303
- signers: string;
1304
- nonce: number;
1305
- } | {
1306
- type: "CSignerAction";
1307
- jailSelf: null;
1308
- } | {
1309
- type: "CSignerAction";
1310
- unjailSelf: null;
1311
- } | {
1312
- type: "CValidatorAction";
1313
- changeProfile: {
1314
- node_ip: {
1315
- Ip: string;
1316
- } | null;
1317
- name: string | null;
1318
- description: string | null;
1319
- unjailed: boolean;
1320
- disable_delegations: boolean | null;
1321
- commission_bps: number | null;
1322
- signer: `0x${string}` | null;
1323
- };
1324
- } | {
1325
- type: "CValidatorAction";
1326
- register: {
1327
- profile: {
1328
- node_ip: {
1329
- Ip: string;
1330
- };
1331
- name: string;
1332
- description: string;
1333
- delegations_disabled: boolean;
1334
- commission_bps: number;
1335
- signer: `0x${string}`;
1336
- };
1337
- unjailed: boolean;
1338
- initial_wei: number;
1339
- };
1340
- } | {
1341
- type: "CValidatorAction";
1342
- unregister: null;
1343
- } | {
1344
- type: "cWithdraw";
1345
- signatureChainId: `0x${string}`;
1346
- hyperliquidChain: "Testnet" | "Mainnet";
1347
- wei: number;
1348
- nonce: number;
1349
- } | {
1350
- type: "evmUserModify";
1351
- usingBigBlocks: boolean;
1352
- } | {
1353
- type: "modify";
1354
- oid: number | `0x${string}`;
1355
- order: {
1356
- a: number;
1357
- b: boolean;
1358
- p: string;
1359
- s: string;
1360
- r: boolean;
1361
- t: {
1362
- limit: {
1363
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1364
- };
1365
- } | {
1366
- trigger: {
1367
- isMarket: boolean;
1368
- triggerPx: string;
1369
- tpsl: "tp" | "sl";
1370
- };
1371
- };
1372
- c?: `0x${string}` | undefined;
1373
- };
1374
- } | {
1375
- type: "noop";
1376
- } | {
1377
- type: "registerReferrer";
1378
- code: string;
1379
- } | {
1380
- type: "reserveRequestWeight";
1381
- weight: number;
1382
- } | {
1383
- type: "scheduleCancel";
1384
- time?: number | undefined;
1385
- } | {
1386
- type: "setDisplayName";
1387
- displayName: string;
1388
- } | {
1389
- type: "setReferrer";
1390
- code: string;
1391
- } | {
1392
- type: "spotDeploy";
1393
- genesis: {
1394
- token: number;
1395
- maxSupply: string;
1396
- noHyperliquidity?: true | undefined;
1397
- };
1398
- } | {
1399
- type: "spotDeploy";
1400
- registerHyperliquidity: {
1401
- spot: number;
1402
- startPx: string;
1403
- orderSz: string;
1404
- nOrders: number;
1405
- nSeededLevels?: number | undefined;
1406
- };
1407
- } | {
1408
- type: "spotDeploy";
1409
- registerSpot: {
1410
- tokens: [number, number];
1411
- };
1412
- } | {
1413
- type: "spotDeploy";
1414
- registerToken2: {
1415
- spec: {
1416
- name: string;
1417
- szDecimals: number;
1418
- weiDecimals: number;
1419
- };
1420
- maxGas: number;
1421
- fullName?: string | undefined;
1422
- };
1423
- } | {
1424
- type: "spotDeploy";
1425
- setDeployerTradingFeeShare: {
1426
- token: number;
1427
- share: `${string}%`;
1428
- };
1429
- } | {
1430
- type: "spotDeploy";
1431
- userGenesis: {
1432
- token: number;
1433
- userAndWei: [`0x${string}`, string][];
1434
- existingTokenAndWei: [number, string][];
1435
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
1436
- };
1437
- } | {
1438
- type: "spotDeploy";
1439
- enableQuoteToken: {
1440
- token: number;
1441
- };
1442
- } | {
1443
- type: "subAccountModify";
1444
- subAccountUser: `0x${string}`;
1445
- name: string;
1446
- } | {
1447
- type: "tokenDelegate";
1448
- signatureChainId: `0x${string}`;
1449
- hyperliquidChain: "Testnet" | "Mainnet";
1450
- validator: `0x${string}`;
1451
- wei: number;
1452
- isUndelegate: boolean;
1453
- nonce: number;
1454
- } | {
1455
- type: "usdClassTransfer";
1456
- signatureChainId: `0x${string}`;
1457
- hyperliquidChain: "Testnet" | "Mainnet";
1458
- amount: string;
1459
- toPerp: boolean;
1460
- nonce: number;
1461
- } | {
1462
- type: "vaultDistribute";
1463
- vaultAddress: `0x${string}`;
1464
- usd: number;
1465
- } | {
1466
- type: "withdraw3";
1467
- signatureChainId: `0x${string}`;
1468
- hyperliquidChain: "Testnet" | "Mainnet";
1469
- destination: `0x${string}`;
1470
- amount: string;
1471
- time: number;
1472
- } | {
1473
- type: "perpDeploy";
1474
- registerAsset: {
1475
- maxGas: number | null;
1476
- assetRequest: {
1477
- coin: string;
1478
- szDecimals: number;
1479
- oraclePx: string;
1480
- marginTableId: number;
1481
- onlyIsolated: boolean;
1482
- };
1483
- dex: string;
1484
- schema: {
1485
- fullName: string;
1486
- collateralToken: number;
1487
- oracleUpdater: `0x${string}` | null;
1488
- } | null;
1489
- };
1490
- } | {
1491
- type: "perpDeploy";
1492
- setOracle: {
1493
- dex: string;
1494
- oraclePxs: [string, string][];
1495
- markPxs: [string, string][][];
1496
- externalPerpPxs: [string, string][];
1497
- };
1498
- } | {
1499
- type: "perpDeploy";
1500
- setFundingMultipliers: [string, string][];
1501
- } | {
1502
- type: "perpDeploy";
1503
- haltTrading: {
1504
- coin: string;
1505
- isHalted: boolean;
1506
- };
1507
- } | {
1508
- type: "perpDeploy";
1509
- setMarginTableIds: [string, number][];
1510
- } | {
1511
- type: "perpDeploy";
1512
- setFeeRecipient: {
1513
- dex: string;
1514
- feeRecipient: `0x${string}`;
1515
- };
1516
- } | {
1517
- type: "perpDeploy";
1518
- setOpenInterestCaps: [string, number][];
1519
- } | {
1520
- type: "perpDeploy";
1521
- setSubDeployers: {
1522
- dex: string;
1523
- subDeployers: {
1524
- variant: string;
1525
- user: `0x${string}`;
1526
- allowed: boolean;
1527
- }[];
1528
- };
1529
- } | {
1530
- type: "perpDeploy";
1531
- setFeeScale: {
1532
- dex: string;
1533
- scale: string;
1534
- };
1535
- } | {
1536
- type: "sendAsset";
1537
- signatureChainId: `0x${string}`;
1538
- hyperliquidChain: "Testnet" | "Mainnet";
1539
- destination: `0x${string}`;
1540
- sourceDex: string;
1541
- destinationDex: string;
1542
- token: `${string}:0x${string}`;
1543
- amount: string;
1544
- fromSubAccount: "" | `0x${string}`;
1545
- nonce: number;
1546
- } | {
1547
- type: "spotSend";
1548
- signatureChainId: `0x${string}`;
1549
- hyperliquidChain: "Testnet" | "Mainnet";
1550
- destination: `0x${string}`;
1551
- token: `${string}:0x${string}`;
1552
- amount: string;
1553
- time: number;
1554
- } | {
1555
- type: "spotUser";
1556
- toggleSpotDusting: {
1557
- optOut: boolean;
1558
- };
1559
- } | {
1560
- type: "subAccountSpotTransfer";
1561
- subAccountUser: `0x${string}`;
1562
- isDeposit: boolean;
1563
- token: `${string}:0x${string}`;
1564
- amount: string;
1565
- } | {
1566
- type: "subAccountTransfer";
1567
- subAccountUser: `0x${string}`;
1568
- isDeposit: boolean;
1569
- usd: number;
1570
- } | {
1571
- type: "updateIsolatedMargin";
1572
- asset: number;
1573
- isBuy: boolean;
1574
- ntli: number;
1575
- } | {
1576
- type: "updateLeverage";
1577
- asset: number;
1578
- isCross: boolean;
1579
- leverage: number;
1580
- } | {
1581
- type: "usdSend";
1582
- signatureChainId: `0x${string}`;
1583
- hyperliquidChain: "Testnet" | "Mainnet";
1584
- destination: `0x${string}`;
1585
- amount: string;
1586
- time: number;
1587
- } | {
1588
- type: "vaultModify";
1589
- vaultAddress: `0x${string}`;
1590
- allowDeposits: boolean | null;
1591
- alwaysCloseOnWithdraw: boolean | null;
1592
- } | {
1593
- type: "vaultTransfer";
1594
- vaultAddress: `0x${string}`;
1595
- isDeposit: boolean;
1596
- usd: number;
1597
- }, "The underlying action to be executed through multi-sig.">]>;
1598
- }, undefined>, v.DescriptionAction<{
1599
- multiSigUser: `0x${string}`;
1600
- outerSigner: `0x${string}`;
1601
- action: {
1602
- type: "cancel";
1603
- cancels: {
1604
- a: number;
1605
- o: number;
1606
- }[];
1607
- } | {
1608
- type: "order";
1609
- orders: {
1610
- a: number;
1611
- b: boolean;
1612
- p: string;
1613
- s: string;
1614
- r: boolean;
1615
- t: {
1616
- limit: {
1617
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1618
- };
1619
- } | {
1620
- trigger: {
1621
- isMarket: boolean;
1622
- triggerPx: string;
1623
- tpsl: "tp" | "sl";
1624
- };
1625
- };
1626
- c?: `0x${string}` | undefined;
1627
- }[];
1628
- grouping: "na" | "normalTpsl" | "positionTpsl";
1629
- builder?: {
1630
- b: `0x${string}`;
1631
- f: number;
1632
- } | undefined;
1633
- } | {
1634
- type: "twapOrder";
1635
- twap: {
1636
- a: number;
1637
- b: boolean;
1638
- s: string;
1639
- r: boolean;
1640
- m: number;
1641
- t: boolean;
1642
- };
1643
- } | {
1644
- type: "twapCancel";
1645
- a: number;
1646
- t: number;
1647
- } | {
1648
- type: "createSubAccount";
1649
- name: string;
1650
- } | {
1651
- type: "createVault";
1652
- name: string;
1653
- description: string;
1654
- initialUsd: number;
1655
- nonce: number;
1656
- } | {
1657
- type: "approveAgent";
1658
- signatureChainId: `0x${string}`;
1659
- hyperliquidChain: "Testnet" | "Mainnet";
1660
- agentAddress: `0x${string}`;
1661
- agentName: string | null;
1662
- nonce: number;
1663
- } | {
1664
- type: "approveBuilderFee";
1665
- signatureChainId: `0x${string}`;
1666
- hyperliquidChain: "Testnet" | "Mainnet";
1667
- maxFeeRate: `${string}%`;
1668
- builder: `0x${string}`;
1669
- nonce: number;
1670
- } | {
1671
- type: "batchModify";
1672
- modifies: {
1673
- oid: number | `0x${string}`;
1674
- order: {
1675
- a: number;
1676
- b: boolean;
1677
- p: string;
1678
- s: string;
1679
- r: boolean;
1680
- t: {
1681
- limit: {
1682
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1683
- };
1684
- } | {
1685
- trigger: {
1686
- isMarket: boolean;
1687
- triggerPx: string;
1688
- tpsl: "tp" | "sl";
1689
- };
1690
- };
1691
- c?: `0x${string}` | undefined;
1692
- };
1693
- }[];
1694
- } | {
1695
- type: "cancelByCloid";
1696
- cancels: {
1697
- asset: number;
1698
- cloid: `0x${string}`;
1699
- }[];
1700
- } | {
1701
- type: "cDeposit";
1702
- signatureChainId: `0x${string}`;
1703
- hyperliquidChain: "Testnet" | "Mainnet";
1704
- wei: number;
1705
- nonce: number;
1706
- } | {
1707
- type: "claimRewards";
1708
- } | {
1709
- type: "convertToMultiSigUser";
1710
- signatureChainId: `0x${string}`;
1711
- hyperliquidChain: "Testnet" | "Mainnet";
1712
- signers: string;
1713
- nonce: number;
1714
- } | {
1715
- type: "CSignerAction";
1716
- jailSelf: null;
1717
- } | {
1718
- type: "CSignerAction";
1719
- unjailSelf: null;
1720
- } | {
1721
- type: "CValidatorAction";
1722
- changeProfile: {
1723
- node_ip: {
1724
- Ip: string;
1725
- } | null;
1726
- name: string | null;
1727
- description: string | null;
1728
- unjailed: boolean;
1729
- disable_delegations: boolean | null;
1730
- commission_bps: number | null;
1731
- signer: `0x${string}` | null;
1732
- };
1733
- } | {
1734
- type: "CValidatorAction";
1735
- register: {
1736
- profile: {
1737
- node_ip: {
1738
- Ip: string;
1739
- };
1740
- name: string;
1741
- description: string;
1742
- delegations_disabled: boolean;
1743
- commission_bps: number;
1744
- signer: `0x${string}`;
1745
- };
1746
- unjailed: boolean;
1747
- initial_wei: number;
1748
- };
1749
- } | {
1750
- type: "CValidatorAction";
1751
- unregister: null;
1752
- } | {
1753
- type: "cWithdraw";
1754
- signatureChainId: `0x${string}`;
1755
- hyperliquidChain: "Testnet" | "Mainnet";
1756
- wei: number;
1757
- nonce: number;
1758
- } | {
1759
- type: "evmUserModify";
1760
- usingBigBlocks: boolean;
1761
- } | {
1762
- type: "modify";
1763
- oid: number | `0x${string}`;
1764
- order: {
1765
- a: number;
1766
- b: boolean;
1767
- p: string;
1768
- s: string;
1769
- r: boolean;
1770
- t: {
1771
- limit: {
1772
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
1773
- };
1774
- } | {
1775
- trigger: {
1776
- isMarket: boolean;
1777
- triggerPx: string;
1778
- tpsl: "tp" | "sl";
1779
- };
1780
- };
1781
- c?: `0x${string}` | undefined;
1782
- };
1783
- } | {
1784
- type: "noop";
1785
- } | {
1786
- type: "registerReferrer";
1787
- code: string;
1788
- } | {
1789
- type: "reserveRequestWeight";
1790
- weight: number;
1791
- } | {
1792
- type: "scheduleCancel";
1793
- time?: number | undefined;
1794
- } | {
1795
- type: "setDisplayName";
1796
- displayName: string;
1797
- } | {
1798
- type: "setReferrer";
1799
- code: string;
1800
- } | {
1801
- type: "spotDeploy";
1802
- genesis: {
1803
- token: number;
1804
- maxSupply: string;
1805
- noHyperliquidity?: true | undefined;
1806
- };
1807
- } | {
1808
- type: "spotDeploy";
1809
- registerHyperliquidity: {
1810
- spot: number;
1811
- startPx: string;
1812
- orderSz: string;
1813
- nOrders: number;
1814
- nSeededLevels?: number | undefined;
1815
- };
1816
- } | {
1817
- type: "spotDeploy";
1818
- registerSpot: {
1819
- tokens: [number, number];
1820
- };
1821
- } | {
1822
- type: "spotDeploy";
1823
- registerToken2: {
1824
- spec: {
1825
- name: string;
1826
- szDecimals: number;
1827
- weiDecimals: number;
1828
- };
1829
- maxGas: number;
1830
- fullName?: string | undefined;
1831
- };
1832
- } | {
1833
- type: "spotDeploy";
1834
- setDeployerTradingFeeShare: {
1835
- token: number;
1836
- share: `${string}%`;
1837
- };
1838
- } | {
1839
- type: "spotDeploy";
1840
- userGenesis: {
1841
- token: number;
1842
- userAndWei: [`0x${string}`, string][];
1843
- existingTokenAndWei: [number, string][];
1844
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
1845
- };
1846
- } | {
1847
- type: "spotDeploy";
1848
- enableQuoteToken: {
1849
- token: number;
1850
- };
1851
- } | {
1852
- type: "subAccountModify";
1853
- subAccountUser: `0x${string}`;
1854
- name: string;
1855
- } | {
1856
- type: "tokenDelegate";
1857
- signatureChainId: `0x${string}`;
1858
- hyperliquidChain: "Testnet" | "Mainnet";
1859
- validator: `0x${string}`;
1860
- wei: number;
1861
- isUndelegate: boolean;
1862
- nonce: number;
1863
- } | {
1864
- type: "usdClassTransfer";
1865
- signatureChainId: `0x${string}`;
1866
- hyperliquidChain: "Testnet" | "Mainnet";
1867
- amount: string;
1868
- toPerp: boolean;
1869
- nonce: number;
1870
- } | {
1871
- type: "vaultDistribute";
1872
- vaultAddress: `0x${string}`;
1873
- usd: number;
1874
- } | {
1875
- type: "withdraw3";
1876
- signatureChainId: `0x${string}`;
1877
- hyperliquidChain: "Testnet" | "Mainnet";
1878
- destination: `0x${string}`;
1879
- amount: string;
1880
- time: number;
1881
- } | {
1882
- type: "perpDeploy";
1883
- registerAsset: {
1884
- maxGas: number | null;
1885
- assetRequest: {
1886
- coin: string;
1887
- szDecimals: number;
1888
- oraclePx: string;
1889
- marginTableId: number;
1890
- onlyIsolated: boolean;
1891
- };
1892
- dex: string;
1893
- schema: {
1894
- fullName: string;
1895
- collateralToken: number;
1896
- oracleUpdater: `0x${string}` | null;
1897
- } | null;
1898
- };
1899
- } | {
1900
- type: "perpDeploy";
1901
- setOracle: {
1902
- dex: string;
1903
- oraclePxs: [string, string][];
1904
- markPxs: [string, string][][];
1905
- externalPerpPxs: [string, string][];
1906
- };
1907
- } | {
1908
- type: "perpDeploy";
1909
- setFundingMultipliers: [string, string][];
1910
- } | {
1911
- type: "perpDeploy";
1912
- haltTrading: {
1913
- coin: string;
1914
- isHalted: boolean;
1915
- };
1916
- } | {
1917
- type: "perpDeploy";
1918
- setMarginTableIds: [string, number][];
1919
- } | {
1920
- type: "perpDeploy";
1921
- setFeeRecipient: {
1922
- dex: string;
1923
- feeRecipient: `0x${string}`;
1924
- };
1925
- } | {
1926
- type: "perpDeploy";
1927
- setOpenInterestCaps: [string, number][];
1928
- } | {
1929
- type: "perpDeploy";
1930
- setSubDeployers: {
1931
- dex: string;
1932
- subDeployers: {
1933
- variant: string;
1934
- user: `0x${string}`;
1935
- allowed: boolean;
1936
- }[];
1937
- };
1938
- } | {
1939
- type: "perpDeploy";
1940
- setFeeScale: {
1941
- dex: string;
1942
- scale: string;
1943
- };
1944
- } | {
1945
- type: "sendAsset";
1946
- signatureChainId: `0x${string}`;
1947
- hyperliquidChain: "Testnet" | "Mainnet";
1948
- destination: `0x${string}`;
1949
- sourceDex: string;
1950
- destinationDex: string;
1951
- token: `${string}:0x${string}`;
1952
- amount: string;
1953
- fromSubAccount: "" | `0x${string}`;
1954
- nonce: number;
1955
- } | {
1956
- type: "spotSend";
1957
- signatureChainId: `0x${string}`;
1958
- hyperliquidChain: "Testnet" | "Mainnet";
1959
- destination: `0x${string}`;
1960
- token: `${string}:0x${string}`;
1961
- amount: string;
1962
- time: number;
1963
- } | {
1964
- type: "spotUser";
1965
- toggleSpotDusting: {
1966
- optOut: boolean;
1967
- };
1968
- } | {
1969
- type: "subAccountSpotTransfer";
1970
- subAccountUser: `0x${string}`;
1971
- isDeposit: boolean;
1972
- token: `${string}:0x${string}`;
1973
- amount: string;
1974
- } | {
1975
- type: "subAccountTransfer";
1976
- subAccountUser: `0x${string}`;
1977
- isDeposit: boolean;
1978
- usd: number;
1979
- } | {
1980
- type: "updateIsolatedMargin";
1981
- asset: number;
1982
- isBuy: boolean;
1983
- ntli: number;
1984
- } | {
1985
- type: "updateLeverage";
1986
- asset: number;
1987
- isCross: boolean;
1988
- leverage: number;
1989
- } | {
1990
- type: "usdSend";
1991
- signatureChainId: `0x${string}`;
1992
- hyperliquidChain: "Testnet" | "Mainnet";
1993
- destination: `0x${string}`;
1994
- amount: string;
1995
- time: number;
1996
- } | {
1997
- type: "vaultModify";
1998
- vaultAddress: `0x${string}`;
1999
- allowDeposits: boolean | null;
2000
- alwaysCloseOnWithdraw: boolean | null;
2001
- } | {
2002
- type: "vaultTransfer";
2003
- vaultAddress: `0x${string}`;
2004
- isDeposit: boolean;
2005
- usd: number;
2006
- };
2007
- }, "Multi-signature payload information.">]>;
2008
- }, undefined>, v.DescriptionAction<{
2009
- type: "multiSig";
2010
- signatureChainId: `0x${string}`;
2011
- signatures: {
2012
- r: `0x${string}`;
2013
- s: `0x${string}`;
2014
- v: 27 | 28;
2015
- }[];
2016
- payload: {
2017
- multiSigUser: `0x${string}`;
2018
- outerSigner: `0x${string}`;
2019
- action: {
2020
- type: "cancel";
2021
- cancels: {
2022
- a: number;
2023
- o: number;
2024
- }[];
2025
- } | {
2026
- type: "order";
2027
- orders: {
2028
- a: number;
2029
- b: boolean;
2030
- p: string;
2031
- s: string;
2032
- r: boolean;
2033
- t: {
2034
- limit: {
2035
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2036
- };
2037
- } | {
2038
- trigger: {
2039
- isMarket: boolean;
2040
- triggerPx: string;
2041
- tpsl: "tp" | "sl";
2042
- };
2043
- };
2044
- c?: `0x${string}` | undefined;
2045
- }[];
2046
- grouping: "na" | "normalTpsl" | "positionTpsl";
2047
- builder?: {
2048
- b: `0x${string}`;
2049
- f: number;
2050
- } | undefined;
2051
- } | {
2052
- type: "twapOrder";
2053
- twap: {
2054
- a: number;
2055
- b: boolean;
2056
- s: string;
2057
- r: boolean;
2058
- m: number;
2059
- t: boolean;
2060
- };
2061
- } | {
2062
- type: "twapCancel";
2063
- a: number;
2064
- t: number;
2065
- } | {
2066
- type: "createSubAccount";
2067
- name: string;
2068
- } | {
2069
- type: "createVault";
2070
- name: string;
2071
- description: string;
2072
- initialUsd: number;
2073
- nonce: number;
2074
- } | {
2075
- type: "approveAgent";
2076
- signatureChainId: `0x${string}`;
2077
- hyperliquidChain: "Testnet" | "Mainnet";
2078
- agentAddress: `0x${string}`;
2079
- agentName: string | null;
2080
- nonce: number;
2081
- } | {
2082
- type: "approveBuilderFee";
2083
- signatureChainId: `0x${string}`;
2084
- hyperliquidChain: "Testnet" | "Mainnet";
2085
- maxFeeRate: `${string}%`;
2086
- builder: `0x${string}`;
2087
- nonce: number;
2088
- } | {
2089
- type: "batchModify";
2090
- modifies: {
2091
- oid: number | `0x${string}`;
2092
- order: {
2093
- a: number;
2094
- b: boolean;
2095
- p: string;
2096
- s: string;
2097
- r: boolean;
2098
- t: {
2099
- limit: {
2100
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2101
- };
2102
- } | {
2103
- trigger: {
2104
- isMarket: boolean;
2105
- triggerPx: string;
2106
- tpsl: "tp" | "sl";
2107
- };
2108
- };
2109
- c?: `0x${string}` | undefined;
2110
- };
2111
- }[];
2112
- } | {
2113
- type: "cancelByCloid";
2114
- cancels: {
2115
- asset: number;
2116
- cloid: `0x${string}`;
2117
- }[];
2118
- } | {
2119
- type: "cDeposit";
2120
- signatureChainId: `0x${string}`;
2121
- hyperliquidChain: "Testnet" | "Mainnet";
2122
- wei: number;
2123
- nonce: number;
2124
- } | {
2125
- type: "claimRewards";
2126
- } | {
2127
- type: "convertToMultiSigUser";
2128
- signatureChainId: `0x${string}`;
2129
- hyperliquidChain: "Testnet" | "Mainnet";
2130
- signers: string;
2131
- nonce: number;
2132
- } | {
2133
- type: "CSignerAction";
2134
- jailSelf: null;
2135
- } | {
2136
- type: "CSignerAction";
2137
- unjailSelf: null;
2138
- } | {
2139
- type: "CValidatorAction";
2140
- changeProfile: {
2141
- node_ip: {
2142
- Ip: string;
2143
- } | null;
2144
- name: string | null;
2145
- description: string | null;
2146
- unjailed: boolean;
2147
- disable_delegations: boolean | null;
2148
- commission_bps: number | null;
2149
- signer: `0x${string}` | null;
2150
- };
2151
- } | {
2152
- type: "CValidatorAction";
2153
- register: {
2154
- profile: {
2155
- node_ip: {
2156
- Ip: string;
2157
- };
2158
- name: string;
2159
- description: string;
2160
- delegations_disabled: boolean;
2161
- commission_bps: number;
2162
- signer: `0x${string}`;
2163
- };
2164
- unjailed: boolean;
2165
- initial_wei: number;
2166
- };
2167
- } | {
2168
- type: "CValidatorAction";
2169
- unregister: null;
2170
- } | {
2171
- type: "cWithdraw";
2172
- signatureChainId: `0x${string}`;
2173
- hyperliquidChain: "Testnet" | "Mainnet";
2174
- wei: number;
2175
- nonce: number;
2176
- } | {
2177
- type: "evmUserModify";
2178
- usingBigBlocks: boolean;
2179
- } | {
2180
- type: "modify";
2181
- oid: number | `0x${string}`;
2182
- order: {
2183
- a: number;
2184
- b: boolean;
2185
- p: string;
2186
- s: string;
2187
- r: boolean;
2188
- t: {
2189
- limit: {
2190
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2191
- };
2192
- } | {
2193
- trigger: {
2194
- isMarket: boolean;
2195
- triggerPx: string;
2196
- tpsl: "tp" | "sl";
2197
- };
2198
- };
2199
- c?: `0x${string}` | undefined;
2200
- };
2201
- } | {
2202
- type: "noop";
2203
- } | {
2204
- type: "registerReferrer";
2205
- code: string;
2206
- } | {
2207
- type: "reserveRequestWeight";
2208
- weight: number;
2209
- } | {
2210
- type: "scheduleCancel";
2211
- time?: number | undefined;
2212
- } | {
2213
- type: "setDisplayName";
2214
- displayName: string;
2215
- } | {
2216
- type: "setReferrer";
2217
- code: string;
2218
- } | {
2219
- type: "spotDeploy";
2220
- genesis: {
2221
- token: number;
2222
- maxSupply: string;
2223
- noHyperliquidity?: true | undefined;
2224
- };
2225
- } | {
2226
- type: "spotDeploy";
2227
- registerHyperliquidity: {
2228
- spot: number;
2229
- startPx: string;
2230
- orderSz: string;
2231
- nOrders: number;
2232
- nSeededLevels?: number | undefined;
2233
- };
2234
- } | {
2235
- type: "spotDeploy";
2236
- registerSpot: {
2237
- tokens: [number, number];
2238
- };
2239
- } | {
2240
- type: "spotDeploy";
2241
- registerToken2: {
2242
- spec: {
2243
- name: string;
2244
- szDecimals: number;
2245
- weiDecimals: number;
2246
- };
2247
- maxGas: number;
2248
- fullName?: string | undefined;
2249
- };
2250
- } | {
2251
- type: "spotDeploy";
2252
- setDeployerTradingFeeShare: {
2253
- token: number;
2254
- share: `${string}%`;
2255
- };
2256
- } | {
2257
- type: "spotDeploy";
2258
- userGenesis: {
2259
- token: number;
2260
- userAndWei: [`0x${string}`, string][];
2261
- existingTokenAndWei: [number, string][];
2262
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
2263
- };
2264
- } | {
2265
- type: "spotDeploy";
2266
- enableQuoteToken: {
2267
- token: number;
2268
- };
2269
- } | {
2270
- type: "subAccountModify";
2271
- subAccountUser: `0x${string}`;
2272
- name: string;
2273
- } | {
2274
- type: "tokenDelegate";
2275
- signatureChainId: `0x${string}`;
2276
- hyperliquidChain: "Testnet" | "Mainnet";
2277
- validator: `0x${string}`;
2278
- wei: number;
2279
- isUndelegate: boolean;
2280
- nonce: number;
2281
- } | {
2282
- type: "usdClassTransfer";
2283
- signatureChainId: `0x${string}`;
2284
- hyperliquidChain: "Testnet" | "Mainnet";
2285
- amount: string;
2286
- toPerp: boolean;
2287
- nonce: number;
2288
- } | {
2289
- type: "vaultDistribute";
2290
- vaultAddress: `0x${string}`;
2291
- usd: number;
2292
- } | {
2293
- type: "withdraw3";
2294
- signatureChainId: `0x${string}`;
2295
- hyperliquidChain: "Testnet" | "Mainnet";
2296
- destination: `0x${string}`;
2297
- amount: string;
2298
- time: number;
2299
- } | {
2300
- type: "perpDeploy";
2301
- registerAsset: {
2302
- maxGas: number | null;
2303
- assetRequest: {
2304
- coin: string;
2305
- szDecimals: number;
2306
- oraclePx: string;
2307
- marginTableId: number;
2308
- onlyIsolated: boolean;
2309
- };
2310
- dex: string;
2311
- schema: {
2312
- fullName: string;
2313
- collateralToken: number;
2314
- oracleUpdater: `0x${string}` | null;
2315
- } | null;
2316
- };
2317
- } | {
2318
- type: "perpDeploy";
2319
- setOracle: {
2320
- dex: string;
2321
- oraclePxs: [string, string][];
2322
- markPxs: [string, string][][];
2323
- externalPerpPxs: [string, string][];
2324
- };
2325
- } | {
2326
- type: "perpDeploy";
2327
- setFundingMultipliers: [string, string][];
2328
- } | {
2329
- type: "perpDeploy";
2330
- haltTrading: {
2331
- coin: string;
2332
- isHalted: boolean;
2333
- };
2334
- } | {
2335
- type: "perpDeploy";
2336
- setMarginTableIds: [string, number][];
2337
- } | {
2338
- type: "perpDeploy";
2339
- setFeeRecipient: {
2340
- dex: string;
2341
- feeRecipient: `0x${string}`;
2342
- };
2343
- } | {
2344
- type: "perpDeploy";
2345
- setOpenInterestCaps: [string, number][];
2346
- } | {
2347
- type: "perpDeploy";
2348
- setSubDeployers: {
2349
- dex: string;
2350
- subDeployers: {
2351
- variant: string;
2352
- user: `0x${string}`;
2353
- allowed: boolean;
2354
- }[];
2355
- };
2356
- } | {
2357
- type: "perpDeploy";
2358
- setFeeScale: {
2359
- dex: string;
2360
- scale: string;
2361
- };
2362
- } | {
2363
- type: "sendAsset";
2364
- signatureChainId: `0x${string}`;
2365
- hyperliquidChain: "Testnet" | "Mainnet";
2366
- destination: `0x${string}`;
2367
- sourceDex: string;
2368
- destinationDex: string;
2369
- token: `${string}:0x${string}`;
2370
- amount: string;
2371
- fromSubAccount: "" | `0x${string}`;
2372
- nonce: number;
2373
- } | {
2374
- type: "spotSend";
2375
- signatureChainId: `0x${string}`;
2376
- hyperliquidChain: "Testnet" | "Mainnet";
2377
- destination: `0x${string}`;
2378
- token: `${string}:0x${string}`;
2379
- amount: string;
2380
- time: number;
2381
- } | {
2382
- type: "spotUser";
2383
- toggleSpotDusting: {
2384
- optOut: boolean;
2385
- };
2386
- } | {
2387
- type: "subAccountSpotTransfer";
2388
- subAccountUser: `0x${string}`;
2389
- isDeposit: boolean;
2390
- token: `${string}:0x${string}`;
2391
- amount: string;
2392
- } | {
2393
- type: "subAccountTransfer";
2394
- subAccountUser: `0x${string}`;
2395
- isDeposit: boolean;
2396
- usd: number;
2397
- } | {
2398
- type: "updateIsolatedMargin";
2399
- asset: number;
2400
- isBuy: boolean;
2401
- ntli: number;
2402
- } | {
2403
- type: "updateLeverage";
2404
- asset: number;
2405
- isCross: boolean;
2406
- leverage: number;
2407
- } | {
2408
- type: "usdSend";
2409
- signatureChainId: `0x${string}`;
2410
- hyperliquidChain: "Testnet" | "Mainnet";
2411
- destination: `0x${string}`;
2412
- amount: string;
2413
- time: number;
2414
- } | {
2415
- type: "vaultModify";
2416
- vaultAddress: `0x${string}`;
2417
- allowDeposits: boolean | null;
2418
- alwaysCloseOnWithdraw: boolean | null;
2419
- } | {
2420
- type: "vaultTransfer";
2421
- vaultAddress: `0x${string}`;
2422
- isDeposit: boolean;
2423
- usd: number;
2424
- };
2425
- };
2426
- }, "Action to perform.">]>;
2427
- /** Unique request identifier (current timestamp in ms). */
2428
- 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).">]>;
2429
- /** Cryptographic signature. */
2430
- readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
2431
- 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.">]>;
2432
- 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.">]>;
2433
- readonly v: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<27, undefined>, v.LiteralSchema<28, undefined>], undefined>, v.DescriptionAction<27 | 28, "Recovery identifier.">]>;
2434
- }, undefined>, v.DescriptionAction<{
2435
- r: `0x${string}`;
2436
- s: `0x${string}`;
2437
- v: 27 | 28;
2438
- }, "ECDSA signature components for Ethereum typed data.">]>, v.DescriptionAction<{
2439
- r: `0x${string}`;
2440
- s: `0x${string}`;
2441
- v: 27 | 28;
2442
- }, "Cryptographic signature.">]>;
2443
- /** Vault address (for vault trading). */
2444
- 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).">]>;
2445
- /** Expiration time of the action. */
2446
- 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.">]>;
2447
- }, undefined>, v.DescriptionAction<{
2448
- action: {
2449
- type: "multiSig";
2450
- signatureChainId: `0x${string}`;
2451
- signatures: {
2452
- r: `0x${string}`;
2453
- s: `0x${string}`;
2454
- v: 27 | 28;
2455
- }[];
2456
- payload: {
2457
- multiSigUser: `0x${string}`;
2458
- outerSigner: `0x${string}`;
2459
- action: {
2460
- type: "cancel";
2461
- cancels: {
2462
- a: number;
2463
- o: number;
2464
- }[];
2465
- } | {
2466
- type: "order";
2467
- orders: {
2468
- a: number;
2469
- b: boolean;
2470
- p: string;
2471
- s: string;
2472
- r: boolean;
2473
- t: {
2474
- limit: {
2475
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2476
- };
2477
- } | {
2478
- trigger: {
2479
- isMarket: boolean;
2480
- triggerPx: string;
2481
- tpsl: "tp" | "sl";
2482
- };
2483
- };
2484
- c?: `0x${string}` | undefined;
2485
- }[];
2486
- grouping: "na" | "normalTpsl" | "positionTpsl";
2487
- builder?: {
2488
- b: `0x${string}`;
2489
- f: number;
2490
- } | undefined;
2491
- } | {
2492
- type: "twapOrder";
2493
- twap: {
2494
- a: number;
2495
- b: boolean;
2496
- s: string;
2497
- r: boolean;
2498
- m: number;
2499
- t: boolean;
2500
- };
2501
- } | {
2502
- type: "twapCancel";
2503
- a: number;
2504
- t: number;
2505
- } | {
2506
- type: "createSubAccount";
2507
- name: string;
2508
- } | {
2509
- type: "createVault";
2510
- name: string;
2511
- description: string;
2512
- initialUsd: number;
2513
- nonce: number;
2514
- } | {
2515
- type: "approveAgent";
2516
- signatureChainId: `0x${string}`;
2517
- hyperliquidChain: "Testnet" | "Mainnet";
2518
- agentAddress: `0x${string}`;
2519
- agentName: string | null;
2520
- nonce: number;
2521
- } | {
2522
- type: "approveBuilderFee";
2523
- signatureChainId: `0x${string}`;
2524
- hyperliquidChain: "Testnet" | "Mainnet";
2525
- maxFeeRate: `${string}%`;
2526
- builder: `0x${string}`;
2527
- nonce: number;
2528
- } | {
2529
- type: "batchModify";
2530
- modifies: {
2531
- oid: number | `0x${string}`;
2532
- order: {
2533
- a: number;
2534
- b: boolean;
2535
- p: string;
2536
- s: string;
2537
- r: boolean;
2538
- t: {
2539
- limit: {
2540
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2541
- };
2542
- } | {
2543
- trigger: {
2544
- isMarket: boolean;
2545
- triggerPx: string;
2546
- tpsl: "tp" | "sl";
2547
- };
2548
- };
2549
- c?: `0x${string}` | undefined;
2550
- };
2551
- }[];
2552
- } | {
2553
- type: "cancelByCloid";
2554
- cancels: {
2555
- asset: number;
2556
- cloid: `0x${string}`;
2557
- }[];
2558
- } | {
2559
- type: "cDeposit";
2560
- signatureChainId: `0x${string}`;
2561
- hyperliquidChain: "Testnet" | "Mainnet";
2562
- wei: number;
2563
- nonce: number;
2564
- } | {
2565
- type: "claimRewards";
2566
- } | {
2567
- type: "convertToMultiSigUser";
2568
- signatureChainId: `0x${string}`;
2569
- hyperliquidChain: "Testnet" | "Mainnet";
2570
- signers: string;
2571
- nonce: number;
2572
- } | {
2573
- type: "CSignerAction";
2574
- jailSelf: null;
2575
- } | {
2576
- type: "CSignerAction";
2577
- unjailSelf: null;
2578
- } | {
2579
- type: "CValidatorAction";
2580
- changeProfile: {
2581
- node_ip: {
2582
- Ip: string;
2583
- } | null;
2584
- name: string | null;
2585
- description: string | null;
2586
- unjailed: boolean;
2587
- disable_delegations: boolean | null;
2588
- commission_bps: number | null;
2589
- signer: `0x${string}` | null;
2590
- };
2591
- } | {
2592
- type: "CValidatorAction";
2593
- register: {
2594
- profile: {
2595
- node_ip: {
2596
- Ip: string;
2597
- };
2598
- name: string;
2599
- description: string;
2600
- delegations_disabled: boolean;
2601
- commission_bps: number;
2602
- signer: `0x${string}`;
2603
- };
2604
- unjailed: boolean;
2605
- initial_wei: number;
2606
- };
2607
- } | {
2608
- type: "CValidatorAction";
2609
- unregister: null;
2610
- } | {
2611
- type: "cWithdraw";
2612
- signatureChainId: `0x${string}`;
2613
- hyperliquidChain: "Testnet" | "Mainnet";
2614
- wei: number;
2615
- nonce: number;
2616
- } | {
2617
- type: "evmUserModify";
2618
- usingBigBlocks: boolean;
2619
- } | {
2620
- type: "modify";
2621
- oid: number | `0x${string}`;
2622
- order: {
2623
- a: number;
2624
- b: boolean;
2625
- p: string;
2626
- s: string;
2627
- r: boolean;
2628
- t: {
2629
- limit: {
2630
- tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
2631
- };
2632
- } | {
2633
- trigger: {
2634
- isMarket: boolean;
2635
- triggerPx: string;
2636
- tpsl: "tp" | "sl";
2637
- };
2638
- };
2639
- c?: `0x${string}` | undefined;
2640
- };
2641
- } | {
2642
- type: "noop";
2643
- } | {
2644
- type: "registerReferrer";
2645
- code: string;
2646
- } | {
2647
- type: "reserveRequestWeight";
2648
- weight: number;
2649
- } | {
2650
- type: "scheduleCancel";
2651
- time?: number | undefined;
2652
- } | {
2653
- type: "setDisplayName";
2654
- displayName: string;
2655
- } | {
2656
- type: "setReferrer";
2657
- code: string;
2658
- } | {
2659
- type: "spotDeploy";
2660
- genesis: {
2661
- token: number;
2662
- maxSupply: string;
2663
- noHyperliquidity?: true | undefined;
2664
- };
2665
- } | {
2666
- type: "spotDeploy";
2667
- registerHyperliquidity: {
2668
- spot: number;
2669
- startPx: string;
2670
- orderSz: string;
2671
- nOrders: number;
2672
- nSeededLevels?: number | undefined;
2673
- };
2674
- } | {
2675
- type: "spotDeploy";
2676
- registerSpot: {
2677
- tokens: [number, number];
2678
- };
2679
- } | {
2680
- type: "spotDeploy";
2681
- registerToken2: {
2682
- spec: {
2683
- name: string;
2684
- szDecimals: number;
2685
- weiDecimals: number;
2686
- };
2687
- maxGas: number;
2688
- fullName?: string | undefined;
2689
- };
2690
- } | {
2691
- type: "spotDeploy";
2692
- setDeployerTradingFeeShare: {
2693
- token: number;
2694
- share: `${string}%`;
2695
- };
2696
- } | {
2697
- type: "spotDeploy";
2698
- userGenesis: {
2699
- token: number;
2700
- userAndWei: [`0x${string}`, string][];
2701
- existingTokenAndWei: [number, string][];
2702
- blacklistUsers?: [`0x${string}`, boolean][] | undefined;
2703
- };
2704
- } | {
2705
- type: "spotDeploy";
2706
- enableQuoteToken: {
2707
- token: number;
2708
- };
2709
- } | {
2710
- type: "subAccountModify";
2711
- subAccountUser: `0x${string}`;
2712
- name: string;
2713
- } | {
2714
- type: "tokenDelegate";
2715
- signatureChainId: `0x${string}`;
2716
- hyperliquidChain: "Testnet" | "Mainnet";
2717
- validator: `0x${string}`;
2718
- wei: number;
2719
- isUndelegate: boolean;
2720
- nonce: number;
2721
- } | {
2722
- type: "usdClassTransfer";
2723
- signatureChainId: `0x${string}`;
2724
- hyperliquidChain: "Testnet" | "Mainnet";
2725
- amount: string;
2726
- toPerp: boolean;
2727
- nonce: number;
2728
- } | {
2729
- type: "vaultDistribute";
2730
- vaultAddress: `0x${string}`;
2731
- usd: number;
2732
- } | {
2733
- type: "withdraw3";
2734
- signatureChainId: `0x${string}`;
2735
- hyperliquidChain: "Testnet" | "Mainnet";
2736
- destination: `0x${string}`;
2737
- amount: string;
2738
- time: number;
2739
- } | {
2740
- type: "perpDeploy";
2741
- registerAsset: {
2742
- maxGas: number | null;
2743
- assetRequest: {
2744
- coin: string;
2745
- szDecimals: number;
2746
- oraclePx: string;
2747
- marginTableId: number;
2748
- onlyIsolated: boolean;
2749
- };
2750
- dex: string;
2751
- schema: {
2752
- fullName: string;
2753
- collateralToken: number;
2754
- oracleUpdater: `0x${string}` | null;
2755
- } | null;
2756
- };
2757
- } | {
2758
- type: "perpDeploy";
2759
- setOracle: {
2760
- dex: string;
2761
- oraclePxs: [string, string][];
2762
- markPxs: [string, string][][];
2763
- externalPerpPxs: [string, string][];
2764
- };
2765
- } | {
2766
- type: "perpDeploy";
2767
- setFundingMultipliers: [string, string][];
2768
- } | {
2769
- type: "perpDeploy";
2770
- haltTrading: {
2771
- coin: string;
2772
- isHalted: boolean;
2773
- };
2774
- } | {
2775
- type: "perpDeploy";
2776
- setMarginTableIds: [string, number][];
2777
- } | {
2778
- type: "perpDeploy";
2779
- setFeeRecipient: {
2780
- dex: string;
2781
- feeRecipient: `0x${string}`;
2782
- };
2783
- } | {
2784
- type: "perpDeploy";
2785
- setOpenInterestCaps: [string, number][];
2786
- } | {
2787
- type: "perpDeploy";
2788
- setSubDeployers: {
2789
- dex: string;
2790
- subDeployers: {
2791
- variant: string;
2792
- user: `0x${string}`;
2793
- allowed: boolean;
2794
- }[];
2795
- };
2796
- } | {
2797
- type: "perpDeploy";
2798
- setFeeScale: {
2799
- dex: string;
2800
- scale: string;
2801
- };
2802
- } | {
2803
- type: "sendAsset";
2804
- signatureChainId: `0x${string}`;
2805
- hyperliquidChain: "Testnet" | "Mainnet";
2806
- destination: `0x${string}`;
2807
- sourceDex: string;
2808
- destinationDex: string;
2809
- token: `${string}:0x${string}`;
2810
- amount: string;
2811
- fromSubAccount: "" | `0x${string}`;
2812
- nonce: number;
2813
- } | {
2814
- type: "spotSend";
2815
- signatureChainId: `0x${string}`;
2816
- hyperliquidChain: "Testnet" | "Mainnet";
2817
- destination: `0x${string}`;
2818
- token: `${string}:0x${string}`;
2819
- amount: string;
2820
- time: number;
2821
- } | {
2822
- type: "spotUser";
2823
- toggleSpotDusting: {
2824
- optOut: boolean;
2825
- };
2826
- } | {
2827
- type: "subAccountSpotTransfer";
2828
- subAccountUser: `0x${string}`;
2829
- isDeposit: boolean;
2830
- token: `${string}:0x${string}`;
2831
- amount: string;
2832
- } | {
2833
- type: "subAccountTransfer";
2834
- subAccountUser: `0x${string}`;
2835
- isDeposit: boolean;
2836
- usd: number;
2837
- } | {
2838
- type: "updateIsolatedMargin";
2839
- asset: number;
2840
- isBuy: boolean;
2841
- ntli: number;
2842
- } | {
2843
- type: "updateLeverage";
2844
- asset: number;
2845
- isCross: boolean;
2846
- leverage: number;
2847
- } | {
2848
- type: "usdSend";
2849
- signatureChainId: `0x${string}`;
2850
- hyperliquidChain: "Testnet" | "Mainnet";
2851
- destination: `0x${string}`;
2852
- amount: string;
2853
- time: number;
2854
- } | {
2855
- type: "vaultModify";
2856
- vaultAddress: `0x${string}`;
2857
- allowDeposits: boolean | null;
2858
- alwaysCloseOnWithdraw: boolean | null;
2859
- } | {
2860
- type: "vaultTransfer";
2861
- vaultAddress: `0x${string}`;
2862
- isDeposit: boolean;
2863
- usd: number;
2864
- };
2865
- };
2866
- };
2867
- nonce: number;
2868
- signature: {
2869
- r: `0x${string}`;
2870
- s: `0x${string}`;
2871
- v: 27 | 28;
2872
- };
2873
- vaultAddress?: `0x${string}` | undefined;
2874
- expiresAfter?: number | undefined;
2875
- }, "A multi-signature request.">]>;
2876
- export type MultiSigRequest = v.InferOutput<typeof MultiSigRequest>;
2877
- /**
2878
- * A response related to an action.
2879
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
2880
- */
2881
- export declare const MultiSigResponse: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2882
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
2883
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2884
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
2885
- }, undefined>, v.DescriptionAction<{
2886
- type: "default";
2887
- }, "Response details.">]>;
2888
- }, undefined>, v.DescriptionAction<{
2889
- status: "ok";
2890
- response: {
2891
- type: "default";
2892
- };
2893
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2894
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
2895
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
2896
- }, undefined>, v.DescriptionAction<{
2897
- status: "err";
2898
- response: string;
2899
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
2900
- status: "err";
2901
- response: string;
2902
- } | {
2903
- status: "ok";
2904
- response: {
2905
- type: "default";
2906
- };
2907
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
2908
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
2909
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2910
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
2911
- }, undefined>, v.DescriptionAction<{
2912
- type: "default";
2913
- }, "Response details.">]>;
2914
- }, undefined>, v.DescriptionAction<{
2915
- status: "ok";
2916
- response: {
2917
- type: "default";
2918
- };
2919
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2920
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
2921
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
2922
- }, undefined>, v.DescriptionAction<{
2923
- status: "err";
2924
- response: string;
2925
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
2926
- status: "err";
2927
- response: string;
2928
- } | {
2929
- status: "ok";
2930
- response: {
2931
- type: "default";
2932
- };
2933
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2934
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
2935
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2936
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of response.">]>;
2937
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2938
- readonly statuses: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2939
- readonly resting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2940
- readonly oid: 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.">]>;
2941
- readonly cloid: 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.">]>;
2942
- }, undefined>, v.DescriptionAction<{
2943
- oid: number;
2944
- cloid?: `0x${string}` | undefined;
2945
- }, "Resting order status.">]>;
2946
- }, undefined>, v.ObjectSchema<{
2947
- readonly filled: v.SchemaWithPipe<readonly [v.ObjectSchema<{
2948
- readonly totalSz: 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, "Total size filled.">]>;
2949
- readonly avgPx: 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, "Average price of fill.">]>;
2950
- readonly oid: 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.">]>;
2951
- readonly cloid: 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.">]>;
2952
- }, undefined>, v.DescriptionAction<{
2953
- totalSz: string;
2954
- avgPx: string;
2955
- oid: number;
2956
- cloid?: `0x${string}` | undefined;
2957
- }, "Filled order status.">]>;
2958
- }, undefined>, v.ObjectSchema<{
2959
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
2960
- }, undefined>], undefined>, undefined>, v.DescriptionAction<({
2961
- resting: {
2962
- oid: number;
2963
- cloid?: `0x${string}` | undefined;
2964
- };
2965
- } | {
2966
- filled: {
2967
- totalSz: string;
2968
- avgPx: string;
2969
- oid: number;
2970
- cloid?: `0x${string}` | undefined;
2971
- };
2972
- } | {
2973
- error: string;
2974
- })[], "Array of statuses or error messages.">]>;
2975
- }, undefined>, v.DescriptionAction<{
2976
- statuses: ({
2977
- resting: {
2978
- oid: number;
2979
- cloid?: `0x${string}` | undefined;
2980
- };
2981
- } | {
2982
- filled: {
2983
- totalSz: string;
2984
- avgPx: string;
2985
- oid: number;
2986
- cloid?: `0x${string}` | undefined;
2987
- };
2988
- } | {
2989
- error: string;
2990
- })[];
2991
- }, "Specific data.">]>;
2992
- }, undefined>, v.DescriptionAction<{
2993
- type: "order";
2994
- data: {
2995
- statuses: ({
2996
- resting: {
2997
- oid: number;
2998
- cloid?: `0x${string}` | undefined;
2999
- };
3000
- } | {
3001
- filled: {
3002
- totalSz: string;
3003
- avgPx: string;
3004
- oid: number;
3005
- cloid?: `0x${string}` | undefined;
3006
- };
3007
- } | {
3008
- error: string;
3009
- })[];
3010
- };
3011
- }, "Response details.">]>;
3012
- }, undefined>, v.DescriptionAction<{
3013
- status: "ok";
3014
- response: {
3015
- type: "order";
3016
- data: {
3017
- statuses: ({
3018
- resting: {
3019
- oid: number;
3020
- cloid?: `0x${string}` | undefined;
3021
- };
3022
- } | {
3023
- filled: {
3024
- totalSz: string;
3025
- avgPx: string;
3026
- oid: number;
3027
- cloid?: `0x${string}` | undefined;
3028
- };
3029
- } | {
3030
- error: string;
3031
- })[];
3032
- };
3033
- };
3034
- }, "Response for order placement and batch modifications.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3035
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3036
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3037
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of response.">]>;
3038
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3039
- readonly statuses: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.ObjectSchema<{
3040
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3041
- }, undefined>], undefined>, undefined>, v.DescriptionAction<("success" | {
3042
- error: string;
3043
- })[], "Array of statuses or error messages.">]>;
3044
- }, undefined>, v.DescriptionAction<{
3045
- statuses: ("success" | {
3046
- error: string;
3047
- })[];
3048
- }, "Specific data.">]>;
3049
- }, undefined>, v.DescriptionAction<{
3050
- type: "cancel";
3051
- data: {
3052
- statuses: ("success" | {
3053
- error: string;
3054
- })[];
3055
- };
3056
- }, "Response details.">]>;
3057
- }, undefined>, v.DescriptionAction<{
3058
- status: "ok";
3059
- response: {
3060
- type: "cancel";
3061
- data: {
3062
- statuses: ("success" | {
3063
- error: string;
3064
- })[];
3065
- };
3066
- };
3067
- }, "Response for order cancellation.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3068
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3069
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3070
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of response.">]>;
3071
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3072
- readonly statuses: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.ObjectSchema<{
3073
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3074
- }, undefined>], undefined>, undefined>, v.DescriptionAction<("success" | {
3075
- error: string;
3076
- })[], "Array of statuses or error messages.">]>;
3077
- }, undefined>, v.DescriptionAction<{
3078
- statuses: ("success" | {
3079
- error: string;
3080
- })[];
3081
- }, "Specific data.">]>;
3082
- }, undefined>, v.DescriptionAction<{
3083
- type: "cancel";
3084
- data: {
3085
- statuses: ("success" | {
3086
- error: string;
3087
- })[];
3088
- };
3089
- }, "Response details.">]>;
3090
- }, undefined>, v.DescriptionAction<{
3091
- status: "ok";
3092
- response: {
3093
- type: "cancel";
3094
- data: {
3095
- statuses: ("success" | {
3096
- error: string;
3097
- })[];
3098
- };
3099
- };
3100
- }, "Response for order cancellation.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3101
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3102
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3103
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3104
- }, undefined>, v.DescriptionAction<{
3105
- type: "default";
3106
- }, "Response details.">]>;
3107
- }, undefined>, v.DescriptionAction<{
3108
- status: "ok";
3109
- response: {
3110
- type: "default";
3111
- };
3112
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3113
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3114
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3115
- }, undefined>, v.DescriptionAction<{
3116
- status: "err";
3117
- response: string;
3118
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3119
- status: "err";
3120
- response: string;
3121
- } | {
3122
- status: "ok";
3123
- response: {
3124
- type: "default";
3125
- };
3126
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3127
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3128
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3129
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3130
- }, undefined>, v.DescriptionAction<{
3131
- type: "default";
3132
- }, "Response details.">]>;
3133
- }, undefined>, v.DescriptionAction<{
3134
- status: "ok";
3135
- response: {
3136
- type: "default";
3137
- };
3138
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3139
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3140
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3141
- }, undefined>, v.DescriptionAction<{
3142
- status: "err";
3143
- response: string;
3144
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3145
- status: "err";
3146
- response: string;
3147
- } | {
3148
- status: "ok";
3149
- response: {
3150
- type: "default";
3151
- };
3152
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3153
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3154
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3155
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3156
- }, undefined>, v.DescriptionAction<{
3157
- type: "default";
3158
- }, "Response details.">]>;
3159
- }, undefined>, v.DescriptionAction<{
3160
- status: "ok";
3161
- response: {
3162
- type: "default";
3163
- };
3164
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3165
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3166
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3167
- }, undefined>, v.DescriptionAction<{
3168
- status: "err";
3169
- response: string;
3170
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3171
- status: "err";
3172
- response: string;
3173
- } | {
3174
- status: "ok";
3175
- response: {
3176
- type: "default";
3177
- };
3178
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3179
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3180
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3181
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createSubAccount", undefined>, v.DescriptionAction<"createSubAccount", "Type of response.">]>;
3182
- readonly data: 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.">]>;
3183
- }, undefined>, v.DescriptionAction<{
3184
- type: "createSubAccount";
3185
- data: `0x${string}`;
3186
- }, "Response details.">]>;
3187
- }, undefined>, v.DescriptionAction<{
3188
- status: "ok";
3189
- response: {
3190
- type: "createSubAccount";
3191
- data: `0x${string}`;
3192
- };
3193
- }, "Successful response for creating a sub-account">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3194
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3195
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3196
- }, undefined>, v.DescriptionAction<{
3197
- status: "err";
3198
- response: string;
3199
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3200
- status: "err";
3201
- response: string;
3202
- } | {
3203
- status: "ok";
3204
- response: {
3205
- type: "createSubAccount";
3206
- data: `0x${string}`;
3207
- };
3208
- }, "Response for creating a sub-account.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3209
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3210
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3211
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createVault", undefined>, v.DescriptionAction<"createVault", "Type of response.">]>;
3212
- readonly data: 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.">]>;
3213
- }, undefined>, v.DescriptionAction<{
3214
- type: "createVault";
3215
- data: `0x${string}`;
3216
- }, "Response details.">]>;
3217
- }, undefined>, v.DescriptionAction<{
3218
- status: "ok";
3219
- response: {
3220
- type: "createVault";
3221
- data: `0x${string}`;
3222
- };
3223
- }, "Successful response for creating a vault">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3224
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3225
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3226
- }, undefined>, v.DescriptionAction<{
3227
- status: "err";
3228
- response: string;
3229
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3230
- status: "err";
3231
- response: string;
3232
- } | {
3233
- status: "ok";
3234
- response: {
3235
- type: "createVault";
3236
- data: `0x${string}`;
3237
- };
3238
- }, "Response for creating a vault.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3239
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3240
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3241
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3242
- }, undefined>, v.DescriptionAction<{
3243
- type: "default";
3244
- }, "Response details.">]>;
3245
- }, undefined>, v.DescriptionAction<{
3246
- status: "ok";
3247
- response: {
3248
- type: "default";
3249
- };
3250
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3251
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3252
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3253
- }, undefined>, v.DescriptionAction<{
3254
- status: "err";
3255
- response: string;
3256
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3257
- status: "err";
3258
- response: string;
3259
- } | {
3260
- status: "ok";
3261
- response: {
3262
- type: "default";
3263
- };
3264
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3265
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3266
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3267
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3268
- }, undefined>, v.DescriptionAction<{
3269
- type: "default";
3270
- }, "Response details.">]>;
3271
- }, undefined>, v.DescriptionAction<{
3272
- status: "ok";
3273
- response: {
3274
- type: "default";
3275
- };
3276
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3277
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3278
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3279
- }, undefined>, v.DescriptionAction<{
3280
- status: "err";
3281
- response: string;
3282
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3283
- status: "err";
3284
- response: string;
3285
- } | {
3286
- status: "ok";
3287
- response: {
3288
- type: "default";
3289
- };
3290
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3291
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3292
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3293
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3294
- }, undefined>, v.DescriptionAction<{
3295
- type: "default";
3296
- }, "Response details.">]>;
3297
- }, undefined>, v.DescriptionAction<{
3298
- status: "ok";
3299
- response: {
3300
- type: "default";
3301
- };
3302
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3303
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3304
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3305
- }, undefined>, v.DescriptionAction<{
3306
- status: "err";
3307
- response: string;
3308
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3309
- status: "err";
3310
- response: string;
3311
- } | {
3312
- status: "ok";
3313
- response: {
3314
- type: "default";
3315
- };
3316
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3317
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3318
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3319
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3320
- }, undefined>, v.DescriptionAction<{
3321
- type: "default";
3322
- }, "Response details.">]>;
3323
- }, undefined>, v.DescriptionAction<{
3324
- status: "ok";
3325
- response: {
3326
- type: "default";
3327
- };
3328
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3329
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3330
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3331
- }, undefined>, v.DescriptionAction<{
3332
- status: "err";
3333
- response: string;
3334
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3335
- status: "err";
3336
- response: string;
3337
- } | {
3338
- status: "ok";
3339
- response: {
3340
- type: "default";
3341
- };
3342
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3343
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3344
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3345
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3346
- }, undefined>, v.DescriptionAction<{
3347
- type: "default";
3348
- }, "Response details.">]>;
3349
- }, undefined>, v.DescriptionAction<{
3350
- status: "ok";
3351
- response: {
3352
- type: "default";
3353
- };
3354
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3355
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3356
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3357
- }, undefined>, v.DescriptionAction<{
3358
- status: "err";
3359
- response: string;
3360
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3361
- status: "err";
3362
- response: string;
3363
- } | {
3364
- status: "ok";
3365
- response: {
3366
- type: "default";
3367
- };
3368
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3369
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3370
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3371
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3372
- }, undefined>, v.DescriptionAction<{
3373
- type: "default";
3374
- }, "Response details.">]>;
3375
- }, undefined>, v.DescriptionAction<{
3376
- status: "ok";
3377
- response: {
3378
- type: "default";
3379
- };
3380
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3381
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3382
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3383
- }, undefined>, v.DescriptionAction<{
3384
- status: "err";
3385
- response: string;
3386
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3387
- status: "err";
3388
- response: string;
3389
- } | {
3390
- status: "ok";
3391
- response: {
3392
- type: "default";
3393
- };
3394
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3395
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3396
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3397
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of response.">]>;
3398
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3399
- readonly statuses: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3400
- readonly resting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3401
- readonly oid: 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.">]>;
3402
- readonly cloid: 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.">]>;
3403
- }, undefined>, v.DescriptionAction<{
3404
- oid: number;
3405
- cloid?: `0x${string}` | undefined;
3406
- }, "Resting order status.">]>;
3407
- }, undefined>, v.ObjectSchema<{
3408
- readonly filled: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3409
- readonly totalSz: 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, "Total size filled.">]>;
3410
- readonly avgPx: 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, "Average price of fill.">]>;
3411
- readonly oid: 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.">]>;
3412
- readonly cloid: 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.">]>;
3413
- }, undefined>, v.DescriptionAction<{
3414
- totalSz: string;
3415
- avgPx: string;
3416
- oid: number;
3417
- cloid?: `0x${string}` | undefined;
3418
- }, "Filled order status.">]>;
3419
- }, undefined>, v.ObjectSchema<{
3420
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3421
- }, undefined>], undefined>, undefined>, v.DescriptionAction<({
3422
- resting: {
3423
- oid: number;
3424
- cloid?: `0x${string}` | undefined;
3425
- };
3426
- } | {
3427
- filled: {
3428
- totalSz: string;
3429
- avgPx: string;
3430
- oid: number;
3431
- cloid?: `0x${string}` | undefined;
3432
- };
3433
- } | {
3434
- error: string;
3435
- })[], "Array of statuses or error messages.">]>;
3436
- }, undefined>, v.DescriptionAction<{
3437
- statuses: ({
3438
- resting: {
3439
- oid: number;
3440
- cloid?: `0x${string}` | undefined;
3441
- };
3442
- } | {
3443
- filled: {
3444
- totalSz: string;
3445
- avgPx: string;
3446
- oid: number;
3447
- cloid?: `0x${string}` | undefined;
3448
- };
3449
- } | {
3450
- error: string;
3451
- })[];
3452
- }, "Specific data.">]>;
3453
- }, undefined>, v.DescriptionAction<{
3454
- type: "order";
3455
- data: {
3456
- statuses: ({
3457
- resting: {
3458
- oid: number;
3459
- cloid?: `0x${string}` | undefined;
3460
- };
3461
- } | {
3462
- filled: {
3463
- totalSz: string;
3464
- avgPx: string;
3465
- oid: number;
3466
- cloid?: `0x${string}` | undefined;
3467
- };
3468
- } | {
3469
- error: string;
3470
- })[];
3471
- };
3472
- }, "Response details.">]>;
3473
- }, undefined>, v.DescriptionAction<{
3474
- status: "ok";
3475
- response: {
3476
- type: "order";
3477
- data: {
3478
- statuses: ({
3479
- resting: {
3480
- oid: number;
3481
- cloid?: `0x${string}` | undefined;
3482
- };
3483
- } | {
3484
- filled: {
3485
- totalSz: string;
3486
- avgPx: string;
3487
- oid: number;
3488
- cloid?: `0x${string}` | undefined;
3489
- };
3490
- } | {
3491
- error: string;
3492
- })[];
3493
- };
3494
- };
3495
- }, "Response for order placement and batch modifications.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3496
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3497
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3498
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3499
- }, undefined>, v.DescriptionAction<{
3500
- type: "default";
3501
- }, "Response details.">]>;
3502
- }, undefined>, v.DescriptionAction<{
3503
- status: "ok";
3504
- response: {
3505
- type: "default";
3506
- };
3507
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3508
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3509
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3510
- }, undefined>, v.DescriptionAction<{
3511
- status: "err";
3512
- response: string;
3513
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3514
- status: "err";
3515
- response: string;
3516
- } | {
3517
- status: "ok";
3518
- response: {
3519
- type: "default";
3520
- };
3521
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3522
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3523
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3524
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3525
- }, undefined>, v.DescriptionAction<{
3526
- type: "default";
3527
- }, "Response details.">]>;
3528
- }, undefined>, v.DescriptionAction<{
3529
- status: "ok";
3530
- response: {
3531
- type: "default";
3532
- };
3533
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3534
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3535
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3536
- }, undefined>, v.DescriptionAction<{
3537
- status: "err";
3538
- response: string;
3539
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3540
- status: "err";
3541
- response: string;
3542
- } | {
3543
- status: "ok";
3544
- response: {
3545
- type: "default";
3546
- };
3547
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3548
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3549
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3550
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3551
- }, undefined>, v.DescriptionAction<{
3552
- type: "default";
3553
- }, "Response details.">]>;
3554
- }, undefined>, v.DescriptionAction<{
3555
- status: "ok";
3556
- response: {
3557
- type: "default";
3558
- };
3559
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3560
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3561
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3562
- }, undefined>, v.DescriptionAction<{
3563
- status: "err";
3564
- response: string;
3565
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3566
- status: "err";
3567
- response: string;
3568
- } | {
3569
- status: "ok";
3570
- response: {
3571
- type: "default";
3572
- };
3573
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3574
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3575
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3576
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3577
- }, undefined>, v.DescriptionAction<{
3578
- type: "default";
3579
- }, "Response details.">]>;
3580
- }, undefined>, v.DescriptionAction<{
3581
- status: "ok";
3582
- response: {
3583
- type: "default";
3584
- };
3585
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3586
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3587
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3588
- }, undefined>, v.DescriptionAction<{
3589
- status: "err";
3590
- response: string;
3591
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3592
- status: "err";
3593
- response: string;
3594
- } | {
3595
- status: "ok";
3596
- response: {
3597
- type: "default";
3598
- };
3599
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3600
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3601
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3602
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3603
- }, undefined>, v.DescriptionAction<{
3604
- type: "default";
3605
- }, "Response details.">]>;
3606
- }, undefined>, v.DescriptionAction<{
3607
- status: "ok";
3608
- response: {
3609
- type: "default";
3610
- };
3611
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3612
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3613
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3614
- }, undefined>, v.DescriptionAction<{
3615
- status: "err";
3616
- response: string;
3617
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3618
- status: "err";
3619
- response: string;
3620
- } | {
3621
- status: "ok";
3622
- response: {
3623
- type: "default";
3624
- };
3625
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3626
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3627
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3628
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3629
- }, undefined>, v.DescriptionAction<{
3630
- type: "default";
3631
- }, "Response details.">]>;
3632
- }, undefined>, v.DescriptionAction<{
3633
- status: "ok";
3634
- response: {
3635
- type: "default";
3636
- };
3637
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3638
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3639
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3640
- }, undefined>, v.DescriptionAction<{
3641
- status: "err";
3642
- response: string;
3643
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3644
- status: "err";
3645
- response: string;
3646
- } | {
3647
- status: "ok";
3648
- response: {
3649
- type: "default";
3650
- };
3651
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3652
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3653
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3654
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3655
- }, undefined>, v.DescriptionAction<{
3656
- type: "default";
3657
- }, "Response details.">]>;
3658
- }, undefined>, v.DescriptionAction<{
3659
- status: "ok";
3660
- response: {
3661
- type: "default";
3662
- };
3663
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3664
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3665
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3666
- }, undefined>, v.DescriptionAction<{
3667
- status: "err";
3668
- response: string;
3669
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3670
- status: "err";
3671
- response: string;
3672
- } | {
3673
- status: "ok";
3674
- response: {
3675
- type: "default";
3676
- };
3677
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3678
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3679
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3680
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3681
- }, undefined>, v.DescriptionAction<{
3682
- type: "default";
3683
- }, "Response details.">]>;
3684
- }, undefined>, v.DescriptionAction<{
3685
- status: "ok";
3686
- response: {
3687
- type: "default";
3688
- };
3689
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3690
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3691
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3692
- }, undefined>, v.DescriptionAction<{
3693
- status: "err";
3694
- response: string;
3695
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3696
- status: "err";
3697
- response: string;
3698
- } | {
3699
- status: "ok";
3700
- response: {
3701
- type: "default";
3702
- };
3703
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3704
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3705
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3706
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3707
- }, undefined>, v.DescriptionAction<{
3708
- type: "default";
3709
- }, "Response details.">]>;
3710
- }, undefined>, v.DescriptionAction<{
3711
- status: "ok";
3712
- response: {
3713
- type: "default";
3714
- };
3715
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3716
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3717
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3718
- }, undefined>, v.DescriptionAction<{
3719
- status: "err";
3720
- response: string;
3721
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3722
- status: "err";
3723
- response: string;
3724
- } | {
3725
- status: "ok";
3726
- response: {
3727
- type: "default";
3728
- };
3729
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3730
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3731
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3732
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3733
- }, undefined>, v.DescriptionAction<{
3734
- type: "default";
3735
- }, "Response details.">]>;
3736
- }, undefined>, v.DescriptionAction<{
3737
- status: "ok";
3738
- response: {
3739
- type: "default";
3740
- };
3741
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3742
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3743
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3744
- }, undefined>, v.DescriptionAction<{
3745
- status: "err";
3746
- response: string;
3747
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3748
- status: "err";
3749
- response: string;
3750
- } | {
3751
- status: "ok";
3752
- response: {
3753
- type: "default";
3754
- };
3755
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3756
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3757
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3758
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3759
- }, undefined>, v.DescriptionAction<{
3760
- type: "default";
3761
- }, "Response details.">]>;
3762
- }, undefined>, v.DescriptionAction<{
3763
- status: "ok";
3764
- response: {
3765
- type: "default";
3766
- };
3767
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3768
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3769
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3770
- }, undefined>, v.DescriptionAction<{
3771
- status: "err";
3772
- response: string;
3773
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3774
- status: "err";
3775
- response: string;
3776
- } | {
3777
- status: "ok";
3778
- response: {
3779
- type: "default";
3780
- };
3781
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3782
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3783
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3784
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3785
- }, undefined>, v.DescriptionAction<{
3786
- type: "default";
3787
- }, "Response details.">]>;
3788
- }, undefined>, v.DescriptionAction<{
3789
- status: "ok";
3790
- response: {
3791
- type: "default";
3792
- };
3793
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3794
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3795
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3796
- }, undefined>, v.DescriptionAction<{
3797
- status: "err";
3798
- response: string;
3799
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3800
- status: "err";
3801
- response: string;
3802
- } | {
3803
- status: "ok";
3804
- response: {
3805
- type: "default";
3806
- };
3807
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3808
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3809
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3810
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3811
- }, undefined>, v.DescriptionAction<{
3812
- type: "default";
3813
- }, "Response details.">]>;
3814
- }, undefined>, v.DescriptionAction<{
3815
- status: "ok";
3816
- response: {
3817
- type: "default";
3818
- };
3819
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3820
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3821
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3822
- }, undefined>, v.DescriptionAction<{
3823
- status: "err";
3824
- response: string;
3825
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3826
- status: "err";
3827
- response: string;
3828
- } | {
3829
- status: "ok";
3830
- response: {
3831
- type: "default";
3832
- };
3833
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3834
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3835
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3836
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3837
- }, undefined>, v.DescriptionAction<{
3838
- type: "default";
3839
- }, "Response details.">]>;
3840
- }, undefined>, v.DescriptionAction<{
3841
- status: "ok";
3842
- response: {
3843
- type: "default";
3844
- };
3845
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3846
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3847
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3848
- }, undefined>, v.DescriptionAction<{
3849
- status: "err";
3850
- response: string;
3851
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3852
- status: "err";
3853
- response: string;
3854
- } | {
3855
- status: "ok";
3856
- response: {
3857
- type: "default";
3858
- };
3859
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3860
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3861
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3862
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapCancel", undefined>, v.DescriptionAction<"twapCancel", "Type of response.">]>;
3863
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3864
- readonly status: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.ObjectSchema<{
3865
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3866
- }, undefined>], undefined>, v.DescriptionAction<string | {
3867
- error: string;
3868
- }, "Status of the operation or error message.">]>;
3869
- }, undefined>, v.DescriptionAction<{
3870
- status: string | {
3871
- error: string;
3872
- };
3873
- }, "Specific data.">]>;
3874
- }, undefined>, v.DescriptionAction<{
3875
- type: "twapCancel";
3876
- data: {
3877
- status: string | {
3878
- error: string;
3879
- };
3880
- };
3881
- }, "Response details.">]>;
3882
- }, undefined>, v.DescriptionAction<{
3883
- status: "ok";
3884
- response: {
3885
- type: "twapCancel";
3886
- data: {
3887
- status: string | {
3888
- error: string;
3889
- };
3890
- };
3891
- };
3892
- }, "Response for canceling a TWAP order.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3893
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3894
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3895
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapOrder", undefined>, v.DescriptionAction<"twapOrder", "Type of response.">]>;
3896
- readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3897
- readonly status: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
3898
- readonly running: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3899
- readonly twapId: 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.">]>;
3900
- }, undefined>, v.DescriptionAction<{
3901
- twapId: number;
3902
- }, "Running order status.">]>;
3903
- }, undefined>, v.ObjectSchema<{
3904
- readonly error: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3905
- }, undefined>], undefined>, v.DescriptionAction<{
3906
- running: {
3907
- twapId: number;
3908
- };
3909
- } | {
3910
- error: string;
3911
- }, "Status of the operation or error message.">]>;
3912
- }, undefined>, v.DescriptionAction<{
3913
- status: {
3914
- running: {
3915
- twapId: number;
3916
- };
3917
- } | {
3918
- error: string;
3919
- };
3920
- }, "Specific data.">]>;
3921
- }, undefined>, v.DescriptionAction<{
3922
- type: "twapOrder";
3923
- data: {
3924
- status: {
3925
- running: {
3926
- twapId: number;
3927
- };
3928
- } | {
3929
- error: string;
3930
- };
3931
- };
3932
- }, "Response details.">]>;
3933
- }, undefined>, v.DescriptionAction<{
3934
- status: "ok";
3935
- response: {
3936
- type: "twapOrder";
3937
- data: {
3938
- status: {
3939
- running: {
3940
- twapId: number;
3941
- };
3942
- } | {
3943
- error: string;
3944
- };
3945
- };
3946
- };
3947
- }, "Response for creating a TWAP order.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3948
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3949
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3950
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3951
- }, undefined>, v.DescriptionAction<{
3952
- type: "default";
3953
- }, "Response details.">]>;
3954
- }, undefined>, v.DescriptionAction<{
3955
- status: "ok";
3956
- response: {
3957
- type: "default";
3958
- };
3959
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3960
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3961
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3962
- }, undefined>, v.DescriptionAction<{
3963
- status: "err";
3964
- response: string;
3965
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3966
- status: "err";
3967
- response: string;
3968
- } | {
3969
- status: "ok";
3970
- response: {
3971
- type: "default";
3972
- };
3973
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
3974
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
3975
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3976
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
3977
- }, undefined>, v.DescriptionAction<{
3978
- type: "default";
3979
- }, "Response details.">]>;
3980
- }, undefined>, v.DescriptionAction<{
3981
- status: "ok";
3982
- response: {
3983
- type: "default";
3984
- };
3985
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3986
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
3987
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
3988
- }, undefined>, v.DescriptionAction<{
3989
- status: "err";
3990
- response: string;
3991
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
3992
- status: "err";
3993
- response: string;
3994
- } | {
3995
- status: "ok";
3996
- response: {
3997
- type: "default";
3998
- };
3999
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4000
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4001
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4002
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4003
- }, undefined>, v.DescriptionAction<{
4004
- type: "default";
4005
- }, "Response details.">]>;
4006
- }, undefined>, v.DescriptionAction<{
4007
- status: "ok";
4008
- response: {
4009
- type: "default";
4010
- };
4011
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4012
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4013
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4014
- }, undefined>, v.DescriptionAction<{
4015
- status: "err";
4016
- response: string;
4017
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4018
- status: "err";
4019
- response: string;
4020
- } | {
4021
- status: "ok";
4022
- response: {
4023
- type: "default";
4024
- };
4025
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4026
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4027
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4028
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4029
- }, undefined>, v.DescriptionAction<{
4030
- type: "default";
4031
- }, "Response details.">]>;
4032
- }, undefined>, v.DescriptionAction<{
4033
- status: "ok";
4034
- response: {
4035
- type: "default";
4036
- };
4037
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4038
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4039
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4040
- }, undefined>, v.DescriptionAction<{
4041
- status: "err";
4042
- response: string;
4043
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4044
- status: "err";
4045
- response: string;
4046
- } | {
4047
- status: "ok";
4048
- response: {
4049
- type: "default";
4050
- };
4051
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4052
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4053
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4054
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4055
- }, undefined>, v.DescriptionAction<{
4056
- type: "default";
4057
- }, "Response details.">]>;
4058
- }, undefined>, v.DescriptionAction<{
4059
- status: "ok";
4060
- response: {
4061
- type: "default";
4062
- };
4063
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4064
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4065
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4066
- }, undefined>, v.DescriptionAction<{
4067
- status: "err";
4068
- response: string;
4069
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4070
- status: "err";
4071
- response: string;
4072
- } | {
4073
- status: "ok";
4074
- response: {
4075
- type: "default";
4076
- };
4077
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4078
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4079
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4080
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4081
- }, undefined>, v.DescriptionAction<{
4082
- type: "default";
4083
- }, "Response details.">]>;
4084
- }, undefined>, v.DescriptionAction<{
4085
- status: "ok";
4086
- response: {
4087
- type: "default";
4088
- };
4089
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4090
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4091
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4092
- }, undefined>, v.DescriptionAction<{
4093
- status: "err";
4094
- response: string;
4095
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4096
- status: "err";
4097
- response: string;
4098
- } | {
4099
- status: "ok";
4100
- response: {
4101
- type: "default";
4102
- };
4103
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4104
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4105
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4106
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4107
- }, undefined>, v.DescriptionAction<{
4108
- type: "default";
4109
- }, "Response details.">]>;
4110
- }, undefined>, v.DescriptionAction<{
4111
- status: "ok";
4112
- response: {
4113
- type: "default";
4114
- };
4115
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4116
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4117
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4118
- }, undefined>, v.DescriptionAction<{
4119
- status: "err";
4120
- response: string;
4121
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4122
- status: "err";
4123
- response: string;
4124
- } | {
4125
- status: "ok";
4126
- response: {
4127
- type: "default";
4128
- };
4129
- }, "Successful response without specific data or error response.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
4130
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
4131
- readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4132
- readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
4133
- }, undefined>, v.DescriptionAction<{
4134
- type: "default";
4135
- }, "Response details.">]>;
4136
- }, undefined>, v.DescriptionAction<{
4137
- status: "ok";
4138
- response: {
4139
- type: "default";
4140
- };
4141
- }, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
4142
- readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
4143
- readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
4144
- }, undefined>, v.DescriptionAction<{
4145
- status: "err";
4146
- response: string;
4147
- }, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
4148
- status: "err";
4149
- response: string;
4150
- } | {
4151
- status: "ok";
4152
- response: {
4153
- type: "default";
4154
- };
4155
- }, "Successful response without specific data or error response.">]>], undefined>, v.DescriptionAction<{
4156
- status: "err";
4157
- response: string;
4158
- } | {
4159
- status: "ok";
4160
- response: {
4161
- type: "default";
4162
- };
4163
- } | {
4164
- status: "ok";
4165
- response: {
4166
- type: "cancel";
4167
- data: {
4168
- statuses: ("success" | {
4169
- error: string;
4170
- })[];
4171
- };
4172
- };
4173
- } | {
4174
- status: "ok";
4175
- response: {
4176
- type: "createSubAccount";
4177
- data: `0x${string}`;
4178
- };
4179
- } | {
4180
- status: "ok";
4181
- response: {
4182
- type: "createVault";
4183
- data: `0x${string}`;
4184
- };
4185
- } | {
4186
- status: "ok";
4187
- response: {
4188
- type: "order";
4189
- data: {
4190
- statuses: ({
4191
- resting: {
4192
- oid: number;
4193
- cloid?: `0x${string}` | undefined;
4194
- };
4195
- } | {
4196
- filled: {
4197
- totalSz: string;
4198
- avgPx: string;
4199
- oid: number;
4200
- cloid?: `0x${string}` | undefined;
4201
- };
4202
- } | {
4203
- error: string;
4204
- })[];
4205
- };
4206
- };
4207
- } | {
4208
- status: "ok";
4209
- response: {
4210
- type: "twapOrder";
4211
- data: {
4212
- status: {
4213
- running: {
4214
- twapId: number;
4215
- };
4216
- } | {
4217
- error: string;
4218
- };
4219
- };
4220
- };
4221
- } | {
4222
- status: "ok";
4223
- response: {
4224
- type: "twapCancel";
4225
- data: {
4226
- status: string | {
4227
- error: string;
4228
- };
4229
- };
4230
- };
4231
- }, "A response related to an action.">]>;
4232
- export type MultiSigResponse = v.InferOutput<typeof MultiSigResponse>;
4233
- import { type DeepImmutable } from "../_base.js";
4234
- import { type ExchangeRequestConfig, type ExcludeErrorResponse, type ExtractRequestAction, type ExtractRequestOptions } from "./_base/mod.js";
4235
- /** Action parameters for the {@linkcode multiSig} function. */
4236
- export type MultiSigParameters = ExtractRequestAction<v.InferInput<typeof MultiSigRequest>> & Pick<v.InferInput<typeof MultiSigRequest>, "nonce">;
4237
- /** Request options for the {@linkcode multiSig} function. */
4238
- export type MultiSigOptions = ExtractRequestOptions<v.InferInput<typeof MultiSigRequest>>;
4239
- /** Successful variant of {@linkcode MultiSigResponse} without errors. */
4240
- export type MultiSigSuccessResponse = ExcludeErrorResponse<MultiSigResponse>;
4241
- /** EIP-712 types for the {@linkcode multiSig} function. */
4242
- export declare const MultiSigTypes: {
4243
- "HyperliquidTransaction:SendMultiSig": {
4244
- name: string;
4245
- type: string;
4246
- }[];
4247
- };
4248
- /**
4249
- * A multi-signature request.
4250
- * @param config - General configuration for Exchange API requests.
4251
- * @param params - Parameters specific to the API request.
4252
- * @param opts - Request execution options.
4253
- * @returns Any successful response.
4254
- *
4255
- * @throws {ApiRequestError} When the API returns an unsuccessful response.
4256
- * @throws {TransportError} When the transport layer throws an error.
4257
- *
4258
- * @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
4259
- * @example
4260
- * ```ts
4261
- * import { HttpTransport } from "@nktkas/hyperliquid";
4262
- * import { multiSig, parser, ScheduleCancelRequest } from "@nktkas/hyperliquid/api/exchange";
4263
- * import { signL1Action } from "@nktkas/hyperliquid/signing";
4264
- * import { privateKeyToAccount } from "npm:viem/accounts";
4265
- *
4266
- * const wallet = privateKeyToAccount("0x..."); // viem or ethers
4267
- * const multiSigUser = "0x...";
4268
- * const transport = new HttpTransport(); // or `WebSocketTransport`
4269
- *
4270
- * const nonce = Date.now();
4271
- * const action = parser(ScheduleCancelRequest.entries.action)({
4272
- * type: "scheduleCancel",
4273
- * time: Date.now() + 10000,
4274
- * });
4275
- *
4276
- * // Create the required number of signatures
4277
- * const signatures = await Promise.all(["0x...", "0x..."].map(async (signerPrivKey) => {
4278
- * return await signL1Action({
4279
- * wallet: privateKeyToAccount(signerPrivKey as `0x${string}`), // viem or ethers
4280
- * action: [multiSigUser.toLowerCase(), wallet.address.toLowerCase(), action],
4281
- * nonce,
4282
- * });
4283
- * }));
4284
- *
4285
- * // // or user-signed action
4286
- * // const signatures = await Promise.all(["0x...", "0x..."].map(async (signerPrivKey) => {
4287
- * // return await signUserSignedAction({
4288
- * // wallet: privateKeyToAccount(signerPrivKey as `0x${string}`), // viem or ethers
4289
- * // action: {
4290
- * // ...action,
4291
- * // payloadMultiSigUser: multiSigUser,
4292
- * // outerSigner: wallet.address,
4293
- * // },
4294
- * // types: SomeTypes,
4295
- * // });
4296
- * // }));
4297
- *
4298
- * // Then use signatures in the `multiSig` action
4299
- * const data = await multiSig(
4300
- * { transport, wallet },
4301
- * {
4302
- * signatures,
4303
- * payload: {
4304
- * multiSigUser,
4305
- * outerSigner: wallet.address,
4306
- * action,
4307
- * },
4308
- * nonce,
4309
- * },
4310
- * );
4311
- * ```
4312
- */
4313
- export declare function multiSig(config: ExchangeRequestConfig, paramsAndNonce: DeepImmutable<MultiSigParameters>, opts?: MultiSigOptions): Promise<MultiSigSuccessResponse>;
4314
- //# sourceMappingURL=multiSig.d.ts.map