@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
@@ -84,6 +84,7 @@ export type AddNftEventsOutput = {
84
84
  /** The network ID the collection is deployed on. */
85
85
  networkId: Scalars['Int']['output'];
86
86
  };
87
+ /** Response returned by `onNftPoolEventsCreated`. */
87
88
  export type AddNftPoolEventsOutput = {
88
89
  __typename?: 'AddNftPoolEventsOutput';
89
90
  collectionAddress: Scalars['String']['output'];
@@ -93,11 +94,15 @@ export type AddNftPoolEventsOutput = {
93
94
  networkId: Scalars['Int']['output'];
94
95
  poolAddress: Scalars['String']['output'];
95
96
  };
97
+ /** Response returned by `onTokenEventsCreated`. */
96
98
  export type AddTokenEventsOutput = {
97
99
  __typename?: 'AddTokenEventsOutput';
100
+ /** A list of transactions for the token. */
98
101
  events: Array<Event>;
102
+ /** The ID of the event (`address`:`networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`. */
99
103
  id: Scalars['String']['output'];
100
104
  };
105
+ /** Response returned by `onTokenLifecycleEventsCreated`. */
101
106
  export type AddTokenLifecycleEventsOutput = {
102
107
  __typename?: 'AddTokenLifecycleEventsOutput';
103
108
  events: Array<TokenLifecycleEvent>;
@@ -125,6 +130,11 @@ export type AddUserAchievementInput = {
125
130
  quantity: Scalars['Int']['input'];
126
131
  userId: Scalars['String']['input'];
127
132
  };
133
+ export declare enum AddressType {
134
+ Evm = "EVM",
135
+ Sol = "SOL",
136
+ Tron = "TRON"
137
+ }
128
138
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
129
139
  export declare enum AlertRecurrence {
130
140
  Indefinite = "INDEFINITE",
@@ -189,10 +199,12 @@ export type BarsResponse = {
189
199
  h: Array<Maybe<Scalars['Float']['output']>>;
190
200
  /** The low price. */
191
201
  l: Array<Maybe<Scalars['Float']['output']>>;
192
- /** Liqudity in USD */
202
+ /** Liquidity in USD */
193
203
  liquidity: Array<Maybe<Scalars['String']['output']>>;
194
204
  /** The opening price. */
195
205
  o: Array<Maybe<Scalars['Float']['output']>>;
206
+ /** The pair that is being returned */
207
+ pair: Pair;
196
208
  /** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
197
209
  s: Scalars['String']['output'];
198
210
  /** The sell volume in USD */
@@ -853,6 +865,8 @@ export type EnhancedToken = {
853
865
  info?: Maybe<TokenInfo>;
854
866
  /** Whether the token has been flagged as a scam. */
855
867
  isScam?: Maybe<Scalars['Boolean']['output']>;
868
+ /** Launchpad data for the token */
869
+ launchpad?: Maybe<LaunchpadData>;
856
870
  /** Whether or not the token is mintable */
857
871
  mintable?: Maybe<Scalars['String']['output']>;
858
872
  /** The token name. For example, `ApeCoin`. */
@@ -907,12 +921,16 @@ export type Event = {
907
921
  quoteToken?: Maybe<QuoteToken>;
908
922
  /** The unix timestamp for when the transaction occurred. */
909
923
  timestamp: Scalars['Int']['output'];
924
+ /** The address of the event's token0. */
925
+ token0Address?: Maybe<Scalars['String']['output']>;
910
926
  /** The updated price of `token0` in USD, calculated after the transaction. */
911
927
  token0PoolValueUsd?: Maybe<Scalars['String']['output']>;
912
928
  /** The price of `token0` paid/received in USD, including any fees. */
913
929
  token0SwapValueUsd?: Maybe<Scalars['String']['output']>;
914
930
  /** The price of `token0` paid/received in the network's base token, including fees. */
915
931
  token0ValueBase?: Maybe<Scalars['String']['output']>;
932
+ /** The address of the event's token1. */
933
+ token1Address?: Maybe<Scalars['String']['output']>;
916
934
  /** The updated price of `token1` in USD, calculated after the transaction. */
917
935
  token1PoolValueUsd?: Maybe<Scalars['String']['output']>;
918
936
  /** The price of `token1` paid/received in USD, including any fees. */
@@ -1264,14 +1282,23 @@ export type GetGasEstimateInput = {
1264
1282
  /** Response returned by `getNetworkStats`. */
1265
1283
  export type GetNetworkStatsResponse = {
1266
1284
  __typename?: 'GetNetworkStatsResponse';
1285
+ /** The network liquidity in USD. */
1267
1286
  liquidity: Scalars['Float']['output'];
1287
+ /** The unique number of transactions in the past hour. */
1268
1288
  transactions1: Scalars['Int']['output'];
1289
+ /** The unique number of transactions in the past 4 hours. */
1269
1290
  transactions4: Scalars['Int']['output'];
1291
+ /** The unique number of transactions in the past 12 hours. */
1270
1292
  transactions12: Scalars['Int']['output'];
1293
+ /** The unique number of transactions in the past 24 hours. */
1271
1294
  transactions24: Scalars['Int']['output'];
1295
+ /** The network trade volume in USD over the past hour. */
1272
1296
  volume1: Scalars['Float']['output'];
1297
+ /** The network trade volume in USD over the past 4 hours. */
1273
1298
  volume4: Scalars['Float']['output'];
1299
+ /** The network trade volume in USD over the past 12 hours. */
1274
1300
  volume12: Scalars['Float']['output'];
1301
+ /** The network trade volume in USD over the past 24 hours. */
1275
1302
  volume24: Scalars['Float']['output'];
1276
1303
  };
1277
1304
  /** Response returned by `getNftPoolCollectionsByExchange`. */
@@ -1356,16 +1383,19 @@ export type HoldersInputSort = {
1356
1383
  /** The direction to apply to the ranking attribute. */
1357
1384
  direction?: InputMaybe<RankingDirection>;
1358
1385
  };
1386
+ /** Response returned by `holders`. */
1359
1387
  export type HoldersResponse = {
1360
1388
  __typename?: 'HoldersResponse';
1361
- /** the unique count of holders for the token. */
1389
+ /** The unique count of holders for the token. */
1362
1390
  count: Scalars['Int']['output'];
1363
1391
  /** A cursor for use in pagination. */
1364
1392
  cursor?: Maybe<Scalars['String']['output']>;
1365
- /** The list wallets for a token. */
1393
+ /** The list of wallets holding the token. */
1366
1394
  items: Array<Balance>;
1367
1395
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1368
1396
  status: HoldersStatus;
1397
+ /** What percentage of the total supply do the top 10 holders hold. */
1398
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1369
1399
  };
1370
1400
  export declare enum HoldersSortAttribute {
1371
1401
  Balance = "BALANCE",
@@ -1375,6 +1405,20 @@ export declare enum HoldersStatus {
1375
1405
  Disabled = "DISABLED",
1376
1406
  Enabled = "ENABLED"
1377
1407
  }
1408
+ /** Response returned by `onHoldersUpdated`. */
1409
+ export type HoldersUpdate = {
1410
+ __typename?: 'HoldersUpdate';
1411
+ /** The list of wallets holding the token. */
1412
+ balances: Array<Balance>;
1413
+ /** The number of different wallets holding the token. */
1414
+ holders: Scalars['Int']['output'];
1415
+ /** The network ID that the token is deployed on. */
1416
+ networkId: Scalars['Int']['output'];
1417
+ /** The token's contract address. */
1418
+ tokenAddress: Scalars['String']['output'];
1419
+ /** The ID of the token (`tokenAddress:networkId`). */
1420
+ tokenId: Scalars['String']['output'];
1421
+ };
1378
1422
  /** Bar chart data. */
1379
1423
  export type IndividualBarData = {
1380
1424
  __typename?: 'IndividualBarData';
@@ -1390,7 +1434,7 @@ export type IndividualBarData = {
1390
1434
  h: Scalars['Float']['output'];
1391
1435
  /** The low price. */
1392
1436
  l: Scalars['Float']['output'];
1393
- /** Liqudity in USD */
1437
+ /** Liquidity in USD */
1394
1438
  liquidity: Scalars['String']['output'];
1395
1439
  /** The opening price. */
1396
1440
  o: Scalars['Float']['output'];
@@ -1567,6 +1611,28 @@ export type LatestTokenSimResults = {
1567
1611
  /** Tax paid for a sell transaction during simulation. */
1568
1612
  sellTax?: Maybe<Scalars['String']['output']>;
1569
1613
  };
1614
+ /** Launchpad data for the token */
1615
+ export type LaunchpadData = {
1616
+ __typename?: 'LaunchpadData';
1617
+ /** Indicates if the launchpad is completed. */
1618
+ completed?: Maybe<Scalars['Boolean']['output']>;
1619
+ /** The unix timestamp when the launchpad was completed. */
1620
+ completedAt?: Maybe<Scalars['Int']['output']>;
1621
+ /** The slot number when the launchpad was completed. */
1622
+ completedSlot?: Maybe<Scalars['Int']['output']>;
1623
+ /** The percentage of the pool that was sold to the public. */
1624
+ graduationPercent?: Maybe<Scalars['Float']['output']>;
1625
+ /** Indicates if the launchpad was migrated. */
1626
+ migrated?: Maybe<Scalars['Boolean']['output']>;
1627
+ /** The unix timestamp when the launchpad was migrated. */
1628
+ migratedAt?: Maybe<Scalars['Int']['output']>;
1629
+ /** The pool address after the launchpad was migrated. */
1630
+ migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1631
+ /** The slot number when the launchpad was migrated. */
1632
+ migratedSlot?: Maybe<Scalars['Int']['output']>;
1633
+ /** The address of the pool. */
1634
+ poolAddress?: Maybe<Scalars['String']['output']>;
1635
+ };
1570
1636
  export type LiquidityData = {
1571
1637
  __typename?: 'LiquidityData';
1572
1638
  /** The active liquidity in the pair. */
@@ -1692,12 +1758,23 @@ export type MakerEventConnection = {
1692
1758
  items?: Maybe<Array<Maybe<Event>>>;
1693
1759
  };
1694
1760
  export type MakerEventsQueryInput = {
1761
+ /** The specific event type to filter by. */
1762
+ eventType?: InputMaybe<EventType>;
1695
1763
  /** The specific wallet address to filter by. */
1696
1764
  maker: Scalars['String']['input'];
1697
1765
  /** The network ID to filter by. */
1698
- networkId: Scalars['Int']['input'];
1699
- /** The token of interest. Can be `token0` or `token1`. */
1766
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1767
+ /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
1768
+ priceUsdTotal?: InputMaybe<NumberFilter>;
1769
+ /**
1770
+ * docs: hide
1771
+ * @deprecated Not used
1772
+ */
1700
1773
  quoteToken?: InputMaybe<QuoteToken>;
1774
+ /** The time range to filter by. */
1775
+ timestamp?: InputMaybe<EventQueryTimestampInput>;
1776
+ /** The token involved in the event. */
1777
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
1701
1778
  };
1702
1779
  /** The status for a network supported on Defined. */
1703
1780
  export type MetadataResponse = {
@@ -4298,6 +4375,10 @@ export type OnBarsUpdatedResponse = {
4298
4375
  /** The unix timestamp for the new bar. */
4299
4376
  timestamp: Scalars['Int']['output'];
4300
4377
  };
4378
+ export type OnLaunchpadTokenUpdatedInput = {
4379
+ address?: InputMaybe<Scalars['String']['input']>;
4380
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4381
+ };
4301
4382
  export type OnPricesUpdatedInput = {
4302
4383
  address: Scalars['String']['input'];
4303
4384
  networkId: Scalars['Int']['input'];
@@ -4377,6 +4458,7 @@ export declare enum OrderState {
4377
4458
  }
4378
4459
  export declare enum OrderType {
4379
4460
  Limit = "LIMIT",
4461
+ LimitStrategy = "LIMIT_STRATEGY",
4380
4462
  Manual = "MANUAL"
4381
4463
  }
4382
4464
  /** Metadata for a token pair. */
@@ -4400,9 +4482,11 @@ export type Pair = {
4400
4482
  tickSpacing?: Maybe<Scalars['Int']['output']>;
4401
4483
  /** The contract address of `token0`. */
4402
4484
  token0: Scalars['String']['output'];
4485
+ /** Metadata for the first token in the pair. */
4403
4486
  token0Data?: Maybe<EnhancedToken>;
4404
4487
  /** The contract address of `token1`. */
4405
4488
  token1: Scalars['String']['output'];
4489
+ /** Metadata for the second token in the pair. */
4406
4490
  token1Data?: Maybe<EnhancedToken>;
4407
4491
  };
4408
4492
  /** Input type of `PairChartInput`. */
@@ -4677,40 +4761,87 @@ export type PairFilters = {
4677
4761
  };
4678
4762
  export type PairMetadata = {
4679
4763
  __typename?: 'PairMetadata';
4764
+ /** The unix timestamp for the creation of the pair. */
4765
+ createdAt?: Maybe<Scalars['Int']['output']>;
4766
+ /** Token metadata for the first token in the pair. */
4767
+ enhancedToken0?: Maybe<EnhancedToken>;
4768
+ /** Token metadata for the second token in the pair. */
4769
+ enhancedToken1?: Maybe<EnhancedToken>;
4770
+ /** The exchange contract ID. */
4680
4771
  exchangeId?: Maybe<Scalars['String']['output']>;
4772
+ /** The exchange fee for swaps. */
4681
4773
  fee?: Maybe<Scalars['Int']['output']>;
4774
+ /** The highest price in USD in the past hour. */
4682
4775
  highPrice1?: Maybe<Scalars['String']['output']>;
4776
+ /** The highest price in USD in the past week. */
4683
4777
  highPrice1w?: Maybe<Scalars['String']['output']>;
4778
+ /** The highest price in USD in the past 4 hours. */
4684
4779
  highPrice4?: Maybe<Scalars['String']['output']>;
4780
+ /** The highest price in USD in the past 5 minutes. */
4781
+ highPrice5m?: Maybe<Scalars['String']['output']>;
4782
+ /** The highest price in USD in the past 12 hours. */
4685
4783
  highPrice12?: Maybe<Scalars['String']['output']>;
4784
+ /** The highest price in USD in the past 24 hours. */
4686
4785
  highPrice24?: Maybe<Scalars['String']['output']>;
4786
+ /** The ID for the pair (`address:networkId`). */
4687
4787
  id: Scalars['String']['output'];
4788
+ /** The total liquidity in the pair. */
4688
4789
  liquidity: Scalars['String']['output'];
4790
+ /** The token with higher liquidity within the pair. Can be `token0` or `token1`. */
4689
4791
  liquidityToken?: Maybe<Scalars['String']['output']>;
4792
+ /** The lowest price in USD in the past hour. */
4690
4793
  lowPrice1?: Maybe<Scalars['String']['output']>;
4794
+ /** The lowest price in USD in the past week. */
4691
4795
  lowPrice1w?: Maybe<Scalars['String']['output']>;
4796
+ /** The lowest price in USD in the past 4 hours. */
4692
4797
  lowPrice4?: Maybe<Scalars['String']['output']>;
4798
+ /** The lowest price in USD in the past 5 minutes. */
4799
+ lowPrice5m?: Maybe<Scalars['String']['output']>;
4800
+ /** The lowest price in USD in the past 12 hours. */
4693
4801
  lowPrice12?: Maybe<Scalars['String']['output']>;
4802
+ /** The lowest price in USD in the past 24 hours. */
4694
4803
  lowPrice24?: Maybe<Scalars['String']['output']>;
4804
+ /** The network ID the pair is deployed on. */
4695
4805
  networkId?: Maybe<Scalars['Int']['output']>;
4806
+ /** The token with lower liquidity within the pair. Can be `token0` or `token1`. */
4696
4807
  nonLiquidityToken?: Maybe<Scalars['String']['output']>;
4808
+ /** The contract address of the pair. */
4697
4809
  pairAddress: Scalars['String']['output'];
4810
+ /** The quote token price in USD. */
4698
4811
  price: Scalars['String']['output'];
4812
+ /** The percent price change in the past hour. Decimal format. */
4699
4813
  priceChange1?: Maybe<Scalars['Float']['output']>;
4814
+ /** The percent price change in the past week. Decimal format. */
4700
4815
  priceChange1w?: Maybe<Scalars['Float']['output']>;
4816
+ /** The percent price change in the past 4 hours. Decimal format. */
4701
4817
  priceChange4?: Maybe<Scalars['Float']['output']>;
4818
+ /** The percent price change in the past 5 minutes. Decimal format. */
4702
4819
  priceChange5m?: Maybe<Scalars['Float']['output']>;
4820
+ /** The percent price change in the past 12 hours. Decimal format. */
4703
4821
  priceChange12?: Maybe<Scalars['Float']['output']>;
4822
+ /** The percent price change in the past 24 hours. Decimal format. */
4704
4823
  priceChange24?: Maybe<Scalars['Float']['output']>;
4824
+ /** The token of interest within the pair. Can be `token0` or `token1`. */
4705
4825
  quoteToken?: Maybe<QuoteToken>;
4826
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
4706
4827
  statsType: TokenPairStatisticsType;
4828
+ /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
4707
4829
  tickSpacing?: Maybe<Scalars['Int']['output']>;
4830
+ /** Pair metadata for the first token in the pair. */
4708
4831
  token0: PairMetadataToken;
4832
+ /** Pair metadata for the second token in the pair. */
4709
4833
  token1: PairMetadataToken;
4834
+ /** The trade volume in USD in the past hour. */
4710
4835
  volume1?: Maybe<Scalars['String']['output']>;
4836
+ /** The trade trade volume in USD in the past week. */
4711
4837
  volume1w?: Maybe<Scalars['String']['output']>;
4838
+ /** The trade volume in USD in the past 4 hours. */
4712
4839
  volume4?: Maybe<Scalars['String']['output']>;
4840
+ /** The trade volume in USD in the past 5 minutes. */
4841
+ volume5m?: Maybe<Scalars['String']['output']>;
4842
+ /** The trade volume in USD in the past 12 hours. */
4713
4843
  volume12?: Maybe<Scalars['String']['output']>;
4844
+ /** The trade volume in USD in the past 24 hours. */
4714
4845
  volume24?: Maybe<Scalars['String']['output']>;
4715
4846
  };
4716
4847
  export type PairMetadataToken = {
@@ -4789,34 +4920,6 @@ export declare enum PairRankingAttribute {
4789
4920
  VolumeUsd12 = "volumeUSD12",
4790
4921
  VolumeUsd24 = "volumeUSD24"
4791
4922
  }
4792
- /** A Parallel asset. */
4793
- export type ParallelAsset = {
4794
- __typename?: 'ParallelAsset';
4795
- /** The contract address of the NFT collection. */
4796
- address: Scalars['String']['output'];
4797
- /** The attributes for the NFT asset. */
4798
- attributes?: Maybe<Array<NftAssetAttribute>>;
4799
- /** The description of the NFT asset. */
4800
- description?: Maybe<Scalars['String']['output']>;
4801
- /** The game data for the NFT asset. */
4802
- gameData?: Maybe<ParallelAssetGameData>;
4803
- /** The ID of the NFT asset (`address`:`tokenId`). */
4804
- id: Scalars['String']['output'];
4805
- /** The NFT asset media. */
4806
- media?: Maybe<NftAssetMedia>;
4807
- /** Metadata for the NFT asset. */
4808
- metadata?: Maybe<ParallelAssetMetadata>;
4809
- /** The name of the NFT asset. */
4810
- name?: Maybe<Scalars['String']['output']>;
4811
- /** The network ID the NFT collection is deployed on. */
4812
- networkId: Scalars['Int']['output'];
4813
- /** The source image URI linked by smart contract metadata. */
4814
- originalImage?: Maybe<Scalars['String']['output']>;
4815
- /** The token ID of the NFT asset. */
4816
- tokenId: Scalars['String']['output'];
4817
- /** The URI provided by the smart contract. Typically JSON that contains metadata. */
4818
- uri?: Maybe<Scalars['String']['output']>;
4819
- };
4820
4923
  /** Response returned by `filterNftParallelAssets`. */
4821
4924
  export type ParallelAssetFilterConnection = {
4822
4925
  __typename?: 'ParallelAssetFilterConnection';
@@ -4991,14 +5094,6 @@ export declare enum ParallelAssetRankingAttribute {
4991
5094
  LastPriceUsd = "lastPriceUsd",
4992
5095
  Supply = "supply"
4993
5096
  }
4994
- /** Response returned by `getParallelAssets`. */
4995
- export type ParallelAssetsConnection = {
4996
- __typename?: 'ParallelAssetsConnection';
4997
- /** A cursor for use in pagination. */
4998
- cursor?: Maybe<Scalars['String']['output']>;
4999
- /** A list of Parallel assets. */
5000
- items?: Maybe<Array<Maybe<ParallelAsset>>>;
5001
- };
5002
5097
  /** Tracked changes made to a Parallel card. */
5003
5098
  export type ParallelCardChange = {
5004
5099
  __typename?: 'ParallelCardChange';
@@ -5128,7 +5223,7 @@ export type Price = {
5128
5223
  /** The token price in USD. */
5129
5224
  priceUsd: Scalars['Float']['output'];
5130
5225
  /** The unix timestamp for the price. */
5131
- timestamp: Scalars['Int']['output'];
5226
+ timestamp?: Maybe<Scalars['Int']['output']>;
5132
5227
  };
5133
5228
  /** Webhook conditions for a price event. */
5134
5229
  export type PriceEventWebhookCondition = {
@@ -5662,7 +5757,10 @@ export type Query = {
5662
5757
  getEventLabels?: Maybe<EventLabelConnection>;
5663
5758
  /** Returns a list of decentralized exchange metadata. */
5664
5759
  getExchanges: Array<Exchange>;
5665
- /** Returns new tokens listed over the last three days. */
5760
+ /**
5761
+ * Returns new tokens listed over the last three days.
5762
+ * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
5763
+ */
5666
5764
  getLatestPairs?: Maybe<LatestPairConnection>;
5667
5765
  getLatestTokens?: Maybe<LatestTokenConnection>;
5668
5766
  /** Returns metadata for a given network. */
@@ -5693,8 +5791,6 @@ export type Query = {
5693
5791
  getNftPoolsByCollectionAndExchange?: Maybe<GetNftPoolsResponse>;
5694
5792
  /** Returns a list of NFT pools for a given owner. */
5695
5793
  getNftPoolsByOwner?: Maybe<GetNftPoolsResponse>;
5696
- /** Returns transactions for an NFT collection across any marketplace(s). */
5697
- getParallelAssets?: Maybe<ParallelAssetsConnection>;
5698
5794
  /** Returns changes made to Parallel card metadata over time. */
5699
5795
  getParallelCardChanges?: Maybe<ParallelCardChangesConnection>;
5700
5796
  /** Returns a list of Prime pool cached assets. */
@@ -5706,19 +5802,12 @@ export type Query = {
5706
5802
  getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
5707
5803
  /** Returns metadata for a given pair. */
5708
5804
  getSymbol?: Maybe<SymbolResponse>;
5709
- /** Returns the total count of tokens on Defined. This value is updated approximately every 6 hours. */
5710
- getTokenCount: Scalars['String']['output'];
5711
5805
  /** Returns transactions for a pair. */
5712
5806
  getTokenEvents?: Maybe<EventConnection>;
5807
+ /** Returns a list of token events for a given maker. */
5713
5808
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
5714
- /** Returns metadata for a given token. */
5715
- getTokenInfo?: Maybe<TokenInfo>;
5716
5809
  /** Returns real-time or historical prices for a list of tokens, fetched in batches. */
5717
5810
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
5718
- /** Returns metadata for a list of given tokens. */
5719
- getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
5720
- /** Returns tick data for a given Uniswap V3-style pool. */
5721
- getUniV3Ticks?: Maybe<UniV3TickConnection>;
5722
5811
  /** Returns a user's list of webhooks. */
5723
5812
  getWebhooks?: Maybe<GetWebhooksResponse>;
5724
5813
  /** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
@@ -5727,8 +5816,6 @@ export type Query = {
5727
5816
  liquidityLocks?: Maybe<LiquidityLockConnection>;
5728
5817
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
5729
5818
  liquidityMetadata?: Maybe<LiquidityMetadata>;
5730
- /** Returns a list of token metadata. */
5731
- listFavoriteTokens?: Maybe<Array<TokenWithMetadata>>;
5732
5819
  /** Returns a list of pairs containing a given token. */
5733
5820
  listPairsForToken: Array<Maybe<Pair>>;
5734
5821
  /** Returns a list of pair metadata for a token. */
@@ -5739,8 +5826,6 @@ export type Query = {
5739
5826
  nftHolders: NftHoldersResponse;
5740
5827
  /** Returns metadata for a pair of tokens. */
5741
5828
  pairMetadata: PairMetadata;
5742
- /** Fetch the balance of a wallet holding PRIME on ethereum */
5743
- primeBalance: BalancesResponse;
5744
5829
  /** Returns a list of holders of the PRIME token on ethereum. */
5745
5830
  primeHolders: PrimeHolders;
5746
5831
  /** Returns a list of NFT collections matching a given query string. */
@@ -5750,14 +5835,16 @@ export type Query = {
5750
5835
  * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
5751
5836
  */
5752
5837
  searchTokens?: Maybe<TokenSearchResponse>;
5753
- /** Find a single token by its address & network id. */
5838
+ /** Returns a single token by its address & network id. */
5754
5839
  token: EnhancedToken;
5755
5840
  /** Returns a list of token lifecycle events. */
5756
5841
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
5757
5842
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
5758
5843
  tokenSparklines: Array<TokenSparkline>;
5759
- /** Find a list of tokens by their addresses & network id, with pagination. */
5844
+ /** Returns a list of tokens by their addresses & network id, with pagination. */
5760
5845
  tokens: Array<Maybe<EnhancedToken>>;
5846
+ /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
5847
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
5761
5848
  /** Returns list of NFT assets held by a given wallet for a single collection. */
5762
5849
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
5763
5850
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -5839,6 +5926,7 @@ export type QueryGetBarsArgs = {
5839
5926
  resolution: Scalars['String']['input'];
5840
5927
  statsType?: InputMaybe<TokenPairStatisticsType>;
5841
5928
  symbol: Scalars['String']['input'];
5929
+ symbolType?: InputMaybe<SymbolType>;
5842
5930
  to: Scalars['Int']['input'];
5843
5931
  };
5844
5932
  export type QueryGetCommunityNotesArgs = {
@@ -5974,11 +6062,6 @@ export type QueryGetNftPoolsByOwnerArgs = {
5974
6062
  networkId: Scalars['Int']['input'];
5975
6063
  ownerAddress: Scalars['String']['input'];
5976
6064
  };
5977
- export type QueryGetParallelAssetsArgs = {
5978
- cursor?: InputMaybe<Scalars['String']['input']>;
5979
- limit?: InputMaybe<Scalars['Int']['input']>;
5980
- tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5981
- };
5982
6065
  export type QueryGetParallelCardChangesArgs = {
5983
6066
  cursor?: InputMaybe<Scalars['String']['input']>;
5984
6067
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6032,22 +6115,9 @@ export type QueryGetTokenEventsForMakerArgs = {
6032
6115
  limit?: InputMaybe<Scalars['Int']['input']>;
6033
6116
  query: MakerEventsQueryInput;
6034
6117
  };
6035
- export type QueryGetTokenInfoArgs = {
6036
- address: Scalars['String']['input'];
6037
- networkId: Scalars['Int']['input'];
6038
- };
6039
6118
  export type QueryGetTokenPricesArgs = {
6040
6119
  inputs?: InputMaybe<Array<InputMaybe<GetPriceInput>>>;
6041
6120
  };
6042
- export type QueryGetTokensInfoArgs = {
6043
- input: Array<GetTokensInfoInput>;
6044
- };
6045
- export type QueryGetUniV3TicksArgs = {
6046
- limit?: InputMaybe<Scalars['Int']['input']>;
6047
- networkId: Scalars['Int']['input'];
6048
- offset?: InputMaybe<Scalars['Int']['input']>;
6049
- poolAddress: Scalars['String']['input'];
6050
- };
6051
6121
  export type QueryGetWebhooksArgs = {
6052
6122
  bucketId?: InputMaybe<Scalars['String']['input']>;
6053
6123
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
@@ -6067,11 +6137,6 @@ export type QueryLiquidityMetadataArgs = {
6067
6137
  networkId: Scalars['Int']['input'];
6068
6138
  pairAddress: Scalars['String']['input'];
6069
6139
  };
6070
- export type QueryListFavoriteTokensArgs = {
6071
- keys: Array<Scalars['String']['input']>;
6072
- networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
6073
- resolution?: InputMaybe<Scalars['String']['input']>;
6074
- };
6075
6140
  export type QueryListPairsForTokenArgs = {
6076
6141
  limit?: InputMaybe<Scalars['Int']['input']>;
6077
6142
  networkId: Scalars['Int']['input'];
@@ -6095,9 +6160,6 @@ export type QueryPairMetadataArgs = {
6095
6160
  quoteToken?: InputMaybe<QuoteToken>;
6096
6161
  statsType?: InputMaybe<TokenPairStatisticsType>;
6097
6162
  };
6098
- export type QueryPrimeBalanceArgs = {
6099
- walletAddress: Scalars['String']['input'];
6100
- };
6101
6163
  export type QueryPrimeHoldersArgs = {
6102
6164
  cursor?: InputMaybe<Scalars['String']['input']>;
6103
6165
  };
@@ -6130,6 +6192,9 @@ export type QueryTokenSparklinesArgs = {
6130
6192
  export type QueryTokensArgs = {
6131
6193
  ids?: InputMaybe<Array<TokenInput>>;
6132
6194
  };
6195
+ export type QueryTop10HoldersPercentArgs = {
6196
+ tokenId: Scalars['String']['input'];
6197
+ };
6133
6198
  export type QueryWalletNftCollectionAssetsArgs = {
6134
6199
  input: WalletNftCollectionAssetsInput;
6135
6200
  };
@@ -6617,6 +6682,8 @@ export type Subscription = {
6617
6682
  onEventLabelCreated?: Maybe<EventLabel>;
6618
6683
  /** Live-streamed transactions for a token. */
6619
6684
  onEventsCreated?: Maybe<AddEventsOutput>;
6685
+ /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
6686
+ onHoldersUpdated?: Maybe<HoldersUpdate>;
6620
6687
  /** Live-streamed updates for newly listed pairs. */
6621
6688
  onLatestPairUpdated?: Maybe<LatestPair>;
6622
6689
  onLatestTokens?: Maybe<LatestToken>;
@@ -6624,7 +6691,7 @@ export type Subscription = {
6624
6691
  onNftAssetsCreated?: Maybe<NftAsset>;
6625
6692
  /** Live-streamed transactions for an NFT collection. */
6626
6693
  onNftEventsCreated?: Maybe<AddNftEventsOutput>;
6627
- /** Live streamed nft pool events for a given pool address or collection address */
6694
+ /** Live streamed NFT pool events for a given pool address or collection address. */
6628
6695
  onNftPoolEventsCreated?: Maybe<AddNftPoolEventsOutput>;
6629
6696
  /** Live-streamed stat updates for a given token within a pair. */
6630
6697
  onPairMetadataUpdated?: Maybe<PairMetadata>;
@@ -6635,9 +6702,9 @@ export type Subscription = {
6635
6702
  onSimulateTokenContract: SimulateTokenContractResult;
6636
6703
  /** Live-streamed bar chart data to track price changes over time for a token. */
6637
6704
  onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
6638
- /** Live streamed events for a given token across all it's pools */
6705
+ /** Live-streamed events for a given token across all it's pools */
6639
6706
  onTokenEventsCreated: AddTokenEventsOutput;
6640
- /** Live-streamed token lifecycle events (mints and burns) */
6707
+ /** Live-streamed token lifecycle events (mints and burns). */
6641
6708
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
6642
6709
  /** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
6643
6710
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
@@ -6662,6 +6729,9 @@ export type SubscriptionOnEventsCreatedArgs = {
6662
6729
  id?: InputMaybe<Scalars['String']['input']>;
6663
6730
  quoteToken?: InputMaybe<QuoteToken>;
6664
6731
  };
6732
+ export type SubscriptionOnHoldersUpdatedArgs = {
6733
+ tokenId: Scalars['String']['input'];
6734
+ };
6665
6735
  export type SubscriptionOnLatestPairUpdatedArgs = {
6666
6736
  id?: InputMaybe<Scalars['String']['input']>;
6667
6737
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6724,6 +6794,25 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
6724
6794
  id?: InputMaybe<Scalars['String']['input']>;
6725
6795
  quoteToken?: InputMaybe<QuoteToken>;
6726
6796
  };
6797
+ export type SuiNetworkConfig = {
6798
+ __typename?: 'SuiNetworkConfig';
6799
+ baseTokenAddress: Scalars['String']['output'];
6800
+ baseTokenSymbol: Scalars['String']['output'];
6801
+ color?: Maybe<Scalars['String']['output']>;
6802
+ defaultPairAddress: Scalars['String']['output'];
6803
+ defaultPairQuoteToken: QuoteToken;
6804
+ enabled: Scalars['Boolean']['output'];
6805
+ id: Scalars['ID']['output'];
6806
+ mainnet: Scalars['Boolean']['output'];
6807
+ name: Scalars['String']['output'];
6808
+ networkIconUrl: Scalars['String']['output'];
6809
+ networkId: Scalars['Int']['output'];
6810
+ networkName: Scalars['String']['output'];
6811
+ networkShortName: Scalars['String']['output'];
6812
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
6813
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
6814
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
6815
+ };
6727
6816
  /** Event data for a token swap event. */
6728
6817
  export type SwapEventData = {
6729
6818
  __typename?: 'SwapEventData';
@@ -6900,6 +6989,10 @@ export type SymbolResponse = {
6900
6989
  /** The ID of the pair (`address:networkId`). */
6901
6990
  ticker: Scalars['String']['output'];
6902
6991
  };
6992
+ export declare enum SymbolType {
6993
+ Pool = "POOL",
6994
+ Token = "TOKEN"
6995
+ }
6903
6996
  /** Token burn event data. */
6904
6997
  export type TokenBurnEventData = {
6905
6998
  __typename?: 'TokenBurnEventData';
@@ -6929,6 +7022,8 @@ export type TokenFilterResult = {
6929
7022
  buyCount1?: Maybe<Scalars['Int']['output']>;
6930
7023
  /** The number of buys in the past 4 hours. */
6931
7024
  buyCount4?: Maybe<Scalars['Int']['output']>;
7025
+ /** The number of buys in the past 5 minutes. */
7026
+ buyCount5m?: Maybe<Scalars['Int']['output']>;
6932
7027
  /** The number of buys in the past 12 hours. */
6933
7028
  buyCount12?: Maybe<Scalars['Int']['output']>;
6934
7029
  /** The number of buys in the past 24 hours. */
@@ -6937,6 +7032,8 @@ export type TokenFilterResult = {
6937
7032
  change1?: Maybe<Scalars['String']['output']>;
6938
7033
  /** The percent price change in the past 4 hours. Decimal format. */
6939
7034
  change4?: Maybe<Scalars['String']['output']>;
7035
+ /** The percent price change in the past 5 minutes. Decimal format. */
7036
+ change5m?: Maybe<Scalars['String']['output']>;
6940
7037
  /** The percent price change in the past 12 hours. Decimal format. */
6941
7038
  change12?: Maybe<Scalars['String']['output']>;
6942
7039
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -6951,6 +7048,8 @@ export type TokenFilterResult = {
6951
7048
  high1?: Maybe<Scalars['String']['output']>;
6952
7049
  /** The highest price in USD in the past 4 hours. */
6953
7050
  high4?: Maybe<Scalars['String']['output']>;
7051
+ /** The highest price in USD in the past 5 minutes. */
7052
+ high5m?: Maybe<Scalars['String']['output']>;
6954
7053
  /** The highest price in USD in the past 12 hours. */
6955
7054
  high12?: Maybe<Scalars['String']['output']>;
6956
7055
  /** The highest price in USD in the past 24 hours. */
@@ -6967,6 +7066,8 @@ export type TokenFilterResult = {
6967
7066
  low1?: Maybe<Scalars['String']['output']>;
6968
7067
  /** The lowest price in USD in the past 4 hours. */
6969
7068
  low4?: Maybe<Scalars['String']['output']>;
7069
+ /** The lowest price in USD in the past 5 minutes. */
7070
+ low5m?: Maybe<Scalars['String']['output']>;
6970
7071
  /** The lowest price in USD in the past 12 hours. */
6971
7072
  low12?: Maybe<Scalars['String']['output']>;
6972
7073
  /** The lowest price in USD in the past 24 hours. */
@@ -6983,6 +7084,8 @@ export type TokenFilterResult = {
6983
7084
  sellCount1?: Maybe<Scalars['Int']['output']>;
6984
7085
  /** The number of sells in the past 4 hours. */
6985
7086
  sellCount4?: Maybe<Scalars['Int']['output']>;
7087
+ /** The number of sells in the past 5 minutes. */
7088
+ sellCount5m?: Maybe<Scalars['Int']['output']>;
6986
7089
  /** The number of sells in the past 12 hours. */
6987
7090
  sellCount12?: Maybe<Scalars['Int']['output']>;
6988
7091
  /** The number of sells in the past 24 hours. */
@@ -6993,6 +7096,8 @@ export type TokenFilterResult = {
6993
7096
  txnCount1?: Maybe<Scalars['Int']['output']>;
6994
7097
  /** The number of transactions in the past 4 hours. */
6995
7098
  txnCount4?: Maybe<Scalars['Int']['output']>;
7099
+ /** The number of transactions in the past 5 minutes. */
7100
+ txnCount5m?: Maybe<Scalars['Int']['output']>;
6996
7101
  /** The number of transactions in the past 12 hours. */
6997
7102
  txnCount12?: Maybe<Scalars['Int']['output']>;
6998
7103
  /** The number of transactions in the past 24 hours. */
@@ -7001,6 +7106,8 @@ export type TokenFilterResult = {
7001
7106
  uniqueBuys1?: Maybe<Scalars['Int']['output']>;
7002
7107
  /** The unique number of buys in the past 4 hours. */
7003
7108
  uniqueBuys4?: Maybe<Scalars['Int']['output']>;
7109
+ /** The unique number of buys in the past 5 minutes. */
7110
+ uniqueBuys5m?: Maybe<Scalars['Int']['output']>;
7004
7111
  /** The unique number of buys in the past 12 hours. */
7005
7112
  uniqueBuys12?: Maybe<Scalars['Int']['output']>;
7006
7113
  /** The unique number of buys in the past 24 hours. */
@@ -7009,6 +7116,8 @@ export type TokenFilterResult = {
7009
7116
  uniqueSells1?: Maybe<Scalars['Int']['output']>;
7010
7117
  /** The unique number of sells in the past 4 hours. */
7011
7118
  uniqueSells4?: Maybe<Scalars['Int']['output']>;
7119
+ /** The unique number of sells in the past 5 minutes. */
7120
+ uniqueSells5m?: Maybe<Scalars['Int']['output']>;
7012
7121
  /** The unique number of sells in the past 12 hours. */
7013
7122
  uniqueSells12?: Maybe<Scalars['Int']['output']>;
7014
7123
  /** The unique number of sells in the past 24 hours. */
@@ -7017,6 +7126,8 @@ export type TokenFilterResult = {
7017
7126
  uniqueTransactions1?: Maybe<Scalars['Int']['output']>;
7018
7127
  /** The unique number of transactions in the past 4 hours. */
7019
7128
  uniqueTransactions4?: Maybe<Scalars['Int']['output']>;
7129
+ /** The unique number of transactions in the past 5 minutes. */
7130
+ uniqueTransactions5m?: Maybe<Scalars['Int']['output']>;
7020
7131
  /** The unique number of transactions in the past 12 hours. */
7021
7132
  uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
7022
7133
  /** The unique number of transactions in the past 24 hours. */
@@ -7025,6 +7136,8 @@ export type TokenFilterResult = {
7025
7136
  volume1?: Maybe<Scalars['String']['output']>;
7026
7137
  /** The trade volume in USD in the past 4 hours. */
7027
7138
  volume4?: Maybe<Scalars['String']['output']>;
7139
+ /** The trade volume in USD in the past 5 minutes. */
7140
+ volume5m?: Maybe<Scalars['String']['output']>;
7028
7141
  /** The trade volume in USD in the past 12 hours. */
7029
7142
  volume12?: Maybe<Scalars['String']['output']>;
7030
7143
  /** The trade volume in USD in the past 24 hours. */
@@ -7033,6 +7146,8 @@ export type TokenFilterResult = {
7033
7146
  volumeChange1?: Maybe<Scalars['String']['output']>;
7034
7147
  /** The percent volume change in the past 4 hours. Decimal format. */
7035
7148
  volumeChange4?: Maybe<Scalars['String']['output']>;
7149
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7150
+ volumeChange5m?: Maybe<Scalars['String']['output']>;
7036
7151
  /** The percent volume change in the past 12 hours. Decimal format. */
7037
7152
  volumeChange12?: Maybe<Scalars['String']['output']>;
7038
7153
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7046,6 +7161,8 @@ export type TokenFilters = {
7046
7161
  buyCount1?: InputMaybe<NumberFilter>;
7047
7162
  /** The number of buys in the past 4 hours. */
7048
7163
  buyCount4?: InputMaybe<NumberFilter>;
7164
+ /** The number of buys in the past 5 minutes. */
7165
+ buyCount5m?: InputMaybe<NumberFilter>;
7049
7166
  /** The number of buys in the past 12 hours. */
7050
7167
  buyCount12?: InputMaybe<NumberFilter>;
7051
7168
  /** The number of buys in the past 24 hours. */
@@ -7054,6 +7171,8 @@ export type TokenFilters = {
7054
7171
  change1?: InputMaybe<NumberFilter>;
7055
7172
  /** The percent price change in the past 4 hours. Decimal format. */
7056
7173
  change4?: InputMaybe<NumberFilter>;
7174
+ /** The percent price change in the past 5 minutes. Decimal format. */
7175
+ change5m?: InputMaybe<NumberFilter>;
7057
7176
  /** The percent price change in the past 12 hours. Decimal format. */
7058
7177
  change12?: InputMaybe<NumberFilter>;
7059
7178
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -7072,6 +7191,8 @@ export type TokenFilters = {
7072
7191
  high1?: InputMaybe<NumberFilter>;
7073
7192
  /** The highest price in USD in the past 4 hours. */
7074
7193
  high4?: InputMaybe<NumberFilter>;
7194
+ /** The highest price in USD in the past 5 minutes. */
7195
+ high5m?: InputMaybe<NumberFilter>;
7075
7196
  /** The highest price in USD in the past 12 hours. */
7076
7197
  high12?: InputMaybe<NumberFilter>;
7077
7198
  /** The highest price in USD in the past 24 hours. */
@@ -7090,6 +7211,8 @@ export type TokenFilters = {
7090
7211
  low1?: InputMaybe<NumberFilter>;
7091
7212
  /** The lowest price in USD in the past 4 hours. */
7092
7213
  low4?: InputMaybe<NumberFilter>;
7214
+ /** The lowest price in USD in the past 5 minutes. */
7215
+ low5m?: InputMaybe<NumberFilter>;
7093
7216
  /** The lowest price in USD in the past 12 hours. */
7094
7217
  low12?: InputMaybe<NumberFilter>;
7095
7218
  /** The lowest price in USD in the past 24 hours. */
@@ -7098,6 +7221,8 @@ export type TokenFilters = {
7098
7221
  marketCap?: InputMaybe<NumberFilter>;
7099
7222
  /** 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. */
7100
7223
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7224
+ /** docs: hide */
7225
+ notableHolderCount?: InputMaybe<NumberFilter>;
7101
7226
  /** Filter potential Scams */
7102
7227
  potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
7103
7228
  /** The token price in USD. */
@@ -7106,6 +7231,8 @@ export type TokenFilters = {
7106
7231
  sellCount1?: InputMaybe<NumberFilter>;
7107
7232
  /** The number of sells in the past 4 hours. */
7108
7233
  sellCount4?: InputMaybe<NumberFilter>;
7234
+ /** The number of sells in the past 5 minutes. */
7235
+ sellCount5m?: InputMaybe<NumberFilter>;
7109
7236
  /** The number of sells in the past 12 hours. */
7110
7237
  sellCount12?: InputMaybe<NumberFilter>;
7111
7238
  /** The number of sells in the past 24 hours. */
@@ -7116,6 +7243,8 @@ export type TokenFilters = {
7116
7243
  txnCount1?: InputMaybe<NumberFilter>;
7117
7244
  /** The number of transactions in the past 4 hours. */
7118
7245
  txnCount4?: InputMaybe<NumberFilter>;
7246
+ /** The number of transactions in the past 5 minutes. */
7247
+ txnCount5m?: InputMaybe<NumberFilter>;
7119
7248
  /** The number of transactions in the past 12 hours. */
7120
7249
  txnCount12?: InputMaybe<NumberFilter>;
7121
7250
  /** The number of transactions in the past 24 hours. */
@@ -7124,6 +7253,8 @@ export type TokenFilters = {
7124
7253
  uniqueBuys1?: InputMaybe<NumberFilter>;
7125
7254
  /** The unique number of buys in the past 4 hours. */
7126
7255
  uniqueBuys4?: InputMaybe<NumberFilter>;
7256
+ /** The unique number of buys in the past 5 minutes. */
7257
+ uniqueBuys5m?: InputMaybe<NumberFilter>;
7127
7258
  /** The unique number of buys in the past 12 hours. */
7128
7259
  uniqueBuys12?: InputMaybe<NumberFilter>;
7129
7260
  /** The unique number of buys in the past 24 hours. */
@@ -7132,6 +7263,8 @@ export type TokenFilters = {
7132
7263
  uniqueSells1?: InputMaybe<NumberFilter>;
7133
7264
  /** The unique number of sells in the past 4 hours. */
7134
7265
  uniqueSells4?: InputMaybe<NumberFilter>;
7266
+ /** The unique number of sells in the past 5 minutes. */
7267
+ uniqueSells5m?: InputMaybe<NumberFilter>;
7135
7268
  /** The unique number of sells in the past 12 hours. */
7136
7269
  uniqueSells12?: InputMaybe<NumberFilter>;
7137
7270
  /** The unique number of sells in the past 24 hours. */
@@ -7140,6 +7273,8 @@ export type TokenFilters = {
7140
7273
  uniqueTransactions1?: InputMaybe<NumberFilter>;
7141
7274
  /** The unique number of transactions in the past 4 hours. */
7142
7275
  uniqueTransactions4?: InputMaybe<NumberFilter>;
7276
+ /** The unique number of transactions in the past 5 minutes. */
7277
+ uniqueTransactions5m?: InputMaybe<NumberFilter>;
7143
7278
  /** The unique number of transactions in the past 12 hours. */
7144
7279
  uniqueTransactions12?: InputMaybe<NumberFilter>;
7145
7280
  /** The unique number of transactions in the past 24 hours. */
@@ -7148,6 +7283,8 @@ export type TokenFilters = {
7148
7283
  volume1?: InputMaybe<NumberFilter>;
7149
7284
  /** The trade volume in USD in the past 4 hours. */
7150
7285
  volume4?: InputMaybe<NumberFilter>;
7286
+ /** The trade volume in USD in the past 5 minutes. */
7287
+ volume5m?: InputMaybe<NumberFilter>;
7151
7288
  /** The trade volume in USD in the past 12 hours. */
7152
7289
  volume12?: InputMaybe<NumberFilter>;
7153
7290
  /** The trade volume in USD in the past 24 hours. */
@@ -7156,6 +7293,8 @@ export type TokenFilters = {
7156
7293
  volumeChange1?: InputMaybe<NumberFilter>;
7157
7294
  /** The percent volume change in the past 4 hours. Decimal format. */
7158
7295
  volumeChange4?: InputMaybe<NumberFilter>;
7296
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7297
+ volumeChange5m?: InputMaybe<NumberFilter>;
7159
7298
  /** The percent volume change in the past 12 hours. Decimal format. */
7160
7299
  volumeChange12?: InputMaybe<NumberFilter>;
7161
7300
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7228,10 +7367,12 @@ export type TokenLifecycleEvent = {
7228
7367
  /** The index of the transaction within the block. */
7229
7368
  transactionIndex: Scalars['Int']['output'];
7230
7369
  };
7231
- /** Response returned by `TokenLifecycleEvents`. */
7370
+ /** Response returned by `tokenLifecycleEvents`. */
7232
7371
  export type TokenLifecycleEventConnection = {
7233
7372
  __typename?: 'TokenLifecycleEventConnection';
7373
+ /** A cursor for use in pagination. */
7234
7374
  cursor?: Maybe<Scalars['String']['output']>;
7375
+ /** A list of transactions for a token's top pair. */
7235
7376
  items: Array<Maybe<TokenLifecycleEvent>>;
7236
7377
  };
7237
7378
  /** Event data for a token's lifecycle. */
@@ -7241,7 +7382,7 @@ export declare enum TokenLifecycleEventType {
7241
7382
  Burn = "BURN",
7242
7383
  Mint = "MINT"
7243
7384
  }
7244
- /** Input type of `TokenLifecycleEvents` query. */
7385
+ /** Input type of `tokenLifecycleEvents` query. */
7245
7386
  export type TokenLifecycleEventsQueryInput = {
7246
7387
  /** The token contract address to filter by. */
7247
7388
  address: Scalars['String']['input'];
@@ -7338,15 +7479,18 @@ export declare enum TokenRankingAttribute {
7338
7479
  Age = "age",
7339
7480
  BuyCount1 = "buyCount1",
7340
7481
  BuyCount4 = "buyCount4",
7482
+ BuyCount5m = "buyCount5m",
7341
7483
  BuyCount12 = "buyCount12",
7342
7484
  BuyCount24 = "buyCount24",
7343
7485
  Change1 = "change1",
7344
7486
  Change4 = "change4",
7487
+ Change5m = "change5m",
7345
7488
  Change12 = "change12",
7346
7489
  Change24 = "change24",
7347
7490
  CreatedAt = "createdAt",
7348
7491
  High1 = "high1",
7349
7492
  High4 = "high4",
7493
+ High5m = "high5m",
7350
7494
  High12 = "high12",
7351
7495
  High24 = "high24",
7352
7496
  Holders = "holders",
@@ -7354,12 +7498,15 @@ export declare enum TokenRankingAttribute {
7354
7498
  Liquidity = "liquidity",
7355
7499
  Low1 = "low1",
7356
7500
  Low4 = "low4",
7501
+ Low5m = "low5m",
7357
7502
  Low12 = "low12",
7358
7503
  Low24 = "low24",
7359
7504
  MarketCap = "marketCap",
7505
+ NotableHolderCount = "notableHolderCount",
7360
7506
  PriceUsd = "priceUSD",
7361
7507
  SellCount1 = "sellCount1",
7362
7508
  SellCount4 = "sellCount4",
7509
+ SellCount5m = "sellCount5m",
7363
7510
  SellCount12 = "sellCount12",
7364
7511
  SellCount24 = "sellCount24",
7365
7512
  TrendingScore = "trendingScore",
@@ -7369,26 +7516,32 @@ export declare enum TokenRankingAttribute {
7369
7516
  TrendingScore24 = "trendingScore24",
7370
7517
  TxnCount1 = "txnCount1",
7371
7518
  TxnCount4 = "txnCount4",
7519
+ TxnCount5m = "txnCount5m",
7372
7520
  TxnCount12 = "txnCount12",
7373
7521
  TxnCount24 = "txnCount24",
7374
7522
  UniqueBuys1 = "uniqueBuys1",
7375
7523
  UniqueBuys4 = "uniqueBuys4",
7524
+ UniqueBuys5m = "uniqueBuys5m",
7376
7525
  UniqueBuys12 = "uniqueBuys12",
7377
7526
  UniqueBuys24 = "uniqueBuys24",
7378
7527
  UniqueSells1 = "uniqueSells1",
7379
7528
  UniqueSells4 = "uniqueSells4",
7529
+ UniqueSells5m = "uniqueSells5m",
7380
7530
  UniqueSells12 = "uniqueSells12",
7381
7531
  UniqueSells24 = "uniqueSells24",
7382
7532
  UniqueTransactions1 = "uniqueTransactions1",
7383
7533
  UniqueTransactions4 = "uniqueTransactions4",
7534
+ UniqueTransactions5m = "uniqueTransactions5m",
7384
7535
  UniqueTransactions12 = "uniqueTransactions12",
7385
7536
  UniqueTransactions24 = "uniqueTransactions24",
7386
7537
  Volume1 = "volume1",
7387
7538
  Volume4 = "volume4",
7539
+ Volume5m = "volume5m",
7388
7540
  Volume12 = "volume12",
7389
7541
  Volume24 = "volume24",
7390
7542
  VolumeChange1 = "volumeChange1",
7391
7543
  VolumeChange4 = "volumeChange4",
7544
+ VolumeChange5m = "volumeChange5m",
7392
7545
  VolumeChange12 = "volumeChange12",
7393
7546
  VolumeChange24 = "volumeChange24"
7394
7547
  }
@@ -7579,6 +7732,8 @@ export type UnconfirmedResolutionBarData = {
7579
7732
  };
7580
7733
  export type UnconfirmedSwapEventData = {
7581
7734
  __typename?: 'UnconfirmedSwapEventData';
7735
+ /** The amount of `baseToken` involved in the swap */
7736
+ amountBaseToken?: Maybe<Scalars['String']['output']>;
7582
7737
  /** 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. */
7583
7738
  amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
7584
7739
  /** 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. */
@@ -7592,22 +7747,10 @@ export type UnconfirmedSwapEventData = {
7592
7747
  /** The type of token event, `Swap`. */
7593
7748
  type: EventType;
7594
7749
  };
7595
- export type UniV3Tick = {
7596
- __typename?: 'UniV3Tick';
7597
- liquidityNet?: Maybe<Scalars['String']['output']>;
7598
- price0?: Maybe<Scalars['String']['output']>;
7599
- price1?: Maybe<Scalars['String']['output']>;
7600
- tick?: Maybe<Scalars['Int']['output']>;
7601
- };
7602
- /** Response returned by `getUniV3Ticks`. */
7603
- export type UniV3TickConnection = {
7604
- __typename?: 'UniV3TickConnection';
7605
- /** The number of ticks returned. */
7606
- count?: Maybe<Scalars['Int']['output']>;
7607
- /** Where in the list the server started when returning items. */
7608
- offset?: Maybe<Scalars['Int']['output']>;
7609
- /** The list of Uni V3 ticks matching the filter parameters. */
7610
- results?: Maybe<Array<Maybe<UniV3Tick>>>;
7750
+ export type WalletChartRange = {
7751
+ __typename?: 'WalletChartRange';
7752
+ end: Scalars['Int']['output'];
7753
+ start: Scalars['Int']['output'];
7611
7754
  };
7612
7755
  export type WalletNftCollection = {
7613
7756
  __typename?: 'WalletNftCollection';