@crypticdot/defituna-api 1.10.12 → 1.10.14

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/index.d.mts CHANGED
@@ -66,6 +66,86 @@ declare const Pool$1: z$1.ZodObject<{
66
66
  }, z$1.core.$strip>>>;
67
67
  }, z$1.core.$strip>;
68
68
 
69
+ declare const Market$1: z.ZodObject<{
70
+ address: z.ZodString;
71
+ addressLookupTable: z.ZodString;
72
+ maxLeverage: z.ZodNumber;
73
+ maxSwapSlippage: z.ZodNumber;
74
+ protocolFee: z.ZodNumber;
75
+ protocolFeeOnCollateral: z.ZodNumber;
76
+ liquidationFee: z.ZodNumber;
77
+ liquidationThreshold: z.ZodNumber;
78
+ oraclePriceDeviationThreshold: z.ZodNumber;
79
+ rebalanceProtocolFee: z.ZodNumber;
80
+ borrowedFundsA: z.ZodObject<{
81
+ amount: z.ZodCoercedBigInt<unknown>;
82
+ usd: z.ZodNumber;
83
+ }, z.core.$strip>;
84
+ borrowedFundsB: z.ZodObject<{
85
+ amount: z.ZodCoercedBigInt<unknown>;
86
+ usd: z.ZodNumber;
87
+ }, z.core.$strip>;
88
+ borrowLimitA: z.ZodObject<{
89
+ amount: z.ZodCoercedBigInt<unknown>;
90
+ usd: z.ZodNumber;
91
+ }, z.core.$strip>;
92
+ borrowLimitB: z.ZodObject<{
93
+ amount: z.ZodCoercedBigInt<unknown>;
94
+ usd: z.ZodNumber;
95
+ }, z.core.$strip>;
96
+ maxSpotPositionSizeA: z.ZodObject<{
97
+ amount: z.ZodCoercedBigInt<unknown>;
98
+ usd: z.ZodNumber;
99
+ }, z.core.$strip>;
100
+ maxSpotPositionSizeB: z.ZodObject<{
101
+ amount: z.ZodCoercedBigInt<unknown>;
102
+ usd: z.ZodNumber;
103
+ }, z.core.$strip>;
104
+ pool: z.ZodObject<{
105
+ address: z.ZodString;
106
+ provider: z.ZodEnum<{
107
+ orca: "orca";
108
+ fusion: "fusion";
109
+ }>;
110
+ mintA: z.ZodObject<{
111
+ address: z.ZodString;
112
+ symbol: z.ZodString;
113
+ name: z.ZodString;
114
+ logo: z.ZodString;
115
+ decimals: z.ZodNumber;
116
+ }, z.core.$strip>;
117
+ mintB: z.ZodObject<{
118
+ address: z.ZodString;
119
+ symbol: z.ZodString;
120
+ name: z.ZodString;
121
+ logo: z.ZodString;
122
+ decimals: z.ZodNumber;
123
+ }, z.core.$strip>;
124
+ tokenAVault: z.ZodString;
125
+ tokenBVault: z.ZodString;
126
+ tickSpacing: z.ZodNumber;
127
+ feeRate: z.ZodNumber;
128
+ protocolFeeRate: z.ZodNumber;
129
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
130
+ liquidity: z.ZodCoercedBigInt<unknown>;
131
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
132
+ price: z.ZodNumber;
133
+ tickCurrentIndex: z.ZodNumber;
134
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
135
+ tvlUsd: z.ZodCoercedNumber<unknown>;
136
+ groups: z.ZodObject<{
137
+ "24h": z.ZodObject<{
138
+ volumeUsd: z.ZodNumber;
139
+ feesUsd: z.ZodNumber;
140
+ priceChange: z.ZodNumber;
141
+ }, z.core.$strip>;
142
+ }, z.core.$strip>;
143
+ }, z.core.$strip>>>;
144
+ }, z.core.$strip>;
145
+ disabled: z.ZodBoolean;
146
+ createdAt: z.ZodCoercedDate<unknown>;
147
+ }, z.core.$strip>;
148
+
69
149
  declare const LimitOrderState: {
70
150
  readonly OPEN: "open";
71
151
  readonly PARTIALLY_FILLED: "partially_filled";
@@ -1072,44 +1152,20 @@ declare const TunaPositionPoolTokenSchema: z$1.ZodEnum<{
1072
1152
  [x: string]: string;
1073
1153
  }>;
1074
1154
 
1075
- declare const PoolSnapshot: z$1.ZodObject<{
1076
- liquidity: z$1.ZodCoercedBigInt<unknown>;
1077
- tickCurrentIndex: z$1.ZodNumber;
1078
- price: z$1.ZodNumber;
1079
- sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1080
- tvl: z$1.ZodNumber;
1081
- priceChange24H: z$1.ZodNumber;
1082
- volume24H: z$1.ZodNumber;
1083
- fees24H: z$1.ZodNumber;
1084
- borrowedFundsA: z$1.ZodObject<{
1085
- amount: z$1.ZodCoercedBigInt<unknown>;
1086
- usd: z$1.ZodNumber;
1087
- }, z$1.core.$strip>;
1088
- borrowedFundsB: z$1.ZodObject<{
1089
- amount: z$1.ZodCoercedBigInt<unknown>;
1090
- usd: z$1.ZodNumber;
1091
- }, z$1.core.$strip>;
1092
- borrowLimitA: z$1.ZodObject<{
1093
- amount: z$1.ZodCoercedBigInt<unknown>;
1094
- usd: z$1.ZodNumber;
1095
- }, z$1.core.$strip>;
1096
- borrowLimitB: z$1.ZodObject<{
1097
- amount: z$1.ZodCoercedBigInt<unknown>;
1098
- usd: z$1.ZodNumber;
1099
- }, z$1.core.$strip>;
1100
- }, z$1.core.$strip>;
1101
1155
  declare const StateSnapshot$1: z$1.ZodObject<{
1102
1156
  slot: z$1.ZodCoercedBigInt<unknown>;
1103
1157
  blockTime: z$1.ZodCoercedDate<unknown>;
1104
- pools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1105
- liquidity: z$1.ZodCoercedBigInt<unknown>;
1106
- tickCurrentIndex: z$1.ZodNumber;
1107
- price: z$1.ZodNumber;
1108
- sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1109
- tvl: z$1.ZodNumber;
1110
- priceChange24H: z$1.ZodNumber;
1111
- volume24H: z$1.ZodNumber;
1112
- fees24H: z$1.ZodNumber;
1158
+ markets: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1159
+ address: z$1.ZodString;
1160
+ addressLookupTable: z$1.ZodString;
1161
+ maxLeverage: z$1.ZodNumber;
1162
+ maxSwapSlippage: z$1.ZodNumber;
1163
+ protocolFee: z$1.ZodNumber;
1164
+ protocolFeeOnCollateral: z$1.ZodNumber;
1165
+ liquidationFee: z$1.ZodNumber;
1166
+ liquidationThreshold: z$1.ZodNumber;
1167
+ oraclePriceDeviationThreshold: z$1.ZodNumber;
1168
+ rebalanceProtocolFee: z$1.ZodNumber;
1113
1169
  borrowedFundsA: z$1.ZodObject<{
1114
1170
  amount: z$1.ZodCoercedBigInt<unknown>;
1115
1171
  usd: z$1.ZodNumber;
@@ -1126,6 +1182,57 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1126
1182
  amount: z$1.ZodCoercedBigInt<unknown>;
1127
1183
  usd: z$1.ZodNumber;
1128
1184
  }, z$1.core.$strip>;
1185
+ maxSpotPositionSizeA: z$1.ZodObject<{
1186
+ amount: z$1.ZodCoercedBigInt<unknown>;
1187
+ usd: z$1.ZodNumber;
1188
+ }, z$1.core.$strip>;
1189
+ maxSpotPositionSizeB: z$1.ZodObject<{
1190
+ amount: z$1.ZodCoercedBigInt<unknown>;
1191
+ usd: z$1.ZodNumber;
1192
+ }, z$1.core.$strip>;
1193
+ pool: z$1.ZodObject<{
1194
+ address: z$1.ZodString;
1195
+ provider: z$1.ZodEnum<{
1196
+ orca: "orca";
1197
+ fusion: "fusion";
1198
+ }>;
1199
+ mintA: z$1.ZodObject<{
1200
+ address: z$1.ZodString;
1201
+ symbol: z$1.ZodString;
1202
+ name: z$1.ZodString;
1203
+ logo: z$1.ZodString;
1204
+ decimals: z$1.ZodNumber;
1205
+ }, z$1.core.$strip>;
1206
+ mintB: z$1.ZodObject<{
1207
+ address: z$1.ZodString;
1208
+ symbol: z$1.ZodString;
1209
+ name: z$1.ZodString;
1210
+ logo: z$1.ZodString;
1211
+ decimals: z$1.ZodNumber;
1212
+ }, z$1.core.$strip>;
1213
+ tokenAVault: z$1.ZodString;
1214
+ tokenBVault: z$1.ZodString;
1215
+ tickSpacing: z$1.ZodNumber;
1216
+ feeRate: z$1.ZodNumber;
1217
+ protocolFeeRate: z$1.ZodNumber;
1218
+ olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
1219
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1220
+ sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1221
+ price: z$1.ZodNumber;
1222
+ tickCurrentIndex: z$1.ZodNumber;
1223
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1224
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
1225
+ groups: z$1.ZodObject<{
1226
+ "24h": z$1.ZodObject<{
1227
+ volumeUsd: z$1.ZodNumber;
1228
+ feesUsd: z$1.ZodNumber;
1229
+ priceChange: z$1.ZodNumber;
1230
+ }, z$1.core.$strip>;
1231
+ }, z$1.core.$strip>;
1232
+ }, z$1.core.$strip>>>;
1233
+ }, z$1.core.$strip>;
1234
+ disabled: z$1.ZodBoolean;
1235
+ createdAt: z$1.ZodCoercedDate<unknown>;
1129
1236
  }, z$1.core.$strip>>>;
