@codex-data/sdk 2.0.1 → 2.0.3

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.
@@ -50,14 +50,6 @@ export type Scalars = {
50
50
  input: any;
51
51
  output: any;
52
52
  };
53
- join__FieldSet: {
54
- input: any;
55
- output: any;
56
- };
57
- link__Import: {
58
- input: any;
59
- output: any;
60
- };
61
53
  };
62
54
  /** Response returned by `onEventsCreatedByMaker`. */
63
55
  export type AddEventsByMakerOutput = {
@@ -228,6 +220,8 @@ export type BalancesInput = {
228
220
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
229
221
  /** Whether to remove scam tokens from the response. */
230
222
  removeScams?: InputMaybe<Scalars['Boolean']['input']>;
223
+ /** The attribute to sort the list on. Defaults to BALANCE (raw token amount). */
224
+ sortBy?: InputMaybe<BalancesSortAttribute>;
231
225
  /** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
232
226
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
233
227
  /** The wallet address to filter by. */
@@ -245,6 +239,13 @@ export type BalancesResponse = {
245
239
  /** The list of token balances that a wallet has. */
246
240
  items: Array<Balance>;
247
241
  };
242
+ /** The attribute to sort balances by. */
243
+ export declare enum BalancesSortAttribute {
244
+ /** Sort by raw token balance amount (default). */
245
+ Balance = "BALANCE",
246
+ /** Sort by USD value (descending). */
247
+ UsdValue = "USD_VALUE"
248
+ }
248
249
  /** Bar chart data to track price changes over time. */
249
250
  export type BarsResponse = {
250
251
  __typename?: 'BarsResponse';
@@ -308,6 +309,13 @@ export declare enum BondingCurveType {
308
309
  Linear = "LINEAR",
309
310
  Xyk = "XYK"
310
311
  }
312
+ /** A bucket identifier for grouping and querying webhooks. Provide both fields together so bucket-based queries work correctly. */
313
+ export type BucketKeyInput = {
314
+ /** The bucket ID for the webhook. */
315
+ bucketId: Scalars['String']['input'];
316
+ /** The bucket sort key for the webhook. */
317
+ bucketSortKey: Scalars['String']['input'];
318
+ };
311
319
  /** Event data for a token burn event. */
312
320
  export type BurnEventData = {
313
321
  __typename?: 'BurnEventData';
@@ -496,9 +504,17 @@ export type CreateApiTokensInput = {
496
504
  export type CreateMarketCapWebhookArgs = {
497
505
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
498
506
  alertRecurrence: AlertRecurrence;
499
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
507
+ /**
508
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
509
+ * @deprecated Use bucketKey.bucketId instead.
510
+ */
500
511
  bucketId?: InputMaybe<Scalars['String']['input']>;
501
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
512
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
513
+ bucketKey?: InputMaybe<BucketKeyInput>;
514
+ /**
515
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
516
+ * @deprecated Use bucketKey.bucketSortKey instead.
517
+ */
502
518
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
503
519
  /** The url to which the webhook message should be sent. */
504
520
  callbackUrl: Scalars['String']['input'];
@@ -529,9 +545,17 @@ export type CreateMarketCapWebhooksInput = {
529
545
  export type CreateNftEventWebhookArgs = {
530
546
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
531
547
  alertRecurrence: AlertRecurrence;
532
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
548
+ /**
549
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
550
+ * @deprecated Use bucketKey.bucketId instead.
551
+ */
533
552
  bucketId?: InputMaybe<Scalars['String']['input']>;
534
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
553
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
554
+ bucketKey?: InputMaybe<BucketKeyInput>;
555
+ /**
556
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
557
+ * @deprecated Use bucketKey.bucketSortKey instead.
558
+ */
535
559
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
536
560
  /** The url to which the webhook message should be sent. */
537
561
  callbackUrl: Scalars['String']['input'];
@@ -562,9 +586,17 @@ export type CreateNftEventWebhooksInput = {
562
586
  export type CreatePriceWebhookArgs = {
563
587
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
564
588
  alertRecurrence: AlertRecurrence;
565
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
589
+ /**
590
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
591
+ * @deprecated Use bucketKey.bucketId instead.
592
+ */
566
593
  bucketId?: InputMaybe<Scalars['String']['input']>;
567
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
594
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
595
+ bucketKey?: InputMaybe<BucketKeyInput>;
596
+ /**
597
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
598
+ * @deprecated Use bucketKey.bucketSortKey instead.
599
+ */
568
600
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
569
601
  /** The url to which the webhook message should be sent. */
570
602
  callbackUrl: Scalars['String']['input'];
@@ -595,9 +627,17 @@ export type CreatePriceWebhooksInput = {
595
627
  export type CreateRawTransactionWebhookArgs = {
596
628
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
597
629
  alertRecurrence: AlertRecurrence;
598
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
630
+ /**
631
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
632
+ * @deprecated Use bucketKey.bucketId instead.
633
+ */
599
634
  bucketId?: InputMaybe<Scalars['String']['input']>;
600
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
635
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
636
+ bucketKey?: InputMaybe<BucketKeyInput>;
637
+ /**
638
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
639
+ * @deprecated Use bucketKey.bucketSortKey instead.
640
+ */
601
641
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
602
642
  /** The url to which the webhook message should be sent. */
603
643
  callbackUrl: Scalars['String']['input'];
@@ -628,9 +668,17 @@ export type CreateRawTransactionWebhooksInput = {
628
668
  export type CreateTokenPairEventWebhookArgs = {
629
669
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
630
670
  alertRecurrence: AlertRecurrence;
631
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
671
+ /**
672
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
673
+ * @deprecated Use bucketKey.bucketId instead.
674
+ */
632
675
  bucketId?: InputMaybe<Scalars['String']['input']>;
633
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
676
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
677
+ bucketKey?: InputMaybe<BucketKeyInput>;
678
+ /**
679
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
680
+ * @deprecated Use bucketKey.bucketSortKey instead.
681
+ */
634
682
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
635
683
  /** The url to which the webhook message should be sent. */
636
684
  callbackUrl: Scalars['String']['input'];
@@ -661,9 +709,17 @@ export type CreateTokenPairEventWebhooksInput = {
661
709
  export type CreateTokenPriceEventWebhookArgs = {
662
710
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
663
711
  alertRecurrence: AlertRecurrence;
664
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
712
+ /**
713
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
714
+ * @deprecated Use bucketKey.bucketId instead.
715
+ */
665
716
  bucketId?: InputMaybe<Scalars['String']['input']>;
666
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
717
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
718
+ bucketKey?: InputMaybe<BucketKeyInput>;
719
+ /**
720
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
721
+ * @deprecated Use bucketKey.bucketSortKey instead.
722
+ */
667
723
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
668
724
  /** The url to which the webhook message should be sent. */
669
725
  callbackUrl: Scalars['String']['input'];
@@ -689,9 +745,17 @@ export type CreateTokenPriceEventWebhooksInput = {
689
745
  export type CreateTokenTransferEventWebhookArgs = {
690
746
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
691
747
  alertRecurrence: AlertRecurrence;
692
- /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
748
+ /**
749
+ * Deprecated. Use `bucketKey.bucketId` instead. Existing webhofoks created with `bucketId` and `bucketSortkey` will continue to work.
750
+ * @deprecated Use bucketKey.bucketId instead.
751
+ */
693
752
  bucketId?: InputMaybe<Scalars['String']['input']>;
694
- /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
753
+ /** An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields. */
754
+ bucketKey?: InputMaybe<BucketKeyInput>;
755
+ /**
756
+ * Deprecated. Use `bucketKey.bucketSortKey` instead. Existing webhooks created with `bucketId` and `bucketSortkey` will continue to work.
757
+ * @deprecated Use bucketKey.bucketSortKey instead.
758
+ */
695
759
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
696
760
  /** The url to which the webhook message should be sent. */
697
761
  callbackUrl: Scalars['String']['input'];
@@ -973,6 +1037,45 @@ export declare enum DetailedStatsWindowSize {
973
1037
  Hour12 = "hour12",
974
1038
  Min5 = "min5"
975
1039
  }
1040
+ /** Detailed stats for a token. */
1041
+ export type DetailedTokenStats = {
1042
+ __typename?: 'DetailedTokenStats';
1043
+ /** Number of aggregated buckets specified in input */
1044
+ bucketCount?: Maybe<Scalars['Int']['output']>;
1045
+ /** The unix timestamp for the last event to happen on the token. */
1046
+ lastTransactionAt?: Maybe<Scalars['Int']['output']>;
1047
+ /** The network ID the token is deployed on. */
1048
+ networkId: Scalars['Int']['output'];
1049
+ /** The timestamp specified as input to the query */
1050
+ queryTimestamp?: Maybe<Scalars['Int']['output']>;
1051
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
1052
+ statsType: TokenPairStatisticsType;
1053
+ /** The breakdown of stats over a 24 hour window. */
1054
+ stats_day1?: Maybe<WindowedDetailedTokenStats>;
1055
+ /** The breakdown of stats over an hour window. */
1056
+ stats_hour1?: Maybe<WindowedDetailedTokenStats>;
1057
+ /** The breakdown of stats over a 4 hour window. */
1058
+ stats_hour4?: Maybe<WindowedDetailedTokenStats>;
1059
+ /** The breakdown of stats over a 12 hour window. */
1060
+ stats_hour12?: Maybe<WindowedDetailedTokenStats>;
1061
+ /** The breakdown of stats over a 5 minute window. */
1062
+ stats_min5?: Maybe<WindowedDetailedTokenStats>;
1063
+ /** The contract address of the token. */
1064
+ tokenAddress: Scalars['String']['output'];
1065
+ /** The ID of the token (`tokenAddress:networkId`). */
1066
+ tokenId: Scalars['String']['output'];
1067
+ };
1068
+ /** The duration used to request detailed token stats. */
1069
+ export declare enum DetailedTokenStatsDuration {
1070
+ Day1 = "day1",
1071
+ Day30 = "day30",
1072
+ Hour1 = "hour1",
1073
+ Hour4 = "hour4",
1074
+ Hour12 = "hour12",
1075
+ Min5 = "min5",
1076
+ Min15 = "min15",
1077
+ Week1 = "week1"
1078
+ }
976
1079
  /** The detailed stats for a wallet. */
977
1080
  export type DetailedWalletStats = {
978
1081
  __typename?: 'DetailedWalletStats';
@@ -1116,6 +1219,8 @@ export type EnhancedToken = {
1116
1219
  socialLinks?: Maybe<SocialLinks>;
1117
1220
  /** The token symbol. For example, `APE`. */
1118
1221
  symbol?: Maybe<Scalars['String']['output']>;
1222
+ /** The percentage of total supply held by the top 10 holders (excluding exchanges/pairs). */
1223
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1119
1224
  /**
1120
1225
  * The total supply of the token.
1121
1226
  * @deprecated Use the TokenInfo type
@@ -1482,11 +1587,11 @@ export type FilterExchange = {
1482
1587
  };
1483
1588
  /** The input for filtering wallets for a network. */
1484
1589
  export type FilterNetworkWalletsInput = {
1485
- /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1590
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1486
1591
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1487
1592
  /** A set of filters to apply. */
1488
1593
  filters?: InputMaybe<WalletNetworkFilters>;
1489
- /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1594
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1490
1595
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1491
1596
  /** The maximum number of wallets to return. */
1492
1597
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1501,7 +1606,7 @@ export type FilterNetworkWalletsInput = {
1501
1606
  };
1502
1607
  /** The input for filtering wallets for a token. */
1503
1608
  export type FilterTokenWalletsInput = {
1504
- /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1609
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1505
1610
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1506
1611
  /**
1507
1612
  * A set of filters to apply
@@ -1510,7 +1615,7 @@ export type FilterTokenWalletsInput = {
1510
1615
  filters?: InputMaybe<WalletTokenFilters>;
1511
1616
  /** A set of filters to apply */
1512
1617
  filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1513
- /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1618
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1514
1619
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1515
1620
  /** The maximum number of wallets to return */
1516
1621
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1539,11 +1644,11 @@ export type FilterTokenWalletsInput = {
1539
1644
  };
1540
1645
  /** The input for filtering wallets. */
1541
1646
  export type FilterWalletsInput = {
1542
- /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1647
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1543
1648
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1544
1649
  /** A set of filters to apply. */
1545
1650
  filters?: InputMaybe<WalletFilters>;
1546
- /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1651
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
1547
1652
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1548
1653
  /** The maximum number of wallets to return. */
1549
1654
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1674,6 +1779,8 @@ export declare enum GraphQlNftPoolVariant {
1674
1779
  export type HoldersInput = {
1675
1780
  /** A cursor for use in pagination. */
1676
1781
  cursor?: InputMaybe<Scalars['String']['input']>;
1782
+ /** When true, filters out known LP pairs and burn addresses. Defaults to false. */
1783
+ filterContracts?: InputMaybe<Scalars['Boolean']['input']>;
1677
1784
  /** The maximum number of holders to return. Default is 50, maximum is 200. */
1678
1785
  limit?: InputMaybe<Scalars['Int']['input']>;
1679
1786
  /** The attribute to sort the list on */
@@ -1989,6 +2096,8 @@ export type LaunchpadTokenEventOutput = {
1989
2096
  sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
1990
2097
  /** Metadata for the token. */
1991
2098
  token: EnhancedToken;
2099
+ /** The percentage of total supply held by the top 10 holders. */
2100
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1992
2101
  /** The number of transactions in the last hour. */
1993
2102
  transactions1?: Maybe<Scalars['Int']['output']>;
1994
2103
  /** The volume of the token in the last hour. */
@@ -2027,8 +2136,12 @@ export declare enum LaunchpadTokenProtocol {
2027
2136
  Clanker = "Clanker",
2028
2137
  /** Protocol name for Clanker V4. */
2029
2138
  ClankerV4 = "ClankerV4",
2139
+ /** Protocol name for Doppler. */
2140
+ Doppler = "Doppler",
2030
2141
  /** Protocol name for EgoTech. */
2031
2142
  EgoTech = "EgoTech",
2143
+ /** Protocol name for Flaunch. */
2144
+ Flaunch = "Flaunch",
2032
2145
  /** Protocol name for Four.meme. */
2033
2146
  FourMeme = "FourMeme",
2034
2147
  /** Protocol name for Heaven. */
@@ -5055,9 +5168,9 @@ export type OnEventsCreatedByMakerInput = {
5055
5168
  export type OnLaunchpadTokenEventBatchInput = {
5056
5169
  /** The type of event. */
5057
5170
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5058
- /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr. */
5171
+ /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr, Bankr, Noice, Flaunch, Coinbarrel, Blowfish. */
5059
5172
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5060
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr. */
5173
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr, Bankr, Noice, Flaunch, Coinbarrel, Blowfish. */
5061
5174
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5062
5175
  /** The network ID that the token is deployed on. */
5063
5176
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5072,9 +5185,9 @@ export type OnLaunchpadTokenEventInput = {
5072
5185
  address?: InputMaybe<Scalars['String']['input']>;
5073
5186
  /** The type of event. */
5074
5187
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5075
- /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr. */
5188
+ /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr, Bankr, Noice, Flaunch, Coinbarrel, Blowfish. */
5076
5189
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5077
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr. */
5190
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr, Bankr, Noice, Flaunch, Coinbarrel, Blowfish. */
5078
5191
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5079
5192
  /** The network ID that the token is deployed on. */
5080
5193
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5631,6 +5744,8 @@ export type PairMetadata = {
5631
5744
  token0: PairMetadataToken;
5632
5745
  /** Pair metadata for the second token in the pair. */
5633
5746
  token1: PairMetadataToken;
5747
+ /** The percentage of total supply held by the top 10 holders. */
5748
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
5634
5749
  /** The trade volume in USD in the past hour. */
5635
5750
  volume1?: Maybe<Scalars['String']['output']>;
5636
5751
  /**
@@ -6027,6 +6142,13 @@ export type PooledTokenValues = {
6027
6142
  token0?: Maybe<Scalars['String']['output']>;
6028
6143
  token1?: Maybe<Scalars['String']['output']>;
6029
6144
  };
6145
+ /** Sort order for markets within a prediction event */
6146
+ export declare enum PredictionEventMarketSort {
6147
+ /** No sorting - return markets in original order */
6148
+ None = "NONE",
6149
+ /** Smart sorting based on market label patterns (dates, prices, etc.) - default */
6150
+ Smart = "SMART"
6151
+ }
6030
6152
  /** Real-time or historical prices for a token. */
6031
6153
  export type Price = {
6032
6154
  __typename?: 'Price';
@@ -6613,6 +6735,8 @@ export type Query = {
6613
6735
  * @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
6614
6736
  */
6615
6737
  getDetailedStats?: Maybe<DetailedStats>;
6738
+ /** Returns bucketed stats for a given token. */
6739
+ getDetailedTokenStats?: Maybe<DetailedTokenStats>;
6616
6740
  /** Returns a list of event labels for a pair. */
6617
6741
  getEventLabels?: Maybe<EventLabelConnection>;
6618
6742
  /** Returns a list of decentralized exchange metadata. */
@@ -6903,6 +7027,14 @@ export type QueryGetDetailedStatsArgs = {
6903
7027
  tokenOfInterest?: InputMaybe<TokenOfInterest>;
6904
7028
  windowSizes?: InputMaybe<Array<InputMaybe<DetailedStatsWindowSize>>>;
6905
7029
  };
7030
+ export type QueryGetDetailedTokenStatsArgs = {
7031
+ bucketCount?: InputMaybe<Scalars['Int']['input']>;
7032
+ durations?: InputMaybe<Array<InputMaybe<DetailedTokenStatsDuration>>>;
7033
+ networkId: Scalars['Int']['input'];
7034
+ statsType?: InputMaybe<TokenPairStatisticsType>;
7035
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
7036
+ tokenAddress: Scalars['String']['input'];
7037
+ };
6906
7038
  export type QueryGetEventLabelsArgs = {
6907
7039
  cursor?: InputMaybe<Scalars['String']['input']>;
6908
7040
  direction?: InputMaybe<RankingDirection>;
@@ -7306,7 +7438,7 @@ export type SandwichedLabelData = {
7306
7438
  /** The amount of `token1` drained in the attack. */
7307
7439
  token1DrainedAmount?: Maybe<Scalars['String']['output']>;
7308
7440
  };
7309
- /** Social links for a token. */
7441
+ /** Community gathered links for the socials of this contract. */
7310
7442
  export type SocialLinks = {
7311
7443
  __typename?: 'SocialLinks';
7312
7444
  bitcointalk?: Maybe<Scalars['String']['output']>;
@@ -7434,6 +7566,8 @@ export type Subscription = {
7434
7566
  onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
7435
7567
  /** Live-streamed bucketed stats for a given token within a pair. */
7436
7568
  onDetailedStatsUpdated?: Maybe<DetailedStats>;
7569
+ /** Live-streamed bucketed stats for a given token. */
7570
+ onDetailedTokenStatsUpdated?: Maybe<DetailedTokenStats>;
7437
7571
  /** Live-streamed event labels for a token. */
7438
7572
  onEventLabelCreated?: Maybe<EventLabel>;
7439
7573
  /** Live-streamed transactions for a pair. */
@@ -7501,6 +7635,9 @@ export type SubscriptionOnDetailedStatsUpdatedArgs = {
7501
7635
  pairId?: InputMaybe<Scalars['String']['input']>;
7502
7636
  tokenOfInterest?: InputMaybe<TokenOfInterest>;
7503
7637
  };
7638
+ export type SubscriptionOnDetailedTokenStatsUpdatedArgs = {
7639
+ tokenId?: InputMaybe<Scalars['String']['input']>;
7640
+ };
7504
7641
  export type SubscriptionOnEventLabelCreatedArgs = {
7505
7642
  id?: InputMaybe<Scalars['String']['input']>;
7506
7643
  };
@@ -7968,6 +8105,8 @@ export type TokenFilterResult = {
7968
8105
  swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
7969
8106
  /** Metadata for the token. */
7970
8107
  token?: Maybe<EnhancedToken>;
8108
+ /** The percentage of total supply held by the top 10 holders. */
8109
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
7971
8110
  /** The number of transactions in the past hour. */
7972
8111
  txnCount1?: Maybe<Scalars['Int']['output']>;
7973
8112
  /** The number of transactions in the past 4 hours. */
@@ -8126,7 +8265,7 @@ export type TokenFilters = {
8126
8265
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8127
8266
  /** The timestamp when the launchpad was migrated. */
8128
8267
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8129
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr. */
8268
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, Printr, Bankr, Noice, Flaunch, Coinbarrel, Blowfish. */
8130
8269
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
8131
8270
  /** A list of launchpad protocols. */
8132
8271
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -8182,6 +8321,8 @@ export type TokenFilters = {
8182
8321
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
8183
8322
  /** The unix timestamp for the creation of the token. */
8184
8323
  tokenCreatedAt?: InputMaybe<NumberFilter>;
8324
+ /** Filter by top 10 holders percentage. */
8325
+ top10HoldersPercent?: InputMaybe<NumberFilter>;
8185
8326
  /** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`. */
8186
8327
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
8187
8328
  /** The number of transactions in the past hour. */
@@ -8498,6 +8639,7 @@ export declare enum TokenRankingAttribute {
8498
8639
  SwapPct1dOldWallet = "swapPct1dOldWallet",
8499
8640
  SwapPct7dOldWallet = "swapPct7dOldWallet",
8500
8641
  TokenCreatedAt = "tokenCreatedAt",
8642
+ Top10HoldersPercent = "top10HoldersPercent",
8501
8643
  TrendingScore = "trendingScore",
8502
8644
  TrendingScore1 = "trendingScore1",
8503
8645
  TrendingScore4 = "trendingScore4",
@@ -10089,6 +10231,22 @@ export type WindowedDetailedStats = {
10089
10231
  /** The window size used to request detailed stats. */
10090
10232
  windowSize: DetailedStatsWindowSize;
10091
10233
  };
10234
+ /** Detailed token stats over a time frame. */
10235
+ export type WindowedDetailedTokenStats = {
10236
+ __typename?: 'WindowedDetailedTokenStats';
10237
+ /** The duration used to request detailed token stats. */
10238
+ duration: DetailedTokenStatsDuration;
10239
+ /** The unix timestamp for the end of the window. */
10240
+ end: Scalars['Int']['output'];
10241
+ /** The unix timestamp for the start of the window. */
10242
+ start: Scalars['Int']['output'];
10243
+ /** The numerical stats, such as number of buyers. */
10244
+ statsNonCurrency: WindowedDetailedNonCurrencyPairStats;
10245
+ /** The currency stats in USD, such as volume. */
10246
+ statsUsd: WindowedDetailedCurrencyPairStats;
10247
+ /** The list of start/end timestamps broken down for each bucket within the window. */
10248
+ timestamps: Array<Maybe<DetailedPairStatsBucketTimestamp>>;
10249
+ };
10092
10250
  /** The stats for a wallet over a time window. */
10093
10251
  export type WindowedWalletStats = {
10094
10252
  __typename?: 'WindowedWalletStats';
@@ -10107,21 +10265,6 @@ export type WindowedWalletStats = {
10107
10265
  /** The wallet address */
10108
10266
  walletAddress: Scalars['String']['output'];
10109
10267
  };
10110
- export declare enum Join__Graph {
10111
- ApiAdmin = "API_ADMIN",
10112
- Decodings = "DECODINGS",
10113
- Meta = "META",
10114
- Nfts = "NFTS",
10115
- Predictions = "PREDICTIONS",
10116
- Tokens = "TOKENS",
10117
- Users = "USERS"
10118
- }
10119
- export declare enum Link__Purpose {
10120
- /** `EXECUTION` features provide metadata necessary for operation execution. */
10121
- Execution = "EXECUTION",
10122
- /** `SECURITY` features provide metadata necessary to securely resolve fields. */
10123
- Security = "SECURITY"
10124
- }
10125
10268
  /** Currency stats. */
10126
10269
  export type StatsCurrency = {
10127
10270
  /** The average sale price in the time frame. */
@@ -10839,6 +10982,7 @@ export type RefreshBalancesMutation = {
10839
10982
  name?: string | null;
10840
10983
  networkId: number;
10841
10984
  symbol?: string | null;
10985
+ top10HoldersPercent?: number | null;
10842
10986
  exchanges?: Array<{
10843
10987
  __typename?: 'Exchange';
10844
10988
  address: string;
@@ -10976,6 +11120,7 @@ export type BalancesQuery = {
10976
11120
  name?: string | null;
10977
11121
  networkId: number;
10978
11122
  symbol?: string | null;
11123
+ top10HoldersPercent?: number | null;
10979
11124
  exchanges?: Array<{
10980
11125
  __typename?: 'Exchange';
10981
11126
  address: string;
@@ -11499,6 +11644,7 @@ export type FilterPairsQuery = {
11499
11644
  name?: string | null;
11500
11645
  networkId: number;
11501
11646
  symbol?: string | null;
11647
+ top10HoldersPercent?: number | null;
11502
11648
  exchanges?: Array<{
11503
11649
  __typename?: 'Exchange';
11504
11650
  address: string;
@@ -11585,6 +11731,7 @@ export type FilterPairsQuery = {
11585
11731
  name?: string | null;
11586
11732
  networkId: number;
11587
11733
  symbol?: string | null;
11734
+ top10HoldersPercent?: number | null;
11588
11735
  exchanges?: Array<{
11589
11736
  __typename?: 'Exchange';
11590
11737
  address: string;
@@ -11672,6 +11819,7 @@ export type FilterPairsQuery = {
11672
11819
  name?: string | null;
11673
11820
  networkId: number;
11674
11821
  symbol?: string | null;
11822
+ top10HoldersPercent?: number | null;
11675
11823
  exchanges?: Array<{
11676
11824
  __typename?: 'Exchange';
11677
11825
  address: string;
@@ -11758,6 +11906,7 @@ export type FilterPairsQuery = {
11758
11906
  name?: string | null;
11759
11907
  networkId: number;
11760
11908
  symbol?: string | null;
11909
+ top10HoldersPercent?: number | null;
11761
11910
  exchanges?: Array<{
11762
11911
  __typename?: 'Exchange';
11763
11912
  address: string;
@@ -12057,6 +12206,7 @@ export type FilterTokensQuery = {
12057
12206
  sniperHeldPercentage?: number | null;
12058
12207
  swapPct1dOldWallet?: string | null;
12059
12208
  swapPct7dOldWallet?: string | null;
12209
+ top10HoldersPercent?: number | null;
12060
12210
  txnCount1?: number | null;
12061
12211
  txnCount4?: number | null;
12062
12212
  txnCount5m?: number | null;
@@ -12150,6 +12300,7 @@ export type FilterTokensQuery = {
12150
12300
  name?: string | null;
12151
12301
  networkId: number;
12152
12302
  symbol?: string | null;
12303
+ top10HoldersPercent?: number | null;
12153
12304
  exchanges?: Array<{
12154
12305
  __typename?: 'Exchange';
12155
12306
  address: string;
@@ -12236,6 +12387,7 @@ export type FilterTokensQuery = {
12236
12387
  name?: string | null;
12237
12388
  networkId: number;
12238
12389
  symbol?: string | null;
12390
+ top10HoldersPercent?: number | null;
12239
12391
  exchanges?: Array<{
12240
12392
  __typename?: 'Exchange';
12241
12393
  address: string;
@@ -12355,6 +12507,7 @@ export type FilterTokensQuery = {
12355
12507
  name?: string | null;
12356
12508
  networkId: number;
12357
12509
  symbol?: string | null;
12510
+ top10HoldersPercent?: number | null;
12358
12511
  exchanges?: Array<{
12359
12512
  __typename?: 'Exchange';
12360
12513
  address: string;
@@ -12441,6 +12594,7 @@ export type FilterTokensQuery = {
12441
12594
  name?: string | null;
12442
12595
  networkId: number;
12443
12596
  symbol?: string | null;
12597
+ top10HoldersPercent?: number | null;
12444
12598
  exchanges?: Array<{
12445
12599
  __typename?: 'Exchange';
12446
12600
  address: string;
@@ -12528,6 +12682,7 @@ export type FilterTokensQuery = {
12528
12682
  name?: string | null;
12529
12683
  networkId: number;
12530
12684
  symbol?: string | null;
12685
+ top10HoldersPercent?: number | null;
12531
12686
  exchanges?: Array<{
12532
12687
  __typename?: 'Exchange';
12533
12688
  address: string;
@@ -12746,6 +12901,7 @@ export type GetBarsQuery = {
12746
12901
  name?: string | null;
12747
12902
  networkId: number;
12748
12903
  symbol?: string | null;
12904
+ top10HoldersPercent?: number | null;
12749
12905
  exchanges?: Array<{
12750
12906
  __typename?: 'Exchange';
12751
12907
  address: string;
@@ -12832,6 +12988,7 @@ export type GetBarsQuery = {
12832
12988
  name?: string | null;
12833
12989
  networkId: number;
12834
12990
  symbol?: string | null;
12991
+ top10HoldersPercent?: number | null;
12835
12992
  exchanges?: Array<{
12836
12993
  __typename?: 'Exchange';
12837
12994
  address: string;
@@ -12984,6 +13141,7 @@ export type GetCommunityNotesQuery = {
12984
13141
  name?: string | null;
12985
13142
  networkId: number;
12986
13143
  symbol?: string | null;
13144
+ top10HoldersPercent?: number | null;
12987
13145
  exchanges?: Array<{
12988
13146
  __typename?: 'Exchange';
12989
13147
  address: string;
@@ -13125,6 +13283,7 @@ export type GetDetailedPairStatsQuery = {
13125
13283
  name?: string | null;
13126
13284
  networkId: number;
13127
13285
  symbol?: string | null;
13286
+ top10HoldersPercent?: number | null;
13128
13287
  exchanges?: Array<{
13129
13288
  __typename?: 'Exchange';
13130
13289
  address: string;
@@ -13211,6 +13370,7 @@ export type GetDetailedPairStatsQuery = {
13211
13370
  name?: string | null;
13212
13371
  networkId: number;
13213
13372
  symbol?: string | null;
13373
+ top10HoldersPercent?: number | null;
13214
13374
  exchanges?: Array<{
13215
13375
  __typename?: 'Exchange';
13216
13376
  address: string;
@@ -14266,6 +14426,7 @@ export type GetDetailedPairsStatsQuery = {
14266
14426
  name?: string | null;
14267
14427
  networkId: number;
14268
14428
  symbol?: string | null;
14429
+ top10HoldersPercent?: number | null;
14269
14430
  exchanges?: Array<{
14270
14431
  __typename?: 'Exchange';
14271
14432
  address: string;
@@ -14352,6 +14513,7 @@ export type GetDetailedPairsStatsQuery = {
14352
14513
  name?: string | null;
14353
14514
  networkId: number;
14354
14515
  symbol?: string | null;
14516
+ top10HoldersPercent?: number | null;
14355
14517
  exchanges?: Array<{
14356
14518
  __typename?: 'Exchange';
14357
14519
  address: string;
@@ -15343,155 +15505,751 @@ export type GetDetailedPairsStatsQuery = {
15343
15505
  } | null;
15344
15506
  } | null> | null;
15345
15507
  };
15346
- export type GetEventLabelsQueryVariables = Exact<{
15347
- cursor?: InputMaybe<Scalars['String']['input']>;
15348
- direction?: InputMaybe<RankingDirection>;
15349
- id: Scalars['String']['input'];
15350
- limit?: InputMaybe<Scalars['Int']['input']>;
15351
- }>;
15352
- export type GetEventLabelsQuery = {
15353
- __typename?: 'Query';
15354
- getEventLabels?: {
15355
- __typename?: 'EventLabelConnection';
15356
- cursor?: string | null;
15357
- items?: Array<{
15358
- __typename?: 'EventLabel';
15359
- id: string;
15360
- label: EventLabelType;
15361
- logIndex: number;
15362
- networkId: number;
15363
- timestamp: number;
15364
- transactionHash: string;
15365
- transactionIndex: number;
15366
- data: {
15367
- __typename?: 'FrontRunLabelData';
15368
- index?: number | null;
15369
- token0DrainedAmountFrontRun: string;
15370
- token1DrainedAmountFrontRun: string;
15371
- } | {
15372
- __typename?: 'SandwichedLabelData';
15373
- token0DrainedAmount?: string | null;
15374
- token1DrainedAmount?: string | null;
15375
- };
15376
- } | null> | null;
15377
- } | null;
15378
- };
15379
- export type GetExchangesQueryVariables = Exact<{
15380
- showNameless?: InputMaybe<Scalars['Boolean']['input']>;
15381
- }>;
15382
- export type GetExchangesQuery = {
15383
- __typename?: 'Query';
15384
- getExchanges: Array<{
15385
- __typename?: 'Exchange';
15386
- address: string;
15387
- color?: string | null;
15388
- exchangeVersion?: string | null;
15389
- iconUrl?: string | null;
15390
- id: string;
15391
- name?: string | null;
15392
- networkId: number;
15393
- tradeUrl?: string | null;
15394
- }>;
15395
- };
15396
- export type GetNetworkConfigsQueryVariables = Exact<{
15397
- networkIds?: InputMaybe<Array<Scalars['Int']['input']> | Scalars['Int']['input']>;
15508
+ export type GetDetailedTokenStatsQueryVariables = Exact<{
15509
+ bucketCount?: InputMaybe<Scalars['Int']['input']>;
15510
+ durations?: InputMaybe<Array<InputMaybe<DetailedTokenStatsDuration>> | InputMaybe<DetailedTokenStatsDuration>>;
15511
+ networkId: Scalars['Int']['input'];
15512
+ statsType?: InputMaybe<TokenPairStatisticsType>;
15513
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
15514
+ tokenAddress: Scalars['String']['input'];
15398
15515
  }>;
15399
- export type GetNetworkConfigsQuery = {
15516
+ export type GetDetailedTokenStatsQuery = {
15400
15517
  __typename?: 'Query';
15401
- getNetworkConfigs: Array<{
15402
- __typename?: 'AptosNetworkConfig';
15403
- baseTokenAddress: string;
15404
- baseTokenSymbol: string;
15405
- color?: string | null;
15406
- defaultPairAddress: string;
15407
- defaultPairQuoteToken: QuoteToken;
15408
- enabled: boolean;
15409
- id: string;
15410
- mainnet: boolean;
15411
- name: string;
15412
- networkIconUrl: string;
15413
- networkId: number;
15414
- networkName: string;
15415
- networkShortName: string;
15416
- networkType: NetworkConfigType;
15417
- newTokensEnabled?: boolean | null;
15418
- stableCoinAddresses?: Array<string> | null;
15419
- wrappedBaseTokenSymbol: string;
15420
- explorer: {
15421
- __typename?: 'ExplorerConfig';
15422
- checksummed: boolean;
15423
- icon: string;
15424
- name: string;
15425
- url: string;
15426
- };
15427
- } | {
15428
- __typename?: 'EvmNetworkConfig';
15429
- baseTokenAddress: string;
15430
- baseTokenSymbol: string;
15431
- color?: string | null;
15432
- defaultPairAddress: string;
15433
- defaultPairQuoteToken: QuoteToken;
15434
- enabled: boolean;
15435
- id: string;
15436
- mainnet: boolean;
15437
- name: string;
15438
- networkIconUrl: string;
15439
- networkId: number;
15440
- networkName: string;
15441
- networkShortName: string;
15442
- networkType: NetworkConfigType;
15443
- newTokensEnabled?: boolean | null;
15444
- stableCoinAddresses?: Array<string> | null;
15445
- wrappedBaseTokenSymbol: string;
15446
- explorer: {
15447
- __typename?: 'ExplorerConfig';
15448
- checksummed: boolean;
15449
- icon: string;
15450
- name: string;
15451
- url: string;
15452
- };
15453
- } | {
15454
- __typename?: 'SolanaNetworkConfig';
15455
- baseTokenAddress: string;
15456
- baseTokenSymbol: string;
15457
- color?: string | null;
15458
- defaultPairAddress: string;
15459
- defaultPairQuoteToken: QuoteToken;
15460
- enabled: boolean;
15461
- id: string;
15462
- mainnet: boolean;
15463
- name: string;
15464
- networkIconUrl: string;
15465
- networkId: number;
15466
- networkName: string;
15467
- networkShortName: string;
15468
- networkType: NetworkConfigType;
15469
- newTokensEnabled?: boolean | null;
15470
- stableCoinAddresses?: Array<string> | null;
15471
- wrappedBaseTokenSymbol: string;
15472
- explorer: {
15473
- __typename?: 'ExplorerConfig';
15474
- checksummed: boolean;
15475
- icon: string;
15476
- name: string;
15477
- url: string;
15478
- };
15479
- } | {
15480
- __typename?: 'StarknetNetworkConfig';
15481
- baseTokenAddress: string;
15482
- baseTokenSymbol: string;
15483
- color?: string | null;
15484
- defaultPairAddress: string;
15485
- defaultPairQuoteToken: QuoteToken;
15486
- enabled: boolean;
15487
- id: string;
15488
- mainnet: boolean;
15489
- name: string;
15490
- networkIconUrl: string;
15518
+ getDetailedTokenStats?: {
15519
+ __typename?: 'DetailedTokenStats';
15520
+ bucketCount?: number | null;
15521
+ lastTransactionAt?: number | null;
15491
15522
  networkId: number;
15492
- networkName: string;
15493
- networkShortName: string;
15494
- networkType: NetworkConfigType;
15523
+ queryTimestamp?: number | null;
15524
+ statsType: TokenPairStatisticsType;
15525
+ tokenAddress: string;
15526
+ tokenId: string;
15527
+ stats_day1?: {
15528
+ __typename?: 'WindowedDetailedTokenStats';
15529
+ duration: DetailedTokenStatsDuration;
15530
+ end: number;
15531
+ start: number;
15532
+ statsNonCurrency: {
15533
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
15534
+ buyers?: {
15535
+ __typename?: 'DetailedPairStatsNumberMetrics';
15536
+ buckets: Array<number | null>;
15537
+ change?: number | null;
15538
+ currentValue?: number | null;
15539
+ previousValue?: number | null;
15540
+ } | null;
15541
+ buys?: {
15542
+ __typename?: 'DetailedPairStatsNumberMetrics';
15543
+ buckets: Array<number | null>;
15544
+ change?: number | null;
15545
+ currentValue?: number | null;
15546
+ previousValue?: number | null;
15547
+ } | null;
15548
+ sellers?: {
15549
+ __typename?: 'DetailedPairStatsNumberMetrics';
15550
+ buckets: Array<number | null>;
15551
+ change?: number | null;
15552
+ currentValue?: number | null;
15553
+ previousValue?: number | null;
15554
+ } | null;
15555
+ sells?: {
15556
+ __typename?: 'DetailedPairStatsNumberMetrics';
15557
+ buckets: Array<number | null>;
15558
+ change?: number | null;
15559
+ currentValue?: number | null;
15560
+ previousValue?: number | null;
15561
+ } | null;
15562
+ traders?: {
15563
+ __typename?: 'DetailedPairStatsNumberMetrics';
15564
+ buckets: Array<number | null>;
15565
+ change?: number | null;
15566
+ currentValue?: number | null;
15567
+ previousValue?: number | null;
15568
+ } | null;
15569
+ transactions?: {
15570
+ __typename?: 'DetailedPairStatsNumberMetrics';
15571
+ buckets: Array<number | null>;
15572
+ change?: number | null;
15573
+ currentValue?: number | null;
15574
+ previousValue?: number | null;
15575
+ } | null;
15576
+ };
15577
+ statsUsd: {
15578
+ __typename?: 'WindowedDetailedCurrencyPairStats';
15579
+ buyVolume?: {
15580
+ __typename?: 'DetailedPairStatsStringMetrics';
15581
+ buckets: Array<string | null>;
15582
+ change?: number | null;
15583
+ currentValue?: string | null;
15584
+ previousValue?: string | null;
15585
+ } | null;
15586
+ close?: {
15587
+ __typename?: 'DetailedPairStatsStringMetrics';
15588
+ buckets: Array<string | null>;
15589
+ change?: number | null;
15590
+ currentValue?: string | null;
15591
+ previousValue?: string | null;
15592
+ } | null;
15593
+ highest?: {
15594
+ __typename?: 'DetailedPairStatsStringMetrics';
15595
+ buckets: Array<string | null>;
15596
+ change?: number | null;
15597
+ currentValue?: string | null;
15598
+ previousValue?: string | null;
15599
+ } | null;
15600
+ liquidity?: {
15601
+ __typename?: 'DetailedPairStatsStringMetrics';
15602
+ buckets: Array<string | null>;
15603
+ change?: number | null;
15604
+ currentValue?: string | null;
15605
+ previousValue?: string | null;
15606
+ } | null;
15607
+ lowest?: {
15608
+ __typename?: 'DetailedPairStatsStringMetrics';
15609
+ buckets: Array<string | null>;
15610
+ change?: number | null;
15611
+ currentValue?: string | null;
15612
+ previousValue?: string | null;
15613
+ } | null;
15614
+ open?: {
15615
+ __typename?: 'DetailedPairStatsStringMetrics';
15616
+ buckets: Array<string | null>;
15617
+ change?: number | null;
15618
+ currentValue?: string | null;
15619
+ previousValue?: string | null;
15620
+ } | null;
15621
+ sellVolume?: {
15622
+ __typename?: 'DetailedPairStatsStringMetrics';
15623
+ buckets: Array<string | null>;
15624
+ change?: number | null;
15625
+ currentValue?: string | null;
15626
+ previousValue?: string | null;
15627
+ } | null;
15628
+ volume?: {
15629
+ __typename?: 'DetailedPairStatsStringMetrics';
15630
+ buckets: Array<string | null>;
15631
+ change?: number | null;
15632
+ currentValue?: string | null;
15633
+ previousValue?: string | null;
15634
+ } | null;
15635
+ };
15636
+ timestamps: Array<{
15637
+ __typename?: 'DetailedPairStatsBucketTimestamp';
15638
+ end: number;
15639
+ start: number;
15640
+ } | null>;
15641
+ } | null;
15642
+ stats_hour1?: {
15643
+ __typename?: 'WindowedDetailedTokenStats';
15644
+ duration: DetailedTokenStatsDuration;
15645
+ end: number;
15646
+ start: number;
15647
+ statsNonCurrency: {
15648
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
15649
+ buyers?: {
15650
+ __typename?: 'DetailedPairStatsNumberMetrics';
15651
+ buckets: Array<number | null>;
15652
+ change?: number | null;
15653
+ currentValue?: number | null;
15654
+ previousValue?: number | null;
15655
+ } | null;
15656
+ buys?: {
15657
+ __typename?: 'DetailedPairStatsNumberMetrics';
15658
+ buckets: Array<number | null>;
15659
+ change?: number | null;
15660
+ currentValue?: number | null;
15661
+ previousValue?: number | null;
15662
+ } | null;
15663
+ sellers?: {
15664
+ __typename?: 'DetailedPairStatsNumberMetrics';
15665
+ buckets: Array<number | null>;
15666
+ change?: number | null;
15667
+ currentValue?: number | null;
15668
+ previousValue?: number | null;
15669
+ } | null;
15670
+ sells?: {
15671
+ __typename?: 'DetailedPairStatsNumberMetrics';
15672
+ buckets: Array<number | null>;
15673
+ change?: number | null;
15674
+ currentValue?: number | null;
15675
+ previousValue?: number | null;
15676
+ } | null;
15677
+ traders?: {
15678
+ __typename?: 'DetailedPairStatsNumberMetrics';
15679
+ buckets: Array<number | null>;
15680
+ change?: number | null;
15681
+ currentValue?: number | null;
15682
+ previousValue?: number | null;
15683
+ } | null;
15684
+ transactions?: {
15685
+ __typename?: 'DetailedPairStatsNumberMetrics';
15686
+ buckets: Array<number | null>;
15687
+ change?: number | null;
15688
+ currentValue?: number | null;
15689
+ previousValue?: number | null;
15690
+ } | null;
15691
+ };
15692
+ statsUsd: {
15693
+ __typename?: 'WindowedDetailedCurrencyPairStats';
15694
+ buyVolume?: {
15695
+ __typename?: 'DetailedPairStatsStringMetrics';
15696
+ buckets: Array<string | null>;
15697
+ change?: number | null;
15698
+ currentValue?: string | null;
15699
+ previousValue?: string | null;
15700
+ } | null;
15701
+ close?: {
15702
+ __typename?: 'DetailedPairStatsStringMetrics';
15703
+ buckets: Array<string | null>;
15704
+ change?: number | null;
15705
+ currentValue?: string | null;
15706
+ previousValue?: string | null;
15707
+ } | null;
15708
+ highest?: {
15709
+ __typename?: 'DetailedPairStatsStringMetrics';
15710
+ buckets: Array<string | null>;
15711
+ change?: number | null;
15712
+ currentValue?: string | null;
15713
+ previousValue?: string | null;
15714
+ } | null;
15715
+ liquidity?: {
15716
+ __typename?: 'DetailedPairStatsStringMetrics';
15717
+ buckets: Array<string | null>;
15718
+ change?: number | null;
15719
+ currentValue?: string | null;
15720
+ previousValue?: string | null;
15721
+ } | null;
15722
+ lowest?: {
15723
+ __typename?: 'DetailedPairStatsStringMetrics';
15724
+ buckets: Array<string | null>;
15725
+ change?: number | null;
15726
+ currentValue?: string | null;
15727
+ previousValue?: string | null;
15728
+ } | null;
15729
+ open?: {
15730
+ __typename?: 'DetailedPairStatsStringMetrics';
15731
+ buckets: Array<string | null>;
15732
+ change?: number | null;
15733
+ currentValue?: string | null;
15734
+ previousValue?: string | null;
15735
+ } | null;
15736
+ sellVolume?: {
15737
+ __typename?: 'DetailedPairStatsStringMetrics';
15738
+ buckets: Array<string | null>;
15739
+ change?: number | null;
15740
+ currentValue?: string | null;
15741
+ previousValue?: string | null;
15742
+ } | null;
15743
+ volume?: {
15744
+ __typename?: 'DetailedPairStatsStringMetrics';
15745
+ buckets: Array<string | null>;
15746
+ change?: number | null;
15747
+ currentValue?: string | null;
15748
+ previousValue?: string | null;
15749
+ } | null;
15750
+ };
15751
+ timestamps: Array<{
15752
+ __typename?: 'DetailedPairStatsBucketTimestamp';
15753
+ end: number;
15754
+ start: number;
15755
+ } | null>;
15756
+ } | null;
15757
+ stats_hour4?: {
15758
+ __typename?: 'WindowedDetailedTokenStats';
15759
+ duration: DetailedTokenStatsDuration;
15760
+ end: number;
15761
+ start: number;
15762
+ statsNonCurrency: {
15763
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
15764
+ buyers?: {
15765
+ __typename?: 'DetailedPairStatsNumberMetrics';
15766
+ buckets: Array<number | null>;
15767
+ change?: number | null;
15768
+ currentValue?: number | null;
15769
+ previousValue?: number | null;
15770
+ } | null;
15771
+ buys?: {
15772
+ __typename?: 'DetailedPairStatsNumberMetrics';
15773
+ buckets: Array<number | null>;
15774
+ change?: number | null;
15775
+ currentValue?: number | null;
15776
+ previousValue?: number | null;
15777
+ } | null;
15778
+ sellers?: {
15779
+ __typename?: 'DetailedPairStatsNumberMetrics';
15780
+ buckets: Array<number | null>;
15781
+ change?: number | null;
15782
+ currentValue?: number | null;
15783
+ previousValue?: number | null;
15784
+ } | null;
15785
+ sells?: {
15786
+ __typename?: 'DetailedPairStatsNumberMetrics';
15787
+ buckets: Array<number | null>;
15788
+ change?: number | null;
15789
+ currentValue?: number | null;
15790
+ previousValue?: number | null;
15791
+ } | null;
15792
+ traders?: {
15793
+ __typename?: 'DetailedPairStatsNumberMetrics';
15794
+ buckets: Array<number | null>;
15795
+ change?: number | null;
15796
+ currentValue?: number | null;
15797
+ previousValue?: number | null;
15798
+ } | null;
15799
+ transactions?: {
15800
+ __typename?: 'DetailedPairStatsNumberMetrics';
15801
+ buckets: Array<number | null>;
15802
+ change?: number | null;
15803
+ currentValue?: number | null;
15804
+ previousValue?: number | null;
15805
+ } | null;
15806
+ };
15807
+ statsUsd: {
15808
+ __typename?: 'WindowedDetailedCurrencyPairStats';
15809
+ buyVolume?: {
15810
+ __typename?: 'DetailedPairStatsStringMetrics';
15811
+ buckets: Array<string | null>;
15812
+ change?: number | null;
15813
+ currentValue?: string | null;
15814
+ previousValue?: string | null;
15815
+ } | null;
15816
+ close?: {
15817
+ __typename?: 'DetailedPairStatsStringMetrics';
15818
+ buckets: Array<string | null>;
15819
+ change?: number | null;
15820
+ currentValue?: string | null;
15821
+ previousValue?: string | null;
15822
+ } | null;
15823
+ highest?: {
15824
+ __typename?: 'DetailedPairStatsStringMetrics';
15825
+ buckets: Array<string | null>;
15826
+ change?: number | null;
15827
+ currentValue?: string | null;
15828
+ previousValue?: string | null;
15829
+ } | null;
15830
+ liquidity?: {
15831
+ __typename?: 'DetailedPairStatsStringMetrics';
15832
+ buckets: Array<string | null>;
15833
+ change?: number | null;
15834
+ currentValue?: string | null;
15835
+ previousValue?: string | null;
15836
+ } | null;
15837
+ lowest?: {
15838
+ __typename?: 'DetailedPairStatsStringMetrics';
15839
+ buckets: Array<string | null>;
15840
+ change?: number | null;
15841
+ currentValue?: string | null;
15842
+ previousValue?: string | null;
15843
+ } | null;
15844
+ open?: {
15845
+ __typename?: 'DetailedPairStatsStringMetrics';
15846
+ buckets: Array<string | null>;
15847
+ change?: number | null;
15848
+ currentValue?: string | null;
15849
+ previousValue?: string | null;
15850
+ } | null;
15851
+ sellVolume?: {
15852
+ __typename?: 'DetailedPairStatsStringMetrics';
15853
+ buckets: Array<string | null>;
15854
+ change?: number | null;
15855
+ currentValue?: string | null;
15856
+ previousValue?: string | null;
15857
+ } | null;
15858
+ volume?: {
15859
+ __typename?: 'DetailedPairStatsStringMetrics';
15860
+ buckets: Array<string | null>;
15861
+ change?: number | null;
15862
+ currentValue?: string | null;
15863
+ previousValue?: string | null;
15864
+ } | null;
15865
+ };
15866
+ timestamps: Array<{
15867
+ __typename?: 'DetailedPairStatsBucketTimestamp';
15868
+ end: number;
15869
+ start: number;
15870
+ } | null>;
15871
+ } | null;
15872
+ stats_hour12?: {
15873
+ __typename?: 'WindowedDetailedTokenStats';
15874
+ duration: DetailedTokenStatsDuration;
15875
+ end: number;
15876
+ start: number;
15877
+ statsNonCurrency: {
15878
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
15879
+ buyers?: {
15880
+ __typename?: 'DetailedPairStatsNumberMetrics';
15881
+ buckets: Array<number | null>;
15882
+ change?: number | null;
15883
+ currentValue?: number | null;
15884
+ previousValue?: number | null;
15885
+ } | null;
15886
+ buys?: {
15887
+ __typename?: 'DetailedPairStatsNumberMetrics';
15888
+ buckets: Array<number | null>;
15889
+ change?: number | null;
15890
+ currentValue?: number | null;
15891
+ previousValue?: number | null;
15892
+ } | null;
15893
+ sellers?: {
15894
+ __typename?: 'DetailedPairStatsNumberMetrics';
15895
+ buckets: Array<number | null>;
15896
+ change?: number | null;
15897
+ currentValue?: number | null;
15898
+ previousValue?: number | null;
15899
+ } | null;
15900
+ sells?: {
15901
+ __typename?: 'DetailedPairStatsNumberMetrics';
15902
+ buckets: Array<number | null>;
15903
+ change?: number | null;
15904
+ currentValue?: number | null;
15905
+ previousValue?: number | null;
15906
+ } | null;
15907
+ traders?: {
15908
+ __typename?: 'DetailedPairStatsNumberMetrics';
15909
+ buckets: Array<number | null>;
15910
+ change?: number | null;
15911
+ currentValue?: number | null;
15912
+ previousValue?: number | null;
15913
+ } | null;
15914
+ transactions?: {
15915
+ __typename?: 'DetailedPairStatsNumberMetrics';
15916
+ buckets: Array<number | null>;
15917
+ change?: number | null;
15918
+ currentValue?: number | null;
15919
+ previousValue?: number | null;
15920
+ } | null;
15921
+ };
15922
+ statsUsd: {
15923
+ __typename?: 'WindowedDetailedCurrencyPairStats';
15924
+ buyVolume?: {
15925
+ __typename?: 'DetailedPairStatsStringMetrics';
15926
+ buckets: Array<string | null>;
15927
+ change?: number | null;
15928
+ currentValue?: string | null;
15929
+ previousValue?: string | null;
15930
+ } | null;
15931
+ close?: {
15932
+ __typename?: 'DetailedPairStatsStringMetrics';
15933
+ buckets: Array<string | null>;
15934
+ change?: number | null;
15935
+ currentValue?: string | null;
15936
+ previousValue?: string | null;
15937
+ } | null;
15938
+ highest?: {
15939
+ __typename?: 'DetailedPairStatsStringMetrics';
15940
+ buckets: Array<string | null>;
15941
+ change?: number | null;
15942
+ currentValue?: string | null;
15943
+ previousValue?: string | null;
15944
+ } | null;
15945
+ liquidity?: {
15946
+ __typename?: 'DetailedPairStatsStringMetrics';
15947
+ buckets: Array<string | null>;
15948
+ change?: number | null;
15949
+ currentValue?: string | null;
15950
+ previousValue?: string | null;
15951
+ } | null;
15952
+ lowest?: {
15953
+ __typename?: 'DetailedPairStatsStringMetrics';
15954
+ buckets: Array<string | null>;
15955
+ change?: number | null;
15956
+ currentValue?: string | null;
15957
+ previousValue?: string | null;
15958
+ } | null;
15959
+ open?: {
15960
+ __typename?: 'DetailedPairStatsStringMetrics';
15961
+ buckets: Array<string | null>;
15962
+ change?: number | null;
15963
+ currentValue?: string | null;
15964
+ previousValue?: string | null;
15965
+ } | null;
15966
+ sellVolume?: {
15967
+ __typename?: 'DetailedPairStatsStringMetrics';
15968
+ buckets: Array<string | null>;
15969
+ change?: number | null;
15970
+ currentValue?: string | null;
15971
+ previousValue?: string | null;
15972
+ } | null;
15973
+ volume?: {
15974
+ __typename?: 'DetailedPairStatsStringMetrics';
15975
+ buckets: Array<string | null>;
15976
+ change?: number | null;
15977
+ currentValue?: string | null;
15978
+ previousValue?: string | null;
15979
+ } | null;
15980
+ };
15981
+ timestamps: Array<{
15982
+ __typename?: 'DetailedPairStatsBucketTimestamp';
15983
+ end: number;
15984
+ start: number;
15985
+ } | null>;
15986
+ } | null;
15987
+ stats_min5?: {
15988
+ __typename?: 'WindowedDetailedTokenStats';
15989
+ duration: DetailedTokenStatsDuration;
15990
+ end: number;
15991
+ start: number;
15992
+ statsNonCurrency: {
15993
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
15994
+ buyers?: {
15995
+ __typename?: 'DetailedPairStatsNumberMetrics';
15996
+ buckets: Array<number | null>;
15997
+ change?: number | null;
15998
+ currentValue?: number | null;
15999
+ previousValue?: number | null;
16000
+ } | null;
16001
+ buys?: {
16002
+ __typename?: 'DetailedPairStatsNumberMetrics';
16003
+ buckets: Array<number | null>;
16004
+ change?: number | null;
16005
+ currentValue?: number | null;
16006
+ previousValue?: number | null;
16007
+ } | null;
16008
+ sellers?: {
16009
+ __typename?: 'DetailedPairStatsNumberMetrics';
16010
+ buckets: Array<number | null>;
16011
+ change?: number | null;
16012
+ currentValue?: number | null;
16013
+ previousValue?: number | null;
16014
+ } | null;
16015
+ sells?: {
16016
+ __typename?: 'DetailedPairStatsNumberMetrics';
16017
+ buckets: Array<number | null>;
16018
+ change?: number | null;
16019
+ currentValue?: number | null;
16020
+ previousValue?: number | null;
16021
+ } | null;
16022
+ traders?: {
16023
+ __typename?: 'DetailedPairStatsNumberMetrics';
16024
+ buckets: Array<number | null>;
16025
+ change?: number | null;
16026
+ currentValue?: number | null;
16027
+ previousValue?: number | null;
16028
+ } | null;
16029
+ transactions?: {
16030
+ __typename?: 'DetailedPairStatsNumberMetrics';
16031
+ buckets: Array<number | null>;
16032
+ change?: number | null;
16033
+ currentValue?: number | null;
16034
+ previousValue?: number | null;
16035
+ } | null;
16036
+ };
16037
+ statsUsd: {
16038
+ __typename?: 'WindowedDetailedCurrencyPairStats';
16039
+ buyVolume?: {
16040
+ __typename?: 'DetailedPairStatsStringMetrics';
16041
+ buckets: Array<string | null>;
16042
+ change?: number | null;
16043
+ currentValue?: string | null;
16044
+ previousValue?: string | null;
16045
+ } | null;
16046
+ close?: {
16047
+ __typename?: 'DetailedPairStatsStringMetrics';
16048
+ buckets: Array<string | null>;
16049
+ change?: number | null;
16050
+ currentValue?: string | null;
16051
+ previousValue?: string | null;
16052
+ } | null;
16053
+ highest?: {
16054
+ __typename?: 'DetailedPairStatsStringMetrics';
16055
+ buckets: Array<string | null>;
16056
+ change?: number | null;
16057
+ currentValue?: string | null;
16058
+ previousValue?: string | null;
16059
+ } | null;
16060
+ liquidity?: {
16061
+ __typename?: 'DetailedPairStatsStringMetrics';
16062
+ buckets: Array<string | null>;
16063
+ change?: number | null;
16064
+ currentValue?: string | null;
16065
+ previousValue?: string | null;
16066
+ } | null;
16067
+ lowest?: {
16068
+ __typename?: 'DetailedPairStatsStringMetrics';
16069
+ buckets: Array<string | null>;
16070
+ change?: number | null;
16071
+ currentValue?: string | null;
16072
+ previousValue?: string | null;
16073
+ } | null;
16074
+ open?: {
16075
+ __typename?: 'DetailedPairStatsStringMetrics';
16076
+ buckets: Array<string | null>;
16077
+ change?: number | null;
16078
+ currentValue?: string | null;
16079
+ previousValue?: string | null;
16080
+ } | null;
16081
+ sellVolume?: {
16082
+ __typename?: 'DetailedPairStatsStringMetrics';
16083
+ buckets: Array<string | null>;
16084
+ change?: number | null;
16085
+ currentValue?: string | null;
16086
+ previousValue?: string | null;
16087
+ } | null;
16088
+ volume?: {
16089
+ __typename?: 'DetailedPairStatsStringMetrics';
16090
+ buckets: Array<string | null>;
16091
+ change?: number | null;
16092
+ currentValue?: string | null;
16093
+ previousValue?: string | null;
16094
+ } | null;
16095
+ };
16096
+ timestamps: Array<{
16097
+ __typename?: 'DetailedPairStatsBucketTimestamp';
16098
+ end: number;
16099
+ start: number;
16100
+ } | null>;
16101
+ } | null;
16102
+ } | null;
16103
+ };
16104
+ export type GetEventLabelsQueryVariables = Exact<{
16105
+ cursor?: InputMaybe<Scalars['String']['input']>;
16106
+ direction?: InputMaybe<RankingDirection>;
16107
+ id: Scalars['String']['input'];
16108
+ limit?: InputMaybe<Scalars['Int']['input']>;
16109
+ }>;
16110
+ export type GetEventLabelsQuery = {
16111
+ __typename?: 'Query';
16112
+ getEventLabels?: {
16113
+ __typename?: 'EventLabelConnection';
16114
+ cursor?: string | null;
16115
+ items?: Array<{
16116
+ __typename?: 'EventLabel';
16117
+ id: string;
16118
+ label: EventLabelType;
16119
+ logIndex: number;
16120
+ networkId: number;
16121
+ timestamp: number;
16122
+ transactionHash: string;
16123
+ transactionIndex: number;
16124
+ data: {
16125
+ __typename?: 'FrontRunLabelData';
16126
+ index?: number | null;
16127
+ token0DrainedAmountFrontRun: string;
16128
+ token1DrainedAmountFrontRun: string;
16129
+ } | {
16130
+ __typename?: 'SandwichedLabelData';
16131
+ token0DrainedAmount?: string | null;
16132
+ token1DrainedAmount?: string | null;
16133
+ };
16134
+ } | null> | null;
16135
+ } | null;
16136
+ };
16137
+ export type GetExchangesQueryVariables = Exact<{
16138
+ showNameless?: InputMaybe<Scalars['Boolean']['input']>;
16139
+ }>;
16140
+ export type GetExchangesQuery = {
16141
+ __typename?: 'Query';
16142
+ getExchanges: Array<{
16143
+ __typename?: 'Exchange';
16144
+ address: string;
16145
+ color?: string | null;
16146
+ exchangeVersion?: string | null;
16147
+ iconUrl?: string | null;
16148
+ id: string;
16149
+ name?: string | null;
16150
+ networkId: number;
16151
+ tradeUrl?: string | null;
16152
+ }>;
16153
+ };
16154
+ export type GetNetworkConfigsQueryVariables = Exact<{
16155
+ networkIds?: InputMaybe<Array<Scalars['Int']['input']> | Scalars['Int']['input']>;
16156
+ }>;
16157
+ export type GetNetworkConfigsQuery = {
16158
+ __typename?: 'Query';
16159
+ getNetworkConfigs: Array<{
16160
+ __typename?: 'AptosNetworkConfig';
16161
+ baseTokenAddress: string;
16162
+ baseTokenSymbol: string;
16163
+ color?: string | null;
16164
+ defaultPairAddress: string;
16165
+ defaultPairQuoteToken: QuoteToken;
16166
+ enabled: boolean;
16167
+ id: string;
16168
+ mainnet: boolean;
16169
+ name: string;
16170
+ networkIconUrl: string;
16171
+ networkId: number;
16172
+ networkName: string;
16173
+ networkShortName: string;
16174
+ networkType: NetworkConfigType;
16175
+ newTokensEnabled?: boolean | null;
16176
+ stableCoinAddresses?: Array<string> | null;
16177
+ wrappedBaseTokenSymbol: string;
16178
+ explorer: {
16179
+ __typename?: 'ExplorerConfig';
16180
+ checksummed: boolean;
16181
+ icon: string;
16182
+ name: string;
16183
+ url: string;
16184
+ };
16185
+ } | {
16186
+ __typename?: 'EvmNetworkConfig';
16187
+ baseTokenAddress: string;
16188
+ baseTokenSymbol: string;
16189
+ color?: string | null;
16190
+ defaultPairAddress: string;
16191
+ defaultPairQuoteToken: QuoteToken;
16192
+ enabled: boolean;
16193
+ id: string;
16194
+ mainnet: boolean;
16195
+ name: string;
16196
+ networkIconUrl: string;
16197
+ networkId: number;
16198
+ networkName: string;
16199
+ networkShortName: string;
16200
+ networkType: NetworkConfigType;
16201
+ newTokensEnabled?: boolean | null;
16202
+ stableCoinAddresses?: Array<string> | null;
16203
+ wrappedBaseTokenSymbol: string;
16204
+ explorer: {
16205
+ __typename?: 'ExplorerConfig';
16206
+ checksummed: boolean;
16207
+ icon: string;
16208
+ name: string;
16209
+ url: string;
16210
+ };
16211
+ } | {
16212
+ __typename?: 'SolanaNetworkConfig';
16213
+ baseTokenAddress: string;
16214
+ baseTokenSymbol: string;
16215
+ color?: string | null;
16216
+ defaultPairAddress: string;
16217
+ defaultPairQuoteToken: QuoteToken;
16218
+ enabled: boolean;
16219
+ id: string;
16220
+ mainnet: boolean;
16221
+ name: string;
16222
+ networkIconUrl: string;
16223
+ networkId: number;
16224
+ networkName: string;
16225
+ networkShortName: string;
16226
+ networkType: NetworkConfigType;
16227
+ newTokensEnabled?: boolean | null;
16228
+ stableCoinAddresses?: Array<string> | null;
16229
+ wrappedBaseTokenSymbol: string;
16230
+ explorer: {
16231
+ __typename?: 'ExplorerConfig';
16232
+ checksummed: boolean;
16233
+ icon: string;
16234
+ name: string;
16235
+ url: string;
16236
+ };
16237
+ } | {
16238
+ __typename?: 'StarknetNetworkConfig';
16239
+ baseTokenAddress: string;
16240
+ baseTokenSymbol: string;
16241
+ color?: string | null;
16242
+ defaultPairAddress: string;
16243
+ defaultPairQuoteToken: QuoteToken;
16244
+ enabled: boolean;
16245
+ id: string;
16246
+ mainnet: boolean;
16247
+ name: string;
16248
+ networkIconUrl: string;
16249
+ networkId: number;
16250
+ networkName: string;
16251
+ networkShortName: string;
16252
+ networkType: NetworkConfigType;
15495
16253
  newTokensEnabled?: boolean | null;
15496
16254
  stableCoinAddresses?: Array<string> | null;
15497
16255
  wrappedBaseTokenSymbol: string;
@@ -15648,6 +16406,7 @@ export type GetTokenBarsQuery = {
15648
16406
  name?: string | null;
15649
16407
  networkId: number;
15650
16408
  symbol?: string | null;
16409
+ top10HoldersPercent?: number | null;
15651
16410
  exchanges?: Array<{
15652
16411
  __typename?: 'Exchange';
15653
16412
  address: string;
@@ -16142,6 +16901,7 @@ export type HoldersQuery = {
16142
16901
  name?: string | null;
16143
16902
  networkId: number;
16144
16903
  symbol?: string | null;
16904
+ top10HoldersPercent?: number | null;
16145
16905
  exchanges?: Array<{
16146
16906
  __typename?: 'Exchange';
16147
16907
  address: string;
@@ -16361,6 +17121,7 @@ export type ListPairsForTokenQuery = {
16361
17121
  name?: string | null;
16362
17122
  networkId: number;
16363
17123
  symbol?: string | null;
17124
+ top10HoldersPercent?: number | null;
16364
17125
  exchanges?: Array<{
16365
17126
  __typename?: 'Exchange';
16366
17127
  address: string;
@@ -16447,6 +17208,7 @@ export type ListPairsForTokenQuery = {
16447
17208
  name?: string | null;
16448
17209
  networkId: number;
16449
17210
  symbol?: string | null;
17211
+ top10HoldersPercent?: number | null;
16450
17212
  exchanges?: Array<{
16451
17213
  __typename?: 'Exchange';
16452
17214
  address: string;
@@ -16549,6 +17311,7 @@ export type ListPairsWithMetadataForTokenQuery = {
16549
17311
  name?: string | null;
16550
17312
  networkId: number;
16551
17313
  symbol?: string | null;
17314
+ top10HoldersPercent?: number | null;
16552
17315
  exchanges?: Array<{
16553
17316
  __typename?: 'Exchange';
16554
17317
  address: string;
@@ -16678,6 +17441,7 @@ export type ListPairsWithMetadataForTokenQuery = {
16678
17441
  name?: string | null;
16679
17442
  networkId: number;
16680
17443
  symbol?: string | null;
17444
+ top10HoldersPercent?: number | null;
16681
17445
  exchanges?: Array<{
16682
17446
  __typename?: 'Exchange';
16683
17447
  address: string;
@@ -16764,6 +17528,7 @@ export type ListPairsWithMetadataForTokenQuery = {
16764
17528
  name?: string | null;
16765
17529
  networkId: number;
16766
17530
  symbol?: string | null;
17531
+ top10HoldersPercent?: number | null;
16767
17532
  exchanges?: Array<{
16768
17533
  __typename?: 'Exchange';
16769
17534
  address: string;
@@ -16851,6 +17616,7 @@ export type ListPairsWithMetadataForTokenQuery = {
16851
17616
  name?: string | null;
16852
17617
  networkId: number;
16853
17618
  symbol?: string | null;
17619
+ top10HoldersPercent?: number | null;
16854
17620
  exchanges?: Array<{
16855
17621
  __typename?: 'Exchange';
16856
17622
  address: string;
@@ -16960,6 +17726,7 @@ export type PairMetadataQuery = {
16960
17726
  quoteToken?: QuoteToken | null;
16961
17727
  statsType: TokenPairStatisticsType;
16962
17728
  tickSpacing?: number | null;
17729
+ top10HoldersPercent?: number | null;
16963
17730
  volume1?: string | null;
16964
17731
  volume4?: string | null;
16965
17732
  volume5m?: string | null;
@@ -16983,6 +17750,7 @@ export type PairMetadataQuery = {
16983
17750
  name?: string | null;
16984
17751
  networkId: number;
16985
17752
  symbol?: string | null;
17753
+ top10HoldersPercent?: number | null;
16986
17754
  exchanges?: Array<{
16987
17755
  __typename?: 'Exchange';
16988
17756
  address: string;
@@ -17069,6 +17837,7 @@ export type PairMetadataQuery = {
17069
17837
  name?: string | null;
17070
17838
  networkId: number;
17071
17839
  symbol?: string | null;
17840
+ top10HoldersPercent?: number | null;
17072
17841
  exchanges?: Array<{
17073
17842
  __typename?: 'Exchange';
17074
17843
  address: string;
@@ -17204,6 +17973,7 @@ export type TokenQuery = {
17204
17973
  name?: string | null;
17205
17974
  networkId: number;
17206
17975
  symbol?: string | null;
17976
+ top10HoldersPercent?: number | null;
17207
17977
  exchanges?: Array<{
17208
17978
  __typename?: 'Exchange';
17209
17979
  address: string;
@@ -17382,6 +18152,7 @@ export type TokensQuery = {
17382
18152
  name?: string | null;
17383
18153
  networkId: number;
17384
18154
  symbol?: string | null;
18155
+ top10HoldersPercent?: number | null;
17385
18156
  exchanges?: Array<{
17386
18157
  __typename?: 'Exchange';
17387
18158
  address: string;
@@ -17532,6 +18303,7 @@ export type OnBalanceUpdatedSubscription = {
17532
18303
  name?: string | null;
17533
18304
  networkId: number;
17534
18305
  symbol?: string | null;
18306
+ top10HoldersPercent?: number | null;
17535
18307
  exchanges?: Array<{
17536
18308
  __typename?: 'Exchange';
17537
18309
  address: string;
@@ -17664,7 +18436,95 @@ export type OnBarsUpdatedSubscription = {
17664
18436
  volumeNativeToken: string;
17665
18437
  };
17666
18438
  } | null;
17667
- r1D?: {
18439
+ r1D?: {
18440
+ __typename?: 'CurrencyBarData';
18441
+ t: number;
18442
+ token: {
18443
+ __typename?: 'IndividualBarData';
18444
+ buyVolume: string;
18445
+ buyers: number;
18446
+ buys: number;
18447
+ c: number;
18448
+ h: number;
18449
+ l: number;
18450
+ liquidity: string;
18451
+ o: number;
18452
+ sellVolume: string;
18453
+ sellers: number;
18454
+ sells: number;
18455
+ t: number;
18456
+ traders: number;
18457
+ transactions: number;
18458
+ v?: number | null;
18459
+ volume: string;
18460
+ volumeNativeToken: string;
18461
+ };
18462
+ usd: {
18463
+ __typename?: 'IndividualBarData';
18464
+ buyVolume: string;
18465
+ buyers: number;
18466
+ buys: number;
18467
+ c: number;
18468
+ h: number;
18469
+ l: number;
18470
+ liquidity: string;
18471
+ o: number;
18472
+ sellVolume: string;
18473
+ sellers: number;
18474
+ sells: number;
18475
+ t: number;
18476
+ traders: number;
18477
+ transactions: number;
18478
+ v?: number | null;
18479
+ volume: string;
18480
+ volumeNativeToken: string;
18481
+ };
18482
+ } | null;
18483
+ r1S?: {
18484
+ __typename?: 'CurrencyBarData';
18485
+ t: number;
18486
+ token: {
18487
+ __typename?: 'IndividualBarData';
18488
+ buyVolume: string;
18489
+ buyers: number;
18490
+ buys: number;
18491
+ c: number;
18492
+ h: number;
18493
+ l: number;
18494
+ liquidity: string;
18495
+ o: number;
18496
+ sellVolume: string;
18497
+ sellers: number;
18498
+ sells: number;
18499
+ t: number;
18500
+ traders: number;
18501
+ transactions: number;
18502
+ v?: number | null;
18503
+ volume: string;
18504
+ volumeNativeToken: string;
18505
+ };
18506
+ usd: {
18507
+ __typename?: 'IndividualBarData';
18508
+ buyVolume: string;
18509
+ buyers: number;
18510
+ buys: number;
18511
+ c: number;
18512
+ h: number;
18513
+ l: number;
18514
+ liquidity: string;
18515
+ o: number;
18516
+ sellVolume: string;
18517
+ sellers: number;
18518
+ sells: number;
18519
+ t: number;
18520
+ traders: number;
18521
+ transactions: number;
18522
+ v?: number | null;
18523
+ volume: string;
18524
+ volumeNativeToken: string;
18525
+ };
18526
+ } | null;
18527
+ r5?: {
17668
18528
  __typename?: 'CurrencyBarData';
17669
18529
  t: number;
17670
18530
  token: {
@@ -17708,7 +18568,7 @@ export type OnBarsUpdatedSubscription = {
17708
18568
  volumeNativeToken: string;
17709
18569
  };
17710
18570
  } | null;
17711
- r1S?: {
18571
+ r5S?: {
17712
18572
  __typename?: 'CurrencyBarData';
17713
18573
  t: number;
17714
18574
  token: {
@@ -17752,7 +18612,7 @@ export type OnBarsUpdatedSubscription = {
17752
18612
  volumeNativeToken: string;
17753
18613
  };
17754
18614
  } | null;
17755
- r5?: {
18615
+ r7D?: {
17756
18616
  __typename?: 'CurrencyBarData';
17757
18617
  t: number;
17758
18618
  token: {
@@ -17796,7 +18656,7 @@ export type OnBarsUpdatedSubscription = {
17796
18656
  volumeNativeToken: string;
17797
18657
  };
17798
18658
  } | null;
17799
- r5S?: {
18659
+ r15?: {
17800
18660
  __typename?: 'CurrencyBarData';
17801
18661
  t: number;
17802
18662
  token: {
@@ -17840,7 +18700,7 @@ export type OnBarsUpdatedSubscription = {
17840
18700
  volumeNativeToken: string;
17841
18701
  };
17842
18702
  } | null;
17843
- r7D?: {
18703
+ r15S?: {
17844
18704
  __typename?: 'CurrencyBarData';
17845
18705
  t: number;
17846
18706
  token: {
@@ -17884,7 +18744,7 @@ export type OnBarsUpdatedSubscription = {
17884
18744
  volumeNativeToken: string;
17885
18745
  };
17886
18746
  } | null;
17887
- r15?: {
18747
+ r30?: {
17888
18748
  __typename?: 'CurrencyBarData';
17889
18749
  t: number;
17890
18750
  token: {
@@ -17928,7 +18788,7 @@ export type OnBarsUpdatedSubscription = {
17928
18788
  volumeNativeToken: string;
17929
18789
  };
17930
18790
  } | null;
17931
- r15S?: {
18791
+ r30S?: {
17932
18792
  __typename?: 'CurrencyBarData';
17933
18793
  t: number;
17934
18794
  token: {
@@ -17972,7 +18832,7 @@ export type OnBarsUpdatedSubscription = {
17972
18832
  volumeNativeToken: string;
17973
18833
  };
17974
18834
  } | null;
17975
- r30?: {
18835
+ r60?: {
17976
18836
  __typename?: 'CurrencyBarData';
17977
18837
  t: number;
17978
18838
  token: {
@@ -18016,7 +18876,7 @@ export type OnBarsUpdatedSubscription = {
18016
18876
  volumeNativeToken: string;
18017
18877
  };
18018
18878
  } | null;
18019
- r30S?: {
18879
+ r240?: {
18020
18880
  __typename?: 'CurrencyBarData';
18021
18881
  t: number;
18022
18882
  token: {
@@ -18060,7 +18920,7 @@ export type OnBarsUpdatedSubscription = {
18060
18920
  volumeNativeToken: string;
18061
18921
  };
18062
18922
  } | null;
18063
- r60?: {
18923
+ r720?: {
18064
18924
  __typename?: 'CurrencyBarData';
18065
18925
  t: number;
18066
18926
  token: {
@@ -18104,109 +18964,317 @@ export type OnBarsUpdatedSubscription = {
18104
18964
  volumeNativeToken: string;
18105
18965
  };
18106
18966
  } | null;
18107
- r240?: {
18108
- __typename?: 'CurrencyBarData';
18109
- t: number;
18110
- token: {
18111
- __typename?: 'IndividualBarData';
18112
- buyVolume: string;
18113
- buyers: number;
18114
- buys: number;
18115
- c: number;
18116
- h: number;
18117
- l: number;
18118
- liquidity: string;
18119
- o: number;
18120
- sellVolume: string;
18121
- sellers: number;
18122
- sells: number;
18123
- t: number;
18124
- traders: number;
18125
- transactions: number;
18126
- v?: number | null;
18127
- volume: string;
18128
- volumeNativeToken: string;
18129
- };
18130
- usd: {
18131
- __typename?: 'IndividualBarData';
18132
- buyVolume: string;
18133
- buyers: number;
18134
- buys: number;
18135
- c: number;
18136
- h: number;
18137
- l: number;
18138
- liquidity: string;
18139
- o: number;
18140
- sellVolume: string;
18141
- sellers: number;
18142
- sells: number;
18143
- t: number;
18144
- traders: number;
18145
- transactions: number;
18146
- v?: number | null;
18147
- volume: string;
18148
- volumeNativeToken: string;
18149
- };
18967
+ };
18968
+ } | null;
18969
+ };
18970
+ export type OnDetailedStatsUpdatedSubscriptionVariables = Exact<{
18971
+ pairId?: InputMaybe<Scalars['String']['input']>;
18972
+ tokenOfInterest?: InputMaybe<TokenOfInterest>;
18973
+ }>;
18974
+ export type OnDetailedStatsUpdatedSubscription = {
18975
+ __typename?: 'Subscription';
18976
+ onDetailedStatsUpdated?: {
18977
+ __typename?: 'DetailedStats';
18978
+ pairId: string;
18979
+ statsType: TokenPairStatisticsType;
18980
+ tokenOfInterest: TokenOfInterest;
18981
+ stats_day1?: {
18982
+ __typename?: 'WindowedDetailedStats';
18983
+ endTimestamp: number;
18984
+ timestamp: number;
18985
+ windowSize: DetailedStatsWindowSize;
18986
+ buckets: Array<{
18987
+ __typename?: 'DetailedStatsBucketTimestamp';
18988
+ end: number;
18989
+ start: number;
18990
+ } | null>;
18991
+ buyVolume?: {
18992
+ __typename?: 'DetailedStatsStringMetrics';
18993
+ buckets: Array<string | null>;
18994
+ change: number;
18995
+ currentValue: string;
18996
+ previousValue: string;
18997
+ } | null;
18998
+ buyers: {
18999
+ __typename?: 'DetailedStatsNumberMetrics';
19000
+ buckets: Array<number | null>;
19001
+ change: number;
19002
+ currentValue: number;
19003
+ previousValue: number;
19004
+ };
19005
+ buys: {
19006
+ __typename?: 'DetailedStatsNumberMetrics';
19007
+ buckets: Array<number | null>;
19008
+ change: number;
19009
+ currentValue: number;
19010
+ previousValue: number;
19011
+ };
19012
+ sellVolume?: {
19013
+ __typename?: 'DetailedStatsStringMetrics';
19014
+ buckets: Array<string | null>;
19015
+ change: number;
19016
+ currentValue: string;
19017
+ previousValue: string;
19018
+ } | null;
19019
+ sellers: {
19020
+ __typename?: 'DetailedStatsNumberMetrics';
19021
+ buckets: Array<number | null>;
19022
+ change: number;
19023
+ currentValue: number;
19024
+ previousValue: number;
19025
+ };
19026
+ sells: {
19027
+ __typename?: 'DetailedStatsNumberMetrics';
19028
+ buckets: Array<number | null>;
19029
+ change: number;
19030
+ currentValue: number;
19031
+ previousValue: number;
19032
+ };
19033
+ traders?: {
19034
+ __typename?: 'DetailedStatsNumberMetrics';
19035
+ buckets: Array<number | null>;
19036
+ change: number;
19037
+ currentValue: number;
19038
+ previousValue: number;
19039
+ } | null;
19040
+ transactions: {
19041
+ __typename?: 'DetailedStatsNumberMetrics';
19042
+ buckets: Array<number | null>;
19043
+ change: number;
19044
+ currentValue: number;
19045
+ previousValue: number;
19046
+ };
19047
+ volume: {
19048
+ __typename?: 'DetailedStatsStringMetrics';
19049
+ buckets: Array<string | null>;
19050
+ change: number;
19051
+ currentValue: string;
19052
+ previousValue: string;
19053
+ };
19054
+ } | null;
19055
+ stats_hour1?: {
19056
+ __typename?: 'WindowedDetailedStats';
19057
+ endTimestamp: number;
19058
+ timestamp: number;
19059
+ windowSize: DetailedStatsWindowSize;
19060
+ buckets: Array<{
19061
+ __typename?: 'DetailedStatsBucketTimestamp';
19062
+ end: number;
19063
+ start: number;
19064
+ } | null>;
19065
+ buyVolume?: {
19066
+ __typename?: 'DetailedStatsStringMetrics';
19067
+ buckets: Array<string | null>;
19068
+ change: number;
19069
+ currentValue: string;
19070
+ previousValue: string;
19071
+ } | null;
19072
+ buyers: {
19073
+ __typename?: 'DetailedStatsNumberMetrics';
19074
+ buckets: Array<number | null>;
19075
+ change: number;
19076
+ currentValue: number;
19077
+ previousValue: number;
19078
+ };
19079
+ buys: {
19080
+ __typename?: 'DetailedStatsNumberMetrics';
19081
+ buckets: Array<number | null>;
19082
+ change: number;
19083
+ currentValue: number;
19084
+ previousValue: number;
19085
+ };
19086
+ sellVolume?: {
19087
+ __typename?: 'DetailedStatsStringMetrics';
19088
+ buckets: Array<string | null>;
19089
+ change: number;
19090
+ currentValue: string;
19091
+ previousValue: string;
19092
+ } | null;
19093
+ sellers: {
19094
+ __typename?: 'DetailedStatsNumberMetrics';
19095
+ buckets: Array<number | null>;
19096
+ change: number;
19097
+ currentValue: number;
19098
+ previousValue: number;
19099
+ };
19100
+ sells: {
19101
+ __typename?: 'DetailedStatsNumberMetrics';
19102
+ buckets: Array<number | null>;
19103
+ change: number;
19104
+ currentValue: number;
19105
+ previousValue: number;
19106
+ };
19107
+ traders?: {
19108
+ __typename?: 'DetailedStatsNumberMetrics';
19109
+ buckets: Array<number | null>;
19110
+ change: number;
19111
+ currentValue: number;
19112
+ previousValue: number;
19113
+ } | null;
19114
+ transactions: {
19115
+ __typename?: 'DetailedStatsNumberMetrics';
19116
+ buckets: Array<number | null>;
19117
+ change: number;
19118
+ currentValue: number;
19119
+ previousValue: number;
19120
+ };
19121
+ volume: {
19122
+ __typename?: 'DetailedStatsStringMetrics';
19123
+ buckets: Array<string | null>;
19124
+ change: number;
19125
+ currentValue: string;
19126
+ previousValue: string;
19127
+ };
19128
+ } | null;
19129
+ stats_hour4?: {
19130
+ __typename?: 'WindowedDetailedStats';
19131
+ endTimestamp: number;
19132
+ timestamp: number;
19133
+ windowSize: DetailedStatsWindowSize;
19134
+ buckets: Array<{
19135
+ __typename?: 'DetailedStatsBucketTimestamp';
19136
+ end: number;
19137
+ start: number;
19138
+ } | null>;
19139
+ buyVolume?: {
19140
+ __typename?: 'DetailedStatsStringMetrics';
19141
+ buckets: Array<string | null>;
19142
+ change: number;
19143
+ currentValue: string;
19144
+ previousValue: string;
19145
+ } | null;
19146
+ buyers: {
19147
+ __typename?: 'DetailedStatsNumberMetrics';
19148
+ buckets: Array<number | null>;
19149
+ change: number;
19150
+ currentValue: number;
19151
+ previousValue: number;
19152
+ };
19153
+ buys: {
19154
+ __typename?: 'DetailedStatsNumberMetrics';
19155
+ buckets: Array<number | null>;
19156
+ change: number;
19157
+ currentValue: number;
19158
+ previousValue: number;
19159
+ };
19160
+ sellVolume?: {
19161
+ __typename?: 'DetailedStatsStringMetrics';
19162
+ buckets: Array<string | null>;
19163
+ change: number;
19164
+ currentValue: string;
19165
+ previousValue: string;
19166
+ } | null;
19167
+ sellers: {
19168
+ __typename?: 'DetailedStatsNumberMetrics';
19169
+ buckets: Array<number | null>;
19170
+ change: number;
19171
+ currentValue: number;
19172
+ previousValue: number;
19173
+ };
19174
+ sells: {
19175
+ __typename?: 'DetailedStatsNumberMetrics';
19176
+ buckets: Array<number | null>;
19177
+ change: number;
19178
+ currentValue: number;
19179
+ previousValue: number;
19180
+ };
19181
+ traders?: {
19182
+ __typename?: 'DetailedStatsNumberMetrics';
19183
+ buckets: Array<number | null>;
19184
+ change: number;
19185
+ currentValue: number;
19186
+ previousValue: number;
19187
+ } | null;
19188
+ transactions: {
19189
+ __typename?: 'DetailedStatsNumberMetrics';
19190
+ buckets: Array<number | null>;
19191
+ change: number;
19192
+ currentValue: number;
19193
+ previousValue: number;
19194
+ };
19195
+ volume: {
19196
+ __typename?: 'DetailedStatsStringMetrics';
19197
+ buckets: Array<string | null>;
19198
+ change: number;
19199
+ currentValue: string;
19200
+ previousValue: string;
19201
+ };
19202
+ } | null;
19203
+ stats_hour12?: {
19204
+ __typename?: 'WindowedDetailedStats';
19205
+ endTimestamp: number;
19206
+ timestamp: number;
19207
+ windowSize: DetailedStatsWindowSize;
19208
+ buckets: Array<{
19209
+ __typename?: 'DetailedStatsBucketTimestamp';
19210
+ end: number;
19211
+ start: number;
19212
+ } | null>;
19213
+ buyVolume?: {
19214
+ __typename?: 'DetailedStatsStringMetrics';
19215
+ buckets: Array<string | null>;
19216
+ change: number;
19217
+ currentValue: string;
19218
+ previousValue: string;
18150
19219
  } | null;
18151
- r720?: {
18152
- __typename?: 'CurrencyBarData';
18153
- t: number;
18154
- token: {
18155
- __typename?: 'IndividualBarData';
18156
- buyVolume: string;
18157
- buyers: number;
18158
- buys: number;
18159
- c: number;
18160
- h: number;
18161
- l: number;
18162
- liquidity: string;
18163
- o: number;
18164
- sellVolume: string;
18165
- sellers: number;
18166
- sells: number;
18167
- t: number;
18168
- traders: number;
18169
- transactions: number;
18170
- v?: number | null;
18171
- volume: string;
18172
- volumeNativeToken: string;
18173
- };
18174
- usd: {
18175
- __typename?: 'IndividualBarData';
18176
- buyVolume: string;
18177
- buyers: number;
18178
- buys: number;
18179
- c: number;
18180
- h: number;
18181
- l: number;
18182
- liquidity: string;
18183
- o: number;
18184
- sellVolume: string;
18185
- sellers: number;
18186
- sells: number;
18187
- t: number;
18188
- traders: number;
18189
- transactions: number;
18190
- v?: number | null;
18191
- volume: string;
18192
- volumeNativeToken: string;
18193
- };
19220
+ buyers: {
19221
+ __typename?: 'DetailedStatsNumberMetrics';
19222
+ buckets: Array<number | null>;
19223
+ change: number;
19224
+ currentValue: number;
19225
+ previousValue: number;
19226
+ };
19227
+ buys: {
19228
+ __typename?: 'DetailedStatsNumberMetrics';
19229
+ buckets: Array<number | null>;
19230
+ change: number;
19231
+ currentValue: number;
19232
+ previousValue: number;
19233
+ };
19234
+ sellVolume?: {
19235
+ __typename?: 'DetailedStatsStringMetrics';
19236
+ buckets: Array<string | null>;
19237
+ change: number;
19238
+ currentValue: string;
19239
+ previousValue: string;
18194
19240
  } | null;
18195
- };
18196
- } | null;
18197
- };
18198
- export type OnDetailedStatsUpdatedSubscriptionVariables = Exact<{
18199
- pairId?: InputMaybe<Scalars['String']['input']>;
18200
- tokenOfInterest?: InputMaybe<TokenOfInterest>;
18201
- }>;
18202
- export type OnDetailedStatsUpdatedSubscription = {
18203
- __typename?: 'Subscription';
18204
- onDetailedStatsUpdated?: {
18205
- __typename?: 'DetailedStats';
18206
- pairId: string;
18207
- statsType: TokenPairStatisticsType;
18208
- tokenOfInterest: TokenOfInterest;
18209
- stats_day1?: {
19241
+ sellers: {
19242
+ __typename?: 'DetailedStatsNumberMetrics';
19243
+ buckets: Array<number | null>;
19244
+ change: number;
19245
+ currentValue: number;
19246
+ previousValue: number;
19247
+ };
19248
+ sells: {
19249
+ __typename?: 'DetailedStatsNumberMetrics';
19250
+ buckets: Array<number | null>;
19251
+ change: number;
19252
+ currentValue: number;
19253
+ previousValue: number;
19254
+ };
19255
+ traders?: {
19256
+ __typename?: 'DetailedStatsNumberMetrics';
19257
+ buckets: Array<number | null>;
19258
+ change: number;
19259
+ currentValue: number;
19260
+ previousValue: number;
19261
+ } | null;
19262
+ transactions: {
19263
+ __typename?: 'DetailedStatsNumberMetrics';
19264
+ buckets: Array<number | null>;
19265
+ change: number;
19266
+ currentValue: number;
19267
+ previousValue: number;
19268
+ };
19269
+ volume: {
19270
+ __typename?: 'DetailedStatsStringMetrics';
19271
+ buckets: Array<string | null>;
19272
+ change: number;
19273
+ currentValue: string;
19274
+ previousValue: string;
19275
+ };
19276
+ } | null;
19277
+ stats_min5?: {
18210
19278
  __typename?: 'WindowedDetailedStats';
18211
19279
  endTimestamp: number;
18212
19280
  timestamp: number;
@@ -18279,302 +19347,597 @@ export type OnDetailedStatsUpdatedSubscription = {
18279
19347
  currentValue: string;
18280
19348
  previousValue: string;
18281
19349
  };
18282
- } | null;
18283
- stats_hour1?: {
18284
- __typename?: 'WindowedDetailedStats';
18285
- endTimestamp: number;
18286
- timestamp: number;
18287
- windowSize: DetailedStatsWindowSize;
18288
- buckets: Array<{
18289
- __typename?: 'DetailedStatsBucketTimestamp';
19350
+ } | null;
19351
+ } | null;
19352
+ };
19353
+ export type OnDetailedTokenStatsUpdatedSubscriptionVariables = Exact<{
19354
+ tokenId?: InputMaybe<Scalars['String']['input']>;
19355
+ }>;
19356
+ export type OnDetailedTokenStatsUpdatedSubscription = {
19357
+ __typename?: 'Subscription';
19358
+ onDetailedTokenStatsUpdated?: {
19359
+ __typename?: 'DetailedTokenStats';
19360
+ bucketCount?: number | null;
19361
+ lastTransactionAt?: number | null;
19362
+ networkId: number;
19363
+ queryTimestamp?: number | null;
19364
+ statsType: TokenPairStatisticsType;
19365
+ tokenAddress: string;
19366
+ tokenId: string;
19367
+ stats_day1?: {
19368
+ __typename?: 'WindowedDetailedTokenStats';
19369
+ duration: DetailedTokenStatsDuration;
19370
+ end: number;
19371
+ start: number;
19372
+ statsNonCurrency: {
19373
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
19374
+ buyers?: {
19375
+ __typename?: 'DetailedPairStatsNumberMetrics';
19376
+ buckets: Array<number | null>;
19377
+ change?: number | null;
19378
+ currentValue?: number | null;
19379
+ previousValue?: number | null;
19380
+ } | null;
19381
+ buys?: {
19382
+ __typename?: 'DetailedPairStatsNumberMetrics';
19383
+ buckets: Array<number | null>;
19384
+ change?: number | null;
19385
+ currentValue?: number | null;
19386
+ previousValue?: number | null;
19387
+ } | null;
19388
+ sellers?: {
19389
+ __typename?: 'DetailedPairStatsNumberMetrics';
19390
+ buckets: Array<number | null>;
19391
+ change?: number | null;
19392
+ currentValue?: number | null;
19393
+ previousValue?: number | null;
19394
+ } | null;
19395
+ sells?: {
19396
+ __typename?: 'DetailedPairStatsNumberMetrics';
19397
+ buckets: Array<number | null>;
19398
+ change?: number | null;
19399
+ currentValue?: number | null;
19400
+ previousValue?: number | null;
19401
+ } | null;
19402
+ traders?: {
19403
+ __typename?: 'DetailedPairStatsNumberMetrics';
19404
+ buckets: Array<number | null>;
19405
+ change?: number | null;
19406
+ currentValue?: number | null;
19407
+ previousValue?: number | null;
19408
+ } | null;
19409
+ transactions?: {
19410
+ __typename?: 'DetailedPairStatsNumberMetrics';
19411
+ buckets: Array<number | null>;
19412
+ change?: number | null;
19413
+ currentValue?: number | null;
19414
+ previousValue?: number | null;
19415
+ } | null;
19416
+ };
19417
+ statsUsd: {
19418
+ __typename?: 'WindowedDetailedCurrencyPairStats';
19419
+ buyVolume?: {
19420
+ __typename?: 'DetailedPairStatsStringMetrics';
19421
+ buckets: Array<string | null>;
19422
+ change?: number | null;
19423
+ currentValue?: string | null;
19424
+ previousValue?: string | null;
19425
+ } | null;
19426
+ close?: {
19427
+ __typename?: 'DetailedPairStatsStringMetrics';
19428
+ buckets: Array<string | null>;
19429
+ change?: number | null;
19430
+ currentValue?: string | null;
19431
+ previousValue?: string | null;
19432
+ } | null;
19433
+ highest?: {
19434
+ __typename?: 'DetailedPairStatsStringMetrics';
19435
+ buckets: Array<string | null>;
19436
+ change?: number | null;
19437
+ currentValue?: string | null;
19438
+ previousValue?: string | null;
19439
+ } | null;
19440
+ liquidity?: {
19441
+ __typename?: 'DetailedPairStatsStringMetrics';
19442
+ buckets: Array<string | null>;
19443
+ change?: number | null;
19444
+ currentValue?: string | null;
19445
+ previousValue?: string | null;
19446
+ } | null;
19447
+ lowest?: {
19448
+ __typename?: 'DetailedPairStatsStringMetrics';
19449
+ buckets: Array<string | null>;
19450
+ change?: number | null;
19451
+ currentValue?: string | null;
19452
+ previousValue?: string | null;
19453
+ } | null;
19454
+ open?: {
19455
+ __typename?: 'DetailedPairStatsStringMetrics';
19456
+ buckets: Array<string | null>;
19457
+ change?: number | null;
19458
+ currentValue?: string | null;
19459
+ previousValue?: string | null;
19460
+ } | null;
19461
+ sellVolume?: {
19462
+ __typename?: 'DetailedPairStatsStringMetrics';
19463
+ buckets: Array<string | null>;
19464
+ change?: number | null;
19465
+ currentValue?: string | null;
19466
+ previousValue?: string | null;
19467
+ } | null;
19468
+ volume?: {
19469
+ __typename?: 'DetailedPairStatsStringMetrics';
19470
+ buckets: Array<string | null>;
19471
+ change?: number | null;
19472
+ currentValue?: string | null;
19473
+ previousValue?: string | null;
19474
+ } | null;
19475
+ };
19476
+ timestamps: Array<{
19477
+ __typename?: 'DetailedPairStatsBucketTimestamp';
18290
19478
  end: number;
18291
19479
  start: number;
18292
19480
  } | null>;
18293
- buyVolume?: {
18294
- __typename?: 'DetailedStatsStringMetrics';
18295
- buckets: Array<string | null>;
18296
- change: number;
18297
- currentValue: string;
18298
- previousValue: string;
18299
- } | null;
18300
- buyers: {
18301
- __typename?: 'DetailedStatsNumberMetrics';
18302
- buckets: Array<number | null>;
18303
- change: number;
18304
- currentValue: number;
18305
- previousValue: number;
18306
- };
18307
- buys: {
18308
- __typename?: 'DetailedStatsNumberMetrics';
18309
- buckets: Array<number | null>;
18310
- change: number;
18311
- currentValue: number;
18312
- previousValue: number;
18313
- };
18314
- sellVolume?: {
18315
- __typename?: 'DetailedStatsStringMetrics';
18316
- buckets: Array<string | null>;
18317
- change: number;
18318
- currentValue: string;
18319
- previousValue: string;
18320
- } | null;
18321
- sellers: {
18322
- __typename?: 'DetailedStatsNumberMetrics';
18323
- buckets: Array<number | null>;
18324
- change: number;
18325
- currentValue: number;
18326
- previousValue: number;
19481
+ } | null;
19482
+ stats_hour1?: {
19483
+ __typename?: 'WindowedDetailedTokenStats';
19484
+ duration: DetailedTokenStatsDuration;
19485
+ end: number;
19486
+ start: number;
19487
+ statsNonCurrency: {
19488
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
19489
+ buyers?: {
19490
+ __typename?: 'DetailedPairStatsNumberMetrics';
19491
+ buckets: Array<number | null>;
19492
+ change?: number | null;
19493
+ currentValue?: number | null;
19494
+ previousValue?: number | null;
19495
+ } | null;
19496
+ buys?: {
19497
+ __typename?: 'DetailedPairStatsNumberMetrics';
19498
+ buckets: Array<number | null>;
19499
+ change?: number | null;
19500
+ currentValue?: number | null;
19501
+ previousValue?: number | null;
19502
+ } | null;
19503
+ sellers?: {
19504
+ __typename?: 'DetailedPairStatsNumberMetrics';
19505
+ buckets: Array<number | null>;
19506
+ change?: number | null;
19507
+ currentValue?: number | null;
19508
+ previousValue?: number | null;
19509
+ } | null;
19510
+ sells?: {
19511
+ __typename?: 'DetailedPairStatsNumberMetrics';
19512
+ buckets: Array<number | null>;
19513
+ change?: number | null;
19514
+ currentValue?: number | null;
19515
+ previousValue?: number | null;
19516
+ } | null;
19517
+ traders?: {
19518
+ __typename?: 'DetailedPairStatsNumberMetrics';
19519
+ buckets: Array<number | null>;
19520
+ change?: number | null;
19521
+ currentValue?: number | null;
19522
+ previousValue?: number | null;
19523
+ } | null;
19524
+ transactions?: {
19525
+ __typename?: 'DetailedPairStatsNumberMetrics';
19526
+ buckets: Array<number | null>;
19527
+ change?: number | null;
19528
+ currentValue?: number | null;
19529
+ previousValue?: number | null;
19530
+ } | null;
18327
19531
  };
18328
- sells: {
18329
- __typename?: 'DetailedStatsNumberMetrics';
18330
- buckets: Array<number | null>;
18331
- change: number;
18332
- currentValue: number;
18333
- previousValue: number;
19532
+ statsUsd: {
19533
+ __typename?: 'WindowedDetailedCurrencyPairStats';
19534
+ buyVolume?: {
19535
+ __typename?: 'DetailedPairStatsStringMetrics';
19536
+ buckets: Array<string | null>;
19537
+ change?: number | null;
19538
+ currentValue?: string | null;
19539
+ previousValue?: string | null;
19540
+ } | null;
19541
+ close?: {
19542
+ __typename?: 'DetailedPairStatsStringMetrics';
19543
+ buckets: Array<string | null>;
19544
+ change?: number | null;
19545
+ currentValue?: string | null;
19546
+ previousValue?: string | null;
19547
+ } | null;
19548
+ highest?: {
19549
+ __typename?: 'DetailedPairStatsStringMetrics';
19550
+ buckets: Array<string | null>;
19551
+ change?: number | null;
19552
+ currentValue?: string | null;
19553
+ previousValue?: string | null;
19554
+ } | null;
19555
+ liquidity?: {
19556
+ __typename?: 'DetailedPairStatsStringMetrics';
19557
+ buckets: Array<string | null>;
19558
+ change?: number | null;
19559
+ currentValue?: string | null;
19560
+ previousValue?: string | null;
19561
+ } | null;
19562
+ lowest?: {
19563
+ __typename?: 'DetailedPairStatsStringMetrics';
19564
+ buckets: Array<string | null>;
19565
+ change?: number | null;
19566
+ currentValue?: string | null;
19567
+ previousValue?: string | null;
19568
+ } | null;
19569
+ open?: {
19570
+ __typename?: 'DetailedPairStatsStringMetrics';
19571
+ buckets: Array<string | null>;
19572
+ change?: number | null;
19573
+ currentValue?: string | null;
19574
+ previousValue?: string | null;
19575
+ } | null;
19576
+ sellVolume?: {
19577
+ __typename?: 'DetailedPairStatsStringMetrics';
19578
+ buckets: Array<string | null>;
19579
+ change?: number | null;
19580
+ currentValue?: string | null;
19581
+ previousValue?: string | null;
19582
+ } | null;
19583
+ volume?: {
19584
+ __typename?: 'DetailedPairStatsStringMetrics';
19585
+ buckets: Array<string | null>;
19586
+ change?: number | null;
19587
+ currentValue?: string | null;
19588
+ previousValue?: string | null;
19589
+ } | null;
18334
19590
  };
18335
- traders?: {
18336
- __typename?: 'DetailedStatsNumberMetrics';
18337
- buckets: Array<number | null>;
18338
- change: number;
18339
- currentValue: number;
18340
- previousValue: number;
18341
- } | null;
18342
- transactions: {
18343
- __typename?: 'DetailedStatsNumberMetrics';
18344
- buckets: Array<number | null>;
18345
- change: number;
18346
- currentValue: number;
18347
- previousValue: number;
19591
+ timestamps: Array<{
19592
+ __typename?: 'DetailedPairStatsBucketTimestamp';
19593
+ end: number;
19594
+ start: number;
19595
+ } | null>;
19596
+ } | null;
19597
+ stats_hour4?: {
19598
+ __typename?: 'WindowedDetailedTokenStats';
19599
+ duration: DetailedTokenStatsDuration;
19600
+ end: number;
19601
+ start: number;
19602
+ statsNonCurrency: {
19603
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
19604
+ buyers?: {
19605
+ __typename?: 'DetailedPairStatsNumberMetrics';
19606
+ buckets: Array<number | null>;
19607
+ change?: number | null;
19608
+ currentValue?: number | null;
19609
+ previousValue?: number | null;
19610
+ } | null;
19611
+ buys?: {
19612
+ __typename?: 'DetailedPairStatsNumberMetrics';
19613
+ buckets: Array<number | null>;
19614
+ change?: number | null;
19615
+ currentValue?: number | null;
19616
+ previousValue?: number | null;
19617
+ } | null;
19618
+ sellers?: {
19619
+ __typename?: 'DetailedPairStatsNumberMetrics';
19620
+ buckets: Array<number | null>;
19621
+ change?: number | null;
19622
+ currentValue?: number | null;
19623
+ previousValue?: number | null;
19624
+ } | null;
19625
+ sells?: {
19626
+ __typename?: 'DetailedPairStatsNumberMetrics';
19627
+ buckets: Array<number | null>;
19628
+ change?: number | null;
19629
+ currentValue?: number | null;
19630
+ previousValue?: number | null;
19631
+ } | null;
19632
+ traders?: {
19633
+ __typename?: 'DetailedPairStatsNumberMetrics';
19634
+ buckets: Array<number | null>;
19635
+ change?: number | null;
19636
+ currentValue?: number | null;
19637
+ previousValue?: number | null;
19638
+ } | null;
19639
+ transactions?: {
19640
+ __typename?: 'DetailedPairStatsNumberMetrics';
19641
+ buckets: Array<number | null>;
19642
+ change?: number | null;
19643
+ currentValue?: number | null;
19644
+ previousValue?: number | null;
19645
+ } | null;
18348
19646
  };
18349
- volume: {
18350
- __typename?: 'DetailedStatsStringMetrics';
18351
- buckets: Array<string | null>;
18352
- change: number;
18353
- currentValue: string;
18354
- previousValue: string;
19647
+ statsUsd: {
19648
+ __typename?: 'WindowedDetailedCurrencyPairStats';
19649
+ buyVolume?: {
19650
+ __typename?: 'DetailedPairStatsStringMetrics';
19651
+ buckets: Array<string | null>;
19652
+ change?: number | null;
19653
+ currentValue?: string | null;
19654
+ previousValue?: string | null;
19655
+ } | null;
19656
+ close?: {
19657
+ __typename?: 'DetailedPairStatsStringMetrics';
19658
+ buckets: Array<string | null>;
19659
+ change?: number | null;
19660
+ currentValue?: string | null;
19661
+ previousValue?: string | null;
19662
+ } | null;
19663
+ highest?: {
19664
+ __typename?: 'DetailedPairStatsStringMetrics';
19665
+ buckets: Array<string | null>;
19666
+ change?: number | null;
19667
+ currentValue?: string | null;
19668
+ previousValue?: string | null;
19669
+ } | null;
19670
+ liquidity?: {
19671
+ __typename?: 'DetailedPairStatsStringMetrics';
19672
+ buckets: Array<string | null>;
19673
+ change?: number | null;
19674
+ currentValue?: string | null;
19675
+ previousValue?: string | null;
19676
+ } | null;
19677
+ lowest?: {
19678
+ __typename?: 'DetailedPairStatsStringMetrics';
19679
+ buckets: Array<string | null>;
19680
+ change?: number | null;
19681
+ currentValue?: string | null;
19682
+ previousValue?: string | null;
19683
+ } | null;
19684
+ open?: {
19685
+ __typename?: 'DetailedPairStatsStringMetrics';
19686
+ buckets: Array<string | null>;
19687
+ change?: number | null;
19688
+ currentValue?: string | null;
19689
+ previousValue?: string | null;
19690
+ } | null;
19691
+ sellVolume?: {
19692
+ __typename?: 'DetailedPairStatsStringMetrics';
19693
+ buckets: Array<string | null>;
19694
+ change?: number | null;
19695
+ currentValue?: string | null;
19696
+ previousValue?: string | null;
19697
+ } | null;
19698
+ volume?: {
19699
+ __typename?: 'DetailedPairStatsStringMetrics';
19700
+ buckets: Array<string | null>;
19701
+ change?: number | null;
19702
+ currentValue?: string | null;
19703
+ previousValue?: string | null;
19704
+ } | null;
18355
19705
  };
18356
- } | null;
18357
- stats_hour4?: {
18358
- __typename?: 'WindowedDetailedStats';
18359
- endTimestamp: number;
18360
- timestamp: number;
18361
- windowSize: DetailedStatsWindowSize;
18362
- buckets: Array<{
18363
- __typename?: 'DetailedStatsBucketTimestamp';
19706
+ timestamps: Array<{
19707
+ __typename?: 'DetailedPairStatsBucketTimestamp';
18364
19708
  end: number;
18365
19709
  start: number;
18366
19710
  } | null>;
18367
- buyVolume?: {
18368
- __typename?: 'DetailedStatsStringMetrics';
18369
- buckets: Array<string | null>;
18370
- change: number;
18371
- currentValue: string;
18372
- previousValue: string;
18373
- } | null;
18374
- buyers: {
18375
- __typename?: 'DetailedStatsNumberMetrics';
18376
- buckets: Array<number | null>;
18377
- change: number;
18378
- currentValue: number;
18379
- previousValue: number;
18380
- };
18381
- buys: {
18382
- __typename?: 'DetailedStatsNumberMetrics';
18383
- buckets: Array<number | null>;
18384
- change: number;
18385
- currentValue: number;
18386
- previousValue: number;
18387
- };
18388
- sellVolume?: {
18389
- __typename?: 'DetailedStatsStringMetrics';
18390
- buckets: Array<string | null>;
18391
- change: number;
18392
- currentValue: string;
18393
- previousValue: string;
18394
- } | null;
18395
- sellers: {
18396
- __typename?: 'DetailedStatsNumberMetrics';
18397
- buckets: Array<number | null>;
18398
- change: number;
18399
- currentValue: number;
18400
- previousValue: number;
18401
- };
18402
- sells: {
18403
- __typename?: 'DetailedStatsNumberMetrics';
18404
- buckets: Array<number | null>;
18405
- change: number;
18406
- currentValue: number;
18407
- previousValue: number;
18408
- };
18409
- traders?: {
18410
- __typename?: 'DetailedStatsNumberMetrics';
18411
- buckets: Array<number | null>;
18412
- change: number;
18413
- currentValue: number;
18414
- previousValue: number;
18415
- } | null;
18416
- transactions: {
18417
- __typename?: 'DetailedStatsNumberMetrics';
18418
- buckets: Array<number | null>;
18419
- change: number;
18420
- currentValue: number;
18421
- previousValue: number;
19711
+ } | null;
19712
+ stats_hour12?: {
19713
+ __typename?: 'WindowedDetailedTokenStats';
19714
+ duration: DetailedTokenStatsDuration;
19715
+ end: number;
19716
+ start: number;
19717
+ statsNonCurrency: {
19718
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
19719
+ buyers?: {
19720
+ __typename?: 'DetailedPairStatsNumberMetrics';
19721
+ buckets: Array<number | null>;
19722
+ change?: number | null;
19723
+ currentValue?: number | null;
19724
+ previousValue?: number | null;
19725
+ } | null;
19726
+ buys?: {
19727
+ __typename?: 'DetailedPairStatsNumberMetrics';
19728
+ buckets: Array<number | null>;
19729
+ change?: number | null;
19730
+ currentValue?: number | null;
19731
+ previousValue?: number | null;
19732
+ } | null;
19733
+ sellers?: {
19734
+ __typename?: 'DetailedPairStatsNumberMetrics';
19735
+ buckets: Array<number | null>;
19736
+ change?: number | null;
19737
+ currentValue?: number | null;
19738
+ previousValue?: number | null;
19739
+ } | null;
19740
+ sells?: {
19741
+ __typename?: 'DetailedPairStatsNumberMetrics';
19742
+ buckets: Array<number | null>;
19743
+ change?: number | null;
19744
+ currentValue?: number | null;
19745
+ previousValue?: number | null;
19746
+ } | null;
19747
+ traders?: {
19748
+ __typename?: 'DetailedPairStatsNumberMetrics';
19749
+ buckets: Array<number | null>;
19750
+ change?: number | null;
19751
+ currentValue?: number | null;
19752
+ previousValue?: number | null;
19753
+ } | null;
19754
+ transactions?: {
19755
+ __typename?: 'DetailedPairStatsNumberMetrics';
19756
+ buckets: Array<number | null>;
19757
+ change?: number | null;
19758
+ currentValue?: number | null;
19759
+ previousValue?: number | null;
19760
+ } | null;
18422
19761
  };
18423
- volume: {
18424
- __typename?: 'DetailedStatsStringMetrics';
18425
- buckets: Array<string | null>;
18426
- change: number;
18427
- currentValue: string;
18428
- previousValue: string;
19762
+ statsUsd: {
19763
+ __typename?: 'WindowedDetailedCurrencyPairStats';
19764
+ buyVolume?: {
19765
+ __typename?: 'DetailedPairStatsStringMetrics';
19766
+ buckets: Array<string | null>;
19767
+ change?: number | null;
19768
+ currentValue?: string | null;
19769
+ previousValue?: string | null;
19770
+ } | null;
19771
+ close?: {
19772
+ __typename?: 'DetailedPairStatsStringMetrics';
19773
+ buckets: Array<string | null>;
19774
+ change?: number | null;
19775
+ currentValue?: string | null;
19776
+ previousValue?: string | null;
19777
+ } | null;
19778
+ highest?: {
19779
+ __typename?: 'DetailedPairStatsStringMetrics';
19780
+ buckets: Array<string | null>;
19781
+ change?: number | null;
19782
+ currentValue?: string | null;
19783
+ previousValue?: string | null;
19784
+ } | null;
19785
+ liquidity?: {
19786
+ __typename?: 'DetailedPairStatsStringMetrics';
19787
+ buckets: Array<string | null>;
19788
+ change?: number | null;
19789
+ currentValue?: string | null;
19790
+ previousValue?: string | null;
19791
+ } | null;
19792
+ lowest?: {
19793
+ __typename?: 'DetailedPairStatsStringMetrics';
19794
+ buckets: Array<string | null>;
19795
+ change?: number | null;
19796
+ currentValue?: string | null;
19797
+ previousValue?: string | null;
19798
+ } | null;
19799
+ open?: {
19800
+ __typename?: 'DetailedPairStatsStringMetrics';
19801
+ buckets: Array<string | null>;
19802
+ change?: number | null;
19803
+ currentValue?: string | null;
19804
+ previousValue?: string | null;
19805
+ } | null;
19806
+ sellVolume?: {
19807
+ __typename?: 'DetailedPairStatsStringMetrics';
19808
+ buckets: Array<string | null>;
19809
+ change?: number | null;
19810
+ currentValue?: string | null;
19811
+ previousValue?: string | null;
19812
+ } | null;
19813
+ volume?: {
19814
+ __typename?: 'DetailedPairStatsStringMetrics';
19815
+ buckets: Array<string | null>;
19816
+ change?: number | null;
19817
+ currentValue?: string | null;
19818
+ previousValue?: string | null;
19819
+ } | null;
18429
19820
  };
18430
- } | null;
18431
- stats_hour12?: {
18432
- __typename?: 'WindowedDetailedStats';
18433
- endTimestamp: number;
18434
- timestamp: number;
18435
- windowSize: DetailedStatsWindowSize;
18436
- buckets: Array<{
18437
- __typename?: 'DetailedStatsBucketTimestamp';
19821
+ timestamps: Array<{
19822
+ __typename?: 'DetailedPairStatsBucketTimestamp';
18438
19823
  end: number;
18439
19824
  start: number;
18440
19825
  } | null>;
18441
- buyVolume?: {
18442
- __typename?: 'DetailedStatsStringMetrics';
18443
- buckets: Array<string | null>;
18444
- change: number;
18445
- currentValue: string;
18446
- previousValue: string;
18447
- } | null;
18448
- buyers: {
18449
- __typename?: 'DetailedStatsNumberMetrics';
18450
- buckets: Array<number | null>;
18451
- change: number;
18452
- currentValue: number;
18453
- previousValue: number;
18454
- };
18455
- buys: {
18456
- __typename?: 'DetailedStatsNumberMetrics';
18457
- buckets: Array<number | null>;
18458
- change: number;
18459
- currentValue: number;
18460
- previousValue: number;
18461
- };
18462
- sellVolume?: {
18463
- __typename?: 'DetailedStatsStringMetrics';
18464
- buckets: Array<string | null>;
18465
- change: number;
18466
- currentValue: string;
18467
- previousValue: string;
18468
- } | null;
18469
- sellers: {
18470
- __typename?: 'DetailedStatsNumberMetrics';
18471
- buckets: Array<number | null>;
18472
- change: number;
18473
- currentValue: number;
18474
- previousValue: number;
18475
- };
18476
- sells: {
18477
- __typename?: 'DetailedStatsNumberMetrics';
18478
- buckets: Array<number | null>;
18479
- change: number;
18480
- currentValue: number;
18481
- previousValue: number;
18482
- };
18483
- traders?: {
18484
- __typename?: 'DetailedStatsNumberMetrics';
18485
- buckets: Array<number | null>;
18486
- change: number;
18487
- currentValue: number;
18488
- previousValue: number;
18489
- } | null;
18490
- transactions: {
18491
- __typename?: 'DetailedStatsNumberMetrics';
18492
- buckets: Array<number | null>;
18493
- change: number;
18494
- currentValue: number;
18495
- previousValue: number;
18496
- };
18497
- volume: {
18498
- __typename?: 'DetailedStatsStringMetrics';
18499
- buckets: Array<string | null>;
18500
- change: number;
18501
- currentValue: string;
18502
- previousValue: string;
18503
- };
18504
19826
  } | null;
18505
19827
  stats_min5?: {
18506
- __typename?: 'WindowedDetailedStats';
18507
- endTimestamp: number;
18508
- timestamp: number;
18509
- windowSize: DetailedStatsWindowSize;
18510
- buckets: Array<{
18511
- __typename?: 'DetailedStatsBucketTimestamp';
19828
+ __typename?: 'WindowedDetailedTokenStats';
19829
+ duration: DetailedTokenStatsDuration;
19830
+ end: number;
19831
+ start: number;
19832
+ statsNonCurrency: {
19833
+ __typename?: 'WindowedDetailedNonCurrencyPairStats';
19834
+ buyers?: {
19835
+ __typename?: 'DetailedPairStatsNumberMetrics';
19836
+ buckets: Array<number | null>;
19837
+ change?: number | null;
19838
+ currentValue?: number | null;
19839
+ previousValue?: number | null;
19840
+ } | null;
19841
+ buys?: {
19842
+ __typename?: 'DetailedPairStatsNumberMetrics';
19843
+ buckets: Array<number | null>;
19844
+ change?: number | null;
19845
+ currentValue?: number | null;
19846
+ previousValue?: number | null;
19847
+ } | null;
19848
+ sellers?: {
19849
+ __typename?: 'DetailedPairStatsNumberMetrics';
19850
+ buckets: Array<number | null>;
19851
+ change?: number | null;
19852
+ currentValue?: number | null;
19853
+ previousValue?: number | null;
19854
+ } | null;
19855
+ sells?: {
19856
+ __typename?: 'DetailedPairStatsNumberMetrics';
19857
+ buckets: Array<number | null>;
19858
+ change?: number | null;
19859
+ currentValue?: number | null;
19860
+ previousValue?: number | null;
19861
+ } | null;
19862
+ traders?: {
19863
+ __typename?: 'DetailedPairStatsNumberMetrics';
19864
+ buckets: Array<number | null>;
19865
+ change?: number | null;
19866
+ currentValue?: number | null;
19867
+ previousValue?: number | null;
19868
+ } | null;
19869
+ transactions?: {
19870
+ __typename?: 'DetailedPairStatsNumberMetrics';
19871
+ buckets: Array<number | null>;
19872
+ change?: number | null;
19873
+ currentValue?: number | null;
19874
+ previousValue?: number | null;
19875
+ } | null;
19876
+ };
19877
+ statsUsd: {
19878
+ __typename?: 'WindowedDetailedCurrencyPairStats';
19879
+ buyVolume?: {
19880
+ __typename?: 'DetailedPairStatsStringMetrics';
19881
+ buckets: Array<string | null>;
19882
+ change?: number | null;
19883
+ currentValue?: string | null;
19884
+ previousValue?: string | null;
19885
+ } | null;
19886
+ close?: {
19887
+ __typename?: 'DetailedPairStatsStringMetrics';
19888
+ buckets: Array<string | null>;
19889
+ change?: number | null;
19890
+ currentValue?: string | null;
19891
+ previousValue?: string | null;
19892
+ } | null;
19893
+ highest?: {
19894
+ __typename?: 'DetailedPairStatsStringMetrics';
19895
+ buckets: Array<string | null>;
19896
+ change?: number | null;
19897
+ currentValue?: string | null;
19898
+ previousValue?: string | null;
19899
+ } | null;
19900
+ liquidity?: {
19901
+ __typename?: 'DetailedPairStatsStringMetrics';
19902
+ buckets: Array<string | null>;
19903
+ change?: number | null;
19904
+ currentValue?: string | null;
19905
+ previousValue?: string | null;
19906
+ } | null;
19907
+ lowest?: {
19908
+ __typename?: 'DetailedPairStatsStringMetrics';
19909
+ buckets: Array<string | null>;
19910
+ change?: number | null;
19911
+ currentValue?: string | null;
19912
+ previousValue?: string | null;
19913
+ } | null;
19914
+ open?: {
19915
+ __typename?: 'DetailedPairStatsStringMetrics';
19916
+ buckets: Array<string | null>;
19917
+ change?: number | null;
19918
+ currentValue?: string | null;
19919
+ previousValue?: string | null;
19920
+ } | null;
19921
+ sellVolume?: {
19922
+ __typename?: 'DetailedPairStatsStringMetrics';
19923
+ buckets: Array<string | null>;
19924
+ change?: number | null;
19925
+ currentValue?: string | null;
19926
+ previousValue?: string | null;
19927
+ } | null;
19928
+ volume?: {
19929
+ __typename?: 'DetailedPairStatsStringMetrics';
19930
+ buckets: Array<string | null>;
19931
+ change?: number | null;
19932
+ currentValue?: string | null;
19933
+ previousValue?: string | null;
19934
+ } | null;
19935
+ };
19936
+ timestamps: Array<{
19937
+ __typename?: 'DetailedPairStatsBucketTimestamp';
18512
19938
  end: number;
18513
19939
  start: number;
18514
19940
  } | null>;
18515
- buyVolume?: {
18516
- __typename?: 'DetailedStatsStringMetrics';
18517
- buckets: Array<string | null>;
18518
- change: number;
18519
- currentValue: string;
18520
- previousValue: string;
18521
- } | null;
18522
- buyers: {
18523
- __typename?: 'DetailedStatsNumberMetrics';
18524
- buckets: Array<number | null>;
18525
- change: number;
18526
- currentValue: number;
18527
- previousValue: number;
18528
- };
18529
- buys: {
18530
- __typename?: 'DetailedStatsNumberMetrics';
18531
- buckets: Array<number | null>;
18532
- change: number;
18533
- currentValue: number;
18534
- previousValue: number;
18535
- };
18536
- sellVolume?: {
18537
- __typename?: 'DetailedStatsStringMetrics';
18538
- buckets: Array<string | null>;
18539
- change: number;
18540
- currentValue: string;
18541
- previousValue: string;
18542
- } | null;
18543
- sellers: {
18544
- __typename?: 'DetailedStatsNumberMetrics';
18545
- buckets: Array<number | null>;
18546
- change: number;
18547
- currentValue: number;
18548
- previousValue: number;
18549
- };
18550
- sells: {
18551
- __typename?: 'DetailedStatsNumberMetrics';
18552
- buckets: Array<number | null>;
18553
- change: number;
18554
- currentValue: number;
18555
- previousValue: number;
18556
- };
18557
- traders?: {
18558
- __typename?: 'DetailedStatsNumberMetrics';
18559
- buckets: Array<number | null>;
18560
- change: number;
18561
- currentValue: number;
18562
- previousValue: number;
18563
- } | null;
18564
- transactions: {
18565
- __typename?: 'DetailedStatsNumberMetrics';
18566
- buckets: Array<number | null>;
18567
- change: number;
18568
- currentValue: number;
18569
- previousValue: number;
18570
- };
18571
- volume: {
18572
- __typename?: 'DetailedStatsStringMetrics';
18573
- buckets: Array<string | null>;
18574
- change: number;
18575
- currentValue: string;
18576
- previousValue: string;
18577
- };
18578
19941
  } | null;
18579
19942
  } | null;
18580
19943
  };
@@ -18852,6 +20215,7 @@ export type OnHoldersUpdatedSubscription = {
18852
20215
  name?: string | null;
18853
20216
  networkId: number;
18854
20217
  symbol?: string | null;
20218
+ top10HoldersPercent?: number | null;
18855
20219
  exchanges?: Array<{
18856
20220
  __typename?: 'Exchange';
18857
20221
  address: string;
@@ -19039,6 +20403,7 @@ export type OnLaunchpadTokenEventSubscription = {
19039
20403
  sellCount1?: number | null;
19040
20404
  sniperCount?: number | null;
19041
20405
  sniperHeldPercentage?: number | null;
20406
+ top10HoldersPercent?: number | null;
19042
20407
  transactions1?: number | null;
19043
20408
  volume1?: number | null;
19044
20409
  token: {
@@ -19059,6 +20424,7 @@ export type OnLaunchpadTokenEventSubscription = {
19059
20424
  name?: string | null;
19060
20425
  networkId: number;
19061
20426
  symbol?: string | null;
20427
+ top10HoldersPercent?: number | null;
19062
20428
  exchanges?: Array<{
19063
20429
  __typename?: 'Exchange';
19064
20430
  address: string;
@@ -19154,6 +20520,7 @@ export type OnLaunchpadTokenEventBatchSubscription = {
19154
20520
  sellCount1?: number | null;
19155
20521
  sniperCount?: number | null;
19156
20522
  sniperHeldPercentage?: number | null;
20523
+ top10HoldersPercent?: number | null;
19157
20524
  transactions1?: number | null;
19158
20525
  volume1?: number | null;
19159
20526
  token: {
@@ -19174,6 +20541,7 @@ export type OnLaunchpadTokenEventBatchSubscription = {
19174
20541
  name?: string | null;
19175
20542
  networkId: number;
19176
20543
  symbol?: string | null;
20544
+ top10HoldersPercent?: number | null;
19177
20545
  exchanges?: Array<{
19178
20546
  __typename?: 'Exchange';
19179
20547
  address: string;
@@ -19848,6 +21216,7 @@ export type OnPairMetadataUpdatedSubscription = {
19848
21216
  quoteToken?: QuoteToken | null;
19849
21217
  statsType: TokenPairStatisticsType;
19850
21218
  tickSpacing?: number | null;
21219
+ top10HoldersPercent?: number | null;
19851
21220
  volume1?: string | null;
19852
21221
  volume4?: string | null;
19853
21222
  volume5m?: string | null;
@@ -19871,6 +21240,7 @@ export type OnPairMetadataUpdatedSubscription = {
19871
21240
  name?: string | null;
19872
21241
  networkId: number;
19873
21242
  symbol?: string | null;
21243
+ top10HoldersPercent?: number | null;
19874
21244
  exchanges?: Array<{
19875
21245
  __typename?: 'Exchange';
19876
21246
  address: string;
@@ -19957,6 +21327,7 @@ export type OnPairMetadataUpdatedSubscription = {
19957
21327
  name?: string | null;
19958
21328
  networkId: number;
19959
21329
  symbol?: string | null;
21330
+ top10HoldersPercent?: number | null;
19960
21331
  exchanges?: Array<{
19961
21332
  __typename?: 'Exchange';
19962
21333
  address: string;
@@ -21070,6 +22441,7 @@ export declare const GetBarsDocument: DocumentNode<GetBarsQuery, GetBarsQueryVar
21070
22441
  export declare const GetCommunityNotesDocument: DocumentNode<GetCommunityNotesQuery, GetCommunityNotesQueryVariables>;
21071
22442
  export declare const GetDetailedPairStatsDocument: DocumentNode<GetDetailedPairStatsQuery, GetDetailedPairStatsQueryVariables>;
21072
22443
  export declare const GetDetailedPairsStatsDocument: DocumentNode<GetDetailedPairsStatsQuery, GetDetailedPairsStatsQueryVariables>;
22444
+ export declare const GetDetailedTokenStatsDocument: DocumentNode<GetDetailedTokenStatsQuery, GetDetailedTokenStatsQueryVariables>;
21073
22445
  export declare const GetEventLabelsDocument: DocumentNode<GetEventLabelsQuery, GetEventLabelsQueryVariables>;
21074
22446
  export declare const GetExchangesDocument: DocumentNode<GetExchangesQuery, GetExchangesQueryVariables>;
21075
22447
  export declare const GetNetworkConfigsDocument: DocumentNode<GetNetworkConfigsQuery, GetNetworkConfigsQueryVariables>;
@@ -21100,6 +22472,7 @@ export declare const WalletChartDocument: DocumentNode<WalletChartQuery, WalletC
21100
22472
  export declare const OnBalanceUpdatedDocument: DocumentNode<OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables>;
21101
22473
  export declare const OnBarsUpdatedDocument: DocumentNode<OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables>;
21102
22474
  export declare const OnDetailedStatsUpdatedDocument: DocumentNode<OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables>;
22475
+ export declare const OnDetailedTokenStatsUpdatedDocument: DocumentNode<OnDetailedTokenStatsUpdatedSubscription, OnDetailedTokenStatsUpdatedSubscriptionVariables>;
21103
22476
  export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables>;
21104
22477
  export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables>;
21105
22478
  export declare const OnEventsCreatedByMakerDocument: DocumentNode<OnEventsCreatedByMakerSubscription, OnEventsCreatedByMakerSubscriptionVariables>;