@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.
Files changed (60) hide show
  1. package/README.md +14 -14
  2. package/dist/cjs/index.cjs +3689 -3391
  3. package/dist/cjs/index.cjs.map +27 -20
  4. package/dist/esm/index.js +3689 -3391
  5. package/dist/esm/index.js.map +27 -20
  6. package/dist/index.d.ts +7 -0
  7. package/dist/misc/ApiKeysQueries.d.ts +4 -0
  8. package/dist/utils/schemas/BaseMessage.d.ts +6 -6
  9. package/dist/utils/schemas/CurrencySchema.d.ts +21 -0
  10. package/dist/utils/schemas/EnrichedHoldersData.d.ts +3 -3
  11. package/dist/utils/schemas/EnrichedMarketData.d.ts +453 -1567
  12. package/dist/utils/schemas/LLMSecuritySchemas.d.ts +260 -0
  13. package/dist/utils/schemas/MarketDetailsOutput.d.ts +22 -31
  14. package/dist/utils/schemas/SecuritySchemas.d.ts +3 -11
  15. package/dist/utils/schemas/TokenDetailsOutput.d.ts +9 -15
  16. package/dist/utils/schemas/WalletDeployerSchema.d.ts +30 -36
  17. package/dist/v1/all/BlockchainSchema.d.ts +6 -6
  18. package/dist/v1/market/MarketBlockchainPairsSchema.d.ts +10 -10
  19. package/dist/v1/market/MarketHistoryPairSchema.d.ts +8 -8
  20. package/dist/v1/market/MarketMultiDataSchema.d.ts +4 -4
  21. package/dist/v1/market/MarketMultiPricesSchema.d.ts +4 -4
  22. package/dist/v1/market/MarketPairSchema.d.ts +76 -106
  23. package/dist/v1/market/MarketPairsSchema.d.ts +12 -25
  24. package/dist/v1/market/MarketTradesPairSchema.d.ts +22 -2
  25. package/dist/v1/metadata/MetadataTrendingsSchema.d.ts +2 -2
  26. package/dist/v1/pulse/PulseSchema.d.ts +138 -294
  27. package/dist/v1/search/SearchSchema.d.ts +20 -24
  28. package/dist/v1/wallet/DeployerSchema.d.ts +17 -19
  29. package/dist/v1/wallet/WalletPortfolioSchema.d.ts +8 -24
  30. package/dist/v1/wallet/WalletTradesSchema.d.ts +13 -15
  31. package/dist/v1/wallet/WalletTransactionSchema.d.ts +8 -8
  32. package/dist/v2/asset/AssetDetailsSchema.d.ts +46 -60
  33. package/dist/v2/explorer/BlockQuerySchema.d.ts +23 -0
  34. package/dist/v2/market/MarketDetailsSchema.d.ts +61 -62
  35. package/dist/v2/perp/PerpBlocksSchema.d.ts +183 -0
  36. package/dist/v2/perp/PerpModels.d.ts +10 -10
  37. package/dist/v2/swap/SwapQuotingBatchOutput.d.ts +18 -18
  38. package/dist/v2/swap/SwapQuotingBatchSchema.d.ts +158 -0
  39. package/dist/v2/swap/SwapQuotingInstructionsOutput.d.ts +2044 -0
  40. package/dist/v2/swap/SwapQuotingOutput.d.ts +18 -18
  41. package/dist/v2/swap/SwapQuotingSchema.d.ts +90 -0
  42. package/dist/v2/token/TokenDetailsSchema.d.ts +33 -30
  43. package/dist/v2/token/TokenKlineBsPointSchema.d.ts +2 -6
  44. package/dist/v2/token/TokenMarketsSchema.d.ts +44 -62
  45. package/dist/v2/token/TokenPositionsSchema.d.ts +3 -0
  46. package/dist/v2/token/TokenSecurityOutput.d.ts +122 -0
  47. package/dist/v2/token/TokenSecurityQuery.d.ts +3 -0
  48. package/dist/v2/token/TokenTradesSchema.d.ts +242 -154
  49. package/dist/v2/wallet/WalletActivityV2Schema.d.ts +11 -15
  50. package/dist/v2/wallet/WalletDefiPositionsSchema.d.ts +12 -0
  51. package/dist/v2/wallet/WalletDeployerSchema.d.ts +17 -19
  52. package/dist/v2/wallet/WalletPerpsPositionsSchema.d.ts +6 -6
  53. package/dist/v2/wallet/WalletPositionsSchema.d.ts +3795 -38
  54. package/dist/v2/wallet/WalletTokenBalancesSchema.d.ts +6 -22
  55. package/dist/wss/BalancePayloadSchema.d.ts +6 -6
  56. package/dist/wss/FastTradePayloadSchema.d.ts +5 -0
  57. package/dist/wss/OhlcvPayloadSchema.d.ts +2 -2
  58. package/dist/wss/PairsPayloadSchema.d.ts +2 -2
  59. package/dist/wss/PositionPayloadSchema.d.ts +2 -2
  60. package/package.json +4 -4