1130
1237
  tunaSpotPositions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1131
1238
  address: z$1.ZodString;
@@ -1432,7 +1539,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1432
1539
  openedAt: z$1.ZodCoercedDate<unknown>;
1433
1540
  closedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
1434
1541
  }, z$1.core.$strip>>>;
1435
- orderBooks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1542
+ orderBooks: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1436
1543
  entries: z$1.ZodArray<z$1.ZodObject<{
1437
1544
  concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1438
1545
  concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
@@ -1547,7 +1654,6 @@ declare const StakingPositionHistoryActionType$1: {
1547
1654
  };
1548
1655
  declare const PoolSubscriptionTopic: {
1549
1656
  readonly ORDER_BOOK: "order_book";
1550
- readonly POOL: "pool";
1551
1657
  readonly POOL_SWAPS: "pool_swaps";
1552
1658
  };
1553
1659
  declare const WalletSubscriptionTopic: {
@@ -1618,7 +1724,6 @@ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<{
1618
1724
  compound_rewards: "compound_rewards";
1619
1725
  }>;
1620
1726
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<{
1621
- pool: "pool";
1622
1727
  order_book: "order_book";
1623
1728
  pool_swaps: "pool_swaps";
1624
1729
  }>;
@@ -1634,85 +1739,6 @@ declare const WalletSubscriptionTopicSchema: z.ZodEnum<{
1634
1739
  declare const PaginationMeta$1: z.ZodObject<{
1635
1740
  total: z.ZodNumber;
1636
1741
  }, z.core.$strip>;
1637
- declare const Market$1: z.ZodObject<{
1638
- address: z.ZodString;
1639
- addressLookupTable: z.ZodString;
1640
- maxLeverage: z.ZodNumber;
1641
- maxSwapSlippage: z.ZodNumber;
1642
- protocolFee: z.ZodNumber;
1643
- protocolFeeOnCollateral: z.ZodNumber;
1644
- liquidationFee: z.ZodNumber;
1645
- liquidationThreshold: z.ZodNumber;
1646
- oraclePriceDeviationThreshold: z.ZodNumber;
1647
- rebalanceProtocolFee: z.ZodNumber;
1648
- borrowedFundsA: z.ZodObject<{
1649
- amount: z.ZodCoercedBigInt<unknown>;
1650
- usd: z.ZodNumber;
1651
- }, z.core.$strip>;
1652
- borrowedFundsB: z.ZodObject<{
1653
- amount: z.ZodCoercedBigInt<unknown>;
1654
- usd: z.ZodNumber;
1655
- }, z.core.$strip>;
1656
- borrowLimitA: z.ZodObject<{
1657
- amount: z.ZodCoercedBigInt<unknown>;
1658
- usd: z.ZodNumber;
1659
- }, z.core.$strip>;
1660
- borrowLimitB: z.ZodObject<{
1661
- amount: z.ZodCoercedBigInt<unknown>;
1662
- usd: z.ZodNumber;
1663
- }, z.core.$strip>;
1664
- maxSpotPositionSizeA: z.ZodObject<{
1665
- amount: z.ZodCoercedBigInt<unknown>;
1666
- usd: z.ZodNumber;
1667
- }, z.core.$strip>;
1668
- maxSpotPositionSizeB: z.ZodObject<{
1669
- amount: z.ZodCoercedBigInt<unknown>;
1670
- usd: z.ZodNumber;
1671
- }, z.core.$strip>;
1672
- pool: z.ZodObject<{
1673
- address: z.ZodString;
1674
- provider: z.ZodEnum<{
1675
- orca: "orca";
1676
- fusion: "fusion";
1677
- }>;
1678
- mintA: z.ZodObject<{
1679
- address: z.ZodString;
1680
- symbol: z.ZodString;
1681
- name: z.ZodString;
1682
- logo: z.ZodString;
1683
- decimals: z.ZodNumber;
1684
- }, z.core.$strip>;
1685
- mintB: z.ZodObject<{
1686
- address: z.ZodString;
1687
- symbol: z.ZodString;
1688
- name: z.ZodString;
1689
- logo: z.ZodString;
1690
- decimals: z.ZodNumber;
1691
- }, z.core.$strip>;
1692
- tokenAVault: z.ZodString;
1693
- tokenBVault: z.ZodString;
1694
- tickSpacing: z.ZodNumber;
1695
- feeRate: z.ZodNumber;
1696
- protocolFeeRate: z.ZodNumber;
1697
- olpFeeRate: z.ZodNullable<z.ZodNumber>;
1698
- liquidity: z.ZodCoercedBigInt<unknown>;
1699
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
1700
- price: z.ZodNumber;
1701
- tickCurrentIndex: z.ZodNumber;
1702
- stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1703
- tvlUsd: z.ZodCoercedNumber<unknown>;
1704
- groups: z.ZodObject<{
1705
- "24h": z.ZodObject<{
1706
- volumeUsd: z.ZodNumber;
1707
- feesUsd: z.ZodNumber;
1708
- priceChange: z.ZodNumber;
1709
- }, z.core.$strip>;
1710
- }, z.core.$strip>;
1711
- }, z.core.$strip>>>;
1712
- }, z.core.$strip>;
1713
- disabled: z.ZodBoolean;
1714
- createdAt: z.ZodCoercedDate<unknown>;
1715
- }, z.core.$strip>;
1716
1742
  declare const TokenOraclePrice$1: z.ZodObject<{
1717
1743
  mint: z.ZodString;
1718
1744
  price: z.ZodCoercedBigInt<unknown>;
@@ -2793,15 +2819,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
2793
2819
  data: z.ZodObject<{
2794
2820
  slot: z.ZodCoercedBigInt<unknown>;
2795
2821
  blockTime: z.ZodCoercedDate<unknown>;
2796
- pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2797
- liquidity: z.ZodCoercedBigInt<unknown>;
2798
- tickCurrentIndex: z.ZodNumber;
2799
- price: z.ZodNumber;
2800
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
2801
- tvl: z.ZodNumber;
2802
- priceChange24H: z.ZodNumber;
2803
- volume24H: z.ZodNumber;
2804
- fees24H: z.ZodNumber;
2822
+ markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2823
+ address: z.ZodString;
2824
+ addressLookupTable: z.ZodString;
2825
+ maxLeverage: z.ZodNumber;
2826
+ maxSwapSlippage: z.ZodNumber;
2827
+ protocolFee: z.ZodNumber;
2828
+ protocolFeeOnCollateral: z.ZodNumber;
2829
+ liquidationFee: z.ZodNumber;
2830
+ liquidationThreshold: z.ZodNumber;
2831
+ oraclePriceDeviationThreshold: z.ZodNumber;
2832
+ rebalanceProtocolFee: z.ZodNumber;
2805
2833
  borrowedFundsA: z.ZodObject<{
2806
2834
  amount: z.ZodCoercedBigInt<unknown>;
2807
2835
  usd: z.ZodNumber;
@@ -2818,6 +2846,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
2818
2846
  amount: z.ZodCoercedBigInt<unknown>;
2819
2847
  usd: z.ZodNumber;
2820
2848
  }, z.core.$strip>;
2849
+ maxSpotPositionSizeA: z.ZodObject<{
2850
+ amount: z.ZodCoercedBigInt<unknown>;
2851
+ usd: z.ZodNumber;
2852
+ }, z.core.$strip>;
2853
+ maxSpotPositionSizeB: z.ZodObject<{
2854
+ amount: z.ZodCoercedBigInt<unknown>;
2855
+ usd: z.ZodNumber;
2856
+ }, z.core.$strip>;
2857
+ pool: z.ZodObject<{
2858
+ address: z.ZodString;
2859
+ provider: z.ZodEnum<{
2860
+ orca: "orca";
2861
+ fusion: "fusion";
2862
+ }>;
2863
+ mintA: z.ZodObject<{
2864
+ address: z.ZodString;
2865
+ symbol: z.ZodString;
2866
+ name: z.ZodString;
2867
+ logo: z.ZodString;
2868
+ decimals: z.ZodNumber;
2869
+ }, z.core.$strip>;
2870
+ mintB: z.ZodObject<{
2871
+ address: z.ZodString;
2872
+ symbol: z.ZodString;
2873
+ name: z.ZodString;
2874
+ logo: z.ZodString;
2875
+ decimals: z.ZodNumber;
2876
+ }, z.core.$strip>;
2877
+ tokenAVault: z.ZodString;
2878
+ tokenBVault: z.ZodString;
2879
+ tickSpacing: z.ZodNumber;
2880
+ feeRate: z.ZodNumber;
2881
+ protocolFeeRate: z.ZodNumber;
2882
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2883
+ liquidity: z.ZodCoercedBigInt<unknown>;
2884
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2885
+ price: z.ZodNumber;
2886
+ tickCurrentIndex: z.ZodNumber;
2887
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2888
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2889
+ groups: z.ZodObject<{
2890
+ "24h": z.ZodObject<{
2891
+ volumeUsd: z.ZodNumber;
2892
+ feesUsd: z.ZodNumber;
2893
+ priceChange: z.ZodNumber;
2894
+ }, z.core.$strip>;
2895
+ }, z.core.$strip>;
2896
+ }, z.core.$strip>>>;
2897
+ }, z.core.$strip>;
2898
+ disabled: z.ZodBoolean;
2899
+ createdAt: z.ZodCoercedDate<unknown>;
2821
2900
  }, z.core.$strip>>>;
2822
2901
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2823
2902
  address: z.ZodString;
@@ -3124,7 +3203,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
3124
3203
  openedAt: z.ZodCoercedDate<unknown>;
3125
3204
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3126
3205
  }, z.core.$strip>>>;
3127
- orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3206
+ orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3128
3207
  entries: z.ZodArray<z.ZodObject<{
3129
3208
  concentratedAmount: z.ZodCoercedBigInt<unknown>;
3130
3209
  concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
@@ -3161,15 +3240,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
3161
3240
  data: z.ZodObject<{
3162
3241
  slot: z.ZodCoercedBigInt<unknown>;
3163
3242
  blockTime: z.ZodCoercedDate<unknown>;
3164
- pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3165
- liquidity: z.ZodCoercedBigInt<unknown>;
3166
- tickCurrentIndex: z.ZodNumber;
3167
- price: z.ZodNumber;
3168
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
3169
- tvl: z.ZodNumber;
3170
- priceChange24H: z.ZodNumber;
3171
- volume24H: z.ZodNumber;
3172
- fees24H: z.ZodNumber;
3243
+ markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
3244
+ address: z.ZodString;
3245
+ addressLookupTable: z.ZodString;
3246
+ maxLeverage: z.ZodNumber;
3247
+ maxSwapSlippage: z.ZodNumber;
3248
+ protocolFee: z.ZodNumber;
3249
+ protocolFeeOnCollateral: z.ZodNumber;
3250
+ liquidationFee: z.ZodNumber;
3251
+ liquidationThreshold: z.ZodNumber;
3252
+ oraclePriceDeviationThreshold: z.ZodNumber;
3253
+ rebalanceProtocolFee: z.ZodNumber;
3173
3254
  borrowedFundsA: z.ZodObject<{
3174
3255
  amount: z.ZodCoercedBigInt<unknown>;
3175
3256
  usd: z.ZodNumber;
@@ -3186,6 +3267,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
3186
3267
  amount: z.ZodCoercedBigInt<unknown>;
3187
3268
  usd: z.ZodNumber;
3188
3269
  }, z.core.$strip>;
3270
+ maxSpotPositionSizeA: z.ZodObject<{
3271
+ amount: z.ZodCoercedBigInt<unknown>;
3272
+ usd: z.ZodNumber;
3273
+ }, z.core.$strip>;
3274
+ maxSpotPositionSizeB: z.ZodObject<{
3275
+ amount: z.ZodCoercedBigInt<unknown>;
3276
+ usd: z.ZodNumber;
3277
+ }, z.core.$strip>;
3278
+ pool: z.ZodObject<{
3279
+ address: z.ZodString;
3280
+ provider: z.ZodEnum<{
3281
+ orca: "orca";
3282
+ fusion: "fusion";
3283
+ }>;
3284
+ mintA: z.ZodObject<{
3285
+ address: z.ZodString;
3286
+ symbol: z.ZodString;
3287
+ name: z.ZodString;
3288
+ logo: z.ZodString;
3289
+ decimals: z.ZodNumber;
3290
+ }, z.core.$strip>;
3291
+ mintB: z.ZodObject<{
3292
+ address: z.ZodString;
3293
+ symbol: z.ZodString;
3294
+ name: z.ZodString;
3295
+ logo: z.ZodString;
3296
+ decimals: z.ZodNumber;
3297
+ }, z.core.$strip>;
3298
+ tokenAVault: z.ZodString;
3299
+ tokenBVault: z.ZodString;
3300
+ tickSpacing: z.ZodNumber;
3301
+ feeRate: z.ZodNumber;
3302
+ protocolFeeRate: z.ZodNumber;
3303
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3304
+ liquidity: z.ZodCoercedBigInt<unknown>;
3305
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3306
+ price: z.ZodNumber;
3307
+ tickCurrentIndex: z.ZodNumber;
3308
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3309
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3310
+ groups: z.ZodObject<{
3311
+ "24h": z.ZodObject<{
3312
+ volumeUsd: z.ZodNumber;
3313
+ feesUsd: z.ZodNumber;
3314
+ priceChange: z.ZodNumber;
3315
+ }, z.core.$strip>;
3316
+ }, z.core.$strip>;
3317
+ }, z.core.$strip>>>;
3318
+ }, z.core.$strip>;
3319
+ disabled: z.ZodBoolean;
3320
+ createdAt: z.ZodCoercedDate<unknown>;
3189
3321
  }, z.core.$strip>>>;
3190
3322
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3191
3323
  address: z.ZodString;
@@ -3492,7 +3624,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
3492
3624
  openedAt: z.ZodCoercedDate<unknown>;
3493
3625
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3494
3626
  }, z.core.$strip>>>;
