@codex-data/sdk 1.0.3 → 1.0.5

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 (72) hide show
  1. package/dist/resources/generated_queries/Balances.graphql +2 -0
  2. package/dist/resources/generated_queries/FilterTokens.graphql +11 -0
  3. package/dist/resources/generated_queries/GetBars.graphql +143 -0
  4. package/dist/resources/generated_queries/Holders.graphql +2 -0
  5. package/dist/resources/generated_queries/PairMetadata.graphql +4 -0
  6. package/dist/resources/generated_queries/PrimeHolders.graphql +2 -0
  7. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
  8. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
  9. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  10. package/dist/resources/graphql.d.ts +207 -113
  11. package/dist/resources/graphql.d.ts.map +1 -1
  12. package/dist/resources/graphql.js +26 -2
  13. package/dist/resources/graphql.js.map +1 -1
  14. package/dist/resources/graphql.schema.json +1031 -764
  15. package/dist/resources/graphql.ts +213 -128
  16. package/dist/resources/schema.graphql +312 -158
  17. package/dist/sdk/Mutation.d.ts +2 -2
  18. package/dist/sdk/Mutation.d.ts.map +1 -1
  19. package/dist/sdk/Mutation.js +2 -2
  20. package/dist/sdk/Mutation.js.map +1 -1
  21. package/dist/sdk/Query.d.ts +50 -59
  22. package/dist/sdk/Query.d.ts.map +1 -1
  23. package/dist/sdk/Query.js +49 -58
  24. package/dist/sdk/Query.js.map +1 -1
  25. package/dist/sdk/Subscribe.d.ts +13 -12
  26. package/dist/sdk/Subscribe.d.ts.map +1 -1
  27. package/dist/sdk/Subscribe.js +86 -79
  28. package/dist/sdk/Subscribe.js.map +1 -1
  29. package/dist/sdk/generated/gql.d.ts +24 -91
  30. package/dist/sdk/generated/gql.d.ts.map +1 -1
  31. package/dist/sdk/generated/gql.js +9 -17
  32. package/dist/sdk/generated/gql.js.map +1 -1
  33. package/dist/sdk/generated/graphql.d.ts +476 -494
  34. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  35. package/dist/sdk/generated/graphql.js +37 -21
  36. package/dist/sdk/generated/graphql.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/resources/generated_queries/Balances.graphql +2 -0
  39. package/src/resources/generated_queries/FilterTokens.graphql +11 -0
  40. package/src/resources/generated_queries/GetBars.graphql +143 -0
  41. package/src/resources/generated_queries/Holders.graphql +2 -0
  42. package/src/resources/generated_queries/PairMetadata.graphql +4 -0
  43. package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
  44. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
  45. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
  46. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  47. package/src/resources/graphql.schema.json +1031 -764
  48. package/src/resources/graphql.ts +213 -128
  49. package/src/resources/schema.graphql +312 -158
  50. package/src/sdk/Mutation.ts +4 -4
  51. package/src/sdk/Query.ts +105 -141
  52. package/src/sdk/Subscribe.ts +125 -110
  53. package/src/sdk/generated/gql.ts +21 -61
  54. package/src/sdk/generated/graphql.ts +241 -227
  55. package/dist/resources/generated_queries/BackfillWalletState.graphql +0 -3
  56. package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
  57. package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
  58. package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
  59. package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
  60. package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
  61. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  62. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  63. package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
  64. package/src/resources/generated_queries/BackfillWalletState.graphql +0 -3
  65. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  66. package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
  67. package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
  68. package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
  69. package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
  70. package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  71. package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  72. 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>;
@@ -148,15 +153,38 @@ export type ApiToken = {
148
153
  /** JWT to be passed into the Authorization header for API requests */
149
154
  token: Scalars['String']['output'];
150
155
  };
156
+ export type AptosNetworkConfig = {
157
+ __typename?: 'AptosNetworkConfig';
158
+ baseTokenAddress: Scalars['String']['output'];
159
+ baseTokenSymbol: Scalars['String']['output'];
160
+ color?: Maybe<Scalars['String']['output']>;
161
+ defaultPairAddress: Scalars['String']['output'];
162
+ defaultPairQuoteToken: QuoteToken;
163
+ enabled: Scalars['Boolean']['output'];
164
+ id: Scalars['ID']['output'];
165
+ mainnet: Scalars['Boolean']['output'];
166
+ name: Scalars['String']['output'];
167
+ networkIconUrl: Scalars['String']['output'];
168
+ networkId: Scalars['Int']['output'];
169
+ networkName: Scalars['String']['output'];
170
+ networkShortName: Scalars['String']['output'];
171
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
172
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
173
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
174
+ };
151
175
  /** Wallet balance of a token. */
