@mobula_labs/types 0.1.1 → 0.1.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/dist/cjs/index.cjs +3689 -3391
- package/dist/cjs/index.cjs.map +27 -20
- package/dist/esm/index.js +3689 -3391
- package/dist/esm/index.js.map +27 -20
- package/dist/index.d.ts +7 -0
- package/dist/misc/ApiKeysQueries.d.ts +4 -0
- package/dist/utils/schemas/BaseMessage.d.ts +6 -6
- package/dist/utils/schemas/CurrencySchema.d.ts +21 -0
- package/dist/utils/schemas/EnrichedHoldersData.d.ts +3 -3
- package/dist/utils/schemas/EnrichedMarketData.d.ts +453 -1567
- package/dist/utils/schemas/LLMSecuritySchemas.d.ts +260 -0
- package/dist/utils/schemas/MarketDetailsOutput.d.ts +22 -31
- package/dist/utils/schemas/SecuritySchemas.d.ts +3 -11
- package/dist/utils/schemas/TokenDetailsOutput.d.ts +9 -15
- package/dist/utils/schemas/WalletDeployerSchema.d.ts +30 -36
- package/dist/v1/all/BlockchainSchema.d.ts +6 -6
- package/dist/v1/market/MarketBlockchainPairsSchema.d.ts +10 -10
- package/dist/v1/market/MarketHistoryPairSchema.d.ts +8 -8
- package/dist/v1/market/MarketMultiDataSchema.d.ts +4 -4
- package/dist/v1/market/MarketMultiPricesSchema.d.ts +4 -4
- package/dist/v1/market/MarketPairSchema.d.ts +76 -106
- package/dist/v1/market/MarketPairsSchema.d.ts +12 -25
- package/dist/v1/market/MarketTradesPairSchema.d.ts +22 -2
- package/dist/v1/metadata/MetadataTrendingsSchema.d.ts +2 -2
- package/dist/v1/pulse/PulseSchema.d.ts +138 -294
- package/dist/v1/search/SearchSchema.d.ts +20 -24
- package/dist/v1/wallet/DeployerSchema.d.ts +17 -19
- package/dist/v1/wallet/WalletPortfolioSchema.d.ts +8 -24
- package/dist/v1/wallet/WalletTradesSchema.d.ts +13 -15
- package/dist/v1/wallet/WalletTransactionSchema.d.ts +8 -8
- package/dist/v2/asset/AssetDetailsSchema.d.ts +46 -60
- package/dist/v2/explorer/BlockQuerySchema.d.ts +23 -0
- package/dist/v2/market/MarketDetailsSchema.d.ts +61 -62
- package/dist/v2/perp/PerpBlocksSchema.d.ts +183 -0
- package/dist/v2/perp/PerpModels.d.ts +10 -10
- package/dist/v2/swap/SwapQuotingBatchOutput.d.ts +18 -18
- package/dist/v2/swap/SwapQuotingBatchSchema.d.ts +158 -0
- package/dist/v2/swap/SwapQuotingInstructionsOutput.d.ts +2044 -0
- package/dist/v2/swap/SwapQuotingOutput.d.ts +18 -18
- package/dist/v2/swap/SwapQuotingSchema.d.ts +90 -0
- package/dist/v2/token/TokenDetailsSchema.d.ts +33 -30
- package/dist/v2/token/TokenKlineBsPointSchema.d.ts +2 -6
- package/dist/v2/token/TokenMarketsSchema.d.ts +44 -62
- package/dist/v2/token/TokenPositionsSchema.d.ts +3 -0
- package/dist/v2/token/TokenSecurityOutput.d.ts +122 -0
- package/dist/v2/token/TokenSecurityQuery.d.ts +3 -0
- package/dist/v2/token/TokenTradesSchema.d.ts +242 -154
- package/dist/v2/wallet/WalletActivityV2Schema.d.ts +11 -15
- package/dist/v2/wallet/WalletDefiPositionsSchema.d.ts +12 -0
- package/dist/v2/wallet/WalletDeployerSchema.d.ts +17 -19
- package/dist/v2/wallet/WalletPerpsPositionsSchema.d.ts +6 -6
- package/dist/v2/wallet/WalletPositionsSchema.d.ts +3795 -38
- package/dist/v2/wallet/WalletTokenBalancesSchema.d.ts +6 -22
- package/dist/wss/BalancePayloadSchema.d.ts +6 -6
- package/dist/wss/FastTradePayloadSchema.d.ts +5 -0
- package/dist/wss/OhlcvPayloadSchema.d.ts +2 -2
- package/dist/wss/PairsPayloadSchema.d.ts +2 -2
- package/dist/wss/PositionPayloadSchema.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const tokenPositionSchema: z.ZodObject<{
|
|
3
|
-
token: z.ZodObject<
|
|
3
|
+
token: z.ZodObject<{
|
|
4
4
|
address: z.ZodString;
|
|
5
5
|
chainId: z.ZodString;
|
|
6
6
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -18,6 +18,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
18
18
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
19
19
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
20
20
|
logo: z.ZodNullable<z.ZodString>;
|
|
21
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
22
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
22
23
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
23
24
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -212,7 +213,6 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
212
213
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
213
214
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
214
215
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
215
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
216
216
|
description: z.ZodNullable<z.ZodString>;
|
|
217
217
|
socials: z.ZodObject<{
|
|
218
218
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -233,17 +233,9 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
233
233
|
others: Record<string, unknown> | null;
|
|
234
234
|
uri?: string | undefined;
|
|
235
235
|
}>;
|
|
236
|
-
security: z.ZodNullable<z.ZodObject<
|
|
237
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
238
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
239
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
241
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
242
237
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
|
|
244
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
245
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
246
|
-
}, {
|
|
238
|
+
} & {
|
|
247
239
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
248
240
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
249
241
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -260,7 +252,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
260
252
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
261
253
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
262
254
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
}
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
256
|
buyTax?: string | undefined;
|
|
265
257
|
sellTax?: string | undefined;
|
|
266
258
|
transferPausable?: boolean | undefined;
|
|
@@ -332,7 +324,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
332
324
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
333
325
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
334
326
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
335
|
-
}
|
|
327
|
+
} & {
|
|
336
328
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
329
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
330
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -354,7 +346,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
354
346
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
355
347
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
356
348
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
357
|
-
}
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
358
350
|
symbol: string | null;
|
|
359
351
|
description: string | null;
|
|
360
352
|
name: string | null;
|
|
@@ -637,6 +629,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
637
629
|
athDate?: Date | undefined;
|
|
638
630
|
atlDate?: Date | undefined;
|
|
639
631
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
632
|
+
originLogoUrl?: string | null | undefined;
|
|
640
633
|
}, {
|
|
641
634
|
symbol: string | null;
|
|
642
635
|
description: string | null;
|
|
@@ -831,6 +824,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
831
824
|
dexscreenerHeader?: string | null | undefined;
|
|
832
825
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
833
826
|
deployerMigrationsCount?: number | undefined;
|
|
827
|
+
originLogoUrl?: string | null | undefined;
|
|
834
828
|
rank?: number | null | undefined;
|
|
835
829
|
cexs?: string[] | undefined;
|
|
836
830
|
organicTrades1min?: number | undefined;
|
|
@@ -941,6 +935,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
941
935
|
balance: number;
|
|
942
936
|
realizedPnlUSD: number;
|
|
943
937
|
unrealizedPnlUSD: number;
|
|
938
|
+
amountUSD: number;
|
|
944
939
|
token: {
|
|
945
940
|
symbol: string | null;
|
|
946
941
|
description: string | null;
|
|
@@ -1224,8 +1219,8 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
1224
1219
|
athDate?: Date | undefined;
|
|
1225
1220
|
atlDate?: Date | undefined;
|
|
1226
1221
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
1222
|
+
originLogoUrl?: string | null | undefined;
|
|
1227
1223
|
};
|
|
1228
|
-
amountUSD: number;
|
|
1229
1224
|
rawBalance: string;
|
|
1230
1225
|
buys: number;
|
|
1231
1226
|
sells: number;
|
|
@@ -1242,6 +1237,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
1242
1237
|
balance: number;
|
|
1243
1238
|
realizedPnlUSD: number;
|
|
1244
1239
|
unrealizedPnlUSD: number;
|
|
1240
|
+
amountUSD: number;
|
|
1245
1241
|
token: {
|
|
1246
1242
|
symbol: string | null;
|
|
1247
1243
|
description: string | null;
|
|
@@ -1436,6 +1432,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
1436
1432
|
dexscreenerHeader?: string | null | undefined;
|
|
1437
1433
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
1438
1434
|
deployerMigrationsCount?: number | undefined;
|
|
1435
|
+
originLogoUrl?: string | null | undefined;
|
|
1439
1436
|
rank?: number | null | undefined;
|
|
1440
1437
|
cexs?: string[] | undefined;
|
|
1441
1438
|
organicTrades1min?: number | undefined;
|
|
@@ -1526,7 +1523,6 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
1526
1523
|
trendingScore12h?: number | undefined;
|
|
1527
1524
|
trendingScore24h?: number | undefined;
|
|
1528
1525
|
};
|
|
1529
|
-
amountUSD: number;
|
|
1530
1526
|
rawBalance: string;
|
|
1531
1527
|
buys: number;
|
|
1532
1528
|
sells: number;
|
|
@@ -1542,7 +1538,7 @@ export declare const tokenPositionSchema: z.ZodObject<{
|
|
|
1542
1538
|
}>;
|
|
1543
1539
|
export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
1544
1540
|
data: z.ZodArray<z.ZodObject<{
|
|
1545
|
-
token: z.ZodObject<
|
|
1541
|
+
token: z.ZodObject<{
|
|
1546
1542
|
address: z.ZodString;
|
|
1547
1543
|
chainId: z.ZodString;
|
|
1548
1544
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -1560,6 +1556,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1560
1556
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
1561
1557
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1562
1558
|
logo: z.ZodNullable<z.ZodString>;
|
|
1559
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1563
1560
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1564
1561
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1565
1562
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -1754,7 +1751,6 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1754
1751
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
1755
1752
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
1756
1753
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
1757
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
1758
1754
|
description: z.ZodNullable<z.ZodString>;
|
|
1759
1755
|
socials: z.ZodObject<{
|
|
1760
1756
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -1775,17 +1771,9 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1775
1771
|
others: Record<string, unknown> | null;
|
|
1776
1772
|
uri?: string | undefined;
|
|
1777
1773
|
}>;
|
|
1778
|
-
security: z.ZodNullable<z.ZodObject<
|
|
1779
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
1780
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
1781
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
1782
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
1783
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
1774
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
1784
1775
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
1785
|
-
|
|
1786
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
1787
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
1788
|
-
}, {
|
|
1776
|
+
} & {
|
|
1789
1777
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
1790
1778
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
1791
1779
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1802,7 +1790,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1802
1790
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
1803
1791
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
1804
1792
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
1805
|
-
}
|
|
1793
|
+
}, "strip", z.ZodTypeAny, {
|
|
1806
1794
|
buyTax?: string | undefined;
|
|
1807
1795
|
sellTax?: string | undefined;
|
|
1808
1796
|
transferPausable?: boolean | undefined;
|
|
@@ -1874,7 +1862,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1874
1862
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
1875
1863
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
1876
1864
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
1877
|
-
}
|
|
1865
|
+
} & {
|
|
1878
1866
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1879
1867
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1880
1868
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1896,7 +1884,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
1896
1884
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1897
1885
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1898
1886
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1899
|
-
}
|
|
1887
|
+
}, "strip", z.ZodTypeAny, {
|
|
1900
1888
|
symbol: string | null;
|
|
1901
1889
|
description: string | null;
|
|
1902
1890
|
name: string | null;
|
|
@@ -2179,6 +2167,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2179
2167
|
athDate?: Date | undefined;
|
|
2180
2168
|
atlDate?: Date | undefined;
|
|
2181
2169
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
2170
|
+
originLogoUrl?: string | null | undefined;
|
|
2182
2171
|
}, {
|
|
2183
2172
|
symbol: string | null;
|
|
2184
2173
|
description: string | null;
|
|
@@ -2373,6 +2362,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2373
2362
|
dexscreenerHeader?: string | null | undefined;
|
|
2374
2363
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
2375
2364
|
deployerMigrationsCount?: number | undefined;
|
|
2365
|
+
originLogoUrl?: string | null | undefined;
|
|
2376
2366
|
rank?: number | null | undefined;
|
|
2377
2367
|
cexs?: string[] | undefined;
|
|
2378
2368
|
organicTrades1min?: number | undefined;
|
|
@@ -2483,6 +2473,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2483
2473
|
balance: number;
|
|
2484
2474
|
realizedPnlUSD: number;
|
|
2485
2475
|
unrealizedPnlUSD: number;
|
|
2476
|
+
amountUSD: number;
|
|
2486
2477
|
token: {
|
|
2487
2478
|
symbol: string | null;
|
|
2488
2479
|
description: string | null;
|
|
@@ -2766,8 +2757,8 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2766
2757
|
athDate?: Date | undefined;
|
|
2767
2758
|
atlDate?: Date | undefined;
|
|
2768
2759
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
2760
|
+
originLogoUrl?: string | null | undefined;
|
|
2769
2761
|
};
|
|
2770
|
-
amountUSD: number;
|
|
2771
2762
|
rawBalance: string;
|
|
2772
2763
|
buys: number;
|
|
2773
2764
|
sells: number;
|
|
@@ -2784,6 +2775,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2784
2775
|
balance: number;
|
|
2785
2776
|
realizedPnlUSD: number;
|
|
2786
2777
|
unrealizedPnlUSD: number;
|
|
2778
|
+
amountUSD: number;
|
|
2787
2779
|
token: {
|
|
2788
2780
|
symbol: string | null;
|
|
2789
2781
|
description: string | null;
|
|
@@ -2978,6 +2970,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
2978
2970
|
dexscreenerHeader?: string | null | undefined;
|
|
2979
2971
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
2980
2972
|
deployerMigrationsCount?: number | undefined;
|
|
2973
|
+
originLogoUrl?: string | null | undefined;
|
|
2981
2974
|
rank?: number | null | undefined;
|
|
2982
2975
|
cexs?: string[] | undefined;
|
|
2983
2976
|
organicTrades1min?: number | undefined;
|
|
@@ -3068,7 +3061,6 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3068
3061
|
trendingScore12h?: number | undefined;
|
|
3069
3062
|
trendingScore24h?: number | undefined;
|
|
3070
3063
|
};
|
|
3071
|
-
amountUSD: number;
|
|
3072
3064
|
rawBalance: string;
|
|
3073
3065
|
buys: number;
|
|
3074
3066
|
sells: number;
|
|
@@ -3103,6 +3095,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3103
3095
|
balance: number;
|
|
3104
3096
|
realizedPnlUSD: number;
|
|
3105
3097
|
unrealizedPnlUSD: number;
|
|
3098
|
+
amountUSD: number;
|
|
3106
3099
|
token: {
|
|
3107
3100
|
symbol: string | null;
|
|
3108
3101
|
description: string | null;
|
|
@@ -3386,8 +3379,8 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3386
3379
|
athDate?: Date | undefined;
|
|
3387
3380
|
atlDate?: Date | undefined;
|
|
3388
3381
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
3382
|
+
originLogoUrl?: string | null | undefined;
|
|
3389
3383
|
};
|
|
3390
|
-
amountUSD: number;
|
|
3391
3384
|
rawBalance: string;
|
|
3392
3385
|
buys: number;
|
|
3393
3386
|
sells: number;
|
|
@@ -3412,6 +3405,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3412
3405
|
balance: number;
|
|
3413
3406
|
realizedPnlUSD: number;
|
|
3414
3407
|
unrealizedPnlUSD: number;
|
|
3408
|
+
amountUSD: number;
|
|
3415
3409
|
token: {
|
|
3416
3410
|
symbol: string | null;
|
|
3417
3411
|
description: string | null;
|
|
@@ -3606,6 +3600,7 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3606
3600
|
dexscreenerHeader?: string | null | undefined;
|
|
3607
3601
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
3608
3602
|
deployerMigrationsCount?: number | undefined;
|
|
3603
|
+
originLogoUrl?: string | null | undefined;
|
|
3609
3604
|
rank?: number | null | undefined;
|
|
3610
3605
|
cexs?: string[] | undefined;
|
|
3611
3606
|
organicTrades1min?: number | undefined;
|
|
@@ -3696,7 +3691,6 @@ export declare const walletDeployerOutputSchema: z.ZodObject<{
|
|
|
3696
3691
|
trendingScore12h?: number | undefined;
|
|
3697
3692
|
trendingScore24h?: number | undefined;
|
|
3698
3693
|
};
|
|
3699
|
-
amountUSD: number;
|
|
3700
3694
|
rawBalance: string;
|
|
3701
3695
|
buys: number;
|
|
3702
3696
|
sells: number;
|
|
@@ -11,17 +11,17 @@ export declare const BlockchainsResponseSchema: z.ZodObject<{
|
|
|
11
11
|
testnet: z.ZodOptional<z.ZodBoolean>;
|
|
12
12
|
multicall_contract: z.ZodOptional<z.ZodString>;
|
|
13
13
|
uniswapV3Factory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
|
-
eth: z.ZodOptional<z.ZodObject<
|
|
14
|
+
eth: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
name: z.ZodString;
|
|
16
16
|
symbol: z.ZodString;
|
|
17
17
|
address: z.ZodString;
|
|
18
18
|
type: z.ZodEnum<["eth", "stable", "other"]>;
|
|
19
19
|
decimals: z.ZodNumber;
|
|
20
20
|
denom: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}
|
|
21
|
+
} & {
|
|
22
22
|
logo: z.ZodString;
|
|
23
23
|
id: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
symbol: string;
|
|
26
26
|
type: "eth" | "stable" | "other";
|
|
27
27
|
name: string;
|
|
@@ -40,19 +40,19 @@ export declare const BlockchainsResponseSchema: z.ZodObject<{
|
|
|
40
40
|
id?: number | undefined;
|
|
41
41
|
denom?: string | undefined;
|
|
42
42
|
}>>;
|
|
43
|
-
stable: z.ZodOptional<z.ZodObject<
|
|
43
|
+
stable: z.ZodOptional<z.ZodObject<{
|
|
44
44
|
name: z.ZodString;
|
|
45
45
|
symbol: z.ZodString;
|
|
46
46
|
address: z.ZodString;
|
|
47
47
|
type: z.ZodEnum<["eth", "stable", "other"]>;
|
|
48
48
|
decimals: z.ZodNumber;
|
|
49
49
|
denom: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}
|
|
50
|
+
} & {
|
|
51
51
|
logo: z.ZodString;
|
|
52
52
|
blockchain: z.ZodString;
|
|
53
53
|
blockchains: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
contracts: z.ZodArray<z.ZodString, "many">;
|
|
55
|
-
}
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
symbol: string;
|
|
57
57
|
type: "eth" | "stable" | "other";
|
|
58
58
|
name: string;
|
|
@@ -68,7 +68,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
68
68
|
trades_24h: z.ZodNumber;
|
|
69
69
|
liquidity: z.ZodNumber;
|
|
70
70
|
pair: z.ZodObject<{
|
|
71
|
-
token0: z.ZodObject<
|
|
71
|
+
token0: z.ZodObject<{
|
|
72
72
|
address: z.ZodString;
|
|
73
73
|
chainId: z.ZodString;
|
|
74
74
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -116,7 +116,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
116
116
|
atl: z.ZodOptional<z.ZodNumber>;
|
|
117
117
|
athDate: z.ZodOptional<z.ZodDate>;
|
|
118
118
|
atlDate: z.ZodOptional<z.ZodDate>;
|
|
119
|
-
}
|
|
119
|
+
} & {
|
|
120
120
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
121
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
122
122
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -138,7 +138,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
138
138
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
139
139
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
140
140
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
-
}
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
symbol: string | null;
|
|
143
143
|
bonded_at: Date | null;
|
|
144
144
|
name: string | null;
|
|
@@ -265,7 +265,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
265
265
|
ath?: number | undefined;
|
|
266
266
|
atl?: number | undefined;
|
|
267
267
|
}>;
|
|
268
|
-
token1: z.ZodObject<
|
|
268
|
+
token1: z.ZodObject<{
|
|
269
269
|
address: z.ZodString;
|
|
270
270
|
chainId: z.ZodString;
|
|
271
271
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -313,7 +313,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
313
313
|
atl: z.ZodOptional<z.ZodNumber>;
|
|
314
314
|
athDate: z.ZodOptional<z.ZodDate>;
|
|
315
315
|
atlDate: z.ZodOptional<z.ZodDate>;
|
|
316
|
-
}
|
|
316
|
+
} & {
|
|
317
317
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
318
318
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
319
319
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -335,7 +335,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
335
335
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
336
336
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
337
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
|
-
}
|
|
338
|
+
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
symbol: string | null;
|
|
340
340
|
bonded_at: Date | null;
|
|
341
341
|
name: string | null;
|
|
@@ -851,6 +851,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
851
851
|
trades_24h: number;
|
|
852
852
|
created_at: Date | null;
|
|
853
853
|
holders_count: number;
|
|
854
|
+
last_trade: Date | null;
|
|
854
855
|
pair: {
|
|
855
856
|
type: string;
|
|
856
857
|
address: string;
|
|
@@ -1012,7 +1013,6 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1012
1013
|
atlDateToken0?: Date | undefined;
|
|
1013
1014
|
atlDateToken1?: Date | undefined;
|
|
1014
1015
|
};
|
|
1015
|
-
last_trade: Date | null;
|
|
1016
1016
|
}, {
|
|
1017
1017
|
source: string | null;
|
|
1018
1018
|
deployer: string | null;
|
|
@@ -1042,6 +1042,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1042
1042
|
trades_24h: number;
|
|
1043
1043
|
created_at: Date | null;
|
|
1044
1044
|
holders_count: number;
|
|
1045
|
+
last_trade: Date | null;
|
|
1045
1046
|
pair: {
|
|
1046
1047
|
type: string;
|
|
1047
1048
|
address: string;
|
|
@@ -1203,7 +1204,6 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1203
1204
|
atlDateToken0?: Date | undefined;
|
|
1204
1205
|
atlDateToken1?: Date | undefined;
|
|
1205
1206
|
};
|
|
1206
|
-
last_trade: Date | null;
|
|
1207
1207
|
}>, "many">;
|
|
1208
1208
|
factories: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1209
1209
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1236,6 +1236,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1236
1236
|
trades_24h: number;
|
|
1237
1237
|
created_at: Date | null;
|
|
1238
1238
|
holders_count: number;
|
|
1239
|
+
last_trade: Date | null;
|
|
1239
1240
|
pair: {
|
|
1240
1241
|
type: string;
|
|
1241
1242
|
address: string;
|
|
@@ -1397,7 +1398,6 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1397
1398
|
atlDateToken0?: Date | undefined;
|
|
1398
1399
|
atlDateToken1?: Date | undefined;
|
|
1399
1400
|
};
|
|
1400
|
-
last_trade: Date | null;
|
|
1401
1401
|
}[];
|
|
1402
1402
|
factories: Record<string, any>;
|
|
1403
1403
|
}, {
|
|
@@ -1430,6 +1430,7 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1430
1430
|
trades_24h: number;
|
|
1431
1431
|
created_at: Date | null;
|
|
1432
1432
|
holders_count: number;
|
|
1433
|
+
last_trade: Date | null;
|
|
1433
1434
|
pair: {
|
|
1434
1435
|
type: string;
|
|
1435
1436
|
address: string;
|
|
@@ -1591,7 +1592,6 @@ export declare const MarketBlockchainPairsResponseSchema: z.ZodObject<{
|
|
|
1591
1592
|
atlDateToken0?: Date | undefined;
|
|
1592
1593
|
atlDateToken1?: Date | undefined;
|
|
1593
1594
|
};
|
|
1594
|
-
last_trade: Date | null;
|
|
1595
1595
|
}[];
|
|
1596
1596
|
factories: Record<string, any>;
|
|
1597
1597
|
}>;
|
|
@@ -47,35 +47,35 @@ export declare const MarketHistoryPairResponseSchema: z.ZodObject<{
|
|
|
47
47
|
close: z.ZodNumber;
|
|
48
48
|
time: z.ZodNumber;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
volume: number;
|
|
51
|
-
open: number;
|
|
52
50
|
high: number;
|
|
53
51
|
low: number;
|
|
52
|
+
volume: number;
|
|
53
|
+
open: number;
|
|
54
54
|
close: number;
|
|
55
55
|
time: number;
|
|
56
56
|
}, {
|
|
57
|
-
volume: number;
|
|
58
|
-
open: number;
|
|
59
57
|
high: number;
|
|
60
58
|
low: number;
|
|
59
|
+
volume: number;
|
|
60
|
+
open: number;
|
|
61
61
|
close: number;
|
|
62
62
|
time: number;
|
|
63
63
|
}>, "many">;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
data: {
|
|
66
|
-
volume: number;
|
|
67
|
-
open: number;
|
|
68
66
|
high: number;
|
|
69
67
|
low: number;
|
|
68
|
+
volume: number;
|
|
69
|
+
open: number;
|
|
70
70
|
close: number;
|
|
71
71
|
time: number;
|
|
72
72
|
}[];
|
|
73
73
|
}, {
|
|
74
74
|
data: {
|
|
75
|
-
volume: number;
|
|
76
|
-
open: number;
|
|
77
75
|
high: number;
|
|
78
76
|
low: number;
|
|
77
|
+
volume: number;
|
|
78
|
+
open: number;
|
|
79
79
|
close: number;
|
|
80
80
|
time: number;
|
|
81
81
|
}[];
|
|
@@ -7,11 +7,11 @@ export declare const MarketMultiDataAssetParamsSchema: z.ZodObject<{
|
|
|
7
7
|
type: z.ZodEnum<["address", "name"]>;
|
|
8
8
|
value: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
type: "name" | "address";
|
|
11
10
|
value: string;
|
|
12
|
-
}, {
|
|
13
11
|
type: "name" | "address";
|
|
12
|
+
}, {
|
|
14
13
|
value: string;
|
|
14
|
+
type: "name" | "address";
|
|
15
15
|
}>, "many">]>>;
|
|
16
16
|
shouldFetchPriceChange: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"24h">, z.ZodBoolean]>>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20,8 +20,8 @@ export declare const MarketMultiDataAssetParamsSchema: z.ZodObject<{
|
|
|
20
20
|
ids?: string[] | undefined;
|
|
21
21
|
symbols?: string[] | undefined;
|
|
22
22
|
assets?: string | {
|
|
23
|
-
type: "name" | "address";
|
|
24
23
|
value: string;
|
|
24
|
+
type: "name" | "address";
|
|
25
25
|
}[] | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
blockchains?: string | string[] | undefined;
|
|
@@ -29,8 +29,8 @@ export declare const MarketMultiDataAssetParamsSchema: z.ZodObject<{
|
|
|
29
29
|
ids?: string | string[] | undefined;
|
|
30
30
|
symbols?: string | string[] | undefined;
|
|
31
31
|
assets?: string | {
|
|
32
|
-
type: "name" | "address";
|
|
33
32
|
value: string;
|
|
33
|
+
type: "name" | "address";
|
|
34
34
|
}[] | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export type MarketMultiDataAssetParams = z.input<typeof MarketMultiDataAssetParamsSchema>;
|
|
@@ -5,23 +5,23 @@ export declare const MarketMultiPricesParamsSchema: z.ZodObject<{
|
|
|
5
5
|
type: z.ZodEnum<["address", "name"]>;
|
|
6
6
|
value: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
type: "name" | "address";
|
|
9
8
|
value: string;
|
|
10
|
-
}, {
|
|
11
9
|
type: "name" | "address";
|
|
10
|
+
}, {
|
|
12
11
|
value: string;
|
|
12
|
+
type: "name" | "address";
|
|
13
13
|
}>, "many">]>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
blockchains?: string[] | undefined;
|
|
16
16
|
assets?: string | {
|
|
17
|
-
type: "name" | "address";
|
|
18
17
|
value: string;
|
|
18
|
+
type: "name" | "address";
|
|
19
19
|
}[] | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
blockchains?: string | string[] | undefined;
|
|
22
22
|
assets?: string | {
|
|
23
|
-
type: "name" | "address";
|
|
24
23
|
value: string;
|
|
24
|
+
type: "name" | "address";
|
|
25
25
|
}[] | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export type MarketMultiPricesParams = z.input<typeof MarketMultiPricesParamsSchema>;
|