@bulletxyz/bullet-sdk 0.19.0-rc.0 → 0.20.0-rc.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 +18 -14
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +18 -14
- package/dist/node/index.js.map +2 -2
- package/dist/types/client.d.ts +1 -1
- package/dist/types/exchange.d.ts +1 -1
- package/dist/types/zod-types/rest.d.ts +219 -31
- package/package.json +1 -1
package/dist/types/client.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare class Client {
|
|
|
82
82
|
linked_tpsl_order_ids: bigint[];
|
|
83
83
|
}>;
|
|
84
84
|
}>;
|
|
85
|
-
}>;
|
|
85
|
+
} | undefined>;
|
|
86
86
|
submitTransaction(runtimeCall: RuntimeCall): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
87
87
|
transfer(to: Address, amount: bigint, tokenId: TokenId): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
88
88
|
mint(to: Address, amount: bigint, tokenId: TokenId): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
package/dist/types/exchange.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class ExchangeConnection extends BaseConnection {
|
|
|
9
9
|
getOrder(order_id: bigint): Promise<Order | null>;
|
|
10
10
|
getOrderbookL2(asset_id: number, levels?: number): Promise<OrderbookL2>;
|
|
11
11
|
getUserAccountAddresses(start?: number, limit?: number): Promise<string[]>;
|
|
12
|
-
getUserAccounts(addresses: string[]): Promise<UserAccount
|
|
12
|
+
getUserAccounts(addresses: string[]): Promise<Map<string, UserAccount>>;
|
|
13
13
|
getPricing(): Promise<Pricing | null>;
|
|
14
14
|
getUsdcPnlPool(): Promise<UsdcPnlPool | null>;
|
|
15
15
|
getUsdcInsuranceFund(): Promise<UsdcInsuranceFund | null>;
|
|
@@ -1399,9 +1399,9 @@ export declare const ResponseSchemas: {
|
|
|
1399
1399
|
};
|
|
1400
1400
|
meta: Record<string, unknown> | null;
|
|
1401
1401
|
}>;
|
|
1402
|
-
readonly
|
|
1402
|
+
readonly UserAccounts: z.ZodObject<{
|
|
1403
1403
|
data: z.ZodObject<{
|
|
1404
|
-
user_accounts: z.
|
|
1404
|
+
user_accounts: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1405
1405
|
usdc_ledger: z.ZodObject<{
|
|
1406
1406
|
ledger: z.ZodObject<{
|
|
1407
1407
|
weights: z.ZodObject<{
|
|
@@ -1899,9 +1899,125 @@ export declare const ResponseSchemas: {
|
|
|
1899
1899
|
linked_tpsl_order_ids: bigint[];
|
|
1900
1900
|
}>;
|
|
1901
1901
|
}>;
|
|
1902
|
-
}
|
|
1902
|
+
}>>, Map<string, {
|
|
1903
|
+
usdc_ledger: {
|
|
1904
|
+
ledger: {
|
|
1905
|
+
weights: {
|
|
1906
|
+
asset_weight: import("decimal.js").Decimal;
|
|
1907
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
1908
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1909
|
+
};
|
|
1910
|
+
asset: import("decimal.js").Decimal;
|
|
1911
|
+
liability: import("decimal.js").Decimal;
|
|
1912
|
+
};
|
|
1913
|
+
unrealized_loss_borrow: import("decimal.js").Decimal;
|
|
1914
|
+
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
1915
|
+
};
|
|
1916
|
+
spot_ledgers: Map<number, {
|
|
1917
|
+
weights: {
|
|
1918
|
+
asset_weight: import("decimal.js").Decimal;
|
|
1919
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
1920
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1921
|
+
};
|
|
1922
|
+
asset: import("decimal.js").Decimal;
|
|
1923
|
+
liability: import("decimal.js").Decimal;
|
|
1924
|
+
}>;
|
|
1925
|
+
perp_ledgers: Map<number, {
|
|
1926
|
+
orders: Map<bigint, {
|
|
1927
|
+
size: import("decimal.js").Decimal;
|
|
1928
|
+
price: import("decimal.js").Decimal;
|
|
1929
|
+
side: "Bid" | "Ask";
|
|
1930
|
+
order_id: bigint;
|
|
1931
|
+
reduce_only: boolean;
|
|
1932
|
+
filled_size: import("decimal.js").Decimal;
|
|
1933
|
+
average_filled_price: import("decimal.js").Decimal;
|
|
1934
|
+
tpsl_order_ids: bigint[];
|
|
1935
|
+
}>;
|
|
1936
|
+
position: {
|
|
1937
|
+
size: import("decimal.js").Decimal;
|
|
1938
|
+
cost_of_trades: import("decimal.js").Decimal;
|
|
1939
|
+
realized_pnl: import("decimal.js").Decimal;
|
|
1940
|
+
cached_mark_price: import("decimal.js").Decimal;
|
|
1941
|
+
last_accum_funding_applied_per_lot: [import("decimal.js").Decimal, bigint];
|
|
1942
|
+
funding_payments_on_side: import("decimal.js").Decimal;
|
|
1943
|
+
funding_payments_on_position: import("decimal.js").Decimal;
|
|
1944
|
+
};
|
|
1945
|
+
user_selected_max_leverage: number;
|
|
1946
|
+
tpsls: Map<bigint, {
|
|
1947
|
+
side: "Bid" | "Ask";
|
|
1948
|
+
tpsl_order_id: bigint;
|
|
1949
|
+
order_price: import("decimal.js").Decimal;
|
|
1950
|
+
trigger_price: import("decimal.js").Decimal;
|
|
1951
|
+
trigger_direction: "GreaterThanOrEqual" | "LessThanOrEqual";
|
|
1952
|
+
tpsl_price_condition: "Mark" | "Oracle" | "LastTrade";
|
|
1953
|
+
active_size: import("decimal.js").Decimal;
|
|
1954
|
+
full_size: import("decimal.js").Decimal;
|
|
1955
|
+
order_type: "Limit" | "PostOnly" | "FillOrKill" | "ImmediateOrCancel" | "PostOnlySlide" | "PostOnlyFront";
|
|
1956
|
+
parent_order_id: bigint | null;
|
|
1957
|
+
linked_tpsl_order_ids: bigint[];
|
|
1958
|
+
}>;
|
|
1959
|
+
}>;
|
|
1960
|
+
}>, Record<string, {
|
|
1961
|
+
usdc_ledger: {
|
|
1962
|
+
ledger: {
|
|
1963
|
+
weights: {
|
|
1964
|
+
asset_weight: string | number;
|
|
1965
|
+
initial_liability_weight: string | number;
|
|
1966
|
+
maintenance_liability_weight: string | number;
|
|
1967
|
+
};
|
|
1968
|
+
asset: string | number;
|
|
1969
|
+
liability: string | number;
|
|
1970
|
+
};
|
|
1971
|
+
unrealized_loss_borrow: string | number;
|
|
1972
|
+
unsettled_perp_profit: string | number;
|
|
1973
|
+
};
|
|
1974
|
+
spot_ledgers: Record<string, {
|
|
1975
|
+
weights: {
|
|
1976
|
+
asset_weight: string | number;
|
|
1977
|
+
initial_liability_weight: string | number;
|
|
1978
|
+
maintenance_liability_weight: string | number;
|
|
1979
|
+
};
|
|
1980
|
+
asset: string | number;
|
|
1981
|
+
liability: string | number;
|
|
1982
|
+
}>;
|
|
1983
|
+
perp_ledgers: Record<string, {
|
|
1984
|
+
orders: Record<string, {
|
|
1985
|
+
size: string | number;
|
|
1986
|
+
price: string | number;
|
|
1987
|
+
side: "Bid" | "Ask";
|
|
1988
|
+
order_id: bigint;
|
|
1989
|
+
reduce_only: boolean;
|
|
1990
|
+
filled_size: string | number;
|
|
1991
|
+
average_filled_price: string | number;
|
|
1992
|
+
tpsl_order_ids: bigint[];
|
|
1993
|
+
}>;
|
|
1994
|
+
position: {
|
|
1995
|
+
size: string | number;
|
|
1996
|
+
cost_of_trades: string | number;
|
|
1997
|
+
realized_pnl: string | number;
|
|
1998
|
+
cached_mark_price: string | number;
|
|
1999
|
+
last_accum_funding_applied_per_lot: [string | number, bigint];
|
|
2000
|
+
funding_payments_on_side: string | number;
|
|
2001
|
+
funding_payments_on_position: string | number;
|
|
2002
|
+
};
|
|
2003
|
+
user_selected_max_leverage: number;
|
|
2004
|
+
tpsls: Record<string, {
|
|
2005
|
+
side: "Bid" | "Ask";
|
|
2006
|
+
tpsl_order_id: bigint;
|
|
2007
|
+
order_price: string | number;
|
|
2008
|
+
trigger_price: string | number;
|
|
2009
|
+
trigger_direction: "GreaterThanOrEqual" | "LessThanOrEqual";
|
|
2010
|
+
tpsl_price_condition: "Mark" | "Oracle" | "LastTrade";
|
|
2011
|
+
active_size: string | number;
|
|
2012
|
+
full_size: string | number;
|
|
2013
|
+
order_type: "Limit" | "PostOnly" | "FillOrKill" | "ImmediateOrCancel" | "PostOnlySlide" | "PostOnlyFront";
|
|
2014
|
+
parent_order_id: bigint | null;
|
|
2015
|
+
linked_tpsl_order_ids: bigint[];
|
|
2016
|
+
}>;
|
|
2017
|
+
}>;
|
|
2018
|
+
}>>;
|
|
1903
2019
|
}, "strip", z.ZodTypeAny, {
|
|
1904
|
-
user_accounts: {
|
|
2020
|
+
user_accounts: Map<string, {
|
|
1905
2021
|
usdc_ledger: {
|
|
1906
2022
|
ledger: {
|
|
1907
2023
|
weights: {
|
|
@@ -1959,9 +2075,9 @@ export declare const ResponseSchemas: {
|
|
|
1959
2075
|
linked_tpsl_order_ids: bigint[];
|
|
1960
2076
|
}>;
|
|
1961
2077
|
}>;
|
|
1962
|
-
}
|
|
2078
|
+
}>;
|
|
1963
2079
|
}, {
|
|
1964
|
-
user_accounts: {
|
|
2080
|
+
user_accounts: Record<string, {
|
|
1965
2081
|
usdc_ledger: {
|
|
1966
2082
|
ledger: {
|
|
1967
2083
|
weights: {
|
|
@@ -2019,12 +2135,12 @@ export declare const ResponseSchemas: {
|
|
|
2019
2135
|
linked_tpsl_order_ids: bigint[];
|
|
2020
2136
|
}>;
|
|
2021
2137
|
}>;
|
|
2022
|
-
}
|
|
2138
|
+
}>;
|
|
2023
2139
|
}>;
|
|
2024
2140
|
meta: z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Map<unknown, unknown>, Record<string, unknown>>>;
|
|
2025
2141
|
}, "strip", z.ZodTypeAny, {
|
|
2026
2142
|
data: {
|
|
2027
|
-
user_accounts: {
|
|
2143
|
+
user_accounts: Map<string, {
|
|
2028
2144
|
usdc_ledger: {
|
|
2029
2145
|
ledger: {
|
|
2030
2146
|
weights: {
|
|
@@ -2082,12 +2198,12 @@ export declare const ResponseSchemas: {
|
|
|
2082
2198
|
linked_tpsl_order_ids: bigint[];
|
|
2083
2199
|
}>;
|
|
2084
2200
|
}>;
|
|
2085
|
-
}
|
|
2201
|
+
}>;
|
|
2086
2202
|
};
|
|
2087
2203
|
meta: Map<unknown, unknown> | null;
|
|
2088
2204
|
}, {
|
|
2089
2205
|
data: {
|
|
2090
|
-
user_accounts: {
|
|
2206
|
+
user_accounts: Record<string, {
|
|
2091
2207
|
usdc_ledger: {
|
|
2092
2208
|
ledger: {
|
|
2093
2209
|
weights: {
|
|
@@ -2145,7 +2261,7 @@ export declare const ResponseSchemas: {
|
|
|
2145
2261
|
linked_tpsl_order_ids: bigint[];
|
|
2146
2262
|
}>;
|
|
2147
2263
|
}>;
|
|
2148
|
-
}
|
|
2264
|
+
}>;
|
|
2149
2265
|
};
|
|
2150
2266
|
meta: Record<string, unknown> | null;
|
|
2151
2267
|
}>;
|
|
@@ -2533,7 +2649,7 @@ export declare const ResponseSchemas: {
|
|
|
2533
2649
|
}>;
|
|
2534
2650
|
readonly BorrowLendMarkets: z.ZodObject<{
|
|
2535
2651
|
data: z.ZodObject<{
|
|
2536
|
-
markets: z.
|
|
2652
|
+
markets: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2537
2653
|
is_active: z.ZodBoolean;
|
|
2538
2654
|
last_update_timestamp: z.ZodBigInt;
|
|
2539
2655
|
decimals: z.ZodNumber;
|
|
@@ -2649,9 +2765,61 @@ export declare const ResponseSchemas: {
|
|
|
2649
2765
|
cumulative_deposit_rate: string | number;
|
|
2650
2766
|
cumulative_borrow_rate: string | number;
|
|
2651
2767
|
accumulated_protocol_fees: string | number;
|
|
2652
|
-
}
|
|
2768
|
+
}>>, Map<number, {
|
|
2769
|
+
last_update_timestamp: bigint;
|
|
2770
|
+
is_active: boolean;
|
|
2771
|
+
decimals: number;
|
|
2772
|
+
risk_params: {
|
|
2773
|
+
weights: {
|
|
2774
|
+
asset_weight: import("decimal.js").Decimal;
|
|
2775
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
2776
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
2777
|
+
};
|
|
2778
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
2779
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
2780
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
2781
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
2782
|
+
};
|
|
2783
|
+
rate_params: {
|
|
2784
|
+
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
2785
|
+
min_borrow_rate: import("decimal.js").Decimal;
|
|
2786
|
+
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
2787
|
+
max_borrow_rate: import("decimal.js").Decimal;
|
|
2788
|
+
};
|
|
2789
|
+
available_amount: import("decimal.js").Decimal;
|
|
2790
|
+
borrowed_amount: import("decimal.js").Decimal;
|
|
2791
|
+
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
2792
|
+
cumulative_borrow_rate: import("decimal.js").Decimal;
|
|
2793
|
+
accumulated_protocol_fees: import("decimal.js").Decimal;
|
|
2794
|
+
}>, Record<string, {
|
|
2795
|
+
last_update_timestamp: bigint;
|
|
2796
|
+
is_active: boolean;
|
|
2797
|
+
decimals: number;
|
|
2798
|
+
risk_params: {
|
|
2799
|
+
weights: {
|
|
2800
|
+
asset_weight: string | number;
|
|
2801
|
+
initial_liability_weight: string | number;
|
|
2802
|
+
maintenance_liability_weight: string | number;
|
|
2803
|
+
};
|
|
2804
|
+
deposit_limit: string | number;
|
|
2805
|
+
borrow_limit: string | number;
|
|
2806
|
+
liquidation_reward_ratio: string | number;
|
|
2807
|
+
liability_liquidation_limit_ratio: string | number;
|
|
2808
|
+
};
|
|
2809
|
+
rate_params: {
|
|
2810
|
+
optimal_utilisation_rate: string | number;
|
|
2811
|
+
min_borrow_rate: string | number;
|
|
2812
|
+
optimal_borrow_rate: string | number;
|
|
2813
|
+
max_borrow_rate: string | number;
|
|
2814
|
+
};
|
|
2815
|
+
available_amount: string | number;
|
|
2816
|
+
borrowed_amount: string | number;
|
|
2817
|
+
cumulative_deposit_rate: string | number;
|
|
2818
|
+
cumulative_borrow_rate: string | number;
|
|
2819
|
+
accumulated_protocol_fees: string | number;
|
|
2820
|
+
}>>;
|
|
2653
2821
|
}, "strip", z.ZodTypeAny, {
|
|
2654
|
-
markets: {
|
|
2822
|
+
markets: Map<number, {
|
|
2655
2823
|
last_update_timestamp: bigint;
|
|
2656
2824
|
is_active: boolean;
|
|
2657
2825
|
decimals: number;
|
|
@@ -2677,9 +2845,9 @@ export declare const ResponseSchemas: {
|
|
|
2677
2845
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
2678
2846
|
cumulative_borrow_rate: import("decimal.js").Decimal;
|
|
2679
2847
|
accumulated_protocol_fees: import("decimal.js").Decimal;
|
|
2680
|
-
}
|
|
2848
|
+
}>;
|
|
2681
2849
|
}, {
|
|
2682
|
-
markets: {
|
|
2850
|
+
markets: Record<string, {
|
|
2683
2851
|
last_update_timestamp: bigint;
|
|
2684
2852
|
is_active: boolean;
|
|
2685
2853
|
decimals: number;
|
|
@@ -2705,12 +2873,12 @@ export declare const ResponseSchemas: {
|
|
|
2705
2873
|
cumulative_deposit_rate: string | number;
|
|
2706
2874
|
cumulative_borrow_rate: string | number;
|
|
2707
2875
|
accumulated_protocol_fees: string | number;
|
|
2708
|
-
}
|
|
2876
|
+
}>;
|
|
2709
2877
|
}>;
|
|
2710
2878
|
meta: z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Map<unknown, unknown>, Record<string, unknown>>>;
|
|
2711
2879
|
}, "strip", z.ZodTypeAny, {
|
|
2712
2880
|
data: {
|
|
2713
|
-
markets: {
|
|
2881
|
+
markets: Map<number, {
|
|
2714
2882
|
last_update_timestamp: bigint;
|
|
2715
2883
|
is_active: boolean;
|
|
2716
2884
|
decimals: number;
|
|
@@ -2736,12 +2904,12 @@ export declare const ResponseSchemas: {
|
|
|
2736
2904
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
2737
2905
|
cumulative_borrow_rate: import("decimal.js").Decimal;
|
|
2738
2906
|
accumulated_protocol_fees: import("decimal.js").Decimal;
|
|
2739
|
-
}
|
|
2907
|
+
}>;
|
|
2740
2908
|
};
|
|
2741
2909
|
meta: Map<unknown, unknown> | null;
|
|
2742
2910
|
}, {
|
|
2743
2911
|
data: {
|
|
2744
|
-
markets: {
|
|
2912
|
+
markets: Record<string, {
|
|
2745
2913
|
last_update_timestamp: bigint;
|
|
2746
2914
|
is_active: boolean;
|
|
2747
2915
|
decimals: number;
|
|
@@ -2767,13 +2935,13 @@ export declare const ResponseSchemas: {
|
|
|
2767
2935
|
cumulative_deposit_rate: string | number;
|
|
2768
2936
|
cumulative_borrow_rate: string | number;
|
|
2769
2937
|
accumulated_protocol_fees: string | number;
|
|
2770
|
-
}
|
|
2938
|
+
}>;
|
|
2771
2939
|
};
|
|
2772
2940
|
meta: Record<string, unknown> | null;
|
|
2773
2941
|
}>;
|
|
2774
2942
|
readonly PerpMarkets: z.ZodObject<{
|
|
2775
2943
|
data: z.ZodObject<{
|
|
2776
|
-
markets: z.
|
|
2944
|
+
markets: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2777
2945
|
is_active: z.ZodBoolean;
|
|
2778
2946
|
min_tick_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2779
2947
|
min_lot_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
@@ -2803,9 +2971,29 @@ export declare const ResponseSchemas: {
|
|
|
2803
2971
|
max_funding_rate_clamp: string | number;
|
|
2804
2972
|
impact_margin: string | number;
|
|
2805
2973
|
interest_rate: string | number;
|
|
2806
|
-
}
|
|
2974
|
+
}>>, Map<number, {
|
|
2975
|
+
is_active: boolean;
|
|
2976
|
+
min_tick_size: import("decimal.js").Decimal;
|
|
2977
|
+
min_lot_size: import("decimal.js").Decimal;
|
|
2978
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2979
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2980
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2981
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2982
|
+
impact_margin: import("decimal.js").Decimal;
|
|
2983
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2984
|
+
}>, Record<string, {
|
|
2985
|
+
is_active: boolean;
|
|
2986
|
+
min_tick_size: string | number;
|
|
2987
|
+
min_lot_size: string | number;
|
|
2988
|
+
min_interest_rate_clamp: string | number;
|
|
2989
|
+
max_interest_rate_clamp: string | number;
|
|
2990
|
+
min_funding_rate_clamp: string | number;
|
|
2991
|
+
max_funding_rate_clamp: string | number;
|
|
2992
|
+
impact_margin: string | number;
|
|
2993
|
+
interest_rate: string | number;
|
|
2994
|
+
}>>;
|
|
2807
2995
|
}, "strip", z.ZodTypeAny, {
|
|
2808
|
-
markets: {
|
|
2996
|
+
markets: Map<number, {
|
|
2809
2997
|
is_active: boolean;
|
|
2810
2998
|
min_tick_size: import("decimal.js").Decimal;
|
|
2811
2999
|
min_lot_size: import("decimal.js").Decimal;
|
|
@@ -2815,9 +3003,9 @@ export declare const ResponseSchemas: {
|
|
|
2815
3003
|
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2816
3004
|
impact_margin: import("decimal.js").Decimal;
|
|
2817
3005
|
interest_rate: import("decimal.js").Decimal;
|
|
2818
|
-
}
|
|
3006
|
+
}>;
|
|
2819
3007
|
}, {
|
|
2820
|
-
markets: {
|
|
3008
|
+
markets: Record<string, {
|
|
2821
3009
|
is_active: boolean;
|
|
2822
3010
|
min_tick_size: string | number;
|
|
2823
3011
|
min_lot_size: string | number;
|
|
@@ -2827,12 +3015,12 @@ export declare const ResponseSchemas: {
|
|
|
2827
3015
|
max_funding_rate_clamp: string | number;
|
|
2828
3016
|
impact_margin: string | number;
|
|
2829
3017
|
interest_rate: string | number;
|
|
2830
|
-
}
|
|
3018
|
+
}>;
|
|
2831
3019
|
}>;
|
|
2832
3020
|
meta: z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Map<unknown, unknown>, Record<string, unknown>>>;
|
|
2833
3021
|
}, "strip", z.ZodTypeAny, {
|
|
2834
3022
|
data: {
|
|
2835
|
-
markets: {
|
|
3023
|
+
markets: Map<number, {
|
|
2836
3024
|
is_active: boolean;
|
|
2837
3025
|
min_tick_size: import("decimal.js").Decimal;
|
|
2838
3026
|
min_lot_size: import("decimal.js").Decimal;
|
|
@@ -2842,12 +3030,12 @@ export declare const ResponseSchemas: {
|
|
|
2842
3030
|
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2843
3031
|
impact_margin: import("decimal.js").Decimal;
|
|
2844
3032
|
interest_rate: import("decimal.js").Decimal;
|
|
2845
|
-
}
|
|
3033
|
+
}>;
|
|
2846
3034
|
};
|
|
2847
3035
|
meta: Map<unknown, unknown> | null;
|
|
2848
3036
|
}, {
|
|
2849
3037
|
data: {
|
|
2850
|
-
markets: {
|
|
3038
|
+
markets: Record<string, {
|
|
2851
3039
|
is_active: boolean;
|
|
2852
3040
|
min_tick_size: string | number;
|
|
2853
3041
|
min_lot_size: string | number;
|
|
@@ -2857,7 +3045,7 @@ export declare const ResponseSchemas: {
|
|
|
2857
3045
|
max_funding_rate_clamp: string | number;
|
|
2858
3046
|
impact_margin: string | number;
|
|
2859
3047
|
interest_rate: string | number;
|
|
2860
|
-
}
|
|
3048
|
+
}>;
|
|
2861
3049
|
};
|
|
2862
3050
|
meta: Record<string, unknown> | null;
|
|
2863
3051
|
}>;
|