@nktkas/hyperliquid 0.22.2 → 0.23.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 +79 -67
- package/esm/mod.d.ts +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/src/base.d.ts +4 -1
- package/esm/src/base.d.ts.map +1 -1
- package/esm/src/base.js +2 -2
- package/esm/src/clients/exchange.d.ts +289 -207
- package/esm/src/clients/exchange.d.ts.map +1 -1
- package/esm/src/clients/exchange.js +605 -410
- package/esm/src/clients/info.d.ts +264 -48
- package/esm/src/clients/info.d.ts.map +1 -1
- package/esm/src/clients/info.js +273 -31
- package/esm/src/clients/multiSign.d.ts +285 -204
- package/esm/src/clients/multiSign.d.ts.map +1 -1
- package/esm/src/clients/multiSign.js +521 -493
- package/esm/src/clients/subscription.d.ts +38 -3
- package/esm/src/clients/subscription.d.ts.map +1 -1
- package/esm/src/clients/subscription.js +36 -3
- package/esm/src/signing/{_ethers.d.ts → _signTypedData/ethers.d.ts} +1 -1
- package/esm/src/signing/_signTypedData/ethers.d.ts.map +1 -0
- package/esm/src/signing/_signTypedData/mod.d.ts +35 -0
- package/esm/src/signing/_signTypedData/mod.d.ts.map +1 -0
- package/esm/src/signing/_signTypedData/mod.js +59 -0
- package/esm/src/signing/_signTypedData/private_key.d.ts +26 -0
- package/esm/src/signing/_signTypedData/private_key.d.ts.map +1 -0
- package/esm/src/signing/_signTypedData/private_key.js +144 -0
- package/esm/src/signing/{_viem.d.ts → _signTypedData/viem.d.ts} +2 -2
- package/esm/src/signing/_signTypedData/viem.d.ts.map +1 -0
- package/{script/src/signing/_window.d.ts → esm/src/signing/_signTypedData/window.d.ts} +18 -12
- package/esm/src/signing/_signTypedData/window.d.ts.map +1 -0
- package/esm/src/signing/{_window.js → _signTypedData/window.js} +3 -2
- package/esm/src/signing/_sorter.d.ts +56 -82
- package/esm/src/signing/_sorter.d.ts.map +1 -1
- package/esm/src/signing/_sorter.js +36 -49
- package/esm/src/signing/mod.d.ts +151 -130
- package/esm/src/signing/mod.d.ts.map +1 -1
- package/esm/src/signing/mod.js +182 -228
- package/esm/src/transports/base.d.ts +1 -1
- 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 +9 -15
- package/esm/src/transports/http/http_transport.d.ts.map +1 -1
- package/esm/src/transports/http/http_transport.js +64 -59
- 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/_hyperliquid_event_target.js +1 -1
- package/esm/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -1
- package/esm/src/transports/websocket/_reconnecting_websocket.js +17 -4
- package/esm/src/transports/websocket/_websocket_async_request.d.ts +0 -9
- package/esm/src/transports/websocket/_websocket_async_request.d.ts.map +1 -1
- package/esm/src/transports/websocket/_websocket_async_request.js +14 -20
- package/esm/src/transports/websocket/websocket_transport.d.ts +8 -4
- package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_transport.js +83 -54
- package/esm/src/types/exchange/requests.d.ts +27 -51
- package/esm/src/types/exchange/requests.d.ts.map +1 -1
- package/esm/src/types/explorer/requests.d.ts +5 -8
- package/esm/src/types/explorer/requests.d.ts.map +1 -1
- package/esm/src/types/info/accounts.d.ts +5 -5
- package/esm/src/types/info/accounts.d.ts.map +1 -1
- package/esm/src/types/info/markets.d.ts +6 -0
- package/esm/src/types/info/markets.d.ts.map +1 -1
- package/esm/src/types/info/orders.d.ts +1 -1
- package/esm/src/types/info/orders.d.ts.map +1 -1
- package/esm/src/types/info/requests.d.ts +129 -124
- package/esm/src/types/info/requests.d.ts.map +1 -1
- package/{script/src/types/info/delegations.d.ts → esm/src/types/info/validators.d.ts} +2 -2
- package/esm/src/types/info/validators.d.ts.map +1 -0
- package/esm/src/types/info/vaults.d.ts +7 -0
- package/esm/src/types/info/vaults.d.ts.map +1 -1
- package/esm/src/types/mod.d.ts +1 -1
- package/esm/src/types/mod.d.ts.map +1 -1
- package/esm/src/types/subscriptions/requests.d.ts +72 -18
- package/esm/src/types/subscriptions/requests.d.ts.map +1 -1
- package/esm/src/types/subscriptions/responses.d.ts +2 -0
- package/esm/src/types/subscriptions/responses.d.ts.map +1 -1
- package/package.json +8 -5
- package/script/mod.d.ts +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +13 -23
- package/script/src/base.d.ts +4 -1
- package/script/src/base.d.ts.map +1 -1
- package/script/src/base.js +10 -20
- package/script/src/clients/exchange.d.ts +289 -207
- package/script/src/clients/exchange.d.ts.map +1 -1
- package/script/src/clients/exchange.js +2000 -1815
- package/script/src/clients/info.d.ts +264 -48
- package/script/src/clients/info.d.ts.map +1 -1
- package/script/src/clients/info.js +1442 -1210
- package/script/src/clients/multiSign.d.ts +285 -204
- package/script/src/clients/multiSign.d.ts.map +1 -1
- package/script/src/clients/multiSign.js +2043 -2025
- package/script/src/clients/subscription.d.ts +38 -3
- package/script/src/clients/subscription.d.ts.map +1 -1
- package/script/src/clients/subscription.js +568 -545
- package/script/src/signing/{_ethers.d.ts → _signTypedData/ethers.d.ts} +1 -1
- package/script/src/signing/_signTypedData/ethers.d.ts.map +1 -0
- package/script/src/signing/_signTypedData/ethers.js +16 -0
- package/script/src/signing/_signTypedData/mod.d.ts +35 -0
- package/script/src/signing/_signTypedData/mod.d.ts.map +1 -0
- package/script/src/signing/_signTypedData/mod.js +67 -0
- package/script/src/signing/_signTypedData/private_key.d.ts +26 -0
- package/script/src/signing/_signTypedData/private_key.d.ts.map +1 -0
- package/script/src/signing/_signTypedData/private_key.js +148 -0
- package/script/src/signing/{_viem.d.ts → _signTypedData/viem.d.ts} +2 -2
- package/script/src/signing/_signTypedData/viem.d.ts.map +1 -0
- package/script/src/signing/_signTypedData/viem.js +9 -0
- package/{esm/src/signing/_window.d.ts → script/src/signing/_signTypedData/window.d.ts} +18 -12
- package/script/src/signing/_signTypedData/window.d.ts.map +1 -0
- package/script/src/signing/_signTypedData/window.js +34 -0
- package/script/src/signing/_sorter.d.ts +56 -82
- package/script/src/signing/_sorter.d.ts.map +1 -1
- package/script/src/signing/_sorter.js +655 -678
- package/script/src/signing/mod.d.ts +151 -130
- package/script/src/signing/mod.d.ts.map +1 -1
- package/script/src/signing/mod.js +286 -342
- package/script/src/transports/base.d.ts +1 -1
- package/script/src/transports/base.d.ts.map +1 -1
- package/script/src/transports/base.js +11 -21
- package/script/src/transports/http/http_transport.d.ts +9 -15
- package/script/src/transports/http/http_transport.d.ts.map +1 -1
- package/script/src/transports/http/http_transport.js +97 -102
- 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/_hyperliquid_event_target.js +51 -61
- package/script/src/transports/websocket/_reconnecting_websocket.d.ts.map +1 -1
- package/script/src/transports/websocket/_reconnecting_websocket.js +271 -268
- package/script/src/transports/websocket/_websocket_async_request.d.ts +0 -9
- package/script/src/transports/websocket/_websocket_async_request.d.ts.map +1 -1
- package/script/src/transports/websocket/_websocket_async_request.js +157 -174
- package/script/src/transports/websocket/websocket_transport.d.ts +8 -4
- package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_transport.js +209 -189
- package/script/src/types/exchange/requests.d.ts +27 -51
- package/script/src/types/exchange/requests.d.ts.map +1 -1
- package/script/src/types/exchange/requests.js +2 -12
- package/script/src/types/exchange/responses.js +2 -12
- package/script/src/types/explorer/requests.d.ts +5 -8
- package/script/src/types/explorer/requests.d.ts.map +1 -1
- package/script/src/types/explorer/requests.js +2 -12
- package/script/src/types/explorer/responses.js +2 -12
- package/script/src/types/info/accounts.d.ts +5 -5
- package/script/src/types/info/accounts.d.ts.map +1 -1
- package/script/src/types/info/accounts.js +2 -12
- package/script/src/types/info/assets.js +2 -12
- package/script/src/types/info/markets.d.ts +6 -0
- package/script/src/types/info/markets.d.ts.map +1 -1
- package/script/src/types/info/markets.js +2 -12
- package/script/src/types/info/orders.d.ts +1 -1
- package/script/src/types/info/orders.d.ts.map +1 -1
- package/script/src/types/info/orders.js +2 -12
- package/script/src/types/info/requests.d.ts +129 -124
- package/script/src/types/info/requests.d.ts.map +1 -1
- package/script/src/types/info/requests.js +2 -12
- package/{esm/src/types/info/delegations.d.ts → script/src/types/info/validators.d.ts} +2 -2
- package/script/src/types/info/validators.d.ts.map +1 -0
- package/script/src/types/info/validators.js +2 -0
- package/script/src/types/info/vaults.d.ts +7 -0
- package/script/src/types/info/vaults.d.ts.map +1 -1
- package/script/src/types/info/vaults.js +2 -12
- package/script/src/types/mod.d.ts +1 -1
- package/script/src/types/mod.d.ts.map +1 -1
- package/script/src/types/mod.js +2 -12
- package/script/src/types/subscriptions/requests.d.ts +72 -18
- package/script/src/types/subscriptions/requests.d.ts.map +1 -1
- package/script/src/types/subscriptions/requests.js +2 -12
- package/script/src/types/subscriptions/responses.d.ts +2 -0
- package/script/src/types/subscriptions/responses.d.ts.map +1 -1
- package/script/src/types/subscriptions/responses.js +2 -12
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.d.ts +0 -2
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.js +0 -1
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.d.ts +0 -95
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.d.ts.map +0 -1
- package/esm/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.js +0 -10
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.d.ts +0 -43
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.js +0 -63
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +0 -23
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.js +0 -51
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +0 -4
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +0 -13
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +0 -9
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.js +0 -2
- package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts +0 -39
- package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.js +0 -87
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts +0 -9
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/_types.js +0 -2
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts +0 -39
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/encode.js +0 -237
- package/esm/src/signing/_ethers.d.ts.map +0 -1
- package/esm/src/signing/_private_key.d.ts +0 -22
- package/esm/src/signing/_private_key.d.ts.map +0 -1
- package/esm/src/signing/_private_key.js +0 -124
- package/esm/src/signing/_viem.d.ts.map +0 -1
- package/esm/src/signing/_window.d.ts.map +0 -1
- package/esm/src/types/info/delegations.d.ts.map +0 -1
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.d.ts +0 -2
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/mod.js +0 -27
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.d.ts +0 -95
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.d.ts.map +0 -1
- package/script/deps/jsr.io/@derzade/typescript-event-target/1.1.1/src/TypedEventTarget.js +0 -24
- package/script/deps/jsr.io/@std/async/1.0.13/delay.d.ts +0 -43
- package/script/deps/jsr.io/@std/async/1.0.13/delay.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/delay.js +0 -76
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -13
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -45
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +0 -23
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.js +0 -67
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +0 -4
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +0 -26
- package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +0 -9
- package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.10/_types.js +0 -13
- package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts +0 -39
- package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.10/hex.js +0 -101
- package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts +0 -9
- package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/_types.js +0 -13
- package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts +0 -39
- package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/encode.js +0 -250
- package/script/src/signing/_ethers.d.ts.map +0 -1
- package/script/src/signing/_ethers.js +0 -26
- package/script/src/signing/_private_key.d.ts +0 -22
- package/script/src/signing/_private_key.d.ts.map +0 -1
- package/script/src/signing/_private_key.js +0 -138
- package/script/src/signing/_viem.d.ts.map +0 -1
- package/script/src/signing/_viem.js +0 -19
- package/script/src/signing/_window.d.ts.map +0 -1
- package/script/src/signing/_window.js +0 -43
- package/script/src/types/info/delegations.d.ts.map +0 -1
- package/script/src/types/info/delegations.js +0 -12
- /package/esm/src/signing/{_ethers.js → _signTypedData/ethers.js} +0 -0
- /package/esm/src/signing/{_viem.js → _signTypedData/viem.js} +0 -0
- /package/esm/src/types/info/{delegations.js → validators.js} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Hex } from "../../base.js";
|
|
2
2
|
/**
|
|
3
3
|
* Request mid coin prices.
|
|
4
|
-
* @returns {AllMids}
|
|
5
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-mids-for-all-coins
|
|
4
|
+
* @returns {AllMids}
|
|
6
5
|
*/
|
|
7
6
|
export interface AllMidsRequest {
|
|
8
7
|
/** Type of request. */
|
|
@@ -12,8 +11,7 @@ export interface AllMidsRequest {
|
|
|
12
11
|
}
|
|
13
12
|
/**
|
|
14
13
|
* Request candlestick snapshots.
|
|
15
|
-
* @returns {Candle[]}
|
|
16
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#candle-snapshot
|
|
14
|
+
* @returns {Candle[]}
|
|
17
15
|
*/
|
|
18
16
|
export interface CandleSnapshotRequest {
|
|
19
17
|
/** Type of request. */
|
|
@@ -32,8 +30,7 @@ export interface CandleSnapshotRequest {
|
|
|
32
30
|
}
|
|
33
31
|
/**
|
|
34
32
|
* Request clearinghouse state.
|
|
35
|
-
* @returns {PerpsClearinghouseState}
|
|
36
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
|
|
33
|
+
* @returns {PerpsClearinghouseState}
|
|
37
34
|
*/
|
|
38
35
|
export interface ClearinghouseStateRequest {
|
|
39
36
|
/** Type of request. */
|
|
@@ -43,8 +40,7 @@ export interface ClearinghouseStateRequest {
|
|
|
43
40
|
}
|
|
44
41
|
/**
|
|
45
42
|
* Request user staking delegations.
|
|
46
|
-
* @returns {Delegation[]}
|
|
47
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-delegations
|
|
43
|
+
* @returns {Delegation[]}
|
|
48
44
|
*/
|
|
49
45
|
export interface DelegationsRequest {
|
|
50
46
|
/** Type of request. */
|
|
@@ -54,8 +50,7 @@ export interface DelegationsRequest {
|
|
|
54
50
|
}
|
|
55
51
|
/**
|
|
56
52
|
* Request user staking history.
|
|
57
|
-
* @returns {DelegatorUpdate[]}
|
|
58
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-history
|
|
53
|
+
* @returns {DelegatorUpdate[]}
|
|
59
54
|
*/
|
|
60
55
|
export interface DelegatorHistoryRequest {
|
|
61
56
|
/** Type of request. */
|
|
@@ -65,8 +60,7 @@ export interface DelegatorHistoryRequest {
|
|
|
65
60
|
}
|
|
66
61
|
/**
|
|
67
62
|
* Request user staking rewards.
|
|
68
|
-
* @returns {DelegatorReward[]}
|
|
69
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-rewards
|
|
63
|
+
* @returns {DelegatorReward[]}
|
|
70
64
|
*/
|
|
71
65
|
export interface DelegatorRewardsRequest {
|
|
72
66
|
/** Type of request. */
|
|
@@ -76,8 +70,7 @@ export interface DelegatorRewardsRequest {
|
|
|
76
70
|
}
|
|
77
71
|
/**
|
|
78
72
|
* Request user staking summary.
|
|
79
|
-
* @returns {DelegatorSummary}
|
|
80
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-summary
|
|
73
|
+
* @returns {DelegatorSummary}
|
|
81
74
|
*/
|
|
82
75
|
export interface DelegatorSummaryRequest {
|
|
83
76
|
/** Type of request. */
|
|
@@ -85,10 +78,17 @@ export interface DelegatorSummaryRequest {
|
|
|
85
78
|
/** User's address. */
|
|
86
79
|
user: Hex;
|
|
87
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Request exchange status information.
|
|
83
|
+
* @returns {ExchangeStatus}
|
|
84
|
+
*/
|
|
85
|
+
export interface ExchangeStatusRequest {
|
|
86
|
+
/** Type of request. */
|
|
87
|
+
type: "exchangeStatus";
|
|
88
|
+
}
|
|
88
89
|
/**
|
|
89
90
|
* Request user's extra agents.
|
|
90
|
-
* @returns {ExtraAgent[]}
|
|
91
|
-
* @see null - no documentation
|
|
91
|
+
* @returns {ExtraAgent[]}
|
|
92
92
|
*/
|
|
93
93
|
export interface ExtraAgentsRequest {
|
|
94
94
|
/** Type of request. */
|
|
@@ -98,8 +98,7 @@ export interface ExtraAgentsRequest {
|
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* Request frontend open orders.
|
|
101
|
-
* @returns {FrontendOrder[]}
|
|
102
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders-with-additional-frontend-info
|
|
101
|
+
* @returns {FrontendOrder[]}
|
|
103
102
|
*/
|
|
104
103
|
export interface FrontendOpenOrdersRequest {
|
|
105
104
|
/** Type of request. */
|
|
@@ -111,8 +110,7 @@ export interface FrontendOpenOrdersRequest {
|
|
|
111
110
|
}
|
|
112
111
|
/**
|
|
113
112
|
* Request funding history.
|
|
114
|
-
* @returns {FundingHistory[]}
|
|
115
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-historical-funding-rates
|
|
113
|
+
* @returns {FundingHistory[]}
|
|
116
114
|
*/
|
|
117
115
|
export interface FundingHistoryRequest {
|
|
118
116
|
/** Type of request. */
|
|
@@ -125,9 +123,8 @@ export interface FundingHistoryRequest {
|
|
|
125
123
|
endTime?: number | null;
|
|
126
124
|
}
|
|
127
125
|
/**
|
|
128
|
-
* Request user historical orders.
|
|
129
|
-
* @returns {OrderStatus<FrontendOrder>[]}
|
|
130
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-historical-orders
|
|
126
|
+
* Request user's historical orders.
|
|
127
|
+
* @returns {OrderStatus<FrontendOrder>[]}
|
|
131
128
|
*/
|
|
132
129
|
export interface HistoricalOrdersRequest {
|
|
133
130
|
/** Type of request. */
|
|
@@ -137,8 +134,7 @@ export interface HistoricalOrdersRequest {
|
|
|
137
134
|
}
|
|
138
135
|
/**
|
|
139
136
|
* Request to check if a user is a VIP.
|
|
140
|
-
* @returns {boolean}
|
|
141
|
-
* @see null - no documentation
|
|
137
|
+
* @returns {boolean}
|
|
142
138
|
*/
|
|
143
139
|
export interface IsVipRequest {
|
|
144
140
|
/** Type of request. */
|
|
@@ -148,8 +144,7 @@ export interface IsVipRequest {
|
|
|
148
144
|
}
|
|
149
145
|
/**
|
|
150
146
|
* Request L2 order book.
|
|
151
|
-
* @returns {Book}
|
|
152
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#l2-book-snapshot
|
|
147
|
+
* @returns {Book}
|
|
153
148
|
*/
|
|
154
149
|
export interface L2BookRequest {
|
|
155
150
|
/** Type of request. */
|
|
@@ -161,10 +156,19 @@ export interface L2BookRequest {
|
|
|
161
156
|
/** Mantissa for aggregation (if {@link nSigFigs} is 5). */
|
|
162
157
|
mantissa?: 2 | 5 | null;
|
|
163
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Request leading vaults for a user.
|
|
161
|
+
* @returns {VaultLeading[]}
|
|
162
|
+
*/
|
|
163
|
+
export interface LeadingVaultsRequest {
|
|
164
|
+
/** Type of request. */
|
|
165
|
+
type: "leadingVaults";
|
|
166
|
+
/** User's address. */
|
|
167
|
+
user: Hex;
|
|
168
|
+
}
|
|
164
169
|
/**
|
|
165
170
|
* Request legal verification status of a user.
|
|
166
|
-
* @returns {LegalCheck}
|
|
167
|
-
* @see null - no documentation
|
|
171
|
+
* @returns {LegalCheck}
|
|
168
172
|
*/
|
|
169
173
|
export interface LegalCheckRequest {
|
|
170
174
|
/** Type of request. */
|
|
@@ -172,10 +176,27 @@ export interface LegalCheckRequest {
|
|
|
172
176
|
/** User's address. */
|
|
173
177
|
user: Hex;
|
|
174
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Request liquidatable (unknown).
|
|
181
|
+
* @returns {unknown[]}
|
|
182
|
+
*/
|
|
183
|
+
export interface LiquidatableRequest {
|
|
184
|
+
/** Type of request. */
|
|
185
|
+
type: "liquidatable";
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Request margin table data.
|
|
189
|
+
* @returns {MarginTable}
|
|
190
|
+
*/
|
|
191
|
+
export interface MarginTableRequest {
|
|
192
|
+
/** Type of request. */
|
|
193
|
+
type: "marginTable";
|
|
194
|
+
/** Unique identifier for the margin requirements table. */
|
|
195
|
+
id: number;
|
|
196
|
+
}
|
|
175
197
|
/**
|
|
176
198
|
* Request builder fee approval.
|
|
177
|
-
* @returns {number}
|
|
178
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#check-builder-fee-approval
|
|
199
|
+
* @returns {number}
|
|
179
200
|
*/
|
|
180
201
|
export interface MaxBuilderFeeRequest {
|
|
181
202
|
/** Type of request. */
|
|
@@ -186,18 +207,16 @@ export interface MaxBuilderFeeRequest {
|
|
|
186
207
|
builder: Hex;
|
|
187
208
|
}
|
|
188
209
|
/**
|
|
189
|
-
* Request
|
|
190
|
-
* @returns {
|
|
191
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
|
|
210
|
+
* Request maximum market order notionals.
|
|
211
|
+
* @returns {[number, string][]}
|
|
192
212
|
*/
|
|
193
|
-
export interface
|
|
213
|
+
export interface MaxMarketOrderNtlsRequest {
|
|
194
214
|
/** Type of request. */
|
|
195
|
-
type: "
|
|
215
|
+
type: "maxMarketOrderNtls";
|
|
196
216
|
}
|
|
197
217
|
/**
|
|
198
218
|
* Request trading metadata.
|
|
199
|
-
* @returns {PerpsMeta}
|
|
200
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-metadata
|
|
219
|
+
* @returns {PerpsMeta}
|
|
201
220
|
*/
|
|
202
221
|
export interface MetaRequest {
|
|
203
222
|
/** Type of request. */
|
|
@@ -205,10 +224,17 @@ export interface MetaRequest {
|
|
|
205
224
|
/** Name of perp dex. */
|
|
206
225
|
dex?: string;
|
|
207
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* Request metadata and asset contexts.
|
|
229
|
+
* @returns {PerpsMetaAndAssetCtxs}
|
|
230
|
+
*/
|
|
231
|
+
export interface MetaAndAssetCtxsRequest {
|
|
232
|
+
/** Type of request. */
|
|
233
|
+
type: "metaAndAssetCtxs";
|
|
234
|
+
}
|
|
208
235
|
/**
|
|
209
236
|
* Request open orders.
|
|
210
|
-
* @returns {Order[]}
|
|
211
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders
|
|
237
|
+
* @returns {Order[]}
|
|
212
238
|
*/
|
|
213
239
|
export interface OpenOrdersRequest {
|
|
214
240
|
/** Type of request. */
|
|
@@ -220,8 +246,7 @@ export interface OpenOrdersRequest {
|
|
|
220
246
|
}
|
|
221
247
|
/**
|
|
222
248
|
* Request order status.
|
|
223
|
-
* @returns {OrderLookup}
|
|
224
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-order-status-by-oid-or-cloid
|
|
249
|
+
* @returns {OrderLookup}
|
|
225
250
|
*/
|
|
226
251
|
export interface OrderStatusRequest {
|
|
227
252
|
/** Type of request. */
|
|
@@ -233,8 +258,7 @@ export interface OrderStatusRequest {
|
|
|
233
258
|
}
|
|
234
259
|
/**
|
|
235
260
|
* Request for the status of the perpetual deploy auction.
|
|
236
|
-
* @returns {DeployAuctionStatus}
|
|
237
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-information-about-the-perp-deploy-auction
|
|
261
|
+
* @returns {DeployAuctionStatus}
|
|
238
262
|
*/
|
|
239
263
|
export interface PerpDeployAuctionStatusRequest {
|
|
240
264
|
/** Type of request. */
|
|
@@ -242,8 +266,7 @@ export interface PerpDeployAuctionStatusRequest {
|
|
|
242
266
|
}
|
|
243
267
|
/**
|
|
244
268
|
* Request all perpetual dexs.
|
|
245
|
-
* @returns {PerpDexs}
|
|
246
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-all-perpetual-dexs
|
|
269
|
+
* @returns {PerpDexs}
|
|
247
270
|
*/
|
|
248
271
|
export interface PerpDexsRequest {
|
|
249
272
|
/** Type of request. */
|
|
@@ -251,8 +274,7 @@ export interface PerpDexsRequest {
|
|
|
251
274
|
}
|
|
252
275
|
/**
|
|
253
276
|
* Request perpetuals at open interest cap.
|
|
254
|
-
* @returns {string[]}
|
|
255
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#query-perps-at-open-interest-caps
|
|
277
|
+
* @returns {string[]}
|
|
256
278
|
*/
|
|
257
279
|
export interface PerpsAtOpenInterestCapRequest {
|
|
258
280
|
/** Type of request. */
|
|
@@ -260,8 +282,7 @@ export interface PerpsAtOpenInterestCapRequest {
|
|
|
260
282
|
}
|
|
261
283
|
/**
|
|
262
284
|
* Request user portfolio.
|
|
263
|
-
* @returns {PortfolioPeriods}
|
|
264
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-portfolio
|
|
285
|
+
* @returns {PortfolioPeriods}
|
|
265
286
|
*/
|
|
266
287
|
export interface PortfolioRequest {
|
|
267
288
|
/** Type of request. */
|
|
@@ -271,8 +292,7 @@ export interface PortfolioRequest {
|
|
|
271
292
|
}
|
|
272
293
|
/**
|
|
273
294
|
* Request predicted funding rates.
|
|
274
|
-
* @returns {PredictedFunding[]}
|
|
275
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-predicted-funding-rates-for-different-venues
|
|
295
|
+
* @returns {PredictedFunding[]}
|
|
276
296
|
*/
|
|
277
297
|
export interface PredictedFundingsRequest {
|
|
278
298
|
/** Type of request. */
|
|
@@ -280,8 +300,7 @@ export interface PredictedFundingsRequest {
|
|
|
280
300
|
}
|
|
281
301
|
/**
|
|
282
302
|
* Request user's existence check before transfer.
|
|
283
|
-
* @returns {PreTransferCheck}
|
|
284
|
-
* @see null - no documentation
|
|
303
|
+
* @returns {PreTransferCheck}
|
|
285
304
|
*/
|
|
286
305
|
export interface PreTransferCheckRequest {
|
|
287
306
|
/** Type of request. */
|
|
@@ -293,8 +312,7 @@ export interface PreTransferCheckRequest {
|
|
|
293
312
|
}
|
|
294
313
|
/**
|
|
295
314
|
* Request user referral.
|
|
296
|
-
* @returns {Referral}
|
|
297
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-referral-information
|
|
315
|
+
* @returns {Referral}
|
|
298
316
|
*/
|
|
299
317
|
export interface ReferralRequest {
|
|
300
318
|
/** Type of request. */
|
|
@@ -304,8 +322,7 @@ export interface ReferralRequest {
|
|
|
304
322
|
}
|
|
305
323
|
/**
|
|
306
324
|
* Request spot clearinghouse state.
|
|
307
|
-
* @returns {SpotClearinghouseState}
|
|
308
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-a-users-token-balances
|
|
325
|
+
* @returns {SpotClearinghouseState}
|
|
309
326
|
*/
|
|
310
327
|
export interface SpotClearinghouseStateRequest {
|
|
311
328
|
/** Type of request. */
|
|
@@ -317,8 +334,7 @@ export interface SpotClearinghouseStateRequest {
|
|
|
317
334
|
}
|
|
318
335
|
/**
|
|
319
336
|
* Request spot deploy state.
|
|
320
|
-
* @returns {SpotDeployState}
|
|
321
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-the-spot-deploy-auction
|
|
337
|
+
* @returns {SpotDeployState}
|
|
322
338
|
*/
|
|
323
339
|
export interface SpotDeployStateRequest {
|
|
324
340
|
/** Type of request. */
|
|
@@ -327,27 +343,24 @@ export interface SpotDeployStateRequest {
|
|
|
327
343
|
user: Hex;
|
|
328
344
|
}
|
|
329
345
|
/**
|
|
330
|
-
* Request spot metadata
|
|
331
|
-
* @returns {
|
|
332
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
|
|
346
|
+
* Request spot trading metadata.
|
|
347
|
+
* @returns {SpotMeta}
|
|
333
348
|
*/
|
|
334
|
-
export interface
|
|
349
|
+
export interface SpotMetaRequest {
|
|
335
350
|
/** Type of request. */
|
|
336
|
-
type: "
|
|
351
|
+
type: "spotMeta";
|
|
337
352
|
}
|
|
338
353
|
/**
|
|
339
|
-
* Request spot
|
|
340
|
-
* @returns {
|
|
341
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-metadata
|
|
354
|
+
* Request spot metadata and asset contexts.
|
|
355
|
+
* @returns {SpotMetaAndAssetCtxs}
|
|
342
356
|
*/
|
|
343
|
-
export interface
|
|
357
|
+
export interface SpotMetaAndAssetCtxsRequest {
|
|
344
358
|
/** Type of request. */
|
|
345
|
-
type: "
|
|
359
|
+
type: "spotMetaAndAssetCtxs";
|
|
346
360
|
}
|
|
347
361
|
/**
|
|
348
362
|
* Request user sub-accounts.
|
|
349
|
-
* @returns {SubAccount[] | null}
|
|
350
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-subaccounts
|
|
363
|
+
* @returns {SubAccount[] | null}
|
|
351
364
|
*/
|
|
352
365
|
export interface SubAccountsRequest {
|
|
353
366
|
/** Type of request. */
|
|
@@ -357,8 +370,7 @@ export interface SubAccountsRequest {
|
|
|
357
370
|
}
|
|
358
371
|
/**
|
|
359
372
|
* Request token details.
|
|
360
|
-
* @returns {TokenDetails}
|
|
361
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-information-about-a-token
|
|
373
|
+
* @returns {TokenDetails}
|
|
362
374
|
*/
|
|
363
375
|
export interface TokenDetailsRequest {
|
|
364
376
|
/** Type of request. */
|
|
@@ -367,9 +379,8 @@ export interface TokenDetailsRequest {
|
|
|
367
379
|
tokenId: Hex;
|
|
368
380
|
}
|
|
369
381
|
/**
|
|
370
|
-
* Request
|
|
371
|
-
* @returns {TwapHistory[]}
|
|
372
|
-
* @see null - no documentation
|
|
382
|
+
* Request twap history of a user.
|
|
383
|
+
* @returns {TwapHistory[]}
|
|
373
384
|
*/
|
|
374
385
|
export interface TwapHistoryRequest {
|
|
375
386
|
/** Type of request. */
|
|
@@ -379,8 +390,7 @@ export interface TwapHistoryRequest {
|
|
|
379
390
|
}
|
|
380
391
|
/**
|
|
381
392
|
* Request user fees.
|
|
382
|
-
* @returns {UserFees}
|
|
383
|
-
* @see null - no documentation
|
|
393
|
+
* @returns {UserFees}
|
|
384
394
|
*/
|
|
385
395
|
export interface UserFeesRequest {
|
|
386
396
|
/** Type of request. */
|
|
@@ -389,39 +399,36 @@ export interface UserFeesRequest {
|
|
|
389
399
|
user: Hex;
|
|
390
400
|
}
|
|
391
401
|
/**
|
|
392
|
-
* Request user fills
|
|
393
|
-
* @returns {Fill[]}
|
|
394
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
|
|
402
|
+
* Request user fills.
|
|
403
|
+
* @returns {Fill[]}
|
|
395
404
|
*/
|
|
396
|
-
export interface
|
|
405
|
+
export interface UserFillsRequest {
|
|
397
406
|
/** Type of request. */
|
|
398
|
-
type: "
|
|
407
|
+
type: "userFills";
|
|
399
408
|
/** User's address. */
|
|
400
409
|
user: Hex;
|
|
401
|
-
/** Start time (in ms since epoch). */
|
|
402
|
-
startTime: number;
|
|
403
|
-
/** End time (in ms since epoch). */
|
|
404
|
-
endTime?: number | null;
|
|
405
410
|
/** If true, partial fills are aggregated when a crossing order fills multiple resting orders. */
|
|
406
411
|
aggregateByTime?: boolean;
|
|
407
412
|
}
|
|
408
413
|
/**
|
|
409
|
-
* Request user fills.
|
|
410
|
-
* @returns {Fill[]}
|
|
411
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
|
|
414
|
+
* Request user fills by time.
|
|
415
|
+
* @returns {Fill[]}
|
|
412
416
|
*/
|
|
413
|
-
export interface
|
|
417
|
+
export interface UserFillsByTimeRequest {
|
|
414
418
|
/** Type of request. */
|
|
415
|
-
type: "
|
|
419
|
+
type: "userFillsByTime";
|
|
416
420
|
/** User's address. */
|
|
417
421
|
user: Hex;
|
|
422
|
+
/** Start time (in ms since epoch). */
|
|
423
|
+
startTime: number;
|
|
424
|
+
/** End time (in ms since epoch). */
|
|
425
|
+
endTime?: number | null;
|
|
418
426
|
/** If true, partial fills are aggregated when a crossing order fills multiple resting orders. */
|
|
419
427
|
aggregateByTime?: boolean;
|
|
420
428
|
}
|
|
421
429
|
/**
|
|
422
430
|
* Request user funding.
|
|
423
|
-
* @returns {UserFundingUpdate[]}
|
|
424
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
|
|
431
|
+
* @returns {UserFundingUpdate[]}
|
|
425
432
|
*/
|
|
426
433
|
export interface UserFundingRequest {
|
|
427
434
|
/** Type of request. */
|
|
@@ -435,8 +442,7 @@ export interface UserFundingRequest {
|
|
|
435
442
|
}
|
|
436
443
|
/**
|
|
437
444
|
* Request user non-funding ledger updates.
|
|
438
|
-
* @returns {UserNonFundingLedgerUpdate[]}
|
|
439
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-a-users-funding-history-or-non-funding-ledger-updates
|
|
445
|
+
* @returns {UserNonFundingLedgerUpdate[]}
|
|
440
446
|
*/
|
|
441
447
|
export interface UserNonFundingLedgerUpdatesRequest {
|
|
442
448
|
/** Type of request. */
|
|
@@ -450,8 +456,7 @@ export interface UserNonFundingLedgerUpdatesRequest {
|
|
|
450
456
|
}
|
|
451
457
|
/**
|
|
452
458
|
* Request user rate limits.
|
|
453
|
-
* @returns {UserRateLimit}
|
|
454
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-user-rate-limits
|
|
459
|
+
* @returns {UserRateLimit}
|
|
455
460
|
*/
|
|
456
461
|
export interface UserRateLimitRequest {
|
|
457
462
|
/** Type of request. */
|
|
@@ -461,8 +466,7 @@ export interface UserRateLimitRequest {
|
|
|
461
466
|
}
|
|
462
467
|
/**
|
|
463
468
|
* Request user role.
|
|
464
|
-
* @returns {UserRole}
|
|
465
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-role
|
|
469
|
+
* @returns {UserRole}
|
|
466
470
|
*/
|
|
467
471
|
export interface UserRoleRequest {
|
|
468
472
|
/** Type of request. */
|
|
@@ -471,9 +475,8 @@ export interface UserRoleRequest {
|
|
|
471
475
|
user: Hex;
|
|
472
476
|
}
|
|
473
477
|
/**
|
|
474
|
-
* Request
|
|
475
|
-
* @returns {MultiSigSigners | null}
|
|
476
|
-
* @see null - no documentation
|
|
478
|
+
* Request multi-sig signers for a user.
|
|
479
|
+
* @returns {MultiSigSigners | null}
|
|
477
480
|
*/
|
|
478
481
|
export interface UserToMultiSigSignersRequest {
|
|
479
482
|
/** Type of request. */
|
|
@@ -481,10 +484,19 @@ export interface UserToMultiSigSignersRequest {
|
|
|
481
484
|
/** User's address. */
|
|
482
485
|
user: Hex;
|
|
483
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* Request user TWAP slice fills.
|
|
489
|
+
* @returns {TwapSliceFill[]}
|
|
490
|
+
*/
|
|
491
|
+
export interface UserTwapSliceFillsRequest {
|
|
492
|
+
/** Type of request. */
|
|
493
|
+
type: "userTwapSliceFills";
|
|
494
|
+
/** User's address. */
|
|
495
|
+
user: Hex;
|
|
496
|
+
}
|
|
484
497
|
/**
|
|
485
498
|
* Request user TWAP slice fills by time.
|
|
486
|
-
* @returns {TwapSliceFill[]}
|
|
487
|
-
* @see null - no documentation
|
|
499
|
+
* @returns {TwapSliceFill[]}
|
|
488
500
|
*/
|
|
489
501
|
export interface UserTwapSliceFillsByTimeRequest {
|
|
490
502
|
/** Type of request. */
|
|
@@ -499,31 +511,26 @@ export interface UserTwapSliceFillsByTimeRequest {
|
|
|
499
511
|
aggregateByTime?: boolean;
|
|
500
512
|
}
|
|
501
513
|
/**
|
|
502
|
-
* Request user
|
|
503
|
-
* @returns {
|
|
504
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-twap-slice-fills
|
|
514
|
+
* Request user vault deposits.
|
|
515
|
+
* @returns {VaultEquity[]}
|
|
505
516
|
*/
|
|
506
|
-
export interface
|
|
517
|
+
export interface UserVaultEquitiesRequest {
|
|
507
518
|
/** Type of request. */
|
|
508
|
-
type: "
|
|
519
|
+
type: "userVaultEquities";
|
|
509
520
|
/** User's address. */
|
|
510
521
|
user: Hex;
|
|
511
522
|
}
|
|
512
523
|
/**
|
|
513
|
-
* Request
|
|
514
|
-
* @returns {
|
|
515
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-vault-deposits
|
|
524
|
+
* Request validator L1 votes.
|
|
525
|
+
* @returns {unknown[]}
|
|
516
526
|
*/
|
|
517
|
-
export interface
|
|
527
|
+
export interface ValidatorL1VotesRequest {
|
|
518
528
|
/** Type of request. */
|
|
519
|
-
type: "
|
|
520
|
-
/** User's address. */
|
|
521
|
-
user: Hex;
|
|
529
|
+
type: "validatorL1Votes";
|
|
522
530
|
}
|
|
523
531
|
/**
|
|
524
532
|
* Request validator summaries.
|
|
525
|
-
* @returns {ValidatorSummary[]}
|
|
526
|
-
* @see null - no documentation
|
|
533
|
+
* @returns {ValidatorSummary[]}
|
|
527
534
|
*/
|
|
528
535
|
export interface ValidatorSummariesRequest {
|
|
529
536
|
/** Type of request. */
|
|
@@ -531,8 +538,7 @@ export interface ValidatorSummariesRequest {
|
|
|
531
538
|
}
|
|
532
539
|
/**
|
|
533
540
|
* Request details of a vault.
|
|
534
|
-
* @returns {VaultDetails | null}
|
|
535
|
-
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-details-for-a-vault
|
|
541
|
+
* @returns {VaultDetails | null}
|
|
536
542
|
*/
|
|
537
543
|
export interface VaultDetailsRequest {
|
|
538
544
|
/** Type of request. */
|
|
@@ -544,8 +550,7 @@ export interface VaultDetailsRequest {
|
|
|
544
550
|
}
|
|
545
551
|
/**
|
|
546
552
|
* Request a list of vaults less than 2 hours old.
|
|
547
|
-
* @returns {VaultSummary[]}
|
|
548
|
-
* @see null - no documentation
|
|
553
|
+
* @returns {VaultSummary[]}
|
|
549
554
|
*/
|
|
550
555
|
export interface VaultSummariesRequest {
|
|
551
556
|
/** Type of request. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../../../../src/src/types/info/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEzC
|
|
1
|
+
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../../../../src/src/types/info/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEzC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B,uBAAuB;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,wBAAwB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,uBAAuB;IACvB,IAAI,EAAE,gBAAgB,CAAC;IACvB,0BAA0B;IAC1B,GAAG,EAAE;QACD,oBAAoB;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,qBAAqB;QACrB,QAAQ,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK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CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,uBAAuB;IACvB,IAAI,EAAE,cAAc,CAAC;IACrB,qBAAqB;IACrB,YAAY,EAAE,GAAG,CAAC;IAClB,sBAAsB;IACtB,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,uBAAuB;IACvB,IAAI,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var v = factory(require, exports);
|
|
4
|
-
if (v !== undefined) module.exports = v;
|
|
5
|
-
}
|
|
6
|
-
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports"], factory);
|
|
8
|
-
}
|
|
9
|
-
})(function (require, exports) {
|
|
10
|
-
"use strict";
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
});
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -17,7 +17,7 @@ export interface DelegatorReward {
|
|
|
17
17
|
/** Total reward amount. */
|
|
18
18
|
totalAmount: string;
|
|
19
19
|
}
|
|
20
|
-
/** Summary of a user's staking. */
|
|
20
|
+
/** Summary of a user's staking delegations. */
|
|
21
21
|
export interface DelegatorSummary {
|
|
22
22
|
/** Total amount of delegated tokens. */
|
|
23
23
|
delegated: string;
|
|
@@ -114,4 +114,4 @@ export interface ValidatorSummary {
|
|
|
114
114
|
]
|
|
115
115
|
];
|
|
116
116
|
}
|
|
117
|
-
//# sourceMappingURL=
|
|
117
|
+
//# sourceMappingURL=validators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/src/types/info/validators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEzC,s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AAE;QACR,wCAAwC;QACxC,MAAM,EAAE,MAAM,CAAC;QACf,uCAAuC;QACvC,KAAK,EAAE,WAAW,GAAG,WAAW,CAAC;KACpC,CAAC;CACL;AAED,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC3B,iDAAiD;IACjD,cAAc,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,uDAAuD;AACvD,MAAM,WAAW,gBAAgB;IAC7B,gCAAgC;IAChC,SAAS,EAAE,GAAG,CAAC;IACf,yCAAyC;IACzC,MAAM,EAAE,GAAG,CAAC;IACZ,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,QAAQ,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,iDAAiD;IACjD,QAAQ,EAAE,OAAO,CAAC;IAClB,gDAAgD;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,KAAK,EAAE;QACH;YAAC,KAAK;YAAE,cAAc;SAAC;QACvB;YAAC,MAAM;YAAE,cAAc;SAAC;QACxB;YAAC,OAAO;YAAE,cAAc;SAAC;KAC5B,CAAC;CACL"}
|
|
@@ -94,4 +94,11 @@ export interface VaultSummary {
|
|
|
94
94
|
/** Creation timestamp. */
|
|
95
95
|
createTimeMillis: number;
|
|
96
96
|
}
|
|
97
|
+
/** Vault that a user is leading. */
|
|
98
|
+
export interface VaultLeading {
|
|
99
|
+
/** Vault address. */
|
|
100
|
+
address: Hex;
|
|
101
|
+
/** Vault name. */
|
|
102
|
+
name: string;
|
|
103
|
+
}
|
|
97
104
|
//# sourceMappingURL=vaults.d.ts.map
|