@mobula_labs/types 0.1.5 → 0.1.7

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.
Files changed (37) hide show
  1. package/dist/cjs/index.cjs +3490 -3168
  2. package/dist/cjs/index.cjs.map +29 -25
  3. package/dist/esm/index.js +3488 -3166
  4. package/dist/esm/index.js.map +29 -25
  5. package/dist/index.d.ts +8 -2
  6. package/dist/misc/ApiKeysQueries.d.ts +1 -1
  7. package/dist/utils/schemas/BaseMessage.d.ts +6 -0
  8. package/dist/utils/schemas/PlatformMetadataOutput.d.ts +19 -0
  9. package/dist/utils/schemas/TokenMetadataMinimal.d.ts +25 -0
  10. package/dist/utils/schemas/WalletDeployerSchema.d.ts +333 -0
  11. package/dist/utils/schemas/WalletMetadataOutput.d.ts +19 -0
  12. package/dist/v1/market/FundingRateSchema.d.ts +33 -0
  13. package/dist/v1/market/MarketHistoryPairSchema.d.ts +3 -3
  14. package/dist/v1/market/MarketTradesPairSchema.d.ts +35 -2
  15. package/dist/v1/search/SearchSchema.d.ts +19 -2
  16. package/dist/v1/wallet/DeployerSchema.d.ts +157 -0
  17. package/dist/v1/wallet/WalletLabelSchema.d.ts +4 -4
  18. package/dist/v1/wallet/WalletTradesSchema.d.ts +86 -0
  19. package/dist/v2/swap/SwapQuotingBatchOutput.d.ts +48 -48
  20. package/dist/v2/swap/SwapQuotingOutput.d.ts +32 -32
  21. package/dist/v2/token/TokenAthSchema.d.ts +233 -0
  22. package/dist/v2/token/TokenPositionsSchema.d.ts +277 -42
  23. package/dist/v2/token/TokenTradesSchema.d.ts +1465 -11697
  24. package/dist/v2/wallet/WalleAnalysisQuerySchema.d.ts +134 -0
  25. package/dist/v2/wallet/WalletActivityV2Schema.d.ts +275 -3
  26. package/dist/v2/wallet/WalletAnalysisQuerySchema.d.ts +1658 -0
  27. package/dist/v2/wallet/WalletDefiPositionsSchema.d.ts +1 -0
  28. package/dist/v2/wallet/WalletDeployerSchema.d.ts +157 -0
  29. package/dist/v2/wallet/WalletFundingQuerySchema.d.ts +57 -0
  30. package/dist/v2/wallet/WalletPositionsSchema.d.ts +449 -6
  31. package/dist/wss/BalancePayloadSchema.d.ts +1 -0
  32. package/dist/wss/OhlcvPayloadSchema.d.ts +2 -2
  33. package/dist/wss/PairsPayloadSchema.d.ts +2 -2
  34. package/dist/wss/PositionPayloadSchema.d.ts +19 -0
  35. package/package.json +2 -2
  36. package/dist/v2/explorer/BlockDataQuerySchema.d.ts +0 -33
  37. package/dist/v2/explorer/ContractVerifyQuerySchema.ts +0 -27
