@bulletxyz/bullet-sdk 0.36.0-rc.1 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +58 -15
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +58 -15
- package/dist/node/index.js.map +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/client.d.ts +6 -2
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/rollupTypes.d.ts +15 -1
- package/dist/types/rollupTypes.d.ts.map +1 -1
- package/dist/types/zod-types/rest.d.ts +61 -31
- package/dist/types/zod-types/rest.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -295,7 +295,7 @@ export declare const Schemas: {
|
|
|
295
295
|
}, z.core.$strip>], "type">;
|
|
296
296
|
address: z.ZodString;
|
|
297
297
|
usdc_ledger: z.ZodObject<{
|
|
298
|
-
|
|
298
|
+
balance: z.ZodObject<{
|
|
299
299
|
asset: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
300
300
|
liability: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
301
301
|
}, z.core.$strip>;
|
|
@@ -764,7 +764,7 @@ export declare const Schemas: {
|
|
|
764
764
|
rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
765
765
|
accum_per_lot: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
766
766
|
last_update_timestamp: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>;
|
|
767
|
-
|
|
767
|
+
config: z.ZodObject<{
|
|
768
768
|
interest_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
769
769
|
min_interest_rate_clamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
770
770
|
max_interest_rate_clamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -789,7 +789,7 @@ export declare const Schemas: {
|
|
|
789
789
|
rate: import("decimal.js").Decimal;
|
|
790
790
|
accum_per_lot: import("decimal.js").Decimal;
|
|
791
791
|
last_update_timestamp: bigint;
|
|
792
|
-
|
|
792
|
+
config: {
|
|
793
793
|
interest_rate: import("decimal.js").Decimal;
|
|
794
794
|
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
795
795
|
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
@@ -814,7 +814,7 @@ export declare const Schemas: {
|
|
|
814
814
|
rate: import("decimal.js").Decimal;
|
|
815
815
|
accum_per_lot: import("decimal.js").Decimal;
|
|
816
816
|
last_update_timestamp: bigint;
|
|
817
|
-
|
|
817
|
+
config: {
|
|
818
818
|
interest_rate: import("decimal.js").Decimal;
|
|
819
819
|
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
820
820
|
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
@@ -884,7 +884,12 @@ export declare const Schemas: {
|
|
|
884
884
|
}, z.core.$strip>;
|
|
885
885
|
readonly PerpMarket: z.ZodObject<{
|
|
886
886
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
887
|
-
|
|
887
|
+
trading_status: z.ZodEnum<{
|
|
888
|
+
active: "active";
|
|
889
|
+
halted: "halted";
|
|
890
|
+
cleaning: "cleaning";
|
|
891
|
+
cleaned: "cleaned";
|
|
892
|
+
}>;
|
|
888
893
|
config: z.ZodObject<{
|
|
889
894
|
min_tick_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
890
895
|
min_lot_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -900,7 +905,7 @@ export declare const Schemas: {
|
|
|
900
905
|
max_tpsl_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
901
906
|
}, z.core.$strip>;
|
|
902
907
|
current_open_interest_lots: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
903
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
908
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
904
909
|
orderbook: z.ZodObject<{
|
|
905
910
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
906
911
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -948,7 +953,12 @@ export declare const Schemas: {
|
|
|
948
953
|
}, z.core.$strip>;
|
|
949
954
|
readonly SpotMarket: z.ZodObject<{
|
|
950
955
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
951
|
-
|
|
956
|
+
trading_status: z.ZodEnum<{
|
|
957
|
+
active: "active";
|
|
958
|
+
halted: "halted";
|
|
959
|
+
cleaning: "cleaning";
|
|
960
|
+
cleaned: "cleaned";
|
|
961
|
+
}>;
|
|
952
962
|
base_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
953
963
|
quote_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
954
964
|
config: z.ZodObject<{
|
|
@@ -961,7 +971,7 @@ export declare const Schemas: {
|
|
|
961
971
|
maker_fees_tenth_bps: z.ZodArray<z.ZodNumber>;
|
|
962
972
|
max_trigger_order_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
963
973
|
}, z.core.$strip>;
|
|
964
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
974
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
965
975
|
orderbook: z.ZodObject<{
|
|
966
976
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
967
977
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -1285,7 +1295,7 @@ export declare const ResponseSchemas: {
|
|
|
1285
1295
|
rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1286
1296
|
accum_per_lot: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1287
1297
|
last_update_timestamp: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBigInt]>, z.ZodTransform<bigint, string | number | bigint>>, z.ZodBigInt>;
|
|
1288
|
-
|
|
1298
|
+
config: z.ZodObject<{
|
|
1289
1299
|
interest_rate: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1290
1300
|
min_interest_rate_clamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1291
1301
|
max_interest_rate_clamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -1310,7 +1320,7 @@ export declare const ResponseSchemas: {
|
|
|
1310
1320
|
rate: import("decimal.js").Decimal;
|
|
1311
1321
|
accum_per_lot: import("decimal.js").Decimal;
|
|
1312
1322
|
last_update_timestamp: bigint;
|
|
1313
|
-
|
|
1323
|
+
config: {
|
|
1314
1324
|
interest_rate: import("decimal.js").Decimal;
|
|
1315
1325
|
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1316
1326
|
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
@@ -1335,7 +1345,7 @@ export declare const ResponseSchemas: {
|
|
|
1335
1345
|
rate: import("decimal.js").Decimal;
|
|
1336
1346
|
accum_per_lot: import("decimal.js").Decimal;
|
|
1337
1347
|
last_update_timestamp: bigint;
|
|
1338
|
-
|
|
1348
|
+
config: {
|
|
1339
1349
|
interest_rate: import("decimal.js").Decimal;
|
|
1340
1350
|
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1341
1351
|
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
@@ -1450,7 +1460,7 @@ export declare const ResponseSchemas: {
|
|
|
1450
1460
|
}, z.core.$strip>], "type">;
|
|
1451
1461
|
address: z.ZodString;
|
|
1452
1462
|
usdc_ledger: z.ZodObject<{
|
|
1453
|
-
|
|
1463
|
+
balance: z.ZodObject<{
|
|
1454
1464
|
asset: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1455
1465
|
liability: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1456
1466
|
}, z.core.$strip>;
|
|
@@ -1903,7 +1913,7 @@ export declare const ResponseSchemas: {
|
|
|
1903
1913
|
}, z.core.$strip>], "type">;
|
|
1904
1914
|
address: z.ZodString;
|
|
1905
1915
|
usdc_ledger: z.ZodObject<{
|
|
1906
|
-
|
|
1916
|
+
balance: z.ZodObject<{
|
|
1907
1917
|
asset: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1908
1918
|
liability: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
1909
1919
|
}, z.core.$strip>;
|
|
@@ -2353,7 +2363,7 @@ export declare const ResponseSchemas: {
|
|
|
2353
2363
|
};
|
|
2354
2364
|
address: string;
|
|
2355
2365
|
usdc_ledger: {
|
|
2356
|
-
|
|
2366
|
+
balance: {
|
|
2357
2367
|
asset: import("decimal.js").Decimal;
|
|
2358
2368
|
liability: import("decimal.js").Decimal;
|
|
2359
2369
|
};
|
|
@@ -2465,7 +2475,7 @@ export declare const ResponseSchemas: {
|
|
|
2465
2475
|
};
|
|
2466
2476
|
address: string;
|
|
2467
2477
|
usdc_ledger: {
|
|
2468
|
-
|
|
2478
|
+
balance: {
|
|
2469
2479
|
asset: import("decimal.js").Decimal;
|
|
2470
2480
|
liability: import("decimal.js").Decimal;
|
|
2471
2481
|
};
|
|
@@ -2571,7 +2581,12 @@ export declare const ResponseSchemas: {
|
|
|
2571
2581
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2572
2582
|
market: z.ZodObject<{
|
|
2573
2583
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2574
|
-
|
|
2584
|
+
trading_status: z.ZodEnum<{
|
|
2585
|
+
active: "active";
|
|
2586
|
+
halted: "halted";
|
|
2587
|
+
cleaning: "cleaning";
|
|
2588
|
+
cleaned: "cleaned";
|
|
2589
|
+
}>;
|
|
2575
2590
|
config: z.ZodObject<{
|
|
2576
2591
|
min_tick_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2577
2592
|
min_lot_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -2587,7 +2602,7 @@ export declare const ResponseSchemas: {
|
|
|
2587
2602
|
max_tpsl_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2588
2603
|
}, z.core.$strip>;
|
|
2589
2604
|
current_open_interest_lots: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2590
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
2605
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
2591
2606
|
orderbook: z.ZodObject<{
|
|
2592
2607
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2593
2608
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -2637,7 +2652,12 @@ export declare const ResponseSchemas: {
|
|
|
2637
2652
|
readonly PerpMarketBulk: z.ZodObject<{
|
|
2638
2653
|
found: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2639
2654
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2640
|
-
|
|
2655
|
+
trading_status: z.ZodEnum<{
|
|
2656
|
+
active: "active";
|
|
2657
|
+
halted: "halted";
|
|
2658
|
+
cleaning: "cleaning";
|
|
2659
|
+
cleaned: "cleaned";
|
|
2660
|
+
}>;
|
|
2641
2661
|
config: z.ZodObject<{
|
|
2642
2662
|
min_tick_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2643
2663
|
min_lot_size: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
@@ -2653,7 +2673,7 @@ export declare const ResponseSchemas: {
|
|
|
2653
2673
|
max_tpsl_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2654
2674
|
}, z.core.$strip>;
|
|
2655
2675
|
current_open_interest_lots: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2656
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
2676
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
2657
2677
|
orderbook: z.ZodObject<{
|
|
2658
2678
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2659
2679
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -2700,7 +2720,7 @@ export declare const ResponseSchemas: {
|
|
|
2700
2720
|
}, z.core.$strip>;
|
|
2701
2721
|
}, z.core.$strip>>, z.ZodTransform<Map<number, {
|
|
2702
2722
|
market_id: number;
|
|
2703
|
-
|
|
2723
|
+
trading_status: "active" | "halted" | "cleaning" | "cleaned";
|
|
2704
2724
|
config: {
|
|
2705
2725
|
min_tick_size: import("decimal.js").Decimal;
|
|
2706
2726
|
min_lot_size: import("decimal.js").Decimal;
|
|
@@ -2716,7 +2736,7 @@ export declare const ResponseSchemas: {
|
|
|
2716
2736
|
max_tpsl_price_deviation_ratio: import("decimal.js").Decimal;
|
|
2717
2737
|
};
|
|
2718
2738
|
current_open_interest_lots: import("decimal.js").Decimal;
|
|
2719
|
-
last_trade_price: import("decimal.js").Decimal;
|
|
2739
|
+
last_trade_price: import("decimal.js").Decimal | null;
|
|
2720
2740
|
orderbook: {
|
|
2721
2741
|
bids: Map<string, {
|
|
2722
2742
|
nodes: {
|
|
@@ -2739,7 +2759,7 @@ export declare const ResponseSchemas: {
|
|
|
2739
2759
|
};
|
|
2740
2760
|
}>, Record<string, {
|
|
2741
2761
|
market_id: number;
|
|
2742
|
-
|
|
2762
|
+
trading_status: "active" | "halted" | "cleaning" | "cleaned";
|
|
2743
2763
|
config: {
|
|
2744
2764
|
min_tick_size: import("decimal.js").Decimal;
|
|
2745
2765
|
min_lot_size: import("decimal.js").Decimal;
|
|
@@ -2755,7 +2775,7 @@ export declare const ResponseSchemas: {
|
|
|
2755
2775
|
max_tpsl_price_deviation_ratio: import("decimal.js").Decimal;
|
|
2756
2776
|
};
|
|
2757
2777
|
current_open_interest_lots: import("decimal.js").Decimal;
|
|
2758
|
-
last_trade_price: import("decimal.js").Decimal;
|
|
2778
|
+
last_trade_price: import("decimal.js").Decimal | null;
|
|
2759
2779
|
orderbook: {
|
|
2760
2780
|
bids: Map<string, {
|
|
2761
2781
|
nodes: {
|
|
@@ -2783,7 +2803,12 @@ export declare const ResponseSchemas: {
|
|
|
2783
2803
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2784
2804
|
market: z.ZodObject<{
|
|
2785
2805
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2786
|
-
|
|
2806
|
+
trading_status: z.ZodEnum<{
|
|
2807
|
+
active: "active";
|
|
2808
|
+
halted: "halted";
|
|
2809
|
+
cleaning: "cleaning";
|
|
2810
|
+
cleaned: "cleaned";
|
|
2811
|
+
}>;
|
|
2787
2812
|
base_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2788
2813
|
quote_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2789
2814
|
config: z.ZodObject<{
|
|
@@ -2796,7 +2821,7 @@ export declare const ResponseSchemas: {
|
|
|
2796
2821
|
maker_fees_tenth_bps: z.ZodArray<z.ZodNumber>;
|
|
2797
2822
|
max_trigger_order_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2798
2823
|
}, z.core.$strip>;
|
|
2799
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
2824
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
2800
2825
|
orderbook: z.ZodObject<{
|
|
2801
2826
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2802
2827
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -2846,7 +2871,12 @@ export declare const ResponseSchemas: {
|
|
|
2846
2871
|
readonly SpotMarketBulk: z.ZodObject<{
|
|
2847
2872
|
found: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2848
2873
|
market_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2849
|
-
|
|
2874
|
+
trading_status: z.ZodEnum<{
|
|
2875
|
+
active: "active";
|
|
2876
|
+
halted: "halted";
|
|
2877
|
+
cleaning: "cleaning";
|
|
2878
|
+
cleaned: "cleaned";
|
|
2879
|
+
}>;
|
|
2850
2880
|
base_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2851
2881
|
quote_asset_id: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
|
|
2852
2882
|
config: z.ZodObject<{
|
|
@@ -2859,7 +2889,7 @@ export declare const ResponseSchemas: {
|
|
|
2859
2889
|
maker_fees_tenth_bps: z.ZodArray<z.ZodNumber>;
|
|
2860
2890
|
max_trigger_order_price_deviation_ratio: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>;
|
|
2861
2891
|
}, z.core.$strip>;
|
|
2862
|
-
last_trade_price: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number
|
|
2892
|
+
last_trade_price: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<import("decimal.js").Decimal, string | number>>>;
|
|
2863
2893
|
orderbook: z.ZodObject<{
|
|
2864
2894
|
bids: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2865
2895
|
nodes: z.ZodArray<z.ZodObject<{
|
|
@@ -2906,7 +2936,7 @@ export declare const ResponseSchemas: {
|
|
|
2906
2936
|
}, z.core.$strip>;
|
|
2907
2937
|
}, z.core.$strip>>, z.ZodTransform<Map<number, {
|
|
2908
2938
|
market_id: number;
|
|
2909
|
-
|
|
2939
|
+
trading_status: "active" | "halted" | "cleaning" | "cleaned";
|
|
2910
2940
|
base_asset_id: number;
|
|
2911
2941
|
quote_asset_id: number;
|
|
2912
2942
|
config: {
|
|
@@ -2919,7 +2949,7 @@ export declare const ResponseSchemas: {
|
|
|
2919
2949
|
maker_fees_tenth_bps: number[];
|
|
2920
2950
|
max_trigger_order_price_deviation_ratio: import("decimal.js").Decimal;
|
|
2921
2951
|
};
|
|
2922
|
-
last_trade_price: import("decimal.js").Decimal;
|
|
2952
|
+
last_trade_price: import("decimal.js").Decimal | null;
|
|
2923
2953
|
orderbook: {
|
|
2924
2954
|
bids: Map<string, {
|
|
2925
2955
|
nodes: {
|
|
@@ -2942,7 +2972,7 @@ export declare const ResponseSchemas: {
|
|
|
2942
2972
|
};
|
|
2943
2973
|
}>, Record<string, {
|
|
2944
2974
|
market_id: number;
|
|
2945
|
-
|
|
2975
|
+
trading_status: "active" | "halted" | "cleaning" | "cleaned";
|
|
2946
2976
|
base_asset_id: number;
|
|
2947
2977
|
quote_asset_id: number;
|
|
2948
2978
|
config: {
|
|
@@ -2955,7 +2985,7 @@ export declare const ResponseSchemas: {
|
|
|
2955
2985
|
maker_fees_tenth_bps: number[];
|
|
2956
2986
|
max_trigger_order_price_deviation_ratio: import("decimal.js").Decimal;
|
|
2957
2987
|
};
|
|
2958
|
-
last_trade_price: import("decimal.js").Decimal;
|
|
2988
|
+
last_trade_price: import("decimal.js").Decimal | null;
|
|
2959
2989
|
orderbook: {
|
|
2960
2990
|
bids: Map<string, {
|
|
2961
2991
|
nodes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../../src/zod-types/rest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmDxB,eAAO,MAAM,oBAAoB;4BAChB,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;0BAGxC,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;gCAGhC,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;+BAGvC,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,UAAU,aACnD,CAAC,eACC,CAAC;;;;+BASE,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;;CAOhD,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;CAmBtB,CAAC;AAGX,QAAA,MAAM,YAAY,0QAA0C,CAAC;AA8F7D,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../../src/zod-types/rest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmDxB,eAAO,MAAM,oBAAoB;4BAChB,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;0BAGxC,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;gCAGhC,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;+BAGvC,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,UAAU,aACnD,CAAC,eACC,CAAC;;;;+BASE,CAAC,SAAS,CAAC,CAAC,UAAU,eAAe,CAAC;;;;CAOhD,CA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