3495
- orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3627
+ orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3496
3628
  entries: z.ZodArray<z.ZodObject<{
3497
3629
  concentratedAmount: z.ZodCoercedBigInt<unknown>;
3498
3630
  concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
@@ -3539,7 +3671,6 @@ declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
3539
3671
  declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
3540
3672
  declare const schemas_PoolProvider: typeof PoolProvider;
3541
3673
  declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
3542
- declare const schemas_PoolSnapshot: typeof PoolSnapshot;
3543
3674
  declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
3544
3675
  declare const schemas_PoolSubscriptionTopicSchema: typeof PoolSubscriptionTopicSchema;
3545
3676
  declare const schemas_PoolSwapNotification: typeof PoolSwapNotification;
@@ -3583,7 +3714,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
3583
3714
  declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
3584
3715
  declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
3585
3716
  declare namespace schemas {
3586
- export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSnapshot as PoolSnapshot, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
3717
+ export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
3587
3718
  }
3588
3719
 
3589
3720
  type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;
@@ -3644,6 +3775,7 @@ type SubscriptionPayload = {
3644
3775
  orderBookPriceStep?: number;
3645
3776
  isInverted?: boolean;
3646
3777
  }[];
3778
+ markets?: string[];
3647
3779
  wallet?: {
3648
3780
  address: string;
3649
3781
  topics: WalletSubscriptionTopicType[];