@mobula_labs/types 0.1.0 → 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/README.md +14 -14
- 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 +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const AssetTokenDetailsOutput: z.ZodObject<
|
|
2
|
+
export declare const AssetTokenDetailsOutput: z.ZodObject<{
|
|
3
3
|
address: z.ZodString;
|
|
4
4
|
chainId: z.ZodString;
|
|
5
5
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -17,6 +17,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
17
17
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
18
18
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
19
19
|
logo: z.ZodNullable<z.ZodString>;
|
|
20
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
21
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
21
22
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
22
23
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -211,7 +212,6 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
211
212
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
212
213
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
213
214
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
214
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
215
215
|
description: z.ZodNullable<z.ZodString>;
|
|
216
216
|
socials: z.ZodObject<{
|
|
217
217
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -232,17 +232,9 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
232
232
|
others: Record<string, unknown> | null;
|
|
233
233
|
uri?: string | undefined;
|
|
234
234
|
}>;
|
|
235
|
-
security: z.ZodNullable<z.ZodObject<
|
|
236
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
237
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
238
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
240
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
241
236
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
-
|
|
243
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
244
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}, {
|
|
237
|
+
} & {
|
|
246
238
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
247
239
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
248
240
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -259,7 +251,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
259
251
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
260
252
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
261
253
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
-
}
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
255
|
buyTax?: string | undefined;
|
|
264
256
|
sellTax?: string | undefined;
|
|
265
257
|
transferPausable?: boolean | undefined;
|
|
@@ -331,7 +323,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
331
323
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
332
324
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
333
325
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
334
|
-
}
|
|
326
|
+
} & {
|
|
335
327
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
336
328
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
329
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -353,7 +345,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
353
345
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
354
346
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
355
347
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
356
|
-
}
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
349
|
symbol: string | null;
|
|
358
350
|
description: string | null;
|
|
359
351
|
name: string | null;
|
|
@@ -636,6 +628,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
636
628
|
athDate?: Date | undefined;
|
|
637
629
|
atlDate?: Date | undefined;
|
|
638
630
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
631
|
+
originLogoUrl?: string | null | undefined;
|
|
639
632
|
}, {
|
|
640
633
|
symbol: string | null;
|
|
641
634
|
description: string | null;
|
|
@@ -830,6 +823,7 @@ export declare const AssetTokenDetailsOutput: z.ZodObject<z.objectUtil.extendSha
|
|
|
830
823
|
dexscreenerHeader?: string | null | undefined;
|
|
831
824
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
832
825
|
deployerMigrationsCount?: number | undefined;
|
|
826
|
+
originLogoUrl?: string | null | undefined;
|
|
833
827
|
rank?: number | null | undefined;
|
|
834
828
|
cexs?: string[] | undefined;
|
|
835
829
|
organicTrades1min?: number | undefined;
|
|
@@ -1130,7 +1124,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1130
1124
|
marketCapDilutedUSD?: number | undefined;
|
|
1131
1125
|
isStablecoin?: boolean | undefined;
|
|
1132
1126
|
}>;
|
|
1133
|
-
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<
|
|
1127
|
+
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
1134
1128
|
address: z.ZodString;
|
|
1135
1129
|
chainId: z.ZodString;
|
|
1136
1130
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -1148,6 +1142,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1148
1142
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
1149
1143
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1150
1144
|
logo: z.ZodNullable<z.ZodString>;
|
|
1145
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
1146
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1152
1147
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1153
1148
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -1342,7 +1337,6 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1342
1337
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
1343
1338
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
1344
1339
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
1345
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
1346
1340
|
description: z.ZodNullable<z.ZodString>;
|
|
1347
1341
|
socials: z.ZodObject<{
|
|
1348
1342
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -1363,17 +1357,9 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1363
1357
|
others: Record<string, unknown> | null;
|
|
1364
1358
|
uri?: string | undefined;
|
|
1365
1359
|
}>;
|
|
1366
|
-
security: z.ZodNullable<z.ZodObject<
|
|
1367
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
1368
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
1369
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
1370
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
1371
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
1360
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
1372
1361
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
1373
|
-
|
|
1374
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
}, {
|
|
1362
|
+
} & {
|
|
1377
1363
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
1378
1364
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
1379
1365
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1390,7 +1376,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1390
1376
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
1391
1377
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
1392
1378
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
1393
|
-
}
|
|
1379
|
+
}, "strip", z.ZodTypeAny, {
|
|
1394
1380
|
buyTax?: string | undefined;
|
|
1395
1381
|
sellTax?: string | undefined;
|
|
1396
1382
|
transferPausable?: boolean | undefined;
|
|
@@ -1462,7 +1448,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1462
1448
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
1463
1449
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
1464
1450
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
1465
|
-
}
|
|
1451
|
+
} & {
|
|
1466
1452
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1467
1453
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1468
1454
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1484,7 +1470,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1484
1470
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1485
1471
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1486
1472
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1487
|
-
}
|
|
1473
|
+
}, "strip", z.ZodTypeAny, {
|
|
1488
1474
|
symbol: string | null;
|
|
1489
1475
|
description: string | null;
|
|
1490
1476
|
name: string | null;
|
|
@@ -1767,6 +1753,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1767
1753
|
athDate?: Date | undefined;
|
|
1768
1754
|
atlDate?: Date | undefined;
|
|
1769
1755
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
1756
|
+
originLogoUrl?: string | null | undefined;
|
|
1770
1757
|
}, {
|
|
1771
1758
|
symbol: string | null;
|
|
1772
1759
|
description: string | null;
|
|
@@ -1961,6 +1948,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
1961
1948
|
dexscreenerHeader?: string | null | undefined;
|
|
1962
1949
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
1963
1950
|
deployerMigrationsCount?: number | undefined;
|
|
1951
|
+
originLogoUrl?: string | null | undefined;
|
|
1964
1952
|
rank?: number | null | undefined;
|
|
1965
1953
|
cexs?: string[] | undefined;
|
|
1966
1954
|
organicTrades1min?: number | undefined;
|
|
@@ -2342,6 +2330,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
2342
2330
|
athDate?: Date | undefined;
|
|
2343
2331
|
atlDate?: Date | undefined;
|
|
2344
2332
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
2333
|
+
originLogoUrl?: string | null | undefined;
|
|
2345
2334
|
} | {
|
|
2346
2335
|
error?: string | undefined;
|
|
2347
2336
|
} | null)[];
|
|
@@ -2571,6 +2560,7 @@ export declare const AssetDetailsDataOutput: z.ZodObject<{
|
|
|
2571
2560
|
dexscreenerHeader?: string | null | undefined;
|
|
2572
2561
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
2573
2562
|
deployerMigrationsCount?: number | undefined;
|
|
2563
|
+
originLogoUrl?: string | null | undefined;
|
|
2574
2564
|
rank?: number | null | undefined;
|
|
2575
2565
|
cexs?: string[] | undefined;
|
|
2576
2566
|
organicTrades1min?: number | undefined;
|
|
@@ -2837,7 +2827,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
2837
2827
|
marketCapDilutedUSD?: number | undefined;
|
|
2838
2828
|
isStablecoin?: boolean | undefined;
|
|
2839
2829
|
}>;
|
|
2840
|
-
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<
|
|
2830
|
+
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
2841
2831
|
address: z.ZodString;
|
|
2842
2832
|
chainId: z.ZodString;
|
|
2843
2833
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -2855,6 +2845,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
2855
2845
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
2856
2846
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2857
2847
|
logo: z.ZodNullable<z.ZodString>;
|
|
2848
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2858
2849
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2859
2850
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2860
2851
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -3049,7 +3040,6 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3049
3040
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
3050
3041
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
3051
3042
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
3052
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
3053
3043
|
description: z.ZodNullable<z.ZodString>;
|
|
3054
3044
|
socials: z.ZodObject<{
|
|
3055
3045
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -3070,17 +3060,9 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3070
3060
|
others: Record<string, unknown> | null;
|
|
3071
3061
|
uri?: string | undefined;
|
|
3072
3062
|
}>;
|
|
3073
|
-
security: z.ZodNullable<z.ZodObject<
|
|
3074
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
3075
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
3076
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
3077
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
3078
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
3063
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
3079
3064
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
3080
|
-
|
|
3081
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
3082
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
3083
|
-
}, {
|
|
3065
|
+
} & {
|
|
3084
3066
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
3085
3067
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
3086
3068
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3097,7 +3079,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3097
3079
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
3098
3080
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
3099
3081
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
3100
|
-
}
|
|
3082
|
+
}, "strip", z.ZodTypeAny, {
|
|
3101
3083
|
buyTax?: string | undefined;
|
|
3102
3084
|
sellTax?: string | undefined;
|
|
3103
3085
|
transferPausable?: boolean | undefined;
|
|
@@ -3169,7 +3151,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3169
3151
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
3170
3152
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
3171
3153
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
3172
|
-
}
|
|
3154
|
+
} & {
|
|
3173
3155
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3174
3156
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3175
3157
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3191,7 +3173,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3191
3173
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3192
3174
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3193
3175
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3194
|
-
}
|
|
3176
|
+
}, "strip", z.ZodTypeAny, {
|
|
3195
3177
|
symbol: string | null;
|
|
3196
3178
|
description: string | null;
|
|
3197
3179
|
name: string | null;
|
|
@@ -3474,6 +3456,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3474
3456
|
athDate?: Date | undefined;
|
|
3475
3457
|
atlDate?: Date | undefined;
|
|
3476
3458
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
3459
|
+
originLogoUrl?: string | null | undefined;
|
|
3477
3460
|
}, {
|
|
3478
3461
|
symbol: string | null;
|
|
3479
3462
|
description: string | null;
|
|
@@ -3668,6 +3651,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
3668
3651
|
dexscreenerHeader?: string | null | undefined;
|
|
3669
3652
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
3670
3653
|
deployerMigrationsCount?: number | undefined;
|
|
3654
|
+
originLogoUrl?: string | null | undefined;
|
|
3671
3655
|
rank?: number | null | undefined;
|
|
3672
3656
|
cexs?: string[] | undefined;
|
|
3673
3657
|
organicTrades1min?: number | undefined;
|
|
@@ -4049,6 +4033,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
4049
4033
|
athDate?: Date | undefined;
|
|
4050
4034
|
atlDate?: Date | undefined;
|
|
4051
4035
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
4036
|
+
originLogoUrl?: string | null | undefined;
|
|
4052
4037
|
} | {
|
|
4053
4038
|
error?: string | undefined;
|
|
4054
4039
|
} | null)[];
|
|
@@ -4278,6 +4263,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
4278
4263
|
dexscreenerHeader?: string | null | undefined;
|
|
4279
4264
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
4280
4265
|
deployerMigrationsCount?: number | undefined;
|
|
4266
|
+
originLogoUrl?: string | null | undefined;
|
|
4281
4267
|
rank?: number | null | undefined;
|
|
4282
4268
|
cexs?: string[] | undefined;
|
|
4283
4269
|
organicTrades1min?: number | undefined;
|
|
@@ -4688,6 +4674,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
4688
4674
|
athDate?: Date | undefined;
|
|
4689
4675
|
atlDate?: Date | undefined;
|
|
4690
4676
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
4677
|
+
originLogoUrl?: string | null | undefined;
|
|
4691
4678
|
} | {
|
|
4692
4679
|
error?: string | undefined;
|
|
4693
4680
|
} | null)[];
|
|
@@ -4920,6 +4907,7 @@ export declare const AssetDetailsResponseSchema: z.ZodObject<{
|
|
|
4920
4907
|
dexscreenerHeader?: string | null | undefined;
|
|
4921
4908
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
4922
4909
|
deployerMigrationsCount?: number | undefined;
|
|
4910
|
+
originLogoUrl?: string | null | undefined;
|
|
4923
4911
|
rank?: number | null | undefined;
|
|
4924
4912
|
cexs?: string[] | undefined;
|
|
4925
4913
|
organicTrades1min?: number | undefined;
|
|
@@ -5170,7 +5158,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5170
5158
|
marketCapDilutedUSD?: number | undefined;
|
|
5171
5159
|
isStablecoin?: boolean | undefined;
|
|
5172
5160
|
}>;
|
|
5173
|
-
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<
|
|
5161
|
+
tokens: z.ZodArray<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
5174
5162
|
address: z.ZodString;
|
|
5175
5163
|
chainId: z.ZodString;
|
|
5176
5164
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -5188,6 +5176,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5188
5176
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
5189
5177
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5190
5178
|
logo: z.ZodNullable<z.ZodString>;
|
|
5179
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5191
5180
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5192
5181
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5193
5182
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -5382,7 +5371,6 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5382
5371
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
5383
5372
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
5384
5373
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
5385
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
5386
5374
|
description: z.ZodNullable<z.ZodString>;
|
|
5387
5375
|
socials: z.ZodObject<{
|
|
5388
5376
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -5403,17 +5391,9 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5403
5391
|
others: Record<string, unknown> | null;
|
|
5404
5392
|
uri?: string | undefined;
|
|
5405
5393
|
}>;
|
|
5406
|
-
security: z.ZodNullable<z.ZodObject<
|
|
5407
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
5408
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
5409
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
5410
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
5411
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
5394
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
5412
5395
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
5413
|
-
|
|
5414
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
5415
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
5416
|
-
}, {
|
|
5396
|
+
} & {
|
|
5417
5397
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
5418
5398
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
5419
5399
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5430,7 +5410,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5430
5410
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
5431
5411
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
5432
5412
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
5433
|
-
}
|
|
5413
|
+
}, "strip", z.ZodTypeAny, {
|
|
5434
5414
|
buyTax?: string | undefined;
|
|
5435
5415
|
sellTax?: string | undefined;
|
|
5436
5416
|
transferPausable?: boolean | undefined;
|
|
@@ -5502,7 +5482,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5502
5482
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
5503
5483
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
5504
5484
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
5505
|
-
}
|
|
5485
|
+
} & {
|
|
5506
5486
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5507
5487
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5508
5488
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5524,7 +5504,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5524
5504
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5525
5505
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5526
5506
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5527
|
-
}
|
|
5507
|
+
}, "strip", z.ZodTypeAny, {
|
|
5528
5508
|
symbol: string | null;
|
|
5529
5509
|
description: string | null;
|
|
5530
5510
|
name: string | null;
|
|
@@ -5807,6 +5787,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
5807
5787
|
athDate?: Date | undefined;
|
|
5808
5788
|
atlDate?: Date | undefined;
|
|
5809
5789
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
5790
|
+
originLogoUrl?: string | null | undefined;
|
|
5810
5791
|
}, {
|
|
5811
5792
|
symbol: string | null;
|
|
5812
5793
|
description: string | null;
|
|
@@ -6001,6 +5982,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
6001
5982
|
dexscreenerHeader?: string | null | undefined;
|
|
6002
5983
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
6003
5984
|
deployerMigrationsCount?: number | undefined;
|
|
5985
|
+
originLogoUrl?: string | null | undefined;
|
|
6004
5986
|
rank?: number | null | undefined;
|
|
6005
5987
|
cexs?: string[] | undefined;
|
|
6006
5988
|
organicTrades1min?: number | undefined;
|
|
@@ -6382,6 +6364,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
6382
6364
|
athDate?: Date | undefined;
|
|
6383
6365
|
atlDate?: Date | undefined;
|
|
6384
6366
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
6367
|
+
originLogoUrl?: string | null | undefined;
|
|
6385
6368
|
} | {
|
|
6386
6369
|
error?: string | undefined;
|
|
6387
6370
|
} | null)[];
|
|
@@ -6611,6 +6594,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
6611
6594
|
dexscreenerHeader?: string | null | undefined;
|
|
6612
6595
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
6613
6596
|
deployerMigrationsCount?: number | undefined;
|
|
6597
|
+
originLogoUrl?: string | null | undefined;
|
|
6614
6598
|
rank?: number | null | undefined;
|
|
6615
6599
|
cexs?: string[] | undefined;
|
|
6616
6600
|
organicTrades1min?: number | undefined;
|
|
@@ -7027,6 +7011,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
7027
7011
|
athDate?: Date | undefined;
|
|
7028
7012
|
atlDate?: Date | undefined;
|
|
7029
7013
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
7014
|
+
originLogoUrl?: string | null | undefined;
|
|
7030
7015
|
} | {
|
|
7031
7016
|
error?: string | undefined;
|
|
7032
7017
|
} | null)[];
|
|
@@ -7261,6 +7246,7 @@ export declare const AssetDetailsBatchResponseSchema: z.ZodObject<{
|
|
|
7261
7246
|
dexscreenerHeader?: string | null | undefined;
|
|
7262
7247
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
7263
7248
|
deployerMigrationsCount?: number | undefined;
|
|
7249
|
+
originLogoUrl?: string | null | undefined;
|
|
7264
7250
|
rank?: number | null | undefined;
|
|
7265
7251
|
cexs?: string[] | undefined;
|
|
7266
7252
|
organicTrades1min?: number | undefined;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const BlockQueryParams: z.ZodObject<{
|
|
3
|
+
address: z.ZodString;
|
|
4
|
+
blockchain: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
address: string;
|
|
7
|
+
blockchain: string;
|
|
8
|
+
}, {
|
|
9
|
+
address: string;
|
|
10
|
+
blockchain: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type BlockQueryParams = z.infer<typeof BlockQueryParams>;
|
|
13
|
+
export declare const BlockQueryParamsSchema: z.ZodObject<{
|
|
14
|
+
address: z.ZodString;
|
|
15
|
+
blockchain: z.ZodString;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
address: string;
|
|
18
|
+
blockchain: string;
|
|
19
|
+
}, {
|
|
20
|
+
address: string;
|
|
21
|
+
blockchain: string;
|
|
22
|
+
}>;
|
|
23
|
+
export {};
|