@nktkas/hyperliquid 0.13.0 → 0.13.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 +9 -0
- package/esm/mod.d.ts +14 -14
- package/esm/mod.d.ts.map +1 -1
- package/esm/src/clients/event.d.ts +8 -6
- package/esm/src/clients/event.d.ts.map +1 -1
- package/esm/src/clients/event.js +4 -2
- package/esm/src/clients/public.d.ts +7 -7
- package/esm/src/clients/public.d.ts.map +1 -1
- package/esm/src/clients/wallet.d.ts +3 -3
- package/esm/src/clients/wallet.d.ts.map +1 -1
- package/esm/src/clients/wallet.js +9 -7
- package/esm/src/transports/http/http_transport.d.ts.map +1 -1
- package/esm/src/transports/http/http_transport.js +4 -1
- package/esm/src/transports/websocket/websocket_request_dispatcher.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_request_dispatcher.js +4 -4
- package/esm/src/types/common.d.ts +3 -0
- package/esm/src/types/common.d.ts.map +1 -0
- package/esm/src/types/common.js +1 -0
- package/esm/src/types/exchange/common.d.ts +36 -0
- package/esm/src/types/exchange/common.d.ts.map +1 -0
- package/esm/src/types/exchange/common.js +1 -0
- package/esm/src/types/exchange/requests.d.ts +435 -0
- package/esm/src/types/exchange/requests.d.ts.map +1 -0
- package/esm/src/types/exchange/requests.js +1 -0
- package/esm/src/types/exchange/responses.d.ts +141 -0
- package/esm/src/types/exchange/responses.d.ts.map +1 -0
- package/esm/src/types/exchange/responses.js +1 -0
- package/esm/src/types/explorer/common.d.ts +37 -0
- package/esm/src/types/explorer/common.d.ts.map +1 -0
- package/esm/src/types/explorer/common.js +1 -0
- package/esm/src/types/explorer/requests.d.ts +22 -0
- package/esm/src/types/explorer/requests.d.ts.map +1 -0
- package/esm/src/types/explorer/requests.js +1 -0
- package/esm/src/types/explorer/responses.d.ts +16 -0
- package/esm/src/types/explorer/responses.d.ts.map +1 -0
- package/esm/src/types/explorer/responses.js +1 -0
- package/esm/src/types/info/accounts.d.ts +424 -0
- package/esm/src/types/info/accounts.d.ts.map +1 -0
- package/esm/src/types/info/accounts.js +1 -0
- package/esm/src/types/info/assets.d.ts +271 -0
- package/esm/src/types/info/assets.d.ts.map +1 -0
- package/esm/src/types/info/assets.js +1 -0
- package/esm/src/types/info/orders.d.ts +209 -0
- package/esm/src/types/info/orders.d.ts.map +1 -0
- package/esm/src/types/info/orders.js +1 -0
- package/esm/src/types/info/requests.d.ts +380 -0
- package/esm/src/types/info/requests.d.ts.map +1 -0
- package/esm/src/types/info/requests.js +1 -0
- package/esm/src/types/info/vaults.d.ts +133 -0
- package/esm/src/types/info/vaults.d.ts.map +1 -0
- package/esm/src/types/info/vaults.js +1 -0
- package/esm/src/types/subscriptions/common.d.ts +205 -0
- package/esm/src/types/subscriptions/common.d.ts.map +1 -0
- package/esm/src/types/subscriptions/common.js +1 -0
- package/esm/src/types/subscriptions/requests.d.ts +124 -0
- package/esm/src/types/subscriptions/requests.d.ts.map +1 -0
- package/esm/src/types/subscriptions/requests.js +1 -0
- package/esm/src/utils/key_sort.d.ts +2 -2
- package/esm/src/utils/key_sort.d.ts.map +1 -1
- package/package.json +2 -2
- package/script/mod.d.ts +14 -14
- package/script/mod.d.ts.map +1 -1
- package/script/src/clients/event.d.ts +8 -6
- package/script/src/clients/event.d.ts.map +1 -1
- package/script/src/clients/event.js +4 -2
- package/script/src/clients/public.d.ts +7 -7
- package/script/src/clients/public.d.ts.map +1 -1
- package/script/src/clients/wallet.d.ts +3 -3
- package/script/src/clients/wallet.d.ts.map +1 -1
- package/script/src/clients/wallet.js +9 -7
- package/script/src/transports/http/http_transport.d.ts.map +1 -1
- package/script/src/transports/http/http_transport.js +4 -1
- package/script/src/transports/websocket/websocket_request_dispatcher.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_request_dispatcher.js +4 -4
- package/script/src/types/common.d.ts +3 -0
- package/script/src/types/common.d.ts.map +1 -0
- package/script/src/types/common.js +2 -0
- package/script/src/types/exchange/common.d.ts +36 -0
- package/script/src/types/exchange/common.d.ts.map +1 -0
- package/script/src/types/exchange/common.js +2 -0
- package/script/src/types/exchange/requests.d.ts +435 -0
- package/script/src/types/exchange/requests.d.ts.map +1 -0
- package/script/src/types/exchange/requests.js +2 -0
- package/script/src/types/exchange/responses.d.ts +141 -0
- package/script/src/types/exchange/responses.d.ts.map +1 -0
- package/script/src/types/exchange/responses.js +2 -0
- package/script/src/types/explorer/common.d.ts +37 -0
- package/script/src/types/explorer/common.d.ts.map +1 -0
- package/script/src/types/explorer/common.js +2 -0
- package/script/src/types/explorer/requests.d.ts +22 -0
- package/script/src/types/explorer/requests.d.ts.map +1 -0
- package/script/src/types/explorer/requests.js +2 -0
- package/script/src/types/explorer/responses.d.ts +16 -0
- package/script/src/types/explorer/responses.d.ts.map +1 -0
- package/script/src/types/explorer/responses.js +2 -0
- package/script/src/types/info/accounts.d.ts +424 -0
- package/script/src/types/info/accounts.d.ts.map +1 -0
- package/script/src/types/info/accounts.js +2 -0
- package/script/src/types/info/assets.d.ts +271 -0
- package/script/src/types/info/assets.d.ts.map +1 -0
- package/script/src/types/info/assets.js +2 -0
- package/script/src/types/info/orders.d.ts +209 -0
- package/script/src/types/info/orders.d.ts.map +1 -0
- package/script/src/types/info/orders.js +2 -0
- package/script/src/types/info/requests.d.ts +380 -0
- package/script/src/types/info/requests.d.ts.map +1 -0
- package/script/src/types/info/requests.js +2 -0
- package/script/src/types/info/vaults.d.ts +133 -0
- package/script/src/types/info/vaults.d.ts.map +1 -0
- package/script/src/types/info/vaults.js +2 -0
- package/script/src/types/subscriptions/common.d.ts +205 -0
- package/script/src/types/subscriptions/common.d.ts.map +1 -0
- package/script/src/types/subscriptions/common.js +2 -0
- package/script/src/types/subscriptions/requests.d.ts +124 -0
- package/script/src/types/subscriptions/requests.d.ts.map +1 -0
- package/script/src/types/subscriptions/requests.js +2 -0
- package/script/src/utils/key_sort.d.ts +2 -2
- package/script/src/utils/key_sort.d.ts.map +1 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import type { Hex } from "../common.js";
|
|
2
|
+
/** Mid coin prices. */
|
|
3
|
+
export interface AllMids {
|
|
4
|
+
/** Maps coin symbols to mid prices. */
|
|
5
|
+
[coin: string]: string;
|
|
6
|
+
}
|
|
7
|
+
/** Context information for a perpetual asset. */
|
|
8
|
+
export interface PerpsAssetCtx extends SharedAssetCtx {
|
|
9
|
+
/** Funding rate. */
|
|
10
|
+
funding: string;
|
|
11
|
+
/** Total open interest. */
|
|
12
|
+
openInterest: string;
|
|
13
|
+
/** Premium price. */
|
|
14
|
+
premium: string | null;
|
|
15
|
+
/** Oracle price. */
|
|
16
|
+
oraclePx: string;
|
|
17
|
+
/** Impact prices. */
|
|
18
|
+
impactPxs: string[] | null;
|
|
19
|
+
/** Daily volume in base currency. */
|
|
20
|
+
dayBaseVlm: string;
|
|
21
|
+
}
|
|
22
|
+
/** Base asset context information. */
|
|
23
|
+
export interface SharedAssetCtx {
|
|
24
|
+
/** Previous day's closing price. */
|
|
25
|
+
prevDayPx: string;
|
|
26
|
+
/** Daily volume. */
|
|
27
|
+
dayNtlVlm: string;
|
|
28
|
+
/** Mark price. */
|
|
29
|
+
markPx: string;
|
|
30
|
+
/** Index price. */
|
|
31
|
+
midPx: string | null;
|
|
32
|
+
}
|
|
33
|
+
/** Context information for a spot asset. */
|
|
34
|
+
export interface SpotAssetCtx extends SharedAssetCtx {
|
|
35
|
+
/** Circulating supply. */
|
|
36
|
+
circulatingSupply: string;
|
|
37
|
+
/** Asset symbol. */
|
|
38
|
+
coin: string;
|
|
39
|
+
/** Total supply. */
|
|
40
|
+
totalSupply: string;
|
|
41
|
+
/** Daily volume in base currency. */
|
|
42
|
+
dayBaseVlm: string;
|
|
43
|
+
}
|
|
44
|
+
/** Metadata for perpetual assets. */
|
|
45
|
+
export interface PerpsMeta {
|
|
46
|
+
/** Universes available for trading. */
|
|
47
|
+
universe: PerpsUniverse[];
|
|
48
|
+
}
|
|
49
|
+
/** Metadata for spot assets. */
|
|
50
|
+
export interface SpotMeta {
|
|
51
|
+
/** Universes available for trading. */
|
|
52
|
+
universe: SpotUniverse[];
|
|
53
|
+
/** Tokens available for trading. */
|
|
54
|
+
tokens: SpotToken[];
|
|
55
|
+
}
|
|
56
|
+
/** Trading universe with specific parameters for perpetual. */
|
|
57
|
+
export interface PerpsUniverse {
|
|
58
|
+
/** Minimum decimal places for order sizes. */
|
|
59
|
+
szDecimals: number;
|
|
60
|
+
/**
|
|
61
|
+
* Name of the universe.
|
|
62
|
+
*
|
|
63
|
+
* Note: Max length: 6 characters. No uniqueness constraints.
|
|
64
|
+
*/
|
|
65
|
+
name: string;
|
|
66
|
+
/** Maximum allowed leverage. */
|
|
67
|
+
maxLeverage: number;
|
|
68
|
+
/** Whether only isolated margin trading is allowed. */
|
|
69
|
+
onlyIsolated?: true;
|
|
70
|
+
/** Whether the universe is delisted. */
|
|
71
|
+
isDelisted?: true;
|
|
72
|
+
}
|
|
73
|
+
/** Trading universe with specific parameters for spot. */
|
|
74
|
+
export interface SpotUniverse {
|
|
75
|
+
/** Token indices included in this universe. */
|
|
76
|
+
tokens: number[];
|
|
77
|
+
/**
|
|
78
|
+
* Name of the universe.
|
|
79
|
+
*
|
|
80
|
+
* Note: Max length: 6 characters. No uniqueness constraints.
|
|
81
|
+
*/
|
|
82
|
+
name: string;
|
|
83
|
+
/** Unique identifier. */
|
|
84
|
+
index: number;
|
|
85
|
+
/** Whether this token is the primary representation in the system. */
|
|
86
|
+
isCanonical: boolean;
|
|
87
|
+
}
|
|
88
|
+
/** Trading token for spot. */
|
|
89
|
+
export interface SpotToken {
|
|
90
|
+
/**
|
|
91
|
+
* Name of the token.
|
|
92
|
+
*
|
|
93
|
+
* Note: Max length: 6 characters. No uniqueness constraints.
|
|
94
|
+
*/
|
|
95
|
+
name: string;
|
|
96
|
+
/** Minimum decimal places for order sizes. */
|
|
97
|
+
szDecimals: number;
|
|
98
|
+
/** Number of decimals in the token's smallest unit. */
|
|
99
|
+
weiDecimals: number;
|
|
100
|
+
/** Unique identifier for the token. */
|
|
101
|
+
index: number;
|
|
102
|
+
/** Token ID. */
|
|
103
|
+
tokenId: Hex;
|
|
104
|
+
/** Whether this token is the primary representation in the system. */
|
|
105
|
+
isCanonical: boolean;
|
|
106
|
+
/** EVM contract details. */
|
|
107
|
+
evmContract: {
|
|
108
|
+
/** Address of the contract. */
|
|
109
|
+
address: Hex;
|
|
110
|
+
/** Extra decimals in the token's smallest unit. */
|
|
111
|
+
evm_extra_wei_decimals: number;
|
|
112
|
+
} | null;
|
|
113
|
+
/** Full display name of the token. */
|
|
114
|
+
fullName: string | null;
|
|
115
|
+
/** Fee share for the deployer of the token. */
|
|
116
|
+
deployerTradingFeeShare: string;
|
|
117
|
+
}
|
|
118
|
+
/** The details of a token. */
|
|
119
|
+
export interface TokenDetails {
|
|
120
|
+
/** The name of the token. */
|
|
121
|
+
name: string;
|
|
122
|
+
/** The maximum supply of the token. */
|
|
123
|
+
maxSupply: string;
|
|
124
|
+
/** The total supply of the token. */
|
|
125
|
+
totalSupply: string;
|
|
126
|
+
/** The number of tokens in circulation (total supply minus burned tokens). */
|
|
127
|
+
circulatingSupply: string;
|
|
128
|
+
/** The number of decimal places for minimum tradable unit (lot size) */
|
|
129
|
+
szDecimals: number;
|
|
130
|
+
/** The number of decimal places for minimum token unit (wei size) */
|
|
131
|
+
weiDecimals: number;
|
|
132
|
+
/** The mid price of the token. */
|
|
133
|
+
midPx: string;
|
|
134
|
+
/** The mark price of the token. */
|
|
135
|
+
markPx: string;
|
|
136
|
+
/** The previous day's price of the token. */
|
|
137
|
+
prevDayPx: string;
|
|
138
|
+
/** The genesis data of the token. */
|
|
139
|
+
genesis: {
|
|
140
|
+
/** The user balances. */
|
|
141
|
+
userBalances: [Hex, string][];
|
|
142
|
+
/** The existing token balances. */
|
|
143
|
+
existingTokenBalances: [number, string][];
|
|
144
|
+
/** The blacklisted users. */
|
|
145
|
+
blacklistUsers: Hex[];
|
|
146
|
+
} | null;
|
|
147
|
+
/** The deployer of the token. */
|
|
148
|
+
deployer: Hex | null;
|
|
149
|
+
/** The gas used to deploy the token. */
|
|
150
|
+
deployGas: string | null;
|
|
151
|
+
/** The time at which the token was deployed. */
|
|
152
|
+
deployTime: string | null;
|
|
153
|
+
/** The seeded USDC of the token. */
|
|
154
|
+
seededUsdc: string;
|
|
155
|
+
/** The non-circulating user balances of the token. */
|
|
156
|
+
nonCirculatingUserBalances: [Hex, string][];
|
|
157
|
+
/** The future emissions of the token. */
|
|
158
|
+
futureEmissions: string;
|
|
159
|
+
}
|
|
160
|
+
/** Metadata and context information for each perpetual asset. */
|
|
161
|
+
export type PerpsMetaAndAssetCtxs = [
|
|
162
|
+
/** Metadata for assets. */
|
|
163
|
+
PerpsMeta,
|
|
164
|
+
/** Context information for each asset. */
|
|
165
|
+
PerpsAssetCtx[]
|
|
166
|
+
];
|
|
167
|
+
/** Metadata and context information for each spot asset. */
|
|
168
|
+
export type SpotMetaAndAssetCtxs = [
|
|
169
|
+
/** Metadata for assets. */
|
|
170
|
+
SpotMeta,
|
|
171
|
+
/** Context information for each asset. */
|
|
172
|
+
SpotAssetCtx[]
|
|
173
|
+
];
|
|
174
|
+
/** Candlestick data point. */
|
|
175
|
+
export interface Candle {
|
|
176
|
+
/** Opening timestamp (in ms since epoch). */
|
|
177
|
+
t: number;
|
|
178
|
+
/** Closing timestamp (in ms since epoch). */
|
|
179
|
+
T: number;
|
|
180
|
+
/** Asset symbol. */
|
|
181
|
+
s: string;
|
|
182
|
+
/** Candle interval (e.g., "1m", "5m", "1h", etc.). */
|
|
183
|
+
i: string;
|
|
184
|
+
/** Opening price. */
|
|
185
|
+
o: string;
|
|
186
|
+
/** Closing price. */
|
|
187
|
+
c: string;
|
|
188
|
+
/** Highest price. */
|
|
189
|
+
h: string;
|
|
190
|
+
/** Lowest price. */
|
|
191
|
+
l: string;
|
|
192
|
+
/** Total volume traded (in base currency). */
|
|
193
|
+
v: string;
|
|
194
|
+
/** Number of trades executed. */
|
|
195
|
+
n: number;
|
|
196
|
+
}
|
|
197
|
+
/** Historical funding rate data for an asset. */
|
|
198
|
+
export interface FundingHistory {
|
|
199
|
+
/** Asset symbol. */
|
|
200
|
+
coin: string;
|
|
201
|
+
/** Funding rate. */
|
|
202
|
+
fundingRate: string;
|
|
203
|
+
/** Premium price. */
|
|
204
|
+
premium: string;
|
|
205
|
+
/** Timestamp of the funding record (in ms since epoch). */
|
|
206
|
+
time: number;
|
|
207
|
+
}
|
|
208
|
+
/** Predicted funding data for an asset. */
|
|
209
|
+
export type PredictedFunding = [
|
|
210
|
+
/** Asset symbol. */
|
|
211
|
+
string,
|
|
212
|
+
/** Predicted funding data for each exchange. */
|
|
213
|
+
[
|
|
214
|
+
/** Exchange symbol. */
|
|
215
|
+
string,
|
|
216
|
+
/** Predicted funding data. */
|
|
217
|
+
{
|
|
218
|
+
/** Predicted funding rate. */
|
|
219
|
+
fundingRate: string;
|
|
220
|
+
/** Next funding time (in ms since epoch). */
|
|
221
|
+
nextFundingTime: number;
|
|
222
|
+
} | null
|
|
223
|
+
][]
|
|
224
|
+
];
|
|
225
|
+
/** The deploy state of a user. */
|
|
226
|
+
export interface SpotDeployState {
|
|
227
|
+
/** The deploy state of a user. */
|
|
228
|
+
states: {
|
|
229
|
+
/** The token ID. */
|
|
230
|
+
token: number;
|
|
231
|
+
/** The spec of the token. */
|
|
232
|
+
spec: {
|
|
233
|
+
/** The name of the token. */
|
|
234
|
+
name: string;
|
|
235
|
+
/** The number of decimal places for minimum tradable unit (lot size) */
|
|
236
|
+
szDecimals: number;
|
|
237
|
+
/** The number of decimal places for minimum token unit (wei size) */
|
|
238
|
+
weiDecimals: number;
|
|
239
|
+
};
|
|
240
|
+
/** The full name of the token. */
|
|
241
|
+
fullName: string | null;
|
|
242
|
+
/** The deployer trading fee share of the token. */
|
|
243
|
+
deployerTradingFeeShare: string;
|
|
244
|
+
/** The spots of the token. */
|
|
245
|
+
spots: number[];
|
|
246
|
+
/** The max supply of the token. */
|
|
247
|
+
maxSupply: string | null;
|
|
248
|
+
/** The hyperliquidity genesis balance of the token. */
|
|
249
|
+
hyperliquidityGenesisBalance: string;
|
|
250
|
+
/** The total genesis balance of the token. */
|
|
251
|
+
totalGenesisBalanceWei: string;
|
|
252
|
+
/** The user genesis balances of the token. */
|
|
253
|
+
userGenesisBalances: [Hex, string][];
|
|
254
|
+
/** The existing token genesis balances of the token. */
|
|
255
|
+
existingTokenGenesisBalances: [number, string][];
|
|
256
|
+
}[];
|
|
257
|
+
/** The gas auction details. */
|
|
258
|
+
gasAuction: {
|
|
259
|
+
/** Current gas. */
|
|
260
|
+
currentGas: string | null;
|
|
261
|
+
/** Duration (in seconds). */
|
|
262
|
+
durationSeconds: number;
|
|
263
|
+
/** End gas. */
|
|
264
|
+
endGas: string | null;
|
|
265
|
+
/** Start gas. */
|
|
266
|
+
startGas: string;
|
|
267
|
+
/** Start time (in seconds since epoch). */
|
|
268
|
+
startTimeSeconds: number;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
//# sourceMappingURL=assets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../src/src/types/info/assets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAExC,uBAAuB;AACvB,MAAM,WAAW,OAAO;IACpB,uCAAuC;IACvC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,iDAAiD;AACjD,MAAM,WAAW,aAAc,SAAQ,cAAc;IACjD,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B;IAC3B,YAAY,EAAE,MAAM,CAAC;IAErB,qBAAqB;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,qBAAqB;IACrB,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI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,EAAE,CAAC;IAEJ,+BAA+B;IAC/B,UAAU,EAAE;QACR,mBAAmB;QACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAE1B,6BAA6B;QAC7B,eAAe,EAAE,MAAM,CAAC;QAExB,eAAe;QACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB,iBAAiB;QACjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,2CAA2C;QAC3C,gBAAgB,EAAE,MAAM,CAAC;KAC5B,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import type { Hex } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Order type for market execution:
|
|
4
|
+
* - `"Market"`: An order that executes immediately at the current market price.
|
|
5
|
+
* - `"Limit"`: An order that executes at the selected limit price or better.
|
|
6
|
+
* - `"Stop Market"`: A market order that is activated when the price reaches the selected stop price.
|
|
7
|
+
* - `"Stop Limit"`: A limit order that is activated when the price reaches the selected stop price.
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://hyperliquid.gitbook.io/hyperliquid-docs/trading/order-types | Hyperliquid GitBook}
|
|
10
|
+
*/
|
|
11
|
+
export type OrderType = "Market" | "Limit" | "Stop Market" | "Stop Limit";
|
|
12
|
+
/**
|
|
13
|
+
* Time-in-force options:
|
|
14
|
+
* - `"Gtc"` (Good Til Cancelled): Remains active until filled or canceled.
|
|
15
|
+
* - `"Ioc"` (Immediate or Cancel): Fills immediately or cancels any unfilled portion.
|
|
16
|
+
* - `"Alo"` (Add Liquidity Only): Only adds liquidity; does not take liquidity.
|
|
17
|
+
* - `"FrontendMarket"`: Equivalent `Ioc`. Used in Hyperliquid UI.
|
|
18
|
+
* - `"LiquidationMarket"`: Equivalent `Ioc`. Used in Hyperliquid UI.
|
|
19
|
+
*/
|
|
20
|
+
export type TIF = "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
21
|
+
/**
|
|
22
|
+
* TWAP status:
|
|
23
|
+
* - `"finished"`: The TWAP order has been fully executed.
|
|
24
|
+
* - `"activated"`: The TWAP order has been activated and is currently executing
|
|
25
|
+
* - `"terminated"`: The TWAP order has been terminated.
|
|
26
|
+
* - `"error"`: An error occurred while processing the TWAP order.
|
|
27
|
+
*/
|
|
28
|
+
export type TwapStatus = {
|
|
29
|
+
/** The status of the twap. */
|
|
30
|
+
status: "finished" | "activated" | "terminated";
|
|
31
|
+
} | {
|
|
32
|
+
/** The status of the twap. */
|
|
33
|
+
status: "error";
|
|
34
|
+
/** The error message. */
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Order processing status:
|
|
39
|
+
* - `"filled"`: Order fully executed.
|
|
40
|
+
* - `"open"`: Order is active and waiting to be filled.
|
|
41
|
+
* - `"canceled"`: Order canceled by the user.
|
|
42
|
+
* - `"triggered"`: Order triggered and awaiting execution.
|
|
43
|
+
* - `"rejected"`: Order rejected by the system.
|
|
44
|
+
* - `"marginCanceled"`: Order canceled due to insufficient margin.
|
|
45
|
+
*/
|
|
46
|
+
export type OrderProcessingStatus = "filled" | "open" | "canceled" | "triggered" | "rejected" | "marginCanceled";
|
|
47
|
+
/** L2 order book snapshot. */
|
|
48
|
+
export interface Book {
|
|
49
|
+
/** Asset symbol. */
|
|
50
|
+
coin: string;
|
|
51
|
+
/** Timestamp when the snapshot was taken (in ms since epoch). */
|
|
52
|
+
time: number;
|
|
53
|
+
/** Bid and ask levels (index 0 = bids, index 1 = asks). */
|
|
54
|
+
levels: [BookLevel[], BookLevel[]];
|
|
55
|
+
}
|
|
56
|
+
/** Level of the order book. */
|
|
57
|
+
export interface BookLevel {
|
|
58
|
+
/** Price. */
|
|
59
|
+
px: string;
|
|
60
|
+
/** Total size. */
|
|
61
|
+
sz: string;
|
|
62
|
+
/** Number of individual orders. */
|
|
63
|
+
n: number;
|
|
64
|
+
}
|
|
65
|
+
/** Trade fill. */
|
|
66
|
+
export interface Fill {
|
|
67
|
+
/** Asset symbol. */
|
|
68
|
+
coin: string;
|
|
69
|
+
/** Price. */
|
|
70
|
+
px: string;
|
|
71
|
+
/** Size. */
|
|
72
|
+
sz: string;
|
|
73
|
+
/** Side of the order ("B" = Bid = Buy, "A" = Ask = Sell). */
|
|
74
|
+
side: "B" | "A";
|
|
75
|
+
/** Timestamp when the trade occurred (in ms since epoch). */
|
|
76
|
+
time: number;
|
|
77
|
+
/** Start position size. */
|
|
78
|
+
startPosition: string;
|
|
79
|
+
/** Direction indicator for frontend display. */
|
|
80
|
+
dir: string;
|
|
81
|
+
/** Realized PnL. */
|
|
82
|
+
closedPnl: string;
|
|
83
|
+
/** L1 transaction hash. */
|
|
84
|
+
hash: Hex;
|
|
85
|
+
/** Order ID. */
|
|
86
|
+
oid: number;
|
|
87
|
+
/** Whether the fill was a taker order. */
|
|
88
|
+
crossed: boolean;
|
|
89
|
+
/** Fee charged or rebate received (negative value indicates rebate). */
|
|
90
|
+
fee: string;
|
|
91
|
+
/** Unique identifier of the transaction for the specified amount, which was a partial filling of one order (oid). */
|
|
92
|
+
tid: number;
|
|
93
|
+
/** Client Order ID. */
|
|
94
|
+
cloid?: Hex;
|
|
95
|
+
/** Liquidation details. */
|
|
96
|
+
liquidation?: FillLiquidation;
|
|
97
|
+
/** Token in which the fee is denominated (e.g., "USDC"). */
|
|
98
|
+
feeToken: string;
|
|
99
|
+
}
|
|
100
|
+
/** Liquidation details for a fill. */
|
|
101
|
+
export interface FillLiquidation {
|
|
102
|
+
/** Address of the user who was liquidated. */
|
|
103
|
+
liquidatedUser: Hex;
|
|
104
|
+
/** Mark price at the time of liquidation. */
|
|
105
|
+
markPx: string;
|
|
106
|
+
/** Method of liquidation. */
|
|
107
|
+
method: "market" | "backstop";
|
|
108
|
+
}
|
|
109
|
+
/** Open order with additional frontend information. */
|
|
110
|
+
export interface FrontendOrder extends Omit<Order, "reduceOnly" | "cloid"> {
|
|
111
|
+
/** Condition for triggering. */
|
|
112
|
+
triggerCondition: string;
|
|
113
|
+
/** Is the order a trigger order? */
|
|
114
|
+
isTrigger: boolean;
|
|
115
|
+
/** Trigger price. */
|
|
116
|
+
triggerPx: string;
|
|
117
|
+
/** Child orders associated with this order. */
|
|
118
|
+
children: FrontendOrder[];
|
|
119
|
+
/** Is the order a position TP/SL order (which changes depending on the position size)? */
|
|
120
|
+
isPositionTpsl: boolean;
|
|
121
|
+
/** Is reduce-only? */
|
|
122
|
+
reduceOnly: boolean;
|
|
123
|
+
/** Type of the order. */
|
|
124
|
+
orderType: OrderType;
|
|
125
|
+
/** Time-in-force. */
|
|
126
|
+
tif: TIF | null;
|
|
127
|
+
/** Client Order ID. */
|
|
128
|
+
cloid: Hex | null;
|
|
129
|
+
}
|
|
130
|
+
/** Open order. */
|
|
131
|
+
export interface Order {
|
|
132
|
+
/** Asset symbol. */
|
|
133
|
+
coin: string;
|
|
134
|
+
/** Side of the order ("B" = Bid = Buy, "A" = Ask = Sell). */
|
|
135
|
+
side: "B" | "A";
|
|
136
|
+
/** Limit price. */
|
|
137
|
+
limitPx: string;
|
|
138
|
+
/** Size. */
|
|
139
|
+
sz: string;
|
|
140
|
+
/** Order ID. */
|
|
141
|
+
oid: number;
|
|
142
|
+
/** Timestamp when the order was placed (in ms since epoch). */
|
|
143
|
+
timestamp: number;
|
|
144
|
+
/** Original size when placed. */
|
|
145
|
+
origSz: string;
|
|
146
|
+
/** Client Order ID. */
|
|
147
|
+
cloid?: Hex;
|
|
148
|
+
/** Is reduce-only? */
|
|
149
|
+
reduceOnly?: true;
|
|
150
|
+
}
|
|
151
|
+
/** Order status with additional frontend information and current status. */
|
|
152
|
+
export interface OrderStatus<O extends Order | FrontendOrder> {
|
|
153
|
+
/** Order details. */
|
|
154
|
+
order: O;
|
|
155
|
+
/** Order processing status. */
|
|
156
|
+
status: OrderProcessingStatus;
|
|
157
|
+
/** Timestamp when the status was last updated (in ms since epoch). */
|
|
158
|
+
statusTimestamp: number;
|
|
159
|
+
}
|
|
160
|
+
/** Result of an order status lookup. */
|
|
161
|
+
export type OrderLookup = {
|
|
162
|
+
/** Indicates that the order was found. */
|
|
163
|
+
status: "order";
|
|
164
|
+
/** Order details. */
|
|
165
|
+
order: OrderStatus<FrontendOrder>;
|
|
166
|
+
} | {
|
|
167
|
+
/** Indicates that the order was not found. */
|
|
168
|
+
status: "unknownOid";
|
|
169
|
+
};
|
|
170
|
+
/** The twap history of a user. */
|
|
171
|
+
export interface TwapHistory {
|
|
172
|
+
/** The creation time of this history record (in seconds since epoch). */
|
|
173
|
+
time: number;
|
|
174
|
+
/** The state of the twap. */
|
|
175
|
+
state: TwapState;
|
|
176
|
+
/** The status of the twap. */
|
|
177
|
+
status: TwapStatus;
|
|
178
|
+
}
|
|
179
|
+
/** The twap slice fill of a user. */
|
|
180
|
+
export interface TwapSliceFill {
|
|
181
|
+
/** The fill of the twap slice. */
|
|
182
|
+
fill: Omit<Fill, "cloid" | "liquidation">;
|
|
183
|
+
/** The id of the twap. */
|
|
184
|
+
twapId: number;
|
|
185
|
+
}
|
|
186
|
+
/** The twap state of a user. */
|
|
187
|
+
export interface TwapState {
|
|
188
|
+
/** The asset symbol. */
|
|
189
|
+
coin: string;
|
|
190
|
+
/** The executed notional. */
|
|
191
|
+
executedNtl: string;
|
|
192
|
+
/** The executed size. */
|
|
193
|
+
executedSz: string;
|
|
194
|
+
/** The number of minutes. */
|
|
195
|
+
minutes: number;
|
|
196
|
+
/** Whether to randomize the twap. */
|
|
197
|
+
randomize: boolean;
|
|
198
|
+
/** Whether to reduce only. */
|
|
199
|
+
reduceOnly: boolean;
|
|
200
|
+
/** The side of the order ("B" = Bid = Buy, "A" = Ask = Sell). */
|
|
201
|
+
side: "B" | "A";
|
|
202
|
+
/** The size of the order. */
|
|
203
|
+
sz: string;
|
|
204
|
+
/** The start time of the TWAP order (in milliseconds since epoch). */
|
|
205
|
+
timestamp: number;
|
|
206
|
+
/** The user's address. */
|
|
207
|
+
user: Hex;
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=orders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../src/src/types/info/orders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAExC;;;;;;;;GAQG;AACH,MAAM,MAAM,SAAS,GACf,QAAQ,GACR,OAAO,GACP,aAAa,GACb,YAAY,CAAC;AAEnB;;;;;;;GAOG;AACH,MAAM,MAAM,GAAG,GACT,KAAK,GACL,KAAK,GACL,KAAK,GACL,gBAAgB,GAChB,mBAAmB,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,8BAA8B;IAC9B,MAAM,EAAE,UAAU,GAAG,WAAW,GAAG,YAAY,CAAC;CACnD,GAAG;IACA,8BAA8B;IAC9B,MAAM,EAAE,OAAO,CAAC;IAEhB,yBAAyB;IACzB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAC3B,QAAQ,GACR,MAAM,GACN,UAAU,GACV,WAAW,GACX,UAAU,GACV,gBAAgB,CAAC;AAEvB,8BAA8B;AAC9B,MAAM,WAAW,IAAI;IACjB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IAEb,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IAEb,2DAA2D;IAC3D,MAAM,EAAE,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;CACtC;AAED,+BAA+B;AAC/B,MAAM,WAAW,SAAS;IACtB,aAAa;IACb,EAAE,EAAE,MAAM,CAAC;IAEX,kBAAkB;IAClB,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,CAAC,EAAE,MAAM,CAAC;CACb;AAED,kBAAkB;AAClB,MAAM,WAAW,IAAI;IACjB,oBAAoB;IACpB,IAAI,EAAE,MAAM,C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