152
176
  export type Balance = {
153
177
  __typename?: 'Balance';
178
+ /** The wallet address */
179
+ address: Scalars['String']['output'];
154
180
  /** The balance held by the wallet. */
155
181
  balance: Scalars['String']['output'];
156
182
  /** The time that this address first held a token */
157
183
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
158
184
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
159
185
  shiftedBalance: Scalars['Float']['output'];
186
+ /** The contract address of the token. */
187
+ tokenAddress: Scalars['String']['output'];
160
188
  /** The ID of the token (`tokenAddress:networkId`). */
161
189
  tokenId: Scalars['String']['output'];
162
190
  /** The ID of the wallet (`walletAddress:networkId`). */
@@ -194,10 +222,12 @@ export type BarsResponse = {
194
222
  h: Array<Maybe<Scalars['Float']['output']>>;
195
223
  /** The low price. */
196
224
  l: Array<Maybe<Scalars['Float']['output']>>;
197
- /** Liqudity in USD */
225
+ /** Liquidity in USD */
198
226
  liquidity: Array<Maybe<Scalars['String']['output']>>;
199
227
  /** The opening price. */
200
228
  o: Array<Maybe<Scalars['Float']['output']>>;
229
+ /** The pair that is being returned */
230
+ pair: Pair;
201
231
  /** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
202
232
  s: Scalars['String']['output'];
203
233
  /** The sell volume in USD */
@@ -879,6 +909,12 @@ export type EnhancedToken = {
879
909
  */
880
910
  totalSupply?: Maybe<Scalars['String']['output']>;
881
911
  };
912
+ export declare enum Entitlement {
913
+ BalanceFeed = "BalanceFeed",
914
+ PriceFeed = "PriceFeed",
915
+ TopTraders = "TopTraders",
916
+ WalletStats = "WalletStats"
917
+ }
882
918
  /** A token transaction. */
883
919
  export type Event = {
884
920
  __typename?: 'Event';
@@ -1273,14 +1309,23 @@ export type GetGasEstimateInput = {
1273
1309
  /** Response returned by `getNetworkStats`. */
1274
1310
  export type GetNetworkStatsResponse = {
1275
1311
  __typename?: 'GetNetworkStatsResponse';
1312
+ /** The network liquidity in USD. */
1276
1313
  liquidity: Scalars['Float']['output'];
1314
+ /** The unique number of transactions in the past hour. */
1277
1315
  transactions1: Scalars['Int']['output'];
1316
+ /** The unique number of transactions in the past 4 hours. */
1278
1317
  transactions4: Scalars['Int']['output'];
1318
+ /** The unique number of transactions in the past 12 hours. */
1279
1319
  transactions12: Scalars['Int']['output'];
1320
+ /** The unique number of transactions in the past 24 hours. */
1280
1321
  transactions24: Scalars['Int']['output'];
1322
+ /** The network trade volume in USD over the past hour. */
1281
1323
  volume1: Scalars['Float']['output'];
1324
+ /** The network trade volume in USD over the past 4 hours. */
1282
1325
  volume4: Scalars['Float']['output'];
1326
+ /** The network trade volume in USD over the past 12 hours. */
1283
1327
  volume12: Scalars['Float']['output'];
1328
+ /** The network trade volume in USD over the past 24 hours. */
1284
1329
  volume24: Scalars['Float']['output'];
1285
1330
  };
1286
1331
  /** Response returned by `getNftPoolCollectionsByExchange`. */
@@ -1365,17 +1410,18 @@ export type HoldersInputSort = {
1365
1410
  /** The direction to apply to the ranking attribute. */
1366
1411
  direction?: InputMaybe<RankingDirection>;
1367
1412
  };
1413
+ /** Response returned by `holders`. */
1368
1414
  export type HoldersResponse = {
1369
1415
  __typename?: 'HoldersResponse';
1370
- /** the unique count of holders for the token. */
1416
+ /** The unique count of holders for the token. */
1371
1417
  count: Scalars['Int']['output'];
1372
1418
  /** A cursor for use in pagination. */
1373
1419
  cursor?: Maybe<Scalars['String']['output']>;
1374
- /** The list wallets for a token. */
1420
+ /** The list of wallets holding the token. */
1375
1421
  items: Array<Balance>;
1376
1422
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1377
1423
  status: HoldersStatus;
1378
- /** What percentage of the total supply do the top 10 holders hold */
1424
+ /** What percentage of the total supply do the top 10 holders hold. */
1379
1425
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1380
1426
  };
1381
1427
  export declare enum HoldersSortAttribute {
@@ -1386,6 +1432,20 @@ export declare enum HoldersStatus {
1386
1432
  Disabled = "DISABLED",
1387
1433
  Enabled = "ENABLED"
1388
1434
  }
1435
+ /** Response returned by `onHoldersUpdated`. */
1436
+ export type HoldersUpdate = {
1437
+ __typename?: 'HoldersUpdate';
1438
+ /** The list of wallets holding the token. */
1439
+ balances: Array<Balance>;
1440
+ /** The number of different wallets holding the token. */
1441
+ holders: Scalars['Int']['output'];
1442
+ /** The network ID that the token is deployed on. */
1443
+ networkId: Scalars['Int']['output'];
1444
+ /** The token's contract address. */
1445
+ tokenAddress: Scalars['String']['output'];
1446
+ /** The ID of the token (`tokenAddress:networkId`). */
1447
+ tokenId: Scalars['String']['output'];
1448
+ };
1389
1449
  /** Bar chart data. */
1390
1450
  export type IndividualBarData = {
1391
1451
  __typename?: 'IndividualBarData';
@@ -1401,7 +1461,7 @@ export type IndividualBarData = {
1401
1461
  h: Scalars['Float']['output'];
1402
1462
  /** The low price. */
1403
1463
  l: Scalars['Float']['output'];
1404
- /** Liqudity in USD */
1464
+ /** Liquidity in USD */
1405
1465
  liquidity: Scalars['String']['output'];
1406
1466
  /** The opening price. */
1407
1467
  o: Scalars['Float']['output'];
@@ -1711,7 +1771,10 @@ export type MakerEventsQueryInput = {
1711
1771
  networkId?: InputMaybe<Scalars['Int']['input']>;
1712
1772
  /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
1713
1773
  priceUsdTotal?: InputMaybe<NumberFilter>;
1714
- /** docs: hide */
1774
+ /**
1775
+ * docs: hide
1776
+ * @deprecated Not used
1777
+ */
1715
1778
  quoteToken?: InputMaybe<QuoteToken>;
1716
1779
  /** The time range to filter by. */
1717
1780
  timestamp?: InputMaybe<EventQueryTimestampInput>;
@@ -4396,6 +4459,7 @@ export declare enum OrderState {
4396
4459
  }
4397
4460
  export declare enum OrderType {
4398
4461
  Limit = "LIMIT",
4462
+ LimitStrategy = "LIMIT_STRATEGY",
4399
4463
  Manual = "MANUAL"
4400
4464
  }
4401
4465
  /** Metadata for a token pair. */
@@ -4419,9 +4483,11 @@ export type Pair = {
4419
4483
  tickSpacing?: Maybe<Scalars['Int']['output']>;
4420
4484
  /** The contract address of `token0`. */
4421
4485
  token0: Scalars['String']['output'];
4486
+ /** Metadata for the first token in the pair. */
4422
4487
  token0Data?: Maybe<EnhancedToken>;
4423
4488
  /** The contract address of `token1`. */
4424
4489
  token1: Scalars['String']['output'];
4490
+ /** Metadata for the second token in the pair. */
4425
4491
  token1Data?: Maybe<EnhancedToken>;
4426
4492
  };
4427
4493
  /** Input type of `PairChartInput`. */
@@ -4696,42 +4762,87 @@ export type PairFilters = {
4696
4762
  };
4697
4763
  export type PairMetadata = {
4698
4764
  __typename?: 'PairMetadata';
4765
+ /** The unix timestamp for the creation of the pair. */
4766
+ createdAt?: Maybe<Scalars['Int']['output']>;
4767
+ /** Token metadata for the first token in the pair. */
4699
4768
  enhancedToken0?: Maybe<EnhancedToken>;
4769
+ /** Token metadata for the second token in the pair. */
4700
4770
  enhancedToken1?: Maybe<EnhancedToken>;
4771
+ /** The exchange contract ID. */
4701
4772
  exchangeId?: Maybe<Scalars['String']['output']>;
4773
+ /** The exchange fee for swaps. */
4702
4774
  fee?: Maybe<Scalars['Int']['output']>;
4775
+ /** The highest price in USD in the past hour. */
4703
4776
  highPrice1?: Maybe<Scalars['String']['output']>;
4777
+ /** The highest price in USD in the past week. */
4704
4778
  highPrice1w?: Maybe<Scalars['String']['output']>;
4779
+ /** The highest price in USD in the past 4 hours. */
4705
4780
  highPrice4?: Maybe<Scalars['String']['output']>;
4781
+ /** The highest price in USD in the past 5 minutes. */
4782
+ highPrice5m?: Maybe<Scalars['String']['output']>;
4783
+ /** The highest price in USD in the past 12 hours. */
4706
4784
  highPrice12?: Maybe<Scalars['String']['output']>;
4785
+ /** The highest price in USD in the past 24 hours. */
4707
4786
  highPrice24?: Maybe<Scalars['String']['output']>;
4787
+ /** The ID for the pair (`address:networkId`). */
4708
4788
  id: Scalars['String']['output'];
4789
+ /** The total liquidity in the pair. */
4709
4790
  liquidity: Scalars['String']['output'];
4791
+ /** The token with higher liquidity within the pair. Can be `token0` or `token1`. */
4710
4792
  liquidityToken?: Maybe<Scalars['String']['output']>;
4793
+ /** The lowest price in USD in the past hour. */
4711
4794
  lowPrice1?: Maybe<Scalars['String']['output']>;
4795
+ /** The lowest price in USD in the past week. */
4712
4796
  lowPrice1w?: Maybe<Scalars['String']['output']>;
4797
+ /** The lowest price in USD in the past 4 hours. */
4713
4798
  lowPrice4?: Maybe<Scalars['String']['output']>;
4799
+ /** The lowest price in USD in the past 5 minutes. */
4800
+ lowPrice5m?: Maybe<Scalars['String']['output']>;
4801
+ /** The lowest price in USD in the past 12 hours. */
4714
4802
  lowPrice12?: Maybe<Scalars['String']['output']>;
4803
+ /** The lowest price in USD in the past 24 hours. */
4715
4804
  lowPrice24?: Maybe<Scalars['String']['output']>;
4805
+ /** The network ID the pair is deployed on. */
4716
4806
  networkId?: Maybe<Scalars['Int']['output']>;
4807
+ /** The token with lower liquidity within the pair. Can be `token0` or `token1`. */
4717
4808
  nonLiquidityToken?: Maybe<Scalars['String']['output']>;
4809
+ /** The contract address of the pair. */
4718
4810
  pairAddress: Scalars['String']['output'];
4811
+ /** The quote token price in USD. */
4719
4812
  price: Scalars['String']['output'];
4813
+ /** The percent price change in the past hour. Decimal format. */
4720
4814
  priceChange1?: Maybe<Scalars['Float']['output']>;
4815
+ /** The percent price change in the past week. Decimal format. */
4721
4816
  priceChange1w?: Maybe<Scalars['Float']['output']>;
4817
+ /** The percent price change in the past 4 hours. Decimal format. */
4722
4818
  priceChange4?: Maybe<Scalars['Float']['output']>;
4819
+ /** The percent price change in the past 5 minutes. Decimal format. */
4723
4820
  priceChange5m?: Maybe<Scalars['Float']['output']>;
4821
+ /** The percent price change in the past 12 hours. Decimal format. */
4724
4822
  priceChange12?: Maybe<Scalars['Float']['output']>;
4823
+ /** The percent price change in the past 24 hours. Decimal format. */
4725
4824
  priceChange24?: Maybe<Scalars['Float']['output']>;
4825
+ /** The token of interest within the pair. Can be `token0` or `token1`. */
4726
4826
  quoteToken?: Maybe<QuoteToken>;
4827
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
4727
4828
  statsType: TokenPairStatisticsType;
4829
+ /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
4728
4830
  tickSpacing?: Maybe<Scalars['Int']['output']>;
4831
+ /** Pair metadata for the first token in the pair. */
4729
4832
  token0: PairMetadataToken;
4833
+ /** Pair metadata for the second token in the pair. */
4730
4834
  token1: PairMetadataToken;
4835
+ /** The trade volume in USD in the past hour. */
4731
4836
  volume1?: Maybe<Scalars['String']['output']>;
4837
+ /** The trade trade volume in USD in the past week. */
4732
4838
  volume1w?: Maybe<Scalars['String']['output']>;
4839
+ /** The trade volume in USD in the past 4 hours. */
4733
4840
  volume4?: Maybe<Scalars['String']['output']>;
4841
+ /** The trade volume in USD in the past 5 minutes. */
4842
+ volume5m?: Maybe<Scalars['String']['output']>;
4843
+ /** The trade volume in USD in the past 12 hours. */
4734
4844
  volume12?: Maybe<Scalars['String']['output']>;
4845
+ /** The trade volume in USD in the past 24 hours. */
4735
4846
  volume24?: Maybe<Scalars['String']['output']>;
4736
4847
  };
4737
4848
  export type PairMetadataToken = {
@@ -4810,34 +4921,6 @@ export declare enum PairRankingAttribute {
4810
4921
  VolumeUsd12 = "volumeUSD12",
4811
4922
  VolumeUsd24 = "volumeUSD24"
4812
4923
  }
4813
- /** A Parallel asset. */
4814
- export type ParallelAsset = {
4815
- __typename?: 'ParallelAsset';
4816
- /** The contract address of the NFT collection. */
4817
- address: Scalars['String']['output'];
4818
- /** The attributes for the NFT asset. */
4819
- attributes?: Maybe<Array<NftAssetAttribute>>;
4820
- /** The description of the NFT asset. */
4821
- description?: Maybe<Scalars['String']['output']>;
4822
- /** The game data for the NFT asset. */
4823
- gameData?: Maybe<ParallelAssetGameData>;
4824
- /** The ID of the NFT asset (`address`:`tokenId`). */
4825
- id: Scalars['String']['output'];
4826
- /** The NFT asset media. */
4827
- media?: Maybe<NftAssetMedia>;
4828
- /** Metadata for the NFT asset. */
4829
- metadata?: Maybe<ParallelAssetMetadata>;
4830
- /** The name of the NFT asset. */
4831
- name?: Maybe<Scalars['String']['output']>;
4832
- /** The network ID the NFT collection is deployed on. */
4833
- networkId: Scalars['Int']['output'];
4834
- /** The source image URI linked by smart contract metadata. */
4835
- originalImage?: Maybe<Scalars['String']['output']>;
4836
- /** The token ID of the NFT asset. */
4837
- tokenId: Scalars['String']['output'];
4838
- /** The URI provided by the smart contract. Typically JSON that contains metadata. */
4839
- uri?: Maybe<Scalars['String']['output']>;
4840
- };
4841
4924
  /** Response returned by `filterNftParallelAssets`. */
4842
4925
  export type ParallelAssetFilterConnection = {
4843
4926
  __typename?: 'ParallelAssetFilterConnection';
@@ -5012,14 +5095,6 @@ export declare enum ParallelAssetRankingAttribute {
5012
5095
  LastPriceUsd = "lastPriceUsd",
5013
5096
  Supply = "supply"
5014
5097
  }
5015
- /** Response returned by `getParallelAssets`. */
5016
- export type ParallelAssetsConnection = {
5017
- __typename?: 'ParallelAssetsConnection';
5018
- /** A cursor for use in pagination. */
5019
- cursor?: Maybe<Scalars['String']['output']>;
5020
- /** A list of Parallel assets. */
5021
- items?: Maybe<Array<Maybe<ParallelAsset>>>;
5022
- };
5023
5098
  /** Tracked changes made to a Parallel card. */
5024
5099
  export type ParallelCardChange = {
5025
5100
  __typename?: 'ParallelCardChange';
@@ -5149,7 +5224,7 @@ export type Price = {
5149
5224
  /** The token price in USD. */
5150
5225
  priceUsd: Scalars['Float']['output'];
5151
5226
  /** The unix timestamp for the price. */
5152
- timestamp: Scalars['Int']['output'];
5227
+ timestamp?: Maybe<Scalars['Int']['output']>;
5153
5228
  };
5154
5229
  /** Webhook conditions for a price event. */
5155
5230
  export type PriceEventWebhookCondition = {
@@ -5646,7 +5721,6 @@ export type Query = {
5646
5721
  apiToken: ApiToken;
5647
5722
  /** Get all active short-lived api tokens for this api key */
5648
5723
  apiTokens: Array<ApiToken>;
5649
- backfillWalletState: Scalars['Boolean']['output'];
5650
5724
  /** Returns list of token balances that a wallet has */
5651
5725
  balances: BalancesResponse;
5652
5726
  /** Returns a URL for a pair chart. */
@@ -5684,14 +5758,17 @@ export type Query = {
5684
5758
  getEventLabels?: Maybe<EventLabelConnection>;
5685
5759
  /** Returns a list of decentralized exchange metadata. */
5686
5760
  getExchanges: Array<Exchange>;
5687
- /** Returns new tokens listed over the last three days. */
5761
+ /**
5762
+ * Returns new tokens listed over the last three days.
5763
+ * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
5764
+ */
5688
5765
  getLatestPairs?: Maybe<LatestPairConnection>;
5689
5766
  getLatestTokens?: Maybe<LatestTokenConnection>;
5690
- /** Returns metadata for a given network. */
5767
+ /** Returns metadata for a given network supported on Codex. */
5691
5768
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
5692
- /** Returns the status of a list of networks supported on Defined. */
5769
+ /** Returns the status of a list of networks supported on Codex. */
5693
5770
  getNetworkStatus?: Maybe<Array<MetadataResponse>>;
5694
- /** Returns a list of all networks supported on Defined. */
5771
+ /** Returns a list of all networks supported on Codex. */
5695
5772
  getNetworks: Array<Network>;
5696
5773
  /** Returns a list of NFT assets in a given collection. */
5697
5774
  getNftAssets?: Maybe<NftAssetsConnection>;
@@ -5715,8 +5792,6 @@ export type Query = {
5715
5792
  getNftPoolsByCollectionAndExchange?: Maybe<GetNftPoolsResponse>;
5716
5793
  /** Returns a list of NFT pools for a given owner. */
5717
5794
  getNftPoolsByOwner?: Maybe<GetNftPoolsResponse>;
5718
- /** Returns transactions for an NFT collection across any marketplace(s). */
5719
- getParallelAssets?: Maybe<ParallelAssetsConnection>;
5720
5795
  /** Returns changes made to Parallel card metadata over time. */
5721
5796
  getParallelCardChanges?: Maybe<ParallelCardChangesConnection>;
5722
5797
  /** Returns a list of Prime pool cached assets. */
@@ -5726,22 +5801,14 @@ export type Query = {
5726
5801
  /** Returns a list of Prime pools. */
5727
5802
  getPrimePools?: Maybe<PrimePoolConnection>;
5728
5803
  getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
5729
- /** Returns metadata for a given pair. */
5804
+ /** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
5730
5805
  getSymbol?: Maybe<SymbolResponse>;
5731
- /** Returns the total count of tokens on Defined. This value is updated approximately every 6 hours. */
5732
- getTokenCount: Scalars['String']['output'];
5733
5806
  /** Returns transactions for a pair. */
5734
5807
  getTokenEvents?: Maybe<EventConnection>;
5735
5808
  /** Returns a list of token events for a given maker. */
5736
5809
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
5737
- /** Returns metadata for a given token. */
5738
- getTokenInfo?: Maybe<TokenInfo>;
5739
5810
  /** Returns real-time or historical prices for a list of tokens, fetched in batches. */
5740
5811
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
5741
- /** Returns metadata for a list of given tokens. */
5742
- getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
5743
- /** Returns tick data for a given Uniswap V3-style pool. */
5744
- getUniV3Ticks?: Maybe<UniV3TickConnection>;
5745
5812
  /** Returns a user's list of webhooks. */
5746
5813
  getWebhooks?: Maybe<GetWebhooksResponse>;
5747
5814
  /** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
@@ -5750,8 +5817,6 @@ export type Query = {
5750
5817
  liquidityLocks?: Maybe<LiquidityLockConnection>;
5751
5818
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
5752
5819
  liquidityMetadata?: Maybe<LiquidityMetadata>;
5753
- /** Returns a list of token metadata. */
5754
- listFavoriteTokens?: Maybe<Array<TokenWithMetadata>>;
5755
5820
  /** Returns a list of pairs containing a given token. */
5756
5821
  listPairsForToken: Array<Maybe<Pair>>;
5757
5822
  /** Returns a list of pair metadata for a token. */
@@ -5762,8 +5827,6 @@ export type Query = {
5762
5827
  nftHolders: NftHoldersResponse;
5763
5828
  /** Returns metadata for a pair of tokens. */
5764
5829
  pairMetadata: PairMetadata;
5765
- /** Fetch the balance of a wallet holding PRIME on ethereum */
5766
- primeBalance: BalancesResponse;
5767
5830
  /** Returns a list of holders of the PRIME token on ethereum. */
5768
5831
  primeHolders: PrimeHolders;
5769
5832
  /** Returns a list of NFT collections matching a given query string. */
@@ -5773,15 +5836,15 @@ export type Query = {
5773
5836
  * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
5774
5837
  */
5775
5838
  searchTokens?: Maybe<TokenSearchResponse>;
5776
- /** Find a single token by its address & network id. */
5839
+ /** Returns a single token by its address & network id. */
5777
5840
  token: EnhancedToken;
5778
5841
  /** Returns a list of token lifecycle events. */
5779
5842
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
5780
5843
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
5781
5844
  tokenSparklines: Array<TokenSparkline>;
5782
- /** Find a list of tokens by their addresses & network id, with pagination. */
5845
+ /** Returns a list of tokens by their addresses & network id, with pagination. */
5783
5846
  tokens: Array<Maybe<EnhancedToken>>;
5784
- /** What percent of the total supply do the top 10 holders of a token hold */
5847
+ /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
5785
5848
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
5786
5849
  /** Returns list of NFT assets held by a given wallet for a single collection. */
5787
5850
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
@@ -5864,6 +5927,7 @@ export type QueryGetBarsArgs = {
5864
5927
  resolution: Scalars['String']['input'];
5865
5928
  statsType?: InputMaybe<TokenPairStatisticsType>;
5866
5929
  symbol: Scalars['String']['input'];
5930
+ symbolType?: InputMaybe<SymbolType>;
5867
5931
  to: Scalars['Int']['input'];
5868
5932
  };
5869
5933
  export type QueryGetCommunityNotesArgs = {
@@ -5999,11 +6063,6 @@ export type QueryGetNftPoolsByOwnerArgs = {
5999
6063
  networkId: Scalars['Int']['input'];
6000
6064
  ownerAddress: Scalars['String']['input'];
6001
6065
  };
6002
- export type QueryGetParallelAssetsArgs = {
6003
- cursor?: InputMaybe<Scalars['String']['input']>;
6004
- limit?: InputMaybe<Scalars['Int']['input']>;
6005
- tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6006
- };
6007
6066
  export type QueryGetParallelCardChangesArgs = {
6008
6067
  cursor?: InputMaybe<Scalars['String']['input']>;
6009
6068
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6057,22 +6116,9 @@ export type QueryGetTokenEventsForMakerArgs = {
6057
6116
  limit?: InputMaybe<Scalars['Int']['input']>;
6058
6117
  query: MakerEventsQueryInput;
6059
6118
  };
6060
- export type QueryGetTokenInfoArgs = {
6061
- address: Scalars['String']['input'];
6062
- networkId: Scalars['Int']['input'];
6063
- };
6064
6119
  export type QueryGetTokenPricesArgs = {
6065
6120
  inputs?: InputMaybe<Array<InputMaybe<GetPriceInput>>>;
6066
6121
  };
6067
- export type QueryGetTokensInfoArgs = {
6068
- input: Array<GetTokensInfoInput>;
6069
- };
6070
- export type QueryGetUniV3TicksArgs = {
6071
- limit?: InputMaybe<Scalars['Int']['input']>;
6072
- networkId: Scalars['Int']['input'];
6073
- offset?: InputMaybe<Scalars['Int']['input']>;
6074
- poolAddress: Scalars['String']['input'];
6075
- };
6076
6122
  export type QueryGetWebhooksArgs = {
6077
6123
  bucketId?: InputMaybe<Scalars['String']['input']>;
6078
6124
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
@@ -6092,11 +6138,6 @@ export type QueryLiquidityMetadataArgs = {
6092
6138
  networkId: Scalars['Int']['input'];
6093
6139
  pairAddress: Scalars['String']['input'];
6094
6140
  };
6095
- export type QueryListFavoriteTokensArgs = {
6096
- keys: Array<Scalars['String']['input']>;
6097
- networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
6098
- resolution?: InputMaybe<Scalars['String']['input']>;
6099
- };
6100
6141
  export type QueryListPairsForTokenArgs = {
6101
6142
  limit?: InputMaybe<Scalars['Int']['input']>;
6102
6143
  networkId: Scalars['Int']['input'];
@@ -6120,9 +6161,6 @@ export type QueryPairMetadataArgs = {
6120
6161
  quoteToken?: InputMaybe<QuoteToken>;
6121
6162
  statsType?: InputMaybe<TokenPairStatisticsType>;
6122
6163
  };
6123
- export type QueryPrimeBalanceArgs = {
6124
- walletAddress: Scalars['String']['input'];
6125
- };
6126
6164
  export type QueryPrimeHoldersArgs = {
6127
6165
  cursor?: InputMaybe<Scalars['String']['input']>;
6128
6166
  };
@@ -6645,6 +6683,8 @@ export type Subscription = {
6645
6683
  onEventLabelCreated?: Maybe<EventLabel>;
6646
6684
  /** Live-streamed transactions for a token. */
6647
6685
  onEventsCreated?: Maybe<AddEventsOutput>;
6686
+ /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
6687
+ onHoldersUpdated?: Maybe<HoldersUpdate>;
6648
6688
  /** Live-streamed updates for newly listed pairs. */
6649
6689
  onLatestPairUpdated?: Maybe<LatestPair>;
6650
6690
  onLatestTokens?: Maybe<LatestToken>;
@@ -6652,7 +6692,7 @@ export type Subscription = {
6652
6692
  onNftAssetsCreated?: Maybe<NftAsset>;
6653
6693
  /** Live-streamed transactions for an NFT collection. */
6654
6694
  onNftEventsCreated?: Maybe<AddNftEventsOutput>;
6655
- /** Live streamed nft pool events for a given pool address or collection address */
6695
+ /** Live streamed NFT pool events for a given pool address or collection address. */
6656
6696
  onNftPoolEventsCreated?: Maybe<AddNftPoolEventsOutput>;
6657
6697
  /** Live-streamed stat updates for a given token within a pair. */
6658
6698
  onPairMetadataUpdated?: Maybe<PairMetadata>;
@@ -6663,9 +6703,9 @@ export type Subscription = {
6663
6703
  onSimulateTokenContract: SimulateTokenContractResult;
6664
6704
  /** Live-streamed bar chart data to track price changes over time for a token. */
6665
6705
  onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
6666
- /** Live streamed events for a given token across all it's pools */
6706
+ /** Live-streamed events for a given token across all it's pools */
6667
6707
  onTokenEventsCreated: AddTokenEventsOutput;
6668
- /** Live-streamed token lifecycle events (mints and burns) */
6708
+ /** Live-streamed token lifecycle events (mints and burns). */
6669
6709
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
6670
6710
  /** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
6671
6711
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
@@ -6690,6 +6730,9 @@ export type SubscriptionOnEventsCreatedArgs = {
6690
6730
  id?: InputMaybe<Scalars['String']['input']>;
6691
6731
  quoteToken?: InputMaybe<QuoteToken>;
6692
6732
  };
6733
+ export type SubscriptionOnHoldersUpdatedArgs = {
6734
+ tokenId: Scalars['String']['input'];
6735
+ };
6693
6736
  export type SubscriptionOnLatestPairUpdatedArgs = {
6694
6737
  id?: InputMaybe<Scalars['String']['input']>;
6695
6738
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6947,6 +6990,10 @@ export type SymbolResponse = {
6947
6990
  /** The ID of the pair (`address:networkId`). */
6948
6991
  ticker: Scalars['String']['output'];
6949
6992
  };
6993
+ export declare enum SymbolType {
6994
+ Pool = "POOL",
6995
+ Token = "TOKEN"
6996
+ }
6950
6997
  /** Token burn event data. */
6951
6998
  export type TokenBurnEventData = {
6952
6999
  __typename?: 'TokenBurnEventData';
@@ -6976,6 +7023,8 @@ export type TokenFilterResult = {
6976
7023
  buyCount1?: Maybe<Scalars['Int']['output']>;
6977
7024
  /** The number of buys in the past 4 hours. */
6978
7025
  buyCount4?: Maybe<Scalars['Int']['output']>;
7026
+ /** The number of buys in the past 5 minutes. */
7027
+ buyCount5m?: Maybe<Scalars['Int']['output']>;
6979
7028
  /** The number of buys in the past 12 hours. */
6980
7029
  buyCount12?: Maybe<Scalars['Int']['output']>;
6981
7030
  /** The number of buys in the past 24 hours. */
@@ -6984,6 +7033,8 @@ export type TokenFilterResult = {
6984
7033
  change1?: Maybe<Scalars['String']['output']>;
6985
7034
  /** The percent price change in the past 4 hours. Decimal format. */
6986
7035
  change4?: Maybe<Scalars['String']['output']>;
7036
+ /** The percent price change in the past 5 minutes. Decimal format. */
7037
+ change5m?: Maybe<Scalars['String']['output']>;
6987
7038
  /** The percent price change in the past 12 hours. Decimal format. */
6988
7039
  change12?: Maybe<Scalars['String']['output']>;
6989
7040
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -6998,6 +7049,8 @@ export type TokenFilterResult = {
6998
7049
  high1?: Maybe<Scalars['String']['output']>;
6999
7050
  /** The highest price in USD in the past 4 hours. */
7000
7051
  high4?: Maybe<Scalars['String']['output']>;
7052
+ /** The highest price in USD in the past 5 minutes. */
7053
+ high5m?: Maybe<Scalars['String']['output']>;
7001
7054
  /** The highest price in USD in the past 12 hours. */
7002
7055
  high12?: Maybe<Scalars['String']['output']>;
7003
7056
  /** The highest price in USD in the past 24 hours. */
@@ -7014,6 +7067,8 @@ export type TokenFilterResult = {
7014
7067
  low1?: Maybe<Scalars['String']['output']>;
7015
7068
  /** The lowest price in USD in the past 4 hours. */
7016
7069
  low4?: Maybe<Scalars['String']['output']>;
7070
+ /** The lowest price in USD in the past 5 minutes. */
7071
+ low5m?: Maybe<Scalars['String']['output']>;
7017
7072
  /** The lowest price in USD in the past 12 hours. */
7018
7073
  low12?: Maybe<Scalars['String']['output']>;
7019
7074
  /** The lowest price in USD in the past 24 hours. */
@@ -7030,6 +7085,8 @@ export type TokenFilterResult = {
7030
7085
  sellCount1?: Maybe<Scalars['Int']['output']>;
7031
7086
  /** The number of sells in the past 4 hours. */
7032
7087
  sellCount4?: Maybe<Scalars['Int']['output']>;
7088
+ /** The number of sells in the past 5 minutes. */
7089
+ sellCount5m?: Maybe<Scalars['Int']['output']>;
7033
7090
  /** The number of sells in the past 12 hours. */
7034
7091
  sellCount12?: Maybe<Scalars['Int']['output']>;
7035
7092
  /** The number of sells in the past 24 hours. */
@@ -7040,6 +7097,8 @@ export type TokenFilterResult = {
7040
7097
  txnCount1?: Maybe<Scalars['Int']['output']>;
7041
7098
  /** The number of transactions in the past 4 hours. */
7042
7099
  txnCount4?: Maybe<Scalars['Int']['output']>;
7100
+ /** The number of transactions in the past 5 minutes. */
7101
+ txnCount5m?: Maybe<Scalars['Int']['output']>;
7043
7102
  /** The number of transactions in the past 12 hours. */
7044
7103
  txnCount12?: Maybe<Scalars['Int']['output']>;
7045
7104
  /** The number of transactions in the past 24 hours. */
@@ -7048,6 +7107,8 @@ export type TokenFilterResult = {
7048
7107
  uniqueBuys1?: Maybe<Scalars['Int']['output']>;
7049
7108
  /** The unique number of buys in the past 4 hours. */
7050
7109
  uniqueBuys4?: Maybe<Scalars['Int']['output']>;
7110
+ /** The unique number of buys in the past 5 minutes. */
7111
+ uniqueBuys5m?: Maybe<Scalars['Int']['output']>;
7051
7112
  /** The unique number of buys in the past 12 hours. */
7052
7113
  uniqueBuys12?: Maybe<Scalars['Int']['output']>;
7053
7114
  /** The unique number of buys in the past 24 hours. */
@@ -7056,6 +7117,8 @@ export type TokenFilterResult = {
7056
7117
  uniqueSells1?: Maybe<Scalars['Int']['output']>;
7057
7118
  /** The unique number of sells in the past 4 hours. */
7058
7119
  uniqueSells4?: Maybe<Scalars['Int']['output']>;
7120
+ /** The unique number of sells in the past 5 minutes. */
7121
+ uniqueSells5m?: Maybe<Scalars['Int']['output']>;
7059
7122
  /** The unique number of sells in the past 12 hours. */
7060
7123
  uniqueSells12?: Maybe<Scalars['Int']['output']>;
7061
7124
  /** The unique number of sells in the past 24 hours. */
@@ -7064,6 +7127,8 @@ export type TokenFilterResult = {
7064
7127
  uniqueTransactions1?: Maybe<Scalars['Int']['output']>;
7065
7128
  /** The unique number of transactions in the past 4 hours. */
7066
7129
  uniqueTransactions4?: Maybe<Scalars['Int']['output']>;
7130
+ /** The unique number of transactions in the past 5 minutes. */
7131
+ uniqueTransactions5m?: Maybe<Scalars['Int']['output']>;
7067
7132
  /** The unique number of transactions in the past 12 hours. */
7068
7133
  uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
7069
7134
  /** The unique number of transactions in the past 24 hours. */
@@ -7072,6 +7137,8 @@ export type TokenFilterResult = {
7072
7137
  volume1?: Maybe<Scalars['String']['output']>;
7073
7138
  /** The trade volume in USD in the past 4 hours. */
7074
7139
  volume4?: Maybe<Scalars['String']['output']>;
7140
+ /** The trade volume in USD in the past 5 minutes. */
7141
+ volume5m?: Maybe<Scalars['String']['output']>;
7075
7142
  /** The trade volume in USD in the past 12 hours. */
7076
7143
  volume12?: Maybe<Scalars['String']['output']>;
7077
7144
  /** The trade volume in USD in the past 24 hours. */
@@ -7080,6 +7147,8 @@ export type TokenFilterResult = {
7080
7147
  volumeChange1?: Maybe<Scalars['String']['output']>;
7081
7148
  /** The percent volume change in the past 4 hours. Decimal format. */
7082
7149
  volumeChange4?: Maybe<Scalars['String']['output']>;
7150
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7151
+ volumeChange5m?: Maybe<Scalars['String']['output']>;
7083
7152
  /** The percent volume change in the past 12 hours. Decimal format. */
7084
7153
  volumeChange12?: Maybe<Scalars['String']['output']>;
7085
7154
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7093,6 +7162,8 @@ export type TokenFilters = {
7093
7162
  buyCount1?: InputMaybe<NumberFilter>;
7094
7163
  /** The number of buys in the past 4 hours. */
7095
7164
  buyCount4?: InputMaybe<NumberFilter>;
7165
+ /** The number of buys in the past 5 minutes. */
7166
+ buyCount5m?: InputMaybe<NumberFilter>;
7096
7167
  /** The number of buys in the past 12 hours. */
7097
7168
  buyCount12?: InputMaybe<NumberFilter>;
7098
7169
  /** The number of buys in the past 24 hours. */
@@ -7101,6 +7172,8 @@ export type TokenFilters = {
7101
7172
  change1?: InputMaybe<NumberFilter>;
7102
7173
  /** The percent price change in the past 4 hours. Decimal format. */
7103
7174
  change4?: InputMaybe<NumberFilter>;
7175
+ /** The percent price change in the past 5 minutes. Decimal format. */
7176
+ change5m?: InputMaybe<NumberFilter>;
7104
7177
  /** The percent price change in the past 12 hours. Decimal format. */
7105
7178
  change12?: InputMaybe<NumberFilter>;
7106
7179
  /** The percent price change in the past 24 hours. Decimal format. */
@@ -7119,6 +7192,8 @@ export type TokenFilters = {
7119
7192
  high1?: InputMaybe<NumberFilter>;
7120
7193
  /** The highest price in USD in the past 4 hours. */
7121
7194
  high4?: InputMaybe<NumberFilter>;
7195
+ /** The highest price in USD in the past 5 minutes. */
7196
+ high5m?: InputMaybe<NumberFilter>;
7122
7197
  /** The highest price in USD in the past 12 hours. */
7123
7198
  high12?: InputMaybe<NumberFilter>;
7124
7199
  /** The highest price in USD in the past 24 hours. */
@@ -7137,6 +7212,8 @@ export type TokenFilters = {
7137
7212
  low1?: InputMaybe<NumberFilter>;
7138
7213
  /** The lowest price in USD in the past 4 hours. */
7139
7214
  low4?: InputMaybe<NumberFilter>;
7215
+ /** The lowest price in USD in the past 5 minutes. */
7216
+ low5m?: InputMaybe<NumberFilter>;
7140
7217
  /** The lowest price in USD in the past 12 hours. */
7141
7218
  low12?: InputMaybe<NumberFilter>;
7142
7219
  /** The lowest price in USD in the past 24 hours. */
@@ -7155,6 +7232,8 @@ export type TokenFilters = {
7155
7232
  sellCount1?: InputMaybe<NumberFilter>;
7156
7233
  /** The number of sells in the past 4 hours. */
7157
7234
  sellCount4?: InputMaybe<NumberFilter>;
7235
+ /** The number of sells in the past 5 minutes. */
7236
+ sellCount5m?: InputMaybe<NumberFilter>;
7158
7237
  /** The number of sells in the past 12 hours. */
7159
7238
  sellCount12?: InputMaybe<NumberFilter>;
7160
7239
  /** The number of sells in the past 24 hours. */
@@ -7165,6 +7244,8 @@ export type TokenFilters = {
7165
7244
  txnCount1?: InputMaybe<NumberFilter>;
7166
7245
  /** The number of transactions in the past 4 hours. */
7167
7246
  txnCount4?: InputMaybe<NumberFilter>;
7247
+ /** The number of transactions in the past 5 minutes. */
7248
+ txnCount5m?: InputMaybe<NumberFilter>;
7168
7249
  /** The number of transactions in the past 12 hours. */
7169
7250
  txnCount12?: InputMaybe<NumberFilter>;
7170
7251
  /** The number of transactions in the past 24 hours. */
@@ -7173,6 +7254,8 @@ export type TokenFilters = {
7173
7254
  uniqueBuys1?: InputMaybe<NumberFilter>;
7174
7255
  /** The unique number of buys in the past 4 hours. */
7175
7256
  uniqueBuys4?: InputMaybe<NumberFilter>;
7257
+ /** The unique number of buys in the past 5 minutes. */
7258
+ uniqueBuys5m?: InputMaybe<NumberFilter>;
7176
7259
  /** The unique number of buys in the past 12 hours. */
7177
7260
  uniqueBuys12?: InputMaybe<NumberFilter>;
7178
7261
  /** The unique number of buys in the past 24 hours. */
@@ -7181,6 +7264,8 @@ export type TokenFilters = {
7181
7264
  uniqueSells1?: InputMaybe<NumberFilter>;
7182
7265
  /** The unique number of sells in the past 4 hours. */
7183
7266
  uniqueSells4?: InputMaybe<NumberFilter>;
7267
+ /** The unique number of sells in the past 5 minutes. */
7268
+ uniqueSells5m?: InputMaybe<NumberFilter>;
7184
7269
  /** The unique number of sells in the past 12 hours. */
7185
7270
  uniqueSells12?: InputMaybe<NumberFilter>;
7186
7271
  /** The unique number of sells in the past 24 hours. */
@@ -7189,6 +7274,8 @@ export type TokenFilters = {
7189
7274
  uniqueTransactions1?: InputMaybe<NumberFilter>;
7190
7275
  /** The unique number of transactions in the past 4 hours. */
7191
7276
  uniqueTransactions4?: InputMaybe<NumberFilter>;
7277
+ /** The unique number of transactions in the past 5 minutes. */
7278
+ uniqueTransactions5m?: InputMaybe<NumberFilter>;
7192
7279
  /** The unique number of transactions in the past 12 hours. */
7193
7280
  uniqueTransactions12?: InputMaybe<NumberFilter>;
7194
7281
  /** The unique number of transactions in the past 24 hours. */
@@ -7197,6 +7284,8 @@ export type TokenFilters = {
7197
7284
  volume1?: InputMaybe<NumberFilter>;
7198
7285
  /** The trade volume in USD in the past 4 hours. */
7199
7286
  volume4?: InputMaybe<NumberFilter>;
7287
+ /** The trade volume in USD in the past 5 minutes. */
7288
+ volume5m?: InputMaybe<NumberFilter>;
7200
7289
  /** The trade volume in USD in the past 12 hours. */
7201
7290
  volume12?: InputMaybe<NumberFilter>;
7202
7291
  /** The trade volume in USD in the past 24 hours. */
@@ -7205,6 +7294,8 @@ export type TokenFilters = {
7205
7294
  volumeChange1?: InputMaybe<NumberFilter>;
7206
7295
  /** The percent volume change in the past 4 hours. Decimal format. */
7207
7296
  volumeChange4?: InputMaybe<NumberFilter>;
7297
+ /** The percent volume change in the past 5 minutes. Decimal format. */
7298
+ volumeChange5m?: InputMaybe<NumberFilter>;
7208
7299
  /** The percent volume change in the past 12 hours. Decimal format. */
7209
7300
  volumeChange12?: InputMaybe<NumberFilter>;
7210
7301
  /** The percent volume change in the past 24 hours. Decimal format. */
@@ -7277,10 +7368,12 @@ export type TokenLifecycleEvent = {
7277
7368
  /** The index of the transaction within the block. */
7278
7369
  transactionIndex: Scalars['Int']['output'];
7279
7370
  };
7280
- /** Response returned by `TokenLifecycleEvents`. */
7371
+ /** Response returned by `tokenLifecycleEvents`. */
7281
7372
  export type TokenLifecycleEventConnection = {
7282
7373
  __typename?: 'TokenLifecycleEventConnection';
7374
+ /** A cursor for use in pagination. */
7283
7375
  cursor?: Maybe<Scalars['String']['output']>;
7376
+ /** A list of transactions for a token's top pair. */
7284
7377
  items: Array<Maybe<TokenLifecycleEvent>>;
7285
7378
  };
7286
7379
  /** Event data for a token's lifecycle. */
@@ -7290,7 +7383,7 @@ export declare enum TokenLifecycleEventType {
7290
7383
  Burn = "BURN",
7291
7384
  Mint = "MINT"
7292
7385
  }
7293
- /** Input type of `TokenLifecycleEvents` query. */
7386
+ /** Input type of `tokenLifecycleEvents` query. */
7294
7387
  export type TokenLifecycleEventsQueryInput = {
7295
7388
  /** The token contract address to filter by. */
7296
7389
  address: Scalars['String']['input'];
@@ -7387,15 +7480,18 @@ export declare enum TokenRankingAttribute {
7387
7480
  Age = "age",
7388
7481
  BuyCount1 = "buyCount1",
7389
7482
  BuyCount4 = "buyCount4",
7483
+ BuyCount5m = "buyCount5m",
7390
7484
  BuyCount12 = "buyCount12",
7391
7485
  BuyCount24 = "buyCount24",
7392
7486
  Change1 = "change1",
7393
7487
  Change4 = "change4",
7488
+ Change5m = "change5m",
7394
7489
  Change12 = "change12",
7395
7490
  Change24 = "change24",
7396
7491
  CreatedAt = "createdAt",
7397
7492
  High1 = "high1",
7398
7493
  High4 = "high4",
7494
+ High5m = "high5m",
7399
7495
  High12 = "high12",
7400
7496
  High24 = "high24",
7401
7497
  Holders = "holders",
@@ -7403,6 +7499,7 @@ export declare enum TokenRankingAttribute {
7403
7499
  Liquidity = "liquidity",
7404
7500
  Low1 = "low1",
7405
7501
  Low4 = "low4",
7502
+ Low5m = "low5m",
7406
7503
  Low12 = "low12",
7407
7504
  Low24 = "low24",
7408
7505
  MarketCap = "marketCap",
@@ -7410,6 +7507,7 @@ export declare enum TokenRankingAttribute {
7410
7507
  PriceUsd = "priceUSD",
7411
7508
  SellCount1 = "sellCount1",
7412
7509
  SellCount4 = "sellCount4",
7510
+ SellCount5m = "sellCount5m",
7413
7511
  SellCount12 = "sellCount12",
7414
7512
  SellCount24 = "sellCount24",
7415
7513
  TrendingScore = "trendingScore",
@@ -7419,26 +7517,32 @@ export declare enum TokenRankingAttribute {
7419
7517
  TrendingScore24 = "trendingScore24",
7420
7518
  TxnCount1 = "txnCount1",
7421
7519
  TxnCount4 = "txnCount4",
7520
+ TxnCount5m = "txnCount5m",
7422
7521
  TxnCount12 = "txnCount12",
7423
7522
  TxnCount24 = "txnCount24",
7424
7523
  UniqueBuys1 = "uniqueBuys1",
7425
7524
  UniqueBuys4 = "uniqueBuys4",
7525
+ UniqueBuys5m = "uniqueBuys5m",
7426
7526
  UniqueBuys12 = "uniqueBuys12",
7427
7527
  UniqueBuys24 = "uniqueBuys24",
7428
7528
  UniqueSells1 = "uniqueSells1",
7429
7529
  UniqueSells4 = "uniqueSells4",
7530
+ UniqueSells5m = "uniqueSells5m",
7430
7531
  UniqueSells12 = "uniqueSells12",
7431
7532
  UniqueSells24 = "uniqueSells24",
7432
7533
  UniqueTransactions1 = "uniqueTransactions1",
7433
7534
  UniqueTransactions4 = "uniqueTransactions4",
7535
+ UniqueTransactions5m = "uniqueTransactions5m",
7434
7536
  UniqueTransactions12 = "uniqueTransactions12",
7435
7537
  UniqueTransactions24 = "uniqueTransactions24",
7436
7538
  Volume1 = "volume1",
7437
7539
  Volume4 = "volume4",
7540
+ Volume5m = "volume5m",
7438
7541
  Volume12 = "volume12",
7439
7542
  Volume24 = "volume24",
7440
7543
  VolumeChange1 = "volumeChange1",
7441
7544
  VolumeChange4 = "volumeChange4",
7545
+ VolumeChange5m = "volumeChange5m",
7442
7546
  VolumeChange12 = "volumeChange12",
7443
7547
  VolumeChange24 = "volumeChange24"
7444
7548
  }
@@ -7629,6 +7733,8 @@ export type UnconfirmedResolutionBarData = {
7629
7733
  };
7630
7734
  export type UnconfirmedSwapEventData = {
7631
7735
  __typename?: 'UnconfirmedSwapEventData';
7736
+ /** The amount of `baseToken` involved in the swap */
7737
+ amountBaseToken?: Maybe<Scalars['String']['output']>;
7632
7738
  /** 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. */
7633
7739
  amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
7634
7740
  /** 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. */
@@ -7642,22 +7748,10 @@ export type UnconfirmedSwapEventData = {
7642
7748
  /** The type of token event, `Swap`. */
7643
7749
  type: EventType;
7644
7750
  };
7645
- export type UniV3Tick = {
7646
- __typename?: 'UniV3Tick';
7647
- liquidityNet?: Maybe<Scalars['String']['output']>;
7648
- price0?: Maybe<Scalars['String']['output']>;
7649
- price1?: Maybe<Scalars['String']['output']>;
7650
- tick?: Maybe<Scalars['Int']['output']>;
7651
- };
7652
- /** Response returned by `getUniV3Ticks`. */
7653
- export type UniV3TickConnection = {
7654
- __typename?: 'UniV3TickConnection';
7655
- /** The number of ticks returned. */
7656
- count?: Maybe<Scalars['Int']['output']>;
7657
- /** Where in the list the server started when returning items. */
7658
- offset?: Maybe<Scalars['Int']['output']>;
7659
- /** The list of Uni V3 ticks matching the filter parameters. */
7660
- results?: Maybe<Array<Maybe<UniV3Tick>>>;
7751
+ export type WalletChartRange = {
7752
+ __typename?: 'WalletChartRange';
7753
+ end: Scalars['Int']['output'];
7754
+ start: Scalars['Int']['output'];
7661
7755
  };
7662
7756
  export type WalletNftCollection = {
7663
7757
  __typename?: 'WalletNftCollection';