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