@@ -17,8 +17,8 @@ export type TokenMarketsParams = z.input<typeof TokenMarketsParamsSchema>;
17
17
  * The resolved data for TokenMarkets is an array of what MarketDetails resolve, so we
18
18
  * use the same schema as a base.
19
19
  */
20
- export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
21
- token0: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
20
+ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<{
21
+ token0: z.ZodOptional<z.ZodObject<{
22
22
  address: z.ZodString;
23
23
  chainId: z.ZodString;
24
24
  symbol: z.ZodNullable<z.ZodString>;
@@ -65,7 +65,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
65
65
  atlUSD: z.ZodOptional<z.ZodNumber>;
66
66
  athDate: z.ZodOptional<z.ZodDate>;
67
67
  atlDate: z.ZodOptional<z.ZodDate>;
68
- }, {
68
+ } & {
69
69
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
70
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
71
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -87,7 +87,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
87
87
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
88
88
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
89
89
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
90
- }>, "strip", z.ZodTypeAny, {
90
+ }, "strip", z.ZodTypeAny, {
91
91
  symbol: string | null;
92
92
  name: string | null;
93
93
  address: string;
@@ -212,7 +212,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
212
212
  athDate?: Date | undefined;
213
213
  atlDate?: Date | undefined;
214
214
  }>>;
215
- token1: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
215
+ token1: z.ZodOptional<z.ZodObject<{
216
216
  address: z.ZodString;
217
217
  chainId: z.ZodString;
218
218
  symbol: z.ZodNullable<z.ZodString>;
@@ -259,7 +259,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
259
259
  atlUSD: z.ZodOptional<z.ZodNumber>;
260
260
  athDate: z.ZodOptional<z.ZodDate>;
261
261
  atlDate: z.ZodOptional<z.ZodDate>;
262
- }, {
262
+ } & {
263
263
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
264
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
265
265
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -281,7 +281,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
281
281
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
282
282
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
283
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
- }>, "strip", z.ZodTypeAny, {
284
+ }, "strip", z.ZodTypeAny, {
285
285
  symbol: string | null;
286
286
  name: string | null;
287
287
  address: string;
@@ -406,7 +406,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
406
406
  athDate?: Date | undefined;
407
407
  atlDate?: Date | undefined;
408
408
  }>>;
409
- base: z.ZodObject<z.objectUtil.extendShape<{
409
+ base: z.ZodObject<{
410
410
  address: z.ZodString;
411
411
  chainId: z.ZodString;
412
412
  symbol: z.ZodNullable<z.ZodString>;
@@ -453,7 +453,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
453
453
  atlUSD: z.ZodOptional<z.ZodNumber>;
454
454
  athDate: z.ZodOptional<z.ZodDate>;
455
455
  atlDate: z.ZodOptional<z.ZodDate>;
456
- }, {
456
+ } & {
457
457
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
458
458
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
459
459
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -475,7 +475,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
475
475
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
476
476
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
477
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
- }>, "strip", z.ZodTypeAny, {
478
+ }, "strip", z.ZodTypeAny, {
479
479
  symbol: string | null;
480
480
  name: string | null;
481
481
  address: string;
@@ -600,7 +600,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
600
600
  athDate?: Date | undefined;
601
601
  atlDate?: Date | undefined;
602
602
  }>;
603
- quote: z.ZodObject<z.objectUtil.extendShape<{
603
+ quote: z.ZodObject<{
604
604
  address: z.ZodString;
605
605
  chainId: z.ZodString;
606
606
  symbol: z.ZodNullable<z.ZodString>;
@@ -647,7 +647,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
647
647
  atlUSD: z.ZodOptional<z.ZodNumber>;
648
648
  athDate: z.ZodOptional<z.ZodDate>;
649
649
  atlDate: z.ZodOptional<z.ZodDate>;
650
- }, {
650
+ } & {
651
651
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
652
652
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
653
653
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -669,7 +669,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
669
669
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
670
670
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
671
671
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
672
- }>, "strip", z.ZodTypeAny, {
672
+ }, "strip", z.ZodTypeAny, {
673
673
  symbol: string | null;
674
674
  name: string | null;
675
675
  address: string;
@@ -909,7 +909,6 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
909
909
  feesPaid6hUSD: z.ZodDefault<z.ZodNumber>;
910
910
  feesPaid12hUSD: z.ZodDefault<z.ZodNumber>;
911
911
  feesPaid24hUSD: z.ZodDefault<z.ZodNumber>;
912
- holdersCount: z.ZodDefault<z.ZodNumber>;
913
912
  source: z.ZodNullable<z.ZodString>;
914
913
  deployer: z.ZodNullable<z.ZodString>;
915
914
  tokenSymbol: z.ZodNullable<z.ZodString>;
@@ -936,17 +935,9 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
936
935
  uri?: string | undefined;
937
936
  }>;
938
937
  description: z.ZodNullable<z.ZodString>;
939
- security: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
940
- buyTax: z.ZodOptional<z.ZodString>;
941
- sellTax: z.ZodOptional<z.ZodString>;
942
- transferPausable: z.ZodOptional<z.ZodBoolean>;
943
- top10Holders: z.ZodOptional<z.ZodString>;
944
- isBlacklisted: z.ZodOptional<z.ZodBoolean>;
938
+ security: z.ZodNullable<z.ZodObject<{
945
939
  noMintAuthority: z.ZodOptional<z.ZodBoolean>;
946
- balanceMutable: z.ZodOptional<z.ZodBoolean>;
947
- lowLiquidity: z.ZodOptional<z.ZodString>;
948
- burnRate: z.ZodOptional<z.ZodString>;
949
- }, {
940
+ } & {
950
941
  buyTax: z.ZodOptional<z.ZodString>;
951
942
  sellTax: z.ZodOptional<z.ZodString>;
952
943
  transferPausable: z.ZodOptional<z.ZodBoolean>;
@@ -963,7 +954,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
963
954
  isMintable: z.ZodOptional<z.ZodBoolean>;
964
955
  modifyableTax: z.ZodOptional<z.ZodBoolean>;
965
956
  selfDestruct: z.ZodOptional<z.ZodBoolean>;
966
- }>, "strip", z.ZodTypeAny, {
957
+ }, "strip", z.ZodTypeAny, {
967
958
  buyTax?: string | undefined;
968
959
  sellTax?: string | undefined;
969
960
  transferPausable?: boolean | undefined;
@@ -1012,7 +1003,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1012
1003
  username: string;
1013
1004
  lastChecked: string;
1014
1005
  }>, "many">>;
1015
- perpetuals: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1006
+ perpetuals: z.ZodOptional<z.ZodObject<Omit<{
1016
1007
  markPriceUSD: z.ZodDefault<z.ZodNumber>;
1017
1008
  markPriceQuote: z.ZodDefault<z.ZodNumber>;
1018
1009
  oraclePriceUSD: z.ZodDefault<z.ZodNumber>;
@@ -1038,7 +1029,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1038
1029
  totalFeeLong1yPercentage: z.ZodDefault<z.ZodNumber>;
1039
1030
  collateral: z.ZodOptional<z.ZodString>;
1040
1031
  marketId: z.ZodString;
1041
- }, {
1032
+ } & {
1042
1033
  defaultTradingFees: z.ZodObject<{
1043
1034
  makerFeeBps: z.ZodDefault<z.ZodNumber>;
1044
1035
  takerFeeBps: z.ZodDefault<z.ZodNumber>;
@@ -1091,7 +1082,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1091
1082
  startLeverage?: number | undefined;
1092
1083
  endLeverage?: number | undefined;
1093
1084
  }>;
1094
- }>, "oiCollateral">, {
1085
+ }, "oiCollateral"> & {
1095
1086
  openInterest: z.ZodObject<{
1096
1087
  longUSD: z.ZodDefault<z.ZodNumber>;
1097
1088
  longQuoteToken: z.ZodDefault<z.ZodNumber>;
@@ -1114,7 +1105,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1114
1105
  maxUSD?: number | undefined;
1115
1106
  maxQuoteToken?: number | undefined;
1116
1107
  }>;
1117
- }>, "strip", z.ZodTypeAny, {
1108
+ }, "strip", z.ZodTypeAny, {
1118
1109
  markPriceUSD: number;
1119
1110
  markPriceQuote: number;
1120
1111
  oraclePriceUSD: number;
@@ -1214,7 +1205,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1214
1205
  collateral?: string | undefined;
1215
1206
  }>>;
1216
1207
  extraData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1217
- }, {
1208
+ } & {
1218
1209
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1219
1210
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1220
1211
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1236,7 +1227,7 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
1236
1227
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1237
1228
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1238
1229
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1239
- }>, "strip", z.ZodTypeAny, {
1230
+ }, "strip", z.ZodTypeAny, {
1240
1231
  type: string;
1241
1232
  description: string | null;
1242
1233
  address: string;
@@ -2184,8 +2175,8 @@ export declare const TokenMarketsOutput: z.ZodArray<z.ZodObject<z.objectUtil.ext
2184
2175
  extraData?: Record<string, unknown> | undefined;
2185
2176
  }>, "many">;
2186
2177
  export declare const TokenMarketsResponseSchema: z.ZodObject<{
2187
- data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2188
- token0: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2178
+ data: z.ZodArray<z.ZodObject<{
2179
+ token0: z.ZodOptional<z.ZodObject<{
2189
2180
  address: z.ZodString;
2190
2181
  chainId: z.ZodString;
2191
2182
  symbol: z.ZodNullable<z.ZodString>;
@@ -2232,7 +2223,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2232
2223
  atlUSD: z.ZodOptional<z.ZodNumber>;
2233
2224
  athDate: z.ZodOptional<z.ZodDate>;
2234
2225
  atlDate: z.ZodOptional<z.ZodDate>;
2235
- }, {
2226
+ } & {
2236
2227
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2237
2228
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2238
2229
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2254,7 +2245,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2254
2245
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2255
2246
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2256
2247
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2257
- }>, "strip", z.ZodTypeAny, {
2248
+ }, "strip", z.ZodTypeAny, {
2258
2249
  symbol: string | null;
2259
2250
  name: string | null;
2260
2251
  address: string;
@@ -2379,7 +2370,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2379
2370
  athDate?: Date | undefined;
2380
2371
  atlDate?: Date | undefined;
2381
2372
  }>>;
2382
- token1: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2373
+ token1: z.ZodOptional<z.ZodObject<{
2383
2374
  address: z.ZodString;
2384
2375
  chainId: z.ZodString;
2385
2376
  symbol: z.ZodNullable<z.ZodString>;
@@ -2426,7 +2417,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2426
2417
  atlUSD: z.ZodOptional<z.ZodNumber>;
2427
2418
  athDate: z.ZodOptional<z.ZodDate>;
2428
2419
  atlDate: z.ZodOptional<z.ZodDate>;
2429
- }, {
2420
+ } & {
2430
2421
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2431
2422
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2432
2423
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2448,7 +2439,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2448
2439
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2449
2440
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2450
2441
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2451
- }>, "strip", z.ZodTypeAny, {
2442
+ }, "strip", z.ZodTypeAny, {
2452
2443
  symbol: string | null;
2453
2444
  name: string | null;
2454
2445
  address: string;
@@ -2573,7 +2564,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2573
2564
  athDate?: Date | undefined;
2574
2565
  atlDate?: Date | undefined;
2575
2566
  }>>;
2576
- base: z.ZodObject<z.objectUtil.extendShape<{
2567
+ base: z.ZodObject<{
2577
2568
  address: z.ZodString;
2578
2569
  chainId: z.ZodString;
2579
2570
  symbol: z.ZodNullable<z.ZodString>;
@@ -2620,7 +2611,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2620
2611
  atlUSD: z.ZodOptional<z.ZodNumber>;
2621
2612
  athDate: z.ZodOptional<z.ZodDate>;
2622
2613
  atlDate: z.ZodOptional<z.ZodDate>;
2623
- }, {
2614
+ } & {
2624
2615
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2625
2616
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2626
2617
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2642,7 +2633,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2642
2633
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2643
2634
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2644
2635
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2645
- }>, "strip", z.ZodTypeAny, {
2636
+ }, "strip", z.ZodTypeAny, {
2646
2637
  symbol: string | null;
2647
2638
  name: string | null;
2648
2639
  address: string;
@@ -2767,7 +2758,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2767
2758
  athDate?: Date | undefined;
2768
2759
  atlDate?: Date | undefined;
2769
2760
  }>;
2770
- quote: z.ZodObject<z.objectUtil.extendShape<{
2761
+ quote: z.ZodObject<{
2771
2762
  address: z.ZodString;
2772
2763
  chainId: z.ZodString;
2773
2764
  symbol: z.ZodNullable<z.ZodString>;
@@ -2814,7 +2805,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2814
2805
  atlUSD: z.ZodOptional<z.ZodNumber>;
2815
2806
  athDate: z.ZodOptional<z.ZodDate>;
2816
2807
  atlDate: z.ZodOptional<z.ZodDate>;
2817
- }, {
2808
+ } & {
2818
2809
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2819
2810
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2820
2811
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2836,7 +2827,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
2836
2827
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2837
2828
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2838
2829
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2839
- }>, "strip", z.ZodTypeAny, {
2830
+ }, "strip", z.ZodTypeAny, {
2840
2831
  symbol: string | null;
2841
2832
  name: string | null;
2842
2833
  address: string;
@@ -3076,7 +3067,6 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3076
3067
  feesPaid6hUSD: z.ZodDefault<z.ZodNumber>;
3077
3068
  feesPaid12hUSD: z.ZodDefault<z.ZodNumber>;
3078
3069
  feesPaid24hUSD: z.ZodDefault<z.ZodNumber>;
3079
- holdersCount: z.ZodDefault<z.ZodNumber>;
3080
3070
  source: z.ZodNullable<z.ZodString>;
3081
3071
  deployer: z.ZodNullable<z.ZodString>;
3082
3072
  tokenSymbol: z.ZodNullable<z.ZodString>;
@@ -3103,17 +3093,9 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3103
3093
  uri?: string | undefined;
3104
3094
  }>;
3105
3095
  description: z.ZodNullable<z.ZodString>;
3106
- security: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3107
- buyTax: z.ZodOptional<z.ZodString>;
3108
- sellTax: z.ZodOptional<z.ZodString>;
3109
- transferPausable: z.ZodOptional<z.ZodBoolean>;
3110
- top10Holders: z.ZodOptional<z.ZodString>;
3111
- isBlacklisted: z.ZodOptional<z.ZodBoolean>;
3096
+ security: z.ZodNullable<z.ZodObject<{
3112
3097
  noMintAuthority: z.ZodOptional<z.ZodBoolean>;
3113
- balanceMutable: z.ZodOptional<z.ZodBoolean>;
3114
- lowLiquidity: z.ZodOptional<z.ZodString>;
3115
- burnRate: z.ZodOptional<z.ZodString>;
3116
- }, {
3098
+ } & {
3117
3099
  buyTax: z.ZodOptional<z.ZodString>;
3118
3100
  sellTax: z.ZodOptional<z.ZodString>;
3119
3101
  transferPausable: z.ZodOptional<z.ZodBoolean>;
@@ -3130,7 +3112,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3130
3112
  isMintable: z.ZodOptional<z.ZodBoolean>;
3131
3113
  modifyableTax: z.ZodOptional<z.ZodBoolean>;
3132
3114
  selfDestruct: z.ZodOptional<z.ZodBoolean>;
3133
- }>, "strip", z.ZodTypeAny, {
3115
+ }, "strip", z.ZodTypeAny, {
3134
3116
  buyTax?: string | undefined;
3135
3117
  sellTax?: string | undefined;
3136
3118
  transferPausable?: boolean | undefined;
@@ -3179,7 +3161,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3179
3161
  username: string;
3180
3162
  lastChecked: string;
3181
3163
  }>, "many">>;
3182
- perpetuals: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
3164
+ perpetuals: z.ZodOptional<z.ZodObject<Omit<{
3183
3165
  markPriceUSD: z.ZodDefault<z.ZodNumber>;
3184
3166
  markPriceQuote: z.ZodDefault<z.ZodNumber>;
3185
3167
  oraclePriceUSD: z.ZodDefault<z.ZodNumber>;
@@ -3205,7 +3187,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3205
3187
  totalFeeLong1yPercentage: z.ZodDefault<z.ZodNumber>;
3206
3188
  collateral: z.ZodOptional<z.ZodString>;
3207
3189
  marketId: z.ZodString;
3208
- }, {
3190
+ } & {
3209
3191
  defaultTradingFees: z.ZodObject<{
3210
3192
  makerFeeBps: z.ZodDefault<z.ZodNumber>;
3211
3193
  takerFeeBps: z.ZodDefault<z.ZodNumber>;
@@ -3258,7 +3240,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3258
3240
  startLeverage?: number | undefined;
3259
3241
  endLeverage?: number | undefined;
3260
3242
  }>;
3261
- }>, "oiCollateral">, {
3243
+ }, "oiCollateral"> & {
3262
3244
  openInterest: z.ZodObject<{
3263
3245
  longUSD: z.ZodDefault<z.ZodNumber>;
3264
3246
  longQuoteToken: z.ZodDefault<z.ZodNumber>;
@@ -3281,7 +3263,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3281
3263
  maxUSD?: number | undefined;
3282
3264
  maxQuoteToken?: number | undefined;
3283
3265
  }>;
3284
- }>, "strip", z.ZodTypeAny, {
3266
+ }, "strip", z.ZodTypeAny, {
3285
3267
  markPriceUSD: number;
3286
3268
  markPriceQuote: number;
3287
3269
  oraclePriceUSD: number;
@@ -3381,7 +3363,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3381
3363
  collateral?: string | undefined;
3382
3364
  }>>;
3383
3365
  extraData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3384
- }, {
3366
+ } & {
3385
3367
  holdersCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3386
3368
  top10HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3387
3369
  top50HoldingsPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3403,7 +3385,7 @@ export declare const TokenMarketsResponseSchema: z.ZodObject<{
3403
3385
  freshTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3404
3386
  proTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3405
3387
  smartTradersBuys: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3406
- }>, "strip", z.ZodTypeAny, {
3388
+ }, "strip", z.ZodTypeAny, {
3407
3389
  type: string;
3408
3390
  description: string | null;
3409
3391
  address: string;
@@ -6,9 +6,11 @@ export declare const TokenPositionsParamsSchema: z.ZodObject<{
6
6
  force: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7
7
  label: z.ZodOptional<z.ZodNativeEnum<typeof Tags>>;
8
8
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
10
  walletAddresses: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  limit: number;
13
+ offset: number;
12
14
  force: boolean;
13
15
  address?: string | undefined;
14
16
  blockchain?: string | undefined;
@@ -18,6 +20,7 @@ export declare const TokenPositionsParamsSchema: z.ZodObject<{
18
20
  address?: string | undefined;
19
21
  blockchain?: string | undefined;
20
22
  limit?: number | undefined;
23
+ offset?: number | undefined;
21
24
  force?: boolean | undefined;
22
25
  walletAddresses?: string | string[] | undefined;
23
26
  label?: Tags | undefined;
@@ -1,4 +1,14 @@
1
1
  import { z } from 'zod';
2
+ /**
3
+ * Static analysis status enum:
4
+ * - completed: Analysis has been performed and results are included
5
+ * - pending: Analysis has been triggered and is in progress (results will be available on next request)
6
+ * - not_available: Chain not supported for static analysis or service disabled
7
+ * - insufficient_liquidity: Token doesn't meet minimum liquidity requirements
8
+ * - not_evm: Static analysis only available for EVM chains
9
+ */
10
+ export declare const StaticAnalysisStatusEnum: z.ZodEnum<["completed", "pending", "not_available", "insufficient_liquidity", "not_evm"]>;
11
+ export type StaticAnalysisStatus = z.infer<typeof StaticAnalysisStatusEnum>;
2
12
  export declare const TokenSecurityOutput: z.ZodObject<{
3
13
  address: z.ZodString;
4
14
  chainId: z.ZodString;
@@ -20,13 +30,39 @@ export declare const TokenSecurityOutput: z.ZodObject<{
20
30
  isMintable: z.ZodNullable<z.ZodBoolean>;
21
31
  isFreezable: z.ZodNullable<z.ZodBoolean>;
22
32
  proTraderVolume24hPercentage: z.ZodNullable<z.ZodNumber>;
33
+ transferPausable: z.ZodNullable<z.ZodBoolean>;
34
+ isBlacklisted: z.ZodNullable<z.ZodBoolean>;
35
+ isHoneypot: z.ZodNullable<z.ZodBoolean>;
36
+ isNotOpenSource: z.ZodNullable<z.ZodBoolean>;
37
+ renounced: z.ZodNullable<z.ZodBoolean>;
38
+ locked: z.ZodNullable<z.ZodString>;
39
+ isWhitelisted: z.ZodNullable<z.ZodBoolean>;
40
+ balanceMutable: z.ZodNullable<z.ZodBoolean>;
41
+ lowLiquidity: z.ZodNullable<z.ZodString>;
42
+ burnRate: z.ZodNullable<z.ZodString>;
43
+ modifyableTax: z.ZodNullable<z.ZodBoolean>;
44
+ selfDestruct: z.ZodNullable<z.ZodBoolean>;
45
+ staticAnalysisStatus: z.ZodNullable<z.ZodEnum<["completed", "pending", "not_available", "insufficient_liquidity", "not_evm"]>>;
46
+ staticAnalysisDate: z.ZodNullable<z.ZodString>;
23
47
  }, "strip", z.ZodTypeAny, {
24
48
  address: string;
25
49
  top10HoldingsPercentage: number | null;
26
50
  top50HoldingsPercentage: number | null;
27
51
  top100HoldingsPercentage: number | null;
28
52
  top200HoldingsPercentage: number | null;
53
+ transferPausable: boolean | null;
54
+ isBlacklisted: boolean | null;
55
+ isHoneypot: boolean | null;
56
+ isNotOpenSource: boolean | null;
57
+ renounced: boolean | null;
58
+ locked: string | null;
59
+ isWhitelisted: boolean | null;
60
+ balanceMutable: boolean | null;
61
+ lowLiquidity: string | null;
62
+ burnRate: string | null;
29
63
  isMintable: boolean | null;
64
+ modifyableTax: boolean | null;
65
+ selfDestruct: boolean | null;
30
66
  chainId: string;
31
67
  contractHoldingsPercentage: number | null;
32
68
  contractBalanceRaw: string | null;
@@ -41,13 +77,27 @@ export declare const TokenSecurityOutput: z.ZodObject<{
41
77
  isLaunchpadToken: boolean | null;
42
78
  isFreezable: boolean | null;
43
79
  proTraderVolume24hPercentage: number | null;
80
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
81
+ staticAnalysisDate: string | null;
44
82
  }, {
45
83
  address: string;
46
84
  top10HoldingsPercentage: number | null;
47
85
  top50HoldingsPercentage: number | null;
48
86
  top100HoldingsPercentage: number | null;
49
87
  top200HoldingsPercentage: number | null;
88
+ transferPausable: boolean | null;
89
+ isBlacklisted: boolean | null;
90
+ isHoneypot: boolean | null;
91
+ isNotOpenSource: boolean | null;
92
+ renounced: boolean | null;
93
+ locked: string | null;
94
+ isWhitelisted: boolean | null;
95
+ balanceMutable: boolean | null;
96
+ lowLiquidity: string | null;
97
+ burnRate: string | null;
50
98
  isMintable: boolean | null;
99
+ modifyableTax: boolean | null;
100
+ selfDestruct: boolean | null;
51
101
  chainId: string;
52
102
  contractHoldingsPercentage: number | null;
53
103
  contractBalanceRaw: string | null;
@@ -62,6 +112,8 @@ export declare const TokenSecurityOutput: z.ZodObject<{
62
112
  isLaunchpadToken: boolean | null;
63
113
  isFreezable: boolean | null;
64
114
  proTraderVolume24hPercentage: number | null;
115
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
116
+ staticAnalysisDate: string | null;
65
117
  }>;
66
118
  export type TokenSecurityOutputType = z.infer<typeof TokenSecurityOutput>;
67
119
  export declare const TokenSecurityResponseSchema: z.ZodObject<{
@@ -86,13 +138,39 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
86
138
  isMintable: z.ZodNullable<z.ZodBoolean>;
87
139
  isFreezable: z.ZodNullable<z.ZodBoolean>;
88
140
  proTraderVolume24hPercentage: z.ZodNullable<z.ZodNumber>;
141
+ transferPausable: z.ZodNullable<z.ZodBoolean>;
142
+ isBlacklisted: z.ZodNullable<z.ZodBoolean>;
143
+ isHoneypot: z.ZodNullable<z.ZodBoolean>;
144
+ isNotOpenSource: z.ZodNullable<z.ZodBoolean>;
145
+ renounced: z.ZodNullable<z.ZodBoolean>;
146
+ locked: z.ZodNullable<z.ZodString>;
147
+ isWhitelisted: z.ZodNullable<z.ZodBoolean>;
148
+ balanceMutable: z.ZodNullable<z.ZodBoolean>;
149
+ lowLiquidity: z.ZodNullable<z.ZodString>;
150
+ burnRate: z.ZodNullable<z.ZodString>;
151
+ modifyableTax: z.ZodNullable<z.ZodBoolean>;
152
+ selfDestruct: z.ZodNullable<z.ZodBoolean>;
153
+ staticAnalysisStatus: z.ZodNullable<z.ZodEnum<["completed", "pending", "not_available", "insufficient_liquidity", "not_evm"]>>;
154
+ staticAnalysisDate: z.ZodNullable<z.ZodString>;
89
155
  }, "strip", z.ZodTypeAny, {
90
156
  address: string;
91
157
  top10HoldingsPercentage: number | null;
92
158
  top50HoldingsPercentage: number | null;
93
159
  top100HoldingsPercentage: number | null;
94
160
  top200HoldingsPercentage: number | null;
161
+ transferPausable: boolean | null;
162
+ isBlacklisted: boolean | null;
163
+ isHoneypot: boolean | null;
164
+ isNotOpenSource: boolean | null;
165
+ renounced: boolean | null;
166
+ locked: string | null;
167
+ isWhitelisted: boolean | null;
168
+ balanceMutable: boolean | null;
169
+ lowLiquidity: string | null;
170
+ burnRate: string | null;
95
171
  isMintable: boolean | null;
172
+ modifyableTax: boolean | null;
173
+ selfDestruct: boolean | null;
96
174
  chainId: string;
97
175
  contractHoldingsPercentage: number | null;
98
176
  contractBalanceRaw: string | null;
@@ -107,13 +185,27 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
107
185
  isLaunchpadToken: boolean | null;
108
186
  isFreezable: boolean | null;
109
187
  proTraderVolume24hPercentage: number | null;
188
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
189
+ staticAnalysisDate: string | null;
110
190
  }, {
111
191
  address: string;
112
192
  top10HoldingsPercentage: number | null;
113
193
  top50HoldingsPercentage: number | null;
114
194
  top100HoldingsPercentage: number | null;
115
195
  top200HoldingsPercentage: number | null;
196
+ transferPausable: boolean | null;
197
+ isBlacklisted: boolean | null;
198
+ isHoneypot: boolean | null;
199
+ isNotOpenSource: boolean | null;
200
+ renounced: boolean | null;
201
+ locked: string | null;
202
+ isWhitelisted: boolean | null;
203
+ balanceMutable: boolean | null;
204
+ lowLiquidity: string | null;
205
+ burnRate: string | null;
116
206
  isMintable: boolean | null;
207
+ modifyableTax: boolean | null;
208
+ selfDestruct: boolean | null;
117
209
  chainId: string;
118
210
  contractHoldingsPercentage: number | null;
119
211
  contractBalanceRaw: string | null;
@@ -128,6 +220,8 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
128
220
  isLaunchpadToken: boolean | null;
129
221
  isFreezable: boolean | null;
130
222
  proTraderVolume24hPercentage: number | null;
223
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
224
+ staticAnalysisDate: string | null;
131
225
  }>;
132
226
  hostname: z.ZodOptional<z.ZodString>;
133
227
  }, "strip", z.ZodTypeAny, {
@@ -137,7 +231,19 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
137
231
  top50HoldingsPercentage: number | null;
138
232
  top100HoldingsPercentage: number | null;
139
233
  top200HoldingsPercentage: number | null;
234
+ transferPausable: boolean | null;
235
+ isBlacklisted: boolean | null;
236
+ isHoneypot: boolean | null;
237
+ isNotOpenSource: boolean | null;
238
+ renounced: boolean | null;
239
+ locked: string | null;
240
+ isWhitelisted: boolean | null;
241
+ balanceMutable: boolean | null;
242
+ lowLiquidity: string | null;
243
+ burnRate: string | null;
140
244
  isMintable: boolean | null;
245
+ modifyableTax: boolean | null;
246
+ selfDestruct: boolean | null;
141
247
  chainId: string;
142
248
  contractHoldingsPercentage: number | null;
143
249
  contractBalanceRaw: string | null;
@@ -152,6 +258,8 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
152
258
  isLaunchpadToken: boolean | null;
153
259
  isFreezable: boolean | null;
154
260
  proTraderVolume24hPercentage: number | null;
261
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
262
+ staticAnalysisDate: string | null;
155
263
  };
156
264
  hostname?: string | undefined;
157
265
  }, {
@@ -161,7 +269,19 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
161
269
  top50HoldingsPercentage: number | null;
162
270
  top100HoldingsPercentage: number | null;
163
271
  top200HoldingsPercentage: number | null;
272
+ transferPausable: boolean | null;
273
+ isBlacklisted: boolean | null;
274
+ isHoneypot: boolean | null;
275
+ isNotOpenSource: boolean | null;
276
+ renounced: boolean | null;
277
+ locked: string | null;
278
+ isWhitelisted: boolean | null;
279
+ balanceMutable: boolean | null;
280
+ lowLiquidity: string | null;
281
+ burnRate: string | null;
164
282
  isMintable: boolean | null;
283
+ modifyableTax: boolean | null;
284
+ selfDestruct: boolean | null;
165
285
  chainId: string;
166
286
  contractHoldingsPercentage: number | null;
167
287
  contractBalanceRaw: string | null;
@@ -176,6 +296,8 @@ export declare const TokenSecurityResponseSchema: z.ZodObject<{
176
296
  isLaunchpadToken: boolean | null;
177
297
  isFreezable: boolean | null;
178
298
  proTraderVolume24hPercentage: number | null;
299
+ staticAnalysisStatus: "completed" | "pending" | "not_available" | "insufficient_liquidity" | "not_evm" | null;
300
+ staticAnalysisDate: string | null;
179
301
  };
180
302
  hostname?: string | undefined;
181
303
  }>;
@@ -3,13 +3,16 @@ export declare const TokenSecurityQuery: z.ZodObject<{
3
3
  blockchain: z.ZodOptional<z.ZodString>;
4
4
  address: z.ZodString;
5
5
  instanceTracking: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
6
+ _forceAnalysis: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  address: string;
8
9
  blockchain?: string | undefined;
9
10
  instanceTracking?: boolean | undefined;
11
+ _forceAnalysis?: boolean | undefined;
10
12
  }, {
11
13
  address: string;
12
14
  blockchain?: string | undefined;
13
15
  instanceTracking?: unknown;
16
+ _forceAnalysis?: unknown;
14
17
  }>;
15
18
  export type TokenSecurityQueryType = z.input<typeof TokenSecurityQuery>;