@nktkas/hyperliquid 0.24.2 → 0.25.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +197 -117
- package/esm/mod.d.ts +11 -11
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -1
- package/esm/src/clients/exchange.d.ts +29 -18
- package/esm/src/clients/exchange.d.ts.map +1 -1
- package/esm/src/clients/exchange.js +50 -48
- package/esm/src/clients/info.d.ts +79 -75
- package/esm/src/clients/info.d.ts.map +1 -1
- package/esm/src/clients/info.js +294 -163
- package/esm/src/clients/multiSign.d.ts +11 -7
- package/esm/src/clients/multiSign.d.ts.map +1 -1
- package/esm/src/clients/subscription.d.ts +105 -32
- package/esm/src/clients/subscription.d.ts.map +1 -1
- package/esm/src/clients/subscription.js +114 -33
- package/esm/src/{base.d.ts → errors.d.ts} +1 -1
- package/esm/src/errors.d.ts.map +1 -0
- package/esm/src/schemas/_base.d.ts +10 -0
- package/esm/src/schemas/_base.d.ts.map +1 -0
- package/esm/src/schemas/_base.js +12 -0
- package/esm/src/schemas/exchange/requests.d.ts +8953 -0
- package/esm/src/schemas/exchange/requests.d.ts.map +1 -0
- package/esm/src/schemas/exchange/requests.js +1413 -0
- package/esm/src/schemas/exchange/responses.d.ts +567 -0
- package/esm/src/schemas/exchange/responses.d.ts.map +1 -0
- package/esm/src/schemas/exchange/responses.js +243 -0
- package/esm/src/schemas/explorer/requests.d.ts +44 -0
- package/esm/src/schemas/explorer/requests.d.ts.map +1 -0
- package/esm/src/schemas/explorer/requests.js +32 -0
- package/esm/src/schemas/explorer/responses.d.ts +360 -0
- package/esm/src/schemas/explorer/responses.d.ts.map +1 -0
- package/esm/src/schemas/explorer/responses.js +56 -0
- package/esm/src/schemas/info/accounts.d.ts +2159 -0
- package/esm/src/schemas/info/accounts.d.ts.map +1 -0
- package/esm/src/schemas/info/accounts.js +622 -0
- package/esm/src/schemas/info/assets.d.ts +945 -0
- package/esm/src/schemas/info/assets.d.ts.map +1 -0
- package/esm/src/schemas/info/assets.js +265 -0
- package/esm/src/schemas/info/markets.d.ts +138 -0
- package/esm/src/schemas/info/markets.d.ts.map +1 -0
- package/esm/src/schemas/info/markets.js +58 -0
- package/esm/src/schemas/info/orders.d.ts +957 -0
- package/esm/src/schemas/info/orders.d.ts.map +1 -0
- package/esm/src/schemas/info/orders.js +297 -0
- package/esm/src/schemas/info/requests.d.ts +882 -0
- package/esm/src/schemas/info/requests.d.ts.map +1 -0
- package/esm/src/schemas/info/requests.js +655 -0
- package/esm/src/schemas/info/validators.d.ts +305 -0
- package/esm/src/schemas/info/validators.d.ts.map +1 -0
- package/esm/src/schemas/info/validators.js +112 -0
- package/esm/src/schemas/info/vaults.d.ts +447 -0
- package/esm/src/schemas/info/vaults.d.ts.map +1 -0
- package/esm/src/schemas/info/vaults.js +110 -0
- package/esm/src/schemas/mod.d.ts +100 -0
- package/esm/src/schemas/mod.d.ts.map +1 -0
- package/esm/src/schemas/mod.js +113 -0
- package/esm/src/schemas/subscriptions/requests.d.ts +332 -0
- package/esm/src/schemas/subscriptions/requests.d.ts.map +1 -0
- package/esm/src/schemas/subscriptions/requests.js +258 -0
- package/esm/src/schemas/subscriptions/responses.d.ts +3643 -0
- package/esm/src/schemas/subscriptions/responses.d.ts.map +1 -0
- package/esm/src/schemas/subscriptions/responses.js +233 -0
- package/esm/src/signing/mod.d.ts +109 -29
- package/esm/src/signing/mod.d.ts.map +1 -1
- package/esm/src/signing/mod.js +135 -29
- package/esm/src/transports/base.d.ts +2 -2
- package/esm/src/transports/base.d.ts.map +1 -1
- package/esm/src/transports/base.js +2 -2
- package/esm/src/transports/http/http_transport.d.ts +2 -1
- package/esm/src/transports/http/http_transport.d.ts.map +1 -1
- package/esm/src/transports/websocket/_hyperliquid_event_target.d.ts +1 -1
- package/esm/src/transports/websocket/_hyperliquid_event_target.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_transport.d.ts +2 -1
- package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/package.json +6 -5
- package/script/mod.d.ts +11 -11
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -1
- package/script/src/clients/exchange.d.ts +29 -18
- package/script/src/clients/exchange.d.ts.map +1 -1
- package/script/src/clients/exchange.js +56 -54
- package/script/src/clients/info.d.ts +79 -75
- package/script/src/clients/info.d.ts.map +1 -1
- package/script/src/clients/info.js +294 -163
- package/script/src/clients/multiSign.d.ts +11 -7
- package/script/src/clients/multiSign.d.ts.map +1 -1
- package/script/src/clients/subscription.d.ts +105 -32
- package/script/src/clients/subscription.d.ts.map +1 -1
- package/script/src/clients/subscription.js +114 -33
- package/script/src/{base.d.ts → errors.d.ts} +1 -1
- package/script/src/errors.d.ts.map +1 -0
- package/script/src/schemas/_base.d.ts +10 -0
- package/script/src/schemas/_base.d.ts.map +1 -0
- package/script/src/schemas/_base.js +48 -0
- package/script/src/schemas/exchange/requests.d.ts +8953 -0
- package/script/src/schemas/exchange/requests.d.ts.map +1 -0
- package/script/src/schemas/exchange/requests.js +1449 -0
- package/script/src/schemas/exchange/responses.d.ts +567 -0
- package/script/src/schemas/exchange/responses.d.ts.map +1 -0
- package/script/src/schemas/exchange/responses.js +279 -0
- package/script/src/schemas/explorer/requests.d.ts +44 -0
- package/script/src/schemas/explorer/requests.d.ts.map +1 -0
- package/script/src/schemas/explorer/requests.js +68 -0
- package/script/src/schemas/explorer/responses.d.ts +360 -0
- package/script/src/schemas/explorer/responses.d.ts.map +1 -0
- package/script/src/schemas/explorer/responses.js +92 -0
- package/script/src/schemas/info/accounts.d.ts +2159 -0
- package/script/src/schemas/info/accounts.d.ts.map +1 -0
- package/script/src/schemas/info/accounts.js +658 -0
- package/script/src/schemas/info/assets.d.ts +945 -0
- package/script/src/schemas/info/assets.d.ts.map +1 -0
- package/script/src/schemas/info/assets.js +301 -0
- package/script/src/schemas/info/markets.d.ts +138 -0
- package/script/src/schemas/info/markets.d.ts.map +1 -0
- package/script/src/schemas/info/markets.js +94 -0
- package/script/src/schemas/info/orders.d.ts +957 -0
- package/script/src/schemas/info/orders.d.ts.map +1 -0
- package/script/src/schemas/info/orders.js +333 -0
- package/script/src/schemas/info/requests.d.ts +882 -0
- package/script/src/schemas/info/requests.d.ts.map +1 -0
- package/script/src/schemas/info/requests.js +692 -0
- package/script/src/schemas/info/validators.d.ts +305 -0
- package/script/src/schemas/info/validators.d.ts.map +1 -0
- package/script/src/schemas/info/validators.js +148 -0
- package/script/src/schemas/info/vaults.d.ts +447 -0
- package/script/src/schemas/info/vaults.d.ts.map +1 -0
- package/script/src/schemas/info/vaults.js +146 -0
- package/script/src/schemas/mod.d.ts +100 -0
- package/script/src/schemas/mod.d.ts.map +1 -0
- package/script/src/schemas/mod.js +154 -0
- package/script/src/schemas/subscriptions/requests.d.ts +332 -0
- package/script/src/schemas/subscriptions/requests.d.ts.map +1 -0
- package/script/src/schemas/subscriptions/requests.js +294 -0
- package/script/src/schemas/subscriptions/responses.d.ts +3643 -0
- package/script/src/schemas/subscriptions/responses.d.ts.map +1 -0
- package/script/src/schemas/subscriptions/responses.js +269 -0
- package/script/src/signing/mod.d.ts +109 -29
- package/script/src/signing/mod.d.ts.map +1 -1
- package/script/src/signing/mod.js +137 -33
- package/script/src/transports/base.d.ts +2 -2
- package/script/src/transports/base.d.ts.map +1 -1
- package/script/src/transports/base.js +3 -3
- package/script/src/transports/http/http_transport.d.ts +2 -1
- package/script/src/transports/http/http_transport.d.ts.map +1 -1
- package/script/src/transports/websocket/_hyperliquid_event_target.d.ts +1 -1
- package/script/src/transports/websocket/_hyperliquid_event_target.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_transport.d.ts +2 -1
- package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/esm/src/base.d.ts.map +0 -1
- package/esm/src/signing/_sorter.d.ts +0 -127
- package/esm/src/signing/_sorter.d.ts.map +0 -1
- package/esm/src/signing/_sorter.js +0 -693
- package/esm/src/types/exchange/requests.d.ts +0 -1345
- package/esm/src/types/exchange/requests.d.ts.map +0 -1
- package/esm/src/types/exchange/requests.js +0 -1
- package/esm/src/types/exchange/responses.d.ts +0 -233
- package/esm/src/types/exchange/responses.d.ts.map +0 -1
- package/esm/src/types/exchange/responses.js +0 -1
- package/esm/src/types/explorer/requests.d.ts +0 -32
- package/esm/src/types/explorer/requests.d.ts.map +0 -1
- package/esm/src/types/explorer/requests.js +0 -1
- package/esm/src/types/explorer/responses.d.ts +0 -58
- package/esm/src/types/explorer/responses.d.ts.map +0 -1
- package/esm/src/types/explorer/responses.js +0 -1
- package/esm/src/types/info/accounts.d.ts +0 -864
- package/esm/src/types/info/accounts.d.ts.map +0 -1
- package/esm/src/types/info/accounts.js +0 -1
- package/esm/src/types/info/assets.d.ts +0 -354
- package/esm/src/types/info/assets.d.ts.map +0 -1
- package/esm/src/types/info/assets.js +0 -1
- package/esm/src/types/info/markets.d.ts +0 -79
- package/esm/src/types/info/markets.d.ts.map +0 -1
- package/esm/src/types/info/markets.js +0 -1
- package/esm/src/types/info/orders.d.ts +0 -266
- package/esm/src/types/info/orders.d.ts.map +0 -1
- package/esm/src/types/info/orders.js +0 -1
- package/esm/src/types/info/requests.d.ts +0 -634
- package/esm/src/types/info/requests.d.ts.map +0 -1
- package/esm/src/types/info/requests.js +0 -1
- package/esm/src/types/info/validators.d.ts +0 -147
- package/esm/src/types/info/validators.d.ts.map +0 -1
- package/esm/src/types/info/validators.js +0 -1
- package/esm/src/types/info/vaults.d.ts +0 -119
- package/esm/src/types/info/vaults.d.ts.map +0 -1
- package/esm/src/types/info/vaults.js +0 -1
- package/esm/src/types/mod.d.ts +0 -38
- package/esm/src/types/mod.d.ts.map +0 -1
- package/esm/src/types/mod.js +0 -24
- package/esm/src/types/subscriptions/requests.d.ts +0 -143
- package/esm/src/types/subscriptions/requests.d.ts.map +0 -1
- package/esm/src/types/subscriptions/requests.js +0 -1
- package/esm/src/types/subscriptions/responses.d.ts +0 -213
- package/esm/src/types/subscriptions/responses.d.ts.map +0 -1
- package/esm/src/types/subscriptions/responses.js +0 -1
- package/script/src/base.d.ts.map +0 -1
- package/script/src/signing/_sorter.d.ts +0 -127
- package/script/src/signing/_sorter.d.ts.map +0 -1
- package/script/src/signing/_sorter.js +0 -696
- package/script/src/types/exchange/requests.d.ts +0 -1345
- package/script/src/types/exchange/requests.d.ts.map +0 -1
- package/script/src/types/exchange/requests.js +0 -2
- package/script/src/types/exchange/responses.d.ts +0 -233
- package/script/src/types/exchange/responses.d.ts.map +0 -1
- package/script/src/types/exchange/responses.js +0 -2
- package/script/src/types/explorer/requests.d.ts +0 -32
- package/script/src/types/explorer/requests.d.ts.map +0 -1
- package/script/src/types/explorer/requests.js +0 -2
- package/script/src/types/explorer/responses.d.ts +0 -58
- package/script/src/types/explorer/responses.d.ts.map +0 -1
- package/script/src/types/explorer/responses.js +0 -2
- package/script/src/types/info/accounts.d.ts +0 -864
- package/script/src/types/info/accounts.d.ts.map +0 -1
- package/script/src/types/info/accounts.js +0 -2
- package/script/src/types/info/assets.d.ts +0 -354
- package/script/src/types/info/assets.d.ts.map +0 -1
- package/script/src/types/info/assets.js +0 -2
- package/script/src/types/info/markets.d.ts +0 -79
- package/script/src/types/info/markets.d.ts.map +0 -1
- package/script/src/types/info/markets.js +0 -2
- package/script/src/types/info/orders.d.ts +0 -266
- package/script/src/types/info/orders.d.ts.map +0 -1
- package/script/src/types/info/orders.js +0 -2
- package/script/src/types/info/requests.d.ts +0 -634
- package/script/src/types/info/requests.d.ts.map +0 -1
- package/script/src/types/info/requests.js +0 -2
- package/script/src/types/info/validators.d.ts +0 -147
- package/script/src/types/info/validators.d.ts.map +0 -1
- package/script/src/types/info/validators.js +0 -2
- package/script/src/types/info/vaults.d.ts +0 -119
- package/script/src/types/info/vaults.d.ts.map +0 -1
- package/script/src/types/info/vaults.js +0 -2
- package/script/src/types/mod.d.ts +0 -38
- package/script/src/types/mod.d.ts.map +0 -1
- package/script/src/types/mod.js +0 -25
- package/script/src/types/subscriptions/requests.d.ts +0 -143
- package/script/src/types/subscriptions/requests.d.ts.map +0 -1
- package/script/src/types/subscriptions/requests.js +0 -2
- package/script/src/types/subscriptions/responses.d.ts +0 -213
- package/script/src/types/subscriptions/responses.d.ts.map +0 -1
- package/script/src/types/subscriptions/responses.js +0 -2
- /package/esm/src/{base.js → errors.js} +0 -0
- /package/script/src/{base.js → errors.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { IRequestTransport } from "../transports/base.js";
|
|
2
|
-
import type { CancelSuccessResponse, CreateSubAccountResponse, CreateVaultResponse,
|
|
2
|
+
import type { CancelSuccessResponse, CreateSubAccountResponse, CreateVaultResponse, MultiSigRequest, OrderSuccessResponse, SuccessResponse, TwapCancelSuccessResponse, TwapOrderSuccessResponse } from "../schemas/mod.js";
|
|
3
3
|
import { ExchangeClient, type ExchangeClientParameters } from "./exchange.js";
|
|
4
|
-
import { type AbstractWallet,
|
|
4
|
+
import { type AbstractWallet, userSignedActionEip712Types } from "../signing/mod.js";
|
|
5
5
|
/** Parameters for the {@linkcode MultiSignClient} constructor. */
|
|
6
6
|
export interface MultiSignClientParameters<T extends IRequestTransport = IRequestTransport, S extends readonly AbstractWallet[] = AbstractWallet[]> extends Omit<ExchangeClientParameters<T, S[0]>, "wallet"> {
|
|
7
7
|
/** The multi-signature account address. */
|
|
8
|
-
multiSignAddress:
|
|
8
|
+
multiSignAddress: `0x${string}`;
|
|
9
9
|
/** Array of wallets used for multi-signature operations. The first wallet acts as the leader. */
|
|
10
10
|
signers: S;
|
|
11
11
|
}
|
|
@@ -15,7 +15,7 @@ export interface MultiSignClientParameters<T extends IRequestTransport = IReques
|
|
|
15
15
|
* @typeParam S Array of wallets where the first wallet acts as the leader.
|
|
16
16
|
*/
|
|
17
17
|
export declare class MultiSignClient<T extends IRequestTransport = IRequestTransport, S extends readonly AbstractWallet[] = AbstractWallet[]> extends ExchangeClient<T, S[0]> implements MultiSignClientParameters<T, S> {
|
|
18
|
-
multiSignAddress:
|
|
18
|
+
multiSignAddress: `0x${string}`;
|
|
19
19
|
signers: S;
|
|
20
20
|
/**
|
|
21
21
|
* @multisign Is the first wallet from {@linkcode signers}. Changing the property also changes the first element in the {@linkcode signers} array.
|
|
@@ -40,12 +40,16 @@ export declare class MultiSignClient<T extends IRequestTransport = IRequestTrans
|
|
|
40
40
|
*/
|
|
41
41
|
constructor(args: MultiSignClientParameters<T, S>);
|
|
42
42
|
protected _executeL1Action<T extends SuccessResponse | CancelSuccessResponse | CreateSubAccountResponse | CreateVaultResponse | OrderSuccessResponse | TwapOrderSuccessResponse | TwapCancelSuccessResponse>(request: {
|
|
43
|
-
action:
|
|
44
|
-
|
|
43
|
+
action: Exclude<MultiSigRequest["action"]["payload"]["action"], {
|
|
44
|
+
type: keyof typeof userSignedActionEip712Types;
|
|
45
|
+
}>;
|
|
46
|
+
vaultAddress?: `0x${string}`;
|
|
45
47
|
expiresAfter: number | undefined;
|
|
46
48
|
}, signal?: AbortSignal): Promise<T>;
|
|
47
49
|
protected _executeUserSignedAction<T extends SuccessResponse | CancelSuccessResponse | CreateSubAccountResponse | CreateVaultResponse | OrderSuccessResponse | TwapOrderSuccessResponse | TwapCancelSuccessResponse>(request: {
|
|
48
|
-
action:
|
|
50
|
+
action: Extract<MultiSigRequest["action"]["payload"]["action"], {
|
|
51
|
+
type: keyof typeof userSignedActionEip712Types;
|
|
52
|
+
}>;
|
|
49
53
|
}, signal?: AbortSignal): Promise<T>;
|
|
50
54
|
}
|
|
51
55
|
//# sourceMappingURL=multiSign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiSign.d.ts","sourceRoot":"","sources":["../../../src/src/clients/multiSign.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EACR,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"multiSign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B,gBAAgB,CACrC,CAAC,SACK,eAAe,GACf,qBAAqB,GACrB,wBAAwB,GACxB,mBAAmB,GACnB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB,EAE/B,OAAO,EAAE;QACL,MAAM,EAAE,OAAO,CACX,eAAe,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,EAC9C;YAAE,IAAI,EAAE,MAAM,OAAO,2BAA2B,CAAA;SAAE,CACrD,CAAC;QACF,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;KACpC,EACD,MAAM,CAAC,EAAE,WAAW,GACrB,OAAO,CAAC,CAAC,CAAC;cAgCY,wBAAwB,CAC7C,CAAC,SACK,eAAe,GACf,qBAAqB,GACrB,wBAAwB,GACxB,mBAAmB,GACnB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB,EAE/B,OAAO,EAAE;QACL,MAAM,EAAE,OAAO,CACX,eAAe,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,EAC9C;YAAE,IAAI,EAAE,MAAM,OAAO,2BAA2B,CAAA;SAAE,CACrD,CAAC;KACL,EACD,MAAM,CAAC,EAAE,WAAW,GACrB,OAAO,CAAC,CAAC,CAAC;CAgChB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ISubscriptionTransport, Subscription } from "../transports/base.js";
|
|
2
|
-
import type
|
|
2
|
+
import { type ActiveAssetData, type Book, type Candle, type OrderStatus, type TxDetails, type WsActiveAssetCtx, WsActiveAssetCtxRequest, WsActiveAssetDataRequest, type WsActiveSpotAssetCtx, type WsAllMids, WsAllMidsRequest, type WsAssetCtxs, WsAssetCtxsRequest, type WsBbo, WsBboRequest, type WsBlockDetails, WsCandleRequest, type WsClearinghouseState, WsClearinghouseStateRequest, WsL2BookRequest, type WsNotification, WsNotificationRequest, type WsOpenOrders, WsOpenOrdersRequest, WsOrderUpdatesRequest, type WsTrade, WsTradesRequest, type WsUserEvent, WsUserEventsRequest, type WsUserFills, WsUserFillsRequest, type WsUserFundings, WsUserFundingsRequest, type WsUserNonFundingLedgerUpdates, WsUserNonFundingLedgerUpdatesRequest, type WsUserTwapHistory, WsUserTwapHistoryRequest, type WsUserTwapSliceFills, WsUserTwapSliceFillsRequest, type WsWebData2, WsWebData2Request } from "../schemas/mod.js";
|
|
3
3
|
/** @see https://github.com/microsoft/TypeScript/issues/13923#issuecomment-2191862501 */
|
|
4
4
|
type DeepImmutable<T> = {
|
|
5
5
|
readonly [K in keyof T]: DeepImmutable<T[K]>;
|
|
@@ -10,37 +10,43 @@ export interface SubscriptionClientParameters<T extends ISubscriptionTransport =
|
|
|
10
10
|
transport: T;
|
|
11
11
|
}
|
|
12
12
|
/** Subscription parameters for the {@linkcode SubscriptionClient.activeAssetCtx} method. */
|
|
13
|
-
export type
|
|
13
|
+
export type WsActiveAssetCtxParameters = Omit<WsActiveAssetCtxRequest, "type">;
|
|
14
14
|
/** Subscription parameters for the {@linkcode SubscriptionClient.activeAssetData} method. */
|
|
15
|
-
export type
|
|
15
|
+
export type WsActiveAssetDataParameters = Omit<WsActiveAssetDataRequest, "type">;
|
|
16
16
|
/** Subscription parameters for the {@linkcode SubscriptionClient.allMids} method. */
|
|
17
|
-
export type WsAllMidsParameters = Omit<
|
|
17
|
+
export type WsAllMidsParameters = Omit<WsAllMidsRequest, "type">;
|
|
18
|
+
/** Subscription parameters for the {@linkcode SubscriptionClient.assetCtxs} method. */
|
|
19
|
+
export type WsAssetCtxsParameters = Omit<WsAssetCtxsRequest, "type">;
|
|
18
20
|
/** Subscription parameters for the {@linkcode SubscriptionClient.bbo} method. */
|
|
19
|
-
export type
|
|
21
|
+
export type WsBboParameters = Omit<WsBboRequest, "type">;
|
|
20
22
|
/** Subscription parameters for the {@linkcode SubscriptionClient.candle} method. */
|
|
21
|
-
export type
|
|
23
|
+
export type WsCandleParameters = Omit<WsCandleRequest, "type">;
|
|
24
|
+
/** Subscription parameters for the {@linkcode SubscriptionClient.clearinghouseState} method. */
|
|
25
|
+
export type WsClearinghouseStateParameters = Omit<WsClearinghouseStateRequest, "type">;
|
|
22
26
|
/** Subscription parameters for the {@linkcode SubscriptionClient.l2Book} method. */
|
|
23
|
-
export type
|
|
27
|
+
export type WsL2BookParameters = Omit<WsL2BookRequest, "type">;
|
|
24
28
|
/** Subscription parameters for the {@linkcode SubscriptionClient.notification} method. */
|
|
25
|
-
export type
|
|
29
|
+
export type WsNotificationParameters = Omit<WsNotificationRequest, "type">;
|
|
30
|
+
/** Subscription parameters for the {@linkcode SubscriptionClient.openOrders} method. */
|
|
31
|
+
export type WsOpenOrdersParameters = Omit<WsOpenOrdersRequest, "type">;
|
|
26
32
|
/** Subscription parameters for the {@linkcode SubscriptionClient.orderUpdates} method. */
|
|
27
|
-
export type
|
|
33
|
+
export type WsOrderUpdatesParameters = Omit<WsOrderUpdatesRequest, "type">;
|
|
28
34
|
/** Subscription parameters for the {@linkcode SubscriptionClient.trades} method. */
|
|
29
|
-
export type
|
|
35
|
+
export type WsTradesParameters = Omit<WsTradesRequest, "type">;
|
|
30
36
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userEvents} method. */
|
|
31
|
-
export type
|
|
37
|
+
export type WsUserEventsParameters = Omit<WsUserEventsRequest, "type">;
|
|
32
38
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userFills} method. */
|
|
33
|
-
export type
|
|
39
|
+
export type WsUserFillsParameters = Omit<WsUserFillsRequest, "type">;
|
|
34
40
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userFundings} method. */
|
|
35
|
-
export type
|
|
41
|
+
export type WsUserFundingsParameters = Omit<WsUserFundingsRequest, "type">;
|
|
36
42
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userNonFundingLedgerUpdates} method. */
|
|
37
|
-
export type
|
|
43
|
+
export type WsUserNonFundingLedgerUpdatesParameters = Omit<WsUserNonFundingLedgerUpdatesRequest, "type">;
|
|
38
44
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userTwapHistory} method. */
|
|
39
|
-
export type
|
|
45
|
+
export type WsUserTwapHistoryParameters = Omit<WsUserTwapHistoryRequest, "type">;
|
|
40
46
|
/** Subscription parameters for the {@linkcode SubscriptionClient.userTwapSliceFills} method. */
|
|
41
|
-
export type
|
|
47
|
+
export type WsUserTwapSliceFillsParameters = Omit<WsUserTwapSliceFillsRequest, "type">;
|
|
42
48
|
/** Subscription parameters for the {@linkcode SubscriptionClient.webData2} method. */
|
|
43
|
-
export type
|
|
49
|
+
export type WsWebData2Parameters = Omit<WsWebData2Request, "type">;
|
|
44
50
|
/**
|
|
45
51
|
* Subscription client for subscribing to various Hyperliquid events.
|
|
46
52
|
* @typeParam T The type of transport used to connect to the Hyperliquid Websocket API.
|
|
@@ -81,7 +87,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
81
87
|
* });
|
|
82
88
|
* ```
|
|
83
89
|
*/
|
|
84
|
-
activeAssetCtx(params: DeepImmutable<
|
|
90
|
+
activeAssetCtx(params: DeepImmutable<WsActiveAssetCtxParameters>, listener: (data: WsActiveAssetCtx | WsActiveSpotAssetCtx) => void): Promise<Subscription>;
|
|
85
91
|
/**
|
|
86
92
|
* Subscribe to trading data updates for a specific asset and user.
|
|
87
93
|
* @param params - Subscription-specific parameters.
|
|
@@ -103,7 +109,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
103
109
|
* });
|
|
104
110
|
* ```
|
|
105
111
|
*/
|
|
106
|
-
activeAssetData(params: DeepImmutable<
|
|
112
|
+
activeAssetData(params: DeepImmutable<WsActiveAssetDataParameters>, listener: (data: ActiveAssetData) => void): Promise<Subscription>;
|
|
107
113
|
/**
|
|
108
114
|
* Subscribe to mid prices for all actively traded assets.
|
|
109
115
|
* @param params - An optional subscription-specific parameters.
|
|
@@ -127,6 +133,29 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
127
133
|
*/
|
|
128
134
|
allMids(listener: (data: WsAllMids) => void): Promise<Subscription>;
|
|
129
135
|
allMids(params: DeepImmutable<WsAllMidsParameters>, listener: (data: WsAllMids) => void): Promise<Subscription>;
|
|
136
|
+
/**
|
|
137
|
+
* Subscribe to asset contexts for all perpetual assets.
|
|
138
|
+
* @param params - An optional subscription-specific parameters.
|
|
139
|
+
* @param listener - A callback function to be called when the event is received.
|
|
140
|
+
* @returns A request-promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
141
|
+
*
|
|
142
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
143
|
+
*
|
|
144
|
+
* @see null
|
|
145
|
+
* @example
|
|
146
|
+
* ```ts
|
|
147
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
148
|
+
*
|
|
149
|
+
* const transport = new hl.WebSocketTransport();
|
|
150
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
151
|
+
*
|
|
152
|
+
* const sub = await subsClient.assetCtxs((data) => {
|
|
153
|
+
* console.log(data);
|
|
154
|
+
* });
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
assetCtxs(listener: (data: WsAssetCtxs) => void): Promise<Subscription>;
|
|
158
|
+
assetCtxs(params: DeepImmutable<WsAssetCtxsParameters>, listener: (data: WsAssetCtxs) => void): Promise<Subscription>;
|
|
130
159
|
/**
|
|
131
160
|
* Subscribe to best bid and offer updates for a specific asset.
|
|
132
161
|
* @param params - Subscription-specific parameters.
|
|
@@ -148,7 +177,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
148
177
|
* });
|
|
149
178
|
* ```
|
|
150
179
|
*/
|
|
151
|
-
bbo(params: DeepImmutable<
|
|
180
|
+
bbo(params: DeepImmutable<WsBboParameters>, listener: (data: WsBbo) => void): Promise<Subscription>;
|
|
152
181
|
/**
|
|
153
182
|
* Subscribe to candlestick data updates for a specific asset.
|
|
154
183
|
* @param params - Subscription-specific parameters.
|
|
@@ -170,7 +199,29 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
170
199
|
* });
|
|
171
200
|
* ```
|
|
172
201
|
*/
|
|
173
|
-
candle(params: DeepImmutable<
|
|
202
|
+
candle(params: DeepImmutable<WsCandleParameters>, listener: (data: Candle) => void): Promise<Subscription>;
|
|
203
|
+
/**
|
|
204
|
+
* Subscribe to clearinghouse state updates for a specific user.
|
|
205
|
+
* @param params - Subscription-specific parameters.
|
|
206
|
+
* @param listener - A callback function to be called when the event is received.
|
|
207
|
+
* @returns A request-promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
208
|
+
*
|
|
209
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
210
|
+
*
|
|
211
|
+
* @see null
|
|
212
|
+
* @example
|
|
213
|
+
* ```ts
|
|
214
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
215
|
+
*
|
|
216
|
+
* const transport = new hl.WebSocketTransport();
|
|
217
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
218
|
+
*
|
|
219
|
+
* const sub = await subsClient.clearinghouseState({ user: "0x..." }, (data) => {
|
|
220
|
+
* console.log(data);
|
|
221
|
+
* });
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
clearinghouseState(params: DeepImmutable<WsClearinghouseStateParameters>, listener: (data: WsClearinghouseState) => void): Promise<Subscription>;
|
|
174
225
|
/**
|
|
175
226
|
* Subscribe to explorer block updates.
|
|
176
227
|
* @param listener - A callback function to be called when the event is received.
|
|
@@ -236,7 +287,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
236
287
|
* });
|
|
237
288
|
* ```
|
|
238
289
|
*/
|
|
239
|
-
l2Book(params: DeepImmutable<
|
|
290
|
+
l2Book(params: DeepImmutable<WsL2BookParameters>, listener: (data: Book) => void): Promise<Subscription>;
|
|
240
291
|
/**
|
|
241
292
|
* Subscribe to notification updates for a specific user.
|
|
242
293
|
* @param params - Subscription-specific parameters.
|
|
@@ -258,7 +309,29 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
258
309
|
* });
|
|
259
310
|
* ```
|
|
260
311
|
*/
|
|
261
|
-
notification(params: DeepImmutable<
|
|
312
|
+
notification(params: DeepImmutable<WsNotificationParameters>, listener: (data: WsNotification) => void): Promise<Subscription>;
|
|
313
|
+
/**
|
|
314
|
+
* Subscribe to open orders updates for a specific user.
|
|
315
|
+
* @param params - Subscription-specific parameters.
|
|
316
|
+
* @param listener - A callback function to be called when the event is received.
|
|
317
|
+
* @returns A request-promise that resolves with a {@link Subscription} object to manage the subscription lifecycle.
|
|
318
|
+
*
|
|
319
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
320
|
+
*
|
|
321
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
322
|
+
* @example
|
|
323
|
+
* ```ts
|
|
324
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
325
|
+
*
|
|
326
|
+
* const transport = new hl.WebSocketTransport();
|
|
327
|
+
* const subsClient = new hl.SubscriptionClient({ transport });
|
|
328
|
+
*
|
|
329
|
+
* const sub = await subsClient.openOrders({ user: "0x..." }, (data) => {
|
|
330
|
+
* console.log(data);
|
|
331
|
+
* });
|
|
332
|
+
* ```
|
|
333
|
+
*/
|
|
334
|
+
openOrders(params: DeepImmutable<WsOpenOrdersParameters>, listener: (data: WsOpenOrders) => void): Promise<Subscription>;
|
|
262
335
|
/**
|
|
263
336
|
* Subscribe to order status updates for a specific user.
|
|
264
337
|
* @param params - Subscription-specific parameters.
|
|
@@ -280,7 +353,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
280
353
|
* });
|
|
281
354
|
* ```
|
|
282
355
|
*/
|
|
283
|
-
orderUpdates(params: DeepImmutable<
|
|
356
|
+
orderUpdates(params: DeepImmutable<WsOrderUpdatesParameters>, listener: (data: OrderStatus[]) => void): Promise<Subscription>;
|
|
284
357
|
/**
|
|
285
358
|
* Subscribe to real-time trade updates for a specific asset.
|
|
286
359
|
* @param params - Subscription-specific parameters.
|
|
@@ -302,7 +375,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
302
375
|
* });
|
|
303
376
|
* ```
|
|
304
377
|
*/
|
|
305
|
-
trades(params: DeepImmutable<
|
|
378
|
+
trades(params: DeepImmutable<WsTradesParameters>, listener: (data: WsTrade[]) => void): Promise<Subscription>;
|
|
306
379
|
/**
|
|
307
380
|
* Subscribe to non-order events for a specific user.
|
|
308
381
|
* @param params - Subscription-specific parameters.
|
|
@@ -325,7 +398,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
325
398
|
* });
|
|
326
399
|
* ```
|
|
327
400
|
*/
|
|
328
|
-
userEvents(params: DeepImmutable<
|
|
401
|
+
userEvents(params: DeepImmutable<WsUserEventsParameters>, listener: (data: WsUserEvent) => void): Promise<Subscription>;
|
|
329
402
|
/**
|
|
330
403
|
* Subscribe to trade fill updates for a specific user.
|
|
331
404
|
* @param params - Subscription-specific parameters.
|
|
@@ -347,7 +420,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
347
420
|
* });
|
|
348
421
|
* ```
|
|
349
422
|
*/
|
|
350
|
-
userFills(params: DeepImmutable<
|
|
423
|
+
userFills(params: DeepImmutable<WsUserFillsParameters>, listener: (data: WsUserFills) => void): Promise<Subscription>;
|
|
351
424
|
/**
|
|
352
425
|
* Subscribe to funding payment updates for a specific user.
|
|
353
426
|
* @param params - Subscription-specific parameters.
|
|
@@ -369,7 +442,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
369
442
|
* });
|
|
370
443
|
* ```
|
|
371
444
|
*/
|
|
372
|
-
userFundings(params: DeepImmutable<
|
|
445
|
+
userFundings(params: DeepImmutable<WsUserFundingsParameters>, listener: (data: WsUserFundings) => void): Promise<Subscription>;
|
|
373
446
|
/**
|
|
374
447
|
* Subscribe to non-funding ledger updates for a specific user.
|
|
375
448
|
* @param params - Subscription-specific parameters.
|
|
@@ -391,7 +464,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
391
464
|
* });
|
|
392
465
|
* ```
|
|
393
466
|
*/
|
|
394
|
-
userNonFundingLedgerUpdates(params: DeepImmutable<
|
|
467
|
+
userNonFundingLedgerUpdates(params: DeepImmutable<WsUserNonFundingLedgerUpdatesParameters>, listener: (data: WsUserNonFundingLedgerUpdates) => void): Promise<Subscription>;
|
|
395
468
|
/**
|
|
396
469
|
* Subscribe to TWAP order history updates for a specific user.
|
|
397
470
|
* @param params - Subscription-specific parameters.
|
|
@@ -413,7 +486,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
413
486
|
* });
|
|
414
487
|
* ```
|
|
415
488
|
*/
|
|
416
|
-
userTwapHistory(params: DeepImmutable<
|
|
489
|
+
userTwapHistory(params: DeepImmutable<WsUserTwapHistoryParameters>, listener: (data: WsUserTwapHistory) => void): Promise<Subscription>;
|
|
417
490
|
/**
|
|
418
491
|
* Subscribe to TWAP execution updates for a specific user.
|
|
419
492
|
* @param params - Subscription-specific parameters.
|
|
@@ -435,7 +508,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
435
508
|
* });
|
|
436
509
|
* ```
|
|
437
510
|
*/
|
|
438
|
-
userTwapSliceFills(params: DeepImmutable<
|
|
511
|
+
userTwapSliceFills(params: DeepImmutable<WsUserTwapSliceFillsParameters>, listener: (data: WsUserTwapSliceFills) => void): Promise<Subscription>;
|
|
439
512
|
/**
|
|
440
513
|
* Subscribe to comprehensive user and market data updates.
|
|
441
514
|
* @param params - Subscription-specific parameters.
|
|
@@ -457,7 +530,7 @@ export declare class SubscriptionClient<T extends ISubscriptionTransport = ISubs
|
|
|
457
530
|
* });
|
|
458
531
|
* ```
|
|
459
532
|
*/
|
|
460
|
-
webData2(params: DeepImmutable<
|
|
533
|
+
webData2(params: DeepImmutable<WsWebData2Parameters>, listener: (data: WsWebData2) => void): Promise<Subscription>;
|
|
461
534
|
[Symbol.asyncDispose](): Promise<void>;
|
|
462
535
|
}
|
|
463
536
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/src/clients/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/src/clients/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,IAAI,EACT,KAAK,MAAM,EACX,KAAK,WAAW,EAEhB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,gBAAgB,EAChB,KAAK,WAAW,EAChB,kBAAkB,EAClB,KAAK,KAAK,EACV,YAAY,EACZ,KAAK,cAAc,EACnB,eAAe,EACf,KAAK,oBAAoB,EACzB,2BAA2B,EAG3B,eAAe,EACf,KAAK,cAAc,EACnB,qBAAqB,EACrB,KAAK,YAAY,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,KAAK,OAAO,EACZ,eAAe,EACf,KAAK,WAAW,EAChB,mBAAmB,EACnB,KAAK,WAAW,EAChB,kBAAkB,EAClB,KAAK,cAAc,EACnB,qBAAqB,EACrB,KAAK,6BAA6B,EAClC,oCAAoC,EACpC,KAAK,iBAAiB,EACtB,wBAAwB,EACxB,KAAK,oBAAoB,EACzB,2BAA2B,EAC3B,KAAK,UAAU,EACf,iBAAiB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,wFAAwF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