@nktkas/hyperliquid 0.30.3 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +1 -3
- package/esm/bin/_utils.d.ts +33 -1
- package/esm/bin/_utils.d.ts.map +1 -1
- package/esm/bin/_utils.js +17 -1
- package/esm/bin/_utils.js.map +1 -1
- package/esm/bin/cli.js +288 -262
- package/esm/bin/cli.js.map +1 -1
- package/{script/deps/jsr.io/@std/async/1.1.0 → esm/deps/jsr.io/@std/async/1.1.1}/unstable_semaphore.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js.map +1 -1
- package/esm/src/api/_schemas.d.ts +9 -0
- package/esm/src/api/_schemas.d.ts.map +1 -1
- package/esm/src/api/_schemas.js +10 -1
- package/esm/src/api/_schemas.js.map +1 -1
- package/esm/src/api/exchange/_methods/_base/_semaphore.js +1 -1
- package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts +16 -30
- package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/_base/commonSchemas.js +16 -16
- package/esm/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -1
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +23 -60
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js +11 -9
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
- package/esm/src/api/exchange/_methods/agentSetAbstraction.d.ts +126 -0
- package/esm/src/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/agentSetAbstraction.js +82 -0
- package/esm/src/api/exchange/_methods/agentSetAbstraction.js.map +1 -0
- package/esm/src/api/exchange/_methods/approveAgent.d.ts +37 -85
- package/esm/src/api/exchange/_methods/approveAgent.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/approveAgent.js +14 -14
- package/esm/src/api/exchange/_methods/approveAgent.js.map +1 -1
- package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts +37 -85
- package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/approveBuilderFee.js +13 -13
- package/esm/src/api/exchange/_methods/approveBuilderFee.js.map +1 -1
- package/esm/src/api/exchange/_methods/batchModify.d.ts +99 -431
- package/esm/src/api/exchange/_methods/batchModify.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/batchModify.js +31 -36
- package/esm/src/api/exchange/_methods/batchModify.js.map +1 -1
- package/esm/src/api/exchange/_methods/borrowLend.d.ts +38 -84
- package/esm/src/api/exchange/_methods/borrowLend.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/borrowLend.js +13 -13
- package/esm/src/api/exchange/_methods/borrowLend.js.map +1 -1
- package/esm/src/api/exchange/_methods/cDeposit.d.ts +34 -80
- package/esm/src/api/exchange/_methods/cDeposit.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cDeposit.js +12 -12
- package/esm/src/api/exchange/_methods/cDeposit.js.map +1 -1
- package/esm/src/api/exchange/_methods/cSignerAction.d.ts +32 -79
- package/esm/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cSignerAction.js +12 -12
- package/esm/src/api/exchange/_methods/cSignerAction.js.map +1 -1
- package/esm/src/api/exchange/_methods/cValidatorAction.d.ts +107 -314
- package/esm/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cValidatorAction.js +37 -37
- package/esm/src/api/exchange/_methods/cValidatorAction.js.map +1 -1
- package/esm/src/api/exchange/_methods/cWithdraw.d.ts +34 -80
- package/esm/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cWithdraw.js +12 -12
- package/esm/src/api/exchange/_methods/cWithdraw.js.map +1 -1
- package/esm/src/api/exchange/_methods/cancel.d.ts +38 -100
- package/esm/src/api/exchange/_methods/cancel.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cancel.js +24 -24
- package/esm/src/api/exchange/_methods/cancel.js.map +1 -1
- package/esm/src/api/exchange/_methods/cancelByCloid.d.ts +38 -110
- package/esm/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/cancelByCloid.js +14 -14
- package/esm/src/api/exchange/_methods/cancelByCloid.js.map +1 -1
- package/esm/src/api/exchange/_methods/claimRewards.d.ts +21 -60
- package/esm/src/api/exchange/_methods/claimRewards.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/claimRewards.js +9 -9
- package/esm/src/api/exchange/_methods/claimRewards.js.map +1 -1
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts +58 -122
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.js +17 -18
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
- package/esm/src/api/exchange/_methods/createSubAccount.d.ts +27 -65
- package/esm/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/createSubAccount.js +16 -16
- package/esm/src/api/exchange/_methods/createSubAccount.js.map +1 -1
- package/esm/src/api/exchange/_methods/createVault.d.ts +36 -80
- package/esm/src/api/exchange/_methods/createVault.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/createVault.js +19 -20
- package/esm/src/api/exchange/_methods/createVault.js.map +1 -1
- package/esm/src/api/exchange/_methods/evmUserModify.d.ts +26 -67
- package/esm/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/evmUserModify.js +10 -10
- package/esm/src/api/exchange/_methods/evmUserModify.js.map +1 -1
- package/esm/src/api/exchange/_methods/linkStakingUser.d.ts +37 -85
- package/esm/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/linkStakingUser.js +13 -17
- package/esm/src/api/exchange/_methods/linkStakingUser.js.map +1 -1
- package/esm/src/api/exchange/_methods/modify.d.ts +81 -263
- package/esm/src/api/exchange/_methods/modify.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/modify.js +29 -34
- package/esm/src/api/exchange/_methods/modify.js.map +1 -1
- package/esm/src/api/exchange/_methods/noop.d.ts +21 -60
- package/esm/src/api/exchange/_methods/noop.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/noop.js +9 -9
- package/esm/src/api/exchange/_methods/noop.js.map +1 -1
- package/esm/src/api/exchange/_methods/order.d.ts +105 -365
- package/esm/src/api/exchange/_methods/order.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/order.js +53 -61
- package/esm/src/api/exchange/_methods/order.js.map +1 -1
- package/esm/src/api/exchange/_methods/perpDeploy.d.ts +245 -679
- package/esm/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/perpDeploy.js +83 -107
- package/esm/src/api/exchange/_methods/perpDeploy.js.map +1 -1
- package/esm/src/api/exchange/_methods/registerReferrer.d.ts +26 -67
- package/esm/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/registerReferrer.js +10 -10
- package/esm/src/api/exchange/_methods/registerReferrer.js.map +1 -1
- package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts +26 -67
- package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/reserveRequestWeight.js +10 -11
- package/esm/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
- package/esm/src/api/exchange/_methods/scheduleCancel.d.ts +27 -69
- package/esm/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/scheduleCancel.js +11 -13
- package/esm/src/api/exchange/_methods/scheduleCancel.js.map +1 -1
- package/esm/src/api/exchange/_methods/sendAsset.d.ts +59 -115
- package/esm/src/api/exchange/_methods/sendAsset.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/sendAsset.js +17 -17
- package/esm/src/api/exchange/_methods/sendAsset.js.map +1 -1
- package/esm/src/api/exchange/_methods/setDisplayName.d.ts +26 -67
- package/esm/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/setDisplayName.js +10 -11
- package/esm/src/api/exchange/_methods/setDisplayName.js.map +1 -1
- package/esm/src/api/exchange/_methods/setReferrer.d.ts +26 -67
- package/esm/src/api/exchange/_methods/setReferrer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/setReferrer.js +10 -10
- package/esm/src/api/exchange/_methods/setReferrer.js.map +1 -1
- package/esm/src/api/exchange/_methods/spotDeploy.d.ts +164 -419
- package/esm/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/spotDeploy.js +56 -68
- package/esm/src/api/exchange/_methods/spotDeploy.js.map +1 -1
- package/esm/src/api/exchange/_methods/spotSend.d.ts +45 -95
- package/esm/src/api/exchange/_methods/spotSend.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/spotSend.js +14 -14
- package/esm/src/api/exchange/_methods/spotSend.js.map +1 -1
- package/esm/src/api/exchange/_methods/spotUser.d.ts +32 -83
- package/esm/src/api/exchange/_methods/spotUser.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/spotUser.js +12 -12
- package/esm/src/api/exchange/_methods/spotUser.js.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountModify.d.ts +29 -72
- package/esm/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountModify.js +11 -11
- package/esm/src/api/exchange/_methods/subAccountModify.js.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +40 -87
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js +13 -13
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts +32 -77
- package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/subAccountTransfer.js +12 -12
- package/esm/src/api/exchange/_methods/subAccountTransfer.js.map +1 -1
- package/esm/src/api/exchange/_methods/tokenDelegate.d.ts +40 -90
- package/esm/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/tokenDelegate.js +14 -14
- package/esm/src/api/exchange/_methods/tokenDelegate.js.map +1 -1
- package/esm/src/api/exchange/_methods/twapCancel.d.ts +32 -81
- package/esm/src/api/exchange/_methods/twapCancel.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/twapCancel.js +22 -22
- package/esm/src/api/exchange/_methods/twapCancel.js.map +1 -1
- package/esm/src/api/exchange/_methods/twapOrder.d.ts +53 -153
- package/esm/src/api/exchange/_methods/twapOrder.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/twapOrder.js +31 -31
- package/esm/src/api/exchange/_methods/twapOrder.js.map +1 -1
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts +33 -79
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.js +13 -13
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
- package/esm/src/api/exchange/_methods/updateLeverage.d.ts +38 -84
- package/esm/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/updateLeverage.js +13 -13
- package/esm/src/api/exchange/_methods/updateLeverage.js.map +1 -1
- package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts +37 -85
- package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/usdClassTransfer.js +13 -13
- package/esm/src/api/exchange/_methods/usdClassTransfer.js.map +1 -1
- package/esm/src/api/exchange/_methods/usdSend.d.ts +37 -85
- package/esm/src/api/exchange/_methods/usdSend.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/usdSend.js +13 -13
- package/esm/src/api/exchange/_methods/usdSend.js.map +1 -1
- package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts +39 -85
- package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/userDexAbstraction.js +15 -13
- package/esm/src/api/exchange/_methods/userDexAbstraction.js.map +1 -1
- package/esm/src/api/exchange/_methods/userPortfolioMargin.d.ts +37 -85
- package/esm/src/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/userPortfolioMargin.js +13 -13
- package/esm/src/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
- package/esm/src/api/exchange/_methods/userSetAbstraction.d.ts +145 -0
- package/esm/src/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/userSetAbstraction.js +92 -0
- package/esm/src/api/exchange/_methods/userSetAbstraction.js.map +1 -0
- package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts +26 -67
- package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/validatorL1Stream.js +10 -10
- package/esm/src/api/exchange/_methods/validatorL1Stream.js.map +1 -1
- package/esm/src/api/exchange/_methods/vaultDistribute.d.ts +29 -72
- package/esm/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/vaultDistribute.js +11 -12
- package/esm/src/api/exchange/_methods/vaultDistribute.js.map +1 -1
- package/esm/src/api/exchange/_methods/vaultModify.d.ts +32 -77
- package/esm/src/api/exchange/_methods/vaultModify.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/vaultModify.js +12 -12
- package/esm/src/api/exchange/_methods/vaultModify.js.map +1 -1
- package/esm/src/api/exchange/_methods/vaultTransfer.d.ts +32 -77
- package/esm/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/vaultTransfer.js +12 -12
- package/esm/src/api/exchange/_methods/vaultTransfer.js.map +1 -1
- package/esm/src/api/exchange/_methods/withdraw3.d.ts +37 -85
- package/esm/src/api/exchange/_methods/withdraw3.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/withdraw3.js +13 -13
- package/esm/src/api/exchange/_methods/withdraw3.js.map +1 -1
- package/esm/src/api/exchange/client.d.ts +1278 -48
- package/esm/src/api/exchange/client.d.ts.map +1 -1
- package/esm/src/api/exchange/client.js +1253 -46
- package/esm/src/api/exchange/client.js.map +1 -1
- package/esm/src/api/exchange/mod.d.ts +2 -0
- package/esm/src/api/exchange/mod.d.ts.map +1 -1
- package/esm/src/api/exchange/mod.js +2 -0
- package/esm/src/api/exchange/mod.js.map +1 -1
- package/esm/src/api/info/_methods/_base/commonSchemas.d.ts +100 -196
- package/esm/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -1
- package/esm/src/api/info/_methods/_base/commonSchemas.js +103 -141
- package/esm/src/api/info/_methods/_base/commonSchemas.js.map +1 -1
- package/esm/src/api/info/_methods/activeAssetData.d.ts +19 -44
- package/esm/src/api/info/_methods/activeAssetData.d.ts.map +1 -1
- package/esm/src/api/info/_methods/activeAssetData.js +19 -19
- package/esm/src/api/info/_methods/activeAssetData.js.map +1 -1
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +11 -20
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js +12 -12
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts +13 -33
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -1
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.js +4 -7
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -1
- package/esm/src/api/info/_methods/allMids.d.ts +5 -10
- package/esm/src/api/info/_methods/allMids.d.ts.map +1 -1
- package/esm/src/api/info/_methods/allMids.js +5 -5
- package/esm/src/api/info/_methods/allMids.js.map +1 -1
- package/esm/src/api/info/_methods/allPerpMetas.d.ts +24 -91
- package/esm/src/api/info/_methods/allPerpMetas.d.ts.map +1 -1
- package/esm/src/api/info/_methods/allPerpMetas.js +4 -4
- package/esm/src/api/info/_methods/allPerpMetas.js.map +1 -1
- package/esm/src/api/info/_methods/blockDetails.d.ts +24 -92
- package/esm/src/api/info/_methods/blockDetails.d.ts.map +1 -1
- package/esm/src/api/info/_methods/blockDetails.js +15 -15
- package/esm/src/api/info/_methods/blockDetails.js.map +1 -1
- package/esm/src/api/info/_methods/borrowLendReserveState.d.ts +14 -26
- package/esm/src/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
- package/esm/src/api/info/_methods/borrowLendReserveState.js +14 -14
- package/esm/src/api/info/_methods/borrowLendReserveState.js.map +1 -1
- package/esm/src/api/info/_methods/borrowLendUserState.d.ts +18 -49
- package/esm/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
- package/esm/src/api/info/_methods/borrowLendUserState.js +18 -19
- package/esm/src/api/info/_methods/borrowLendUserState.js.map +1 -1
- package/esm/src/api/info/_methods/candleSnapshot.d.ts +21 -45
- package/esm/src/api/info/_methods/candleSnapshot.d.ts.map +1 -1
- package/esm/src/api/info/_methods/candleSnapshot.js +21 -21
- package/esm/src/api/info/_methods/candleSnapshot.js.map +1 -1
- package/esm/src/api/info/_methods/clearinghouseState.d.ts +48 -165
- package/esm/src/api/info/_methods/clearinghouseState.d.ts.map +1 -1
- package/esm/src/api/info/_methods/clearinghouseState.js +48 -48
- package/esm/src/api/info/_methods/clearinghouseState.js.map +1 -1
- package/esm/src/api/info/_methods/delegations.d.ts +9 -16
- package/esm/src/api/info/_methods/delegations.d.ts.map +1 -1
- package/esm/src/api/info/_methods/delegations.js +9 -9
- package/esm/src/api/info/_methods/delegations.js.map +1 -1
- package/esm/src/api/info/_methods/delegatorHistory.d.ts +22 -68
- package/esm/src/api/info/_methods/delegatorHistory.d.ts.map +1 -1
- package/esm/src/api/info/_methods/delegatorHistory.js +22 -22
- package/esm/src/api/info/_methods/delegatorHistory.js.map +1 -1
- package/esm/src/api/info/_methods/delegatorRewards.d.ts +9 -16
- package/esm/src/api/info/_methods/delegatorRewards.d.ts.map +1 -1
- package/esm/src/api/info/_methods/delegatorRewards.js +9 -9
- package/esm/src/api/info/_methods/delegatorRewards.js.map +1 -1
- package/esm/src/api/info/_methods/delegatorSummary.d.ts +10 -18
- package/esm/src/api/info/_methods/delegatorSummary.d.ts.map +1 -1
- package/esm/src/api/info/_methods/delegatorSummary.js +10 -10
- package/esm/src/api/info/_methods/delegatorSummary.js.map +1 -1
- package/esm/src/api/info/_methods/exchangeStatus.d.ts +7 -12
- package/esm/src/api/info/_methods/exchangeStatus.d.ts.map +1 -1
- package/esm/src/api/info/_methods/exchangeStatus.js +7 -7
- package/esm/src/api/info/_methods/exchangeStatus.js.map +1 -1
- package/esm/src/api/info/_methods/extraAgents.d.ts +9 -16
- package/esm/src/api/info/_methods/extraAgents.d.ts.map +1 -1
- package/esm/src/api/info/_methods/extraAgents.js +9 -9
- package/esm/src/api/info/_methods/extraAgents.js.map +1 -1
- package/esm/src/api/info/_methods/frontendOpenOrders.d.ts +23 -61
- package/esm/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
- package/esm/src/api/info/_methods/frontendOpenOrders.js +6 -6
- package/esm/src/api/info/_methods/frontendOpenOrders.js.map +1 -1
- package/esm/src/api/info/_methods/fundingHistory.d.ts +12 -22
- package/esm/src/api/info/_methods/fundingHistory.d.ts.map +1 -1
- package/esm/src/api/info/_methods/fundingHistory.js +12 -12
- package/esm/src/api/info/_methods/fundingHistory.js.map +1 -1
- package/esm/src/api/info/_methods/gossipRootIps.d.ts +4 -6
- package/esm/src/api/info/_methods/gossipRootIps.d.ts.map +1 -1
- package/esm/src/api/info/_methods/gossipRootIps.js +4 -4
- package/esm/src/api/info/_methods/gossipRootIps.js.map +1 -1
- package/esm/src/api/info/_methods/historicalOrders.d.ts +26 -84
- package/esm/src/api/info/_methods/historicalOrders.d.ts.map +1 -1
- package/esm/src/api/info/_methods/historicalOrders.js +9 -38
- package/esm/src/api/info/_methods/historicalOrders.js.map +1 -1
- package/esm/src/api/info/_methods/isVip.d.ts +5 -8
- package/esm/src/api/info/_methods/isVip.d.ts.map +1 -1
- package/esm/src/api/info/_methods/isVip.js +5 -5
- package/esm/src/api/info/_methods/isVip.js.map +1 -1
- package/esm/src/api/info/_methods/l2Book.d.ts +21 -52
- package/esm/src/api/info/_methods/l2Book.d.ts.map +1 -1
- package/esm/src/api/info/_methods/l2Book.js +18 -16
- package/esm/src/api/info/_methods/l2Book.js.map +1 -1
- package/esm/src/api/info/_methods/leadingVaults.d.ts +8 -14
- package/esm/src/api/info/_methods/leadingVaults.d.ts.map +1 -1
- package/esm/src/api/info/_methods/leadingVaults.js +8 -8
- package/esm/src/api/info/_methods/leadingVaults.js.map +1 -1
- package/esm/src/api/info/_methods/legalCheck.d.ts +9 -16
- package/esm/src/api/info/_methods/legalCheck.d.ts.map +1 -1
- package/esm/src/api/info/_methods/legalCheck.js +9 -9
- package/esm/src/api/info/_methods/legalCheck.js.map +1 -1
- package/esm/src/api/info/_methods/liquidatable.d.ts +4 -6
- package/esm/src/api/info/_methods/liquidatable.d.ts.map +1 -1
- package/esm/src/api/info/_methods/liquidatable.js +4 -4
- package/esm/src/api/info/_methods/liquidatable.js.map +1 -1
- package/esm/src/api/info/_methods/marginTable.d.ts +11 -23
- package/esm/src/api/info/_methods/marginTable.d.ts.map +1 -1
- package/esm/src/api/info/_methods/marginTable.js +11 -11
- package/esm/src/api/info/_methods/marginTable.js.map +1 -1
- package/esm/src/api/info/_methods/maxBuilderFee.d.ts +6 -10
- package/esm/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -1
- package/esm/src/api/info/_methods/maxBuilderFee.js +6 -6
- package/esm/src/api/info/_methods/maxBuilderFee.js.map +1 -1
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts +4 -6
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
- package/esm/src/api/info/_methods/maxMarketOrderNtls.js +5 -5
- package/esm/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -1
- package/esm/src/api/info/_methods/meta.d.ts +25 -73
- package/esm/src/api/info/_methods/meta.d.ts.map +1 -1
- package/esm/src/api/info/_methods/meta.js +19 -22
- package/esm/src/api/info/_methods/meta.js.map +1 -1
- package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts +36 -126
- package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -1
- package/esm/src/api/info/_methods/metaAndAssetCtxs.js +5 -8
- package/esm/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -1
- package/esm/src/api/info/_methods/openOrders.d.ts +16 -40
- package/esm/src/api/info/_methods/openOrders.d.ts.map +1 -1
- package/esm/src/api/info/_methods/openOrders.js +6 -6
- package/esm/src/api/info/_methods/openOrders.js.map +1 -1
- package/esm/src/api/info/_methods/orderStatus.d.ts +31 -116
- package/esm/src/api/info/_methods/orderStatus.d.ts.map +1 -1
- package/esm/src/api/info/_methods/orderStatus.js +14 -45
- package/esm/src/api/info/_methods/orderStatus.js.map +1 -1
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts +10 -18
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -1
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.js +10 -10
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -1
- package/esm/src/api/info/_methods/perpDexLimits.d.ts +10 -18
- package/esm/src/api/info/_methods/perpDexLimits.d.ts.map +1 -1
- package/esm/src/api/info/_methods/perpDexLimits.js +10 -10
- package/esm/src/api/info/_methods/perpDexLimits.js.map +1 -1
- package/esm/src/api/info/_methods/perpDexStatus.d.ts +7 -12
- package/esm/src/api/info/_methods/perpDexStatus.d.ts.map +1 -1
- package/esm/src/api/info/_methods/perpDexStatus.js +7 -7
- package/esm/src/api/info/_methods/perpDexStatus.js.map +1 -1
- package/esm/src/api/info/_methods/perpDexs.d.ts +16 -42
- package/esm/src/api/info/_methods/perpDexs.d.ts.map +1 -1
- package/esm/src/api/info/_methods/perpDexs.js +17 -20
- package/esm/src/api/info/_methods/perpDexs.js.map +1 -1
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +5 -8
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -1
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js +5 -5
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -1
- package/esm/src/api/info/_methods/portfolio.d.ts +37 -104
- package/esm/src/api/info/_methods/portfolio.d.ts.map +1 -1
- package/esm/src/api/info/_methods/portfolio.js +11 -11
- package/esm/src/api/info/_methods/portfolio.js.map +1 -1
- package/esm/src/api/info/_methods/preTransferCheck.d.ts +11 -20
- package/esm/src/api/info/_methods/preTransferCheck.d.ts.map +1 -1
- package/esm/src/api/info/_methods/preTransferCheck.js +11 -11
- package/esm/src/api/info/_methods/preTransferCheck.js.map +1 -1
- package/esm/src/api/info/_methods/predictedFundings.d.ts +8 -14
- package/esm/src/api/info/_methods/predictedFundings.d.ts.map +1 -1
- package/esm/src/api/info/_methods/predictedFundings.js +8 -8
- package/esm/src/api/info/_methods/predictedFundings.js.map +1 -1
- package/esm/src/api/info/_methods/recentTrades.d.ts +14 -26
- package/esm/src/api/info/_methods/recentTrades.d.ts.map +1 -1
- package/esm/src/api/info/_methods/recentTrades.js +14 -14
- package/esm/src/api/info/_methods/recentTrades.js.map +1 -1
- package/esm/src/api/info/_methods/referral.d.ts +50 -170
- package/esm/src/api/info/_methods/referral.d.ts.map +1 -1
- package/esm/src/api/info/_methods/referral.js +50 -50
- package/esm/src/api/info/_methods/referral.js.map +1 -1
- package/esm/src/api/info/_methods/spotClearinghouseState.d.ts +19 -46
- package/esm/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
- package/esm/src/api/info/_methods/spotClearinghouseState.js +19 -19
- package/esm/src/api/info/_methods/spotClearinghouseState.js.map +1 -1
- package/esm/src/api/info/_methods/spotDeployState.d.ts +30 -96
- package/esm/src/api/info/_methods/spotDeployState.d.ts.map +1 -1
- package/esm/src/api/info/_methods/spotDeployState.js +24 -24
- package/esm/src/api/info/_methods/spotDeployState.js.map +1 -1
- package/esm/src/api/info/_methods/spotMeta.d.ts +47 -98
- package/esm/src/api/info/_methods/spotMeta.d.ts.map +1 -1
- package/esm/src/api/info/_methods/spotMeta.js +47 -34
- package/esm/src/api/info/_methods/spotMeta.js.map +1 -1
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +50 -155
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -1
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js +4 -7
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -1
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +10 -24
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -1
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js +4 -4
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -1
- package/esm/src/api/info/_methods/subAccounts.d.ts +66 -323
- package/esm/src/api/info/_methods/subAccounts.d.ts.map +1 -1
- package/esm/src/api/info/_methods/subAccounts.js +11 -11
- package/esm/src/api/info/_methods/subAccounts.js.map +1 -1
- package/esm/src/api/info/_methods/subAccounts2.d.ts +67 -325
- package/esm/src/api/info/_methods/subAccounts2.d.ts.map +1 -1
- package/esm/src/api/info/_methods/subAccounts2.js +11 -12
- package/esm/src/api/info/_methods/subAccounts2.js.map +1 -1
- package/esm/src/api/info/_methods/tokenDetails.d.ts +26 -54
- package/esm/src/api/info/_methods/tokenDetails.d.ts.map +1 -1
- package/esm/src/api/info/_methods/tokenDetails.js +26 -26
- package/esm/src/api/info/_methods/tokenDetails.js.map +1 -1
- package/esm/src/api/info/_methods/twapHistory.d.ts +25 -76
- package/esm/src/api/info/_methods/twapHistory.d.ts.map +1 -1
- package/esm/src/api/info/_methods/twapHistory.js +14 -18
- package/esm/src/api/info/_methods/twapHistory.js.map +1 -1
- package/esm/src/api/info/_methods/txDetails.d.ts +17 -60
- package/esm/src/api/info/_methods/txDetails.d.ts.map +1 -1
- package/esm/src/api/info/_methods/txDetails.js +8 -8
- package/esm/src/api/info/_methods/txDetails.js.map +1 -1
- package/esm/src/api/info/_methods/userBorrowLendInterest.d.ts +12 -22
- package/esm/src/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userBorrowLendInterest.js +12 -12
- package/esm/src/api/info/_methods/userBorrowLendInterest.js.map +1 -1
- package/esm/src/api/info/_methods/userDetails.d.ts +17 -60
- package/esm/src/api/info/_methods/userDetails.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userDetails.js +8 -8
- package/esm/src/api/info/_methods/userDetails.js.map +1 -1
- package/esm/src/api/info/_methods/userDexAbstraction.d.ts +5 -8
- package/esm/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userDexAbstraction.js +5 -5
- package/esm/src/api/info/_methods/userDexAbstraction.js.map +1 -1
- package/esm/src/api/info/_methods/userFees.d.ts +52 -160
- package/esm/src/api/info/_methods/userFees.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userFees.js +52 -59
- package/esm/src/api/info/_methods/userFees.js.map +1 -1
- package/esm/src/api/info/_methods/userFills.d.ts +30 -76
- package/esm/src/api/info/_methods/userFills.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userFills.js +13 -13
- package/esm/src/api/info/_methods/userFills.js.map +1 -1
- package/esm/src/api/info/_methods/userFillsByTime.d.ts +32 -103
- package/esm/src/api/info/_methods/userFillsByTime.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userFillsByTime.js +8 -8
- package/esm/src/api/info/_methods/userFillsByTime.js.map +1 -1
- package/esm/src/api/info/_methods/userFunding.d.ts +18 -41
- package/esm/src/api/info/_methods/userFunding.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userFunding.js +18 -18
- package/esm/src/api/info/_methods/userFunding.js.map +1 -1
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +100 -324
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js +100 -100
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/esm/src/api/info/_methods/userRateLimit.d.ts +10 -18
- package/esm/src/api/info/_methods/userRateLimit.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userRateLimit.js +10 -10
- package/esm/src/api/info/_methods/userRateLimit.js.map +1 -1
- package/esm/src/api/info/_methods/userRole.d.ts +15 -34
- package/esm/src/api/info/_methods/userRole.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userRole.js +15 -15
- package/esm/src/api/info/_methods/userRole.js.map +1 -1
- package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts +8 -14
- package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userToMultiSigSigners.js +8 -8
- package/esm/src/api/info/_methods/userToMultiSigSigners.js.map +1 -1
- package/esm/src/api/info/_methods/userTwapSliceFills.d.ts +25 -78
- package/esm/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userTwapSliceFills.js +8 -8
- package/esm/src/api/info/_methods/userTwapSliceFills.js.map +1 -1
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +28 -103
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js +8 -8
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
- package/esm/src/api/info/_methods/userVaultEquities.d.ts +9 -16
- package/esm/src/api/info/_methods/userVaultEquities.d.ts.map +1 -1
- package/esm/src/api/info/_methods/userVaultEquities.js +9 -9
- package/esm/src/api/info/_methods/userVaultEquities.js.map +1 -1
- package/esm/src/api/info/_methods/validatorL1Votes.d.ts +9 -23
- package/esm/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -1
- package/esm/src/api/info/_methods/validatorL1Votes.js +11 -11
- package/esm/src/api/info/_methods/validatorL1Votes.js.map +1 -1
- package/esm/src/api/info/_methods/validatorSummaries.d.ts +28 -78
- package/esm/src/api/info/_methods/validatorSummaries.d.ts.map +1 -1
- package/esm/src/api/info/_methods/validatorSummaries.js +22 -22
- package/esm/src/api/info/_methods/validatorSummaries.js.map +1 -1
- package/esm/src/api/info/_methods/vaultDetails.d.ts +77 -281
- package/esm/src/api/info/_methods/vaultDetails.d.ts.map +1 -1
- package/esm/src/api/info/_methods/vaultDetails.js +39 -39
- package/esm/src/api/info/_methods/vaultDetails.js.map +1 -1
- package/esm/src/api/info/_methods/vaultSummaries.d.ts +18 -51
- package/esm/src/api/info/_methods/vaultSummaries.d.ts.map +1 -1
- package/esm/src/api/info/_methods/vaultSummaries.js +12 -12
- package/esm/src/api/info/_methods/vaultSummaries.js.map +1 -1
- package/esm/src/api/info/_methods/webData2.d.ts +149 -673
- package/esm/src/api/info/_methods/webData2.d.ts.map +1 -1
- package/esm/src/api/info/_methods/webData2.js +23 -23
- package/esm/src/api/info/_methods/webData2.js.map +1 -1
- package/esm/src/api/info/client.d.ts +1578 -80
- package/esm/src/api/info/client.d.ts.map +1 -1
- package/esm/src/api/info/client.js +1489 -78
- package/esm/src/api/info/client.js.map +1 -1
- package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts +19 -58
- package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/activeAssetCtx.js +8 -8
- package/esm/src/api/subscription/_methods/activeAssetCtx.js.map +1 -1
- package/esm/src/api/subscription/_methods/activeAssetData.d.ts +19 -58
- package/esm/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/activeAssetData.js +6 -6
- package/esm/src/api/subscription/_methods/activeAssetData.js.map +1 -1
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +17 -50
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js +8 -8
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -1
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +17 -54
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js +6 -9
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +50 -255
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js +8 -11
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -1
- package/esm/src/api/subscription/_methods/allMids.d.ts +8 -20
- package/esm/src/api/subscription/_methods/allMids.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/allMids.js +8 -8
- package/esm/src/api/subscription/_methods/allMids.js.map +1 -1
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts +19 -58
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/assetCtxs.js +8 -8
- package/esm/src/api/subscription/_methods/assetCtxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/bbo.d.ts +17 -48
- package/esm/src/api/subscription/_methods/bbo.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/bbo.js +14 -14
- package/esm/src/api/subscription/_methods/bbo.js.map +1 -1
- package/esm/src/api/subscription/_methods/candle.d.ts +17 -32
- package/esm/src/api/subscription/_methods/candle.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/candle.js +17 -17
- package/esm/src/api/subscription/_methods/candle.js.map +1 -1
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts +52 -259
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/clearinghouseState.js +10 -10
- package/esm/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts +10 -18
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/explorerBlock.js +10 -10
- package/esm/src/api/subscription/_methods/explorerBlock.js.map +1 -1
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts +13 -41
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/explorerTxs.js +4 -4
- package/esm/src/api/subscription/_methods/explorerTxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/l2Book.d.ts +21 -52
- package/esm/src/api/subscription/_methods/l2Book.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/l2Book.js +18 -16
- package/esm/src/api/subscription/_methods/l2Book.js.map +1 -1
- package/esm/src/api/subscription/_methods/notification.d.ts +7 -12
- package/esm/src/api/subscription/_methods/notification.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/notification.js +7 -7
- package/esm/src/api/subscription/_methods/notification.js.map +1 -1
- package/esm/src/api/subscription/_methods/openOrders.d.ts +27 -103
- package/esm/src/api/subscription/_methods/openOrders.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/openOrders.js +10 -10
- package/esm/src/api/subscription/_methods/openOrders.js.map +1 -1
- package/esm/src/api/subscription/_methods/orderUpdates.d.ts +19 -56
- package/esm/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/orderUpdates.js +9 -38
- package/esm/src/api/subscription/_methods/orderUpdates.js.map +1 -1
- package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts +13 -33
- package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/spotAssetCtxs.js +4 -4
- package/esm/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/spotState.d.ts +22 -78
- package/esm/src/api/subscription/_methods/spotState.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/spotState.js +9 -9
- package/esm/src/api/subscription/_methods/spotState.js.map +1 -1
- package/esm/src/api/subscription/_methods/trades.d.ts +14 -35
- package/esm/src/api/subscription/_methods/trades.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/trades.js +5 -5
- package/esm/src/api/subscription/_methods/trades.js.map +1 -1
- package/esm/src/api/subscription/_methods/twapStates.d.ts +21 -62
- package/esm/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/twapStates.js +10 -10
- package/esm/src/api/subscription/_methods/twapStates.js.map +1 -1
- package/esm/src/api/subscription/_methods/userEvents.d.ts +91 -402
- package/esm/src/api/subscription/_methods/userEvents.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userEvents.js +27 -27
- package/esm/src/api/subscription/_methods/userEvents.js.map +1 -1
- package/esm/src/api/subscription/_methods/userFills.d.ts +34 -130
- package/esm/src/api/subscription/_methods/userFills.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userFills.js +10 -10
- package/esm/src/api/subscription/_methods/userFills.js.map +1 -1
- package/esm/src/api/subscription/_methods/userFundings.d.ts +16 -37
- package/esm/src/api/subscription/_methods/userFundings.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userFundings.js +16 -16
- package/esm/src/api/subscription/_methods/userFundings.js.map +1 -1
- package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts +30 -134
- package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userHistoricalOrders.js +9 -9
- package/esm/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -1
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +119 -565
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +9 -9
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/esm/src/api/subscription/_methods/userTwapHistory.d.ts +29 -126
- package/esm/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userTwapHistory.js +9 -9
- package/esm/src/api/subscription/_methods/userTwapHistory.js.map +1 -1
- package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts +29 -124
- package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/userTwapSliceFills.js +9 -9
- package/esm/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -1
- package/esm/src/api/subscription/_methods/webData2.d.ts +149 -818
- package/esm/src/api/subscription/_methods/webData2.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/webData2.js +5 -5
- package/esm/src/api/subscription/_methods/webData2.js.map +1 -1
- package/esm/src/api/subscription/_methods/webData3.d.ts +25 -71
- package/esm/src/api/subscription/_methods/webData3.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/webData3.js +22 -22
- package/esm/src/api/subscription/_methods/webData3.js.map +1 -1
- package/esm/src/api/subscription/client.d.ts +664 -29
- package/esm/src/api/subscription/client.d.ts.map +1 -1
- package/esm/src/api/subscription/client.js +618 -27
- package/esm/src/api/subscription/client.js.map +1 -1
- package/esm/src/signing/_abstractWallet.d.ts +33 -66
- package/esm/src/signing/_abstractWallet.d.ts.map +1 -1
- package/esm/src/signing/_abstractWallet.js +39 -63
- package/esm/src/signing/_abstractWallet.js.map +1 -1
- package/esm/src/signing/_privateKeySigner.d.ts.map +1 -1
- package/esm/src/signing/_privateKeySigner.js +2 -7
- package/esm/src/signing/_privateKeySigner.js.map +1 -1
- package/esm/src/signing/mod.d.ts.map +1 -1
- package/esm/src/signing/mod.js +11 -10
- package/esm/src/signing/mod.js.map +1 -1
- package/package.json +1 -1
- package/script/bin/_utils.d.ts +33 -1
- package/script/bin/_utils.d.ts.map +1 -1
- package/script/bin/_utils.js +17 -1
- package/script/bin/_utils.js.map +1 -1
- package/script/bin/cli.js +288 -262
- package/script/bin/cli.js.map +1 -1
- package/{esm/deps/jsr.io/@std/async/1.1.0 → script/deps/jsr.io/@std/async/1.1.1}/unstable_semaphore.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js.map +1 -1
- package/script/src/api/_schemas.d.ts +9 -0
- package/script/src/api/_schemas.d.ts.map +1 -1
- package/script/src/api/_schemas.js +10 -1
- package/script/src/api/_schemas.js.map +1 -1
- package/script/src/api/exchange/_methods/_base/_semaphore.js +1 -1
- package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts +16 -30
- package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/_base/commonSchemas.js +16 -16
- package/script/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -1
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +23 -60
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js +11 -9
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
- package/script/src/api/exchange/_methods/agentSetAbstraction.d.ts +126 -0
- package/script/src/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/agentSetAbstraction.js +119 -0
- package/script/src/api/exchange/_methods/agentSetAbstraction.js.map +1 -0
- package/script/src/api/exchange/_methods/approveAgent.d.ts +37 -85
- package/script/src/api/exchange/_methods/approveAgent.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/approveAgent.js +14 -14
- package/script/src/api/exchange/_methods/approveAgent.js.map +1 -1
- package/script/src/api/exchange/_methods/approveBuilderFee.d.ts +37 -85
- package/script/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/approveBuilderFee.js +13 -13
- package/script/src/api/exchange/_methods/approveBuilderFee.js.map +1 -1
- package/script/src/api/exchange/_methods/batchModify.d.ts +99 -431
- package/script/src/api/exchange/_methods/batchModify.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/batchModify.js +31 -36
- package/script/src/api/exchange/_methods/batchModify.js.map +1 -1
- package/script/src/api/exchange/_methods/borrowLend.d.ts +38 -84
- package/script/src/api/exchange/_methods/borrowLend.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/borrowLend.js +13 -13
- package/script/src/api/exchange/_methods/borrowLend.js.map +1 -1
- package/script/src/api/exchange/_methods/cDeposit.d.ts +34 -80
- package/script/src/api/exchange/_methods/cDeposit.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cDeposit.js +12 -12
- package/script/src/api/exchange/_methods/cDeposit.js.map +1 -1
- package/script/src/api/exchange/_methods/cSignerAction.d.ts +32 -79
- package/script/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cSignerAction.js +12 -12
- package/script/src/api/exchange/_methods/cSignerAction.js.map +1 -1
- package/script/src/api/exchange/_methods/cValidatorAction.d.ts +107 -314
- package/script/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cValidatorAction.js +37 -37
- package/script/src/api/exchange/_methods/cValidatorAction.js.map +1 -1
- package/script/src/api/exchange/_methods/cWithdraw.d.ts +34 -80
- package/script/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cWithdraw.js +12 -12
- package/script/src/api/exchange/_methods/cWithdraw.js.map +1 -1
- package/script/src/api/exchange/_methods/cancel.d.ts +38 -100
- package/script/src/api/exchange/_methods/cancel.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cancel.js +24 -24
- package/script/src/api/exchange/_methods/cancel.js.map +1 -1
- package/script/src/api/exchange/_methods/cancelByCloid.d.ts +38 -110
- package/script/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/cancelByCloid.js +14 -14
- package/script/src/api/exchange/_methods/cancelByCloid.js.map +1 -1
- package/script/src/api/exchange/_methods/claimRewards.d.ts +21 -60
- package/script/src/api/exchange/_methods/claimRewards.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/claimRewards.js +9 -9
- package/script/src/api/exchange/_methods/claimRewards.js.map +1 -1
- package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts +58 -122
- package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/convertToMultiSigUser.js +17 -18
- package/script/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
- package/script/src/api/exchange/_methods/createSubAccount.d.ts +27 -65
- package/script/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/createSubAccount.js +16 -16
- package/script/src/api/exchange/_methods/createSubAccount.js.map +1 -1
- package/script/src/api/exchange/_methods/createVault.d.ts +36 -80
- package/script/src/api/exchange/_methods/createVault.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/createVault.js +19 -20
- package/script/src/api/exchange/_methods/createVault.js.map +1 -1
- package/script/src/api/exchange/_methods/evmUserModify.d.ts +26 -67
- package/script/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/evmUserModify.js +10 -10
- package/script/src/api/exchange/_methods/evmUserModify.js.map +1 -1
- package/script/src/api/exchange/_methods/linkStakingUser.d.ts +37 -85
- package/script/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/linkStakingUser.js +13 -17
- package/script/src/api/exchange/_methods/linkStakingUser.js.map +1 -1
- package/script/src/api/exchange/_methods/modify.d.ts +81 -263
- package/script/src/api/exchange/_methods/modify.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/modify.js +29 -34
- package/script/src/api/exchange/_methods/modify.js.map +1 -1
- package/script/src/api/exchange/_methods/noop.d.ts +21 -60
- package/script/src/api/exchange/_methods/noop.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/noop.js +9 -9
- package/script/src/api/exchange/_methods/noop.js.map +1 -1
- package/script/src/api/exchange/_methods/order.d.ts +105 -365
- package/script/src/api/exchange/_methods/order.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/order.js +53 -61
- package/script/src/api/exchange/_methods/order.js.map +1 -1
- package/script/src/api/exchange/_methods/perpDeploy.d.ts +245 -679
- package/script/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/perpDeploy.js +83 -107
- package/script/src/api/exchange/_methods/perpDeploy.js.map +1 -1
- package/script/src/api/exchange/_methods/registerReferrer.d.ts +26 -67
- package/script/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/registerReferrer.js +10 -10
- package/script/src/api/exchange/_methods/registerReferrer.js.map +1 -1
- package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts +26 -67
- package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/reserveRequestWeight.js +10 -11
- package/script/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
- package/script/src/api/exchange/_methods/scheduleCancel.d.ts +27 -69
- package/script/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/scheduleCancel.js +11 -13
- package/script/src/api/exchange/_methods/scheduleCancel.js.map +1 -1
- package/script/src/api/exchange/_methods/sendAsset.d.ts +59 -115
- package/script/src/api/exchange/_methods/sendAsset.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/sendAsset.js +17 -17
- package/script/src/api/exchange/_methods/sendAsset.js.map +1 -1
- package/script/src/api/exchange/_methods/setDisplayName.d.ts +26 -67
- package/script/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/setDisplayName.js +10 -11
- package/script/src/api/exchange/_methods/setDisplayName.js.map +1 -1
- package/script/src/api/exchange/_methods/setReferrer.d.ts +26 -67
- package/script/src/api/exchange/_methods/setReferrer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/setReferrer.js +10 -10
- package/script/src/api/exchange/_methods/setReferrer.js.map +1 -1
- package/script/src/api/exchange/_methods/spotDeploy.d.ts +164 -419
- package/script/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/spotDeploy.js +56 -68
- package/script/src/api/exchange/_methods/spotDeploy.js.map +1 -1
- package/script/src/api/exchange/_methods/spotSend.d.ts +45 -95
- package/script/src/api/exchange/_methods/spotSend.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/spotSend.js +14 -14
- package/script/src/api/exchange/_methods/spotSend.js.map +1 -1
- package/script/src/api/exchange/_methods/spotUser.d.ts +32 -83
- package/script/src/api/exchange/_methods/spotUser.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/spotUser.js +12 -12
- package/script/src/api/exchange/_methods/spotUser.js.map +1 -1
- package/script/src/api/exchange/_methods/subAccountModify.d.ts +29 -72
- package/script/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/subAccountModify.js +11 -11
- package/script/src/api/exchange/_methods/subAccountModify.js.map +1 -1
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +40 -87
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.js +13 -13
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
- package/script/src/api/exchange/_methods/subAccountTransfer.d.ts +32 -77
- package/script/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/subAccountTransfer.js +12 -12
- package/script/src/api/exchange/_methods/subAccountTransfer.js.map +1 -1
- package/script/src/api/exchange/_methods/tokenDelegate.d.ts +40 -90
- package/script/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/tokenDelegate.js +14 -14
- package/script/src/api/exchange/_methods/tokenDelegate.js.map +1 -1
- package/script/src/api/exchange/_methods/twapCancel.d.ts +32 -81
- package/script/src/api/exchange/_methods/twapCancel.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/twapCancel.js +22 -22
- package/script/src/api/exchange/_methods/twapCancel.js.map +1 -1
- package/script/src/api/exchange/_methods/twapOrder.d.ts +53 -153
- package/script/src/api/exchange/_methods/twapOrder.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/twapOrder.js +31 -31
- package/script/src/api/exchange/_methods/twapOrder.js.map +1 -1
- package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts +33 -79
- package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/updateIsolatedMargin.js +13 -13
- package/script/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
- package/script/src/api/exchange/_methods/updateLeverage.d.ts +38 -84
- package/script/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/updateLeverage.js +13 -13
- package/script/src/api/exchange/_methods/updateLeverage.js.map +1 -1
- package/script/src/api/exchange/_methods/usdClassTransfer.d.ts +37 -85
- package/script/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/usdClassTransfer.js +13 -13
- package/script/src/api/exchange/_methods/usdClassTransfer.js.map +1 -1
- package/script/src/api/exchange/_methods/usdSend.d.ts +37 -85
- package/script/src/api/exchange/_methods/usdSend.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/usdSend.js +13 -13
- package/script/src/api/exchange/_methods/usdSend.js.map +1 -1
- package/script/src/api/exchange/_methods/userDexAbstraction.d.ts +39 -85
- package/script/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/userDexAbstraction.js +15 -13
- package/script/src/api/exchange/_methods/userDexAbstraction.js.map +1 -1
- package/script/src/api/exchange/_methods/userPortfolioMargin.d.ts +37 -85
- package/script/src/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/userPortfolioMargin.js +13 -13
- package/script/src/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
- package/script/src/api/exchange/_methods/userSetAbstraction.d.ts +145 -0
- package/script/src/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/userSetAbstraction.js +129 -0
- package/script/src/api/exchange/_methods/userSetAbstraction.js.map +1 -0
- package/script/src/api/exchange/_methods/validatorL1Stream.d.ts +26 -67
- package/script/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/validatorL1Stream.js +10 -10
- package/script/src/api/exchange/_methods/validatorL1Stream.js.map +1 -1
- package/script/src/api/exchange/_methods/vaultDistribute.d.ts +29 -72
- package/script/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/vaultDistribute.js +11 -12
- package/script/src/api/exchange/_methods/vaultDistribute.js.map +1 -1
- package/script/src/api/exchange/_methods/vaultModify.d.ts +32 -77
- package/script/src/api/exchange/_methods/vaultModify.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/vaultModify.js +12 -12
- package/script/src/api/exchange/_methods/vaultModify.js.map +1 -1
- package/script/src/api/exchange/_methods/vaultTransfer.d.ts +32 -77
- package/script/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/vaultTransfer.js +12 -12
- package/script/src/api/exchange/_methods/vaultTransfer.js.map +1 -1
- package/script/src/api/exchange/_methods/withdraw3.d.ts +37 -85
- package/script/src/api/exchange/_methods/withdraw3.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/withdraw3.js +13 -13
- package/script/src/api/exchange/_methods/withdraw3.js.map +1 -1
- package/script/src/api/exchange/client.d.ts +1278 -48
- package/script/src/api/exchange/client.d.ts.map +1 -1
- package/script/src/api/exchange/client.js +1253 -46
- package/script/src/api/exchange/client.js.map +1 -1
- package/script/src/api/exchange/mod.d.ts +2 -0
- package/script/src/api/exchange/mod.d.ts.map +1 -1
- package/script/src/api/exchange/mod.js +2 -0
- package/script/src/api/exchange/mod.js.map +1 -1
- package/script/src/api/info/_methods/_base/commonSchemas.d.ts +100 -196
- package/script/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -1
- package/script/src/api/info/_methods/_base/commonSchemas.js +103 -141
- package/script/src/api/info/_methods/_base/commonSchemas.js.map +1 -1
- package/script/src/api/info/_methods/activeAssetData.d.ts +19 -44
- package/script/src/api/info/_methods/activeAssetData.d.ts.map +1 -1
- package/script/src/api/info/_methods/activeAssetData.js +19 -19
- package/script/src/api/info/_methods/activeAssetData.js.map +1 -1
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +11 -20
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.js +12 -12
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
- package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts +13 -33
- package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -1
- package/script/src/api/info/_methods/allBorrowLendReserveStates.js +4 -7
- package/script/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -1
- package/script/src/api/info/_methods/allMids.d.ts +5 -10
- package/script/src/api/info/_methods/allMids.d.ts.map +1 -1
- package/script/src/api/info/_methods/allMids.js +5 -5
- package/script/src/api/info/_methods/allMids.js.map +1 -1
- package/script/src/api/info/_methods/allPerpMetas.d.ts +24 -91
- package/script/src/api/info/_methods/allPerpMetas.d.ts.map +1 -1
- package/script/src/api/info/_methods/allPerpMetas.js +4 -4
- package/script/src/api/info/_methods/allPerpMetas.js.map +1 -1
- package/script/src/api/info/_methods/blockDetails.d.ts +24 -92
- package/script/src/api/info/_methods/blockDetails.d.ts.map +1 -1
- package/script/src/api/info/_methods/blockDetails.js +15 -15
- package/script/src/api/info/_methods/blockDetails.js.map +1 -1
- package/script/src/api/info/_methods/borrowLendReserveState.d.ts +14 -26
- package/script/src/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
- package/script/src/api/info/_methods/borrowLendReserveState.js +14 -14
- package/script/src/api/info/_methods/borrowLendReserveState.js.map +1 -1
- package/script/src/api/info/_methods/borrowLendUserState.d.ts +18 -49
- package/script/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
- package/script/src/api/info/_methods/borrowLendUserState.js +18 -19
- package/script/src/api/info/_methods/borrowLendUserState.js.map +1 -1
- package/script/src/api/info/_methods/candleSnapshot.d.ts +21 -45
- package/script/src/api/info/_methods/candleSnapshot.d.ts.map +1 -1
- package/script/src/api/info/_methods/candleSnapshot.js +21 -21
- package/script/src/api/info/_methods/candleSnapshot.js.map +1 -1
- package/script/src/api/info/_methods/clearinghouseState.d.ts +48 -165
- package/script/src/api/info/_methods/clearinghouseState.d.ts.map +1 -1
- package/script/src/api/info/_methods/clearinghouseState.js +48 -48
- package/script/src/api/info/_methods/clearinghouseState.js.map +1 -1
- package/script/src/api/info/_methods/delegations.d.ts +9 -16
- package/script/src/api/info/_methods/delegations.d.ts.map +1 -1
- package/script/src/api/info/_methods/delegations.js +9 -9
- package/script/src/api/info/_methods/delegations.js.map +1 -1
- package/script/src/api/info/_methods/delegatorHistory.d.ts +22 -68
- package/script/src/api/info/_methods/delegatorHistory.d.ts.map +1 -1
- package/script/src/api/info/_methods/delegatorHistory.js +22 -22
- package/script/src/api/info/_methods/delegatorHistory.js.map +1 -1
- package/script/src/api/info/_methods/delegatorRewards.d.ts +9 -16
- package/script/src/api/info/_methods/delegatorRewards.d.ts.map +1 -1
- package/script/src/api/info/_methods/delegatorRewards.js +9 -9
- package/script/src/api/info/_methods/delegatorRewards.js.map +1 -1
- package/script/src/api/info/_methods/delegatorSummary.d.ts +10 -18
- package/script/src/api/info/_methods/delegatorSummary.d.ts.map +1 -1
- package/script/src/api/info/_methods/delegatorSummary.js +10 -10
- package/script/src/api/info/_methods/delegatorSummary.js.map +1 -1
- package/script/src/api/info/_methods/exchangeStatus.d.ts +7 -12
- package/script/src/api/info/_methods/exchangeStatus.d.ts.map +1 -1
- package/script/src/api/info/_methods/exchangeStatus.js +7 -7
- package/script/src/api/info/_methods/exchangeStatus.js.map +1 -1
- package/script/src/api/info/_methods/extraAgents.d.ts +9 -16
- package/script/src/api/info/_methods/extraAgents.d.ts.map +1 -1
- package/script/src/api/info/_methods/extraAgents.js +9 -9
- package/script/src/api/info/_methods/extraAgents.js.map +1 -1
- package/script/src/api/info/_methods/frontendOpenOrders.d.ts +23 -61
- package/script/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
- package/script/src/api/info/_methods/frontendOpenOrders.js +6 -6
- package/script/src/api/info/_methods/frontendOpenOrders.js.map +1 -1
- package/script/src/api/info/_methods/fundingHistory.d.ts +12 -22
- package/script/src/api/info/_methods/fundingHistory.d.ts.map +1 -1
- package/script/src/api/info/_methods/fundingHistory.js +12 -12
- package/script/src/api/info/_methods/fundingHistory.js.map +1 -1
- package/script/src/api/info/_methods/gossipRootIps.d.ts +4 -6
- package/script/src/api/info/_methods/gossipRootIps.d.ts.map +1 -1
- package/script/src/api/info/_methods/gossipRootIps.js +4 -4
- package/script/src/api/info/_methods/gossipRootIps.js.map +1 -1
- package/script/src/api/info/_methods/historicalOrders.d.ts +26 -84
- package/script/src/api/info/_methods/historicalOrders.d.ts.map +1 -1
- package/script/src/api/info/_methods/historicalOrders.js +9 -38
- package/script/src/api/info/_methods/historicalOrders.js.map +1 -1
- package/script/src/api/info/_methods/isVip.d.ts +5 -8
- package/script/src/api/info/_methods/isVip.d.ts.map +1 -1
- package/script/src/api/info/_methods/isVip.js +5 -5
- package/script/src/api/info/_methods/isVip.js.map +1 -1
- package/script/src/api/info/_methods/l2Book.d.ts +21 -52
- package/script/src/api/info/_methods/l2Book.d.ts.map +1 -1
- package/script/src/api/info/_methods/l2Book.js +18 -16
- package/script/src/api/info/_methods/l2Book.js.map +1 -1
- package/script/src/api/info/_methods/leadingVaults.d.ts +8 -14
- package/script/src/api/info/_methods/leadingVaults.d.ts.map +1 -1
- package/script/src/api/info/_methods/leadingVaults.js +8 -8
- package/script/src/api/info/_methods/leadingVaults.js.map +1 -1
- package/script/src/api/info/_methods/legalCheck.d.ts +9 -16
- package/script/src/api/info/_methods/legalCheck.d.ts.map +1 -1
- package/script/src/api/info/_methods/legalCheck.js +9 -9
- package/script/src/api/info/_methods/legalCheck.js.map +1 -1
- package/script/src/api/info/_methods/liquidatable.d.ts +4 -6
- package/script/src/api/info/_methods/liquidatable.d.ts.map +1 -1
- package/script/src/api/info/_methods/liquidatable.js +4 -4
- package/script/src/api/info/_methods/liquidatable.js.map +1 -1
- package/script/src/api/info/_methods/marginTable.d.ts +11 -23
- package/script/src/api/info/_methods/marginTable.d.ts.map +1 -1
- package/script/src/api/info/_methods/marginTable.js +11 -11
- package/script/src/api/info/_methods/marginTable.js.map +1 -1
- package/script/src/api/info/_methods/maxBuilderFee.d.ts +6 -10
- package/script/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -1
- package/script/src/api/info/_methods/maxBuilderFee.js +6 -6
- package/script/src/api/info/_methods/maxBuilderFee.js.map +1 -1
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts +4 -6
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
- package/script/src/api/info/_methods/maxMarketOrderNtls.js +4 -4
- package/script/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -1
- package/script/src/api/info/_methods/meta.d.ts +25 -73
- package/script/src/api/info/_methods/meta.d.ts.map +1 -1
- package/script/src/api/info/_methods/meta.js +19 -22
- package/script/src/api/info/_methods/meta.js.map +1 -1
- package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts +36 -126
- package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -1
- package/script/src/api/info/_methods/metaAndAssetCtxs.js +5 -8
- package/script/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -1
- package/script/src/api/info/_methods/openOrders.d.ts +16 -40
- package/script/src/api/info/_methods/openOrders.d.ts.map +1 -1
- package/script/src/api/info/_methods/openOrders.js +6 -6
- package/script/src/api/info/_methods/openOrders.js.map +1 -1
- package/script/src/api/info/_methods/orderStatus.d.ts +31 -116
- package/script/src/api/info/_methods/orderStatus.d.ts.map +1 -1
- package/script/src/api/info/_methods/orderStatus.js +14 -45
- package/script/src/api/info/_methods/orderStatus.js.map +1 -1
- package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts +10 -18
- package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -1
- package/script/src/api/info/_methods/perpDeployAuctionStatus.js +10 -10
- package/script/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -1
- package/script/src/api/info/_methods/perpDexLimits.d.ts +10 -18
- package/script/src/api/info/_methods/perpDexLimits.d.ts.map +1 -1
- package/script/src/api/info/_methods/perpDexLimits.js +10 -10
- package/script/src/api/info/_methods/perpDexLimits.js.map +1 -1
- package/script/src/api/info/_methods/perpDexStatus.d.ts +7 -12
- package/script/src/api/info/_methods/perpDexStatus.d.ts.map +1 -1
- package/script/src/api/info/_methods/perpDexStatus.js +7 -7
- package/script/src/api/info/_methods/perpDexStatus.js.map +1 -1
- package/script/src/api/info/_methods/perpDexs.d.ts +16 -42
- package/script/src/api/info/_methods/perpDexs.d.ts.map +1 -1
- package/script/src/api/info/_methods/perpDexs.js +17 -20
- package/script/src/api/info/_methods/perpDexs.js.map +1 -1
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +5 -8
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -1
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.js +5 -5
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -1
- package/script/src/api/info/_methods/portfolio.d.ts +37 -104
- package/script/src/api/info/_methods/portfolio.d.ts.map +1 -1
- package/script/src/api/info/_methods/portfolio.js +11 -11
- package/script/src/api/info/_methods/portfolio.js.map +1 -1
- package/script/src/api/info/_methods/preTransferCheck.d.ts +11 -20
- package/script/src/api/info/_methods/preTransferCheck.d.ts.map +1 -1
- package/script/src/api/info/_methods/preTransferCheck.js +11 -11
- package/script/src/api/info/_methods/preTransferCheck.js.map +1 -1
- package/script/src/api/info/_methods/predictedFundings.d.ts +8 -14
- package/script/src/api/info/_methods/predictedFundings.d.ts.map +1 -1
- package/script/src/api/info/_methods/predictedFundings.js +8 -8
- package/script/src/api/info/_methods/predictedFundings.js.map +1 -1
- package/script/src/api/info/_methods/recentTrades.d.ts +14 -26
- package/script/src/api/info/_methods/recentTrades.d.ts.map +1 -1
- package/script/src/api/info/_methods/recentTrades.js +14 -14
- package/script/src/api/info/_methods/recentTrades.js.map +1 -1
- package/script/src/api/info/_methods/referral.d.ts +50 -170
- package/script/src/api/info/_methods/referral.d.ts.map +1 -1
- package/script/src/api/info/_methods/referral.js +50 -50
- package/script/src/api/info/_methods/referral.js.map +1 -1
- package/script/src/api/info/_methods/spotClearinghouseState.d.ts +19 -46
- package/script/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
- package/script/src/api/info/_methods/spotClearinghouseState.js +19 -19
- package/script/src/api/info/_methods/spotClearinghouseState.js.map +1 -1
- package/script/src/api/info/_methods/spotDeployState.d.ts +30 -96
- package/script/src/api/info/_methods/spotDeployState.d.ts.map +1 -1
- package/script/src/api/info/_methods/spotDeployState.js +24 -24
- package/script/src/api/info/_methods/spotDeployState.js.map +1 -1
- package/script/src/api/info/_methods/spotMeta.d.ts +47 -98
- package/script/src/api/info/_methods/spotMeta.d.ts.map +1 -1
- package/script/src/api/info/_methods/spotMeta.js +47 -34
- package/script/src/api/info/_methods/spotMeta.js.map +1 -1
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +50 -155
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -1
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js +4 -7
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -1
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +10 -24
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -1
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js +4 -4
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -1
- package/script/src/api/info/_methods/subAccounts.d.ts +66 -323
- package/script/src/api/info/_methods/subAccounts.d.ts.map +1 -1
- package/script/src/api/info/_methods/subAccounts.js +11 -11
- package/script/src/api/info/_methods/subAccounts.js.map +1 -1
- package/script/src/api/info/_methods/subAccounts2.d.ts +67 -325
- package/script/src/api/info/_methods/subAccounts2.d.ts.map +1 -1
- package/script/src/api/info/_methods/subAccounts2.js +11 -12
- package/script/src/api/info/_methods/subAccounts2.js.map +1 -1
- package/script/src/api/info/_methods/tokenDetails.d.ts +26 -54
- package/script/src/api/info/_methods/tokenDetails.d.ts.map +1 -1
- package/script/src/api/info/_methods/tokenDetails.js +26 -26
- package/script/src/api/info/_methods/tokenDetails.js.map +1 -1
- package/script/src/api/info/_methods/twapHistory.d.ts +25 -76
- package/script/src/api/info/_methods/twapHistory.d.ts.map +1 -1
- package/script/src/api/info/_methods/twapHistory.js +14 -18
- package/script/src/api/info/_methods/twapHistory.js.map +1 -1
- package/script/src/api/info/_methods/txDetails.d.ts +17 -60
- package/script/src/api/info/_methods/txDetails.d.ts.map +1 -1
- package/script/src/api/info/_methods/txDetails.js +8 -8
- package/script/src/api/info/_methods/txDetails.js.map +1 -1
- package/script/src/api/info/_methods/userBorrowLendInterest.d.ts +12 -22
- package/script/src/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
- package/script/src/api/info/_methods/userBorrowLendInterest.js +12 -12
- package/script/src/api/info/_methods/userBorrowLendInterest.js.map +1 -1
- package/script/src/api/info/_methods/userDetails.d.ts +17 -60
- package/script/src/api/info/_methods/userDetails.d.ts.map +1 -1
- package/script/src/api/info/_methods/userDetails.js +8 -8
- package/script/src/api/info/_methods/userDetails.js.map +1 -1
- package/script/src/api/info/_methods/userDexAbstraction.d.ts +5 -8
- package/script/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
- package/script/src/api/info/_methods/userDexAbstraction.js +5 -5
- package/script/src/api/info/_methods/userDexAbstraction.js.map +1 -1
- package/script/src/api/info/_methods/userFees.d.ts +52 -160
- package/script/src/api/info/_methods/userFees.d.ts.map +1 -1
- package/script/src/api/info/_methods/userFees.js +52 -59
- package/script/src/api/info/_methods/userFees.js.map +1 -1
- package/script/src/api/info/_methods/userFills.d.ts +30 -76
- package/script/src/api/info/_methods/userFills.d.ts.map +1 -1
- package/script/src/api/info/_methods/userFills.js +13 -13
- package/script/src/api/info/_methods/userFills.js.map +1 -1
- package/script/src/api/info/_methods/userFillsByTime.d.ts +32 -103
- package/script/src/api/info/_methods/userFillsByTime.d.ts.map +1 -1
- package/script/src/api/info/_methods/userFillsByTime.js +8 -8
- package/script/src/api/info/_methods/userFillsByTime.js.map +1 -1
- package/script/src/api/info/_methods/userFunding.d.ts +18 -41
- package/script/src/api/info/_methods/userFunding.d.ts.map +1 -1
- package/script/src/api/info/_methods/userFunding.js +18 -18
- package/script/src/api/info/_methods/userFunding.js.map +1 -1
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +100 -324
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js +100 -100
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/script/src/api/info/_methods/userRateLimit.d.ts +10 -18
- package/script/src/api/info/_methods/userRateLimit.d.ts.map +1 -1
- package/script/src/api/info/_methods/userRateLimit.js +10 -10
- package/script/src/api/info/_methods/userRateLimit.js.map +1 -1
- package/script/src/api/info/_methods/userRole.d.ts +15 -34
- package/script/src/api/info/_methods/userRole.d.ts.map +1 -1
- package/script/src/api/info/_methods/userRole.js +15 -15
- package/script/src/api/info/_methods/userRole.js.map +1 -1
- package/script/src/api/info/_methods/userToMultiSigSigners.d.ts +8 -14
- package/script/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
- package/script/src/api/info/_methods/userToMultiSigSigners.js +8 -8
- package/script/src/api/info/_methods/userToMultiSigSigners.js.map +1 -1
- package/script/src/api/info/_methods/userTwapSliceFills.d.ts +25 -78
- package/script/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/script/src/api/info/_methods/userTwapSliceFills.js +8 -8
- package/script/src/api/info/_methods/userTwapSliceFills.js.map +1 -1
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +28 -103
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.js +8 -8
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
- package/script/src/api/info/_methods/userVaultEquities.d.ts +9 -16
- package/script/src/api/info/_methods/userVaultEquities.d.ts.map +1 -1
- package/script/src/api/info/_methods/userVaultEquities.js +9 -9
- package/script/src/api/info/_methods/userVaultEquities.js.map +1 -1
- package/script/src/api/info/_methods/validatorL1Votes.d.ts +9 -23
- package/script/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -1
- package/script/src/api/info/_methods/validatorL1Votes.js +11 -11
- package/script/src/api/info/_methods/validatorL1Votes.js.map +1 -1
- package/script/src/api/info/_methods/validatorSummaries.d.ts +28 -78
- package/script/src/api/info/_methods/validatorSummaries.d.ts.map +1 -1
- package/script/src/api/info/_methods/validatorSummaries.js +22 -22
- package/script/src/api/info/_methods/validatorSummaries.js.map +1 -1
- package/script/src/api/info/_methods/vaultDetails.d.ts +77 -281
- package/script/src/api/info/_methods/vaultDetails.d.ts.map +1 -1
- package/script/src/api/info/_methods/vaultDetails.js +39 -39
- package/script/src/api/info/_methods/vaultDetails.js.map +1 -1
- package/script/src/api/info/_methods/vaultSummaries.d.ts +18 -51
- package/script/src/api/info/_methods/vaultSummaries.d.ts.map +1 -1
- package/script/src/api/info/_methods/vaultSummaries.js +12 -12
- package/script/src/api/info/_methods/vaultSummaries.js.map +1 -1
- package/script/src/api/info/_methods/webData2.d.ts +149 -673
- package/script/src/api/info/_methods/webData2.d.ts.map +1 -1
- package/script/src/api/info/_methods/webData2.js +23 -23
- package/script/src/api/info/_methods/webData2.js.map +1 -1
- package/script/src/api/info/client.d.ts +1578 -80
- package/script/src/api/info/client.d.ts.map +1 -1
- package/script/src/api/info/client.js +1489 -78
- package/script/src/api/info/client.js.map +1 -1
- package/script/src/api/subscription/_methods/activeAssetCtx.d.ts +19 -58
- package/script/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/activeAssetCtx.js +8 -8
- package/script/src/api/subscription/_methods/activeAssetCtx.js.map +1 -1
- package/script/src/api/subscription/_methods/activeAssetData.d.ts +19 -58
- package/script/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/activeAssetData.js +6 -6
- package/script/src/api/subscription/_methods/activeAssetData.js.map +1 -1
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +17 -50
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.js +8 -8
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -1
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +17 -54
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.js +6 -9
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -1
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +50 -255
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.js +8 -11
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -1
- package/script/src/api/subscription/_methods/allMids.d.ts +8 -20
- package/script/src/api/subscription/_methods/allMids.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/allMids.js +8 -8
- package/script/src/api/subscription/_methods/allMids.js.map +1 -1
- package/script/src/api/subscription/_methods/assetCtxs.d.ts +19 -58
- package/script/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/assetCtxs.js +8 -8
- package/script/src/api/subscription/_methods/assetCtxs.js.map +1 -1
- package/script/src/api/subscription/_methods/bbo.d.ts +17 -48
- package/script/src/api/subscription/_methods/bbo.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/bbo.js +14 -14
- package/script/src/api/subscription/_methods/bbo.js.map +1 -1
- package/script/src/api/subscription/_methods/candle.d.ts +17 -32
- package/script/src/api/subscription/_methods/candle.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/candle.js +17 -17
- package/script/src/api/subscription/_methods/candle.js.map +1 -1
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts +52 -259
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/clearinghouseState.js +10 -10
- package/script/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
- package/script/src/api/subscription/_methods/explorerBlock.d.ts +10 -18
- package/script/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/explorerBlock.js +10 -10
- package/script/src/api/subscription/_methods/explorerBlock.js.map +1 -1
- package/script/src/api/subscription/_methods/explorerTxs.d.ts +13 -41
- package/script/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/explorerTxs.js +4 -4
- package/script/src/api/subscription/_methods/explorerTxs.js.map +1 -1
- package/script/src/api/subscription/_methods/l2Book.d.ts +21 -52
- package/script/src/api/subscription/_methods/l2Book.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/l2Book.js +18 -16
- package/script/src/api/subscription/_methods/l2Book.js.map +1 -1
- package/script/src/api/subscription/_methods/notification.d.ts +7 -12
- package/script/src/api/subscription/_methods/notification.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/notification.js +7 -7
- package/script/src/api/subscription/_methods/notification.js.map +1 -1
- package/script/src/api/subscription/_methods/openOrders.d.ts +27 -103
- package/script/src/api/subscription/_methods/openOrders.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/openOrders.js +10 -10
- package/script/src/api/subscription/_methods/openOrders.js.map +1 -1
- package/script/src/api/subscription/_methods/orderUpdates.d.ts +19 -56
- package/script/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/orderUpdates.js +9 -38
- package/script/src/api/subscription/_methods/orderUpdates.js.map +1 -1
- package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts +13 -33
- package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/spotAssetCtxs.js +4 -4
- package/script/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -1
- package/script/src/api/subscription/_methods/spotState.d.ts +22 -78
- package/script/src/api/subscription/_methods/spotState.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/spotState.js +9 -9
- package/script/src/api/subscription/_methods/spotState.js.map +1 -1
- package/script/src/api/subscription/_methods/trades.d.ts +14 -35
- package/script/src/api/subscription/_methods/trades.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/trades.js +5 -5
- package/script/src/api/subscription/_methods/trades.js.map +1 -1
- package/script/src/api/subscription/_methods/twapStates.d.ts +21 -62
- package/script/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/twapStates.js +10 -10
- package/script/src/api/subscription/_methods/twapStates.js.map +1 -1
- package/script/src/api/subscription/_methods/userEvents.d.ts +91 -402
- package/script/src/api/subscription/_methods/userEvents.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userEvents.js +27 -27
- package/script/src/api/subscription/_methods/userEvents.js.map +1 -1
- package/script/src/api/subscription/_methods/userFills.d.ts +34 -130
- package/script/src/api/subscription/_methods/userFills.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userFills.js +10 -10
- package/script/src/api/subscription/_methods/userFills.js.map +1 -1
- package/script/src/api/subscription/_methods/userFundings.d.ts +16 -37
- package/script/src/api/subscription/_methods/userFundings.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userFundings.js +16 -16
- package/script/src/api/subscription/_methods/userFundings.js.map +1 -1
- package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts +30 -134
- package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userHistoricalOrders.js +9 -9
- package/script/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -1
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +119 -565
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +9 -9
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/script/src/api/subscription/_methods/userTwapHistory.d.ts +29 -126
- package/script/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userTwapHistory.js +9 -9
- package/script/src/api/subscription/_methods/userTwapHistory.js.map +1 -1
- package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts +29 -124
- package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/userTwapSliceFills.js +9 -9
- package/script/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -1
- package/script/src/api/subscription/_methods/webData2.d.ts +149 -818
- package/script/src/api/subscription/_methods/webData2.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/webData2.js +5 -5
- package/script/src/api/subscription/_methods/webData2.js.map +1 -1
- package/script/src/api/subscription/_methods/webData3.d.ts +25 -71
- package/script/src/api/subscription/_methods/webData3.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/webData3.js +22 -22
- package/script/src/api/subscription/_methods/webData3.js.map +1 -1
- package/script/src/api/subscription/client.d.ts +664 -29
- package/script/src/api/subscription/client.d.ts.map +1 -1
- package/script/src/api/subscription/client.js +618 -27
- package/script/src/api/subscription/client.js.map +1 -1
- package/script/src/signing/_abstractWallet.d.ts +33 -66
- package/script/src/signing/_abstractWallet.d.ts.map +1 -1
- package/script/src/signing/_abstractWallet.js +39 -63
- package/script/src/signing/_abstractWallet.js.map +1 -1
- package/script/src/signing/_privateKeySigner.d.ts.map +1 -1
- package/script/src/signing/_privateKeySigner.js +2 -7
- package/script/src/signing/_privateKeySigner.js.map +1 -1
- package/script/src/signing/mod.d.ts.map +1 -1
- package/script/src/signing/mod.js +11 -10
- package/script/src/signing/mod.js.map +1 -1
- package/src/bin/_utils.ts +33 -1
- package/src/bin/cli.ts +295 -265
- package/src/src/api/_schemas.ts +10 -1
- package/src/src/api/exchange/_methods/_base/_semaphore.ts +1 -1
- package/src/src/api/exchange/_methods/_base/commonSchemas.ts +23 -61
- package/src/src/api/exchange/_methods/agentEnableDexAbstraction.ts +15 -34
- package/src/src/api/exchange/_methods/agentSetAbstraction.ts +109 -0
- package/src/src/api/exchange/_methods/approveAgent.ts +34 -67
- package/src/src/api/exchange/_methods/approveBuilderFee.ts +20 -53
- package/src/src/api/exchange/_methods/batchModify.ts +66 -143
- package/src/src/api/exchange/_methods/borrowLend.ts +21 -54
- package/src/src/api/exchange/_methods/cDeposit.ts +18 -49
- package/src/src/api/exchange/_methods/cSignerAction.ts +24 -54
- package/src/src/api/exchange/_methods/cValidatorAction.ts +72 -164
- package/src/src/api/exchange/_methods/cWithdraw.ts +18 -49
- package/src/src/api/exchange/_methods/cancel.ts +39 -90
- package/src/src/api/exchange/_methods/cancelByCloid.ts +21 -54
- package/src/src/api/exchange/_methods/claimRewards.ts +13 -34
- package/src/src/api/exchange/_methods/convertToMultiSigUser.ts +41 -85
- package/src/src/api/exchange/_methods/createSubAccount.ts +27 -65
- package/src/src/api/exchange/_methods/createVault.ts +32 -82
- package/src/src/api/exchange/_methods/evmUserModify.ts +15 -39
- package/src/src/api/exchange/_methods/linkStakingUser.ts +28 -69
- package/src/src/api/exchange/_methods/modify.ts +62 -134
- package/src/src/api/exchange/_methods/noop.ts +13 -34
- package/src/src/api/exchange/_methods/order.ts +116 -240
- package/src/src/api/exchange/_methods/perpDeploy.ts +178 -439
- package/src/src/api/exchange/_methods/registerReferrer.ts +15 -41
- package/src/src/api/exchange/_methods/reserveRequestWeight.ts +15 -40
- package/src/src/api/exchange/_methods/scheduleCancel.ts +22 -53
- package/src/src/api/exchange/_methods/sendAsset.ts +30 -75
- package/src/src/api/exchange/_methods/setDisplayName.ts +18 -46
- package/src/src/api/exchange/_methods/setReferrer.ts +15 -41
- package/src/src/api/exchange/_methods/spotDeploy.ts +114 -273
- package/src/src/api/exchange/_methods/spotSend.ts +22 -58
- package/src/src/api/exchange/_methods/spotUser.ts +18 -45
- package/src/src/api/exchange/_methods/subAccountModify.ts +17 -46
- package/src/src/api/exchange/_methods/subAccountSpotTransfer.ts +21 -54
- package/src/src/api/exchange/_methods/subAccountTransfer.ts +19 -50
- package/src/src/api/exchange/_methods/tokenDelegate.ts +22 -59
- package/src/src/api/exchange/_methods/twapCancel.ts +37 -85
- package/src/src/api/exchange/_methods/twapOrder.ts +53 -124
- package/src/src/api/exchange/_methods/updateIsolatedMargin.ts +21 -54
- package/src/src/api/exchange/_methods/updateLeverage.ts +21 -55
- package/src/src/api/exchange/_methods/usdClassTransfer.ts +20 -53
- package/src/src/api/exchange/_methods/usdSend.ts +20 -53
- package/src/src/api/exchange/_methods/userDexAbstraction.ts +22 -53
- package/src/src/api/exchange/_methods/userPortfolioMargin.ts +20 -53
- package/src/src/api/exchange/_methods/userSetAbstraction.ts +123 -0
- package/src/src/api/exchange/_methods/validatorL1Stream.ts +15 -39
- package/src/src/api/exchange/_methods/vaultDistribute.ts +20 -50
- package/src/src/api/exchange/_methods/vaultModify.ts +19 -49
- package/src/src/api/exchange/_methods/vaultTransfer.ts +19 -50
- package/src/src/api/exchange/_methods/withdraw3.ts +20 -53
- package/src/src/api/exchange/client.ts +1322 -59
- package/src/src/api/exchange/mod.ts +2 -0
- package/src/src/api/info/_methods/_base/commonSchemas.ts +242 -550
- package/src/src/api/info/_methods/activeAssetData.ts +37 -87
- package/src/src/api/info/_methods/alignedQuoteTokenInfo.ts +22 -49
- package/src/src/api/info/_methods/allBorrowLendReserveStates.ts +5 -19
- package/src/src/api/info/_methods/allMids.ts +7 -19
- package/src/src/api/info/_methods/allPerpMetas.ts +5 -14
- package/src/src/api/info/_methods/blockDetails.ts +24 -61
- package/src/src/api/info/_methods/borrowLendReserveState.ts +24 -60
- package/src/src/api/info/_methods/borrowLendUserState.ts +34 -73
- package/src/src/api/info/_methods/candleSnapshot.ts +37 -91
- package/src/src/api/info/_methods/clearinghouseState.ts +91 -214
- package/src/src/api/info/_methods/delegations.ts +15 -36
- package/src/src/api/info/_methods/delegatorHistory.ts +43 -92
- package/src/src/api/info/_methods/delegatorRewards.ts +15 -36
- package/src/src/api/info/_methods/delegatorSummary.ts +16 -40
- package/src/src/api/info/_methods/exchangeStatus.ts +10 -25
- package/src/src/api/info/_methods/extraAgents.ts +15 -37
- package/src/src/api/info/_methods/frontendOpenOrders.ts +9 -24
- package/src/src/api/info/_methods/fundingHistory.ts +21 -51
- package/src/src/api/info/_methods/gossipRootIps.ts +5 -14
- package/src/src/api/info/_methods/historicalOrders.ts +46 -98
- package/src/src/api/info/_methods/isVip.ts +7 -19
- package/src/src/api/info/_methods/l2Book.ts +29 -66
- package/src/src/api/info/_methods/leadingVaults.ts +13 -31
- package/src/src/api/info/_methods/legalCheck.ts +14 -35
- package/src/src/api/info/_methods/liquidatable.ts +5 -14
- package/src/src/api/info/_methods/marginTable.ts +19 -44
- package/src/src/api/info/_methods/maxBuilderFee.ts +9 -24
- package/src/src/api/info/_methods/maxMarketOrderNtls.ts +6 -17
- package/src/src/api/info/_methods/meta.ts +35 -89
- package/src/src/api/info/_methods/metaAndAssetCtxs.ts +7 -22
- package/src/src/api/info/_methods/openOrders.ts +9 -24
- package/src/src/api/info/_methods/orderStatus.ts +57 -125
- package/src/src/api/info/_methods/perpDeployAuctionStatus.ts +16 -40
- package/src/src/api/info/_methods/perpDexLimits.ts +17 -41
- package/src/src/api/info/_methods/perpDexStatus.ts +10 -25
- package/src/src/api/info/_methods/perpDexs.ts +31 -81
- package/src/src/api/info/_methods/perpsAtOpenInterestCap.ts +7 -19
- package/src/src/api/info/_methods/portfolio.ts +24 -49
- package/src/src/api/info/_methods/preTransferCheck.ts +18 -45
- package/src/src/api/info/_methods/predictedFundings.ts +27 -45
- package/src/src/api/info/_methods/recentTrades.ts +25 -62
- package/src/src/api/info/_methods/referral.ts +106 -234
- package/src/src/api/info/_methods/spotClearinghouseState.ts +37 -82
- package/src/src/api/info/_methods/spotDeployState.ts +44 -104
- package/src/src/api/info/_methods/spotMeta.ts +78 -144
- package/src/src/api/info/_methods/spotMetaAndAssetCtxs.ts +5 -17
- package/src/src/api/info/_methods/spotPairDeployAuctionStatus.ts +5 -14
- package/src/src/api/info/_methods/subAccounts.ts +20 -48
- package/src/src/api/info/_methods/subAccounts2.ts +23 -50
- package/src/src/api/info/_methods/tokenDetails.ts +49 -119
- package/src/src/api/info/_methods/twapHistory.ts +34 -73
- package/src/src/api/info/_methods/txDetails.ts +12 -31
- package/src/src/api/info/_methods/userBorrowLendInterest.ts +22 -51
- package/src/src/api/info/_methods/userDetails.ts +12 -30
- package/src/src/api/info/_methods/userDexAbstraction.ts +7 -19
- package/src/src/api/info/_methods/userFees.ts +103 -243
- package/src/src/api/info/_methods/userFills.ts +27 -57
- package/src/src/api/info/_methods/userFillsByTime.ts +13 -34
- package/src/src/api/info/_methods/userFunding.ts +31 -77
- package/src/src/api/info/_methods/userNonFundingLedgerUpdates.ts +249 -538
- package/src/src/api/info/_methods/userRateLimit.ts +16 -40
- package/src/src/api/info/_methods/userRole.ts +28 -61
- package/src/src/api/info/_methods/userToMultiSigSigners.ts +13 -33
- package/src/src/api/info/_methods/userTwapSliceFills.ts +13 -31
- package/src/src/api/info/_methods/userTwapSliceFillsByTime.ts +13 -34
- package/src/src/api/info/_methods/userVaultEquities.ts +15 -36
- package/src/src/api/info/_methods/validatorL1Votes.ts +22 -40
- package/src/src/api/info/_methods/validatorSummaries.ts +41 -96
- package/src/src/api/info/_methods/vaultDetails.ts +76 -181
- package/src/src/api/info/_methods/vaultSummaries.ts +21 -51
- package/src/src/api/info/_methods/webData2.ts +42 -105
- package/src/src/api/info/client.ts +1580 -82
- package/src/src/api/subscription/_methods/activeAssetCtx.ts +12 -30
- package/src/src/api/subscription/_methods/activeAssetData.ts +9 -24
- package/src/src/api/subscription/_methods/activeSpotAssetCtx.ts +12 -30
- package/src/src/api/subscription/_methods/allDexsAssetCtxs.ts +8 -25
- package/src/src/api/subscription/_methods/allDexsClearinghouseState.ts +12 -35
- package/src/src/api/subscription/_methods/allMids.ts +12 -30
- package/src/src/api/subscription/_methods/assetCtxs.ts +12 -30
- package/src/src/api/subscription/_methods/bbo.ts +22 -55
- package/src/src/api/subscription/_methods/candle.ts +30 -75
- package/src/src/api/subscription/_methods/clearinghouseState.ts +16 -40
- package/src/src/api/subscription/_methods/explorerBlock.ts +17 -42
- package/src/src/api/subscription/_methods/explorerTxs.ts +5 -14
- package/src/src/api/subscription/_methods/l2Book.ts +28 -65
- package/src/src/api/subscription/_methods/notification.ts +10 -25
- package/src/src/api/subscription/_methods/openOrders.ts +16 -40
- package/src/src/api/subscription/_methods/orderUpdates.ts +46 -98
- package/src/src/api/subscription/_methods/spotAssetCtxs.ts +5 -14
- package/src/src/api/subscription/_methods/spotState.ts +14 -35
- package/src/src/api/subscription/_methods/trades.ts +7 -19
- package/src/src/api/subscription/_methods/twapStates.ts +16 -40
- package/src/src/api/subscription/_methods/userEvents.ts +66 -132
- package/src/src/api/subscription/_methods/userFills.ts +16 -40
- package/src/src/api/subscription/_methods/userFundings.ts +29 -68
- package/src/src/api/subscription/_methods/userHistoricalOrders.ts +14 -35
- package/src/src/api/subscription/_methods/userNonFundingLedgerUpdates.ts +14 -35
- package/src/src/api/subscription/_methods/userTwapHistory.ts +14 -35
- package/src/src/api/subscription/_methods/userTwapSliceFills.ts +14 -35
- package/src/src/api/subscription/_methods/webData2.ts +7 -19
- package/src/src/api/subscription/_methods/webData3.ts +39 -93
- package/src/src/api/subscription/client.ts +664 -29
- package/src/src/signing/_abstractWallet.ts +82 -136
- package/src/src/signing/_privateKeySigner.ts +2 -11
- package/src/src/signing/mod.ts +12 -10
- /package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.js +0 -0
- /package/src/deps/jsr.io/@std/async/{1.1.0 → 1.1.1}/unstable_semaphore.ts +0 -0
|
@@ -51,65 +51,700 @@ export declare class SubscriptionClient<C extends SubscriptionConfig = Subscript
|
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
constructor(config: C);
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Subscribe to context updates for a specific perpetual asset.
|
|
56
|
+
*
|
|
57
|
+
* @param params - Parameters specific to the API subscription.
|
|
58
|
+
* @param listener - A callback function to be called when the event is received.
|
|
59
|
+
*
|
|
60
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
61
|
+
*
|
|
62
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
63
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
68
|
+
*
|
|
69
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
70
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
71
|
+
*
|
|
72
|
+
* const sub = await client.activeAssetCtx({ coin: "ETH" }, (data) => console.log(data));
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
76
|
+
*/
|
|
55
77
|
activeAssetCtx(params: ActiveAssetCtxParameters, listener: (data: ActiveAssetCtxEvent) => void): Promise<ISubscription>;
|
|
56
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Subscribe to trading data updates for a specific asset and user.
|
|
80
|
+
*
|
|
81
|
+
* @param params - Parameters specific to the API subscription.
|
|
82
|
+
* @param listener - A callback function to be called when the event is received.
|
|
83
|
+
*
|
|
84
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
85
|
+
*
|
|
86
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
87
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
92
|
+
*
|
|
93
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
94
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
95
|
+
*
|
|
96
|
+
* const sub = await client.activeAssetData({ coin: "ETH", user: "0x..." }, (data) => console.log(data));
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
100
|
+
*/
|
|
57
101
|
activeAssetData(params: ActiveAssetDataParameters, listener: (data: ActiveAssetDataEvent) => void): Promise<ISubscription>;
|
|
58
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Subscribe to context updates for a specific spot asset.
|
|
104
|
+
*
|
|
105
|
+
* @param params - Parameters specific to the API subscription.
|
|
106
|
+
* @param listener - A callback function to be called when the event is received.
|
|
107
|
+
*
|
|
108
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
109
|
+
*
|
|
110
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
111
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```ts
|
|
115
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
116
|
+
*
|
|
117
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
118
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
119
|
+
*
|
|
120
|
+
* const sub = await client.activeSpotAssetCtx({ coin: "@1" }, (data) => console.log(data));
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
124
|
+
*/
|
|
59
125
|
activeSpotAssetCtx(params: ActiveSpotAssetCtxParameters, listener: (data: ActiveSpotAssetCtxEvent) => void): Promise<ISubscription>;
|
|
60
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Subscribe to asset contexts for all DEXs.
|
|
128
|
+
*
|
|
129
|
+
* @param listener - A callback function to be called when the event is received.
|
|
130
|
+
*
|
|
131
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
132
|
+
*
|
|
133
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
134
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
139
|
+
*
|
|
140
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
141
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
142
|
+
*
|
|
143
|
+
* const sub = await client.allDexsAssetCtxs((data) => console.log(data));
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
146
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
147
|
+
*/
|
|
61
148
|
allDexsAssetCtxs(listener: (data: AllDexsAssetCtxsEvent) => void): Promise<ISubscription>;
|
|
62
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Subscribe to clearinghouse states for all DEXs for a specific user.
|
|
151
|
+
*
|
|
152
|
+
* @param params - Parameters specific to the API subscription.
|
|
153
|
+
* @param listener - A callback function to be called when the event is received.
|
|
154
|
+
*
|
|
155
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
156
|
+
*
|
|
157
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
158
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```ts
|
|
162
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
163
|
+
*
|
|
164
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
165
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
166
|
+
*
|
|
167
|
+
* const sub = await client.allDexsClearinghouseState({ user: "0x..." }, (data) => console.log(data));
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
171
|
+
*/
|
|
63
172
|
allDexsClearinghouseState(params: AllDexsClearinghouseStateParameters, listener: (data: AllDexsClearinghouseStateEvent) => void): Promise<ISubscription>;
|
|
64
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Subscribe to mid prices for all actively traded assets.
|
|
175
|
+
*
|
|
176
|
+
* @param params - Parameters specific to the API subscription.
|
|
177
|
+
* @param listener - A callback function to be called when the event is received.
|
|
178
|
+
*
|
|
179
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
180
|
+
*
|
|
181
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
182
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* ```ts
|
|
186
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
187
|
+
*
|
|
188
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
189
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
190
|
+
*
|
|
191
|
+
* const sub = await client.allMids((data) => console.log(data));
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
195
|
+
*/
|
|
65
196
|
allMids(listener: (data: AllMidsEvent) => void): Promise<ISubscription>;
|
|
66
197
|
allMids(params: AllMidsParameters, listener: (data: AllMidsEvent) => void): Promise<ISubscription>;
|
|
67
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Subscribe to asset contexts for all perpetual assets.
|
|
200
|
+
*
|
|
201
|
+
* @param params - Parameters specific to the API subscription.
|
|
202
|
+
* @param listener - A callback function to be called when the event is received.
|
|
203
|
+
*
|
|
204
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
205
|
+
*
|
|
206
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
207
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* ```ts
|
|
211
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
212
|
+
*
|
|
213
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
214
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
215
|
+
*
|
|
216
|
+
* const sub = await client.assetCtxs((data) => console.log(data));
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
220
|
+
*/
|
|
68
221
|
assetCtxs(listener: (data: AssetCtxsEvent) => void): Promise<ISubscription>;
|
|
69
222
|
assetCtxs(params: AssetCtxsParameters, listener: (data: AssetCtxsEvent) => void): Promise<ISubscription>;
|
|
70
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* Subscribe to best bid and offer updates for a specific asset.
|
|
225
|
+
*
|
|
226
|
+
* @param params - Parameters specific to the API subscription.
|
|
227
|
+
* @param listener - A callback function to be called when the event is received.
|
|
228
|
+
*
|
|
229
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
230
|
+
*
|
|
231
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
232
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
* ```ts
|
|
236
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
237
|
+
*
|
|
238
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
239
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
240
|
+
*
|
|
241
|
+
* const sub = await client.bbo({ coin: "ETH" }, (data) => console.log(data));
|
|
242
|
+
* ```
|
|
243
|
+
*
|
|
244
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
245
|
+
*/
|
|
71
246
|
bbo(params: BboParameters, listener: (data: BboEvent) => void): Promise<ISubscription>;
|
|
72
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Subscribe to candlestick data updates for a specific asset.
|
|
249
|
+
*
|
|
250
|
+
* @param params - Parameters specific to the API subscription.
|
|
251
|
+
* @param listener - A callback function to be called when the event is received.
|
|
252
|
+
*
|
|
253
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
254
|
+
*
|
|
255
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
256
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* ```ts
|
|
260
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
261
|
+
*
|
|
262
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
263
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
264
|
+
*
|
|
265
|
+
* const sub = await client.candle({ coin: "ETH", interval: "1h" }, (data) => console.log(data));
|
|
266
|
+
* ```
|
|
267
|
+
*
|
|
268
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
269
|
+
*/
|
|
73
270
|
candle(params: CandleParameters, listener: (data: CandleEvent) => void): Promise<ISubscription>;
|
|
74
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Subscribe to clearinghouse state updates for a specific user.
|
|
273
|
+
*
|
|
274
|
+
* @param params - Parameters specific to the API subscription.
|
|
275
|
+
* @param listener - A callback function to be called when the event is received.
|
|
276
|
+
*
|
|
277
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
278
|
+
*
|
|
279
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
280
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* ```ts
|
|
284
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
285
|
+
*
|
|
286
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
287
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
288
|
+
*
|
|
289
|
+
* const sub = await client.clearinghouseState({ user: "0x..." }, (data) => console.log(data));
|
|
290
|
+
* ```
|
|
291
|
+
*
|
|
292
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
293
|
+
*/
|
|
75
294
|
clearinghouseState(params: ClearinghouseStateParameters, listener: (data: ClearinghouseStateEvent) => void): Promise<ISubscription>;
|
|
76
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Subscribe to explorer block updates.
|
|
297
|
+
*
|
|
298
|
+
* @param listener - A callback function to be called when the event is received.
|
|
299
|
+
*
|
|
300
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
301
|
+
*
|
|
302
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
303
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
304
|
+
*
|
|
305
|
+
* @example
|
|
306
|
+
* ```ts
|
|
307
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
308
|
+
*
|
|
309
|
+
* const transport = new hl.WebSocketTransport({ url: "wss://rpc.hyperliquid.xyz/ws" }); // only `WebSocketTransport`
|
|
310
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
311
|
+
*
|
|
312
|
+
* const sub = await client.explorerBlock((data) => console.log(data));
|
|
313
|
+
* ```
|
|
314
|
+
*
|
|
315
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
316
|
+
*/
|
|
77
317
|
explorerBlock(listener: (data: ExplorerBlockEvent) => void): Promise<ISubscription>;
|
|
78
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* Subscribe to explorer transaction updates.
|
|
320
|
+
*
|
|
321
|
+
* @param listener - A callback function to be called when the event is received.
|
|
322
|
+
*
|
|
323
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
324
|
+
*
|
|
325
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
326
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* ```ts
|
|
330
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
331
|
+
*
|
|
332
|
+
* const transport = new hl.WebSocketTransport({ url: "wss://rpc.hyperliquid.xyz/ws" }); // only `WebSocketTransport`
|
|
333
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
334
|
+
*
|
|
335
|
+
* const sub = await client.explorerTxs((data) => console.log(data));
|
|
336
|
+
* ```
|
|
337
|
+
*
|
|
338
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
339
|
+
*/
|
|
79
340
|
explorerTxs(listener: (data: ExplorerTxsEvent) => void): Promise<ISubscription>;
|
|
80
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Subscribe to L2 order book updates for a specific asset.
|
|
343
|
+
*
|
|
344
|
+
* @param params - Parameters specific to the API subscription.
|
|
345
|
+
* @param listener - A callback function to be called when the event is received.
|
|
346
|
+
*
|
|
347
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
348
|
+
*
|
|
349
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
350
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
351
|
+
*
|
|
352
|
+
* @example
|
|
353
|
+
* ```ts
|
|
354
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
355
|
+
*
|
|
356
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
357
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
358
|
+
*
|
|
359
|
+
* const sub = await client.l2Book({ coin: "ETH" }, (data) => console.log(data));
|
|
360
|
+
* ```
|
|
361
|
+
*
|
|
362
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
363
|
+
*/
|
|
81
364
|
l2Book(params: L2BookParameters, listener: (data: L2BookEvent) => void): Promise<ISubscription>;
|
|
82
|
-
/**
|
|
365
|
+
/**
|
|
366
|
+
* Subscribe to notification updates for a specific user.
|
|
367
|
+
*
|
|
368
|
+
* @param params - Parameters specific to the API subscription.
|
|
369
|
+
* @param listener - A callback function to be called when the event is received.
|
|
370
|
+
*
|
|
371
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
372
|
+
*
|
|
373
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
374
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
375
|
+
*
|
|
376
|
+
* @example
|
|
377
|
+
* ```ts
|
|
378
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
379
|
+
*
|
|
380
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
381
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
382
|
+
*
|
|
383
|
+
* const sub = await client.notification({ user: "0x..." }, (data) => console.log(data));
|
|
384
|
+
* ```
|
|
385
|
+
*
|
|
386
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
387
|
+
*/
|
|
83
388
|
notification(params: NotificationParameters, listener: (data: NotificationEvent) => void): Promise<ISubscription>;
|
|
84
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* Subscribe to open orders updates for a specific user.
|
|
391
|
+
*
|
|
392
|
+
* @param params - Parameters specific to the API subscription.
|
|
393
|
+
* @param listener - A callback function to be called when the event is received.
|
|
394
|
+
*
|
|
395
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
396
|
+
*
|
|
397
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
398
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
399
|
+
*
|
|
400
|
+
* @example
|
|
401
|
+
* ```ts
|
|
402
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
403
|
+
*
|
|
404
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
405
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
406
|
+
*
|
|
407
|
+
* const sub = await client.openOrders({ user: "0x..." }, (data) => console.log(data));
|
|
408
|
+
* ```
|
|
409
|
+
*
|
|
410
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
411
|
+
*/
|
|
85
412
|
openOrders(params: OpenOrdersParameters, listener: (data: OpenOrdersEvent) => void): Promise<ISubscription>;
|
|
86
|
-
/**
|
|
413
|
+
/**
|
|
414
|
+
* Subscribe to order status updates for a specific user.
|
|
415
|
+
*
|
|
416
|
+
* @param params - Parameters specific to the API subscription.
|
|
417
|
+
* @param listener - A callback function to be called when the event is received.
|
|
418
|
+
*
|
|
419
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
420
|
+
*
|
|
421
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
422
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
423
|
+
*
|
|
424
|
+
* @example
|
|
425
|
+
* ```ts
|
|
426
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
427
|
+
*
|
|
428
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
429
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
430
|
+
*
|
|
431
|
+
* const sub = await client.orderUpdates({ user: "0x..." }, (data) => console.log(data));
|
|
432
|
+
* ```
|
|
433
|
+
*
|
|
434
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
435
|
+
*/
|
|
87
436
|
orderUpdates(params: OrderUpdatesParameters, listener: (data: OrderUpdatesEvent) => void): Promise<ISubscription>;
|
|
88
|
-
/**
|
|
437
|
+
/**
|
|
438
|
+
* Subscribe to context updates for all spot assets.
|
|
439
|
+
*
|
|
440
|
+
* @param params - Parameters specific to the API subscription.
|
|
441
|
+
* @param listener - A callback function to be called when the event is received.
|
|
442
|
+
*
|
|
443
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
444
|
+
*
|
|
445
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
446
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
447
|
+
*
|
|
448
|
+
* @example
|
|
449
|
+
* ```ts
|
|
450
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
451
|
+
*
|
|
452
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
453
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
454
|
+
*
|
|
455
|
+
* const sub = await client.spotAssetCtxs((data) => console.log(data));
|
|
456
|
+
* ```
|
|
457
|
+
*
|
|
458
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
459
|
+
*/
|
|
89
460
|
spotAssetCtxs(listener: (data: SpotAssetCtxsEvent) => void): Promise<ISubscription>;
|
|
90
|
-
/**
|
|
461
|
+
/**
|
|
462
|
+
* Subscribe to spot state updates for a specific user.
|
|
463
|
+
*
|
|
464
|
+
* @param params - Parameters specific to the API subscription.
|
|
465
|
+
* @param listener - A callback function to be called when the event is received.
|
|
466
|
+
*
|
|
467
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
468
|
+
*
|
|
469
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
470
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
471
|
+
*
|
|
472
|
+
* @example
|
|
473
|
+
* ```ts
|
|
474
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
475
|
+
*
|
|
476
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
477
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
478
|
+
*
|
|
479
|
+
* const sub = await client.spotState({ user: "0x..." }, (data) => console.log(data));
|
|
480
|
+
* ```
|
|
481
|
+
*
|
|
482
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
483
|
+
*/
|
|
91
484
|
spotState(params: SpotStateParameters, listener: (data: SpotStateEvent) => void): Promise<ISubscription>;
|
|
92
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* Subscribe to real-time trade updates for a specific asset.
|
|
487
|
+
*
|
|
488
|
+
* @param params - Parameters specific to the API subscription.
|
|
489
|
+
* @param listener - A callback function to be called when the event is received.
|
|
490
|
+
*
|
|
491
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
492
|
+
*
|
|
493
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
494
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
495
|
+
*
|
|
496
|
+
* @example
|
|
497
|
+
* ```ts
|
|
498
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
499
|
+
*
|
|
500
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
501
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
502
|
+
*
|
|
503
|
+
* const sub = await client.trades({ coin: "ETH" }, (data) => console.log(data));
|
|
504
|
+
* ```
|
|
505
|
+
*
|
|
506
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
507
|
+
*/
|
|
93
508
|
trades(params: TradesParameters, listener: (data: TradesEvent) => void): Promise<ISubscription>;
|
|
94
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* Subscribe to TWAP states updates for a specific user.
|
|
511
|
+
*
|
|
512
|
+
* @param params - Parameters specific to the API subscription.
|
|
513
|
+
* @param listener - A callback function to be called when the event is received.
|
|
514
|
+
*
|
|
515
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
516
|
+
*
|
|
517
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
518
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
519
|
+
*
|
|
520
|
+
* @example
|
|
521
|
+
* ```ts
|
|
522
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
523
|
+
*
|
|
524
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
525
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
526
|
+
*
|
|
527
|
+
* const sub = await client.twapStates({ user: "0x..." }, (data) => console.log(data));
|
|
528
|
+
* ```
|
|
529
|
+
*
|
|
530
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
531
|
+
*/
|
|
95
532
|
twapStates(params: TwapStatesParameters, listener: (data: TwapStatesEvent) => void): Promise<ISubscription>;
|
|
96
|
-
/**
|
|
533
|
+
/**
|
|
534
|
+
* Subscribe to non-order events for a specific user.
|
|
535
|
+
*
|
|
536
|
+
* @param params - Parameters specific to the API subscription.
|
|
537
|
+
* @param listener - A callback function to be called when the event is received.
|
|
538
|
+
*
|
|
539
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
540
|
+
*
|
|
541
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
542
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
543
|
+
*
|
|
544
|
+
* @example
|
|
545
|
+
* ```ts
|
|
546
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
547
|
+
*
|
|
548
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
549
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
550
|
+
*
|
|
551
|
+
* const sub = await client.userEvents({ user: "0x..." }, (data) => console.log(data));
|
|
552
|
+
* ```
|
|
553
|
+
*
|
|
554
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
555
|
+
*/
|
|
97
556
|
userEvents(params: UserEventsParameters, listener: (data: UserEventsEvent) => void): Promise<ISubscription>;
|
|
98
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Subscribe to trade fill updates for a specific user.
|
|
559
|
+
*
|
|
560
|
+
* @param params - Parameters specific to the API subscription.
|
|
561
|
+
* @param listener - A callback function to be called when the event is received.
|
|
562
|
+
*
|
|
563
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
564
|
+
*
|
|
565
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
566
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
567
|
+
*
|
|
568
|
+
* @example
|
|
569
|
+
* ```ts
|
|
570
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
571
|
+
*
|
|
572
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
573
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
574
|
+
*
|
|
575
|
+
* const sub = await client.userFills({ user: "0x..." }, (data) => console.log(data));
|
|
576
|
+
* ```
|
|
577
|
+
*
|
|
578
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
579
|
+
*/
|
|
99
580
|
userFills(params: UserFillsParameters, listener: (data: UserFillsEvent) => void): Promise<ISubscription>;
|
|
100
|
-
/**
|
|
581
|
+
/**
|
|
582
|
+
* Subscribe to funding payment updates for a specific user.
|
|
583
|
+
*
|
|
584
|
+
* @param params - Parameters specific to the API subscription.
|
|
585
|
+
* @param listener - A callback function to be called when the event is received.
|
|
586
|
+
*
|
|
587
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
588
|
+
*
|
|
589
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
590
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* ```ts
|
|
594
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
595
|
+
*
|
|
596
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
597
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
598
|
+
*
|
|
599
|
+
* const sub = await client.userFundings({ user: "0x..." }, (data) => console.log(data));
|
|
600
|
+
* ```
|
|
601
|
+
*
|
|
602
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
603
|
+
*/
|
|
101
604
|
userFundings(params: UserFundingsParameters, listener: (data: UserFundingsEvent) => void): Promise<ISubscription>;
|
|
102
|
-
/**
|
|
605
|
+
/**
|
|
606
|
+
* Subscribe to historical order updates for a specific user.
|
|
607
|
+
*
|
|
608
|
+
* @param params - Parameters specific to the API subscription.
|
|
609
|
+
* @param listener - A callback function to be called when the event is received.
|
|
610
|
+
*
|
|
611
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
612
|
+
*
|
|
613
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
614
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
615
|
+
*
|
|
616
|
+
* @example
|
|
617
|
+
* ```ts
|
|
618
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
619
|
+
*
|
|
620
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
621
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
622
|
+
*
|
|
623
|
+
* const sub = await client.userHistoricalOrders({ user: "0x..." }, (data) => console.log(data));
|
|
624
|
+
* ```
|
|
625
|
+
*
|
|
626
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
627
|
+
*/
|
|
103
628
|
userHistoricalOrders(params: UserHistoricalOrdersParameters, listener: (data: UserHistoricalOrdersEvent) => void): Promise<ISubscription>;
|
|
104
|
-
/**
|
|
629
|
+
/**
|
|
630
|
+
* Subscribe to non-funding ledger updates for a specific user.
|
|
631
|
+
*
|
|
632
|
+
* @param params - Parameters specific to the API subscription.
|
|
633
|
+
* @param listener - A callback function to be called when the event is received.
|
|
634
|
+
*
|
|
635
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
636
|
+
*
|
|
637
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
638
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
639
|
+
*
|
|
640
|
+
* @example
|
|
641
|
+
* ```ts
|
|
642
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
643
|
+
*
|
|
644
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
645
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
646
|
+
*
|
|
647
|
+
* const sub = await client.userNonFundingLedgerUpdates({ user: "0x..." }, (data) => console.log(data));
|
|
648
|
+
* ```
|
|
649
|
+
*
|
|
650
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
651
|
+
*/
|
|
105
652
|
userNonFundingLedgerUpdates(params: UserNonFundingLedgerUpdatesParameters, listener: (data: UserNonFundingLedgerUpdatesEvent) => void): Promise<ISubscription>;
|
|
106
|
-
/**
|
|
653
|
+
/**
|
|
654
|
+
* Subscribe to TWAP order history updates for a specific user.
|
|
655
|
+
*
|
|
656
|
+
* @param params - Parameters specific to the API subscription.
|
|
657
|
+
* @param listener - A callback function to be called when the event is received.
|
|
658
|
+
*
|
|
659
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
660
|
+
*
|
|
661
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
662
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
663
|
+
*
|
|
664
|
+
* @example
|
|
665
|
+
* ```ts
|
|
666
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
667
|
+
*
|
|
668
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
669
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
670
|
+
*
|
|
671
|
+
* const sub = await client.userTwapHistory({ user: "0x..." }, (data) => console.log(data));
|
|
672
|
+
* ```
|
|
673
|
+
*
|
|
674
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
675
|
+
*/
|
|
107
676
|
userTwapHistory(params: UserTwapHistoryParameters, listener: (data: UserTwapHistoryEvent) => void): Promise<ISubscription>;
|
|
108
|
-
/**
|
|
677
|
+
/**
|
|
678
|
+
* Subscribe to TWAP execution updates for a specific user.
|
|
679
|
+
*
|
|
680
|
+
* @param params - Parameters specific to the API subscription.
|
|
681
|
+
* @param listener - A callback function to be called when the event is received.
|
|
682
|
+
*
|
|
683
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
684
|
+
*
|
|
685
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
686
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
687
|
+
*
|
|
688
|
+
* @example
|
|
689
|
+
* ```ts
|
|
690
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
691
|
+
*
|
|
692
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
693
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
694
|
+
*
|
|
695
|
+
* const sub = await client.userTwapSliceFills({ user: "0x..." }, (data) => console.log(data));
|
|
696
|
+
* ```
|
|
697
|
+
*
|
|
698
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
699
|
+
*/
|
|
109
700
|
userTwapSliceFills(params: UserTwapSliceFillsParameters, listener: (data: UserTwapSliceFillsEvent) => void): Promise<ISubscription>;
|
|
110
|
-
/**
|
|
701
|
+
/**
|
|
702
|
+
* Subscribe to comprehensive user and market data updates.
|
|
703
|
+
*
|
|
704
|
+
* @param params - Parameters specific to the API subscription.
|
|
705
|
+
* @param listener - A callback function to be called when the event is received.
|
|
706
|
+
*
|
|
707
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
708
|
+
*
|
|
709
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
710
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
711
|
+
*
|
|
712
|
+
* @example
|
|
713
|
+
* ```ts
|
|
714
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
715
|
+
*
|
|
716
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
717
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
718
|
+
*
|
|
719
|
+
* const sub = await client.webData2({ user: "0x..." }, (data) => console.log(data));
|
|
720
|
+
* ```
|
|
721
|
+
*
|
|
722
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
723
|
+
*/
|
|
111
724
|
webData2(params: WebData2Parameters, listener: (data: WebData2Event) => void): Promise<ISubscription>;
|
|
112
|
-
/**
|
|
725
|
+
/**
|
|
726
|
+
* Subscribe to comprehensive user and market data updates.
|
|
727
|
+
*
|
|
728
|
+
* @param params - Parameters specific to the API subscription.
|
|
729
|
+
* @param listener - A callback function to be called when the event is received.
|
|
730
|
+
*
|
|
731
|
+
* @returns A request-promise that resolves with a {@link ISubscription} object to manage the subscription lifecycle.
|
|
732
|
+
*
|
|
733
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
734
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
735
|
+
*
|
|
736
|
+
* @example
|
|
737
|
+
* ```ts
|
|
738
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
739
|
+
*
|
|
740
|
+
* const transport = new hl.WebSocketTransport(); // only `WebSocketTransport`
|
|
741
|
+
* const client = new hl.SubscriptionClient({ transport });
|
|
742
|
+
*
|
|
743
|
+
* const sub = await client.webData3({ user: "0x..." }, (data) => console.log(data));
|
|
744
|
+
* ```
|
|
745
|
+
*
|
|
746
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
747
|
+
*/
|
|
113
748
|
webData3(params: WebData3Parameters, listener: (data: WebData3Event) => void): Promise<ISubscription>;
|
|
114
749
|
}
|
|
115
750
|
export type { SubscriptionConfig } from "./_methods/_types.js";
|