@codex-data/sdk 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/resources/generated_queries/FilterPairs.graphql +44 -0
  2. package/dist/resources/generated_queries/FilterTokens.graphql +44 -0
  3. package/dist/resources/generated_queries/GetBars.graphql +165 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  5. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  6. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  7. package/dist/resources/generated_queries/GetTokenEvents.graphql +2 -0
  8. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
  9. package/dist/resources/generated_queries/Holders.graphql +1 -0
  10. package/dist/resources/generated_queries/ListPairsForToken.graphql +22 -0
  11. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  12. package/dist/resources/generated_queries/PairMetadata.graphql +152 -0
  13. package/dist/resources/generated_queries/Token.graphql +11 -0
  14. package/dist/resources/generated_queries/Tokens.graphql +11 -0
  15. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
  16. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
  17. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  18. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +152 -0
  19. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
  20. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  21. package/dist/resources/graphql.d.ts +250 -107
  22. package/dist/resources/graphql.d.ts.map +1 -1
  23. package/dist/resources/graphql.js +26 -2
  24. package/dist/resources/graphql.js.map +1 -1
  25. package/dist/resources/graphql.schema.json +1506 -931
  26. package/dist/resources/graphql.ts +260 -122
  27. package/dist/resources/schema.graphql +386 -154
  28. package/dist/sdk/Mutation.d.ts +2 -2
  29. package/dist/sdk/Mutation.js +2 -2
  30. package/dist/sdk/Query.d.ts +48 -55
  31. package/dist/sdk/Query.d.ts.map +1 -1
  32. package/dist/sdk/Query.js +47 -54
  33. package/dist/sdk/Query.js.map +1 -1
  34. package/dist/sdk/Subscribe.d.ts +13 -12
  35. package/dist/sdk/Subscribe.d.ts.map +1 -1
  36. package/dist/sdk/Subscribe.js +68 -61
  37. package/dist/sdk/Subscribe.js.map +1 -1
  38. package/dist/sdk/generated/gql.d.ts +51 -104
  39. package/dist/sdk/generated/gql.d.ts.map +1 -1
  40. package/dist/sdk/generated/gql.js +20 -26
  41. package/dist/sdk/generated/gql.js.map +1 -1
  42. package/dist/sdk/generated/graphql.d.ts +1109 -477
  43. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  44. package/dist/sdk/generated/graphql.js +48 -30
  45. package/dist/sdk/generated/graphql.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/resources/generated_queries/FilterPairs.graphql +44 -0
  48. package/src/resources/generated_queries/FilterTokens.graphql +44 -0
  49. package/src/resources/generated_queries/GetBars.graphql +165 -0
  50. package/src/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  51. package/src/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  52. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  53. package/src/resources/generated_queries/GetTokenEvents.graphql +2 -0
  54. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
  55. package/src/resources/generated_queries/Holders.graphql +1 -0
  56. package/src/resources/generated_queries/ListPairsForToken.graphql +22 -0
  57. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  58. package/src/resources/generated_queries/PairMetadata.graphql +152 -0
  59. package/src/resources/generated_queries/Token.graphql +11 -0
  60. package/src/resources/generated_queries/Tokens.graphql +11 -0
  61. package/src/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
  62. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
  63. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  64. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +152 -0
  65. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
  66. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  67. package/src/resources/graphql.schema.json +1506 -931
  68. package/src/resources/graphql.ts +260 -122
  69. package/src/resources/schema.graphql +386 -154
  70. package/src/sdk/Mutation.ts +4 -4
  71. package/src/sdk/Query.ts +102 -130
  72. package/src/sdk/Subscribe.ts +112 -97
  73. package/src/sdk/generated/gql.ts +46 -76
  74. package/src/sdk/generated/graphql.ts +316 -235
  75. package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
  76. package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
  77. package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
  78. package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
  79. package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
  80. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  81. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  82. package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
  83. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  84. package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
  85. package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
  86. package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
  87. package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
  88. package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  89. package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  90. package/src/resources/generated_queries/PrimeBalance.graphql +0 -12
@@ -46,6 +46,7 @@ export type AddNftEventsOutput = {
46
46
  networkId: Scalars['Int']['output'];
47
47
  };
48
48
 