@@ -9,7 +9,7 @@ export declare const MarketTradesPairParamsSchema: z.ZodObject<{
9
9
  sortBy: z.ZodEffects<z.ZodOptional<z.ZodString>, "date" | "volumeUSD" | "amount0" | "amount1", string | undefined>;
10
10
  sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
11
11
  offset: z.ZodDefault<z.ZodNumber>;
12
- mode: z.ZodDefault<z.ZodEnum<["pair", "asset"]>>;
12
+ mode: z.ZodEffects<z.ZodDefault<z.ZodEnum<["pair", "pool", "asset"]>>, "asset" | "pair", "asset" | "pair" | "pool" | undefined>;
13
13
  transactionSenderAddress: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  offset: number;
@@ -33,7 +33,7 @@ export declare const MarketTradesPairParamsSchema: z.ZodObject<{
33
33
  amount?: number | undefined;
34
34
  sortBy?: string | undefined;
35
35
  sortOrder?: "asc" | "desc" | undefined;
36
- mode?: "asset" | "pair" | undefined;
36
+ mode?: "asset" | "pair" | "pool" | undefined;
37
37
  transactionSenderAddress?: string | undefined;
38
38
  }>;
39
39
  export type MarketTradesPairParams = z.input<typeof MarketTradesPairParamsSchema>;
@@ -54,6 +54,19 @@ export declare const MarketTradesPairResponseSchema: z.ZodObject<{
54
54
  token_amount_raw: z.ZodString;
55
55
  token_amount_raw_vs: z.ZodString;
56
56
  operation: z.ZodString;
57
+ platform: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
+ id: z.ZodString;
59
+ name: z.ZodString;
60
+ logo: z.ZodNullable<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ name: string;
63
+ id: string;
64
+ logo: string | null;
65
+ }, {
66
+ name: string;
67
+ id: string;
68
+ logo: string | null;
69
+ }>>>;
57
70
  totalFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
71
  gasFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
72
  platformFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -74,6 +87,11 @@ export declare const MarketTradesPairResponseSchema: z.ZodObject<{
74
87
  token_amount_raw: string;
75
88
  token_amount_raw_vs: string;
76
89
  operation: string;
90
+ platform?: {
91
+ name: string;
92
+ id: string;
93
+ logo: string | null;
94
+ } | null | undefined;
77
95
  totalFeesUSD?: number | null | undefined;
78
96
  gasFeesUSD?: number | null | undefined;
79
97
  platformFeesUSD?: number | null | undefined;
@@ -94,6 +112,11 @@ export declare const MarketTradesPairResponseSchema: z.ZodObject<{
94
112
  token_amount_raw: string;
95
113
  token_amount_raw_vs: string;
96
114
  operation: string;
115
+ platform?: {
116
+ name: string;
117
+ id: string;
118
+ logo: string | null;
119
+ } | null | undefined;
97
120
  totalFeesUSD?: number | null | undefined;
98
121
  gasFeesUSD?: number | null | undefined;
99
122
  platformFeesUSD?: number | null | undefined;
@@ -116,6 +139,11 @@ export declare const MarketTradesPairResponseSchema: z.ZodObject<{
116
139
  token_amount_raw: string;
117
140
  token_amount_raw_vs: string;
118
141
  operation: string;
142
+ platform?: {
143
+ name: string;
144
+ id: string;
145
+ logo: string | null;
146
+ } | null | undefined;
119
147
  totalFeesUSD?: number | null | undefined;
120
148
  gasFeesUSD?: number | null | undefined;
121
149
  platformFeesUSD?: number | null | undefined;
@@ -138,6 +166,11 @@ export declare const MarketTradesPairResponseSchema: z.ZodObject<{
138
166
  token_amount_raw: string;
139
167
  token_amount_raw_vs: string;
140
168
  operation: string;
169
+ platform?: {
170
+ name: string;
171
+ id: string;
172
+ logo: string | null;
173
+ } | null | undefined;
141
174
  totalFeesUSD?: number | null | undefined;
142
175
  gasFeesUSD?: number | null | undefined;
143
176
  platformFeesUSD?: number | null | undefined;
@@ -1,4 +1,8 @@
1
1
  import { z } from 'zod';
2
+ /**
3
+ * Internal snake_case sort field values (used in SQL queries)
4
+ */
5
+ export type SearchSortByInternal = 'volume_24h' | 'market_cap' | 'created_at' | 'volume_1h' | 'fees_paid_5min' | 'fees_paid_1h' | 'fees_paid_24h' | 'volume_5min' | 'holders_count' | 'organic_volume_1h' | 'total_fees_paid_usd' | 'search_score' | 'trending_score_24h';
2
6
  export declare const SearchParamsSchema: z.ZodObject<{
3
7
  input: z.ZodString;
4
8
  type: z.ZodOptional<z.ZodEnum<["tokens", "assets", "pairs"]>>;
@@ -42,7 +46,20 @@ export declare const SearchParamsSchema: z.ZodObject<{
42
46
  bondedOnly?: boolean | undefined;
43
47
  }>>;
44
48
  mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trendings", "og"]>>>;
45
- sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["volume_24h", "market_cap", "created_at", "volume_1h", "fees_paid_5min", "fees_paid_1h", "fees_paid_24h", "volume_5min", "holders_count", "organic_volume_1h", "total_fees_paid_usd", "search_score", "trending_score_24h"]>>>;
49
+ /**
50
+ * Sort field for search results.
51
+ * Accepts both camelCase (preferred) and snake_case (legacy) values.
52
+ * All values are internally converted to snake_case for SQL queries.
53
+ *
54
+ * camelCase values (preferred):
55
+ * - volume24h, marketCap, createdAt, volume1h, feesPaid5min, feesPaid1h,
56
+ * - feesPaid24h, volume5min, holdersCount, organicVolume1h, totalFeesPaidUsd,
57
+ * - searchScore, trendingScore24h
58
+ *
59
+ * snake_case values (legacy, for backwards compatibility):
60
+ * - volume_24h, market_cap, created_at, etc.
61
+ */
62
+ sortBy: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodEnum<["volume24h", "marketCap", "createdAt", "volume1h", "feesPaid5min", "feesPaid1h", "feesPaid24h", "volume5min", "holdersCount", "organicVolume1h", "totalFeesPaidUsd", "searchScore", "trendingScore24h", "volume_24h", "market_cap", "created_at", "volume_1h", "fees_paid_5min", "fees_paid_1h", "fees_paid_24h", "volume_5min", "holders_count", "organic_volume_1h", "total_fees_paid_usd", "search_score", "trending_score_24h"]>>>, "volume_5min" | "volume_1h" | "volume_24h" | "fees_paid_5min" | "fees_paid_1h" | "fees_paid_24h" | "market_cap" | "created_at" | "holders_count" | "organic_volume_1h" | "total_fees_paid_usd" | "search_score" | "trending_score_24h", "createdAt" | "holdersCount" | "marketCap" | "volume24h" | "volume_5min" | "volume_1h" | "volume_24h" | "fees_paid_5min" | "fees_paid_1h" | "fees_paid_24h" | "market_cap" | "created_at" | "holders_count" | "organic_volume_1h" | "trendingScore24h" | "total_fees_paid_usd" | "search_score" | "trending_score_24h" | "volume1h" | "feesPaid5min" | "feesPaid1h" | "feesPaid24h" | "volume5min" | "organicVolume1h" | "totalFeesPaidUsd" | "searchScore" | undefined>;
46
63
  excludeBonded: z.ZodOptional<z.ZodBoolean>;
47
64
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
48
65
  }, "strip", z.ZodTypeAny, {
@@ -65,7 +82,7 @@ export declare const SearchParamsSchema: z.ZodObject<{
65
82
  input: string;
66
83
  type?: "tokens" | "assets" | "pairs" | undefined;
67
84
  limit?: number | undefined;
68
- sortBy?: "volume_5min" | "volume_1h" | "volume_24h" | "fees_paid_5min" | "fees_paid_1h" | "fees_paid_24h" | "market_cap" | "created_at" | "holders_count" | "organic_volume_1h" | "total_fees_paid_usd" | "search_score" | "trending_score_24h" | undefined;
85
+ sortBy?: "createdAt" | "holdersCount" | "marketCap" | "volume24h" | "volume_5min" | "volume_1h" | "volume_24h" | "fees_paid_5min" | "fees_paid_1h" | "fees_paid_24h" | "market_cap" | "created_at" | "holders_count" | "organic_volume_1h" | "trendingScore24h" | "total_fees_paid_usd" | "search_score" | "trending_score_24h" | "volume1h" | "feesPaid5min" | "feesPaid1h" | "feesPaid24h" | "volume5min" | "organicVolume1h" | "totalFeesPaidUsd" | "searchScore" | undefined;
69
86
  filters?: string | undefined;
70
87
  excludeBonded?: boolean | undefined;
71
88
  mode?: "trendings" | "og" | undefined;
@@ -947,8 +947,10 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
947
947
  realizedPnlUSD: z.ZodNumber;
948
948
  unrealizedPnlUSD: z.ZodNumber;
949
949
  totalPnlUSD: z.ZodNumber;
950
+ totalFeesPaidUSD: z.ZodOptional<z.ZodNumber>;
950
951
  firstDate: z.ZodNullable<z.ZodDate>;
951
952
  lastDate: z.ZodNullable<z.ZodDate>;
953
+ labels: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
952
954
  }, "strip", z.ZodTypeAny, {
953
955
  balance: number;
954
956
  realizedPnlUSD: number;
@@ -1239,6 +1241,7 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1239
1241
  tokenType?: "2020" | "2022" | null | undefined;
1240
1242
  originLogoUrl?: string | null | undefined;
1241
1243
  };
1244
+ labels: string[] | null;
1242
1245
  rawBalance: string;
1243
1246
  buys: number;
1244
1247
  sells: number;
@@ -1251,6 +1254,7 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1251
1254
  totalPnlUSD: number;
1252
1255
  firstDate: Date | null;
1253
1256
  lastDate: Date | null;
1257
+ totalFeesPaidUSD?: number | undefined;
1254
1258
  }, {
1255
1259
  balance: number;
1256
1260
  realizedPnlUSD: number;
@@ -1553,6 +1557,8 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1553
1557
  totalPnlUSD: number;
1554
1558
  firstDate: Date | null;
1555
1559
  lastDate: Date | null;
1560
+ totalFeesPaidUSD?: number | undefined;
1561
+ labels?: string[] | null | undefined;
1556
1562
  }>, "many">;
1557
1563
  pagination: z.ZodNullable<z.ZodObject<{
1558
1564
  total: z.ZodNumber;
@@ -1570,6 +1576,111 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1570
1576
  total: number;
1571
1577
  page: number;
1572
1578
  }>>;
1579
+ wallet: z.ZodOptional<z.ZodObject<{
1580
+ fundingInfo: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1581
+ from: z.ZodNullable<z.ZodString>;
1582
+ date: z.ZodNullable<z.ZodDate>;
1583
+ chainId: z.ZodNullable<z.ZodString>;
1584
+ txHash: z.ZodNullable<z.ZodString>;
1585
+ amount: z.ZodNullable<z.ZodString>;
1586
+ formattedAmount: z.ZodNullable<z.ZodNumber>;
1587
+ currency: z.ZodNullable<z.ZodObject<{
1588
+ name: z.ZodString;
1589
+ symbol: z.ZodString;
1590
+ logo: z.ZodNullable<z.ZodString>;
1591
+ decimals: z.ZodNumber;
1592
+ address: z.ZodString;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ symbol: string;
1595
+ name: string;
1596
+ address: string;
1597
+ decimals: number;
1598
+ logo: string | null;
1599
+ }, {
1600
+ symbol: string;
1601
+ name: string;
1602
+ address: string;
1603
+ decimals: number;
1604
+ logo: string | null;
1605
+ }>>;
1606
+ fromWalletLogo: z.ZodNullable<z.ZodString>;
1607
+ fromWalletTag: z.ZodNullable<z.ZodString>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ date: Date | null;
1610
+ chainId: string | null;
1611
+ amount: string | null;
1612
+ from: string | null;
1613
+ txHash: string | null;
1614
+ formattedAmount: number | null;
1615
+ currency: {
1616
+ symbol: string;
1617
+ name: string;
1618
+ address: string;
1619
+ decimals: number;
1620
+ logo: string | null;
1621
+ } | null;
1622
+ fromWalletLogo: string | null;
1623
+ fromWalletTag: string | null;
1624
+ }, {
1625
+ date: Date | null;
1626
+ chainId: string | null;
1627
+ amount: string | null;
1628
+ from: string | null;
1629
+ txHash: string | null;
1630
+ formattedAmount: number | null;
1631
+ currency: {
1632
+ symbol: string;
1633
+ name: string;
1634
+ address: string;
1635
+ decimals: number;
1636
+ logo: string | null;
1637
+ } | null;
1638
+ fromWalletLogo: string | null;
1639
+ fromWalletTag: string | null;
1640
+ }>>>;
1641
+ entity: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1642
+ labels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ fundingInfo: {
1645
+ date: Date | null;
1646
+ chainId: string | null;
1647
+ amount: string | null;
1648
+ from: string | null;
1649
+ txHash: string | null;
1650
+ formattedAmount: number | null;
1651
+ currency: {
1652
+ symbol: string;
1653
+ name: string;
1654
+ address: string;
1655
+ decimals: number;
1656
+ logo: string | null;
1657
+ } | null;
1658
+ fromWalletLogo: string | null;
1659
+ fromWalletTag: string | null;
1660
+ } | null;
1661
+ entity: string | null;
1662
+ labels: string[];
1663
+ }, {
1664
+ fundingInfo?: {
1665
+ date: Date | null;
1666
+ chainId: string | null;
1667
+ amount: string | null;
1668
+ from: string | null;
1669
+ txHash: string | null;
1670
+ formattedAmount: number | null;
1671
+ currency: {
1672
+ symbol: string;
1673
+ name: string;
1674
+ address: string;
1675
+ decimals: number;
1676
+ logo: string | null;
1677
+ } | null;
1678
+ fromWalletLogo: string | null;
1679
+ fromWalletTag: string | null;
1680
+ } | null | undefined;
1681
+ entity?: string | null | undefined;
1682
+ labels?: string[] | undefined;
1683
+ }>>;
1573
1684
  }, "strip", z.ZodTypeAny, {
1574
1685
  data: {
1575
1686
  balance: number;
@@ -1861,6 +1972,7 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1861
1972
  tokenType?: "2020" | "2022" | null | undefined;
1862
1973
  originLogoUrl?: string | null | undefined;
1863
1974
  };
1975
+ labels: string[] | null;
1864
1976
  rawBalance: string;
1865
1977
  buys: number;
1866
1978
  sells: number;
@@ -1873,6 +1985,7 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1873
1985
  totalPnlUSD: number;
1874
1986
  firstDate: Date | null;
1875
1987
  lastDate: Date | null;
1988
+ totalFeesPaidUSD?: number | undefined;
1876
1989
  }[];
1877
1990
  pagination: {
1878
1991
  limit: number;
@@ -1880,6 +1993,27 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
1880
1993
  total: number;
1881
1994
  page: number;
1882
1995
  } | null;
1996
+ wallet?: {
1997
+ fundingInfo: {
1998
+ date: Date | null;
1999
+ chainId: string | null;
2000
+ amount: string | null;
2001
+ from: string | null;
2002
+ txHash: string | null;
2003
+ formattedAmount: number | null;
2004
+ currency: {
2005
+ symbol: string;
2006
+ name: string;
2007
+ address: string;
2008
+ decimals: number;
2009
+ logo: string | null;
2010
+ } | null;
2011
+ fromWalletLogo: string | null;
2012
+ fromWalletTag: string | null;
2013
+ } | null;
2014
+ entity: string | null;
2015
+ labels: string[];
2016
+ } | undefined;
1883
2017
  }, {
1884
2018
  data: {
1885
2019
  balance: number;
@@ -2183,6 +2317,8 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
2183
2317
  totalPnlUSD: number;
2184
2318
  firstDate: Date | null;
2185
2319
  lastDate: Date | null;
2320
+ totalFeesPaidUSD?: number | undefined;
2321
+ labels?: string[] | null | undefined;
2186
2322
  }[];
2187
2323
  pagination: {
2188
2324
  limit: number;
@@ -2190,5 +2326,26 @@ export declare const WalletV1DeployerResponseSchema: z.ZodObject<{
2190
2326
  total: number;
2191
2327
  page: number;
2192
2328
  } | null;
2329
+ wallet?: {
2330
+ fundingInfo?: {
2331
+ date: Date | null;
2332
+ chainId: string | null;
2333
+ amount: string | null;
2334
+ from: string | null;
2335
+ txHash: string | null;
2336
+ formattedAmount: number | null;
2337
+ currency: {
2338
+ symbol: string;
2339
+ name: string;
2340
+ address: string;
2341
+ decimals: number;
2342
+ logo: string | null;
2343
+ } | null;
2344
+ fromWalletLogo: string | null;
2345
+ fromWalletTag: string | null;
2346
+ } | null | undefined;
2347
+ entity?: string | null | undefined;
2348
+ labels?: string[] | undefined;
2349
+ } | undefined;
2193
2350
  }>;
2194
2351
  export type WalletV1DeployerResponse = z.infer<typeof WalletV1DeployerResponseSchema>;
@@ -15,21 +15,21 @@ export declare const WalletLabelsResponseSchema: z.ZodObject<{
15
15
  walletAddress: z.ZodString;
16
16
  labels: z.ZodArray<z.ZodString, "many">;
17
17
  }, "strip", z.ZodTypeAny, {
18
- walletAddress: string;
19
18
  labels: string[];
20
- }, {
21
19
  walletAddress: string;
20
+ }, {
22
21
  labels: string[];
22
+ walletAddress: string;
23
23
  }>, "many">;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  data: {
26
- walletAddress: string;
27
26
  labels: string[];
27
+ walletAddress: string;
28
28
  }[];
29
29
  }, {
30
30
  data: {
31
- walletAddress: string;
32
31
  labels: string[];
32
+ walletAddress: string;
33
33
  }[];
34
34
  }>;
35
35
  export type WalletLabelsResponse = z.infer<typeof WalletLabelsResponseSchema>;
@@ -974,6 +974,36 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
974
974
  trendingScore24h?: number | undefined;
975
975
  }>>>;
976
976
  labels: z.ZodArray<z.ZodString, "many">;
977
+ walletMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
978
+ entityName: z.ZodNullable<z.ZodString>;
979
+ entityLogo: z.ZodNullable<z.ZodString>;
980
+ entityLabels: z.ZodArray<z.ZodString, "many">;
981
+ }, "strip", z.ZodTypeAny, {
982
+ entityName: string | null;
983
+ entityLogo: string | null;
984
+ entityLabels: string[];
985
+ }, {
986
+ entityName: string | null;
987
+ entityLogo: string | null;
988
+ entityLabels: string[];
989
+ }>>>;
990
+ platform: z.ZodOptional<z.ZodNullable<z.ZodObject<{
991
+ id: z.ZodString;
992
+ name: z.ZodString;
993
+ logo: z.ZodNullable<z.ZodString>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ name: string;
996
+ id: string;
997
+ logo: string | null;
998
+ }, {
999
+ name: string;
1000
+ id: string;
1001
+ logo: string | null;
1002
+ }>>>;
1003
+ totalFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1004
+ gasFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1005
+ platformFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1006
+ mevFeesUSD: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
977
1007
  }, "strip", z.ZodTypeAny, {
978
1008
  date: Date;
979
1009
  base: string;
@@ -999,6 +1029,15 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
999
1029
  amount_base: number;
1000
1030
  amount_quote_raw: string;
1001
1031
  amount_base_raw: string;
1032
+ platform?: {
1033
+ name: string;
1034
+ id: string;
1035
+ logo: string | null;
1036
+ } | null | undefined;
1037
+ totalFeesUSD?: number | null | undefined;
1038
+ gasFeesUSD?: number | null | undefined;
1039
+ platformFeesUSD?: number | null | undefined;
1040
+ mevFeesUSD?: number | null | undefined;
1002
1041
  raw_post_balance0?: string | null | undefined;
1003
1042
  raw_post_balance1?: string | null | undefined;
1004
1043
  raw_pre_balance0?: string | null | undefined;
@@ -1288,6 +1327,11 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1288
1327
  tokenType?: "2020" | "2022" | null | undefined;
1289
1328
  originLogoUrl?: string | null | undefined;
1290
1329
  } | null | undefined;
