@nktkas/hyperliquid 0.25.0-beta.1 → 0.25.0-beta.2
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 +46 -14
- package/esm/mod.js +1 -0
- package/esm/mod.js.map +1 -0
- package/esm/src/clients/exchange.d.ts +0 -7
- package/esm/src/clients/exchange.d.ts.map +1 -1
- package/esm/src/clients/exchange.js +4 -5
- package/esm/src/clients/exchange.js.map +1 -0
- package/esm/src/clients/info.d.ts +64 -2
- package/esm/src/clients/info.d.ts.map +1 -1
- package/esm/src/clients/info.js +77 -1
- package/esm/src/clients/info.js.map +1 -0
- package/esm/src/clients/multiSign.js +2 -1
- package/esm/src/clients/multiSign.js.map +1 -0
- package/esm/src/clients/subscription.js +1 -0
- package/esm/src/clients/subscription.js.map +1 -0
- package/esm/src/errors.js +1 -0
- package/esm/src/errors.js.map +1 -0
- package/esm/src/schemas/_base.d.ts +6 -2
- package/esm/src/schemas/_base.d.ts.map +1 -1
- package/esm/src/schemas/_base.js +4 -1
- package/esm/src/schemas/_base.js.map +1 -0
- package/esm/src/schemas/exchange/requests.d.ts +284 -284
- package/esm/src/schemas/exchange/requests.js +260 -259
- package/esm/src/schemas/exchange/requests.js.map +1 -0
- package/esm/src/schemas/exchange/responses.d.ts +47 -47
- package/esm/src/schemas/exchange/responses.js +55 -54
- package/esm/src/schemas/exchange/responses.js.map +1 -0
- package/esm/src/schemas/explorer/requests.d.ts +3 -3
- package/esm/src/schemas/explorer/requests.js +6 -5
- package/esm/src/schemas/explorer/requests.js.map +1 -0
- package/esm/src/schemas/explorer/responses.d.ts +10 -10
- package/esm/src/schemas/explorer/responses.js +12 -11
- package/esm/src/schemas/explorer/responses.js.map +1 -0
- package/esm/src/schemas/info/accounts.d.ts +121 -121
- package/esm/src/schemas/info/accounts.js +110 -109
- package/esm/src/schemas/info/accounts.js.map +1 -0
- package/esm/src/schemas/info/assets.d.ts +68 -39
- package/esm/src/schemas/info/assets.d.ts.map +1 -1
- package/esm/src/schemas/info/assets.js +69 -49
- package/esm/src/schemas/info/assets.js.map +1 -0
- package/esm/src/schemas/info/markets.d.ts +25 -8
- package/esm/src/schemas/info/markets.d.ts.map +1 -1
- package/esm/src/schemas/info/markets.js +27 -15
- package/esm/src/schemas/info/markets.js.map +1 -0
- package/esm/src/schemas/info/orders.d.ts +56 -56
- package/esm/src/schemas/info/orders.js +37 -36
- package/esm/src/schemas/info/orders.js.map +1 -0
- package/esm/src/schemas/info/requests.d.ts +98 -56
- package/esm/src/schemas/info/requests.d.ts.map +1 -1
- package/esm/src/schemas/info/requests.js +103 -71
- package/esm/src/schemas/info/requests.js.map +1 -0
- package/esm/src/schemas/info/validators.d.ts +44 -23
- package/esm/src/schemas/info/validators.d.ts.map +1 -1
- package/esm/src/schemas/info/validators.js +40 -26
- package/esm/src/schemas/info/validators.js.map +1 -0
- package/esm/src/schemas/info/vaults.d.ts +40 -40
- package/esm/src/schemas/info/vaults.js +20 -19
- package/esm/src/schemas/info/vaults.js.map +1 -0
- package/esm/src/schemas/mod.d.ts +1 -0
- package/esm/src/schemas/mod.d.ts.map +1 -1
- package/esm/src/schemas/mod.js +2 -0
- package/esm/src/schemas/mod.js.map +1 -0
- package/esm/src/schemas/subscriptions/requests.d.ts +21 -21
- package/esm/src/schemas/subscriptions/requests.js +22 -21
- package/esm/src/schemas/subscriptions/requests.js.map +1 -0
- package/esm/src/schemas/subscriptions/responses.d.ts +192 -192
- package/esm/src/schemas/subscriptions/responses.js +41 -40
- package/esm/src/schemas/subscriptions/responses.js.map +1 -0
- package/esm/src/signing/_signTypedData/ethers.js +1 -0
- package/esm/src/signing/_signTypedData/ethers.js.map +1 -0
- package/esm/src/signing/_signTypedData/mod.js +1 -0
- package/esm/src/signing/_signTypedData/mod.js.map +1 -0
- package/esm/src/signing/_signTypedData/private_key.js +1 -0
- package/esm/src/signing/_signTypedData/private_key.js.map +1 -0
- package/esm/src/signing/_signTypedData/viem.js +1 -0
- package/esm/src/signing/_signTypedData/viem.js.map +1 -0
- package/esm/src/signing/mod.js +1 -0
- package/esm/src/signing/mod.js.map +1 -0
- package/esm/src/transports/base.d.ts +2 -2
- package/esm/src/transports/base.d.ts.map +1 -1
- package/esm/src/transports/base.js +1 -0
- package/esm/src/transports/base.js.map +1 -0
- package/esm/src/transports/http/http_transport.d.ts +1 -1
- package/esm/src/transports/http/http_transport.js +1 -0
- package/esm/src/transports/http/http_transport.js.map +1 -0
- package/esm/src/transports/websocket/_hyperliquid_event_target.js +1 -0
- package/esm/src/transports/websocket/_hyperliquid_event_target.js.map +1 -0
- package/esm/src/transports/websocket/_reconnecting_websocket.js +1 -0
- package/esm/src/transports/websocket/_reconnecting_websocket.js.map +1 -0
- package/esm/src/transports/websocket/_websocket_async_request.js +1 -0
- package/esm/src/transports/websocket/_websocket_async_request.js.map +1 -0
- package/esm/src/transports/websocket/websocket_transport.d.ts +7 -0
- package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/esm/src/transports/websocket/websocket_transport.js +4 -0
- package/esm/src/transports/websocket/websocket_transport.js.map +1 -0
- package/package.json +1 -1
- package/script/mod.js +1 -0
- package/script/mod.js.map +1 -0
- package/script/src/clients/exchange.d.ts +0 -7
- package/script/src/clients/exchange.d.ts.map +1 -1
- package/script/src/clients/exchange.js +4 -5
- package/script/src/clients/exchange.js.map +1 -0
- package/script/src/clients/info.d.ts +64 -2
- package/script/src/clients/info.d.ts.map +1 -1
- package/script/src/clients/info.js +76 -0
- package/script/src/clients/info.js.map +1 -0
- package/script/src/clients/multiSign.js +2 -1
- package/script/src/clients/multiSign.js.map +1 -0
- package/script/src/clients/subscription.js +1 -0
- package/script/src/clients/subscription.js.map +1 -0
- package/script/src/errors.js +1 -0
- package/script/src/errors.js.map +1 -0
- package/script/src/schemas/_base.d.ts +6 -2
- package/script/src/schemas/_base.d.ts.map +1 -1
- package/script/src/schemas/_base.js +5 -2
- package/script/src/schemas/_base.js.map +1 -0
- package/script/src/schemas/exchange/requests.d.ts +284 -284
- package/script/src/schemas/exchange/requests.js +259 -258
- package/script/src/schemas/exchange/requests.js.map +1 -0
- package/script/src/schemas/exchange/responses.d.ts +47 -47
- package/script/src/schemas/exchange/responses.js +54 -53
- package/script/src/schemas/exchange/responses.js.map +1 -0
- package/script/src/schemas/explorer/requests.d.ts +3 -3
- package/script/src/schemas/explorer/requests.js +5 -4
- package/script/src/schemas/explorer/requests.js.map +1 -0
- package/script/src/schemas/explorer/responses.d.ts +10 -10
- package/script/src/schemas/explorer/responses.js +11 -10
- package/script/src/schemas/explorer/responses.js.map +1 -0
- package/script/src/schemas/info/accounts.d.ts +121 -121
- package/script/src/schemas/info/accounts.js +109 -108
- package/script/src/schemas/info/accounts.js.map +1 -0
- package/script/src/schemas/info/assets.d.ts +68 -39
- package/script/src/schemas/info/assets.d.ts.map +1 -1
- package/script/src/schemas/info/assets.js +69 -49
- package/script/src/schemas/info/assets.js.map +1 -0
- package/script/src/schemas/info/markets.d.ts +25 -8
- package/script/src/schemas/info/markets.d.ts.map +1 -1
- package/script/src/schemas/info/markets.js +27 -15
- package/script/src/schemas/info/markets.js.map +1 -0
- package/script/src/schemas/info/orders.d.ts +56 -56
- package/script/src/schemas/info/orders.js +36 -35
- package/script/src/schemas/info/orders.js.map +1 -0
- package/script/src/schemas/info/requests.d.ts +98 -56
- package/script/src/schemas/info/requests.d.ts.map +1 -1
- package/script/src/schemas/info/requests.js +103 -71
- package/script/src/schemas/info/requests.js.map +1 -0
- package/script/src/schemas/info/validators.d.ts +44 -23
- package/script/src/schemas/info/validators.d.ts.map +1 -1
- package/script/src/schemas/info/validators.js +40 -26
- package/script/src/schemas/info/validators.js.map +1 -0
- package/script/src/schemas/info/vaults.d.ts +40 -40
- package/script/src/schemas/info/vaults.js +19 -18
- package/script/src/schemas/info/vaults.js.map +1 -0
- package/script/src/schemas/mod.d.ts +1 -0
- package/script/src/schemas/mod.d.ts.map +1 -1
- package/script/src/schemas/mod.js +4 -1
- package/script/src/schemas/mod.js.map +1 -0
- package/script/src/schemas/subscriptions/requests.d.ts +21 -21
- package/script/src/schemas/subscriptions/requests.js +22 -21
- package/script/src/schemas/subscriptions/requests.js.map +1 -0
- package/script/src/schemas/subscriptions/responses.d.ts +192 -192
- package/script/src/schemas/subscriptions/responses.js +40 -39
- package/script/src/schemas/subscriptions/responses.js.map +1 -0
- package/script/src/signing/_signTypedData/ethers.js +1 -0
- package/script/src/signing/_signTypedData/ethers.js.map +1 -0
- package/script/src/signing/_signTypedData/mod.js +1 -0
- package/script/src/signing/_signTypedData/mod.js.map +1 -0
- package/script/src/signing/_signTypedData/private_key.js +1 -0
- package/script/src/signing/_signTypedData/private_key.js.map +1 -0
- package/script/src/signing/_signTypedData/viem.js +1 -0
- package/script/src/signing/_signTypedData/viem.js.map +1 -0
- package/script/src/signing/mod.js +1 -0
- package/script/src/signing/mod.js.map +1 -0
- package/script/src/transports/base.d.ts +2 -2
- package/script/src/transports/base.d.ts.map +1 -1
- package/script/src/transports/base.js +1 -0
- package/script/src/transports/base.js.map +1 -0
- package/script/src/transports/http/http_transport.d.ts +1 -1
- package/script/src/transports/http/http_transport.js +1 -0
- package/script/src/transports/http/http_transport.js.map +1 -0
- package/script/src/transports/websocket/_hyperliquid_event_target.js +1 -0
- package/script/src/transports/websocket/_hyperliquid_event_target.js.map +1 -0
- package/script/src/transports/websocket/_reconnecting_websocket.js +1 -0
- package/script/src/transports/websocket/_reconnecting_websocket.js.map +1 -0
- package/script/src/transports/websocket/_websocket_async_request.js +1 -0
- package/script/src/transports/websocket/_websocket_async_request.js.map +1 -0
- package/script/src/transports/websocket/websocket_transport.d.ts +7 -0
- package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
- package/script/src/transports/websocket/websocket_transport.js +4 -0
- package/script/src/transports/websocket/websocket_transport.js.map +1 -0
- package/src/mod.ts +28 -0
- package/src/src/clients/exchange.ts +2246 -0
- package/src/src/clients/info.ts +2076 -0
- package/src/src/clients/multiSign.ts +183 -0
- package/src/src/clients/subscription.ts +841 -0
- package/src/src/errors.ts +7 -0
- package/src/src/schemas/_base.ts +43 -0
- package/src/src/schemas/exchange/requests.ts +3057 -0
- package/src/src/schemas/exchange/responses.ts +540 -0
- package/src/src/schemas/explorer/requests.ts +65 -0
- package/src/src/schemas/explorer/responses.ts +138 -0
- package/src/src/schemas/info/accounts.ts +1490 -0
- package/src/src/schemas/info/assets.ts +693 -0
- package/src/src/schemas/info/markets.ts +171 -0
- package/src/src/schemas/info/orders.ts +597 -0
- package/src/src/schemas/info/requests.ts +1369 -0
- package/src/src/schemas/info/validators.ts +299 -0
- package/src/src/schemas/info/vaults.ts +262 -0
- package/src/src/schemas/mod.ts +121 -0
- package/src/src/schemas/subscriptions/requests.ts +504 -0
- package/src/src/schemas/subscriptions/responses.ts +576 -0
- package/src/src/signing/_signTypedData/ethers.ts +59 -0
- package/src/src/signing/_signTypedData/mod.ts +121 -0
- package/src/src/signing/_signTypedData/private_key.ts +229 -0
- package/src/src/signing/_signTypedData/viem.ts +55 -0
- package/src/src/signing/mod.ts +572 -0
- package/src/src/transports/base.ts +54 -0
- package/src/src/transports/http/http_transport.ts +208 -0
- package/src/src/transports/websocket/_hyperliquid_event_target.ts +118 -0
- package/src/src/transports/websocket/_reconnecting_websocket.ts +404 -0
- package/src/src/transports/websocket/_websocket_async_request.ts +229 -0
- package/src/src/transports/websocket/websocket_transport.ts +394 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
/** ECDSA signature components for Ethereum typed data. */
|
|
3
|
-
export declare const Signature: v.SchemaWithPipe<readonly [v.
|
|
3
|
+
export declare const Signature: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4
4
|
/** First 32-byte component of ECDSA signature. */
|
|
5
5
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
6
6
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -14,7 +14,7 @@ export declare const Signature: v.SchemaWithPipe<readonly [v.StrictObjectSchema<
|
|
|
14
14
|
}, "ECDSA signature components for Ethereum typed data.">]>;
|
|
15
15
|
export type Signature = v.InferOutput<typeof Signature>;
|
|
16
16
|
/** Order parameters. */
|
|
17
|
-
export declare const OrderParams: v.SchemaWithPipe<readonly [v.
|
|
17
|
+
export declare const OrderParams: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
18
18
|
/** Asset ID. */
|
|
19
19
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
20
20
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -26,17 +26,17 @@ export declare const OrderParams: v.SchemaWithPipe<readonly [v.StrictObjectSchem
|
|
|
26
26
|
/** Is reduce-only? */
|
|
27
27
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
28
28
|
/** Order type. */
|
|
29
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
29
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
30
30
|
/** Limit order parameters. */
|
|
31
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
31
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
32
32
|
/** Time-in-force. */
|
|
33
33
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
34
34
|
}, undefined>, v.DescriptionAction<{
|
|
35
35
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
36
36
|
}, "Limit order parameters.">]>;
|
|
37
|
-
}, undefined>, v.
|
|
37
|
+
}, undefined>, v.ObjectSchema<{
|
|
38
38
|
/** Trigger order parameters. */
|
|
39
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
39
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
40
40
|
/** Is market order? */
|
|
41
41
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
42
42
|
/** Trigger price. */
|
|
@@ -122,9 +122,9 @@ export type OrderParams = v.InferOutput<typeof OrderParams>;
|
|
|
122
122
|
* @returns {SuccessResponse}
|
|
123
123
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#approve-an-api-wallet
|
|
124
124
|
*/
|
|
125
|
-
export declare const ApproveAgentRequest: v.SchemaWithPipe<readonly [v.
|
|
125
|
+
export declare const ApproveAgentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
126
126
|
/** Action to perform. */
|
|
127
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
127
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
128
128
|
/** Type of action. */
|
|
129
129
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveAgent", undefined>, v.DescriptionAction<"approveAgent", "Type of action.">]>;
|
|
130
130
|
/** Chain ID used for signing. */
|
|
@@ -148,7 +148,7 @@ export declare const ApproveAgentRequest: v.SchemaWithPipe<readonly [v.StrictObj
|
|
|
148
148
|
/** Unique request identifier (current timestamp in ms). */
|
|
149
149
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
150
150
|
/** Cryptographic signature. */
|
|
151
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
151
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
152
152
|
/** First 32-byte component of ECDSA signature. */
|
|
153
153
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
154
154
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -216,9 +216,9 @@ export type ApproveAgentRequest = v.InferOutput<typeof ApproveAgentRequest>;
|
|
|
216
216
|
* @returns {SuccessResponse}
|
|
217
217
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#approve-a-builder-fee
|
|
218
218
|
*/
|
|
219
|
-
export declare const ApproveBuilderFeeRequest: v.SchemaWithPipe<readonly [v.
|
|
219
|
+
export declare const ApproveBuilderFeeRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
220
220
|
/** Action to perform. */
|
|
221
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
221
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
222
222
|
/** Type of action. */
|
|
223
223
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveBuilderFee", undefined>, v.DescriptionAction<"approveBuilderFee", "Type of action.">]>;
|
|
224
224
|
/** Chain ID used for signing. */
|
|
@@ -242,7 +242,7 @@ export declare const ApproveBuilderFeeRequest: v.SchemaWithPipe<readonly [v.Stri
|
|
|
242
242
|
/** Unique request identifier (current timestamp in ms). */
|
|
243
243
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
244
244
|
/** Cryptographic signature. */
|
|
245
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
245
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
246
246
|
/** First 32-byte component of ECDSA signature. */
|
|
247
247
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
248
248
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -310,17 +310,17 @@ export type ApproveBuilderFeeRequest = v.InferOutput<typeof ApproveBuilderFeeReq
|
|
|
310
310
|
* @returns {OrderResponse}
|
|
311
311
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
|
|
312
312
|
*/
|
|
313
|
-
export declare const BatchModifyRequest: v.SchemaWithPipe<readonly [v.
|
|
313
|
+
export declare const BatchModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
314
314
|
/** Action to perform. */
|
|
315
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
315
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
316
316
|
/** Type of action. */
|
|
317
317
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"batchModify", undefined>, v.DescriptionAction<"batchModify", "Type of action.">]>;
|
|
318
318
|
/** Order modifications. */
|
|
319
|
-
readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
319
|
+
readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
320
320
|
/** Order ID or Client Order ID. */
|
|
321
321
|
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
322
322
|
/** New order parameters. */
|
|
323
|
-
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
323
|
+
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
324
324
|
/** Asset ID. */
|
|
325
325
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
326
326
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -332,17 +332,17 @@ export declare const BatchModifyRequest: v.SchemaWithPipe<readonly [v.StrictObje
|
|
|
332
332
|
/** Is reduce-only? */
|
|
333
333
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
334
334
|
/** Order type. */
|
|
335
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
335
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
336
336
|
/** Limit order parameters. */
|
|
337
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
337
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
338
338
|
/** Time-in-force. */
|
|
339
339
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
340
340
|
}, undefined>, v.DescriptionAction<{
|
|
341
341
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
342
342
|
}, "Limit order parameters.">]>;
|
|
343
|
-
}, undefined>, v.
|
|
343
|
+
}, undefined>, v.ObjectSchema<{
|
|
344
344
|
/** Trigger order parameters. */
|
|
345
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
345
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
346
346
|
/** Is market order? */
|
|
347
347
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
348
348
|
/** Trigger price. */
|
|
@@ -490,7 +490,7 @@ export declare const BatchModifyRequest: v.SchemaWithPipe<readonly [v.StrictObje
|
|
|
490
490
|
/** Unique request identifier (current timestamp in ms). */
|
|
491
491
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
492
492
|
/** Cryptographic signature. */
|
|
493
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
493
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
494
494
|
/** First 32-byte component of ECDSA signature. */
|
|
495
495
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
496
496
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -619,13 +619,13 @@ export type BatchModifyRequest = v.InferOutput<typeof BatchModifyRequest>;
|
|
|
619
619
|
* @returns {CancelResponse}
|
|
620
620
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
|
|
621
621
|
*/
|
|
622
|
-
export declare const CancelRequest: v.SchemaWithPipe<readonly [v.
|
|
622
|
+
export declare const CancelRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
623
623
|
/** Action to perform. */
|
|
624
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
624
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
625
625
|
/** Type of action. */
|
|
626
626
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of action.">]>;
|
|
627
627
|
/** Orders to cancel. */
|
|
628
|
-
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
628
|
+
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
629
629
|
/** Asset ID. */
|
|
630
630
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
631
631
|
/** Order ID. */
|
|
@@ -644,7 +644,7 @@ export declare const CancelRequest: v.SchemaWithPipe<readonly [v.StrictObjectSch
|
|
|
644
644
|
/** Unique request identifier (current timestamp in ms). */
|
|
645
645
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
646
646
|
/** Cryptographic signature. */
|
|
647
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
647
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
648
648
|
/** First 32-byte component of ECDSA signature. */
|
|
649
649
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
650
650
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -719,13 +719,13 @@ export type CancelRequest = v.InferOutput<typeof CancelRequest>;
|
|
|
719
719
|
* @returns {CancelResponse}
|
|
720
720
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
|
|
721
721
|
*/
|
|
722
|
-
export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.
|
|
722
|
+
export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
723
723
|
/** Action to perform. */
|
|
724
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
724
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
725
725
|
/** Type of action. */
|
|
726
726
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancelByCloid", undefined>, v.DescriptionAction<"cancelByCloid", "Type of action.">]>;
|
|
727
727
|
/** Orders to cancel. */
|
|
728
|
-
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
728
|
+
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
729
729
|
/** Asset ID. */
|
|
730
730
|
readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
731
731
|
/** Client Order ID. */
|
|
@@ -744,7 +744,7 @@ export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.StrictOb
|
|
|
744
744
|
/** Unique request identifier (current timestamp in ms). */
|
|
745
745
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
746
746
|
/** Cryptographic signature. */
|
|
747
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
747
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
748
748
|
/** First 32-byte component of ECDSA signature. */
|
|
749
749
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
750
750
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -819,9 +819,9 @@ export type CancelByCloidRequest = v.InferOutput<typeof CancelByCloidRequest>;
|
|
|
819
819
|
* @returns {SuccessResponse}
|
|
820
820
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-into-staking
|
|
821
821
|
*/
|
|
822
|
-
export declare const CDepositRequest: v.SchemaWithPipe<readonly [v.
|
|
822
|
+
export declare const CDepositRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
823
823
|
/** Action to perform. */
|
|
824
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
824
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
825
825
|
/** Type of action. */
|
|
826
826
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cDeposit", undefined>, v.DescriptionAction<"cDeposit", "Type of action.">]>;
|
|
827
827
|
/** Chain ID used for signing. */
|
|
@@ -842,7 +842,7 @@ export declare const CDepositRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
842
842
|
/** Unique request identifier (current timestamp in ms). */
|
|
843
843
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
844
844
|
/** Cryptographic signature. */
|
|
845
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
845
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
846
846
|
/** First 32-byte component of ECDSA signature. */
|
|
847
847
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
848
848
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -907,9 +907,9 @@ export type CDepositRequest = v.InferOutput<typeof CDepositRequest>;
|
|
|
907
907
|
* @returns {SuccessResponse}
|
|
908
908
|
* @see null
|
|
909
909
|
*/
|
|
910
|
-
export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.
|
|
910
|
+
export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
911
911
|
/** Action to perform. */
|
|
912
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
912
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
913
913
|
/** Type of action. */
|
|
914
914
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"claimRewards", undefined>, v.DescriptionAction<"claimRewards", "Type of action.">]>;
|
|
915
915
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -918,7 +918,7 @@ export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.StrictObj
|
|
|
918
918
|
/** Unique request identifier (current timestamp in ms). */
|
|
919
919
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
920
920
|
/** Cryptographic signature. */
|
|
921
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
921
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
922
922
|
/** First 32-byte component of ECDSA signature. */
|
|
923
923
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
924
924
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -972,7 +972,7 @@ export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.StrictObj
|
|
|
972
972
|
}, "Claim rewards from referral program.">]>;
|
|
973
973
|
export type ClaimRewardsRequest = v.InferOutput<typeof ClaimRewardsRequest>;
|
|
974
974
|
/** Signers configuration for {@linkcode ConvertToMultiSigUserRequest}. */
|
|
975
|
-
export declare const ConvertToMultiSigUserRequestSigners: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
975
|
+
export declare const ConvertToMultiSigUserRequestSigners: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
976
976
|
/** List of authorized user addresses. */
|
|
977
977
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
|
|
978
978
|
/** Minimum number of signatures required. */
|
|
@@ -987,9 +987,9 @@ export type ConvertToMultiSigUserRequestSigners = v.InferOutput<typeof ConvertTo
|
|
|
987
987
|
* @returns {SuccessResponse}
|
|
988
988
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
|
|
989
989
|
*/
|
|
990
|
-
export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
990
|
+
export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
991
991
|
/** Action to perform. */
|
|
992
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
992
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
993
993
|
/** Type of action. */
|
|
994
994
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"convertToMultiSigUser", undefined>, v.DescriptionAction<"convertToMultiSigUser", "Type of action.">]>;
|
|
995
995
|
/** Chain ID used for signing. */
|
|
@@ -1001,7 +1001,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
1001
1001
|
*
|
|
1002
1002
|
* Must be {@linkcode ConvertToMultiSigUserRequestSigners} converted to a string via `JSON.stringify(...)`.
|
|
1003
1003
|
*/
|
|
1004
|
-
readonly signers: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ParseJsonAction<string, undefined, undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1004
|
+
readonly signers: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ParseJsonAction<string, undefined, undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1005
1005
|
/** List of authorized user addresses. */
|
|
1006
1006
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
|
|
1007
1007
|
/** Minimum number of signatures required. */
|
|
@@ -1012,7 +1012,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
1012
1012
|
} | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
|
|
1013
1013
|
authorizedUsers: `0x${string}`[];
|
|
1014
1014
|
threshold: number;
|
|
1015
|
-
} | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1015
|
+
} | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1016
1016
|
/** List of authorized user addresses. */
|
|
1017
1017
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
|
|
1018
1018
|
/** Minimum number of signatures required. */
|
|
@@ -1036,7 +1036,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
1036
1036
|
/** Unique request identifier (current timestamp in ms). */
|
|
1037
1037
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1038
1038
|
/** Cryptographic signature. */
|
|
1039
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1039
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1040
1040
|
/** First 32-byte component of ECDSA signature. */
|
|
1041
1041
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1042
1042
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1101,9 +1101,9 @@ export type ConvertToMultiSigUserRequest = v.InferOutput<typeof ConvertToMultiSi
|
|
|
1101
1101
|
* @returns {CreateSubAccountResponse}
|
|
1102
1102
|
* @see null
|
|
1103
1103
|
*/
|
|
1104
|
-
export declare const CreateSubAccountRequest: v.SchemaWithPipe<readonly [v.
|
|
1104
|
+
export declare const CreateSubAccountRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1105
1105
|
/** Action to perform. */
|
|
1106
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
1106
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1107
1107
|
/** Type of action. */
|
|
1108
1108
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createSubAccount", undefined>, v.DescriptionAction<"createSubAccount", "Type of action.">]>;
|
|
1109
1109
|
/** Sub-account name. */
|
|
@@ -1115,7 +1115,7 @@ export declare const CreateSubAccountRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
1115
1115
|
/** Unique request identifier (current timestamp in ms). */
|
|
1116
1116
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1117
1117
|
/** Cryptographic signature. */
|
|
1118
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1118
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1119
1119
|
/** First 32-byte component of ECDSA signature. */
|
|
1120
1120
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1121
1121
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1176,9 +1176,9 @@ export type CreateSubAccountRequest = v.InferOutput<typeof CreateSubAccountReque
|
|
|
1176
1176
|
* @returns {CreateVaultResponse}
|
|
1177
1177
|
* @see null
|
|
1178
1178
|
*/
|
|
1179
|
-
export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.
|
|
1179
|
+
export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1180
1180
|
/** Action to perform. */
|
|
1181
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
1181
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1182
1182
|
/** Type of action. */
|
|
1183
1183
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createVault", undefined>, v.DescriptionAction<"createVault", "Type of action.">]>;
|
|
1184
1184
|
/** Vault name. */
|
|
@@ -1199,7 +1199,7 @@ export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.StrictObje
|
|
|
1199
1199
|
/** Unique request identifier (current timestamp in ms). */
|
|
1200
1200
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1201
1201
|
/** Cryptographic signature. */
|
|
1202
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1202
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1203
1203
|
/** First 32-byte component of ECDSA signature. */
|
|
1204
1204
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1205
1205
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1271,14 +1271,14 @@ export type CreateVaultRequest = v.InferOutput<typeof CreateVaultRequest>;
|
|
|
1271
1271
|
* @returns {SuccessResponse}
|
|
1272
1272
|
* @see null
|
|
1273
1273
|
*/
|
|
1274
|
-
export declare const CSignerActionRequest: v.SchemaWithPipe<readonly [v.
|
|
1274
|
+
export declare const CSignerActionRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1275
1275
|
/** Action to perform. */
|
|
1276
|
-
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1276
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1277
1277
|
/** Type of action. */
|
|
1278
1278
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
|
|
1279
1279
|
/** Jail the signer. */
|
|
1280
1280
|
readonly jailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Jail the signer.">]>;
|
|
1281
|
-
}, undefined>, v.
|
|
1281
|
+
}, undefined>, v.ObjectSchema<{
|
|
1282
1282
|
/** Type of action. */
|
|
1283
1283
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
|
|
1284
1284
|
/** Unjail the signer. */
|
|
@@ -1293,7 +1293,7 @@ export declare const CSignerActionRequest: v.SchemaWithPipe<readonly [v.StrictOb
|
|
|
1293
1293
|
/** Unique request identifier (current timestamp in ms). */
|
|
1294
1294
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1295
1295
|
/** Cryptographic signature. */
|
|
1296
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1296
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1297
1297
|
/** First 32-byte component of ECDSA signature. */
|
|
1298
1298
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1299
1299
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1366,15 +1366,15 @@ export type CSignerActionRequest = v.InferOutput<typeof CSignerActionRequest>;
|
|
|
1366
1366
|
* @returns {SuccessResponse}
|
|
1367
1367
|
* @see null
|
|
1368
1368
|
*/
|
|
1369
|
-
export declare const CValidatorActionRequest: v.SchemaWithPipe<readonly [v.
|
|
1369
|
+
export declare const CValidatorActionRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1370
1370
|
/** Action to perform. */
|
|
1371
|
-
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1371
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1372
1372
|
/** Type of action. */
|
|
1373
1373
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
1374
1374
|
/** Profile changes to apply. */
|
|
1375
|
-
readonly changeProfile: v.SchemaWithPipe<readonly [v.
|
|
1375
|
+
readonly changeProfile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1376
1376
|
/** Validator node IP address. */
|
|
1377
|
-
readonly node_ip: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1377
|
+
readonly node_ip: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1378
1378
|
/** IP address. */
|
|
1379
1379
|
readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
|
|
1380
1380
|
}, undefined>, v.NullSchema<undefined>], undefined>, v.DescriptionAction<{
|
|
@@ -1403,15 +1403,15 @@ export declare const CValidatorActionRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
1403
1403
|
commission_bps: number | null;
|
|
1404
1404
|
signer: `0x${string}` | null;
|
|
1405
1405
|
}, "Profile changes to apply.">]>;
|
|
1406
|
-
}, undefined>, v.
|
|
1406
|
+
}, undefined>, v.ObjectSchema<{
|
|
1407
1407
|
/** Type of action. */
|
|
1408
1408
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
1409
1409
|
/** Registration parameters. */
|
|
1410
|
-
readonly register: v.SchemaWithPipe<readonly [v.
|
|
1410
|
+
readonly register: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1411
1411
|
/** Validator profile information. */
|
|
1412
|
-
readonly profile: v.SchemaWithPipe<readonly [v.
|
|
1412
|
+
readonly profile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1413
1413
|
/** Validator node IP address. */
|
|
1414
|
-
readonly node_ip: v.SchemaWithPipe<readonly [v.
|
|
1414
|
+
readonly node_ip: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1415
1415
|
/** IP address. */
|
|
1416
1416
|
readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
|
|
1417
1417
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -1455,7 +1455,7 @@ export declare const CValidatorActionRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
1455
1455
|
unjailed: boolean;
|
|
1456
1456
|
initial_wei: number;
|
|
1457
1457
|
}, "Registration parameters.">]>;
|
|
1458
|
-
}, undefined>, v.
|
|
1458
|
+
}, undefined>, v.ObjectSchema<{
|
|
1459
1459
|
/** Type of action. */
|
|
1460
1460
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
1461
1461
|
/** Unregister the validator. */
|
|
@@ -1496,7 +1496,7 @@ export declare const CValidatorActionRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
1496
1496
|
/** Unique request identifier (current timestamp in ms). */
|
|
1497
1497
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1498
1498
|
/** Cryptographic signature. */
|
|
1499
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1499
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1500
1500
|
/** First 32-byte component of ECDSA signature. */
|
|
1501
1501
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1502
1502
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1644,9 +1644,9 @@ export type CValidatorActionRequest = v.InferOutput<typeof CValidatorActionReque
|
|
|
1644
1644
|
* @returns {SuccessResponse}
|
|
1645
1645
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#withdraw-from-staking
|
|
1646
1646
|
*/
|
|
1647
|
-
export declare const CWithdrawRequest: v.SchemaWithPipe<readonly [v.
|
|
1647
|
+
export declare const CWithdrawRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1648
1648
|
/** Action to perform. */
|
|
1649
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
1649
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1650
1650
|
/** Type of action. */
|
|
1651
1651
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cWithdraw", undefined>, v.DescriptionAction<"cWithdraw", "Type of action.">]>;
|
|
1652
1652
|
/** Chain ID used for signing. */
|
|
@@ -1667,7 +1667,7 @@ export declare const CWithdrawRequest: v.SchemaWithPipe<readonly [v.StrictObject
|
|
|
1667
1667
|
/** Unique request identifier (current timestamp in ms). */
|
|
1668
1668
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1669
1669
|
/** Cryptographic signature. */
|
|
1670
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1670
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1671
1671
|
/** First 32-byte component of ECDSA signature. */
|
|
1672
1672
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1673
1673
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1732,9 +1732,9 @@ export type CWithdrawRequest = v.InferOutput<typeof CWithdrawRequest>;
|
|
|
1732
1732
|
* @returns {SuccessResponse}
|
|
1733
1733
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/hyperevm/dual-block-architecture
|
|
1734
1734
|
*/
|
|
1735
|
-
export declare const EvmUserModifyRequest: v.SchemaWithPipe<readonly [v.
|
|
1735
|
+
export declare const EvmUserModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1736
1736
|
/** Action to perform. */
|
|
1737
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
1737
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1738
1738
|
/** Type of action. */
|
|
1739
1739
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"evmUserModify", undefined>, v.DescriptionAction<"evmUserModify", "Type of action.">]>;
|
|
1740
1740
|
/** `true` for large blocks, `false` for small blocks. */
|
|
@@ -1746,7 +1746,7 @@ export declare const EvmUserModifyRequest: v.SchemaWithPipe<readonly [v.StrictOb
|
|
|
1746
1746
|
/** Unique request identifier (current timestamp in ms). */
|
|
1747
1747
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1748
1748
|
/** Cryptographic signature. */
|
|
1749
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1749
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1750
1750
|
/** First 32-byte component of ECDSA signature. */
|
|
1751
1751
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1752
1752
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -1807,15 +1807,15 @@ export type EvmUserModifyRequest = v.InferOutput<typeof EvmUserModifyRequest>;
|
|
|
1807
1807
|
* @returns {SuccessResponse}
|
|
1808
1808
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
|
|
1809
1809
|
*/
|
|
1810
|
-
export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.
|
|
1810
|
+
export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1811
1811
|
/** Action to perform. */
|
|
1812
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
1812
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1813
1813
|
/** Type of action. */
|
|
1814
1814
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
|
|
1815
1815
|
/** Order ID or Client Order ID. */
|
|
1816
1816
|
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
1817
1817
|
/** New order parameters. */
|
|
1818
|
-
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1818
|
+
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1819
1819
|
/** Asset ID. */
|
|
1820
1820
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
1821
1821
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -1827,17 +1827,17 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.StrictObjectSch
|
|
|
1827
1827
|
/** Is reduce-only? */
|
|
1828
1828
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
1829
1829
|
/** Order type. */
|
|
1830
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
1830
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
1831
1831
|
/** Limit order parameters. */
|
|
1832
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
1832
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1833
1833
|
/** Time-in-force. */
|
|
1834
1834
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
1835
1835
|
}, undefined>, v.DescriptionAction<{
|
|
1836
1836
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
1837
1837
|
}, "Limit order parameters.">]>;
|
|
1838
|
-
}, undefined>, v.
|
|
1838
|
+
}, undefined>, v.ObjectSchema<{
|
|
1839
1839
|
/** Trigger order parameters. */
|
|
1840
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
1840
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1841
1841
|
/** Is market order? */
|
|
1842
1842
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
1843
1843
|
/** Trigger price. */
|
|
@@ -1961,7 +1961,7 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.StrictObjectSch
|
|
|
1961
1961
|
/** Unique request identifier (current timestamp in ms). */
|
|
1962
1962
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
1963
1963
|
/** Cryptographic signature. */
|
|
1964
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
1964
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1965
1965
|
/** First 32-byte component of ECDSA signature. */
|
|
1966
1966
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
1967
1967
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2084,9 +2084,9 @@ export type ModifyRequest = v.InferOutput<typeof ModifyRequest>;
|
|
|
2084
2084
|
* @returns {SuccessResponse}
|
|
2085
2085
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#invalidate-pending-nonce-noop
|
|
2086
2086
|
*/
|
|
2087
|
-
export declare const NoopRequest: v.SchemaWithPipe<readonly [v.
|
|
2087
|
+
export declare const NoopRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2088
2088
|
/** Action to perform. */
|
|
2089
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2089
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2090
2090
|
/** Type of action. */
|
|
2091
2091
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"noop", undefined>, v.DescriptionAction<"noop", "Type of action.">]>;
|
|
2092
2092
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -2095,7 +2095,7 @@ export declare const NoopRequest: v.SchemaWithPipe<readonly [v.StrictObjectSchem
|
|
|
2095
2095
|
/** Unique request identifier (current timestamp in ms). */
|
|
2096
2096
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2097
2097
|
/** Cryptographic signature. */
|
|
2098
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2098
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2099
2099
|
/** First 32-byte component of ECDSA signature. */
|
|
2100
2100
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2101
2101
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2153,13 +2153,13 @@ export type NoopRequest = v.InferOutput<typeof NoopRequest>;
|
|
|
2153
2153
|
* @returns {OrderResponse}
|
|
2154
2154
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
|
|
2155
2155
|
*/
|
|
2156
|
-
export declare const OrderRequest: v.SchemaWithPipe<readonly [v.
|
|
2156
|
+
export declare const OrderRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2157
2157
|
/** Action to perform. */
|
|
2158
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2158
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2159
2159
|
/** Type of action. */
|
|
2160
2160
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of action.">]>;
|
|
2161
2161
|
/** Order parameters. */
|
|
2162
|
-
readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.
|
|
2162
|
+
readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2163
2163
|
/** Asset ID. */
|
|
2164
2164
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
2165
2165
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -2171,17 +2171,17 @@ export declare const OrderRequest: v.SchemaWithPipe<readonly [v.StrictObjectSche
|
|
|
2171
2171
|
/** Is reduce-only? */
|
|
2172
2172
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
2173
2173
|
/** Order type. */
|
|
2174
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
2174
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
2175
2175
|
/** Limit order parameters. */
|
|
2176
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
2176
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2177
2177
|
/** Time-in-force. */
|
|
2178
2178
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
2179
2179
|
}, undefined>, v.DescriptionAction<{
|
|
2180
2180
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
2181
2181
|
}, "Limit order parameters.">]>;
|
|
2182
|
-
}, undefined>, v.
|
|
2182
|
+
}, undefined>, v.ObjectSchema<{
|
|
2183
2183
|
/** Trigger order parameters. */
|
|
2184
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
2184
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2185
2185
|
/** Is market order? */
|
|
2186
2186
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
2187
2187
|
/** Trigger price. */
|
|
@@ -2287,7 +2287,7 @@ export declare const OrderRequest: v.SchemaWithPipe<readonly [v.StrictObjectSche
|
|
|
2287
2287
|
*/
|
|
2288
2288
|
readonly grouping: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"na", undefined>, v.LiteralSchema<"normalTpsl", undefined>, v.LiteralSchema<"positionTpsl", undefined>], undefined>, v.DescriptionAction<"na" | "normalTpsl" | "positionTpsl", string>]>;
|
|
2289
2289
|
/** Builder fee. */
|
|
2290
|
-
readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.
|
|
2290
|
+
readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
2291
2291
|
/** Builder address. */
|
|
2292
2292
|
readonly b: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Builder address.">]>;
|
|
2293
2293
|
/** Builder fee in 0.1bps (1 = 0.0001%). */
|
|
@@ -2326,7 +2326,7 @@ export declare const OrderRequest: v.SchemaWithPipe<readonly [v.StrictObjectSche
|
|
|
2326
2326
|
/** Unique request identifier (current timestamp in ms). */
|
|
2327
2327
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2328
2328
|
/** Cryptographic signature. */
|
|
2329
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2329
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2330
2330
|
/** First 32-byte component of ECDSA signature. */
|
|
2331
2331
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2332
2332
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2463,17 +2463,17 @@ export type OrderRequest = v.InferOutput<typeof OrderRequest>;
|
|
|
2463
2463
|
* @returns {SuccessResponse}
|
|
2464
2464
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/deploying-hip-3-assets
|
|
2465
2465
|
*/
|
|
2466
|
-
export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.
|
|
2466
|
+
export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2467
2467
|
/** Action to perform. */
|
|
2468
|
-
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.
|
|
2468
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2469
2469
|
/** Type of action. */
|
|
2470
2470
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
2471
2471
|
/** Parameters for registering a new perpetual asset. */
|
|
2472
|
-
readonly registerAsset: v.SchemaWithPipe<readonly [v.
|
|
2472
|
+
readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2473
2473
|
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
2474
2474
|
readonly maxGas: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
2475
2475
|
/** Contains new asset listing parameters. */
|
|
2476
|
-
readonly assetRequest: v.SchemaWithPipe<readonly [v.
|
|
2476
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2477
2477
|
/** Coin symbol for the new asset. */
|
|
2478
2478
|
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
2479
2479
|
/** Number of decimal places for size. */
|
|
@@ -2494,7 +2494,7 @@ export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
2494
2494
|
/** Name of the dex. */
|
|
2495
2495
|
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
2496
2496
|
/** Contains new dex parameters. */
|
|
2497
|
-
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.
|
|
2497
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
2498
2498
|
/** Full name of the dex. */
|
|
2499
2499
|
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
2500
2500
|
/** Collateral token index. */
|
|
@@ -2540,17 +2540,17 @@ export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
2540
2540
|
oracleUpdater: `0x${string}` | null;
|
|
2541
2541
|
} | null;
|
|
2542
2542
|
};
|
|
2543
|
-
}, "Register asset variant">]>, v.SchemaWithPipe<readonly [v.
|
|
2543
|
+
}, "Register asset variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2544
2544
|
/** Type of action. */
|
|
2545
2545
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
2546
2546
|
/** Parameters for setting oracle and mark prices for assets. */
|
|
2547
|
-
readonly setOracle: v.SchemaWithPipe<readonly [v.
|
|
2547
|
+
readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2548
2548
|
/** Name of the dex. */
|
|
2549
2549
|
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
2550
2550
|
/** A list (sorted by key) of asset and oracle prices. */
|
|
2551
|
-
readonly oraclePxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
2551
|
+
readonly oraclePxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
|
|
2552
2552
|
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
2553
|
-
readonly markPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.ArraySchema<v.
|
|
2553
|
+
readonly markPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, undefined>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
|
|
2554
2554
|
}, undefined>, v.DescriptionAction<{
|
|
2555
2555
|
dex: string;
|
|
2556
2556
|
oraclePxs: [string, string][];
|
|
@@ -2592,7 +2592,7 @@ export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
2592
2592
|
/** Unique request identifier (current timestamp in ms). */
|
|
2593
2593
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2594
2594
|
/** Cryptographic signature. */
|
|
2595
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2595
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2596
2596
|
/** First 32-byte component of ECDSA signature. */
|
|
2597
2597
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2598
2598
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2719,9 +2719,9 @@ export type PerpDeployRequest = v.InferOutput<typeof PerpDeployRequest>;
|
|
|
2719
2719
|
* @returns {SuccessResponse}
|
|
2720
2720
|
* @see null
|
|
2721
2721
|
*/
|
|
2722
|
-
export declare const RegisterReferrerRequest: v.SchemaWithPipe<readonly [v.
|
|
2722
|
+
export declare const RegisterReferrerRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2723
2723
|
/** Action to perform. */
|
|
2724
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2724
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2725
2725
|
/** Type of action. */
|
|
2726
2726
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"registerReferrer", undefined>, v.DescriptionAction<"registerReferrer", "Type of action.">]>;
|
|
2727
2727
|
/** Referral code to create. */
|
|
@@ -2733,7 +2733,7 @@ export declare const RegisterReferrerRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
2733
2733
|
/** Unique request identifier (current timestamp in ms). */
|
|
2734
2734
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2735
2735
|
/** Cryptographic signature. */
|
|
2736
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2736
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2737
2737
|
/** First 32-byte component of ECDSA signature. */
|
|
2738
2738
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2739
2739
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2794,9 +2794,9 @@ export type RegisterReferrerRequest = v.InferOutput<typeof RegisterReferrerReque
|
|
|
2794
2794
|
* @returns {SuccessResponse}
|
|
2795
2795
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#reserve-additional-actions
|
|
2796
2796
|
*/
|
|
2797
|
-
export declare const ReserveRequestWeightRequest: v.SchemaWithPipe<readonly [v.
|
|
2797
|
+
export declare const ReserveRequestWeightRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2798
2798
|
/** Action to perform. */
|
|
2799
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2799
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2800
2800
|
/** Type of action. */
|
|
2801
2801
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"reserveRequestWeight", undefined>, v.DescriptionAction<"reserveRequestWeight", "Type of action.">]>;
|
|
2802
2802
|
/** Amount of request weight to reserve. */
|
|
@@ -2808,7 +2808,7 @@ export declare const ReserveRequestWeightRequest: v.SchemaWithPipe<readonly [v.S
|
|
|
2808
2808
|
/** Unique request identifier (current timestamp in ms). */
|
|
2809
2809
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2810
2810
|
/** Cryptographic signature. */
|
|
2811
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2811
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2812
2812
|
/** First 32-byte component of ECDSA signature. */
|
|
2813
2813
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2814
2814
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2869,9 +2869,9 @@ export type ReserveRequestWeightRequest = v.InferOutput<typeof ReserveRequestWei
|
|
|
2869
2869
|
* @returns {SuccessResponse}
|
|
2870
2870
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#schedule-cancel-dead-mans-switch
|
|
2871
2871
|
*/
|
|
2872
|
-
export declare const ScheduleCancelRequest: v.SchemaWithPipe<readonly [v.
|
|
2872
|
+
export declare const ScheduleCancelRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2873
2873
|
/** Action to perform. */
|
|
2874
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2874
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2875
2875
|
/** Type of action. */
|
|
2876
2876
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"scheduleCancel", undefined>, v.DescriptionAction<"scheduleCancel", "Type of action.">]>;
|
|
2877
2877
|
/**
|
|
@@ -2888,7 +2888,7 @@ export declare const ScheduleCancelRequest: v.SchemaWithPipe<readonly [v.StrictO
|
|
|
2888
2888
|
/** Unique request identifier (current timestamp in ms). */
|
|
2889
2889
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2890
2890
|
/** Cryptographic signature. */
|
|
2891
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2891
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2892
2892
|
/** First 32-byte component of ECDSA signature. */
|
|
2893
2893
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2894
2894
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -2954,9 +2954,9 @@ export type ScheduleCancelRequest = v.InferOutput<typeof ScheduleCancelRequest>;
|
|
|
2954
2954
|
* @returns {SuccessResponse}
|
|
2955
2955
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#send-asset-testnet-only
|
|
2956
2956
|
*/
|
|
2957
|
-
export declare const SendAssetRequest: v.SchemaWithPipe<readonly [v.
|
|
2957
|
+
export declare const SendAssetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2958
2958
|
/** Action to perform. */
|
|
2959
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
2959
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2960
2960
|
/** Type of action. */
|
|
2961
2961
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"sendAsset", undefined>, v.DescriptionAction<"sendAsset", "Type of action.">]>;
|
|
2962
2962
|
/** Chain ID used for signing. */
|
|
@@ -2992,7 +2992,7 @@ export declare const SendAssetRequest: v.SchemaWithPipe<readonly [v.StrictObject
|
|
|
2992
2992
|
/** Unique request identifier (current timestamp in ms). */
|
|
2993
2993
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
2994
2994
|
/** Cryptographic signature. */
|
|
2995
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
2995
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2996
2996
|
/** First 32-byte component of ECDSA signature. */
|
|
2997
2997
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
2998
2998
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3072,9 +3072,9 @@ export type SendAssetRequest = v.InferOutput<typeof SendAssetRequest>;
|
|
|
3072
3072
|
* @returns {SuccessResponse}
|
|
3073
3073
|
* @see null
|
|
3074
3074
|
*/
|
|
3075
|
-
export declare const SetDisplayNameRequest: v.SchemaWithPipe<readonly [v.
|
|
3075
|
+
export declare const SetDisplayNameRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3076
3076
|
/** Action to perform. */
|
|
3077
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3077
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3078
3078
|
/** Type of action. */
|
|
3079
3079
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setDisplayName", undefined>, v.DescriptionAction<"setDisplayName", "Type of action.">]>;
|
|
3080
3080
|
/**
|
|
@@ -3090,7 +3090,7 @@ export declare const SetDisplayNameRequest: v.SchemaWithPipe<readonly [v.StrictO
|
|
|
3090
3090
|
/** Unique request identifier (current timestamp in ms). */
|
|
3091
3091
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3092
3092
|
/** Cryptographic signature. */
|
|
3093
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3093
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3094
3094
|
/** First 32-byte component of ECDSA signature. */
|
|
3095
3095
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3096
3096
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3151,9 +3151,9 @@ export type SetDisplayNameRequest = v.InferOutput<typeof SetDisplayNameRequest>;
|
|
|
3151
3151
|
* @returns {SuccessResponse}
|
|
3152
3152
|
* @see null
|
|
3153
3153
|
*/
|
|
3154
|
-
export declare const SetReferrerRequest: v.SchemaWithPipe<readonly [v.
|
|
3154
|
+
export declare const SetReferrerRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3155
3155
|
/** Action to perform. */
|
|
3156
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3156
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3157
3157
|
/** Type of action. */
|
|
3158
3158
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setReferrer", undefined>, v.DescriptionAction<"setReferrer", "Type of action.">]>;
|
|
3159
3159
|
/** Referral code. */
|
|
@@ -3165,7 +3165,7 @@ export declare const SetReferrerRequest: v.SchemaWithPipe<readonly [v.StrictObje
|
|
|
3165
3165
|
/** Unique request identifier (current timestamp in ms). */
|
|
3166
3166
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3167
3167
|
/** Cryptographic signature. */
|
|
3168
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3168
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3169
3169
|
/** First 32-byte component of ECDSA signature. */
|
|
3170
3170
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3171
3171
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3232,13 +3232,13 @@ export type SetReferrerRequest = v.InferOutput<typeof SetReferrerRequest>;
|
|
|
3232
3232
|
* @returns {SuccessResponse}
|
|
3233
3233
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/deploying-hip-1-and-hip-2-assets
|
|
3234
3234
|
*/
|
|
3235
|
-
export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.
|
|
3235
|
+
export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3236
3236
|
/** Action to perform. */
|
|
3237
|
-
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.
|
|
3237
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3238
3238
|
/** Type of action. */
|
|
3239
3239
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3240
3240
|
/** Genesis parameters. */
|
|
3241
|
-
readonly genesis: v.SchemaWithPipe<readonly [v.
|
|
3241
|
+
readonly genesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3242
3242
|
/** Token identifier. */
|
|
3243
3243
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
3244
3244
|
/** Maximum token supply. */
|
|
@@ -3257,11 +3257,11 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3257
3257
|
maxSupply: string;
|
|
3258
3258
|
noHyperliquidity?: true | undefined;
|
|
3259
3259
|
};
|
|
3260
|
-
}, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.
|
|
3260
|
+
}, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3261
3261
|
/** Type of action. */
|
|
3262
3262
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3263
3263
|
/** Register hyperliquidity parameters. */
|
|
3264
|
-
readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.
|
|
3264
|
+
readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3265
3265
|
/** Spot index (distinct from base token index). */
|
|
3266
3266
|
readonly spot: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Spot index (distinct from base token index).">]>;
|
|
3267
3267
|
/** Starting price for liquidity seeding. */
|
|
@@ -3288,13 +3288,13 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3288
3288
|
nOrders: number;
|
|
3289
3289
|
nSeededLevels?: number | undefined;
|
|
3290
3290
|
};
|
|
3291
|
-
}, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.
|
|
3291
|
+
}, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3292
3292
|
/** Type of action. */
|
|
3293
3293
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3294
3294
|
/** Register spot parameters. */
|
|
3295
|
-
readonly registerSpot: v.SchemaWithPipe<readonly [v.
|
|
3295
|
+
readonly registerSpot: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3296
3296
|
/** Tuple containing base and quote token indices. */
|
|
3297
|
-
readonly tokens: v.SchemaWithPipe<readonly [v.
|
|
3297
|
+
readonly tokens: v.SchemaWithPipe<readonly [v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, v.DescriptionAction<[number, number], "Tuple containing base and quote token indices.">]>;
|
|
3298
3298
|
}, undefined>, v.DescriptionAction<{
|
|
3299
3299
|
tokens: [number, number];
|
|
3300
3300
|
}, "Register spot parameters.">]>;
|
|
@@ -3303,13 +3303,13 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3303
3303
|
registerSpot: {
|
|
3304
3304
|
tokens: [number, number];
|
|
3305
3305
|
};
|
|
3306
|
-
}, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.
|
|
3306
|
+
}, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3307
3307
|
/** Type of action. */
|
|
3308
3308
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3309
3309
|
/** Register token parameters. */
|
|
3310
|
-
readonly registerToken2: v.SchemaWithPipe<readonly [v.
|
|
3310
|
+
readonly registerToken2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3311
3311
|
/** Token specifications. */
|
|
3312
|
-
readonly spec: v.SchemaWithPipe<readonly [v.
|
|
3312
|
+
readonly spec: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3313
3313
|
/** Token name. */
|
|
3314
3314
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Token name.">]>;
|
|
3315
3315
|
/** Number of decimals for token size. */
|
|
@@ -3345,11 +3345,11 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3345
3345
|
maxGas: number;
|
|
3346
3346
|
fullName?: string | undefined;
|
|
3347
3347
|
};
|
|
3348
|
-
}, "Register token variant">]>, v.SchemaWithPipe<readonly [v.
|
|
3348
|
+
}, "Register token variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3349
3349
|
/** Type of action. */
|
|
3350
3350
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3351
3351
|
/** Set deployer trading fee share parameters. */
|
|
3352
|
-
readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.
|
|
3352
|
+
readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3353
3353
|
/** Token identifier. */
|
|
3354
3354
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
3355
3355
|
/** The deployer trading fee share. Range is 0% to 100%. */
|
|
@@ -3364,19 +3364,19 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3364
3364
|
token: number;
|
|
3365
3365
|
share: `${string}%`;
|
|
3366
3366
|
};
|
|
3367
|
-
}, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.
|
|
3367
|
+
}, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3368
3368
|
/** Type of action. */
|
|
3369
3369
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
3370
3370
|
/** User genesis parameters. */
|
|
3371
|
-
readonly userGenesis: v.SchemaWithPipe<readonly [v.
|
|
3371
|
+
readonly userGenesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3372
3372
|
/** Token identifier. */
|
|
3373
3373
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
3374
3374
|
/** Array of tuples: [user address, genesis amount in wei]. */
|
|
3375
|
-
readonly userAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
3375
|
+
readonly userAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[`0x${string}`, string][], "Array of tuples: [user address, genesis amount in wei].">]>;
|
|
3376
3376
|
/** Array of tuples: [existing token identifier, genesis amount in wei]. */
|
|
3377
|
-
readonly existingTokenAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
3377
|
+
readonly existingTokenAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "Array of tuples: [existing token identifier, genesis amount in wei].">]>;
|
|
3378
3378
|
/** Array of tuples: [user address, blacklist status] (`true` for blacklist, `false` to remove existing blacklisted user). */
|
|
3379
|
-
readonly blacklistUsers: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.
|
|
3379
|
+
readonly blacklistUsers: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<[`0x${string}`, boolean][] | undefined, "Array of tuples: [user address, blacklist status] (`true` for blacklist, `false` to remove existing blacklisted user).">]>;
|
|
3380
3380
|
}, undefined>, v.DescriptionAction<{
|
|
3381
3381
|
token: number;
|
|
3382
3382
|
userAndWei: [`0x${string}`, string][];
|
|
@@ -3441,7 +3441,7 @@ export declare const SpotDeployRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
3441
3441
|
/** Unique request identifier (current timestamp in ms). */
|
|
3442
3442
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3443
3443
|
/** Cryptographic signature. */
|
|
3444
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3444
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3445
3445
|
/** First 32-byte component of ECDSA signature. */
|
|
3446
3446
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3447
3447
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3631,9 +3631,9 @@ export type SpotDeployRequest = v.InferOutput<typeof SpotDeployRequest>;
|
|
|
3631
3631
|
* @returns {SuccessResponse}
|
|
3632
3632
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#core-spot-transfer
|
|
3633
3633
|
*/
|
|
3634
|
-
export declare const SpotSendRequest: v.SchemaWithPipe<readonly [v.
|
|
3634
|
+
export declare const SpotSendRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3635
3635
|
/** Action to perform. */
|
|
3636
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3636
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3637
3637
|
/** Type of action. */
|
|
3638
3638
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotSend", undefined>, v.DescriptionAction<"spotSend", "Type of action.">]>;
|
|
3639
3639
|
/** Chain ID used for signing. */
|
|
@@ -3660,7 +3660,7 @@ export declare const SpotSendRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
3660
3660
|
/** Unique request identifier (current timestamp in ms). */
|
|
3661
3661
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3662
3662
|
/** Cryptographic signature. */
|
|
3663
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3663
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3664
3664
|
/** First 32-byte component of ECDSA signature. */
|
|
3665
3665
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3666
3666
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3731,13 +3731,13 @@ export type SpotSendRequest = v.InferOutput<typeof SpotSendRequest>;
|
|
|
3731
3731
|
* @returns {SuccessResponse}
|
|
3732
3732
|
* @see null
|
|
3733
3733
|
*/
|
|
3734
|
-
export declare const SpotUserRequest: v.SchemaWithPipe<readonly [v.
|
|
3734
|
+
export declare const SpotUserRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3735
3735
|
/** Action to perform. */
|
|
3736
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3736
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3737
3737
|
/** Type of action. */
|
|
3738
3738
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotUser", undefined>, v.DescriptionAction<"spotUser", "Type of action.">]>;
|
|
3739
3739
|
/** Spot dusting options. */
|
|
3740
|
-
readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.
|
|
3740
|
+
readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3741
3741
|
/** Opt out of spot dusting. */
|
|
3742
3742
|
readonly optOut: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Opt out of spot dusting.">]>;
|
|
3743
3743
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -3752,7 +3752,7 @@ export declare const SpotUserRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
3752
3752
|
/** Unique request identifier (current timestamp in ms). */
|
|
3753
3753
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3754
3754
|
/** Cryptographic signature. */
|
|
3755
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3755
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3756
3756
|
/** First 32-byte component of ECDSA signature. */
|
|
3757
3757
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3758
3758
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3819,9 +3819,9 @@ export type SpotUserRequest = v.InferOutput<typeof SpotUserRequest>;
|
|
|
3819
3819
|
* @returns {SuccessResponse}
|
|
3820
3820
|
* @see null
|
|
3821
3821
|
*/
|
|
3822
|
-
export declare const SubAccountModifyRequest: v.SchemaWithPipe<readonly [v.
|
|
3822
|
+
export declare const SubAccountModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3823
3823
|
/** Action to perform. */
|
|
3824
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3824
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3825
3825
|
/** Type of action. */
|
|
3826
3826
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountModify", undefined>, v.DescriptionAction<"subAccountModify", "Type of action.">]>;
|
|
3827
3827
|
/** Sub-account address to modify. */
|
|
@@ -3836,7 +3836,7 @@ export declare const SubAccountModifyRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
3836
3836
|
/** Unique request identifier (current timestamp in ms). */
|
|
3837
3837
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3838
3838
|
/** Cryptographic signature. */
|
|
3839
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3839
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3840
3840
|
/** First 32-byte component of ECDSA signature. */
|
|
3841
3841
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3842
3842
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3900,9 +3900,9 @@ export type SubAccountModifyRequest = v.InferOutput<typeof SubAccountModifyReque
|
|
|
3900
3900
|
* @returns {SuccessResponse}
|
|
3901
3901
|
* @see null
|
|
3902
3902
|
*/
|
|
3903
|
-
export declare const SubAccountSpotTransferRequest: v.SchemaWithPipe<readonly [v.
|
|
3903
|
+
export declare const SubAccountSpotTransferRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3904
3904
|
/** Action to perform. */
|
|
3905
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3905
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3906
3906
|
/** Type of action. */
|
|
3907
3907
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountSpotTransfer", undefined>, v.DescriptionAction<"subAccountSpotTransfer", "Type of action.">]>;
|
|
3908
3908
|
/** Sub-account address. */
|
|
@@ -3923,7 +3923,7 @@ export declare const SubAccountSpotTransferRequest: v.SchemaWithPipe<readonly [v
|
|
|
3923
3923
|
/** Unique request identifier (current timestamp in ms). */
|
|
3924
3924
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
3925
3925
|
/** Cryptographic signature. */
|
|
3926
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
3926
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3927
3927
|
/** First 32-byte component of ECDSA signature. */
|
|
3928
3928
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
3929
3929
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -3993,9 +3993,9 @@ export type SubAccountSpotTransferRequest = v.InferOutput<typeof SubAccountSpotT
|
|
|
3993
3993
|
* @returns {SuccessResponse}
|
|
3994
3994
|
* @see null
|
|
3995
3995
|
*/
|
|
3996
|
-
export declare const SubAccountTransferRequest: v.SchemaWithPipe<readonly [v.
|
|
3996
|
+
export declare const SubAccountTransferRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3997
3997
|
/** Action to perform. */
|
|
3998
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
3998
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3999
3999
|
/** Type of action. */
|
|
4000
4000
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Type of action.">]>;
|
|
4001
4001
|
/** Sub-account address. */
|
|
@@ -4013,7 +4013,7 @@ export declare const SubAccountTransferRequest: v.SchemaWithPipe<readonly [v.Str
|
|
|
4013
4013
|
/** Unique request identifier (current timestamp in ms). */
|
|
4014
4014
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4015
4015
|
/** Cryptographic signature. */
|
|
4016
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4016
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4017
4017
|
/** First 32-byte component of ECDSA signature. */
|
|
4018
4018
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4019
4019
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4080,9 +4080,9 @@ export type SubAccountTransferRequest = v.InferOutput<typeof SubAccountTransferR
|
|
|
4080
4080
|
* @returns {SuccessResponse}
|
|
4081
4081
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#delegate-or-undelegate-stake-from-validator
|
|
4082
4082
|
*/
|
|
4083
|
-
export declare const TokenDelegateRequest: v.SchemaWithPipe<readonly [v.
|
|
4083
|
+
export declare const TokenDelegateRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4084
4084
|
/** Action to perform. */
|
|
4085
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4085
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4086
4086
|
/** Type of action. */
|
|
4087
4087
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"tokenDelegate", undefined>, v.DescriptionAction<"tokenDelegate", "Type of action.">]>;
|
|
4088
4088
|
/** Chain ID used for signing. */
|
|
@@ -4109,7 +4109,7 @@ export declare const TokenDelegateRequest: v.SchemaWithPipe<readonly [v.StrictOb
|
|
|
4109
4109
|
/** Unique request identifier (current timestamp in ms). */
|
|
4110
4110
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4111
4111
|
/** Cryptographic signature. */
|
|
4112
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4112
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4113
4113
|
/** First 32-byte component of ECDSA signature. */
|
|
4114
4114
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4115
4115
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4180,9 +4180,9 @@ export type TokenDelegateRequest = v.InferOutput<typeof TokenDelegateRequest>;
|
|
|
4180
4180
|
* @returns {TwapCancelResponse}
|
|
4181
4181
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-a-twap-order
|
|
4182
4182
|
*/
|
|
4183
|
-
export declare const TwapCancelRequest: v.SchemaWithPipe<readonly [v.
|
|
4183
|
+
export declare const TwapCancelRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4184
4184
|
/** Action to perform. */
|
|
4185
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4185
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4186
4186
|
/** Type of action. */
|
|
4187
4187
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapCancel", undefined>, v.DescriptionAction<"twapCancel", "Type of action.">]>;
|
|
4188
4188
|
/** Asset ID. */
|
|
@@ -4197,7 +4197,7 @@ export declare const TwapCancelRequest: v.SchemaWithPipe<readonly [v.StrictObjec
|
|
|
4197
4197
|
/** Unique request identifier (current timestamp in ms). */
|
|
4198
4198
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4199
4199
|
/** Cryptographic signature. */
|
|
4200
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4200
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4201
4201
|
/** First 32-byte component of ECDSA signature. */
|
|
4202
4202
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4203
4203
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4266,13 +4266,13 @@ export type TwapCancelRequest = v.InferOutput<typeof TwapCancelRequest>;
|
|
|
4266
4266
|
* @returns {TwapOrderResponse}
|
|
4267
4267
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-a-twap-order
|
|
4268
4268
|
*/
|
|
4269
|
-
export declare const TwapOrderRequest: v.SchemaWithPipe<readonly [v.
|
|
4269
|
+
export declare const TwapOrderRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4270
4270
|
/** Action to perform. */
|
|
4271
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4271
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4272
4272
|
/** Type of action. */
|
|
4273
4273
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapOrder", undefined>, v.DescriptionAction<"twapOrder", "Type of action.">]>;
|
|
4274
4274
|
/** Twap parameters. */
|
|
4275
|
-
readonly twap: v.SchemaWithPipe<readonly [v.
|
|
4275
|
+
readonly twap: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4276
4276
|
/** Asset ID. */
|
|
4277
4277
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
4278
4278
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -4307,7 +4307,7 @@ export declare const TwapOrderRequest: v.SchemaWithPipe<readonly [v.StrictObject
|
|
|
4307
4307
|
/** Unique request identifier (current timestamp in ms). */
|
|
4308
4308
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4309
4309
|
/** Cryptographic signature. */
|
|
4310
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4310
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4311
4311
|
/** First 32-byte component of ECDSA signature. */
|
|
4312
4312
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4313
4313
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4394,9 +4394,9 @@ export type TwapOrderRequest = v.InferOutput<typeof TwapOrderRequest>;
|
|
|
4394
4394
|
* @returns {SuccessResponse}
|
|
4395
4395
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
|
|
4396
4396
|
*/
|
|
4397
|
-
export declare const UpdateIsolatedMarginRequest: v.SchemaWithPipe<readonly [v.
|
|
4397
|
+
export declare const UpdateIsolatedMarginRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4398
4398
|
/** Action to perform. */
|
|
4399
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4399
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4400
4400
|
/** Type of action. */
|
|
4401
4401
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateIsolatedMargin", undefined>, v.DescriptionAction<"updateIsolatedMargin", "Type of action.">]>;
|
|
4402
4402
|
/** Asset ID. */
|
|
@@ -4414,7 +4414,7 @@ export declare const UpdateIsolatedMarginRequest: v.SchemaWithPipe<readonly [v.S
|
|
|
4414
4414
|
/** Unique request identifier (current timestamp in ms). */
|
|
4415
4415
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4416
4416
|
/** Cryptographic signature. */
|
|
4417
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4417
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4418
4418
|
/** First 32-byte component of ECDSA signature. */
|
|
4419
4419
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4420
4420
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4486,9 +4486,9 @@ export type UpdateIsolatedMarginRequest = v.InferOutput<typeof UpdateIsolatedMar
|
|
|
4486
4486
|
* @returns {SuccessResponse}
|
|
4487
4487
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-leverage
|
|
4488
4488
|
*/
|
|
4489
|
-
export declare const UpdateLeverageRequest: v.SchemaWithPipe<readonly [v.
|
|
4489
|
+
export declare const UpdateLeverageRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4490
4490
|
/** Action to perform. */
|
|
4491
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4491
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4492
4492
|
/** Type of action. */
|
|
4493
4493
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateLeverage", undefined>, v.DescriptionAction<"updateLeverage", "Type of action.">]>;
|
|
4494
4494
|
/** Asset ID. */
|
|
@@ -4506,7 +4506,7 @@ export declare const UpdateLeverageRequest: v.SchemaWithPipe<readonly [v.StrictO
|
|
|
4506
4506
|
/** Unique request identifier (current timestamp in ms). */
|
|
4507
4507
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4508
4508
|
/** Cryptographic signature. */
|
|
4509
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4509
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4510
4510
|
/** First 32-byte component of ECDSA signature. */
|
|
4511
4511
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4512
4512
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4578,9 +4578,9 @@ export type UpdateLeverageRequest = v.InferOutput<typeof UpdateLeverageRequest>;
|
|
|
4578
4578
|
* @returns {SuccessResponse}
|
|
4579
4579
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#transfer-from-spot-account-to-perp-account-and-vice-versa
|
|
4580
4580
|
*/
|
|
4581
|
-
export declare const UsdClassTransferRequest: v.SchemaWithPipe<readonly [v.
|
|
4581
|
+
export declare const UsdClassTransferRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4582
4582
|
/** Action to perform. */
|
|
4583
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4583
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4584
4584
|
/** Type of action. */
|
|
4585
4585
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdClassTransfer", undefined>, v.DescriptionAction<"usdClassTransfer", "Type of action.">]>;
|
|
4586
4586
|
/** Chain ID used for signing. */
|
|
@@ -4604,7 +4604,7 @@ export declare const UsdClassTransferRequest: v.SchemaWithPipe<readonly [v.Stric
|
|
|
4604
4604
|
/** Unique request identifier (current timestamp in ms). */
|
|
4605
4605
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4606
4606
|
/** Cryptographic signature. */
|
|
4607
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4607
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4608
4608
|
/** First 32-byte component of ECDSA signature. */
|
|
4609
4609
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4610
4610
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4672,9 +4672,9 @@ export type UsdClassTransferRequest = v.InferOutput<typeof UsdClassTransferReque
|
|
|
4672
4672
|
* @returns {SuccessResponse}
|
|
4673
4673
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#core-usdc-transfer
|
|
4674
4674
|
*/
|
|
4675
|
-
export declare const UsdSendRequest: v.SchemaWithPipe<readonly [v.
|
|
4675
|
+
export declare const UsdSendRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4676
4676
|
/** Action to perform. */
|
|
4677
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4677
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4678
4678
|
/** Type of action. */
|
|
4679
4679
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdSend", undefined>, v.DescriptionAction<"usdSend", "Type of action.">]>;
|
|
4680
4680
|
/** Chain ID used for signing. */
|
|
@@ -4698,7 +4698,7 @@ export declare const UsdSendRequest: v.SchemaWithPipe<readonly [v.StrictObjectSc
|
|
|
4698
4698
|
/** Unique request identifier (current timestamp in ms). */
|
|
4699
4699
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4700
4700
|
/** Cryptographic signature. */
|
|
4701
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4701
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4702
4702
|
/** First 32-byte component of ECDSA signature. */
|
|
4703
4703
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4704
4704
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4766,9 +4766,9 @@ export type UsdSendRequest = v.InferOutput<typeof UsdSendRequest>;
|
|
|
4766
4766
|
* @returns {SuccessResponse}
|
|
4767
4767
|
* @see null
|
|
4768
4768
|
*/
|
|
4769
|
-
export declare const VaultDistributeRequest: v.SchemaWithPipe<readonly [v.
|
|
4769
|
+
export declare const VaultDistributeRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4770
4770
|
/** Action to perform. */
|
|
4771
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4771
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4772
4772
|
/** Type of action. */
|
|
4773
4773
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribute", undefined>, v.DescriptionAction<"vaultDistribute", "Type of action.">]>;
|
|
4774
4774
|
/** Vault address. */
|
|
@@ -4787,7 +4787,7 @@ export declare const VaultDistributeRequest: v.SchemaWithPipe<readonly [v.Strict
|
|
|
4787
4787
|
/** Unique request identifier (current timestamp in ms). */
|
|
4788
4788
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4789
4789
|
/** Cryptographic signature. */
|
|
4790
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4790
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4791
4791
|
/** First 32-byte component of ECDSA signature. */
|
|
4792
4792
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4793
4793
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4851,9 +4851,9 @@ export type VaultDistributeRequest = v.InferOutput<typeof VaultDistributeRequest
|
|
|
4851
4851
|
* @returns {SuccessResponse}
|
|
4852
4852
|
* @see null
|
|
4853
4853
|
*/
|
|
4854
|
-
export declare const VaultModifyRequest: v.SchemaWithPipe<readonly [v.
|
|
4854
|
+
export declare const VaultModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4855
4855
|
/** Action to perform. */
|
|
4856
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4856
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4857
4857
|
/** Type of action. */
|
|
4858
4858
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultModify", undefined>, v.DescriptionAction<"vaultModify", "Type of action.">]>;
|
|
4859
4859
|
/** Vault address. */
|
|
@@ -4871,7 +4871,7 @@ export declare const VaultModifyRequest: v.SchemaWithPipe<readonly [v.StrictObje
|
|
|
4871
4871
|
/** Unique request identifier (current timestamp in ms). */
|
|
4872
4872
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4873
4873
|
/** Cryptographic signature. */
|
|
4874
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4874
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4875
4875
|
/** First 32-byte component of ECDSA signature. */
|
|
4876
4876
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4877
4877
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -4938,9 +4938,9 @@ export type VaultModifyRequest = v.InferOutput<typeof VaultModifyRequest>;
|
|
|
4938
4938
|
* @returns {SuccessResponse}
|
|
4939
4939
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-or-withdraw-from-a-vault
|
|
4940
4940
|
*/
|
|
4941
|
-
export declare const VaultTransferRequest: v.SchemaWithPipe<readonly [v.
|
|
4941
|
+
export declare const VaultTransferRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4942
4942
|
/** Action to perform. */
|
|
4943
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
4943
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4944
4944
|
/** Type of action. */
|
|
4945
4945
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultTransfer", undefined>, v.DescriptionAction<"vaultTransfer", "Type of action.">]>;
|
|
4946
4946
|
/** Vault address. */
|
|
@@ -4958,7 +4958,7 @@ export declare const VaultTransferRequest: v.SchemaWithPipe<readonly [v.StrictOb
|
|
|
4958
4958
|
/** Unique request identifier (current timestamp in ms). */
|
|
4959
4959
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
4960
4960
|
/** Cryptographic signature. */
|
|
4961
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
4961
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4962
4962
|
/** First 32-byte component of ECDSA signature. */
|
|
4963
4963
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
4964
4964
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -5025,9 +5025,9 @@ export type VaultTransferRequest = v.InferOutput<typeof VaultTransferRequest>;
|
|
|
5025
5025
|
* @returns {SuccessResponse}
|
|
5026
5026
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#initiate-a-withdrawal-request
|
|
5027
5027
|
*/
|
|
5028
|
-
export declare const Withdraw3Request: v.SchemaWithPipe<readonly [v.
|
|
5028
|
+
export declare const Withdraw3Request: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5029
5029
|
/** Action to perform. */
|
|
5030
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
5030
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5031
5031
|
/** Type of action. */
|
|
5032
5032
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw3", undefined>, v.DescriptionAction<"withdraw3", "Type of action.">]>;
|
|
5033
5033
|
/** Chain ID used for signing. */
|
|
@@ -5051,7 +5051,7 @@ export declare const Withdraw3Request: v.SchemaWithPipe<readonly [v.StrictObject
|
|
|
5051
5051
|
/** Unique request identifier (current timestamp in ms). */
|
|
5052
5052
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
5053
5053
|
/** Cryptographic signature. */
|
|
5054
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
5054
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5055
5055
|
/** First 32-byte component of ECDSA signature. */
|
|
5056
5056
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
5057
5057
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -5119,15 +5119,15 @@ export type Withdraw3Request = v.InferOutput<typeof Withdraw3Request>;
|
|
|
5119
5119
|
* @returns {SuccessResponse}
|
|
5120
5120
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/hypercore/multi-sig
|
|
5121
5121
|
*/
|
|
5122
|
-
export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.
|
|
5122
|
+
export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5123
5123
|
/** Action to perform. */
|
|
5124
|
-
readonly action: v.SchemaWithPipe<readonly [v.
|
|
5124
|
+
readonly action: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5125
5125
|
/** Type of action. */
|
|
5126
5126
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"multiSig", undefined>, v.DescriptionAction<"multiSig", "Type of action.">]>;
|
|
5127
5127
|
/** Chain ID used for signing. */
|
|
5128
5128
|
readonly signatureChainId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "Chain ID used for signing.">]>;
|
|
5129
5129
|
/** List of signatures from authorized signers. */
|
|
5130
|
-
readonly signatures: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.
|
|
5130
|
+
readonly signatures: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5131
5131
|
/** First 32-byte component of ECDSA signature. */
|
|
5132
5132
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
5133
5133
|
/** Second 32-byte component of ECDSA signature. */
|
|
@@ -5144,13 +5144,13 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5144
5144
|
v: 27 | 28;
|
|
5145
5145
|
}[], "List of signatures from authorized signers.">]>;
|
|
5146
5146
|
/** Multi-signature payload information. */
|
|
5147
|
-
readonly payload: v.SchemaWithPipe<readonly [v.
|
|
5147
|
+
readonly payload: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5148
5148
|
/** Address of the multi-signature user account. */
|
|
5149
5149
|
readonly multiSigUser: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the multi-signature user account.">]>;
|
|
5150
5150
|
/** Address of the authorized user initiating the request (any authorized user). */
|
|
5151
5151
|
readonly outerSigner: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the authorized user initiating the request (any authorized user).">]>;
|
|
5152
5152
|
/** The underlying action to be executed through multi-sig. */
|
|
5153
|
-
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.
|
|
5153
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5154
5154
|
/** Type of action. */
|
|
5155
5155
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveAgent", undefined>, v.DescriptionAction<"approveAgent", "Type of action.">]>;
|
|
5156
5156
|
/** Chain ID used for signing. */
|
|
@@ -5170,7 +5170,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5170
5170
|
agentAddress: `0x${string}`;
|
|
5171
5171
|
agentName: string | null;
|
|
5172
5172
|
nonce: number;
|
|
5173
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5173
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5174
5174
|
/** Type of action. */
|
|
5175
5175
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"approveBuilderFee", undefined>, v.DescriptionAction<"approveBuilderFee", "Type of action.">]>;
|
|
5176
5176
|
/** Chain ID used for signing. */
|
|
@@ -5190,15 +5190,15 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5190
5190
|
maxFeeRate: `${string}%`;
|
|
5191
5191
|
builder: `0x${string}`;
|
|
5192
5192
|
nonce: number;
|
|
5193
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5193
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5194
5194
|
/** Type of action. */
|
|
5195
5195
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"batchModify", undefined>, v.DescriptionAction<"batchModify", "Type of action.">]>;
|
|
5196
5196
|
/** Order modifications. */
|
|
5197
|
-
readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
5197
|
+
readonly modifies: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
5198
5198
|
/** Order ID or Client Order ID. */
|
|
5199
5199
|
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
5200
5200
|
/** New order parameters. */
|
|
5201
|
-
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
5201
|
+
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5202
5202
|
/** Asset ID. */
|
|
5203
5203
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
5204
5204
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -5210,17 +5210,17 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5210
5210
|
/** Is reduce-only? */
|
|
5211
5211
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
5212
5212
|
/** Order type. */
|
|
5213
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5213
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5214
5214
|
/** Limit order parameters. */
|
|
5215
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
5215
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5216
5216
|
/** Time-in-force. */
|
|
5217
5217
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
5218
5218
|
}, undefined>, v.DescriptionAction<{
|
|
5219
5219
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
5220
5220
|
}, "Limit order parameters.">]>;
|
|
5221
|
-
}, undefined>, v.
|
|
5221
|
+
}, undefined>, v.ObjectSchema<{
|
|
5222
5222
|
/** Trigger order parameters. */
|
|
5223
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
5223
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5224
5224
|
/** Is market order? */
|
|
5225
5225
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
5226
5226
|
/** Trigger price. */
|
|
@@ -5364,11 +5364,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5364
5364
|
c?: `0x${string}` | undefined;
|
|
5365
5365
|
};
|
|
5366
5366
|
}[];
|
|
5367
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5367
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5368
5368
|
/** Type of action. */
|
|
5369
5369
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancel", undefined>, v.DescriptionAction<"cancel", "Type of action.">]>;
|
|
5370
5370
|
/** Orders to cancel. */
|
|
5371
|
-
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
5371
|
+
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
5372
5372
|
/** Asset ID. */
|
|
5373
5373
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
5374
5374
|
/** Order ID. */
|
|
@@ -5383,11 +5383,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5383
5383
|
a: number;
|
|
5384
5384
|
o: number;
|
|
5385
5385
|
}[];
|
|
5386
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5386
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5387
5387
|
/** Type of action. */
|
|
5388
5388
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cancelByCloid", undefined>, v.DescriptionAction<"cancelByCloid", "Type of action.">]>;
|
|
5389
5389
|
/** Orders to cancel. */
|
|
5390
|
-
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
5390
|
+
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
5391
5391
|
/** Asset ID. */
|
|
5392
5392
|
readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
5393
5393
|
/** Client Order ID. */
|
|
@@ -5402,7 +5402,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5402
5402
|
asset: number;
|
|
5403
5403
|
cloid: `0x${string}`;
|
|
5404
5404
|
}[];
|
|
5405
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5405
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5406
5406
|
/** Type of action. */
|
|
5407
5407
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cDeposit", undefined>, v.DescriptionAction<"cDeposit", "Type of action.">]>;
|
|
5408
5408
|
/** Chain ID used for signing. */
|
|
@@ -5419,12 +5419,12 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5419
5419
|
hyperliquidChain: "Testnet" | "Mainnet";
|
|
5420
5420
|
wei: number;
|
|
5421
5421
|
nonce: number;
|
|
5422
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5422
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5423
5423
|
/** Type of action. */
|
|
5424
5424
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"claimRewards", undefined>, v.DescriptionAction<"claimRewards", "Type of action.">]>;
|
|
5425
5425
|
}, undefined>, v.DescriptionAction<{
|
|
5426
5426
|
type: "claimRewards";
|
|
5427
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5427
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5428
5428
|
/** Type of action. */
|
|
5429
5429
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"convertToMultiSigUser", undefined>, v.DescriptionAction<"convertToMultiSigUser", "Type of action.">]>;
|
|
5430
5430
|
/** Chain ID used for signing. */
|
|
@@ -5436,7 +5436,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5436
5436
|
*
|
|
5437
5437
|
* Must be {@linkcode ConvertToMultiSigUserRequestSigners} converted to a string via `JSON.stringify(...)`.
|
|
5438
5438
|
*/
|
|
5439
|
-
readonly signers: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ParseJsonAction<string, undefined, undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5439
|
+
readonly signers: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.ParseJsonAction<string, undefined, undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5440
5440
|
/** List of authorized user addresses. */
|
|
5441
5441
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
|
|
5442
5442
|
/** Minimum number of signatures required. */
|
|
@@ -5447,7 +5447,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5447
5447
|
} | null, "Signers configuration for `ConvertToMultiSigUserRequest`">]>, v.StringifyJsonAction<{
|
|
5448
5448
|
authorizedUsers: `0x${string}`[];
|
|
5449
5449
|
threshold: number;
|
|
5450
|
-
} | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5450
|
+
} | null, undefined, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5451
5451
|
/** List of authorized user addresses. */
|
|
5452
5452
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.DescriptionAction<`0x${string}`[], "List of authorized user addresses.">]>;
|
|
5453
5453
|
/** Minimum number of signatures required. */
|
|
@@ -5467,7 +5467,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5467
5467
|
hyperliquidChain: "Testnet" | "Mainnet";
|
|
5468
5468
|
signers: string;
|
|
5469
5469
|
nonce: number;
|
|
5470
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5470
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5471
5471
|
/** Type of action. */
|
|
5472
5472
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createSubAccount", undefined>, v.DescriptionAction<"createSubAccount", "Type of action.">]>;
|
|
5473
5473
|
/** Sub-account name. */
|
|
@@ -5475,7 +5475,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5475
5475
|
}, undefined>, v.DescriptionAction<{
|
|
5476
5476
|
type: "createSubAccount";
|
|
5477
5477
|
name: string;
|
|
5478
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5478
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5479
5479
|
/** Type of action. */
|
|
5480
5480
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"createVault", undefined>, v.DescriptionAction<"createVault", "Type of action.">]>;
|
|
5481
5481
|
/** Vault name. */
|
|
@@ -5492,12 +5492,12 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5492
5492
|
description: string;
|
|
5493
5493
|
initialUsd: number;
|
|
5494
5494
|
nonce: number;
|
|
5495
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5495
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5496
5496
|
/** Type of action. */
|
|
5497
5497
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
|
|
5498
5498
|
/** Jail the signer. */
|
|
5499
5499
|
readonly jailSelf: v.SchemaWithPipe<readonly [v.NullSchema<undefined>, v.DescriptionAction<null, "Jail the signer.">]>;
|
|
5500
|
-
}, undefined>, v.
|
|
5500
|
+
}, undefined>, v.ObjectSchema<{
|
|
5501
5501
|
/** Type of action. */
|
|
5502
5502
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CSignerAction", undefined>, v.DescriptionAction<"CSignerAction", "Type of action.">]>;
|
|
5503
5503
|
/** Unjail the signer. */
|
|
@@ -5508,13 +5508,13 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5508
5508
|
} | {
|
|
5509
5509
|
type: "CSignerAction";
|
|
5510
5510
|
unjailSelf: null;
|
|
5511
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5511
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5512
5512
|
/** Type of action. */
|
|
5513
5513
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
5514
5514
|
/** Profile changes to apply. */
|
|
5515
|
-
readonly changeProfile: v.SchemaWithPipe<readonly [v.
|
|
5515
|
+
readonly changeProfile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5516
5516
|
/** Validator node IP address. */
|
|
5517
|
-
readonly node_ip: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5517
|
+
readonly node_ip: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5518
5518
|
/** IP address. */
|
|
5519
5519
|
readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
|
|
5520
5520
|
}, undefined>, v.NullSchema<undefined>], undefined>, v.DescriptionAction<{
|
|
@@ -5543,15 +5543,15 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5543
5543
|
commission_bps: number | null;
|
|
5544
5544
|
signer: `0x${string}` | null;
|
|
5545
5545
|
}, "Profile changes to apply.">]>;
|
|
5546
|
-
}, undefined>, v.
|
|
5546
|
+
}, undefined>, v.ObjectSchema<{
|
|
5547
5547
|
/** Type of action. */
|
|
5548
5548
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
5549
5549
|
/** Registration parameters. */
|
|
5550
|
-
readonly register: v.SchemaWithPipe<readonly [v.
|
|
5550
|
+
readonly register: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5551
5551
|
/** Validator profile information. */
|
|
5552
|
-
readonly profile: v.SchemaWithPipe<readonly [v.
|
|
5552
|
+
readonly profile: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5553
5553
|
/** Validator node IP address. */
|
|
5554
|
-
readonly node_ip: v.SchemaWithPipe<readonly [v.
|
|
5554
|
+
readonly node_ip: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5555
5555
|
/** IP address. */
|
|
5556
5556
|
readonly Ip: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>, v.DescriptionAction<string, "IP address.">]>;
|
|
5557
5557
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -5595,7 +5595,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5595
5595
|
unjailed: boolean;
|
|
5596
5596
|
initial_wei: number;
|
|
5597
5597
|
}, "Registration parameters.">]>;
|
|
5598
|
-
}, undefined>, v.
|
|
5598
|
+
}, undefined>, v.ObjectSchema<{
|
|
5599
5599
|
/** Type of action. */
|
|
5600
5600
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"CValidatorAction", undefined>, v.DescriptionAction<"CValidatorAction", "Type of action.">]>;
|
|
5601
5601
|
/** Unregister the validator. */
|
|
@@ -5632,7 +5632,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5632
5632
|
} | {
|
|
5633
5633
|
type: "CValidatorAction";
|
|
5634
5634
|
unregister: null;
|
|
5635
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5635
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5636
5636
|
/** Type of action. */
|
|
5637
5637
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cWithdraw", undefined>, v.DescriptionAction<"cWithdraw", "Type of action.">]>;
|
|
5638
5638
|
/** Chain ID used for signing. */
|
|
@@ -5649,7 +5649,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5649
5649
|
hyperliquidChain: "Testnet" | "Mainnet";
|
|
5650
5650
|
wei: number;
|
|
5651
5651
|
nonce: number;
|
|
5652
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5652
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5653
5653
|
/** Type of action. */
|
|
5654
5654
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"evmUserModify", undefined>, v.DescriptionAction<"evmUserModify", "Type of action.">]>;
|
|
5655
5655
|
/** `true` for large blocks, `false` for small blocks. */
|
|
@@ -5657,13 +5657,13 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5657
5657
|
}, undefined>, v.DescriptionAction<{
|
|
5658
5658
|
type: "evmUserModify";
|
|
5659
5659
|
usingBigBlocks: boolean;
|
|
5660
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5660
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5661
5661
|
/** Type of action. */
|
|
5662
5662
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
|
|
5663
5663
|
/** Order ID or Client Order ID. */
|
|
5664
5664
|
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
5665
5665
|
/** New order parameters. */
|
|
5666
|
-
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
5666
|
+
readonly order: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5667
5667
|
/** Asset ID. */
|
|
5668
5668
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
5669
5669
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -5675,17 +5675,17 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5675
5675
|
/** Is reduce-only? */
|
|
5676
5676
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
5677
5677
|
/** Order type. */
|
|
5678
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5678
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5679
5679
|
/** Limit order parameters. */
|
|
5680
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
5680
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5681
5681
|
/** Time-in-force. */
|
|
5682
5682
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
5683
5683
|
}, undefined>, v.DescriptionAction<{
|
|
5684
5684
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
5685
5685
|
}, "Limit order parameters.">]>;
|
|
5686
|
-
}, undefined>, v.
|
|
5686
|
+
}, undefined>, v.ObjectSchema<{
|
|
5687
5687
|
/** Trigger order parameters. */
|
|
5688
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
5688
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5689
5689
|
/** Is market order? */
|
|
5690
5690
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
5691
5691
|
/** Trigger price. */
|
|
@@ -5805,16 +5805,16 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5805
5805
|
};
|
|
5806
5806
|
c?: `0x${string}` | undefined;
|
|
5807
5807
|
};
|
|
5808
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5808
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5809
5809
|
/** Type of action. */
|
|
5810
5810
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"noop", undefined>, v.DescriptionAction<"noop", "Type of action.">]>;
|
|
5811
5811
|
}, undefined>, v.DescriptionAction<{
|
|
5812
5812
|
type: "noop";
|
|
5813
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
5813
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5814
5814
|
/** Type of action. */
|
|
5815
5815
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"order", undefined>, v.DescriptionAction<"order", "Type of action.">]>;
|
|
5816
5816
|
/** Order parameters. */
|
|
5817
|
-
readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.
|
|
5817
|
+
readonly orders: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5818
5818
|
/** Asset ID. */
|
|
5819
5819
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
5820
5820
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -5826,17 +5826,17 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5826
5826
|
/** Is reduce-only? */
|
|
5827
5827
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
5828
5828
|
/** Order type. */
|
|
5829
|
-
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.
|
|
5829
|
+
readonly t: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
5830
5830
|
/** Limit order parameters. */
|
|
5831
|
-
readonly limit: v.SchemaWithPipe<readonly [v.
|
|
5831
|
+
readonly limit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5832
5832
|
/** Time-in-force. */
|
|
5833
5833
|
readonly tif: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Gtc", undefined>, v.LiteralSchema<"Ioc", undefined>, v.LiteralSchema<"Alo", undefined>, v.LiteralSchema<"FrontendMarket", undefined>, v.LiteralSchema<"LiquidationMarket", undefined>], undefined>, v.DescriptionAction<"Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket", "Time-in-force.">]>;
|
|
5834
5834
|
}, undefined>, v.DescriptionAction<{
|
|
5835
5835
|
tif: "Gtc" | "Ioc" | "Alo" | "FrontendMarket" | "LiquidationMarket";
|
|
5836
5836
|
}, "Limit order parameters.">]>;
|
|
5837
|
-
}, undefined>, v.
|
|
5837
|
+
}, undefined>, v.ObjectSchema<{
|
|
5838
5838
|
/** Trigger order parameters. */
|
|
5839
|
-
readonly trigger: v.SchemaWithPipe<readonly [v.
|
|
5839
|
+
readonly trigger: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5840
5840
|
/** Is market order? */
|
|
5841
5841
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
5842
5842
|
/** Trigger price. */
|
|
@@ -5942,7 +5942,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5942
5942
|
*/
|
|
5943
5943
|
readonly grouping: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"na", undefined>, v.LiteralSchema<"normalTpsl", undefined>, v.LiteralSchema<"positionTpsl", undefined>], undefined>, v.DescriptionAction<"na" | "normalTpsl" | "positionTpsl", string>]>;
|
|
5944
5944
|
/** Builder fee. */
|
|
5945
|
-
readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.
|
|
5945
|
+
readonly builder: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
5946
5946
|
/** Builder address. */
|
|
5947
5947
|
readonly b: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Builder address.">]>;
|
|
5948
5948
|
/** Builder fee in 0.1bps (1 = 0.0001%). */
|
|
@@ -5977,15 +5977,15 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
5977
5977
|
b: `0x${string}`;
|
|
5978
5978
|
f: number;
|
|
5979
5979
|
} | undefined;
|
|
5980
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.
|
|
5980
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5981
5981
|
/** Type of action. */
|
|
5982
5982
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
5983
5983
|
/** Parameters for registering a new perpetual asset. */
|
|
5984
|
-
readonly registerAsset: v.SchemaWithPipe<readonly [v.
|
|
5984
|
+
readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5985
5985
|
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
5986
5986
|
readonly maxGas: v.SchemaWithPipe<readonly [v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
5987
5987
|
/** Contains new asset listing parameters. */
|
|
5988
|
-
readonly assetRequest: v.SchemaWithPipe<readonly [v.
|
|
5988
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5989
5989
|
/** Coin symbol for the new asset. */
|
|
5990
5990
|
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
5991
5991
|
/** Number of decimal places for size. */
|
|
@@ -6006,7 +6006,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6006
6006
|
/** Name of the dex. */
|
|
6007
6007
|
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
6008
6008
|
/** Contains new dex parameters. */
|
|
6009
|
-
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.
|
|
6009
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
6010
6010
|
/** Full name of the dex. */
|
|
6011
6011
|
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
6012
6012
|
/** Collateral token index. */
|
|
@@ -6052,17 +6052,17 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6052
6052
|
oracleUpdater: `0x${string}` | null;
|
|
6053
6053
|
} | null;
|
|
6054
6054
|
};
|
|
6055
|
-
}, "Register asset variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6055
|
+
}, "Register asset variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6056
6056
|
/** Type of action. */
|
|
6057
6057
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
6058
6058
|
/** Parameters for setting oracle and mark prices for assets. */
|
|
6059
|
-
readonly setOracle: v.SchemaWithPipe<readonly [v.
|
|
6059
|
+
readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6060
6060
|
/** Name of the dex. */
|
|
6061
6061
|
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
6062
6062
|
/** A list (sorted by key) of asset and oracle prices. */
|
|
6063
|
-
readonly oraclePxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
6063
|
+
readonly oraclePxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
|
|
6064
6064
|
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
6065
|
-
readonly markPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.ArraySchema<v.
|
|
6065
|
+
readonly markPxs: v.SchemaWithPipe<readonly [v.ArraySchema<v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, undefined>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
|
|
6066
6066
|
}, undefined>, v.DescriptionAction<{
|
|
6067
6067
|
dex: string;
|
|
6068
6068
|
oraclePxs: [string, string][];
|
|
@@ -6100,7 +6100,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6100
6100
|
oraclePxs: [string, string][];
|
|
6101
6101
|
markPxs: [string, string][][];
|
|
6102
6102
|
};
|
|
6103
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6103
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6104
6104
|
/** Type of action. */
|
|
6105
6105
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"registerReferrer", undefined>, v.DescriptionAction<"registerReferrer", "Type of action.">]>;
|
|
6106
6106
|
/** Referral code to create. */
|
|
@@ -6108,7 +6108,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6108
6108
|
}, undefined>, v.DescriptionAction<{
|
|
6109
6109
|
type: "registerReferrer";
|
|
6110
6110
|
code: string;
|
|
6111
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6111
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6112
6112
|
/** Type of action. */
|
|
6113
6113
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"reserveRequestWeight", undefined>, v.DescriptionAction<"reserveRequestWeight", "Type of action.">]>;
|
|
6114
6114
|
/** Amount of request weight to reserve. */
|
|
@@ -6116,7 +6116,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6116
6116
|
}, undefined>, v.DescriptionAction<{
|
|
6117
6117
|
type: "reserveRequestWeight";
|
|
6118
6118
|
weight: number;
|
|
6119
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6119
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6120
6120
|
/** Type of action. */
|
|
6121
6121
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"scheduleCancel", undefined>, v.DescriptionAction<"scheduleCancel", "Type of action.">]>;
|
|
6122
6122
|
/**
|
|
@@ -6129,7 +6129,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6129
6129
|
}, undefined>, v.DescriptionAction<{
|
|
6130
6130
|
type: "scheduleCancel";
|
|
6131
6131
|
time?: number | undefined;
|
|
6132
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6132
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6133
6133
|
/** Type of action. */
|
|
6134
6134
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"sendAsset", undefined>, v.DescriptionAction<"sendAsset", "Type of action.">]>;
|
|
6135
6135
|
/** Chain ID used for signing. */
|
|
@@ -6161,7 +6161,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6161
6161
|
amount: string;
|
|
6162
6162
|
fromSubAccount: "" | `0x${string}`;
|
|
6163
6163
|
nonce: number;
|
|
6164
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6164
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6165
6165
|
/** Type of action. */
|
|
6166
6166
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setDisplayName", undefined>, v.DescriptionAction<"setDisplayName", "Type of action.">]>;
|
|
6167
6167
|
/**
|
|
@@ -6173,7 +6173,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6173
6173
|
}, undefined>, v.DescriptionAction<{
|
|
6174
6174
|
type: "setDisplayName";
|
|
6175
6175
|
displayName: string;
|
|
6176
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6176
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6177
6177
|
/** Type of action. */
|
|
6178
6178
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"setReferrer", undefined>, v.DescriptionAction<"setReferrer", "Type of action.">]>;
|
|
6179
6179
|
/** Referral code. */
|
|
@@ -6181,11 +6181,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6181
6181
|
}, undefined>, v.DescriptionAction<{
|
|
6182
6182
|
type: "setReferrer";
|
|
6183
6183
|
code: string;
|
|
6184
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.
|
|
6184
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6185
6185
|
/** Type of action. */
|
|
6186
6186
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6187
6187
|
/** Genesis parameters. */
|
|
6188
|
-
readonly genesis: v.SchemaWithPipe<readonly [v.
|
|
6188
|
+
readonly genesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6189
6189
|
/** Token identifier. */
|
|
6190
6190
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
6191
6191
|
/** Maximum token supply. */
|
|
@@ -6204,11 +6204,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6204
6204
|
maxSupply: string;
|
|
6205
6205
|
noHyperliquidity?: true | undefined;
|
|
6206
6206
|
};
|
|
6207
|
-
}, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6207
|
+
}, "Genesis variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6208
6208
|
/** Type of action. */
|
|
6209
6209
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6210
6210
|
/** Register hyperliquidity parameters. */
|
|
6211
|
-
readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.
|
|
6211
|
+
readonly registerHyperliquidity: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6212
6212
|
/** Spot index (distinct from base token index). */
|
|
6213
6213
|
readonly spot: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Spot index (distinct from base token index).">]>;
|
|
6214
6214
|
/** Starting price for liquidity seeding. */
|
|
@@ -6235,13 +6235,13 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6235
6235
|
nOrders: number;
|
|
6236
6236
|
nSeededLevels?: number | undefined;
|
|
6237
6237
|
};
|
|
6238
|
-
}, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6238
|
+
}, "Register hyperliquidity variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6239
6239
|
/** Type of action. */
|
|
6240
6240
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6241
6241
|
/** Register spot parameters. */
|
|
6242
|
-
readonly registerSpot: v.SchemaWithPipe<readonly [v.
|
|
6242
|
+
readonly registerSpot: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6243
6243
|
/** Tuple containing base and quote token indices. */
|
|
6244
|
-
readonly tokens: v.SchemaWithPipe<readonly [v.
|
|
6244
|
+
readonly tokens: v.SchemaWithPipe<readonly [v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, v.DescriptionAction<[number, number], "Tuple containing base and quote token indices.">]>;
|
|
6245
6245
|
}, undefined>, v.DescriptionAction<{
|
|
6246
6246
|
tokens: [number, number];
|
|
6247
6247
|
}, "Register spot parameters.">]>;
|
|
@@ -6250,13 +6250,13 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6250
6250
|
registerSpot: {
|
|
6251
6251
|
tokens: [number, number];
|
|
6252
6252
|
};
|
|
6253
|
-
}, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6253
|
+
}, "Register spot variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6254
6254
|
/** Type of action. */
|
|
6255
6255
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6256
6256
|
/** Register token parameters. */
|
|
6257
|
-
readonly registerToken2: v.SchemaWithPipe<readonly [v.
|
|
6257
|
+
readonly registerToken2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6258
6258
|
/** Token specifications. */
|
|
6259
|
-
readonly spec: v.SchemaWithPipe<readonly [v.
|
|
6259
|
+
readonly spec: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6260
6260
|
/** Token name. */
|
|
6261
6261
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Token name.">]>;
|
|
6262
6262
|
/** Number of decimals for token size. */
|
|
@@ -6292,11 +6292,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6292
6292
|
maxGas: number;
|
|
6293
6293
|
fullName?: string | undefined;
|
|
6294
6294
|
};
|
|
6295
|
-
}, "Register token variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6295
|
+
}, "Register token variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6296
6296
|
/** Type of action. */
|
|
6297
6297
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6298
6298
|
/** Set deployer trading fee share parameters. */
|
|
6299
|
-
readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.
|
|
6299
|
+
readonly setDeployerTradingFeeShare: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6300
6300
|
/** Token identifier. */
|
|
6301
6301
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
6302
6302
|
/** The deployer trading fee share. Range is 0% to 100%. */
|
|
@@ -6311,19 +6311,19 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6311
6311
|
token: number;
|
|
6312
6312
|
share: `${string}%`;
|
|
6313
6313
|
};
|
|
6314
|
-
}, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.
|
|
6314
|
+
}, "Set deployer trading fee share variant">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6315
6315
|
/** Type of action. */
|
|
6316
6316
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotDeploy", undefined>, v.DescriptionAction<"spotDeploy", "Type of action.">]>;
|
|
6317
6317
|
/** User genesis parameters. */
|
|
6318
|
-
readonly userGenesis: v.SchemaWithPipe<readonly [v.
|
|
6318
|
+
readonly userGenesis: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6319
6319
|
/** Token identifier. */
|
|
6320
6320
|
readonly token: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Token identifier.">]>;
|
|
6321
6321
|
/** Array of tuples: [user address, genesis amount in wei]. */
|
|
6322
|
-
readonly userAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
6322
|
+
readonly userAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[`0x${string}`, string][], "Array of tuples: [user address, genesis amount in wei].">]>;
|
|
6323
6323
|
/** Array of tuples: [existing token identifier, genesis amount in wei]. */
|
|
6324
|
-
readonly existingTokenAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
6324
|
+
readonly existingTokenAndWei: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "Array of tuples: [existing token identifier, genesis amount in wei].">]>;
|
|
6325
6325
|
/** Array of tuples: [user address, blacklist status] (`true` for blacklist, `false` to remove existing blacklisted user). */
|
|
6326
|
-
readonly blacklistUsers: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.
|
|
6326
|
+
readonly blacklistUsers: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<[`0x${string}`, boolean][] | undefined, "Array of tuples: [user address, blacklist status] (`true` for blacklist, `false` to remove existing blacklisted user).">]>;
|
|
6327
6327
|
}, undefined>, v.DescriptionAction<{
|
|
6328
6328
|
token: number;
|
|
6329
6329
|
userAndWei: [`0x${string}`, string][];
|
|
@@ -6384,7 +6384,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6384
6384
|
existingTokenAndWei: [number, string][];
|
|
6385
6385
|
blacklistUsers?: [`0x${string}`, boolean][] | undefined;
|
|
6386
6386
|
};
|
|
6387
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6387
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6388
6388
|
/** Type of action. */
|
|
6389
6389
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotSend", undefined>, v.DescriptionAction<"spotSend", "Type of action.">]>;
|
|
6390
6390
|
/** Chain ID used for signing. */
|
|
@@ -6407,11 +6407,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6407
6407
|
token: `${string}:0x${string}`;
|
|
6408
6408
|
amount: string;
|
|
6409
6409
|
time: number;
|
|
6410
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6410
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6411
6411
|
/** Type of action. */
|
|
6412
6412
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotUser", undefined>, v.DescriptionAction<"spotUser", "Type of action.">]>;
|
|
6413
6413
|
/** Spot dusting options. */
|
|
6414
|
-
readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.
|
|
6414
|
+
readonly toggleSpotDusting: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6415
6415
|
/** Opt out of spot dusting. */
|
|
6416
6416
|
readonly optOut: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Opt out of spot dusting.">]>;
|
|
6417
6417
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -6422,7 +6422,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6422
6422
|
toggleSpotDusting: {
|
|
6423
6423
|
optOut: boolean;
|
|
6424
6424
|
};
|
|
6425
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6425
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6426
6426
|
/** Type of action. */
|
|
6427
6427
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountModify", undefined>, v.DescriptionAction<"subAccountModify", "Type of action.">]>;
|
|
6428
6428
|
/** Sub-account address to modify. */
|
|
@@ -6433,7 +6433,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6433
6433
|
type: "subAccountModify";
|
|
6434
6434
|
subAccountUser: `0x${string}`;
|
|
6435
6435
|
name: string;
|
|
6436
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6436
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6437
6437
|
/** Type of action. */
|
|
6438
6438
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountSpotTransfer", undefined>, v.DescriptionAction<"subAccountSpotTransfer", "Type of action.">]>;
|
|
6439
6439
|
/** Sub-account address. */
|
|
@@ -6450,7 +6450,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6450
6450
|
isDeposit: boolean;
|
|
6451
6451
|
token: `${string}:0x${string}`;
|
|
6452
6452
|
amount: string;
|
|
6453
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6453
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6454
6454
|
/** Type of action. */
|
|
6455
6455
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Type of action.">]>;
|
|
6456
6456
|
/** Sub-account address. */
|
|
@@ -6464,7 +6464,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6464
6464
|
subAccountUser: `0x${string}`;
|
|
6465
6465
|
isDeposit: boolean;
|
|
6466
6466
|
usd: number;
|
|
6467
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6467
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6468
6468
|
/** Type of action. */
|
|
6469
6469
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"tokenDelegate", undefined>, v.DescriptionAction<"tokenDelegate", "Type of action.">]>;
|
|
6470
6470
|
/** Chain ID used for signing. */
|
|
@@ -6487,7 +6487,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6487
6487
|
wei: number;
|
|
6488
6488
|
isUndelegate: boolean;
|
|
6489
6489
|
nonce: number;
|
|
6490
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6490
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6491
6491
|
/** Type of action. */
|
|
6492
6492
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapCancel", undefined>, v.DescriptionAction<"twapCancel", "Type of action.">]>;
|
|
6493
6493
|
/** Asset ID. */
|
|
@@ -6498,11 +6498,11 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6498
6498
|
type: "twapCancel";
|
|
6499
6499
|
a: number;
|
|
6500
6500
|
t: number;
|
|
6501
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6501
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6502
6502
|
/** Type of action. */
|
|
6503
6503
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"twapOrder", undefined>, v.DescriptionAction<"twapOrder", "Type of action.">]>;
|
|
6504
6504
|
/** Twap parameters. */
|
|
6505
|
-
readonly twap: v.SchemaWithPipe<readonly [v.
|
|
6505
|
+
readonly twap: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6506
6506
|
/** Asset ID. */
|
|
6507
6507
|
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
6508
6508
|
/** Position side (`true` for long, `false` for short). */
|
|
@@ -6533,7 +6533,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6533
6533
|
m: number;
|
|
6534
6534
|
t: boolean;
|
|
6535
6535
|
};
|
|
6536
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6536
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6537
6537
|
/** Type of action. */
|
|
6538
6538
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateIsolatedMargin", undefined>, v.DescriptionAction<"updateIsolatedMargin", "Type of action.">]>;
|
|
6539
6539
|
/** Asset ID. */
|
|
@@ -6547,7 +6547,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6547
6547
|
asset: number;
|
|
6548
6548
|
isBuy: boolean;
|
|
6549
6549
|
ntli: number;
|
|
6550
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6550
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6551
6551
|
/** Type of action. */
|
|
6552
6552
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"updateLeverage", undefined>, v.DescriptionAction<"updateLeverage", "Type of action.">]>;
|
|
6553
6553
|
/** Asset ID. */
|
|
@@ -6561,7 +6561,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6561
6561
|
asset: number;
|
|
6562
6562
|
isCross: boolean;
|
|
6563
6563
|
leverage: number;
|
|
6564
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6564
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6565
6565
|
/** Type of action. */
|
|
6566
6566
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdClassTransfer", undefined>, v.DescriptionAction<"usdClassTransfer", "Type of action.">]>;
|
|
6567
6567
|
/** Chain ID used for signing. */
|
|
@@ -6581,7 +6581,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6581
6581
|
amount: string;
|
|
6582
6582
|
toPerp: boolean;
|
|
6583
6583
|
nonce: number;
|
|
6584
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6584
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6585
6585
|
/** Type of action. */
|
|
6586
6586
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"usdSend", undefined>, v.DescriptionAction<"usdSend", "Type of action.">]>;
|
|
6587
6587
|
/** Chain ID used for signing. */
|
|
@@ -6601,7 +6601,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6601
6601
|
destination: `0x${string}`;
|
|
6602
6602
|
amount: string;
|
|
6603
6603
|
time: number;
|
|
6604
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6604
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6605
6605
|
/** Type of action. */
|
|
6606
6606
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribute", undefined>, v.DescriptionAction<"vaultDistribute", "Type of action.">]>;
|
|
6607
6607
|
/** Vault address. */
|
|
@@ -6616,7 +6616,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6616
6616
|
type: "vaultDistribute";
|
|
6617
6617
|
vaultAddress: `0x${string}`;
|
|
6618
6618
|
usd: number;
|
|
6619
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6619
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6620
6620
|
/** Type of action. */
|
|
6621
6621
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultModify", undefined>, v.DescriptionAction<"vaultModify", "Type of action.">]>;
|
|
6622
6622
|
/** Vault address. */
|
|
@@ -6630,7 +6630,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6630
6630
|
vaultAddress: `0x${string}`;
|
|
6631
6631
|
allowDeposits: boolean | null;
|
|
6632
6632
|
alwaysCloseOnWithdraw: boolean | null;
|
|
6633
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6633
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6634
6634
|
/** Type of action. */
|
|
6635
6635
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultTransfer", undefined>, v.DescriptionAction<"vaultTransfer", "Type of action.">]>;
|
|
6636
6636
|
/** Vault address. */
|
|
@@ -6644,7 +6644,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
6644
6644
|
vaultAddress: `0x${string}`;
|
|
6645
6645
|
isDeposit: boolean;
|
|
6646
6646
|
usd: number;
|
|
6647
|
-
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.
|
|
6647
|
+
}, "Action to perform.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
6648
6648
|
/** Type of action. */
|
|
6649
6649
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw3", undefined>, v.DescriptionAction<"withdraw3", "Type of action.">]>;
|
|
6650
6650
|
/** Chain ID used for signing. */
|
|
@@ -7773,7 +7773,7 @@ export declare const MultiSigRequest: v.SchemaWithPipe<readonly [v.StrictObjectS
|
|
|
7773
7773
|
/** Unique request identifier (current timestamp in ms). */
|
|
7774
7774
|
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Unique request identifier (current timestamp in ms).">]>;
|
|
7775
7775
|
/** Cryptographic signature. */
|
|
7776
|
-
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.
|
|
7776
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
7777
7777
|
/** First 32-byte component of ECDSA signature. */
|
|
7778
7778
|
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.TransformAction<`0x${string}`, `0x${string}`>]>, v.DescriptionAction<`0x${string}`, "First 32-byte component of ECDSA signature.">]>;
|
|
7779
7779
|
/** Second 32-byte component of ECDSA signature. */
|