49
+ /** Response returned by `onNftPoolEventsCreated`. */
49
50
  export type AddNftPoolEventsOutput = {
50
51
  __typename?: 'AddNftPoolEventsOutput';
51
52
  collectionAddress: Scalars['String']['output'];
@@ -56,12 +57,16 @@ export type AddNftPoolEventsOutput = {
56
57
  poolAddress: Scalars['String']['output'];
57
58
  };
58
59
 
60
+ /** Response returned by `onTokenEventsCreated`. */
59
61
  export type AddTokenEventsOutput = {
60
62
  __typename?: 'AddTokenEventsOutput';
63
+ /** A list of transactions for the token. */
61
64
  events: Array<Event>;
65
+ /** The ID of the event (`address`:`networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`. */
62
66
  id: Scalars['String']['output'];
63
67
  };
64
68
 
69
+ /** Response returned by `onTokenLifecycleEventsCreated`. */
65
70
  export type AddTokenLifecycleEventsOutput = {
66
71
  __typename?: 'AddTokenLifecycleEventsOutput';
67
72
  events: Array<TokenLifecycleEvent>;
@@ -93,6 +98,12 @@ export type AddUserAchievementInput = {
93
98
  userId: Scalars['String']['input'];
94
99
  };
95
100
 
101
+ export enum AddressType {
102
+ Evm = 'EVM',
103
+ Sol = 'SOL',
104
+ Tron = 'TRON'
105
+ }
106
+
96
107
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
97
108
  export enum AlertRecurrence {
98
109
  Indefinite = 'INDEFINITE',
@@ -162,10 +173,12 @@ export type BarsResponse = {
162
173
  h: Array<Maybe<Scalars['Float']['output']>>;
163
174
  /** The low price. */
164
175
  l: Array<Maybe<Scalars['Float']['output']>>;
165
- /** Liqudity in USD */
176
+ /** Liquidity in USD */
166
177
  liquidity: Array<Maybe<Scalars['String']['output']>>;
167
178
  /** The opening price. */
168
179
  o: Array<Maybe<Scalars['Float']['output']>>;
180
+ /** The pair that is being returned */
181
+ pair: Pair;
169
182
  /** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
170
183
  s: Scalars['String']['output'];
171
184
  /** The sell volume in USD */
@@ -878,6 +891,8 @@ export type EnhancedToken = {
878
891
  info?: Maybe<TokenInfo>;
879
892
  /** Whether the token has been flagged as a scam. */
880
893
  isScam?: Maybe<Scalars['Boolean']['output']>;
894
+ /** Launchpad data for the token */
895
+ launchpad?: Maybe<LaunchpadData>;
881
896
  /** Whether or not the token is mintable */
882
897
  mintable?: Maybe<Scalars['String']['output']>;
883
898
  /** The token name. For example, `ApeCoin`. */
@@ -933,12 +948,16 @@ export type Event = {
933
948
  quoteToken?: Maybe<QuoteToken>;
934
949
  /** The unix timestamp for when the transaction occurred. */
935
950
  timestamp: Scalars['Int']['output'];
951
+ /** The address of the event's token0. */
952
+ token0Address?: Maybe<Scalars['String']['output']>;
936
953
  /** The updated price of `token0` in USD, calculated after the transaction. */
937
954
  token0PoolValueUsd?: Maybe<Scalars['String']['output']>;
938
955
  /** The price of `token0` paid/received in USD, including any fees. */
939
956
  token0SwapValueUsd?: Maybe<Scalars['String']['output']>;
940
957
  /** The price of `token0` paid/received in the network's base token, including fees. */
941
958
  token0ValueBase?: Maybe<Scalars['String']['output']>;
959
+ /** The address of the event's token1. */
960
+ token1Address?: Maybe<Scalars['String']['output']>;
942
961
  /** The updated price of `token1` in USD, calculated after the transaction. */
943
962
  token1PoolValueUsd?: Maybe<Scalars['String']['output']>;
944
963
  /** The price of `token1` paid/received in USD, including any fees. */
@@ -1318,14 +1337,23 @@ export type GetGasEstimateInput = {
1318
1337
  /** Response returned by `getNetworkStats`. */
1319
1338
  export type GetNetworkStatsResponse = {
1320
1339
  __typename?: 'GetNetworkStatsResponse';
1340
+ /** The network liquidity in USD. */
1321
1341
  liquidity: Scalars['Float']['output'];
1342
+ /** The unique number of transactions in the past hour. */
1322
1343
  transactions1: Scalars['Int']['output'];
1344
+ /** The unique number of transactions in the past 4 hours. */
1323
1345
  transactions4: Scalars['Int']['output'];
1346
+ /** The unique number of transactions in the past 12 hours. */
1324
1347
  transactions12: Scalars['Int']['output'];
1348
+ /** The unique number of transactions in the past 24 hours. */
1325
1349
  transactions24: Scalars['Int']['output'];
1350
+ /** The network trade volume in USD over the past hour. */
1326
1351
  volume1: Scalars['Float']['output'];
1352
+ /** The network trade volume in USD over the past 4 hours. */
1327
1353
  volume4: Scalars['Float']['output'];
1354
+ /** The network trade volume in USD over the past 12 hours. */
1328
1355
  volume12: Scalars['Float']['output'];
1356
+ /** The network trade volume in USD over the past 24 hours. */
1329
1357
  volume24: Scalars['Float']['output'];
1330
1358
  };
1331
1359
 
@@ -1421,16 +1449,19 @@ export type HoldersInputSort = {
1421
1449
  direction?: InputMaybe<RankingDirection>;
1422
1450
  };
1423
1451
 
1452
+ /** Response returned by `holders`. */
1424
1453
  export type HoldersResponse = {
1425
1454
  __typename?: 'HoldersResponse';
1426
- /** the unique count of holders for the token. */
1455
+ /** The unique count of holders for the token. */
1427
1456
  count: Scalars['Int']['output'];
1428
1457
  /** A cursor for use in pagination. */
1429
1458
  cursor?: Maybe<Scalars['String']['output']>;
1430
- /** The list wallets for a token. */
1459
+ /** The list of wallets holding the token. */
1431
1460
  items: Array<Balance>;
1432
1461
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1433
1462
  status: HoldersStatus;
1463
+ /** What percentage of the total supply do the top 10 holders hold. */
1464
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1434
1465
  };
1435
1466
 
1436
1467
  export enum HoldersSortAttribute {
@@ -1443,6 +1474,21 @@ export enum HoldersStatus {
1443
1474
  Enabled = 'ENABLED'
1444
1475
  }
1445
1476
 
1477
+ /** Response returned by `onHoldersUpdated`. */
1478
+ export type HoldersUpdate = {
1479
+ __typename?: 'HoldersUpdate';
1480
+ /** The list of wallets holding the token. */
1481
+ balances: Array<Balance>;
1482
+ /** The number of different wallets holding the token. */
1483
+ holders: Scalars['Int']['output'];
1484
+ /** The network ID that the token is deployed on. */
1485
+ networkId: Scalars['Int']['output'];
1486
+ /** The token's contract address. */
1487
+ tokenAddress: Scalars['String']['output'];
1488
+ /** The ID of the token (`tokenAddress:networkId`). */
1489
+ tokenId: Scalars['String']['output'];
1490
+ };
1491
+
1446
1492
  /** Bar chart data. */
1447
1493
  export type IndividualBarData = {
1448
1494
  __typename?: 'IndividualBarData';
@@ -1458,7 +1504,7 @@ export type IndividualBarData = {
1458
1504
  h: Scalars['Float']['output'];
1459
1505
  /** The low price. */
1460
1506
  l: Scalars['Float']['output'];
1461
- /** Liqudity in USD */
1507
+ /** Liquidity in USD */
1462
1508
  liquidity: Scalars['String']['output'];
1463
1509
  /** The opening price. */
1464
1510
  o: Scalars['Float']['output'];
@@ -1645,6 +1691,29 @@ export type LatestTokenSimResults = {
1645
1691
  sellTax?: Maybe<Scalars['String']['output']>;
1646
1692
  };
1647
1693
 
1694
+ /** Launchpad data for the token */
1695
+ export type LaunchpadData = {
1696
+ __typename?: 'LaunchpadData';
1697
+ /** Indicates if the launchpad is completed. */
1698
+ completed?: Maybe<Scalars['Boolean']['output']>;
1699
+ /** The unix timestamp when the launchpad was completed. */
1700
+ completedAt?: Maybe<Scalars['Int']['output']>;
1701
+ /** The slot number when the launchpad was completed. */
1702
+ completedSlot?: Maybe<Scalars['Int']['output']>;
1703
+ /** The percentage of the pool that was sold to the public. */
1704
+ graduationPercent?: Maybe<Scalars['Float']['output']>;
1705
+ /** Indicates if the launchpad was migrated. */
1706
+ migrated?: Maybe<Scalars['Boolean']['output']>;
1707
+ /** The unix timestamp when the launchpad was migrated. */
1708
+ migratedAt?: Maybe<Scalars['Int']['output']>;
1709
+ /** The pool address after the launchpad was migrated. */
1710
+ migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1711
+ /** The slot number when the launchpad was migrated. */
1712
+ migratedSlot?: Maybe<Scalars['Int']['output']>;
1713
+ /** The address of the pool. */
1714
+ poolAddress?: Maybe<Scalars['String']['output']>;
1715
+ };
1716
+
1648
1717
  export type LiquidityData = {
1649
1718
  __typename?: 'LiquidityData';
1650
1719
  /** The active liquidity in the pair. */
@@ -1782,12 +1851,23 @@ export type MakerEventConnection = {
1782
1851
  };
1783
1852
 
1784
1853
  export type MakerEventsQueryInput = {
1854
+ /** The specific event type to filter by. */
1855
+ eventType?: InputMaybe<EventType>;
1785
1856
  /** The specific wallet address to filter by. */
1786
1857
  maker: Scalars['String']['input'];
1787
1858
  /** The network ID to filter by. */
1788
- networkId: Scalars['Int']['input'];
1789
- /** The token of interest. Can be `token0` or `token1`. */
1859
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1860
+ /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
1861
+ priceUsdTotal?: InputMaybe<NumberFilter>;
1862
+ /**
1863
+ * docs: hide
1864
+ * @deprecated Not used
1865
+ */
1790
1866
  quoteToken?: InputMaybe<QuoteToken>;
1867
+ /** The time range to filter by. */
1868
+ timestamp?: InputMaybe<EventQueryTimestampInput>;
1869
+ /** The token involved in the event. */
1870
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
1791
1871
  };
1792
1872
 
1793
1873
  /** The status for a network supported on Defined. */
@@ -4496,6 +4576,11 @@ export type OnBarsUpdatedResponse = {
4496
4576
  timestamp: Scalars['Int']['output'];
4497
4577
  };
4498
4578
 
4579
+ export type OnLaunchpadTokenUpdatedInput = {
4580
+ address?: InputMaybe<Scalars['String']['input']>;
4581
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4582
+ };
4583
+
4499
4584
  export type OnPricesUpdatedInput = {
4500
4585
  address: Scalars['String']['input'];
4501
4586
  networkId: Scalars['Int']['input'];
@@ -4582,6 +4667,7 @@ export enum OrderState {
4582
4667
 
4583
4668
  export enum OrderType {
4584
4669
  Limit = 'LIMIT',
4670
+ LimitStrategy = 'LIMIT_STRATEGY',
4585
4671
  Manual = 'MANUAL'
4586
4672
  }
4587
4673
 
@@ -4606,9 +4692,11 @@ export type Pair = {
4606
4692
  tickSpacing?: Maybe<Scalars['Int']['output']>;
4607
4693
  /** The contract address of `token0`. */
4608
4694
  token0: Scalars['String']['output'];
4695
+ /** Metadata for the first token in the pair. */
4609
4696
  token0Data?: Maybe<EnhancedToken>;
4610
4697
  /** The contract address of `token1`. */
4611
4698
  token1: Scalars['String']['output'];
4699
+ /** Metadata for the second token in the pair. */
4612
4700
  token1Data?: Maybe<EnhancedToken>;
4613
4701
  };
4614
4702
 
@@ -4890,40 +4978,87 @@ export type PairFilters = {
4890
4978
 
4891
4979
  export type PairMetadata = {
4892
4980
  __typename?: 'PairMetadata';
4981
+ /** The unix timestamp for the creation of the pair. */
4982
+ createdAt?: Maybe<Scalars['Int']['output']>;
4983
+ /** Token metadata for the first token in the pair. */
4984
+ enhancedToken0?: Maybe<EnhancedToken>;
4985
+ /** Token metadata for the second token in the pair. */
4986
+ enhancedToken1?: Maybe<EnhancedToken>;
4987
+ /** The exchange contract ID. */
4893
4988
  exchangeId?: Maybe<Scalars['String']['output']>;
4989
+ /** The exchange fee for swaps. */
4894
4990
  fee?: Maybe<Scalars['Int']['output']>;
4991
+ /** The highest price in USD in the past hour. */
4895
4992
  highPrice1?: Maybe<Scalars['String']['output']>;
4993
+ /** The highest price in USD in the past week. */
4896
4994
  highPrice1w?: Maybe<Scalars['String']['output']>;
4995
+ /** The highest price in USD in the past 4 hours. */
4897
4996
  highPrice4?: Maybe<Scalars['String']['output']>;
4997
+ /** The highest price in USD in the past 5 minutes. */
4998
+ highPrice5m?: Maybe<Scalars['String']['output']>;
4999
+ /** The highest price in USD in the past 12 hours. */
4898
5000
  highPrice12?: Maybe<Scalars['String']['output']>;
5001
+ /** The highest price in USD in the past 24 hours. */
4899
5002
  highPrice24?: Maybe<Scalars['String']['output']>;
5003
+ /** The ID for the pair (`address:networkId`). */
4900
5004
  id: Scalars['String']['output'];
5005
+ /** The total liquidity in the pair. */
4901
5006
  liquidity: Scalars['String']['output'];
5007
+ /** The token with higher liquidity within the pair. Can be `token0` or `token1`. */
4902
5008
  liquidityToken?: Maybe<Scalars['String']['output']>;
5009
+ /** The lowest price in USD in the past hour. */
4903
5010
  lowPrice1?: Maybe<Scalars['String']['output']>;
5011
+ /** The lowest price in USD in the past week. */
4904
5012
  lowPrice1w?: Maybe<Scalars['String']['output']>;
5013
+ /** The lowest price in USD in the past 4 hours. */
4905
5014
  lowPrice4?: Maybe<Scalars['String']['output']>;
5015
+ /** The lowest price in USD in the past 5 minutes. */
5016
+ lowPrice5m?: Maybe<Scalars['String']['output']>;
5017
+ /** The lowest price in USD in the past 12 hours. */
4906
5018
  lowPrice12?: Maybe<Scalars['String']['output']>;
5019
+ /** The lowest price in USD in the past 24 hours. */
4907
5020
  lowPrice24?: Maybe<Scalars['String']['output']>;
5021
+ /** The network ID the pair is deployed on. */
4908
5022
  networkId?: Maybe<Scalars['Int']['output']>;
5023
+ /** The token with lower liquidity within the pair. Can be `token0` or `token1`. */
4909
5024
  nonLiquidityToken?: Maybe<Scalars['String']['output']>;
5025
+ /** The contract address of the pair. */
4910
5026
  pairAddress: Scalars['String']['output'];
5027
+ /** The quote token price in USD. */
4911
5028
  price: Scalars['String']['output'];
5029
+ /** The percent price change in the past hour. Decimal format. */
4912
5030
  priceChange1?: Maybe<Scalars['Float']['output']>;
5031
+ /** The percent price change in the past week. Decimal format. */
4913
5032
  priceChange1w?: Maybe<Scalars['Float']['output']>;
5033
+ /** The percent price change in the past 4 hours. Decimal format. */
4914
5034
  priceChange4?: Maybe<Scalars['Float']['output']>;
5035
+ /** The percent price change in the past 5 minutes. Decimal format. */
4915
5036
  priceChange5m?: Maybe<Scalars['Float']['output']>;
5037
+ /** The percent price change in the past 12 hours. Decimal format. */
4916
5038
  priceChange12?: Maybe<Scalars['Float']['output']>;
5039
+ /** The percent price change in the past 24 hours. Decimal format. */
4917
5040
  priceChange24?: Maybe<Scalars['Float']['output']>;
5041
+ /** The token of interest within the pair. Can be `token0` or `token1`. */
4918
5042
  quoteToken?: Maybe<QuoteToken>;
5043
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
4919
5044
  statsType: TokenPairStatisticsType;
5045
+ /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
4920
5046
  tickSpacing?: Maybe<Scalars['Int']['output']>;
5047
+ /** Pair metadata for the first token in the pair. */
4921
5048
  token0: PairMetadataToken;
5049
+ /** Pair metadata for the second token in the pair. */
4922
5050
  token1: PairMetadataToken;
5051
+ /** The trade volume in USD in the past hour. */
4923
5052
  volume1?: Maybe<Scalars['String']['output']>;
5053
+ /** The trade trade volume in USD in the past week. */
4924
5054
  volume1w?: Maybe<Scalars['String']['output']>;
5055
+ /** The trade volume in USD in the past 4 hours. */
4925
5056
  volume4?: Maybe<Scalars['String']['output']>;
5057
+ /** The trade volume in USD in the past 5 minutes. */
5058
+ volume5m?: Maybe<Scalars['String']['output']>;
5059
+ /** The trade volume in USD in the past 12 hours. */
4926
5060
  volume12?: Maybe<Scalars['String']['output']>;
5061
+ /** The trade volume in USD in the past 24 hours. */
4927
5062
  volume24?: Maybe<Scalars['String']['output']>;
4928
5063
  };
4929
5064
 
@@ -5006,35 +5141,6 @@ export enum PairRankingAttribute {
5006
5141
  VolumeUsd24 = 'volumeUSD24'
5007
5142
  }
5008
5143
 
5009
- /** A Parallel asset. */
5010
- export type ParallelAsset = {
5011
- __typename?: 'ParallelAsset';
5012
- /** The contract address of the NFT collection. */
5013
- address: Scalars['String']['output'];
5014
- /** The attributes for the NFT asset. */
5015
- attributes?: Maybe<Array<NftAssetAttribute>>;
5016
- /** The description of the NFT asset. */
5017
- description?: Maybe<Scalars['String']['output']>;
5018
- /** The game data for the NFT asset. */
5019
- gameData?: Maybe<ParallelAssetGameData>;
5020
- /** The ID of the NFT asset (`address`:`tokenId`). */
5021
- id: Scalars['String']['output'];
5022
- /** The NFT asset media. */
5023
- media?: Maybe<NftAssetMedia>;
5024
- /** Metadata for the NFT asset. */
5025
- metadata?: Maybe<ParallelAssetMetadata>;
5026
- /** The name of the NFT asset. */
5027
- name?: Maybe<Scalars['String']['output']>;
5028
- /** The network ID the NFT collection is deployed on. */
5029
- networkId: Scalars['Int']['output'];
5030
- /** The source image URI linked by smart contract metadata. */
5031
- originalImage?: Maybe<Scalars['String']['output']>;
5032
- /** The token ID of the NFT asset. */
5033
- tokenId: Scalars['String']['output'];
5034
- /** The URI provided by the smart contract. Typically JSON that contains metadata. */
5035
- uri?: Maybe<Scalars['String']['output']>;
5036
- };
5037
-
5038
5144
  /** Response returned by `filterNftParallelAssets`. */
5039
5145
  export type ParallelAssetFilterConnection = {
5040
5146
  __typename?: 'ParallelAssetFilterConnection';
@@ -5222,15 +5328,6 @@ export enum ParallelAssetRankingAttribute {
5222
5328
  Supply = 'supply'
5223
5329
  }
5224
5330
 
5225
- /** Response returned by `getParallelAssets`. */
5226
- export type ParallelAssetsConnection = {
5227
- __typename?: 'ParallelAssetsConnection';
5228
- /** A cursor for use in pagination. */
5229
- cursor?: Maybe<Scalars['String']['output']>;
5230
- /** A list of Parallel assets. */
5231
- items?: Maybe<Array<Maybe<ParallelAsset>>>;
5232
- };
5233
-
5234
5331
  /** Tracked changes made to a Parallel card. */
5235
5332
  export type ParallelCardChange = {
5236
5333
  __typename?: 'ParallelCardChange';
@@ -5369,7 +5466,7 @@ export type Price = {
5369
5466
  /** The token price in USD. */
5370
5467
  priceUsd: Scalars['Float']['output'];
5371
5468
  /** The unix timestamp for the price. */
5372
- timestamp: Scalars['Int']['output'];
5469
+ timestamp?: Maybe<Scalars['Int']['output']>;
5373
5470
  };
5374
5471
 
5375
5472
  /** Webhook conditions for a price event. */
@@ -5938,7 +6035,10 @@ export type Query = {
5938
6035
  getEventLabels?: Maybe<EventLabelConnection>;
5939
6036
  /** Returns a list of decentralized exchange metadata. */
5940
6037
  getExchanges: Array<Exchange>;
5941
- /** Returns new tokens listed over the last three days. */
6038
+ /**
6039
+ * Returns new tokens listed over the last three days.
6040
+ * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
6041
+ */
5942
6042
  getLatestPairs?: Maybe<LatestPairConnection>;
5943
6043
  getLatestTokens?: Maybe<LatestTokenConnection>;
5944
6044
  /** Returns metadata for a given network. */
@@ -5969,8 +6069,6 @@ export type Query = {
5969
6069
  getNftPoolsByCollectionAndExchange?: Maybe<GetNftPoolsResponse>;
5970
6070
  /** Returns a list of NFT pools for a given owner. */
5971
6071
  getNftPoolsByOwner?: Maybe<GetNftPoolsResponse>;
5972
- /** Returns transactions for an NFT collection across any marketplace(s). */
5973
- getParallelAssets?: Maybe<ParallelAssetsConnection>;
5974
6072
  /** Returns changes made to Parallel card metadata over time. */
5975
6073
  getParallelCardChanges?: Maybe<ParallelCardChangesConnection>;
5976
6074
  /** Returns a list of Prime pool cached assets. */
@@ -5982,19 +6080,12 @@ export type Query = {
5982
6080
  getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
5983
6081
  /** Returns metadata for a given pair. */
5984
6082
  getSymbol?: Maybe<SymbolResponse>;
5985
- /** Returns the total count of tokens on Defined. This value is updated approximately every 6 hours. */
5986
- getTokenCount: Scalars['String']['output'];
5987
6083
  /** Returns transactions for a pair. */
5988
6084
  getTokenEvents?: Maybe<EventConnection>;
6085
+ /** Returns a list of token events for a given maker. */
5989
6086
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
5990
- /** Returns metadata for a given token. */
5991
- getTokenInfo?: Maybe<TokenInfo>;
5992
6087
  /** Returns real-time or historical prices for a list of tokens, fetched in batches. */
5993
6088
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
5994
- /** Returns metadata for a list of given tokens. */
5995
- getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
5996
- /** Returns tick data for a given Uniswap V3-style pool. */
5997
- getUniV3Ticks?: Maybe<UniV3TickConnection>;
5998
6089
  /** Returns a user's list of webhooks. */
5999
6090
  getWebhooks?: Maybe<GetWebhooksResponse>;
6000
6091
  /** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
@@ -6003,8 +6094,6 @@ export type Query = {
6003
6094
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6004
6095
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6005
6096
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6006
- /** Returns a list of token metadata. */
6007
- listFavoriteTokens?: Maybe<Array<TokenWithMetadata>>;
6008
6097
  /** Returns a list of pairs containing a given token. */
6009
6098
  listPairsForToken: Array<Maybe<Pair>>;
6010
6099
  /** Returns a list of pair metadata for a token. */
@@ -6015,8 +6104,6 @@ export type Query = {
6015
6104
  nftHolders: NftHoldersResponse;
6016
6105
  /** Returns metadata for a pair of tokens. */
6017
6106
  pairMetadata: PairMetadata;
6018
- /** Fetch the balance of a wallet holding PRIME on ethereum */
6019
- primeBalance: BalancesResponse;
6020
6107
  /** Returns a list of holders of the PRIME token on ethereum. */
6021
6108
  primeHolders: PrimeHolders;
6022
6109
  /** Returns a list of NFT collections matching a given query string. */
@@ -6026,14 +6113,16 @@ export type Query = {
6026
6113
  * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6027
6114
  */
6028
6115
  searchTokens?: Maybe<TokenSearchResponse>;
6029
- /** Find a single token by its address & network id. */
6116
+ /** Returns a single token by its address & network id. */
6030
6117
  token: EnhancedToken;
6031
6118
  /** Returns a list of token lifecycle events. */
6032
6119
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
6033
6120
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
6034
6121
  tokenSparklines: Array<TokenSparkline>;
6035
- /** Find a list of tokens by their addresses & network id, with pagination. */
6122
+ /** Returns a list of tokens by their addresses & network id, with pagination. */
6036
6123
  tokens: Array<Maybe<EnhancedToken>>;
6124
+ /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6125
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6037
6126
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6038
6127
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6039
6128
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6137,6 +6226,7 @@ export type QueryGetBarsArgs = {
6137
6226
  resolution: Scalars['String']['input'];
6138
6227
  statsType?: InputMaybe<TokenPairStatisticsType>;
6139
6228
  symbol: Scalars['String']['input'];
6229
+ symbolType?: InputMaybe<SymbolType>;
6140
6230
  to: Scalars['Int']['input'];
6141
6231
  };
6142
6232
 
@@ -6318,13 +6408,6 @@ export type QueryGetNftPoolsByOwnerArgs = {
6318
6408
  };
6319
6409
 
6320
6410
 
6321
- export type QueryGetParallelAssetsArgs = {
6322
- cursor?: InputMaybe<Scalars['String']['input']>;
6323
- limit?: InputMaybe<Scalars['Int']['input']>;
6324
- tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6325
- };
6326
-
6327
-
6328
6411
  export type QueryGetParallelCardChangesArgs = {
6329
6412
  cursor?: InputMaybe<Scalars['String']['input']>;
6330
6413
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6394,30 +6477,11 @@ export type QueryGetTokenEventsForMakerArgs = {
6394
6477
  };
6395
6478
 
6396
6479
 
6397
- export type QueryGetTokenInfoArgs = {
6398
- address: Scalars['String']['input'];
6399
- networkId: Scalars['Int']['input'];
6400
- };
6401
-
6402
-
6403
6480
  export type QueryGetTokenPricesArgs = {
6404
6481
  inputs?: InputMaybe<Array<InputMaybe<GetPriceInput>>>;
6405
6482
  };
6406
6483
 
6407
6484
 
6408
- export type QueryGetTokensInfoArgs = {
6409
- input: Array<GetTokensInfoInput>;
6410
- };
6411
-
6412
-
6413
- export type QueryGetUniV3TicksArgs = {
6414
- limit?: InputMaybe<Scalars['Int']['input']>;
6415
- networkId: Scalars['Int']['input'];
6416
- offset?: InputMaybe<Scalars['Int']['input']>;
6417
- poolAddress: Scalars['String']['input'];
6418
- };
6419
-
6420
-
6421
6485
  export type QueryGetWebhooksArgs = {
6422
6486
  bucketId?: InputMaybe<Scalars['String']['input']>;
6423
6487
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
@@ -6445,13 +6509,6 @@ export type QueryLiquidityMetadataArgs = {
6445
6509
  };
6446
6510
 
6447
6511
 
6448
- export type QueryListFavoriteTokensArgs = {
6449
- keys: Array<Scalars['String']['input']>;
6450
- networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
6451
- resolution?: InputMaybe<Scalars['String']['input']>;
6452
- };
6453
-
6454
-
6455
6512
  export type QueryListPairsForTokenArgs = {
6456
6513
  limit?: InputMaybe<Scalars['Int']['input']>;
6457
6514
  networkId: Scalars['Int']['input'];
@@ -6485,11 +6542,6 @@ export type QueryPairMetadataArgs = {
6485
6542
  };
6486
6543
 
6487
6544
 
6488
- export type QueryPrimeBalanceArgs = {
6489
- walletAddress: Scalars['String']['input'];
6490
- };
6491
-
6492
-
6493
6545
  export type QueryPrimeHoldersArgs = {
6494
6546
  cursor?: InputMaybe<Scalars['String']['input']>;
6495
6547
  };
@@ -6536,6 +6588,11 @@ export type QueryTokensArgs = {
6536
6588
  };
6537
6589
 
6538
6590
 
6591
+ export type QueryTop10HoldersPercentArgs = {
6592
+ tokenId: Scalars['String']['input'];
6593
+ };
6594
+
6595
+
6539
6596
  export type QueryWalletNftCollectionAssetsArgs = {
6540
6597
  input: WalletNftCollectionAssetsInput;
6541
6598
  };
@@ -7081,6 +7138,8 @@ export type Subscription = {
7081
7138
  onEventLabelCreated?: Maybe<EventLabel>;
7082
7139
  /** Live-streamed transactions for a token. */
7083
7140
  onEventsCreated?: Maybe<AddEventsOutput>;
7141
+ /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7142
+ onHoldersUpdated?: Maybe<HoldersUpdate>;
7084
7143
  /** Live-streamed updates for newly listed pairs. */
7085
7144
  onLatestPairUpdated?: Maybe<LatestPair>;
7086
7145
  onLatestTokens?: Maybe<LatestToken>;
@@ -7088,7 +7147,7 @@ export type Subscription = {
7088
7147
  onNftAssetsCreated?: Maybe<NftAsset>;
7089
7148
  /** Live-streamed transactions for an NFT collection. */
7090
7149
  onNftEventsCreated?: Maybe<AddNftEventsOutput>;
7091
- /** Live streamed nft pool events for a given pool address or collection address */
7150
+ /** Live streamed NFT pool events for a given pool address or collection address. */
7092
7151
  onNftPoolEventsCreated?: Maybe<AddNftPoolEventsOutput>;
7093
7152
  /** Live-streamed stat updates for a given token within a pair. */
7094
7153
  onPairMetadataUpdated?: Maybe<PairMetadata>;
@@ -7099,9 +7158,9 @@ export type Subscription = {
7099
7158
  onSimulateTokenContract: SimulateTokenContractResult;
7100
7159
  /** Live-streamed bar chart data to track price changes over time for a token. */
7101
7160
  onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
7102
- /** Live streamed events for a given token across all it's pools */
7161
+ /** Live-streamed events for a given token across all it's pools */
7103
7162
  onTokenEventsCreated: AddTokenEventsOutput;
7104
- /** Live-streamed token lifecycle events (mints and burns) */
7163
+ /** Live-streamed token lifecycle events (mints and burns). */
7105
7164
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
7106
7165
  /** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
7107
7166
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
@@ -7136,6 +7195,11 @@ export type SubscriptionOnEventsCreatedArgs = {
7136
7195
  };
7137
7196
 
7138
7197
 
7198
+ export type SubscriptionOnHoldersUpdatedArgs = {
7199
+ tokenId: Scalars['String']['input'];
7200
+ };
7201
+
7202
+
7139
7203
  export type SubscriptionOnLatestPairUpdatedArgs = {
7140
7204
  id?: InputMaybe<Scalars['String']['input']>;
7141
7205
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7225,6 +7289,26 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7225
7289
  quoteToken?: InputMaybe<QuoteToken>;
7226
7290
  };
7227
7291
 
7292
+ export type SuiNetworkConfig = {
7293
+ __typename?: 'SuiNetworkConfig';
7294
+ baseTokenAddress: Scalars['String']['output'];
7295
+ baseTokenSymbol: Scalars['String']['output'];
7296
+ color?: Maybe<Scalars['String']['output']>;
7297
+ defaultPairAddress: Scalars['String']['output'];
7298
+ defaultPairQuoteToken: QuoteToken;
7299
+ enabled: Scalars['Boolean']['output'];
7300
+ id: Scalars['ID']['output'];
7301
+ mainnet: Scalars['Boolean']['output'];
7302
+ name: Scalars['String']['output'];
7303
+ networkIconUrl: Scalars['String']['output'];
7304
+ networkId: Scalars['Int']['output'];
7305
+ networkName: Scalars['String']['output'];
7306
+ networkShortName: Scalars['String']['output'];
7307
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7308
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7309
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7310
+ };
7311
+
7228
7312
  /** Event data for a token swap event. */
7229
7313
  export type SwapEventData = {
7230
7314
  __typename?: 'SwapEventData';
@@ -7407,6 +7491,11 @@ export type SymbolResponse = {
7407
7491
  ticker: Scalars['String']['output'];
7408
7492
  };
7409
7493
 
7494
+ export enum SymbolType {
7495
+ Pool = 'POOL',
7496
+ Token = 'TOKEN'
7497
+ }
7498
+
7410
7499
  /** Token burn event data. */
7411
7500
  export type TokenBurnEventData = {
7412
7501
  __typename?: 'TokenBurnEventData';
@@ -7438,6 +7527,8 @@ export type TokenFilterResult = {
7438
7527
  buyCount1?: Maybe<Scalars['Int']['output']>;
7439
7528
  /** The number of buys in the past 4 hours. */
7440
7529
  buyCount4?: Maybe<Scalars['Int']['output']>;
7530
+ /** The number of buys in the past 5 minutes. */
7531
+ buyCount5m?: Maybe<Scalars['Int']['output']>;
7441
7532
  /** The number of buys in the past 12 hours. */
7442
7533
  buyCount12?: Maybe<Scalars['Int']['output']>;
7443
7534
  /** The number of buys in the past 24 hours. */
@@ -7446,6 +7537,8 @@ export type TokenFilterResult = {
7446
7537
  change1?: Maybe<Scalars['String']['output']>;
7447
7538
  /** The percent price change in the past 4 hours. Decimal format. */
7448
7539
  change4?: Maybe<Scalars['String']['output']>;
7540
+ /** The percent price change in the past 5 minutes. Decimal format. */
7541
+ change5m?: Maybe<Scalars['String']['output']>;
7449
7542
  /** The percent price change in the past 12 hours. Decimal format. */
7450
7543
  change12?: Maybe<Scalars['String']['output']>;
7451
7544
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -7460,6 +7553,8 @@ export type TokenFilterResult = {
7460
7553
  high1?: Maybe<Scalars['String']['output']>;
7461
7554
  /** The highest price in USD in the past 4 hours. */
7462
7555
  high4?: Maybe<Scalars['String']['output']>;
7556
+ /** The highest price in USD in the past 5 minutes. */
7557
+ high5m?: Maybe<Scalars['String']['output']>;
7463
7558
  /** The highest price in USD in the past 12 hours. */
7464
7559
  high12?: Maybe<Scalars['String']['output']>;
7465
7560
  /** The highest price in USD in the past 24 hours. */
@@ -7476,6 +7571,8 @@ export type TokenFilterResult = {
7476
7571
  low1?: Maybe<Scalars['String']['output']>;
7477
7572
  /** The lowest price in USD in the past 4 hours. */
7478
7573
  low4?: Maybe<Scalars['String']['output']>;
7574
+ /** The lowest price in USD in the past 5 minutes. */
7575
+ low5m?: Maybe<Scalars['String']['output']>;
7479
7576
  /** The lowest price in USD in the past 12 hours. */
7480
7577
  low12?: Maybe<Scalars['String']['output']>;
7481
7578
  /** The lowest price in USD in the past 24 hours. */
@@ -7492,6 +7589,8 @@ export type TokenFilterResult = {
7492
7589
  sellCount1?: Maybe<Scalars['Int']['output']>;
7493
7590
  /** The number of sells in the past 4 hours. */
7494
7591
  sellCount4?: Maybe<Scalars['Int']['output']>;
7592
+ /** The number of sells in the past 5 minutes. */
7593
+ sellCount5m?: Maybe<Scalars['Int']['output']>;
7495
7594
  /** The number of sells in the past 12 hours. */
7496
7595
  sellCount12?: Maybe<Scalars['Int']['output']>;
7497
7596
  /** The number of sells in the past 24 hours. */
@@ -7502,6 +7601,8 @@ export type TokenFilterResult = {
7502
7601
  txnCount1?: Maybe<Scalars['Int']['output']>;
7503
7602
  /** The number of transactions in the past 4 hours. */
7504
7603
  txnCount4?: Maybe<Scalars['Int']['output']>;
7604
+ /** The number of transactions in the past 5 minutes. */
7605
+ txnCount5m?: Maybe<Scalars['Int']['output']>;
7505
7606
  /** The number of transactions in the past 12 hours. */
7506
7607
  txnCount12?: Maybe<Scalars['Int']['output']>;
7507
7608
  /** The number of transactions in the past 24 hours. */
@@ -7510,6 +7611,8 @@ export type TokenFilterResult = {
7510
7611
  uniqueBuys1?: Maybe<Scalars['Int']['output']>;
7511
7612
  /** The unique number of buys in the past 4 hours. */
7512
7613
  uniqueBuys4?: Maybe<Scalars['Int']['output']>;
7614
+ /** The unique number of buys in the past 5 minutes. */
7615
+ uniqueBuys5m?: Maybe<Scalars['Int']['output']>;
7513
7616
  /** The unique number of buys in the past 12 hours. */
7514
7617
  uniqueBuys12?: Maybe<Scalars['Int']['output']>;
7515
7618
  /** The unique number of buys in the past 24 hours. */
@@ -7518,6 +7621,8 @@ export type TokenFilterResult = {
7518
7621
  uniqueSells1?: Maybe<Scalars['Int']['output']>;
7519
7622
  /** The unique number of sells in the past 4 hours. */
7520
7623
  uniqueSells4?: Maybe<Scalars['Int']['output']>;
7624
+ /** The unique number of sells in the past 5 minutes. */
7625
+ uniqueSells5m?: Maybe<Scalars['Int']['output']>;
7521
7626
  /** The unique number of sells in the past 12 hours. */
7522
7627
  uniqueSells12?: Maybe<Scalars['Int']['output']>;
7523
7628
  /** The unique number of sells in the past 24 hours. */
@@ -7526,6 +7631,8 @@ export type TokenFilterResult = {
7526
7631
  uniqueTransactions1?: Maybe<Scalars['Int']['output']>;
7527
7632
  /** The unique number of transactions in the past 4 hours. */
7528
7633
  uniqueTransactions4?: Maybe<Scalars['Int']['output']>;
7634
+ /** The unique number of transactions in the past 5 minutes. */
7635
+ uniqueTransactions5m?: Maybe<Scalars['Int']['output']>;
7529
7636
  /** The unique number of transactions in the past 12 hours. */
7530
7637
  uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
7531
7638
  /** The unique number of transactions in the past 24 hours. */
@@ -7534,6 +7641,8 @@ export type TokenFilterResult = {
7534
7641
  volume1?: Maybe<Scalars['String']['output']>;
7535
7642
  /** The trade volume in USD in the past 4 hours. */
7536
7643
  volume4?: Maybe<Scalars['String']['output']>;
7644
+ /** The trade volume in USD in the past 5 minutes. */
7645
+ volume5m?: Maybe<Scalars['String']['output']>;
7537
7646
  /** The trade volume in USD in the past 12 hours. */
7538
7647
  volume12?: Maybe<Scalars['String']['output']>;
7539
7648
  /** The trade volume in USD in the past 24 hours. */
@@ -7542,6 +7651,8 @@ export type TokenFilterResult = {
7542
7651
  volumeChange1?: Maybe<Scalars['String']['output']>;
7543
7652
  /** The percent volume change in the past 4 hours. Decimal format. */
7544
7653
  volumeChange4?: Maybe<Scalars['String']['output']>;
7654
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7655
+ volumeChange5m?: Maybe<Scalars['String']['output']>;
7545
7656
  /** The percent volume change in the past 12 hours. Decimal format. */
7546
7657
  volumeChange12?: Maybe<Scalars['String']['output']>;
7547
7658
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7556,6 +7667,8 @@ export type TokenFilters = {
7556
7667
  buyCount1?: InputMaybe<NumberFilter>;
7557
7668
  /** The number of buys in the past 4 hours. */
7558
7669
  buyCount4?: InputMaybe<NumberFilter>;
7670
+ /** The number of buys in the past 5 minutes. */
7671
+ buyCount5m?: InputMaybe<NumberFilter>;
7559
7672
  /** The number of buys in the past 12 hours. */
7560
7673
  buyCount12?: InputMaybe<NumberFilter>;
7561
7674
  /** The number of buys in the past 24 hours. */
@@ -7564,6 +7677,8 @@ export type TokenFilters = {
7564
7677
  change1?: InputMaybe<NumberFilter>;
7565
7678
  /** The percent price change in the past 4 hours. Decimal format. */
7566
7679
  change4?: InputMaybe<NumberFilter>;
7680
+ /** The percent price change in the past 5 minutes. Decimal format. */
7681
+ change5m?: InputMaybe<NumberFilter>;
7567
7682
  /** The percent price change in the past 12 hours. Decimal format. */
7568
7683
  change12?: InputMaybe<NumberFilter>;
7569
7684
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -7582,6 +7697,8 @@ export type TokenFilters = {
7582
7697
  high1?: InputMaybe<NumberFilter>;
7583
7698
  /** The highest price in USD in the past 4 hours. */
7584
7699
  high4?: InputMaybe<NumberFilter>;
7700
+ /** The highest price in USD in the past 5 minutes. */
7701
+ high5m?: InputMaybe<NumberFilter>;
7585
7702
  /** The highest price in USD in the past 12 hours. */
7586
7703
  high12?: InputMaybe<NumberFilter>;
7587
7704
  /** The highest price in USD in the past 24 hours. */
@@ -7600,6 +7717,8 @@ export type TokenFilters = {
7600
7717
  low1?: InputMaybe<NumberFilter>;
7601
7718
  /** The lowest price in USD in the past 4 hours. */
7602
7719
  low4?: InputMaybe<NumberFilter>;
7720
+ /** The lowest price in USD in the past 5 minutes. */
7721
+ low5m?: InputMaybe<NumberFilter>;
7603
7722
  /** The lowest price in USD in the past 12 hours. */
7604
7723
  low12?: InputMaybe<NumberFilter>;
7605
7724
  /** The lowest price in USD in the past 24 hours. */
@@ -7608,6 +7727,8 @@ export type TokenFilters = {
7608
7727
  marketCap?: InputMaybe<NumberFilter>;
7609
7728
  /** The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
7610
7729
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7730
+ /** docs: hide */
7731
+ notableHolderCount?: InputMaybe<NumberFilter>;
7611
7732
  /** Filter potential Scams */
7612
7733
  potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
7613
7734
  /** The token price in USD. */
@@ -7616,6 +7737,8 @@ export type TokenFilters = {
7616
7737
  sellCount1?: InputMaybe<NumberFilter>;
7617
7738
  /** The number of sells in the past 4 hours. */
7618
7739
  sellCount4?: InputMaybe<NumberFilter>;
7740
+ /** The number of sells in the past 5 minutes. */
7741
+ sellCount5m?: InputMaybe<NumberFilter>;
7619
7742
  /** The number of sells in the past 12 hours. */
7620
7743
  sellCount12?: InputMaybe<NumberFilter>;
7621
7744
  /** The number of sells in the past 24 hours. */
@@ -7626,6 +7749,8 @@ export type TokenFilters = {
7626
7749
  txnCount1?: InputMaybe<NumberFilter>;
7627
7750
  /** The number of transactions in the past 4 hours. */
7628
7751
  txnCount4?: InputMaybe<NumberFilter>;
7752
+ /** The number of transactions in the past 5 minutes. */
7753
+ txnCount5m?: InputMaybe<NumberFilter>;
7629
7754
  /** The number of transactions in the past 12 hours. */
7630
7755
  txnCount12?: InputMaybe<NumberFilter>;
7631
7756
  /** The number of transactions in the past 24 hours. */
@@ -7634,6 +7759,8 @@ export type TokenFilters = {
7634
7759
  uniqueBuys1?: InputMaybe<NumberFilter>;
7635
7760
  /** The unique number of buys in the past 4 hours. */
7636
7761
  uniqueBuys4?: InputMaybe<NumberFilter>;
7762
+ /** The unique number of buys in the past 5 minutes. */
7763
+ uniqueBuys5m?: InputMaybe<NumberFilter>;
7637
7764
  /** The unique number of buys in the past 12 hours. */
7638
7765
  uniqueBuys12?: InputMaybe<NumberFilter>;
7639
7766
  /** The unique number of buys in the past 24 hours. */
@@ -7642,6 +7769,8 @@ export type TokenFilters = {
7642
7769
  uniqueSells1?: InputMaybe<NumberFilter>;
7643
7770
  /** The unique number of sells in the past 4 hours. */
7644
7771
  uniqueSells4?: InputMaybe<NumberFilter>;
7772
+ /** The unique number of sells in the past 5 minutes. */
7773
+ uniqueSells5m?: InputMaybe<NumberFilter>;
7645
7774
  /** The unique number of sells in the past 12 hours. */
7646
7775
  uniqueSells12?: InputMaybe<NumberFilter>;
7647
7776
  /** The unique number of sells in the past 24 hours. */
@@ -7650,6 +7779,8 @@ export type TokenFilters = {
7650
7779
  uniqueTransactions1?: InputMaybe<NumberFilter>;
7651
7780
  /** The unique number of transactions in the past 4 hours. */
7652
7781
  uniqueTransactions4?: InputMaybe<NumberFilter>;
7782
+ /** The unique number of transactions in the past 5 minutes. */
7783
+ uniqueTransactions5m?: InputMaybe<NumberFilter>;
7653
7784
  /** The unique number of transactions in the past 12 hours. */
7654
7785
  uniqueTransactions12?: InputMaybe<NumberFilter>;
7655
7786
  /** The unique number of transactions in the past 24 hours. */
@@ -7658,6 +7789,8 @@ export type TokenFilters = {
7658
7789
  volume1?: InputMaybe<NumberFilter>;
7659
7790
  /** The trade volume in USD in the past 4 hours. */
7660
7791
  volume4?: InputMaybe<NumberFilter>;
7792
+ /** The trade volume in USD in the past 5 minutes. */
7793
+ volume5m?: InputMaybe<NumberFilter>;
7661
7794
  /** The trade volume in USD in the past 12 hours. */
7662
7795
  volume12?: InputMaybe<NumberFilter>;
7663
7796
  /** The trade volume in USD in the past 24 hours. */
@@ -7666,6 +7799,8 @@ export type TokenFilters = {
7666
7799
  volumeChange1?: InputMaybe<NumberFilter>;
7667
7800
  /** The percent volume change in the past 4 hours. Decimal format. */
7668
7801
  volumeChange4?: InputMaybe<NumberFilter>;
7802
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7803
+ volumeChange5m?: InputMaybe<NumberFilter>;
7669
7804
  /** The percent volume change in the past 12 hours. Decimal format. */
7670
7805
  volumeChange12?: InputMaybe<NumberFilter>;
7671
7806
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7742,10 +7877,12 @@ export type TokenLifecycleEvent = {
7742
7877
  transactionIndex: Scalars['Int']['output'];
7743
7878
  };
7744
7879
 
7745
- /** Response returned by `TokenLifecycleEvents`. */
7880
+ /** Response returned by `tokenLifecycleEvents`. */
7746
7881
  export type TokenLifecycleEventConnection = {
7747
7882
  __typename?: 'TokenLifecycleEventConnection';
7883
+ /** A cursor for use in pagination. */
7748
7884
  cursor?: Maybe<Scalars['String']['output']>;
7885
+ /** A list of transactions for a token's top pair. */
7749
7886
  items: Array<Maybe<TokenLifecycleEvent>>;
7750
7887
  };
7751
7888
 
@@ -7758,7 +7895,7 @@ export enum TokenLifecycleEventType {
7758
7895
  Mint = 'MINT'
7759
7896
  }
7760
7897
 
7761
- /** Input type of `TokenLifecycleEvents` query. */
7898
+ /** Input type of `tokenLifecycleEvents` query. */
7762
7899
  export type TokenLifecycleEventsQueryInput = {
7763
7900
  /** The token contract address to filter by. */
7764
7901
  address: Scalars['String']['input'];
@@ -7865,15 +8002,18 @@ export enum TokenRankingAttribute {
7865
8002
  Age = 'age',
7866
8003
  BuyCount1 = 'buyCount1',
7867
8004
  BuyCount4 = 'buyCount4',
8005
+ BuyCount5m = 'buyCount5m',
7868
8006
  BuyCount12 = 'buyCount12',
7869
8007
  BuyCount24 = 'buyCount24',
7870
8008
  Change1 = 'change1',
7871
8009
  Change4 = 'change4',
8010
+ Change5m = 'change5m',
7872
8011
  Change12 = 'change12',
7873
8012
  Change24 = 'change24',
7874
8013
  CreatedAt = 'createdAt',
7875
8014
  High1 = 'high1',
7876
8015
  High4 = 'high4',
8016
+ High5m = 'high5m',
7877
8017
  High12 = 'high12',
7878
8018
  High24 = 'high24',
7879
8019
  Holders = 'holders',
@@ -7881,12 +8021,15 @@ export enum TokenRankingAttribute {
7881
8021
  Liquidity = 'liquidity',
7882
8022
  Low1 = 'low1',
7883
8023
  Low4 = 'low4',
8024
+ Low5m = 'low5m',
7884
8025
  Low12 = 'low12',
7885
8026
  Low24 = 'low24',
7886
8027
  MarketCap = 'marketCap',
8028
+ NotableHolderCount = 'notableHolderCount',
7887
8029
  PriceUsd = 'priceUSD',
7888
8030
  SellCount1 = 'sellCount1',
7889
8031
  SellCount4 = 'sellCount4',
8032
+ SellCount5m = 'sellCount5m',
7890
8033
  SellCount12 = 'sellCount12',
7891
8034
  SellCount24 = 'sellCount24',
7892
8035
  TrendingScore = 'trendingScore',
@@ -7896,26 +8039,32 @@ export enum TokenRankingAttribute {
7896
8039
  TrendingScore24 = 'trendingScore24',
7897
8040
  TxnCount1 = 'txnCount1',
7898
8041
  TxnCount4 = 'txnCount4',
8042
+ TxnCount5m = 'txnCount5m',
7899
8043
  TxnCount12 = 'txnCount12',
7900
8044
  TxnCount24 = 'txnCount24',
7901
8045
  UniqueBuys1 = 'uniqueBuys1',
7902
8046
  UniqueBuys4 = 'uniqueBuys4',
8047
+ UniqueBuys5m = 'uniqueBuys5m',
7903
8048
  UniqueBuys12 = 'uniqueBuys12',
7904
8049
  UniqueBuys24 = 'uniqueBuys24',
7905
8050
  UniqueSells1 = 'uniqueSells1',
7906
8051
  UniqueSells4 = 'uniqueSells4',
8052
+ UniqueSells5m = 'uniqueSells5m',
7907
8053
  UniqueSells12 = 'uniqueSells12',
7908
8054
  UniqueSells24 = 'uniqueSells24',
7909
8055
  UniqueTransactions1 = 'uniqueTransactions1',
7910
8056
  UniqueTransactions4 = 'uniqueTransactions4',
8057
+ UniqueTransactions5m = 'uniqueTransactions5m',
7911
8058
  UniqueTransactions12 = 'uniqueTransactions12',
7912
8059
  UniqueTransactions24 = 'uniqueTransactions24',
7913
8060
  Volume1 = 'volume1',
7914
8061
  Volume4 = 'volume4',
8062
+ Volume5m = 'volume5m',
7915
8063
  Volume12 = 'volume12',
7916
8064
  Volume24 = 'volume24',
7917
8065
  VolumeChange1 = 'volumeChange1',
7918
8066
  VolumeChange4 = 'volumeChange4',
8067
+ VolumeChange5m = 'volumeChange5m',
7919
8068
  VolumeChange12 = 'volumeChange12',
7920
8069
  VolumeChange24 = 'volumeChange24'
7921
8070
  }
@@ -8116,6 +8265,8 @@ export type UnconfirmedResolutionBarData = {
8116
8265
 
8117
8266
  export type UnconfirmedSwapEventData = {
8118
8267
  __typename?: 'UnconfirmedSwapEventData';
8268
+ /** The amount of `baseToken` involved in the swap */
8269
+ amountBaseToken?: Maybe<Scalars['String']['output']>;
8119
8270
  /** The amount of `quoteToken` involved in the swap. For example, if `quoteToken` is USDC for a USDC/WETH pair, `amountNonLiquidityToken` would be the amount of USDC involved in the swap. */
8120
8271
  amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
8121
8272
  /** The price per `quoteToken` at the time of the swap in the network's base token. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in ETH. */
@@ -8130,23 +8281,10 @@ export type UnconfirmedSwapEventData = {
8130
8281
  type: EventType;
8131
8282
  };
8132
8283
 
8133
- export type UniV3Tick = {
8134
- __typename?: 'UniV3Tick';
8135
- liquidityNet?: Maybe<Scalars['String']['output']>;
8136
- price0?: Maybe<Scalars['String']['output']>;
8137
- price1?: Maybe<Scalars['String']['output']>;
8138
- tick?: Maybe<Scalars['Int']['output']>;
8139
- };
8140
-
8141
- /** Response returned by `getUniV3Ticks`. */
8142
- export type UniV3TickConnection = {
8143
- __typename?: 'UniV3TickConnection';
8144
- /** The number of ticks returned. */
8145
- count?: Maybe<Scalars['Int']['output']>;
8146
- /** Where in the list the server started when returning items. */
8147
- offset?: Maybe<Scalars['Int']['output']>;
8148
- /** The list of Uni V3 ticks matching the filter parameters. */
8149
- results?: Maybe<Array<Maybe<UniV3Tick>>>;
8284
+ export type WalletChartRange = {
8285
+ __typename?: 'WalletChartRange';
8286
+ end: Scalars['Int']['output'];
8287
+ start: Scalars['Int']['output'];
8150
8288
  };
8151
8289
 
8152
8290
  export type WalletNftCollection = {