1330
+ walletMetadata?: {
1331
+ entityName: string | null;
1332
+ entityLogo: string | null;
1333
+ entityLabels: string[];
1334
+ } | null | undefined;
1291
1335
  }, {
1292
1336
  date: Date;
1293
1337
  base: string;
@@ -1313,6 +1357,15 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1313
1357
  amount_base: number;
1314
1358
  amount_quote_raw: string;
1315
1359
  amount_base_raw: string;
1360
+ platform?: {
1361
+ name: string;
1362
+ id: string;
1363
+ logo: string | null;
1364
+ } | null | undefined;
1365
+ totalFeesUSD?: number | null | undefined;
1366
+ gasFeesUSD?: number | null | undefined;
1367
+ platformFeesUSD?: number | null | undefined;
1368
+ mevFeesUSD?: number | null | undefined;
1316
1369
  raw_post_balance0?: string | null | undefined;
1317
1370
  raw_post_balance1?: string | null | undefined;
1318
1371
  raw_pre_balance0?: string | null | undefined;
@@ -1602,6 +1655,11 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1602
1655
  trendingScore12h?: number | undefined;
1603
1656
  trendingScore24h?: number | undefined;
1604
1657
  } | null | undefined;
1658
+ walletMetadata?: {
1659
+ entityName: string | null;
1660
+ entityLogo: string | null;
1661
+ entityLabels: string[];
1662
+ } | null | undefined;
1605
1663
  }>, "many">;
