@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
|
@@ -1644,7 +1644,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1644
1644
|
pageEntries: number;
|
|
1645
1645
|
}>;
|
|
1646
1646
|
backfillStatus: z.ZodOptional<z.ZodEnum<["processed", "processing", "pending"]>>;
|
|
1647
|
-
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
1647
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1648
1648
|
address: z.ZodString;
|
|
1649
1649
|
chainId: z.ZodString;
|
|
1650
1650
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -1662,6 +1662,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1662
1662
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
1663
1663
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1664
1664
|
logo: z.ZodNullable<z.ZodString>;
|
|
1665
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1665
1666
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1666
1667
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1667
1668
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -1856,7 +1857,6 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1856
1857
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
1857
1858
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
1858
1859
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
1859
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
1860
1860
|
description: z.ZodNullable<z.ZodString>;
|
|
1861
1861
|
socials: z.ZodObject<{
|
|
1862
1862
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -1877,17 +1877,9 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1877
1877
|
others: Record<string, unknown> | null;
|
|
1878
1878
|
uri?: string | undefined;
|
|
1879
1879
|
}>;
|
|
1880
|
-
security: z.ZodNullable<z.ZodObject<
|
|
1881
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
1882
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
1883
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
1884
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
1885
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
1880
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
1886
1881
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
1887
|
-
|
|
1888
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
1889
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
1890
|
-
}, {
|
|
1882
|
+
} & {
|
|
1891
1883
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
1892
1884
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
1893
1885
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1904,7 +1896,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1904
1896
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
1905
1897
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
1906
1898
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
1907
|
-
}
|
|
1899
|
+
}, "strip", z.ZodTypeAny, {
|
|
1908
1900
|
buyTax?: string | undefined;
|
|
1909
1901
|
sellTax?: string | undefined;
|
|
1910
1902
|
transferPausable?: boolean | undefined;
|
|
@@ -1976,7 +1968,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1976
1968
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
1977
1969
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
1978
1970
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
1979
|
-
}
|
|
1971
|
+
} & {
|
|
1980
1972
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1981
1973
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1982
1974
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1998,7 +1990,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
1998
1990
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1999
1991
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2000
1992
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2001
|
-
}
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
2002
1994
|
symbol: string | null;
|
|
2003
1995
|
description: string | null;
|
|
2004
1996
|
name: string | null;
|
|
@@ -2281,6 +2273,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
2281
2273
|
athDate?: Date | undefined;
|
|
2282
2274
|
atlDate?: Date | undefined;
|
|
2283
2275
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
2276
|
+
originLogoUrl?: string | null | undefined;
|
|
2284
2277
|
}, {
|
|
2285
2278
|
symbol: string | null;
|
|
2286
2279
|
description: string | null;
|
|
@@ -2475,6 +2468,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
2475
2468
|
dexscreenerHeader?: string | null | undefined;
|
|
2476
2469
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
2477
2470
|
deployerMigrationsCount?: number | undefined;
|
|
2471
|
+
originLogoUrl?: string | null | undefined;
|
|
2478
2472
|
rank?: number | null | undefined;
|
|
2479
2473
|
cexs?: string[] | undefined;
|
|
2480
2474
|
organicTrades1min?: number | undefined;
|
|
@@ -2930,6 +2924,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
2930
2924
|
athDate?: Date | undefined;
|
|
2931
2925
|
atlDate?: Date | undefined;
|
|
2932
2926
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
2927
|
+
originLogoUrl?: string | null | undefined;
|
|
2933
2928
|
}[] | undefined;
|
|
2934
2929
|
backfillStatus?: "processed" | "processing" | "pending" | undefined;
|
|
2935
2930
|
}, {
|
|
@@ -3208,6 +3203,7 @@ export declare const WalletActivityV2ResponseSchema: z.ZodObject<{
|
|
|
3208
3203
|
dexscreenerHeader?: string | null | undefined;
|
|
3209
3204
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
3210
3205
|
deployerMigrationsCount?: number | undefined;
|
|
3206
|
+
originLogoUrl?: string | null | undefined;
|
|
3211
3207
|
rank?: number | null | undefined;
|
|
3212
3208
|
cexs?: string[] | undefined;
|
|
3213
3209
|
organicTrades1min?: number | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const WalletDefiPositionsParamsSchema: z.ZodObject<{
|
|
3
|
+
wallet: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4
|
+
blockchains: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
blockchains: string;
|
|
7
|
+
wallet: string;
|
|
8
|
+
}, {
|
|
9
|
+
blockchains: string;
|
|
10
|
+
wallet: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type WalletDefiPositionsParams = z.infer<typeof WalletDefiPositionsParamsSchema>;
|
|
@@ -20,7 +20,7 @@ export declare const WalletV2DeployerParamsSchema: z.ZodObject<{
|
|
|
20
20
|
export type WalletV2DeployerParams = z.input<typeof WalletV2DeployerParamsSchema>;
|
|
21
21
|
export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
22
22
|
data: z.ZodArray<z.ZodObject<{
|
|
23
|
-
token: z.ZodObject<
|
|
23
|
+
token: z.ZodObject<{
|
|
24
24
|
address: z.ZodString;
|
|
25
25
|
chainId: z.ZodString;
|
|
26
26
|
symbol: z.ZodNullable<z.ZodString>;
|
|
@@ -38,6 +38,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
38
38
|
marketCapUSD: z.ZodDefault<z.ZodNumber>;
|
|
39
39
|
marketCapDilutedUSD: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
40
40
|
logo: z.ZodNullable<z.ZodString>;
|
|
41
|
+
originLogoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
42
|
rank: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
42
43
|
cexs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
43
44
|
exchange: z.ZodOptional<z.ZodObject<{
|
|
@@ -232,7 +233,6 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
232
233
|
organicSellers24h: z.ZodDefault<z.ZodNumber>;
|
|
233
234
|
createdAt: z.ZodNullable<z.ZodDate>;
|
|
234
235
|
latestTradeDate: z.ZodNullable<z.ZodDate>;
|
|
235
|
-
holdersCount: z.ZodDefault<z.ZodNumber>;
|
|
236
236
|
description: z.ZodNullable<z.ZodString>;
|
|
237
237
|
socials: z.ZodObject<{
|
|
238
238
|
twitter: z.ZodNullable<z.ZodString>;
|
|
@@ -253,17 +253,9 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
253
253
|
others: Record<string, unknown> | null;
|
|
254
254
|
uri?: string | undefined;
|
|
255
255
|
}>;
|
|
256
|
-
security: z.ZodNullable<z.ZodObject<
|
|
257
|
-
buyTax: z.ZodOptional<z.ZodString>;
|
|
258
|
-
sellTax: z.ZodOptional<z.ZodString>;
|
|
259
|
-
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
-
top10Holders: z.ZodOptional<z.ZodString>;
|
|
261
|
-
isBlacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
security: z.ZodNullable<z.ZodObject<{
|
|
262
257
|
noMintAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
|
|
264
|
-
lowLiquidity: z.ZodOptional<z.ZodString>;
|
|
265
|
-
burnRate: z.ZodOptional<z.ZodString>;
|
|
266
|
-
}, {
|
|
258
|
+
} & {
|
|
267
259
|
buyTax: z.ZodOptional<z.ZodString>;
|
|
268
260
|
sellTax: z.ZodOptional<z.ZodString>;
|
|
269
261
|
transferPausable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -280,7 +272,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
280
272
|
isMintable: z.ZodOptional<z.ZodBoolean>;
|
|
281
273
|
modifyableTax: z.ZodOptional<z.ZodBoolean>;
|
|
282
274
|
selfDestruct: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
-
}
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
276
|
buyTax?: string | undefined;
|
|
285
277
|
sellTax?: string | undefined;
|
|
286
278
|
transferPausable?: boolean | undefined;
|
|
@@ -352,7 +344,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
352
344
|
trendingScore6h: z.ZodDefault<z.ZodNumber>;
|
|
353
345
|
trendingScore12h: z.ZodDefault<z.ZodNumber>;
|
|
354
346
|
trendingScore24h: z.ZodDefault<z.ZodNumber>;
|
|
355
|
-
}
|
|
347
|
+
} & {
|
|
356
348
|
holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
357
349
|
top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
350
|
top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -374,7 +366,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
374
366
|
freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
375
367
|
proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
376
368
|
smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
377
|
-
}
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
370
|
symbol: string | null;
|
|
379
371
|
description: string | null;
|
|
380
372
|
name: string | null;
|
|
@@ -657,6 +649,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
657
649
|
athDate?: Date | undefined;
|
|
658
650
|
atlDate?: Date | undefined;
|
|
659
651
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
652
|
+
originLogoUrl?: string | null | undefined;
|
|
660
653
|
}, {
|
|
661
654
|
symbol: string | null;
|
|
662
655
|
description: string | null;
|
|
@@ -851,6 +844,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
851
844
|
dexscreenerHeader?: string | null | undefined;
|
|
852
845
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
853
846
|
deployerMigrationsCount?: number | undefined;
|
|
847
|
+
originLogoUrl?: string | null | undefined;
|
|
854
848
|
rank?: number | null | undefined;
|
|
855
849
|
cexs?: string[] | undefined;
|
|
856
850
|
organicTrades1min?: number | undefined;
|
|
@@ -961,6 +955,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
961
955
|
balance: number;
|
|
962
956
|
realizedPnlUSD: number;
|
|
963
957
|
unrealizedPnlUSD: number;
|
|
958
|
+
amountUSD: number;
|
|
964
959
|
token: {
|
|
965
960
|
symbol: string | null;
|
|
966
961
|
description: string | null;
|
|
@@ -1244,8 +1239,8 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1244
1239
|
athDate?: Date | undefined;
|
|
1245
1240
|
atlDate?: Date | undefined;
|
|
1246
1241
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
1242
|
+
originLogoUrl?: string | null | undefined;
|
|
1247
1243
|
};
|
|
1248
|
-
amountUSD: number;
|
|
1249
1244
|
rawBalance: string;
|
|
1250
1245
|
buys: number;
|
|
1251
1246
|
sells: number;
|
|
@@ -1262,6 +1257,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1262
1257
|
balance: number;
|
|
1263
1258
|
realizedPnlUSD: number;
|
|
1264
1259
|
unrealizedPnlUSD: number;
|
|
1260
|
+
amountUSD: number;
|
|
1265
1261
|
token: {
|
|
1266
1262
|
symbol: string | null;
|
|
1267
1263
|
description: string | null;
|
|
@@ -1456,6 +1452,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1456
1452
|
dexscreenerHeader?: string | null | undefined;
|
|
1457
1453
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
1458
1454
|
deployerMigrationsCount?: number | undefined;
|
|
1455
|
+
originLogoUrl?: string | null | undefined;
|
|
1459
1456
|
rank?: number | null | undefined;
|
|
1460
1457
|
cexs?: string[] | undefined;
|
|
1461
1458
|
organicTrades1min?: number | undefined;
|
|
@@ -1546,7 +1543,6 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1546
1543
|
trendingScore12h?: number | undefined;
|
|
1547
1544
|
trendingScore24h?: number | undefined;
|
|
1548
1545
|
};
|
|
1549
|
-
amountUSD: number;
|
|
1550
1546
|
rawBalance: string;
|
|
1551
1547
|
buys: number;
|
|
1552
1548
|
sells: number;
|
|
@@ -1581,6 +1577,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1581
1577
|
balance: number;
|
|
1582
1578
|
realizedPnlUSD: number;
|
|
1583
1579
|
unrealizedPnlUSD: number;
|
|
1580
|
+
amountUSD: number;
|
|
1584
1581
|
token: {
|
|
1585
1582
|
symbol: string | null;
|
|
1586
1583
|
description: string | null;
|
|
@@ -1864,8 +1861,8 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1864
1861
|
athDate?: Date | undefined;
|
|
1865
1862
|
atlDate?: Date | undefined;
|
|
1866
1863
|
tokenType?: "2020" | "2022" | null | undefined;
|
|
1864
|
+
originLogoUrl?: string | null | undefined;
|
|
1867
1865
|
};
|
|
1868
|
-
amountUSD: number;
|
|
1869
1866
|
rawBalance: string;
|
|
1870
1867
|
buys: number;
|
|
1871
1868
|
sells: number;
|
|
@@ -1890,6 +1887,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
1890
1887
|
balance: number;
|
|
1891
1888
|
realizedPnlUSD: number;
|
|
1892
1889
|
unrealizedPnlUSD: number;
|
|
1890
|
+
amountUSD: number;
|
|
1893
1891
|
token: {
|
|
1894
1892
|
symbol: string | null;
|
|
1895
1893
|
description: string | null;
|
|
@@ -2084,6 +2082,7 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
2084
2082
|
dexscreenerHeader?: string | null | undefined;
|
|
2085
2083
|
dexscreenerAdPaid?: boolean | null | undefined;
|
|
2086
2084
|
deployerMigrationsCount?: number | undefined;
|
|
2085
|
+
originLogoUrl?: string | null | undefined;
|
|
2087
2086
|
rank?: number | null | undefined;
|
|
2088
2087
|
cexs?: string[] | undefined;
|
|
2089
2088
|
organicTrades1min?: number | undefined;
|
|
@@ -2174,7 +2173,6 @@ export declare const WalletV2DeployerResponseSchema: z.ZodObject<{
|
|
|
2174
2173
|
trendingScore12h?: number | undefined;
|
|
2175
2174
|
trendingScore24h?: number | undefined;
|
|
2176
2175
|
};
|
|
2177
|
-
amountUSD: number;
|
|
2178
2176
|
rawBalance: string;
|
|
2179
2177
|
buys: number;
|
|
2180
2178
|
sells: number;
|
|
@@ -117,7 +117,7 @@ export declare const PerpsPositionSchema: z.ZodObject<{
|
|
|
117
117
|
collateralAsset: string;
|
|
118
118
|
}>;
|
|
119
119
|
export type PerpsPosition = z.infer<typeof PerpsPositionSchema>;
|
|
120
|
-
export declare const PerpsPositionNonExecutedSchema: z.ZodObject<
|
|
120
|
+
export declare const PerpsPositionNonExecutedSchema: z.ZodObject<{
|
|
121
121
|
id: z.ZodString;
|
|
122
122
|
entryPriceQuote: z.ZodNumber;
|
|
123
123
|
currentLeverage: z.ZodNumber;
|
|
@@ -166,9 +166,9 @@ export declare const PerpsPositionNonExecutedSchema: z.ZodObject<z.objectUtil.ex
|
|
|
166
166
|
address: z.ZodString;
|
|
167
167
|
chainId: z.ZodString;
|
|
168
168
|
collateralAsset: z.ZodString;
|
|
169
|
-
}
|
|
169
|
+
} & {
|
|
170
170
|
type: z.ZodEnum<["STOP", "LIMIT"]>;
|
|
171
|
-
}
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
type: "STOP" | "LIMIT";
|
|
173
173
|
marketId: string;
|
|
174
174
|
address: string;
|
|
@@ -427,7 +427,7 @@ export declare const WalletPerpsPositionsResponseSchema: z.ZodObject<{
|
|
|
427
427
|
}[];
|
|
428
428
|
}>;
|
|
429
429
|
export declare const WalletPerpsPositionsNonExecutedResponseSchema: z.ZodObject<{
|
|
430
|
-
data: z.ZodArray<z.ZodObject<
|
|
430
|
+
data: z.ZodArray<z.ZodObject<{
|
|
431
431
|
id: z.ZodString;
|
|
432
432
|
entryPriceQuote: z.ZodNumber;
|
|
433
433
|
currentLeverage: z.ZodNumber;
|
|
@@ -476,9 +476,9 @@ export declare const WalletPerpsPositionsNonExecutedResponseSchema: z.ZodObject<
|
|
|
476
476
|
address: z.ZodString;
|
|
477
477
|
chainId: z.ZodString;
|
|
478
478
|
collateralAsset: z.ZodString;
|
|
479
|
-
}
|
|
479
|
+
} & {
|
|
480
480
|
type: z.ZodEnum<["STOP", "LIMIT"]>;
|
|
481
|
-
}
|
|
481
|
+
}, "strip", z.ZodTypeAny, {
|
|
482
482
|
type: "STOP" | "LIMIT";
|
|
483
483
|
marketId: string;
|
|
484
484
|
address: string;
|