@nktkas/hyperliquid 0.13.2 → 0.15.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 +4 -7
- package/README.md +297 -103
- package/esm/mod.d.ts +3 -12
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +2 -2
- package/esm/src/{transports/base.d.ts → base.d.ts} +11 -14
- package/esm/src/base.d.ts.map +1 -0
- package/esm/src/base.js +14 -0
- package/esm/src/clients/event.d.ts +4 -4
- package/esm/src/clients/event.d.ts.map +1 -1
- package/esm/src/clients/event.js +2 -2
- package/esm/src/clients/public.d.ts +109 -6
- package/esm/src/clients/public.d.ts.map +1 -1
- package/esm/src/clients/public.js +106 -3
- package/esm/src/clients/wallet.d.ts +232 -29
- package/esm/src/clients/wallet.d.ts.map +1 -1
- package/esm/src/clients/wallet.js +859 -243
- package/esm/src/signing.d.ts +135 -0
- package/esm/src/signing.d.ts.map +1 -0
- package/esm/src/signing.js +188 -0
- package/esm/src/transports/http/http_transport.d.ts +2 -4
- package/esm/src/transports/http/http_transport.d.ts.map +1 -1
- package/esm/src/transports/http/http_transport.js +8 -13
- package/{script/src/transports/websocket/hyperliquid_event_target.d.ts → esm/src/transports/websocket/_hyperliquid_event_target.d.ts} +7 -15
- package/esm/src/transports/websocket/_hyperliquid_event_target.d.ts.map +1 -0
- package/esm/src/transports/websocket/{hyperliquid_event_target.js → _hyperliquid_event_target.js} +4 -22
- package/esm/src/transports/websocket/{reconnecting_websocket.d.ts → _reconnecting_websocket.d.ts} +26 -26
- package/esm/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -0
- package/esm/src/transports/websocket/{reconnecting_websocket.js → _reconnecting_websocket.js} +91 -76
- package/esm/src/transports/websocket/{websocket_request_dispatcher.d.ts → _websocket_request_dispatcher.d.ts} +3 -7
- package/esm/src/transports/websocket/_websocket_request_dispatcher.d.ts.map +1 -0
- package/esm/src/transports/websocket/{websocket_request_dispatcher.js → _websocket_request_dispatcher.js} +3 -7
- package/esm/src/transports/websocket/websocket_transport.d.ts +13 -16
- package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_transport.js +49 -49
- package/esm/src/types/exchange/requests.d.ts +172 -20
- package/esm/src/types/exchange/requests.d.ts.map +1 -1
- package/esm/src/types/exchange/responses.d.ts +32 -32
- package/esm/src/types/exchange/responses.d.ts.map +1 -1
- package/esm/src/types/explorer/requests.d.ts +12 -12
- package/esm/src/types/explorer/requests.d.ts.map +1 -1
- package/esm/src/types/explorer/responses.d.ts +36 -1
- package/esm/src/types/explorer/responses.d.ts.map +1 -1
- package/esm/src/types/info/accounts.d.ts +130 -105
- package/esm/src/types/info/accounts.d.ts.map +1 -1
- package/esm/src/types/info/assets.d.ts +154 -152
- package/esm/src/types/info/assets.d.ts.map +1 -1
- package/esm/src/types/info/delegations.d.ts +20 -20
- package/esm/src/types/info/delegations.d.ts.map +1 -1
- package/esm/src/types/info/orders.d.ts +55 -55
- package/esm/src/types/info/orders.d.ts.map +1 -1
- package/esm/src/types/info/requests.d.ts +73 -10
- package/esm/src/types/info/requests.d.ts.map +1 -1
- package/esm/src/types/info/vaults.d.ts +1 -1
- package/esm/src/types/info/vaults.d.ts.map +1 -1
- package/esm/src/types/mod.d.ts +14 -0
- package/esm/src/types/mod.d.ts.map +1 -0
- package/esm/src/types/subscriptions/requests.d.ts +1 -1
- package/esm/src/types/subscriptions/requests.d.ts.map +1 -1
- package/{script/src/types/subscriptions/common.d.ts → esm/src/types/subscriptions/responses.d.ts} +16 -4
- package/esm/src/types/subscriptions/responses.d.ts.map +1 -0
- package/package.json +20 -4
- package/script/mod.d.ts +3 -12
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +3 -5
- package/script/src/{transports/base.d.ts → base.d.ts} +11 -14
- package/script/src/base.d.ts.map +1 -0
- package/script/src/{transports/base.js → base.js} +13 -12
- package/script/src/clients/event.d.ts +4 -4
- package/script/src/clients/event.d.ts.map +1 -1
- package/script/src/clients/event.js +2 -2
- package/script/src/clients/public.d.ts +109 -6
- package/script/src/clients/public.d.ts.map +1 -1
- package/script/src/clients/public.js +106 -3
- package/script/src/clients/wallet.d.ts +232 -29
- package/script/src/clients/wallet.d.ts.map +1 -1
- package/script/src/clients/wallet.js +860 -244
- package/script/src/signing.d.ts +135 -0
- package/script/src/signing.d.ts.map +1 -0
- package/script/src/signing.js +203 -0
- package/script/src/transports/http/http_transport.d.ts +2 -4
- package/script/src/transports/http/http_transport.d.ts.map +1 -1
- package/script/src/transports/http/http_transport.js +9 -14
- package/{esm/src/transports/websocket/hyperliquid_event_target.d.ts → script/src/transports/websocket/_hyperliquid_event_target.d.ts} +7 -15
- package/script/src/transports/websocket/_hyperliquid_event_target.d.ts.map +1 -0
- package/script/src/transports/websocket/{hyperliquid_event_target.js → _hyperliquid_event_target.js} +4 -22
- package/script/src/transports/websocket/{reconnecting_websocket.d.ts → _reconnecting_websocket.d.ts} +26 -26
- package/script/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -0
- package/script/src/transports/websocket/{reconnecting_websocket.js → _reconnecting_websocket.js} +94 -78
- package/script/src/transports/websocket/{websocket_request_dispatcher.d.ts → _websocket_request_dispatcher.d.ts} +3 -7
- package/script/src/transports/websocket/_websocket_request_dispatcher.d.ts.map +1 -0
- package/script/src/transports/websocket/{websocket_request_dispatcher.js → _websocket_request_dispatcher.js} +4 -8
- package/script/src/transports/websocket/websocket_transport.d.ts +13 -16
- package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_transport.js +55 -55
- package/script/src/types/exchange/requests.d.ts +172 -20
- package/script/src/types/exchange/requests.d.ts.map +1 -1
- package/script/src/types/exchange/responses.d.ts +32 -32
- package/script/src/types/exchange/responses.d.ts.map +1 -1
- package/script/src/types/explorer/requests.d.ts +12 -12
- package/script/src/types/explorer/requests.d.ts.map +1 -1
- package/script/src/types/explorer/responses.d.ts +36 -1
- package/script/src/types/explorer/responses.d.ts.map +1 -1
- package/script/src/types/info/accounts.d.ts +130 -105
- package/script/src/types/info/accounts.d.ts.map +1 -1
- package/script/src/types/info/assets.d.ts +154 -152
- package/script/src/types/info/assets.d.ts.map +1 -1
- package/script/src/types/info/delegations.d.ts +20 -20
- package/script/src/types/info/delegations.d.ts.map +1 -1
- package/script/src/types/info/orders.d.ts +55 -55
- package/script/src/types/info/orders.d.ts.map +1 -1
- package/script/src/types/info/requests.d.ts +73 -10
- package/script/src/types/info/requests.d.ts.map +1 -1
- package/script/src/types/info/vaults.d.ts +1 -1
- package/script/src/types/info/vaults.d.ts.map +1 -1
- package/script/src/types/mod.d.ts +14 -0
- package/script/src/types/mod.d.ts.map +1 -0
- package/script/src/types/subscriptions/requests.d.ts +1 -1
- package/script/src/types/subscriptions/requests.d.ts.map +1 -1
- package/{esm/src/types/subscriptions/common.d.ts → script/src/types/subscriptions/responses.d.ts} +16 -4
- package/script/src/types/subscriptions/responses.d.ts.map +1 -0
- package/esm/src/transports/base.d.ts.map +0 -1
- package/esm/src/transports/base.js +0 -14
- package/esm/src/transports/websocket/hyperliquid_event_target.d.ts.map +0 -1
- package/esm/src/transports/websocket/reconnecting_websocket.d.ts.map +0 -1
- package/esm/src/transports/websocket/websocket_request_dispatcher.d.ts.map +0 -1
- package/esm/src/types/common.d.ts +0 -3
- package/esm/src/types/common.d.ts.map +0 -1
- package/esm/src/types/exchange/common.d.ts +0 -36
- package/esm/src/types/exchange/common.d.ts.map +0 -1
- package/esm/src/types/explorer/common.d.ts +0 -37
- package/esm/src/types/explorer/common.d.ts.map +0 -1
- package/esm/src/types/explorer/common.js +0 -1
- package/esm/src/types/subscriptions/common.d.ts.map +0 -1
- package/esm/src/types/subscriptions/common.js +0 -1
- package/esm/src/utils/key_sort.d.ts +0 -21
- package/esm/src/utils/key_sort.d.ts.map +0 -1
- package/esm/src/utils/key_sort.js +0 -124
- package/esm/src/utils/signing.d.ts +0 -109
- package/esm/src/utils/signing.d.ts.map +0 -1
- package/esm/src/utils/signing.js +0 -164
- package/script/src/transports/base.d.ts.map +0 -1
- package/script/src/transports/websocket/hyperliquid_event_target.d.ts.map +0 -1
- package/script/src/transports/websocket/reconnecting_websocket.d.ts.map +0 -1
- package/script/src/transports/websocket/websocket_request_dispatcher.d.ts.map +0 -1
- package/script/src/types/common.d.ts +0 -3
- package/script/src/types/common.d.ts.map +0 -1
- package/script/src/types/exchange/common.d.ts +0 -36
- package/script/src/types/exchange/common.d.ts.map +0 -1
- package/script/src/types/explorer/common.d.ts +0 -37
- package/script/src/types/explorer/common.d.ts.map +0 -1
- package/script/src/types/explorer/common.js +0 -12
- package/script/src/types/subscriptions/common.d.ts.map +0 -1
- package/script/src/types/subscriptions/common.js +0 -12
- package/script/src/utils/key_sort.d.ts +0 -21
- package/script/src/utils/key_sort.d.ts.map +0 -1
- package/script/src/utils/key_sort.js +0 -137
- package/script/src/utils/signing.d.ts +0 -109
- package/script/src/utils/signing.d.ts.map +0 -1
- package/script/src/utils/signing.js +0 -182
- /package/esm/src/types/{common.js → mod.js} +0 -0
- /package/esm/src/types/{exchange/common.js → subscriptions/responses.js} +0 -0
- /package/script/src/types/{common.js → mod.js} +0 -0
- /package/script/src/types/{exchange/common.js → subscriptions/responses.js} +0 -0
|
@@ -1,33 +1,47 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { ApproveAgentRequest, ApproveBuilderFeeRequest, BatchModifyRequest, CancelByCloidRequest, CancelRequest, CDepositRequest, CreateSubAccountRequest, CWithdrawRequest, ModifyRequest, OrderRequest, ScheduleCancelRequest, SetReferrerRequest, SpotSendRequest, SubAccountTransferRequest, TokenDelegateRequest, TwapCancelRequest, TwapOrderRequest, UpdateIsolatedMarginRequest, UpdateLeverageRequest, UsdClassTransferRequest, UsdSendRequest, VaultTransferRequest, Withdraw3Request } from "../types/exchange/requests.js";
|
|
1
|
+
import { type Hex, HyperliquidError, type IRequestTransport } from "../base.js";
|
|
2
|
+
import type { ApproveAgentRequest, ApproveBuilderFeeRequest, BatchModifyRequest, CancelByCloidRequest, CancelRequest, CDepositRequest, ClaimRewardsRequest, CreateSubAccountRequest, CWithdrawRequest, EvmUserModifyRequest, ModifyRequest, OrderRequest, ScheduleCancelRequest, SetDisplayNameRequest, SetReferrerRequest, SpotSendRequest, SpotUserRequest, SubAccountSpotTransferRequest, SubAccountTransferRequest, TokenDelegateRequest, TwapCancelRequest, TwapOrderRequest, UpdateIsolatedMarginRequest, UpdateLeverageRequest, UsdClassTransferRequest, UsdSendRequest, VaultDistributeRequest, VaultModifyRequest, VaultTransferRequest, Withdraw3Request } from "../types/exchange/requests.js";
|
|
3
3
|
import type { CancelResponse, CreateSubAccountResponse, ErrorResponse, OrderResponse, SuccessResponse, TwapCancelResponse, TwapOrderResponse } from "../types/exchange/responses.js";
|
|
4
|
-
import type
|
|
5
|
-
import { type AbstractEthersSigner, type AbstractEthersV5Signer, type AbstractViemWalletClient } from "../utils/signing.js";
|
|
4
|
+
import { type AbstractEthersSigner, type AbstractEthersV5Signer, type AbstractViemWalletClient } from "../signing.js";
|
|
6
5
|
/** Parameters for the {@linkcode WalletClient} constructor. */
|
|
7
6
|
export interface WalletClientParameters<T extends IRequestTransport = IRequestTransport, W extends AbstractViemWalletClient | AbstractEthersSigner | AbstractEthersV5Signer = AbstractViemWalletClient | AbstractEthersSigner | AbstractEthersV5Signer> {
|
|
8
7
|
/** The transport used to connect to the Hyperliquid API. */
|
|
9
8
|
transport: T;
|
|
10
9
|
/** The WalletClient/Account ([viem](https://viem.sh/docs/clients/wallet)) or Signer ([ethers.js](https://docs.ethers.org/v6/api/providers/#Signer)) used for signing transactions. */
|
|
11
10
|
wallet: W;
|
|
12
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Specifies whether the client uses testnet.
|
|
13
|
+
*
|
|
14
|
+
* Defaults to `false`.
|
|
15
|
+
*/
|
|
13
16
|
isTestnet?: boolean;
|
|
14
17
|
/** Sets a default vaultAddress to be used if no vaultAddress is explicitly passed to a method. */
|
|
15
18
|
defaultVaultAddress?: Hex;
|
|
19
|
+
/**
|
|
20
|
+
* The network that will be used to sign transactions.
|
|
21
|
+
* Must match the network of the {@link wallet}.
|
|
22
|
+
*
|
|
23
|
+
* Defaults to `0xa4b1` for `isTestnet = false` or `0x66eee` for `isTestnet = true`.
|
|
24
|
+
*/
|
|
25
|
+
signatureChainId?: Hex;
|
|
16
26
|
}
|
|
17
27
|
/** Parameters for the {@linkcode WalletClient.approveAgent} method. */
|
|
18
|
-
export type ApproveAgentParameters = Omit<ApproveAgentRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<ApproveAgentRequest["action"], "
|
|
28
|
+
export type ApproveAgentParameters = Omit<ApproveAgentRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<ApproveAgentRequest["action"], "nonce">>;
|
|
19
29
|
/** Parameters for the {@linkcode WalletClient.approveBuilderFee} method. */
|
|
20
|
-
export type ApproveBuilderFeeParameters = Omit<ApproveBuilderFeeRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<ApproveBuilderFeeRequest["action"], "
|
|
30
|
+
export type ApproveBuilderFeeParameters = Omit<ApproveBuilderFeeRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<ApproveBuilderFeeRequest["action"], "nonce">>;
|
|
21
31
|
/** Parameters for the {@linkcode WalletClient.batchModify} method. */
|
|
22
32
|
export type BatchModifyParameters = Omit<BatchModifyRequest["action"], "type"> & Partial<Pick<BatchModifyRequest, "vaultAddress" | "nonce">>;
|
|
23
33
|
/** Parameters for the {@linkcode WalletClient.cancel} method. */
|
|
24
34
|
export type CancelParameters = Omit<CancelRequest["action"], "type"> & Partial<Pick<CancelRequest, "vaultAddress" | "nonce">>;
|
|
25
35
|
/** Parameters for the {@linkcode WalletClient.cDeposit} method. */
|
|
26
|
-
export type CDepositParameters = Omit<CDepositRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<CDepositRequest["action"], "
|
|
36
|
+
export type CDepositParameters = Omit<CDepositRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<CDepositRequest["action"], "nonce">>;
|
|
37
|
+
/** Parameters for the {@linkcode WalletClient.claimRewards} method. */
|
|
38
|
+
export type ClaimRewardsParameters = Omit<ClaimRewardsRequest["action"], "type"> & Partial<Pick<ClaimRewardsRequest, "nonce">>;
|
|
27
39
|
/** Parameters for the {@linkcode WalletClient.cancelByCloid} method. */
|
|
28
40
|
export type CancelByCloidParameters = Omit<CancelByCloidRequest["action"], "type"> & Partial<Pick<CancelByCloidRequest, "vaultAddress" | "nonce">>;
|
|
29
41
|
/** Parameters for the {@linkcode WalletClient.cWithdraw} method. */
|
|
30
|
-
export type CWithdrawParameters = Omit<CWithdrawRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<CWithdrawRequest["action"], "
|
|
42
|
+
export type CWithdrawParameters = Omit<CWithdrawRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<CWithdrawRequest["action"], "nonce">>;
|
|
43
|
+
/** Parameters for the {@linkcode WalletClient.evmUserModify} method. */
|
|
44
|
+
export type EvmUserModifyParameters = Omit<EvmUserModifyRequest["action"], "type"> & Partial<Pick<EvmUserModifyRequest, "nonce">>;
|
|
31
45
|
/** Parameters for the {@linkcode WalletClient.createSubAccount} method. */
|
|
32
46
|
export type CreateSubAccountParameters = Omit<CreateSubAccountRequest["action"], "type"> & Partial<Pick<CreateSubAccountRequest, "nonce">>;
|
|
33
47
|
/** Parameters for the {@linkcode WalletClient.modify} method. */
|
|
@@ -36,14 +50,20 @@ export type ModifyParameters = Omit<ModifyRequest["action"], "type"> & Partial<P
|
|
|
36
50
|
export type OrderParameters = Omit<OrderRequest["action"], "type"> & Partial<Pick<OrderRequest, "vaultAddress" | "nonce">>;
|
|
37
51
|
/** Parameters for the {@linkcode WalletClient.scheduleCancel} method. */
|
|
38
52
|
export type ScheduleCancelParameters = Omit<ScheduleCancelRequest["action"], "type"> & Partial<Pick<ScheduleCancelRequest, "vaultAddress" | "nonce">>;
|
|
53
|
+
/** Parameters for the {@linkcode WalletClient.setDisplayName} method. */
|
|
54
|
+
export type SetDisplayNameParameters = Omit<SetDisplayNameRequest["action"], "type"> & Partial<Pick<SetDisplayNameRequest, "nonce">>;
|
|
39
55
|
/** Parameters for the {@linkcode WalletClient.setReferrer} method. */
|
|
40
56
|
export type SetReferrerParameters = Omit<SetReferrerRequest["action"], "type"> & Partial<Pick<SetReferrerRequest, "nonce">>;
|
|
41
57
|
/** Parameters for the {@linkcode WalletClient.spotSend} method. */
|
|
42
|
-
export type SpotSendParameters = Omit<SpotSendRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<SpotSendRequest["action"], "
|
|
58
|
+
export type SpotSendParameters = Omit<SpotSendRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<SpotSendRequest["action"], "time">>;
|
|
59
|
+
/** Parameters for the {@linkcode WalletClient.spotUser} method. */
|
|
60
|
+
export type SpotUserParameters = Omit<SpotUserRequest["action"], "type"> & Partial<Pick<SpotUserRequest, "nonce">>;
|
|
61
|
+
/** Parameters for the {@linkcode WalletClient.subAccountSpotTransfer} method. */
|
|
62
|
+
export type SubAccountSpotTransferParameters = Omit<SubAccountSpotTransferRequest["action"], "type"> & Partial<Pick<SubAccountSpotTransferRequest, "nonce">>;
|
|
43
63
|
/** Parameters for the {@linkcode WalletClient.subAccountTransfer} method. */
|
|
44
64
|
export type SubAccountTransferParameters = Omit<SubAccountTransferRequest["action"], "type"> & Partial<Pick<SubAccountTransferRequest, "nonce">>;
|
|
45
65
|
/** Parameters for the {@linkcode WalletClient.tokenDelegate} method. */
|
|
46
|
-
export type TokenDelegateParameters = Omit<TokenDelegateRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<TokenDelegateRequest["action"], "
|
|
66
|
+
export type TokenDelegateParameters = Omit<TokenDelegateRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<TokenDelegateRequest["action"], "nonce">>;
|
|
47
67
|
/** Parameters for the {@linkcode WalletClient.twapCancel} method. */
|
|
48
68
|
export type TwapCancelParameters = Omit<TwapCancelRequest["action"], "type"> & Partial<Pick<TwapCancelRequest, "vaultAddress" | "nonce">>;
|
|
49
69
|
/** Parameters for the {@linkcode WalletClient.twapOrder} method. */
|
|
@@ -53,13 +73,17 @@ export type UpdateIsolatedMarginParameters = Omit<UpdateIsolatedMarginRequest["a
|
|
|
53
73
|
/** Parameters for the {@linkcode WalletClient.updateLeverage} method. */
|
|
54
74
|
export type UpdateLeverageParameters = Omit<UpdateLeverageRequest["action"], "type"> & Partial<Pick<UpdateLeverageRequest, "vaultAddress" | "nonce">>;
|
|
55
75
|
/** Parameters for the {@linkcode WalletClient.usdClassTransfer} method. */
|
|
56
|
-
export type UsdClassTransferParameters = Omit<UsdClassTransferRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<UsdClassTransferRequest["action"], "
|
|
76
|
+
export type UsdClassTransferParameters = Omit<UsdClassTransferRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "nonce"> & Partial<Pick<UsdClassTransferRequest["action"], "nonce">>;
|
|
57
77
|
/** Parameters for the {@linkcode WalletClient.usdSend} method. */
|
|
58
|
-
export type UsdSendParameters = Omit<UsdSendRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<UsdSendRequest["action"], "
|
|
78
|
+
export type UsdSendParameters = Omit<UsdSendRequest["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<UsdSendRequest["action"], "time">>;
|
|
79
|
+
/** Parameters for the {@linkcode WalletClient.vaultDistribute} method. */
|
|
80
|
+
export type VaultDistributeParameters = Omit<VaultDistributeRequest["action"], "type"> & Partial<Pick<VaultDistributeRequest, "nonce">>;
|
|
81
|
+
/** Parameters for the {@linkcode WalletClient.vaultModify} method. */
|
|
82
|
+
export type VaultModifyParameters = Omit<VaultModifyRequest["action"], "type"> & Partial<Pick<VaultModifyRequest, "nonce">>;
|
|
59
83
|
/** Parameters for the {@linkcode WalletClient.vaultTransfer} method. */
|
|
60
84
|
export type VaultTransferParameters = Omit<VaultTransferRequest["action"], "type"> & Partial<Pick<VaultTransferRequest, "nonce">>;
|
|
61
85
|
/** Parameters for the {@linkcode WalletClient.withdraw3} method. */
|
|
62
|
-
export type Withdraw3Parameters = Omit<Withdraw3Request["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<Withdraw3Request["action"], "
|
|
86
|
+
export type Withdraw3Parameters = Omit<Withdraw3Request["action"], "type" | "hyperliquidChain" | "signatureChainId" | "time"> & Partial<Pick<Withdraw3Request["action"], "time">>;
|
|
63
87
|
/** Successful variant of {@linkcode CancelResponse} without error statuses. */
|
|
64
88
|
export type CancelResponseSuccess = CancelResponse & {
|
|
65
89
|
response: {
|
|
@@ -101,24 +125,32 @@ export type TwapOrderResponseSuccess = TwapOrderResponse & {
|
|
|
101
125
|
};
|
|
102
126
|
};
|
|
103
127
|
/** Error thrown when the API returns an error response. */
|
|
104
|
-
export declare class ApiRequestError extends
|
|
128
|
+
export declare class ApiRequestError extends HyperliquidError {
|
|
105
129
|
response: ErrorResponse | OrderResponse | CancelResponse | TwapOrderResponse | TwapCancelResponse;
|
|
106
130
|
constructor(response: ErrorResponse | OrderResponse | CancelResponse | TwapOrderResponse | TwapCancelResponse);
|
|
107
131
|
}
|
|
108
132
|
/**
|
|
109
133
|
* Wallet client for interacting with the Hyperliquid API.
|
|
110
|
-
* @typeParam T
|
|
111
|
-
* @typeParam W
|
|
134
|
+
* @typeParam T The transport used to connect to the Hyperliquid API.
|
|
135
|
+
* @typeParam W The WalletClient/Account ([viem](https://viem.sh/docs/clients/wallet)) or Signer ([ethers.js](https://docs.ethers.io/v6/api/providers/#Signer)) used for signing transactions.
|
|
112
136
|
*/
|
|
113
137
|
export declare class WalletClient<T extends IRequestTransport = IRequestTransport, W extends AbstractViemWalletClient | AbstractEthersSigner | AbstractEthersV5Signer = AbstractViemWalletClient | AbstractEthersSigner | AbstractEthersV5Signer> {
|
|
114
138
|
/** The transport used to connect to the Hyperliquid API. */
|
|
115
139
|
transport: T;
|
|
116
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* The [viem](https://viem.sh/docs/clients/wallet) or [ethers.js](https://docs.ethers.org/v6/api/providers/#Signer)
|
|
142
|
+
* used for signing transactions.
|
|
143
|
+
*/
|
|
117
144
|
wallet: W;
|
|
118
145
|
/** Specifies whether the client uses testnet. */
|
|
119
146
|
isTestnet: boolean;
|
|
120
147
|
/** Sets a default vaultAddress to be used if no vaultAddress is explicitly passed to a method. */
|
|
121
148
|
defaultVaultAddress?: Hex;
|
|
149
|
+
/**
|
|
150
|
+
* The network that will be used to sign transactions.
|
|
151
|
+
* Must match the network of the {@link wallet}.
|
|
152
|
+
*/
|
|
153
|
+
signatureChainId: Hex;
|
|
122
154
|
/**
|
|
123
155
|
* Initialises a new instance.
|
|
124
156
|
* @param args - The parameters for the client.
|
|
@@ -134,7 +166,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
134
166
|
* const client = new hl.WalletClient({ wallet, transport });
|
|
135
167
|
* ```
|
|
136
168
|
*
|
|
137
|
-
* @example Private key via [ethers.js](https://docs.ethers.org/v6/api/wallet/#Wallet)
|
|
169
|
+
* @example Private key via [ethers.js](https://docs.ethers.org/v6/api/wallet/#Wallet) or [ethers.js v5](https://docs.ethers.org/v5/api/signer/#Wallet)
|
|
138
170
|
* ```ts
|
|
139
171
|
* import * as hl from "@nktkas/hyperliquid";
|
|
140
172
|
* import { ethers } from "ethers";
|
|
@@ -156,6 +188,14 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
156
188
|
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
157
189
|
* const client = new hl.WalletClient({ wallet, transport });
|
|
158
190
|
* ```
|
|
191
|
+
*
|
|
192
|
+
* @example External wallet (e.g. MetaMask) via `window.ethereum` directly
|
|
193
|
+
* ```ts
|
|
194
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
195
|
+
*
|
|
196
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
197
|
+
* const client = new hl.WalletClient({ wallet: window.ethereum, transport });
|
|
198
|
+
* ```
|
|
159
199
|
*/
|
|
160
200
|
constructor(args: WalletClientParameters<T, W>);
|
|
161
201
|
/**
|
|
@@ -179,6 +219,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
179
219
|
* agentAddress: "0x...",
|
|
180
220
|
* agentName: "agentName",
|
|
181
221
|
* });
|
|
222
|
+
* ```
|
|
182
223
|
*/
|
|
183
224
|
approveAgent(args: ApproveAgentParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
184
225
|
/**
|
|
@@ -202,6 +243,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
202
243
|
* maxFeeRate: "0.01%",
|
|
203
244
|
* builder: "0x...",
|
|
204
245
|
* });
|
|
246
|
+
* ```
|
|
205
247
|
*/
|
|
206
248
|
approveBuilderFee(args: ApproveBuilderFeeParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
207
249
|
/**
|
|
@@ -285,10 +327,31 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
285
327
|
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
286
328
|
* const client = new hl.WalletClient({ wallet, transport });
|
|
287
329
|
*
|
|
288
|
-
* const result = await client.cDeposit({ wei:
|
|
330
|
+
* const result = await client.cDeposit({ wei: 1 * 1e8 });
|
|
289
331
|
* ```
|
|
290
332
|
*/
|
|
291
333
|
cDeposit(args: CDepositParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* Claim rewards from referral program.
|
|
336
|
+
* @param args - The parameters for the request.
|
|
337
|
+
* @param signal - An optional abort signal.
|
|
338
|
+
* @returns Successful response without specific data.
|
|
339
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
340
|
+
*
|
|
341
|
+
* @see null - no documentation
|
|
342
|
+
* @example
|
|
343
|
+
* ```ts
|
|
344
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
345
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
346
|
+
*
|
|
347
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
348
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
349
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
350
|
+
*
|
|
351
|
+
* const result = await client.claimRewards();
|
|
352
|
+
* ```
|
|
353
|
+
*/
|
|
354
|
+
claimRewards(args?: ClaimRewardsParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
292
355
|
/**
|
|
293
356
|
* Cancel order(s) by cloid.
|
|
294
357
|
* @param args - The parameters for the request.
|
|
@@ -332,10 +395,31 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
332
395
|
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
333
396
|
* const client = new hl.WalletClient({ wallet, transport });
|
|
334
397
|
*
|
|
335
|
-
* const result = await client.cWithdraw({ wei:
|
|
398
|
+
* const result = await client.cWithdraw({ wei: 1 * 1e8 });
|
|
336
399
|
* ```
|
|
337
400
|
*/
|
|
338
401
|
cWithdraw(args: CWithdrawParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
402
|
+
/**
|
|
403
|
+
* Configure block type for EVM transactions.
|
|
404
|
+
* @param args - The parameters for the request.
|
|
405
|
+
* @param signal - An optional abort signal.
|
|
406
|
+
* @returns Response for creating a sub-account.
|
|
407
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
408
|
+
*
|
|
409
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/evm/dual-block-architecture
|
|
410
|
+
* @example
|
|
411
|
+
* ```ts
|
|
412
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
413
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
414
|
+
*
|
|
415
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
416
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
417
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
418
|
+
*
|
|
419
|
+
* const result = await client.evmUserModify({ usingBigBlocks: true });
|
|
420
|
+
* ```
|
|
421
|
+
*/
|
|
422
|
+
evmUserModify(args: EvmUserModifyParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
339
423
|
/**
|
|
340
424
|
* Create a sub-account.
|
|
341
425
|
* @param args - The parameters for the request.
|
|
@@ -450,6 +534,27 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
450
534
|
* ```
|
|
451
535
|
*/
|
|
452
536
|
scheduleCancel(args?: ScheduleCancelParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
537
|
+
/**
|
|
538
|
+
* Set the display name in the leaderboard.
|
|
539
|
+
* @param args - The parameters for the request.
|
|
540
|
+
* @param signal - An optional abort signal.
|
|
541
|
+
* @returns Successful response without specific data.
|
|
542
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
543
|
+
*
|
|
544
|
+
* @see null - no documentation
|
|
545
|
+
* @example
|
|
546
|
+
* ```ts
|
|
547
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
548
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
549
|
+
*
|
|
550
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
551
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
552
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
553
|
+
*
|
|
554
|
+
* const result = await client.setDisplayName({ displayName: "My Name" });
|
|
555
|
+
* ```
|
|
556
|
+
*/
|
|
557
|
+
setDisplayName(args: SetDisplayNameParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
453
558
|
/**
|
|
454
559
|
* Set a referral code.
|
|
455
560
|
* @param args - The parameters for the request.
|
|
@@ -497,7 +602,56 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
497
602
|
*/
|
|
498
603
|
spotSend(args: SpotSendParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
499
604
|
/**
|
|
500
|
-
*
|
|
605
|
+
* Opt Out of Spot Dusting.
|
|
606
|
+
* @param args - The parameters for the request.
|
|
607
|
+
* @param signal - An optional abort signal.
|
|
608
|
+
* @returns Successful response without specific data.
|
|
609
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
610
|
+
*
|
|
611
|
+
* @see null - no documentation
|
|
612
|
+
* @example
|
|
613
|
+
* ```ts
|
|
614
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
615
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
616
|
+
*
|
|
617
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
618
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
619
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
620
|
+
*
|
|
621
|
+
* const result = await client.spotUser({
|
|
622
|
+
* toggleSpotDusting: { optOut: false },
|
|
623
|
+
* });
|
|
624
|
+
* ```
|
|
625
|
+
*/
|
|
626
|
+
spotUser(args: SpotUserParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
627
|
+
/**
|
|
628
|
+
* Transfer between sub-accounts (spot).
|
|
629
|
+
* @param args - The parameters for the request.
|
|
630
|
+
* @param signal - An optional abort signal.
|
|
631
|
+
* @returns Successful response without specific data.
|
|
632
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
633
|
+
*
|
|
634
|
+
* @see null - no documentation
|
|
635
|
+
* @example
|
|
636
|
+
* ```ts
|
|
637
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
638
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
639
|
+
*
|
|
640
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
641
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
642
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
643
|
+
*
|
|
644
|
+
* const result = await client.subAccountSpotTransfer({
|
|
645
|
+
* subAccountUser: "0x...",
|
|
646
|
+
* isDeposit: true,
|
|
647
|
+
* token: "USDC:0xeb62eee3685fc4c43992febcd9e75443",
|
|
648
|
+
* amount: "1",
|
|
649
|
+
* });
|
|
650
|
+
* ```
|
|
651
|
+
*/
|
|
652
|
+
subAccountSpotTransfer(args: SubAccountSpotTransferParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* Transfer between sub-accounts (perpetual).
|
|
501
655
|
* @param args - The parameters for the request.
|
|
502
656
|
* @param signal - An optional abort signal.
|
|
503
657
|
* @returns Successful response without specific data.
|
|
@@ -516,7 +670,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
516
670
|
* const result = await client.subAccountTransfer({
|
|
517
671
|
* subAccountUser: "0x...",
|
|
518
672
|
* isDeposit: true,
|
|
519
|
-
* usd:
|
|
673
|
+
* usd: 1 * 1e6,
|
|
520
674
|
* });
|
|
521
675
|
* ```
|
|
522
676
|
*/
|
|
@@ -541,7 +695,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
541
695
|
* const result = await client.tokenDelegate({
|
|
542
696
|
* validator: "0x...",
|
|
543
697
|
* isUndelegate: true,
|
|
544
|
-
* wei:
|
|
698
|
+
* wei: 1 * 1e8,
|
|
545
699
|
* });
|
|
546
700
|
* ```
|
|
547
701
|
*/
|
|
@@ -618,7 +772,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
618
772
|
* const result = await client.updateIsolatedMargin({
|
|
619
773
|
* asset: 0,
|
|
620
774
|
* isBuy: true, // Add to long position
|
|
621
|
-
* ntli:
|
|
775
|
+
* ntli: 1, // Add 1 USD margin (integer only)
|
|
622
776
|
* });
|
|
623
777
|
* ```
|
|
624
778
|
*/
|
|
@@ -666,7 +820,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
666
820
|
* const client = new hl.WalletClient({ wallet, transport });
|
|
667
821
|
*
|
|
668
822
|
* const result = await client.usdClassTransfer({
|
|
669
|
-
* amount: "
|
|
823
|
+
* amount: "1",
|
|
670
824
|
* toPerp: true, // Transfer from Spot to Perp
|
|
671
825
|
* });
|
|
672
826
|
* ```
|
|
@@ -691,11 +845,60 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
691
845
|
*
|
|
692
846
|
* const result = await client.usdSend({
|
|
693
847
|
* destination: "0x...",
|
|
694
|
-
* amount: "
|
|
848
|
+
* amount: "1",
|
|
695
849
|
* });
|
|
696
850
|
* ```
|
|
697
851
|
*/
|
|
698
852
|
usdSend(args: UsdSendParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
853
|
+
/**
|
|
854
|
+
* Distribute funds from a vault between followers.
|
|
855
|
+
* @param args - The parameters for the request.
|
|
856
|
+
* @param signal - An optional abort signal.
|
|
857
|
+
* @returns Successful response without specific data.
|
|
858
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
859
|
+
*
|
|
860
|
+
* @see null - no documentation
|
|
861
|
+
* @example
|
|
862
|
+
* ```ts
|
|
863
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
864
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
865
|
+
*
|
|
866
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
867
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
868
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
869
|
+
*
|
|
870
|
+
* const result = await client.vaultDistribute({
|
|
871
|
+
* vaultAddress: "0x...",
|
|
872
|
+
* usd: 10 * 1e6,
|
|
873
|
+
* });
|
|
874
|
+
* ```
|
|
875
|
+
*/
|
|
876
|
+
vaultDistribute(args: VaultDistributeParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
877
|
+
/**
|
|
878
|
+
* Modify a vault's configuration.
|
|
879
|
+
* @param args - The parameters for the request.
|
|
880
|
+
* @param signal - An optional abort signal.
|
|
881
|
+
* @returns Successful response without specific data.
|
|
882
|
+
* @throws {ApiRequestError} When the API returns an error response.
|
|
883
|
+
*
|
|
884
|
+
* @see null - no documentation
|
|
885
|
+
* @example
|
|
886
|
+
* ```ts
|
|
887
|
+
* import * as hl from "@nktkas/hyperliquid";
|
|
888
|
+
* import { privateKeyToAccount } from "viem/accounts";
|
|
889
|
+
*
|
|
890
|
+
* const wallet = privateKeyToAccount("0x...");
|
|
891
|
+
* const transport = new hl.HttpTransport(); // or WebSocketTransport
|
|
892
|
+
* const client = new hl.WalletClient({ wallet, transport });
|
|
893
|
+
*
|
|
894
|
+
* const result = await client.vaultModify({
|
|
895
|
+
* vaultAddress: "0x...",
|
|
896
|
+
* allowDeposits: true,
|
|
897
|
+
* alwaysCloseOnWithdraw: false,
|
|
898
|
+
* });
|
|
899
|
+
* ```
|
|
900
|
+
*/
|
|
901
|
+
vaultModify(args: VaultModifyParameters, signal?: AbortSignal): Promise<SuccessResponse>;
|
|
699
902
|
/**
|
|
700
903
|
* Add or remove funds from a vault.
|
|
701
904
|
* @param args - The parameters for the request.
|
|
@@ -716,7 +919,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
716
919
|
* const result = await client.vaultTransfer({
|
|
717
920
|
* vaultAddress: "0x...",
|
|
718
921
|
* isDeposit: true,
|
|
719
|
-
* usd:
|
|
922
|
+
* usd: 10 * 1e6,
|
|
720
923
|
* });
|
|
721
924
|
* ```
|
|
722
925
|
*/
|
|
@@ -740,7 +943,7 @@ export declare class WalletClient<T extends IRequestTransport = IRequestTranspor
|
|
|
740
943
|
*
|
|
741
944
|
* const result = await client.withdraw3({
|
|
742
945
|
* destination: "0x...",
|
|
743
|
-
* amount: "
|
|
946
|
+
* amount: "1",
|
|
744
947
|
* });
|
|
745
948
|
* ```
|
|
746
949
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../src/src/clients/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EACR,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EACnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACR,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAGhC,MAAM,qBAAqB,CAAC;AAI7B,+DAA+D;AAC/D,MAAM,WAAW,sBAAsB,CACnC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,EAC/C,CAAC,SAAS,wBAAwB,GAAG,oBAAoB,GAAG,sBAAsB,GAC5E,wBAAwB,GACxB,oBAAoB,GACpB,sBAAsB;IAE5B,4DAA4D;IAC5D,SAAS,EAAE,CAAC,CAAC;IACb,sLAAsL;IACtL,MAAM,EAAE,CAAC,CAAC;IACV,sEAAsE;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;;;;;;;;;;;OAsBG;IACG,SAAS,CAAC,IAAI,EAAE,mBAAmB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC;IAkC1F,wCAAwC;IACxC,SAAS,CAAC,iBAAiB,CACvB,QAAQ,EACF,eAAe,GACf,aAAa,GACb,cAAc,GACd,wBAAwB,GACxB,aAAa,GACb,iBAAiB,GACjB,kBAAkB,GACzB,OAAO,CAAC,QAAQ,IACb,eAAe,GACf,qBAAqB,GACrB,wBAAwB,GACxB,oBAAoB,GACpB,wBAAwB,GACxB,yBAAyB;CAalC"}
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../src/src/clients/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,KAAK,EACR,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,6BAA6B,EAC7B,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACd,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EACnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACR,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAGhC,MAAM,eAAe,CAAC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