1606
1664
  }, "strip", z.ZodTypeAny, {
1607
1665
  data: {
@@ -1629,6 +1687,15 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1629
1687
  amount_base: number;
1630
1688
  amount_quote_raw: string;
1631
1689
  amount_base_raw: string;
1690
+ platform?: {
1691
+ name: string;
1692
+ id: string;
1693
+ logo: string | null;
1694
+ } | null | undefined;
1695
+ totalFeesUSD?: number | null | undefined;
1696
+ gasFeesUSD?: number | null | undefined;
1697
+ platformFeesUSD?: number | null | undefined;
1698
+ mevFeesUSD?: number | null | undefined;
1632
1699
  raw_post_balance0?: string | null | undefined;
1633
1700
  raw_post_balance1?: string | null | undefined;
1634
1701
  raw_pre_balance0?: string | null | undefined;
@@ -1918,6 +1985,11 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1918
1985
  tokenType?: "2020" | "2022" | null | undefined;
1919
1986
  originLogoUrl?: string | null | undefined;
1920
1987
  } | null | undefined;
1988
+ walletMetadata?: {
1989
+ entityName: string | null;
1990
+ entityLogo: string | null;
1991
+ entityLabels: string[];
1992
+ } | null | undefined;
1921
1993
  }[];
1922
1994
  }, {
1923
1995
  data: {
@@ -1945,6 +2017,15 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
1945
2017
  amount_base: number;
1946
2018
  amount_quote_raw: string;
1947
2019
  amount_base_raw: string;
2020
+ platform?: {
2021
+ name: string;
2022
+ id: string;
2023
+ logo: string | null;
2024
+ } | null | undefined;
2025
+ totalFeesUSD?: number | null | undefined;
2026
+ gasFeesUSD?: number | null | undefined;
2027
+ platformFeesUSD?: number | null | undefined;
2028
+ mevFeesUSD?: number | null | undefined;
1948
2029
  raw_post_balance0?: string | null | undefined;
1949
2030
  raw_post_balance1?: string | null | undefined;
1950
2031
  raw_pre_balance0?: string | null | undefined;
@@ -2234,6 +2315,11 @@ export declare const WalletTradesResponseSchema: z.ZodObject<{
2234
2315
  trendingScore12h?: number | undefined;
2235
2316
  trendingScore24h?: number | undefined;
2236
2317
  } | null | undefined;
2318
+ walletMetadata?: {
2319
+ entityName: string | null;
2320
+ entityLogo: string | null;
2321
+ entityLabels: string[];
2322
+ } | null | undefined;
2237
2323
  }[];
2238
2324
  }>;
2239
2325
  export type WalletTradesResponse = z.infer<typeof WalletTradesResponseSchema>;