@codex-data/sdk 1.0.9 → 1.0.11

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 (87) hide show
  1. package/dist/resources/graphql.d.ts +177 -681
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +67 -79
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +2 -2
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +2 -2
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +57 -52
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +56 -51
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +17 -18
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +126 -133
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +135 -104
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +44 -40
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1612 -1103
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +113 -121
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +45 -0
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +83 -5
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +232 -7
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/resources/generated_queries/Balances.graphql +15 -0
  33. package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
  34. package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
  35. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
  36. package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
  37. package/src/resources/generated_queries/FilterPairs.graphql +60 -0
  38. package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
  39. package/src/resources/generated_queries/FilterTokens.graphql +47 -0
  40. package/src/resources/generated_queries/FilterWallets.graphql +1 -0
  41. package/src/resources/generated_queries/GetBars.graphql +31 -0
  42. package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
  43. package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
  44. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
  45. package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
  46. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  47. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  48. package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
  49. package/src/resources/generated_queries/GetNftPool.graphql +2 -0
  50. package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
  51. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
  52. package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
  53. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
  54. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
  55. package/src/resources/generated_queries/Holders.graphql +15 -0
  56. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
  57. package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
  58. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
  59. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  60. package/src/resources/generated_queries/PairMetadata.graphql +30 -0
  61. package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
  62. package/src/resources/generated_queries/SearchTokens.graphql +67 -0
  63. package/src/resources/generated_queries/Token.graphql +15 -0
  64. package/src/resources/generated_queries/Tokens.graphql +15 -0
  65. package/src/resources/generated_queries/WalletChart.graphql +1 -0
  66. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
  67. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
  68. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
  69. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
  70. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  71. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
  72. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
  73. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
  74. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
  75. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
  76. package/src/resources/graphql.schema.json +457 -5137
  77. package/src/resources/graphql.ts +183 -743
  78. package/src/resources/schema.graphql +6752 -11058
  79. package/src/sdk/Mutation.ts +4 -4
  80. package/src/sdk/Query.ts +128 -109
  81. package/src/sdk/Subscribe.ts +208 -223
  82. package/src/sdk/generated/gql.ts +106 -86
  83. package/src/sdk/generated/graphql.ts +320 -842
  84. package/src/sdk/index.test.ts +361 -10
  85. package/src/sdk/index.ts +89 -6
  86. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  87. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
@@ -116,10 +116,7 @@ export type AddTokenLifecycleEventsOutput = {
116
116
  events: Array<TokenLifecycleEvent>;
117
117
  id: Scalars['String']['output'];
118
118
  };
119
- export type AddTrackedWalletEventsOutput = {
120
- __typename?: 'AddTrackedWalletEventsOutput';
121
- userId: Scalars['String']['output'];
122
- };
119
+ /** Response returned by `onUnconfirmedEventsCreatedByMaker`. */
123
120
  export type AddUnconfirmedEventsByMakerOutput = {
124
121
  __typename?: 'AddUnconfirmedEventsByMakerOutput';
125
122
  /** A list of transactions for the maker. */
@@ -141,15 +138,6 @@ export type AddUnconfirmedEventsOutput = {
141
138
  /** The token of interest within the pair. Can be `token0` or `token1`. */
142
139
  quoteToken?: Maybe<QuoteToken>;
143
140
  };
144
- export type AddUserAchievementInput = {
145
- quantity: Scalars['Int']['input'];
146
- userId: Scalars['String']['input'];
147
- };
148
- export declare enum AddressType {
149
- Evm = "EVM",
150
- Sol = "SOL",
151
- Tron = "TRON"
152
- }
153
141
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
154
142
  export declare enum AlertRecurrence {
155
143
  Indefinite = "INDEFINITE",
@@ -168,25 +156,6 @@ export type ApiToken = {
168
156
  /** JWT to be passed into the Authorization header for API requests */
169
157
  token: Scalars['String']['output'];
170
158
  };
171
- export type AptosNetworkConfig = {
172
- __typename?: 'AptosNetworkConfig';
173
- baseTokenAddress: Scalars['String']['output'];
174
- baseTokenSymbol: Scalars['String']['output'];
175
- color?: Maybe<Scalars['String']['output']>;
176
- defaultPairAddress: Scalars['String']['output'];
177
- defaultPairQuoteToken: QuoteToken;
178
- enabled: Scalars['Boolean']['output'];
179
- id: Scalars['ID']['output'];
180
- mainnet: Scalars['Boolean']['output'];
181
- name: Scalars['String']['output'];
182
- networkIconUrl: Scalars['String']['output'];
183
- networkId: Scalars['Int']['output'];
184
- networkName: Scalars['String']['output'];
185
- networkShortName: Scalars['String']['output'];
186
- newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
187
- stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
188
- wrappedBaseTokenSymbol: Scalars['String']['output'];
189
- };
190
159
  /** Wallet balance of a token. */
191
160
  export type Balance = {
192
161
  __typename?: 'Balance';
@@ -216,12 +185,9 @@ export type Balance = {
216
185
  export type BalancesInput = {
217
186
  /** A cursor for use in pagination. */
218
187
  cursor?: InputMaybe<Scalars['String']['input']>;
219
- /**
220
- * Optional token specifically request the balance for. Only works with `walletId`.
221
- * @deprecated Use tokens list instead
222
- */
188
+ /** Optional token specifically request the balance for. Only works with `walletId`. */
223
189
  filterToken?: InputMaybe<Scalars['String']['input']>;
224
- /** Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of `networks`. Does not apply when using `tokens`. */
190
+ /** Whether to include native network balances in the response (ID will be native:&lt;networkId&gt;). Requires a list of `networks`. Does not apply when using `tokens`. */
225
191
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
226
192
  /** The maximum number of holdings to return. Does not apply when using `tokens`. */
227
193
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -233,10 +199,7 @@ export type BalancesInput = {
233
199
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
234
200
  /** The wallet address to filter by. */
235
201
  walletAddress?: InputMaybe<Scalars['String']['input']>;
236
- /**
237
- * The ID of the wallet (`walletAddress:networkId`).
238
- * @deprecated Use walletAddress and networkId instead
239
- */
202
+ /** The ID of the wallet (`walletAddress:networkId`). */
240
203
  walletId?: InputMaybe<Scalars['String']['input']>;
241
204
  };
242
205
  export type BalancesResponse = {
@@ -281,10 +244,7 @@ export type BarsResponse = {
281
244
  traders: Array<Maybe<Scalars['Int']['output']>>;
282
245
  /** The number of transactions */
283
246
  transactions: Array<Maybe<Scalars['Int']['output']>>;
284
- /**
285
- * The volume.
286
- * @deprecated Use volume field instead
287
- */
247
+ /** The volume. */
288
248
  v: Array<Maybe<Scalars['Int']['output']>>;
289
249
  /** The volume with higher precision. */
290
250
  volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
@@ -373,6 +333,8 @@ export type CommunityNote = {
373
333
  /** The unix timestamp of when the community note was created. */
374
334
  proposedAt: Scalars['Int']['output'];
375
335
  sortKey: Scalars['String']['output'];
336
+ /** The status of the community note. */
337
+ status: ContractProposalStatus;
376
338
  };
377
339
  /** Type of the community gathered note. */
378
340
  export declare enum CommunityNoteType {
@@ -402,7 +364,7 @@ export type CommunityNotesInput = {
402
364
  /** The maximum number of community notes to return. */
403
365
  limit?: InputMaybe<Scalars['Int']['input']>;
404
366
  };
405
- /** Community notes data */
367
+ /** Community notes data. */
406
368
  export type CommunityNotesResponse = {
407
369
  __typename?: 'CommunityNotesResponse';
408
370
  /** The number of community notes returned. */
@@ -461,13 +423,17 @@ export declare enum ContractLabelType {
461
423
  Scam = "Scam",
462
424
  Verified = "Verified"
463
425
  }
426
+ export declare enum ContractProposalStatus {
427
+ Accepted = "ACCEPTED",
428
+ Pending = "PENDING",
429
+ Rejected = "REJECTED",
430
+ Reverted = "REVERTED"
431
+ }
432
+ /** Type of the contract. */
464
433
  export declare enum ContractType {
465
434
  Nft = "NFT",
466
435
  Token = "TOKEN"
467
436
  }
468
- export declare enum CostBasisMethod {
469
- Fifo = "FIFO"
470
- }
471
437
  export type CreateApiTokensInput = {
472
438
  /** Number of tokens to create, default is 1 */
473
439
  count?: InputMaybe<Scalars['Int']['input']>;
@@ -653,11 +619,6 @@ export type CreateWebhooksOutput = {
653
619
  /** The list of token pair event webhooks that were created. */
654
620
  tokenPairEventWebhooks: Array<Maybe<Webhook>>;
655
621
  };
656
- export declare enum CreationContext {
657
- Mobile = "MOBILE",
658
- Telegram = "TELEGRAM",
659
- Web = "WEB"
660
- }
661
622
  /** Price data for a bar at a specific resolution. */
662
623
  export type CurrencyBarData = {
663
624
  __typename?: 'CurrencyBarData';
@@ -895,10 +856,7 @@ export type DetailedWalletStats = {
895
856
  lastTransactionAt: Scalars['Int']['output'];
896
857
  /** The network breakdown */
897
858
  networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
898
- /**
899
- * The network specific stats
900
- * @deprecated Use networkBreakdown instead
901
- */
859
+ /** The network specific stats */
902
860
  networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
903
861
  /** The likelihood of the wallet being a scammer */
904
862
  scammerScore?: Maybe<Scalars['Int']['output']>;
@@ -957,10 +915,7 @@ export type EnhancedToken = {
957
915
  __typename?: 'EnhancedToken';
958
916
  /** The contract address of the token. */
959
917
  address: Scalars['String']['output'];
960
- /**
961
- * The circulating supply of the token.
962
- * @deprecated Use the TokenInfo type
963
- */
918
+ /** The circulating supply of the token. */
964
919
  circulatingSupply?: Maybe<Scalars['String']['output']>;
965
920
  /** The token ID on CoinMarketCap. */
966
921
  cmcId?: Maybe<Scalars['Int']['output']>;
@@ -976,29 +931,17 @@ export type EnhancedToken = {
976
931
  decimals: Scalars['Int']['output'];
977
932
  /** A list of exchanges where the token has been traded. */
978
933
  exchanges?: Maybe<Array<Exchange>>;
979
- /**
980
- * Information about the token from 3rd party sources.
981
- * @deprecated Use the TokenInfo type
982
- */
934
+ /** Information about the token from 3rd party sources. */
983
935
  explorerData?: Maybe<ExplorerTokenData>;
984
936
  /** Whether or not the token is freezable */
985
937
  freezable?: Maybe<Scalars['String']['output']>;
986
938
  /** The ID of the token (`address:networkId`). */
987
939
  id: Scalars['String']['output'];
988
- /**
989
- * The large token logo URL.
990
- * @deprecated Use the TokenInfo type
991
- */
940
+ /** The large token logo URL. */
992
941
  imageLargeUrl?: Maybe<Scalars['String']['output']>;
993
- /**
994
- * The small token logo URL.
995
- * @deprecated Use the TokenInfo type
996
- */
942
+ /** The small token logo URL. */
997
943
  imageSmallUrl?: Maybe<Scalars['String']['output']>;
998
- /**
999
- * The thumbnail token logo URL.
1000
- * @deprecated Use the TokenInfo type
1001
- */
944
+ /** The thumbnail token logo URL. */
1002
945
  imageThumbUrl?: Maybe<Scalars['String']['output']>;
1003
946
  /** More metadata about the token. */
1004
947
  info?: Maybe<TokenInfo>;
@@ -1012,27 +955,15 @@ export type EnhancedToken = {
1012
955
  name?: Maybe<Scalars['String']['output']>;
1013
956
  /** The network ID the token is deployed on. */
1014
957
  networkId: Scalars['Int']['output'];
1015
- /**
1016
- * The amount of this token in the pair.
1017
- * @deprecated Pooled can be found on the pair instead
1018
- */
958
+ /** The amount of this token in the pair. */
1019
959
  pooled?: Maybe<Scalars['String']['output']>;
1020
960
  /** Community gathered links for the socials of this token. */
1021
961
  socialLinks?: Maybe<SocialLinks>;
1022
962
  /** The token symbol. For example, `APE`. */
1023
963
  symbol?: Maybe<Scalars['String']['output']>;
1024
- /**
1025
- * The total supply of the token.
1026
- * @deprecated Use the TokenInfo type
1027
- */
964
+ /** The total supply of the token. */
1028
965
  totalSupply?: Maybe<Scalars['String']['output']>;
1029
966
  };
1030
- export declare enum Entitlement {
1031
- BalanceFeed = "BalanceFeed",
1032
- PriceFeed = "PriceFeed",
1033
- TopTraders = "TopTraders",
1034
- WalletStats = "WalletStats"
1035
- }
1036
967
  /** A token transaction. */
1037
968
  export type Event = {
1038
969
  __typename?: 'Event';
@@ -1331,11 +1262,6 @@ export type ExplorerTokenData = {
1331
1262
  /** The token type. */
1332
1263
  tokenType?: Maybe<Scalars['String']['output']>;
1333
1264
  };
1334
- export type Feature = {
1335
- __typename?: 'Feature';
1336
- enabled: Scalars['Boolean']['output'];
1337
- name: Scalars['String']['output'];
1338
- };
1339
1265
  /** Filter for fillsource based NFT stats. */
1340
1266
  export type FillsourceStatsFilter = {
1341
1267
  /** The percent change between the `current` and `previous`. */
@@ -1367,11 +1293,11 @@ export type FilterExchange = {
1367
1293
  };
1368
1294
  /** The input for filtering wallets for a network. */
1369
1295
  export type FilterNetworkWalletsInput = {
1370
- /** Exclude wallets with these labels. */
1296
+ /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1371
1297
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1372
1298
  /** A set of filters to apply. */
1373
1299
  filters?: InputMaybe<WalletNetworkFilters>;
1374
- /** Include wallets with these labels. */
1300
+ /** Include wallets with these labels. See `WalletLabel` for possible values. */
1375
1301
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1376
1302
  /** The maximum number of wallets to return. */
1377
1303
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1386,16 +1312,13 @@ export type FilterNetworkWalletsInput = {
1386
1312
  };
1387
1313
  /** The input for filtering wallets for a token. */
1388
1314
  export type FilterTokenWalletsInput = {
1389
- /** Exclude wallets with these labels. */
1315
+ /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1390
1316
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1391
- /**
1392
- * A set of filters to apply
1393
- * @deprecated Use filtersV2 instead
1394
- */
1317
+ /** A set of filters to apply */
1395
1318
  filters?: InputMaybe<WalletTokenFilters>;
1396
1319
  /** A set of filters to apply */
1397
1320
  filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1398
- /** Include wallets with these labels. */
1321
+ /** Include wallets with these labels. See `WalletLabel` for possible values. */
1399
1322
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1400
1323
  /** The maximum number of wallets to return */
1401
1324
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1409,21 +1332,18 @@ export type FilterTokenWalletsInput = {
1409
1332
  rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1410
1333
  /** The ID of the token to filter wallets for */
1411
1334
  tokenId?: InputMaybe<Scalars['String']['input']>;
1412
- /**
1413
- * The wallet address to filter wallets for
1414
- * @deprecated Use wallets instead
1415
- */
1335
+ /** The wallet address to filter wallets for */
1416
1336
  walletAddress?: InputMaybe<Scalars['String']['input']>;
1417
1337
  /** A list of wallet addresses to filter wallets for */
1418
1338
  wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1419
1339
  };
1420
1340
  /** The input for filtering wallets. */
1421
1341
  export type FilterWalletsInput = {
1422
- /** Exclude wallets with these labels. */
1342
+ /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1423
1343
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1424
1344
  /** A set of filters to apply. */
1425
1345
  filters?: InputMaybe<WalletFilters>;
1426
- /** Include wallets with these labels. */
1346
+ /** Include wallets with these labels. See `WalletLabel` for possible values. */
1427
1347
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1428
1348
  /** The maximum number of wallets to return. */
1429
1349
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1444,33 +1364,9 @@ export type FrontRunLabelData = {
1444
1364
  /** The amount of `token1` drained in the attack. */
1445
1365
  token1DrainedAmount: Scalars['String']['output'];
1446
1366
  };
1447
- export type GasEstimate = {
1448
- __typename?: 'GasEstimate';
1449
- error?: Maybe<Scalars['String']['output']>;
1450
- errorReason?: Maybe<Scalars['String']['output']>;
1451
- gasLimitEstimate?: Maybe<Scalars['String']['output']>;
1452
- gasPrice?: Maybe<Scalars['String']['output']>;
1453
- totalFee?: Maybe<Scalars['String']['output']>;
1454
- };
1455
- export type GasFee = {
1456
- __typename?: 'GasFee';
1457
- confirmationTime: Scalars['Float']['output'];
1458
- gasPrice: Scalars['String']['output'];
1459
- };
1460
- export type GasFees = {
1461
- __typename?: 'GasFees';
1462
- high?: Maybe<GasFee>;
1463
- low?: Maybe<GasFee>;
1464
- medium?: Maybe<GasFee>;
1465
- };
1466
- export declare enum GasPrice {
1467
- High = "HIGH",
1468
- Low = "LOW",
1469
- Medium = "MEDIUM"
1470
- }
1471
1367
  /** Input type of `getDetailedPairsStats`. */
1472
1368
  export type GetDetailedPairsStatsInput = {
1473
- /** The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes.<br> The first n-1 buckets are historical. The last bucket is a snapshot of current data.<br> duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket<br> duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket<br> duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket<br> duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket<br> duration `min5`: 5 buckets (1 min each) plus 1 partial bucket<br> For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute. */
1369
+ /** The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute. */
1474
1370
  bucketCount?: InputMaybe<Scalars['Int']['input']>;
1475
1371
  /** The list of durations to get detailed pair stats for. */
1476
1372
  durations?: InputMaybe<Array<InputMaybe<DetailedPairStatsDuration>>>;
@@ -1485,20 +1381,6 @@ export type GetDetailedPairsStatsInput = {
1485
1381
  /** The token of interest used to calculate token-specific stats for the pair. Can be `token0` or `token1`. */
1486
1382
  tokenOfInterest?: InputMaybe<TokenOfInterest>;
1487
1383
  };
1488
- export type GetGasEstimateInput = {
1489
- customGas?: InputMaybe<Scalars['String']['input']>;
1490
- exchangeAddress: Scalars['String']['input'];
1491
- gasPrice?: InputMaybe<GasPrice>;
1492
- inputTokenAddress: Scalars['String']['input'];
1493
- inputTokenAmount: Scalars['String']['input'];
1494
- networkId: Scalars['Int']['input'];
1495
- outputTokenAddress: Scalars['String']['input'];
1496
- poolAddress: Scalars['String']['input'];
1497
- sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1498
- slippage?: InputMaybe<Scalars['Float']['input']>;
1499
- userId?: InputMaybe<Scalars['Int']['input']>;
1500
- walletId?: InputMaybe<Scalars['Int']['input']>;
1501
- };
1502
1384
  /** Response returned by `getNetworkStats`. */
1503
1385
  export type GetNetworkStatsResponse = {
1504
1386
  __typename?: 'GetNetworkStatsResponse';
@@ -1555,10 +1437,7 @@ export type GetNftPoolsResponse = {
1555
1437
  export type GetPriceInput = {
1556
1438
  /** The contract address of the token. */
1557
1439
  address: Scalars['String']['input'];
1558
- /**
1559
- * The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`.
1560
- * @deprecated This isn't taken into account anymore.
1561
- */
1440
+ /** The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`. */
1562
1441
  maxDeviations?: InputMaybe<Scalars['Float']['input']>;
1563
1442
  /** The network ID the token is deployed on. */
1564
1443
  networkId: Scalars['Int']['input'];
@@ -1567,22 +1446,6 @@ export type GetPriceInput = {
1567
1446
  /** The unix timestamp for the price. */
1568
1447
  timestamp?: InputMaybe<Scalars['Int']['input']>;
1569
1448
  };
1570
- export type GetQuoteInput = {
1571
- customGas?: InputMaybe<Scalars['String']['input']>;
1572
- exchangeAddress: Scalars['String']['input'];
1573
- inputTokenAddress: Scalars['String']['input'];
1574
- inputTokenAmount: Scalars['String']['input'];
1575
- networkId: Scalars['Int']['input'];
1576
- outputTokenAddress: Scalars['String']['input'];
1577
- poolAddress: Scalars['String']['input'];
1578
- slippage?: InputMaybe<Scalars['Float']['input']>;
1579
- userId?: InputMaybe<Scalars['Int']['input']>;
1580
- };
1581
- export type GetSimulateTokenContractResultsConnection = {
1582
- __typename?: 'GetSimulateTokenContractResultsConnection';
1583
- cursor?: Maybe<Scalars['String']['output']>;
1584
- results: Array<SimulateTokenContractResult>;
1585
- };
1586
1449
  /** Input type of `getTokensInfo`. */
1587
1450
  export type GetTokensInfoInput = {
1588
1451
  /** The contract address of the token. */
@@ -1653,14 +1516,6 @@ export type HoldersUpdate = {
1653
1516
  /** The ID of the token (`tokenAddress:networkId`). */
1654
1517
  tokenId: Scalars['String']['output'];
1655
1518
  };
1656
- export type IndexerStateInput = {
1657
- /** The network ID to check the state of. */
1658
- networkId: Scalars['Int']['input'];
1659
- };
1660
- export declare enum IndexerStatus {
1661
- Behind = "Behind",
1662
- Normal = "Normal"
1663
- }
1664
1519
  /** Bar chart data. */
1665
1520
  export type IndividualBarData = {
1666
1521
  __typename?: 'IndividualBarData';
@@ -1826,6 +1681,7 @@ export type LatestTokenConnection = {
1826
1681
  /** A list of newly created tokens. */
1827
1682
  items: Array<LatestToken>;
1828
1683
  };
1684
+ /** Metadata for a newly created token. */
1829
1685
  export type LatestTokenSimResults = {
1830
1686
  __typename?: 'LatestTokenSimResults';
1831
1687
  /** Gas used for a buy transaction during simulation. */
@@ -1875,10 +1731,7 @@ export type LaunchpadData = {
1875
1731
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1876
1732
  /** The slot number when the launchpad was migrated. */
1877
1733
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1878
- /**
1879
- * The name of the launchpad.
1880
- * @deprecated Use launchpadName instead
1881
- */
1734
+ /** The name of the launchpad. */
1882
1735
  name?: Maybe<Scalars['String']['output']>;
1883
1736
  /** The address of the pool. */
1884
1737
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1921,19 +1774,35 @@ export declare enum LaunchpadTokenEventType {
1921
1774
  Deployed = "Deployed",
1922
1775
  /** The token has been migrated */
1923
1776
  Migrated = "Migrated",
1777
+ /** The token has been discovered (not finalized) */
1778
+ UnconfirmedDeployed = "UnconfirmedDeployed",
1924
1779
  /** The token's statistics have been updated */
1925
1780
  Updated = "Updated"
1926
1781
  }
1927
1782
  /** The protocol of the token. */
1928
1783
  export declare enum LaunchpadTokenProtocol {
1784
+ /** Protocol name for ArenaTrade. */
1785
+ ArenaTrade = "ArenaTrade",
1786
+ /** Protocol name for boop.fun. */
1929
1787
  BoopFun = "BoopFun",
1788
+ /** Protocol name for EgoTech. */
1930
1789
  EgoTech = "EgoTech",
1790
+ /** Protocol name for Four.meme. */
1931
1791
  FourMeme = "FourMeme",
1792
+ /** Protocol name for MeteoraDBC. */
1793
+ MeteoraDbc = "MeteoraDBC",
1794
+ /** Protocol name for Moonit (formerly Moonshot). */
1795
+ Moonit = "Moonit",
1796
+ /** Protocol name for Pump.fun. */
1932
1797
  Pump = "Pump",
1798
+ /** Protocol name for Rainbow. */
1933
1799
  Rainbow = "Rainbow",
1800
+ /** Protocol name for LaunchLab and Bonk. */
1934
1801
  RaydiumLaunchpad = "RaydiumLaunchpad",
1802
+ /** Protocol name for Vertigo. */
1935
1803
  Vertigo = "Vertigo"
1936
1804
  }
1805
+ /** Data about liquidity in a pair. */
1937
1806
  export type LiquidityData = {
1938
1807
  __typename?: 'LiquidityData';
1939
1808
  /** The active liquidity in the pair. */
@@ -1941,7 +1810,7 @@ export type LiquidityData = {
1941
1810
  /** The inactive liquidity in the pair. */
1942
1811
  inactive: Scalars['String']['output'];
1943
1812
  };
1944
- /** A record of locked liquidity */
1813
+ /** A record of locked liquidity. */
1945
1814
  export type LiquidityLock = {
1946
1815
  __typename?: 'LiquidityLock';
1947
1816
  /** The unix timestamp for when the lock was created. */
@@ -1954,10 +1823,7 @@ export type LiquidityLock = {
1954
1823
  liquidityAmount: Scalars['String']['output'];
1955
1824
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1956
1825
  liquidityNftData?: Maybe<LiquidityNftData>;
1957
- /**
1958
- * The protocol that created the pair
1959
- * @deprecated Use liquidityProtocolV2 instead
1960
- */
1826
+ /** The protocol that created the pair */
1961
1827
  liquidityProtocol: LiquidityProtocol;
1962
1828
  /** The protocol that created the pair */
1963
1829
  liquidityProtocolV2: Scalars['String']['output'];
@@ -1986,6 +1852,7 @@ export type LiquidityLockBreakdownForToken = {
1986
1852
  /** The protocol with which the liquidity is locked. */
1987
1853
  lockProtocol: LiquidityLockProtocol;
1988
1854
  };
1855
+ /** Response returned by `liquidityLocks`. */
1989
1856
  export type LiquidityLockConnection = {
1990
1857
  __typename?: 'LiquidityLockConnection';
1991
1858
  /** A cursor for use in pagination. */
@@ -1993,7 +1860,7 @@ export type LiquidityLockConnection = {
1993
1860
  /** A list of liquidity locks. */
1994
1861
  items: Array<LiquidityLock>;
1995
1862
  };
1996
- /** Protocols that can lock liquidity */
1863
+ /** Protocols that can lock liquidity. */
1997
1864
  export declare enum LiquidityLockProtocol {
1998
1865
  BasecampV1 = "BASECAMP_V1",
1999
1866
  Bitbond = "BITBOND",
@@ -2033,7 +1900,7 @@ export type LiquidityMetadataByToken = {
2033
1900
  /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2034
1901
  totalTokenLiquidityShifted: Scalars['String']['output'];
2035
1902
  };
2036
- /** Liquidity NFT position data */
1903
+ /** Liquidity NFT position data. */
2037
1904
  export type LiquidityNftData = {
2038
1905
  __typename?: 'LiquidityNftData';
2039
1906
  /** The address of the nft position manager contract. */
@@ -2041,7 +1908,7 @@ export type LiquidityNftData = {
2041
1908
  /** The tokenId of the liquidity position nft. */
2042
1909
  nftTokenId: Scalars['String']['output'];
2043
1910
  };
2044
- /** Protocols that create trading pairs */
1911
+ /** Protocols that create trading pairs. */
2045
1912
  export declare enum LiquidityProtocol {
2046
1913
  PumpV1 = "PUMP_V1",
2047
1914
  RaydiumV4 = "RAYDIUM_V4",
@@ -2110,11 +1977,6 @@ export type MakerEventsQueryInput = {
2110
1977
  networkId?: InputMaybe<Scalars['Int']['input']>;
2111
1978
  /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
2112
1979
  priceUsdTotal?: InputMaybe<NumberFilter>;
2113
- /**
2114
- * docs: hide
2115
- * @deprecated Not used
2116
- */
2117
- quoteToken?: InputMaybe<QuoteToken>;
2118
1980
  /** The time range to filter by. */
2119
1981
  timestamp?: InputMaybe<EventQueryTimestampInput>;
2120
1982
  /** The token involved in the event. */
@@ -2159,16 +2021,6 @@ export type MetadataResponse = {
2159
2021
  /** The name of the network. */
2160
2022
  networkName: Scalars['String']['output'];
2161
2023
  };
2162
- export type MigrateTrackedWalletsInput = {
2163
- fromUserId: Scalars['String']['input'];
2164
- toUserId: Scalars['String']['input'];
2165
- };
2166
- export type MigrateTrackedWalletsOutput = {
2167
- __typename?: 'MigrateTrackedWalletsOutput';
2168
- fromUserId: Scalars['String']['output'];
2169
- status: Scalars['String']['output'];
2170
- toUserId: Scalars['String']['output'];
2171
- };
2172
2024
  /** Event data for a token mint event. */
2173
2025
  export type MintEventData = {
2174
2026
  __typename?: 'MintEventData';
@@ -2235,6 +2087,7 @@ export type NetworkBreakdown = {
2235
2087
  /** The stats for the last year */
2236
2088
  statsYear1?: Maybe<WindowedWalletStats>;
2237
2089
  };
2090
+ /** A connection of wallets matching a filter on a specific network. */
2238
2091
  export type NetworkWalletFilterConnection = {
2239
2092
  __typename?: 'NetworkWalletFilterConnection';
2240
2093
  /** The number of wallets returned. */
@@ -2244,6 +2097,7 @@ export type NetworkWalletFilterConnection = {
2244
2097
  /** The list of wallets matching the filter parameters. */
2245
2098
  results: Array<NetworkWalletFilterResult>;
2246
2099
  };
2100
+ /** A wallet matching a filter on a specific network. */
2247
2101
  export type NetworkWalletFilterResult = {
2248
2102
  __typename?: 'NetworkWalletFilterResult';
2249
2103
  /** The wallet address */
@@ -2264,6 +2118,8 @@ export type NetworkWalletFilterResult = {
2264
2118
  averageSwapAmountUsd1y: Scalars['String']['output'];
2265
2119
  /** Average swap amount in USD in the past 30 days */
2266
2120
  averageSwapAmountUsd30d: Scalars['String']['output'];
2121
+ /** The backfill state of the wallet. */
2122
+ backfillState?: Maybe<WalletAggregateBackfillState>;
2267
2123
  /** The bot score for the wallet. */
2268
2124
  botScore?: Maybe<Scalars['Int']['output']>;
2269
2125
  /** The unix timestamp for the first transaction from this wallet */
@@ -2506,6 +2362,7 @@ export declare enum NftAssetAttributeType {
2506
2362
  Number = "Number",
2507
2363
  String = "String"
2508
2364
  }
2365
+ /** An NFT asset error. */
2509
2366
  export type NftAssetError = {
2510
2367
  __typename?: 'NftAssetError';
2511
2368
  /** The contract address of the NFT collection. */
@@ -2521,6 +2378,7 @@ export type NftAssetError = {
2521
2378
  /** The token ID of the NFT asset. */
2522
2379
  tokenId: Scalars['String']['output'];
2523
2380
  };
2381
+ /** The status of an NFT asset error. */
2524
2382
  export declare enum NftAssetErrorStatus {
2525
2383
  IndexingInProgress = "INDEXING_IN_PROGRESS",
2526
2384
  NotFound = "NOT_FOUND"
@@ -3364,9 +3222,7 @@ export type NftEvent = {
3364
3222
  __typename?: 'NftEvent';
3365
3223
  /** The contract address of the marketplace aggregator that routed the transaction. */
3366
3224
  aggregatorAddress?: Maybe<Scalars['String']['output']>;
3367
- /** @deprecated Field no longer supported */
3368
3225
  baseTokenAddress: Scalars['String']['output'];
3369
- /** @deprecated Field no longer supported */
3370
3226
  baseTokenPrice?: Maybe<Scalars['String']['output']>;
3371
3227
  /** The block number for the transaction. */
3372
3228
  blockNumber: Scalars['Int']['output'];
@@ -3380,17 +3236,13 @@ export type NftEvent = {
3380
3236
  fillSource?: Maybe<Scalars['String']['output']>;
3381
3237
  /** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
3382
3238
  id: Scalars['String']['output'];
3383
- /** @deprecated Field no longer supported */
3384
3239
  individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3385
- /** @deprecated Field no longer supported */
3386
3240
  individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3387
- /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
3388
3241
  individualPrice?: Maybe<Scalars['String']['output']>;
3389
3242
  /** The price of each individual NFT in the network's base token. */
3390
3243
  individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
3391
3244
  /** The price of each individual NFT in USD. */
3392
3245
  individualPriceUsd?: Maybe<Scalars['String']['output']>;
3393
- /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
3394
3246
  individualTokenPrice?: Maybe<Scalars['String']['output']>;
3395
3247
  /** The price of each individual NFT in the purchasing token. */
3396
3248
  individualTradePrice?: Maybe<Scalars['String']['output']>;
@@ -3398,7 +3250,6 @@ export type NftEvent = {
3398
3250
  logIndex: Scalars['Int']['output'];
3399
3251
  /** The wallet address of the buyer. */
3400
3252
  maker: Scalars['String']['output'];
3401
- /** @deprecated Field no longer supported */
3402
3253
  networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3403
3254
  /** The network ID the NFT collection is deployed on. */
3404
3255
  networkId: Scalars['Int']['output'];
@@ -3420,9 +3271,7 @@ export type NftEvent = {
3420
3271
  timestamp: Scalars['Int']['output'];
3421
3272
  /** The token ID of the NFT asset involved in the transaction. */
3422
3273
  tokenId: Scalars['String']['output'];
3423
- /** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
3424
3274
  tokenPrice: Scalars['String']['output'];
3425
- /** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
3426
3275
  totalPrice: Scalars['String']['output'];
3427
3276
  /** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
3428
3277
  totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
@@ -3451,7 +3300,7 @@ export type NftEventFillSourceConditionInput = {
3451
3300
  oneOf: Array<WebhookNftEventFillSource>;
3452
3301
  };
3453
3302
  /** Details for an NFT offered or received as part of an nft trade. */
3454
- export type NftEventNftTradeItem = NftEventTradeItemBase & {
3303
+ export type NftEventNftTradeItem = {
3455
3304
  __typename?: 'NftEventNftTradeItem';
3456
3305
  /** The contract address for the NFT. */
3457
3306
  address: Scalars['String']['output'];
@@ -3471,7 +3320,7 @@ export declare enum NftEventOrderDirection {
3471
3320
  Sell = "SELL"
3472
3321
  }
3473
3322
  /** Details for a token(s) offered or received as part of an nft trade. */
3474
- export type NftEventTokenTradeItem = NftEventTradeItemBase & {
3323
+ export type NftEventTokenTradeItem = {
3475
3324
  __typename?: 'NftEventTokenTradeItem';
3476
3325
  /** The contract address for the token. */
3477
3326
  address: Scalars['String']['output'];
@@ -3714,52 +3563,31 @@ export type NftPoolCollectionFilterResult = {
3714
3563
  name?: Maybe<Scalars['String']['output']>;
3715
3564
  /** The network ID the NFT collection is deployed on. */
3716
3565
  networkId?: Maybe<Scalars['Int']['output']>;
3717
- /**
3718
- * The number of NFTs in all of the collection's pools.
3719
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
3720
- */
3566
+ /** The number of NFTs in all of the collection's pools. */
3721
3567
  nftBalance?: Maybe<Scalars['Int']['output']>;
3722
3568
  /** The number of NFTs in all of the collection's pools. */
3723
3569
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
3724
- /**
3725
- * The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
3726
- * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
3727
- */
3570
+ /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3728
3571
  nftVolume24?: Maybe<Scalars['Int']['output']>;
3729
3572
  /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3730
3573
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
3731
- /**
3732
- * The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
3733
- * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
3734
- */
3574
+ /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3735
3575
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
3736
3576
  /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3737
3577
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
3738
- /**
3739
- * The number of NFTs bought in any of the collection's pools over the past 24 hours.
3740
- * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
3741
- */
3578
+ /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3742
3579
  nftsBought24?: Maybe<Scalars['Int']['output']>;
3743
3580
  /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3744
3581
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
3745
- /**
3746
- * The number of NFTs bought in any of the collection's pools over the collection's lifetime.
3747
- * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
3748
- */
3582
+ /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3749
3583
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
3750
3584
  /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3751
3585
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
3752
- /**
3753
- * The number of NFTs sold in any of the collection's pools over the past 24 hours.
3754
- * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
3755
- */
3586
+ /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3756
3587
  nftsSold24?: Maybe<Scalars['Int']['output']>;
3757
3588
  /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3758
3589
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
3759
- /**
3760
- * The number of NFTs sold in any of the collection's pools over the collection's lifetime.
3761
- * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
3762
- */
3590
+ /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3763
3591
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
3764
3592
  /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3765
3593
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -3795,10 +3623,7 @@ export type NftPoolCollectionFilterResult = {
3795
3623
  symbol?: Maybe<Scalars['String']['output']>;
3796
3624
  /** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
3797
3625
  timestamp?: Maybe<Scalars['Int']['output']>;
3798
- /**
3799
- * The total supply of the collection.
3800
- * @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
3801
- */
3626
+ /** The total supply of the collection. */
3802
3627
  totalSupply?: Maybe<Scalars['Int']['output']>;
3803
3628
  totalSupplyV2?: Maybe<Scalars['String']['output']>;
3804
3629
  /** The total volume of the collection in the network's base token over the past 24 hours. */
@@ -3974,26 +3799,17 @@ export type NftPoolCollectionResponse = {
3974
3799
  floorNBT?: Maybe<Scalars['String']['output']>;
3975
3800
  /** An image associated with the NFT collection. */
3976
3801
  image?: Maybe<Scalars['String']['output']>;
3977
- /**
3978
- * The media for one of the assets within the NFT collection.
3979
- * @deprecated Use `image` from `NftContract` instead.
3980
- */
3802
+ /** The media for one of the assets within the NFT collection. */
3981
3803
  media?: Maybe<NftAssetMedia>;
3982
3804
  /** The name of the NFT collection. */
3983
3805
  name?: Maybe<Scalars['String']['output']>;
3984
3806
  /** The network ID the NFT collection is deployed on. */
3985
3807
  networkId: Scalars['Int']['output'];
3986
- /**
3987
- * The current number of NFTs in all the NFT collection's pools.
3988
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
3989
- */
3808
+ /** The current number of NFTs in all the NFT collection's pools. */
3990
3809
  nftBalance: Scalars['Int']['output'];
3991
3810
  /** The current number of NFTs in all the NFT collection's pools. */
3992
3811
  nftBalanceV2: Scalars['String']['output'];
3993
- /**
3994
- * The total number of NFTs bought and sold over the collection's lifetime.
3995
- * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
3996
- */
3812
+ /** The total number of NFTs bought and sold over the collection's lifetime. */
3997
3813
  nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
3998
3814
  /** The total number of NFTs bought and sold over the collection's lifetime. */
3999
3815
  nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
@@ -4086,10 +3902,7 @@ export type NftPoolEventNftTransferV2 = {
4086
3902
  nftQuantity: Scalars['String']['output'];
4087
3903
  /** The NFT token ID involved in the transfer. */
4088
3904
  nftTokenId: Scalars['String']['output'];
4089
- /**
4090
- * The number of tokens involved in the transfer.
4091
- * @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
4092
- */
3905
+ /** The number of tokens involved in the transfer. */
4093
3906
  nftTokenQuantity: Scalars['String']['output'];
4094
3907
  };
4095
3908
  /** The type of an NFT pool event. */
@@ -4190,52 +4003,31 @@ export type NftPoolFilterResult = {
4190
4003
  networkId: Scalars['Int']['output'];
4191
4004
  /** The list of NFT assets in the pool. */
4192
4005
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4193
- /**
4194
- * The current number of NFTs in the pool.
4195
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4196
- */
4006
+ /** The current number of NFTs in the pool. */
4197
4007
  nftBalance?: Maybe<Scalars['Int']['output']>;
4198
4008
  /** The current number of NFTs in the pool. */
4199
4009
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
4200
- /**
4201
- * The total number of NFTs bought and sold over the past 24 hours.
4202
- * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
4203
- */
4010
+ /** The total number of NFTs bought and sold over the past 24 hours. */
4204
4011
  nftVolume24?: Maybe<Scalars['Int']['output']>;
4205
4012
  /** The total number of NFTs bought and sold over the past 24 hours. */
4206
4013
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
4207
- /**
4208
- * The total number of NFTs bought and sold over the pool's lifetime.
4209
- * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
4210
- */
4014
+ /** The total number of NFTs bought and sold over the pool's lifetime. */
4211
4015
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
4212
4016
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4213
4017
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
4214
- /**
4215
- * The total number of NFTs bought by the pool over the past 24 hours.
4216
- * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
4217
- */
4018
+ /** The total number of NFTs bought by the pool over the past 24 hours. */
4218
4019
  nftsBought24?: Maybe<Scalars['Int']['output']>;
4219
4020
  /** The total number of NFTs bought by the pool over the past 24 hours. */
4220
4021
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
4221
- /**
4222
- * The total number of NFTs bought over the pool's lifetime.
4223
- * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
4224
- */
4022
+ /** The total number of NFTs bought over the pool's lifetime. */
4225
4023
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
4226
4024
  /** The total number of NFTs bought over the pool's lifetime. */
4227
4025
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
4228
- /**
4229
- * The total number of NFTs sold by the pool over the past 24 hours.
4230
- * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
4231
- */
4026
+ /** The total number of NFTs sold by the pool over the past 24 hours. */
4232
4027
  nftsSold24?: Maybe<Scalars['Int']['output']>;
4233
4028
  /** The total number of NFTs sold by the pool over the past 24 hours. */
4234
4029
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
4235
- /**
4236
- * The total number of NFTs sold over the pool's lifetime.
4237
- * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
4238
- */
4030
+ /** The total number of NFTs sold over the pool's lifetime. */
4239
4031
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
4240
4032
  /** The total number of NFTs sold over the pool's lifetime. */
4241
4033
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -4466,6 +4258,7 @@ export type NftPoolNumberFilter = {
4466
4258
  /** Less than or equal to. */
4467
4259
  lte?: InputMaybe<Scalars['String']['input']>;
4468
4260
  };
4261
+ /** Event data for transferring ownership of a pool. */
4469
4262
  export type NftPoolOwnershipTransferredEventDataV2 = {
4470
4263
  __typename?: 'NftPoolOwnershipTransferredEventDataV2';
4471
4264
  /** The new owner of the pool. */
@@ -4551,17 +4344,11 @@ export type NftPoolResponse = {
4551
4344
  networkId: Scalars['Int']['output'];
4552
4345
  /** The list of NFT assets in the pool. */
4553
4346
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4554
- /**
4555
- * The current number of NFTs in the pool.
4556
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4557
- */
4347
+ /** The current number of NFTs in the pool. */
4558
4348
  nftBalance?: Maybe<Scalars['Int']['output']>;
4559
4349
  /** The current number of NFTs in the pool. */
4560
4350
  nftBalanceV2: Scalars['String']['output'];
4561
- /**
4562
- * The total number of NFTs bought and sold over the pool's lifetime.
4563
- * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
4564
- */
4351
+ /** The total number of NFTs bought and sold over the pool's lifetime. */
4565
4352
  nftVolumeAllTime: Scalars['Int']['output'];
4566
4353
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4567
4354
  nftVolumeAllTimeV2: Scalars['String']['output'];
@@ -4858,10 +4645,7 @@ export type OnBarsUpdatedResponse = {
4858
4645
  __typename?: 'OnBarsUpdatedResponse';
4859
4646
  /** Price data broken down by resolution. */
4860
4647
  aggregates: ResolutionBarData;
4861
- /**
4862
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4863
- * For example, `0000000016414564#00000224#00000413`.
4864
- */
4648
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4865
4649
  eventSortKey: Scalars['String']['output'];
4866
4650
  /** The network ID the pair is deployed on. */
4867
4651
  networkId: Scalars['Int']['output'];
@@ -4883,6 +4667,10 @@ export type OnEventsCreatedByMakerInput = {
4883
4667
  /** The wallet address of the maker. */
4884
4668
  makerAddress: Scalars['String']['input'];
4885
4669
  };
4670
+ export type OnLaunchpadTokenEventBatchInput = {
4671
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4672
+ protocol?: InputMaybe<LaunchpadTokenProtocol>;
4673
+ };
4886
4674
  /** Input for `onLaunchpadTokenEvent`. */
4887
4675
  export type OnLaunchpadTokenEventInput = {
4888
4676
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4904,10 +4692,7 @@ export type OnTokenBarsUpdatedResponse = {
4904
4692
  __typename?: 'OnTokenBarsUpdatedResponse';
4905
4693
  /** Price data broken down by resolution. */
4906
4694
  aggregates: ResolutionBarData;
4907
- /**
4908
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4909
- * For example, `0000000016414564#00000224#00000413`.
4910
- */
4695
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4911
4696
  eventSortKey: Scalars['String']['output'];
4912
4697
  /** The network ID the pair is deployed on. */
4913
4698
  networkId: Scalars['Int']['output'];
@@ -4937,10 +4722,7 @@ export type OnUnconfirmedBarsUpdated = {
4937
4722
  __typename?: 'OnUnconfirmedBarsUpdated';
4938
4723
  /** Price data broken down by resolution. */
4939
4724
  aggregates: UnconfirmedResolutionBarData;
4940
- /**
4941
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4942
- * For example, `0000000016414564#00000224#00000413`.
4943
- */
4725
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4944
4726
  eventSortKey: Scalars['String']['output'];
4945
4727
  /** The network ID the pair is deployed on. */
4946
4728
  networkId: Scalars['Int']['output'];
@@ -4971,18 +4753,6 @@ export type OneOfNumberConditionInput = {
4971
4753
  /** The list of integers. */
4972
4754
  oneOf: Array<Scalars['Int']['input']>;
4973
4755
  };
4974
- export declare enum OrderState {
4975
- Completed = "COMPLETED",
4976
- Created = "CREATED",
4977
- Expired = "EXPIRED",
4978
- Failed = "FAILED",
4979
- Pending = "PENDING"
4980
- }
4981
- export declare enum OrderType {
4982
- Limit = "LIMIT",
4983
- LimitStrategy = "LIMIT_STRATEGY",
4984
- Manual = "MANUAL"
4985
- }
4986
4756
  /** Metadata for a token pair. */
4987
4757
  export type Pair = {
4988
4758
  __typename?: 'Pair';
@@ -5416,6 +5186,7 @@ export type PairMetadata = {
5416
5186
  /** The trade volume in USD in the past 24 hours. */
5417
5187
  volume24?: Maybe<Scalars['String']['output']>;
5418
5188
  };
5189
+ /** Metadata for a token in a pair. */
5419
5190
  export type PairMetadataToken = {
5420
5191
  __typename?: 'PairMetadataToken';
5421
5192
  address: Scalars['String']['output'];
@@ -5748,12 +5519,6 @@ export type ParallelCardChangesConnection = {
5748
5519
  /** A list of tracked changes made to a Parallel card. */
5749
5520
  items?: Maybe<Array<Maybe<ParallelCardChange>>>;
5750
5521
  };
5751
- export declare enum Plan {
5752
- Defined = "DEFINED",
5753
- Enterprise = "ENTERPRISE",
5754
- Free = "FREE",
5755
- Standard = "STANDARD"
5756
- }
5757
5522
  /** Event data for a BalancerV2 Pool Balance Changed event. */
5758
5523
  export type PoolBalanceChangedEventData = {
5759
5524
  __typename?: 'PoolBalanceChangedEventData';
@@ -6295,6 +6060,7 @@ export type PrimePoolWithdrawData = {
6295
6060
  /** The amount of PRIME the user is not eligible for either from having already harvesting or from not caching in the past. */
6296
6061
  userPrimeRewardDebt: Scalars['String']['output'];
6297
6062
  };
6063
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6298
6064
  export declare enum PublishingType {
6299
6065
  Batch = "BATCH",
6300
6066
  Single = "SINGLE"
@@ -6305,7 +6071,7 @@ export type Query = {
6305
6071
  apiToken: ApiToken;
6306
6072
  /** Get all active short-lived api tokens for this api key */
6307
6073
  apiTokens: Array<ApiToken>;
6308
- /** Returns list of token balances that a wallet has */
6074
+ /** Returns list of token balances that a wallet has. */
6309
6075
  balances: BalancesResponse;
6310
6076
  /** Returns a URL for a pair chart. */
6311
6077
  chartUrls?: Maybe<ChartUrlsResponse>;
@@ -6313,10 +6079,7 @@ export type Query = {
6313
6079
  detailedWalletStats?: Maybe<DetailedWalletStats>;
6314
6080
  /** Returns a list of exchanges based on a variety of filters. */
6315
6081
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6316
- /**
6317
- * Returns a list of wallets with stats narrowed down to a specific network.
6318
- * @deprecated Use filterWallets instead
6319
- */
6082
+ /** Returns a list of wallets with stats narrowed down to a specific network. */
6320
6083
  filterNetworkWallets: NetworkWalletFilterConnection;
6321
6084
  /** Returns a list of NFT collection based on a variety of filters. */
6322
6085
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
@@ -6344,21 +6107,15 @@ export type Query = {
6344
6107
  getDetailedPairStats?: Maybe<DetailedPairStats>;
6345
6108
  /** Returns bucketed stats for a given token within a list of pairs. */
6346
6109
  getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
6347
- /**
6348
- * Returns bucketed stats for a given token within a pair.
6349
- * @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
6350
- */
6110
+ /** Returns bucketed stats for a given token within a pair. */
6351
6111
  getDetailedStats?: Maybe<DetailedStats>;
6352
6112
  /** Returns a list of event labels for a pair. */
6353
6113
  getEventLabels?: Maybe<EventLabelConnection>;
6354
6114
  /** Returns a list of decentralized exchange metadata. */
6355
6115
  getExchanges: Array<Exchange>;
6356
- /**
6357
- * Returns new tokens listed over the last three days.
6358
- * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
6359
- */
6116
+ /** Returns new tokens listed over the last three days. */
6360
6117
  getLatestPairs?: Maybe<LatestPairConnection>;
6361
- /** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
6118
+ /** Returns a list of latest tokens. */
6362
6119
  getLatestTokens?: Maybe<LatestTokenConnection>;
6363
6120
  /** Returns metadata for a given network supported on Codex. */
6364
6121
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -6396,7 +6153,6 @@ export type Query = {
6396
6153
  getPrimePoolEvents?: Maybe<PrimePoolEventConnection>;
6397
6154
  /** Returns a list of Prime pools. */
6398
6155
  getPrimePools?: Maybe<PrimePoolConnection>;
6399
- getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
6400
6156
  /** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
6401
6157
  getSymbol?: Maybe<SymbolResponse>;
6402
6158
  /** Returns transactions for a pair. */
@@ -6407,7 +6163,7 @@ export type Query = {
6407
6163
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
6408
6164
  /** Returns a user's list of webhooks. */
6409
6165
  getWebhooks?: Maybe<GetWebhooksResponse>;
6410
- /** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
6166
+ /** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token. */
6411
6167
  holders: HoldersResponse;
6412
6168
  /** Returns liquidity locks for a given pair. */
6413
6169
  liquidityLocks?: Maybe<LiquidityLockConnection>;
@@ -6419,12 +6175,9 @@ export type Query = {
6419
6175
  listPairsForToken: Array<Maybe<Pair>>;
6420
6176
  /** Returns a list of pair metadata for a token. */
6421
6177
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6422
- /**
6423
- * Returns a list of trending tokens across any given network(s).
6424
- * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6425
- */
6178
+ /** Returns a list of trending tokens across any given network(s). */
6426
6179
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6427
- /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6180
+ /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
6428
6181
  nftHolders: NftHoldersResponse;
6429
6182
  /** Returns metadata for a pair of tokens. */
6430
6183
  pairMetadata: PairMetadata;
@@ -6432,10 +6185,7 @@ export type Query = {
6432
6185
  primeHolders: PrimeHolders;
6433
6186
  /** Returns a list of NFT collections matching a given query string. */
6434
6187
  searchNfts?: Maybe<NftSearchResponse>;
6435
- /**
6436
- * Returns a list of tokens matching a given query string.
6437
- * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6438
- */
6188
+ /** Returns a list of tokens matching a given query string. */
6439
6189
  searchTokens?: Maybe<TokenSearchResponse>;
6440
6190
  /** Returns a single token by its address & network id. */
6441
6191
  token: EnhancedToken;
@@ -6710,13 +6460,6 @@ export type QueryGetPrimePoolsArgs = {
6710
6460
  networkId: Scalars['Int']['input'];
6711
6461
  poolIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6712
6462
  };
6713
- export type QueryGetSimulateTokenContractResultsArgs = {
6714
- contractAddress: Scalars['String']['input'];
6715
- cursor?: InputMaybe<Scalars['String']['input']>;
6716
- limit?: InputMaybe<Scalars['Int']['input']>;
6717
- networkId: Scalars['Int']['input'];
6718
- simulationId?: InputMaybe<Scalars['String']['input']>;
6719
- };
6720
6463
  export type QueryGetSymbolArgs = {
6721
6464
  currencyCode?: InputMaybe<Scalars['String']['input']>;
6722
6465
  symbol: Scalars['String']['input'];
@@ -6830,41 +6573,15 @@ export type QueryWalletNftCollectionAssetsArgs = {
6830
6573
  export type QueryWalletNftCollectionsArgs = {
6831
6574
  input: WalletNftCollectionsInput;
6832
6575
  };
6833
- export type Quote = {
6834
- __typename?: 'Quote';
6835
- exchange: QuoteExchange;
6836
- outputAmountMin?: Maybe<Scalars['String']['output']>;
6837
- poolFee?: Maybe<Scalars['String']['output']>;
6838
- poolFeeBps?: Maybe<Scalars['Float']['output']>;
6839
- quoteType: QuoteType;
6840
- quotedAmount: Scalars['String']['output'];
6841
- tradeFee: Scalars['String']['output'];
6842
- tradeFeeBps: Scalars['Float']['output'];
6843
- };
6844
6576
  export declare enum QuoteCurrency {
6845
6577
  Token = "TOKEN",
6846
6578
  Usd = "USD"
6847
6579
  }
6848
- export type QuoteExchange = {
6849
- __typename?: 'QuoteExchange';
6850
- factory: Scalars['String']['output'];
6851
- id: Scalars['Int']['output'];
6852
- name: Scalars['String']['output'];
6853
- networkId: Scalars['Int']['output'];
6854
- protocol: Scalars['String']['output'];
6855
- quoter?: Maybe<Scalars['String']['output']>;
6856
- quoterInterface?: Maybe<Scalars['String']['output']>;
6857
- router: Scalars['String']['output'];
6858
- };
6859
6580
  /** The quote token within the pair. */
6860
6581
  export declare enum QuoteToken {
6861
6582
  Token0 = "token0",
6862
6583
  Token1 = "token1"
6863
6584
  }
6864
- export declare enum QuoteType {
6865
- Input = "INPUT",
6866
- Output = "OUTPUT"
6867
- }
6868
6585
  /** The range of time for a chart. */
6869
6586
  export type RangeInput = {
6870
6587
  end: Scalars['Int']['input'];
@@ -6875,6 +6592,7 @@ export declare enum RankingDirection {
6875
6592
  Asc = "ASC",
6876
6593
  Desc = "DESC"
6877
6594
  }
6595
+ /** Raw NFT asset data. */
6878
6596
  export type RawNftAssetData = {
6879
6597
  __typename?: 'RawNftAssetData';
6880
6598
  /** An optional image field that may or may not be present on the requested NFT asset smart contract. */
@@ -6895,7 +6613,7 @@ export type RawTransactionWebhookCondition = {
6895
6613
  ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
6896
6614
  /** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
6897
6615
  ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
6898
- /** Trigger the webhook if the contains or doesn't contain the specified string. */
6616
+ /** Trigger the webhook if the contains or doesn't contain the specified string. */
6899
6617
  input?: Maybe<StringContainsCondition>;
6900
6618
  /** A list of network IDs to listen on. */
6901
6619
  networkId?: Maybe<OneOfNumberCondition>;
@@ -6921,33 +6639,6 @@ export type RawTransactionWebhookConditionInput = {
6921
6639
  /** Trigger the webhook if either the to or the from address matches. */
6922
6640
  toOrFrom?: InputMaybe<StringEqualsConditionInput>;
6923
6641
  };
6924
- export type ReferralEventData = ReferralsEventPayoutData | ReferralsEventRewardData;
6925
- export type ReferralsEventPayoutData = {
6926
- __typename?: 'ReferralsEventPayoutData';
6927
- payouts: Array<ReferralsPayoutData>;
6928
- };
6929
- export type ReferralsEventRewardData = {
6930
- __typename?: 'ReferralsEventRewardData';
6931
- inputTokenAddress: Scalars['String']['output'];
6932
- networkId: Scalars['Int']['output'];
6933
- outputTokenAddress: Scalars['String']['output'];
6934
- payoutPercent: Scalars['Float']['output'];
6935
- referralUserId: Scalars['String']['output'];
6936
- rewardTokenAddress?: Maybe<Scalars['String']['output']>;
6937
- rewardTokenAmount?: Maybe<Scalars['String']['output']>;
6938
- transactionFee: Scalars['String']['output'];
6939
- transactionId: Scalars['String']['output'];
6940
- transactionTokenAddress: Scalars['String']['output'];
6941
- transactionTokenAmount: Scalars['String']['output'];
6942
- };
6943
- export type ReferralsPayoutData = {
6944
- __typename?: 'ReferralsPayoutData';
6945
- tokenAddressNetworkIdPaid: Scalars['String']['output'];
6946
- tokenAmountPaid: Scalars['String']['output'];
6947
- };
6948
- export type RemoveUserAchievementInput = {
6949
- userId: Scalars['String']['input'];
6950
- };
6951
6642
  /** Price data for each supported resolution. */
6952
6643
  export type ResolutionBarData = {
6953
6644
  __typename?: 'ResolutionBarData';
@@ -6978,7 +6669,7 @@ export type ResolutionBarData = {
6978
6669
  /** 12 hour resolution. */
6979
6670
  r720?: Maybe<CurrencyBarData>;
6980
6671
  };
6981
- /** Config for retrying failed webhook messages */
6672
+ /** Config for retrying failed webhook messages. */
6982
6673
  export type RetrySettings = {
6983
6674
  __typename?: 'RetrySettings';
6984
6675
  /** The maximum number of times the webhook will retry sending a message */
@@ -6990,7 +6681,7 @@ export type RetrySettings = {
6990
6681
  /** The minimum time in seconds that the webhook will wait before retrying a failed message */
6991
6682
  minRetryDelay?: Maybe<Scalars['Int']['output']>;
6992
6683
  };
6993
- /** Config input for retrying failed webhook messages */
6684
+ /** Config input for retrying failed webhook messages. */
6994
6685
  export type RetrySettingsInput = {
6995
6686
  /** The maximum number of times the webhook will retry sending a message */
6996
6687
  maxRetries?: InputMaybe<Scalars['Int']['input']>;
@@ -7027,209 +6718,7 @@ export type SandwichedLabelData = {
7027
6718
  /** The amount of `token1` drained in the attack. */
7028
6719
  token1DrainedAmount?: Maybe<Scalars['String']['output']>;
7029
6720
  };
7030
- export type SessionMetadata = {
7031
- shouldNotify?: InputMaybe<Scalars['Boolean']['input']>;
7032
- };
7033
- export type SimulateContractBalanceErrorsType = {
7034
- __typename?: 'SimulateContractBalanceErrorsType';
7035
- tokenContractEthBalanceError?: Maybe<Scalars['String']['output']>;
7036
- tokenContractTokenBalanceError?: Maybe<Scalars['String']['output']>;
7037
- };
7038
- export type SimulateContractBalanceType = {
7039
- __typename?: 'SimulateContractBalanceType';
7040
- tokenContractEthBalance?: Maybe<Scalars['String']['output']>;
7041
- tokenContractTokenBalance?: Maybe<Scalars['String']['output']>;
7042
- };
7043
- export type SimulateCreateTransactionInput = {
7044
- /** The block number to simulate the contract at. */
7045
- blockNumber: Scalars['Int']['input'];
7046
- /** The contract address of the token. */
7047
- contractAddress: Scalars['String']['input'];
7048
- /** The contract creation transaction hash from the live network. */
7049
- createTransactionHash: Scalars['String']['input'];
7050
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7051
- networkId: Scalars['Int']['input'];
7052
- };
7053
- export type SimulateCreatorErrorsType = {
7054
- __typename?: 'SimulateCreatorErrorsType';
7055
- creatorEthBalanceError?: Maybe<Scalars['String']['output']>;
7056
- creatorTokenBalanceError?: Maybe<Scalars['String']['output']>;
7057
- };
7058
- export type SimulateCreatorType = {
7059
- __typename?: 'SimulateCreatorType';
7060
- creatorAddress?: Maybe<Scalars['String']['output']>;
7061
- creatorEthBalance?: Maybe<Scalars['String']['output']>;
7062
- creatorTokenBalance?: Maybe<Scalars['String']['output']>;
7063
- };
7064
- export type SimulateDeployErrorsType = {
7065
- __typename?: 'SimulateDeployErrorsType';
7066
- deployError?: Maybe<Scalars['String']['output']>;
7067
- tokenMintedToDeployerError?: Maybe<Scalars['String']['output']>;
7068
- };
7069
- export type SimulateDeployInput = {
7070
- /** The block number to simulate the contract at. */
7071
- blockNumber: Scalars['Int']['input'];
7072
- /** The contract address of the token. */
7073
- contractAddress: Scalars['String']['input'];
7074
- /** The contract creation transaction input to simulate. */
7075
- contractInput: Scalars['String']['input'];
7076
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7077
- networkId: Scalars['Int']['input'];
7078
- };
7079
- export type SimulateDeployType = {
7080
- __typename?: 'SimulateDeployType';
7081
- deploySuccess?: Maybe<Scalars['Boolean']['output']>;
7082
- tokenMintedToDeployer?: Maybe<Scalars['String']['output']>;
7083
- };
7084
- export type SimulateLiquidityErrorsType = {
7085
- __typename?: 'SimulateLiquidityErrorsType';
7086
- addLiquidityError?: Maybe<Scalars['String']['output']>;
7087
- lpTotalSupplyError?: Maybe<Scalars['String']['output']>;
7088
- postLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
7089
- preLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
7090
- };
7091
- export type SimulateLiquidityType = {
7092
- __typename?: 'SimulateLiquidityType';
7093
- addLiquiditySuccess?: Maybe<Scalars['Boolean']['output']>;
7094
- liquiditySetByPreLiquidityOpenTradingCall?: Maybe<Scalars['Boolean']['output']>;
7095
- lpTotalSupply?: Maybe<Scalars['String']['output']>;
7096
- pairAddress?: Maybe<Scalars['String']['output']>;
7097
- postLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
7098
- postLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
7099
- preLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
7100
- preLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
7101
- preLiquidityEnableTradingSupportsTransfer?: Maybe<Scalars['Boolean']['output']>;
7102
- };
7103
- export type SimulateLiveContractInput = {
7104
- /** The block number to simulate the contract at. */
7105
- blockNumber?: InputMaybe<Scalars['Int']['input']>;
7106
- /** The contract address of the token. */
7107
- contractAddress: Scalars['String']['input'];
7108
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7109
- networkId: Scalars['Int']['input'];
7110
- };
7111
- export type SimulateOwnerErrorsType = {
7112
- __typename?: 'SimulateOwnerErrorsType';
7113
- ownerAddressError?: Maybe<Scalars['String']['output']>;
7114
- ownerEthBalanceError?: Maybe<Scalars['String']['output']>;
7115
- ownerTokenBalanceError?: Maybe<Scalars['String']['output']>;
7116
- };
7117
- export type SimulateOwnerType = {
7118
- __typename?: 'SimulateOwnerType';
7119
- ownerAddress?: Maybe<Scalars['String']['output']>;
7120
- ownerEthBalance?: Maybe<Scalars['String']['output']>;
7121
- ownerTokenBalance?: Maybe<Scalars['String']['output']>;
7122
- };
7123
- export type SimulateSwapErrorsType = {
7124
- __typename?: 'SimulateSwapErrorsType';
7125
- buyError?: Maybe<Scalars['String']['output']>;
7126
- buyErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
7127
- sellError?: Maybe<Scalars['String']['output']>;
7128
- sellErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
7129
- };
7130
- export type SimulateSwapType = {
7131
- __typename?: 'SimulateSwapType';
7132
- buyGasUsed?: Maybe<Scalars['String']['output']>;
7133
- buySuccess?: Maybe<Scalars['Boolean']['output']>;
7134
- buyTax?: Maybe<Scalars['String']['output']>;
7135
- maxBuyAmount?: Maybe<Scalars['String']['output']>;
7136
- maxSellAmount?: Maybe<Scalars['String']['output']>;
7137
- sellGasUsed?: Maybe<Scalars['String']['output']>;
7138
- sellSuccess?: Maybe<Scalars['Boolean']['output']>;
7139
- sellTax?: Maybe<Scalars['String']['output']>;
7140
- };
7141
- export declare enum SimulateTokenContractBuySellErrorEnum {
7142
- InsufficientLiquidity = "INSUFFICIENT_LIQUIDITY",
7143
- InsufficientOutputAmount = "INSUFFICIENT_OUTPUT_AMOUNT",
7144
- TransferFailed = "TRANSFER_FAILED",
7145
- UnknownError = "UNKNOWN_ERROR"
7146
- }
7147
- export type SimulateTokenContractErrors = {
7148
- __typename?: 'SimulateTokenContractErrors';
7149
- contractBalanceErrors: SimulateContractBalanceErrorsType;
7150
- creatorErrors: SimulateCreatorErrorsType;
7151
- deployErrors: SimulateDeployErrorsType;
7152
- liquidityErrors: SimulateLiquidityErrorsType;
7153
- ownerErrors: SimulateOwnerErrorsType;
7154
- simulatorError?: Maybe<Scalars['String']['output']>;
7155
- swapErrors: SimulateSwapErrorsType;
7156
- tokenErrors: SimulateTokenErrorsType;
7157
- transferErrors: SimulateTransferErrorsType;
7158
- };
7159
- export type SimulateTokenContractInput = {
7160
- /** Input for a token contract create transaction simulation. */
7161
- simulateCreateTransactionInput?: InputMaybe<SimulateCreateTransactionInput>;
7162
- /** Input for a token contract deploy simulation. */
7163
- simulateDeployInput?: InputMaybe<SimulateDeployInput>;
7164
- /** Input for a live token contract simulation. */
7165
- simulateLiveContractInput?: InputMaybe<SimulateLiveContractInput>;
7166
- };
7167
- export type SimulateTokenContractResponse = {
7168
- __typename?: 'SimulateTokenContractResponse';
7169
- error?: Maybe<Scalars['String']['output']>;
7170
- result: Scalars['Boolean']['output'];
7171
- simulationId?: Maybe<Scalars['String']['output']>;
7172
- };
7173
- export type SimulateTokenContractResult = {
7174
- __typename?: 'SimulateTokenContractResult';
7175
- analysisType: Scalars['Int']['output'];
7176
- blockNumber: Scalars['String']['output'];
7177
- contractBalance: SimulateContractBalanceType;
7178
- contractHashKey: Scalars['String']['output'];
7179
- creator: SimulateCreatorType;
7180
- deploy: SimulateDeployType;
7181
- errors: SimulateTokenContractErrors;
7182
- id: Scalars['String']['output'];
7183
- liquidity: SimulateLiquidityType;
7184
- networkId: Scalars['Int']['output'];
7185
- owner: SimulateOwnerType;
7186
- sortKey: Scalars['String']['output'];
7187
- status: SimulateTokenContractResultStatusEnum;
7188
- swap: SimulateSwapType;
7189
- timestamp: Scalars['Int']['output'];
7190
- token: SimulateTokenType;
7191
- transfer: SimulateTransferType;
7192
- uuid: Scalars['String']['output'];
7193
- uuidHashKey: Scalars['String']['output'];
7194
- };
7195
- export declare enum SimulateTokenContractResultStatusEnum {
7196
- Failure = "FAILURE",
7197
- Pending = "PENDING",
7198
- Success = "SUCCESS"
7199
- }
7200
- export type SimulateTokenErrorsType = {
7201
- __typename?: 'SimulateTokenErrorsType';
7202
- canRenounceOwnershipError?: Maybe<Scalars['String']['output']>;
7203
- canTransferOwnershipError?: Maybe<Scalars['String']['output']>;
7204
- decimalsError?: Maybe<Scalars['String']['output']>;
7205
- tokenNameError?: Maybe<Scalars['String']['output']>;
7206
- tokenSymbolError?: Maybe<Scalars['String']['output']>;
7207
- totalSupplyError?: Maybe<Scalars['String']['output']>;
7208
- };
7209
- export type SimulateTokenType = {
7210
- __typename?: 'SimulateTokenType';
7211
- canRenounceOwnership?: Maybe<Scalars['Boolean']['output']>;
7212
- canTransferOwnership?: Maybe<Scalars['Boolean']['output']>;
7213
- contractAddress: Scalars['String']['output'];
7214
- decimals?: Maybe<Scalars['Int']['output']>;
7215
- isOwnerRenounced?: Maybe<Scalars['Boolean']['output']>;
7216
- tokenName?: Maybe<Scalars['String']['output']>;
7217
- tokenSymbol?: Maybe<Scalars['String']['output']>;
7218
- totalSupply?: Maybe<Scalars['String']['output']>;
7219
- };
7220
- export type SimulateTransferErrorsType = {
7221
- __typename?: 'SimulateTransferErrorsType';
7222
- tokenContractApprovalError?: Maybe<Scalars['String']['output']>;
7223
- tokenTransferredToContractError?: Maybe<Scalars['String']['output']>;
7224
- userApprovalError?: Maybe<Scalars['String']['output']>;
7225
- };
7226
- export type SimulateTransferType = {
7227
- __typename?: 'SimulateTransferType';
7228
- tokenContractApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
7229
- tokenTransferredToContractSuccess?: Maybe<Scalars['Boolean']['output']>;
7230
- userApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
7231
- };
7232
- /** Community gathered social links of tokens/NFTs. */
6721
+ /** Social links for a token. */
7233
6722
  export type SocialLinks = {
7234
6723
  __typename?: 'SocialLinks';
7235
6724
  bitcointalk?: Maybe<Scalars['String']['output']>;
@@ -7255,30 +6744,12 @@ export type SocialLinks = {
7255
6744
  export declare enum SparklineAttribute {
7256
6745
  Price = "PRICE"
7257
6746
  }
6747
+ /** A value in a sparkline. */
7258
6748
  export type SparklineValue = {
7259
6749
  __typename?: 'SparklineValue';
7260
6750
  timestamp: Scalars['Int']['output'];
7261
6751
  value: Scalars['Float']['output'];
7262
6752
  };
7263
- export type StarknetNetworkConfig = {
7264
- __typename?: 'StarknetNetworkConfig';
7265
- baseTokenAddress: Scalars['String']['output'];
7266
- baseTokenSymbol: Scalars['String']['output'];
7267
- color?: Maybe<Scalars['String']['output']>;
7268
- defaultPairAddress: Scalars['String']['output'];
7269
- defaultPairQuoteToken: QuoteToken;
7270
- enabled: Scalars['Boolean']['output'];
7271
- id: Scalars['ID']['output'];
7272
- mainnet: Scalars['Boolean']['output'];
7273
- name: Scalars['String']['output'];
7274
- networkIconUrl: Scalars['String']['output'];
7275
- networkId: Scalars['Int']['output'];
7276
- networkName: Scalars['String']['output'];
7277
- networkShortName: Scalars['String']['output'];
7278
- newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7279
- stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7280
- wrappedBaseTokenSymbol: Scalars['String']['output'];
7281
- };
7282
6753
  /** Filter for NFT stats. */
7283
6754
  export type StatsFilter = {
7284
6755
  /** The percent change between the `current` and `previous`. */
@@ -7343,8 +6814,11 @@ export type Subscription = {
7343
6814
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7344
6815
  /** Live-streamed updates for newly listed pairs. */
7345
6816
  onLatestPairUpdated?: Maybe<LatestPair>;
6817
+ /** Live-streamed updates for newly listed tokens. */
7346
6818
  onLatestTokens?: Maybe<LatestToken>;
6819
+ /** Live-streamed launchpad token event. */
7347
6820
  onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
6821
+ /** Live-streamed launchpad token events batched (more efficient). */
7348
6822
  onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
7349
6823
  /** Live-streamed transactions for an NFT asset. */
7350
6824
  onNftAssetsCreated?: Maybe<NftAsset>;
@@ -7358,7 +6832,6 @@ export type Subscription = {
7358
6832
  onPriceUpdated?: Maybe<Price>;
7359
6833
  /** Live-streamed price updates for multiple tokens. */
7360
6834
  onPricesUpdated: Price;
7361
- onSimulateTokenContract: SimulateTokenContractResult;
7362
6835
  /** Live-streamed bar chart data to track price changes over time for a token. */
7363
6836
  onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
7364
6837
  /** Live-streamed events for a given token across all it's pools */
@@ -7378,11 +6851,9 @@ export type SubscriptionOnBalanceUpdatedArgs = {
7378
6851
  export type SubscriptionOnBarsUpdatedArgs = {
7379
6852
  pairId?: InputMaybe<Scalars['String']['input']>;
7380
6853
  quoteToken?: InputMaybe<QuoteToken>;
7381
- statsType?: InputMaybe<TokenPairStatisticsType>;
7382
6854
  };
7383
6855
  export type SubscriptionOnDetailedStatsUpdatedArgs = {
7384
6856
  pairId?: InputMaybe<Scalars['String']['input']>;
7385
- statsType?: InputMaybe<TokenPairStatisticsType>;
7386
6857
  tokenOfInterest?: InputMaybe<TokenOfInterest>;
7387
6858
  };
7388
6859
  export type SubscriptionOnEventLabelCreatedArgs = {
@@ -7391,7 +6862,6 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7391
6862
  export type SubscriptionOnEventsCreatedArgs = {
7392
6863
  address?: InputMaybe<Scalars['String']['input']>;
7393
6864
  id?: InputMaybe<Scalars['String']['input']>;
7394
- maker?: InputMaybe<Scalars['String']['input']>;
7395
6865
  networkId?: InputMaybe<Scalars['Int']['input']>;
7396
6866
  quoteToken?: InputMaybe<QuoteToken>;
7397
6867
  };
@@ -7413,6 +6883,9 @@ export type SubscriptionOnLatestTokensArgs = {
7413
6883
  export type SubscriptionOnLaunchpadTokenEventArgs = {
7414
6884
  input?: InputMaybe<OnLaunchpadTokenEventInput>;
7415
6885
  };
6886
+ export type SubscriptionOnLaunchpadTokenEventBatchArgs = {
6887
+ input?: InputMaybe<OnLaunchpadTokenEventBatchInput>;
6888
+ };
7416
6889
  export type SubscriptionOnNftAssetsCreatedArgs = {
7417
6890
  address?: InputMaybe<Scalars['String']['input']>;
7418
6891
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7431,7 +6904,6 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
7431
6904
  export type SubscriptionOnPairMetadataUpdatedArgs = {
7432
6905
  id?: InputMaybe<Scalars['String']['input']>;
7433
6906
  quoteToken?: InputMaybe<QuoteToken>;
7434
- statsType?: InputMaybe<TokenPairStatisticsType>;
7435
6907
  };
7436
6908
  export type SubscriptionOnPriceUpdatedArgs = {
7437
6909
  address?: InputMaybe<Scalars['String']['input']>;
@@ -7441,14 +6913,8 @@ export type SubscriptionOnPriceUpdatedArgs = {
7441
6913
  export type SubscriptionOnPricesUpdatedArgs = {
7442
6914
  input: Array<OnPricesUpdatedInput>;
7443
6915
  };
7444
- export type SubscriptionOnSimulateTokenContractArgs = {
7445
- contractAddress?: InputMaybe<Scalars['String']['input']>;
7446
- networkId: Scalars['Int']['input'];
7447
- simulationId?: InputMaybe<Scalars['String']['input']>;
7448
- };
7449
6916
  export type SubscriptionOnTokenBarsUpdatedArgs = {
7450
6917
  networkId?: InputMaybe<Scalars['Int']['input']>;
7451
- statsType?: InputMaybe<TokenPairStatisticsType>;
7452
6918
  tokenId?: InputMaybe<Scalars['String']['input']>;
7453
6919
  };
7454
6920
  export type SubscriptionOnTokenEventsCreatedArgs = {
@@ -7470,25 +6936,6 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7470
6936
  export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7471
6937
  input: OnUnconfirmedEventsCreatedByMakerInput;
7472
6938
  };
7473
- export type SuiNetworkConfig = {
7474
- __typename?: 'SuiNetworkConfig';
7475
- baseTokenAddress: Scalars['String']['output'];
7476
- baseTokenSymbol: Scalars['String']['output'];
7477
- color?: Maybe<Scalars['String']['output']>;
7478
- defaultPairAddress: Scalars['String']['output'];
7479
- defaultPairQuoteToken: QuoteToken;
7480
- enabled: Scalars['Boolean']['output'];
7481
- id: Scalars['ID']['output'];
7482
- mainnet: Scalars['Boolean']['output'];
7483
- name: Scalars['String']['output'];
7484
- networkIconUrl: Scalars['String']['output'];
7485
- networkId: Scalars['Int']['output'];
7486
- networkName: Scalars['String']['output'];
7487
- networkShortName: Scalars['String']['output'];
7488
- newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7489
- stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7490
- wrappedBaseTokenSymbol: Scalars['String']['output'];
7491
- };
7492
6939
  /** Event data for a token swap event. */
7493
6940
  export type SwapEventData = {
7494
6941
  __typename?: 'SwapEventData';
@@ -7692,7 +7139,6 @@ export type TokenFilterConnection = {
7692
7139
  /** A token matching a set of filter parameters. */
7693
7140
  export type TokenFilterResult = {
7694
7141
  __typename?: 'TokenFilterResult';
7695
- /** @deprecated Age isn't supported - use createdAt instead */
7696
7142
  age?: Maybe<Scalars['Int']['output']>;
7697
7143
  /** The number of buys in the past hour. */
7698
7144
  buyCount1?: Maybe<Scalars['Int']['output']>;
@@ -7730,7 +7176,6 @@ export type TokenFilterResult = {
7730
7176
  createdAt?: Maybe<Scalars['Int']['output']>;
7731
7177
  /** The exchanges the token is listed on. */
7732
7178
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
7733
- /** @deprecated FDV isn't supported - use marketCap instead */
7734
7179
  fdv?: Maybe<Scalars['String']['output']>;
7735
7180
  /** The highest price in USD in the past hour. */
7736
7181
  high1?: Maybe<Scalars['String']['output']>;
@@ -7861,7 +7306,6 @@ export type TokenFilterResult = {
7861
7306
  };
7862
7307
  /** Input type of `TokenFilters`. */
7863
7308
  export type TokenFilters = {
7864
- /** @deprecated Age isn't supported - use createdAt instead */
7865
7309
  age?: InputMaybe<NumberFilter>;
7866
7310
  /** The number of buys in the past hour. */
7867
7311
  buyCount1?: InputMaybe<NumberFilter>;
@@ -7903,7 +7347,6 @@ export type TokenFilters = {
7903
7347
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7904
7348
  /** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
7905
7349
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7906
- /** @deprecated FDV isn't supported - use marketCap instead */
7907
7350
  fdv?: InputMaybe<NumberFilter>;
7908
7351
  /** The token in freezable */
7909
7352
  freezable?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7959,8 +7402,6 @@ export type TokenFilters = {
7959
7402
  mintable?: InputMaybe<Scalars['Boolean']['input']>;
7960
7403
  /** 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. */
7961
7404
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7962
- /** docs: hide */
7963
- notableHolderCount?: InputMaybe<NumberFilter>;
7964
7405
  /** Filter potential Scams */
7965
7406
  potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
7966
7407
  /** The token price in USD. */
@@ -8217,7 +7658,7 @@ export type TokenPairEventWebhookConditionInput = {
8217
7658
  /** The token contract address to listen for. */
8218
7659
  tokenAddress?: InputMaybe<StringEqualsConditionInput>;
8219
7660
  };
8220
- /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
7661
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
8221
7662
  export declare enum TokenPairStatisticsType {
8222
7663
  Filtered = "FILTERED",
8223
7664
  Unfiltered = "UNFILTERED"
@@ -8231,7 +7672,6 @@ export type TokenRanking = {
8231
7672
  };
8232
7673
  /** The attribute used to rank tokens. */
8233
7674
  export declare enum TokenRankingAttribute {
8234
- /** @deprecated Use createdAt instead */
8235
7675
  Age = "age",
8236
7676
  BuyCount1 = "buyCount1",
8237
7677
  BuyCount4 = "buyCount4",
@@ -8325,11 +7765,12 @@ export type TokenSearchResponse = {
8325
7765
  __typename?: 'TokenSearchResponse';
8326
7766
  /** The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`. */
8327
7767
  hasMore?: Maybe<Scalars['Int']['output']>;
8328
- /** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. <br>If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found. */
7768
+ /** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found. */
8329
7769
  hasMoreLowVolume?: Maybe<Scalars['Int']['output']>;
8330
7770
  /** A list of tokens. */
8331
7771
  tokens?: Maybe<Array<TokenWithMetadata>>;
8332
7772
  };
7773
+ /** A sparkline for a token. */
8333
7774
  export type TokenSparkline = {
8334
7775
  __typename?: 'TokenSparkline';
8335
7776
  /** Which attribute the sparkline is charting. Defaults to `PRICE` */
@@ -8339,6 +7780,7 @@ export type TokenSparkline = {
8339
7780
  /** List of sparkline values to chart */
8340
7781
  sparkline: Array<SparklineValue>;
8341
7782
  };
7783
+ /** Input type of `tokenSparkline`. */
8342
7784
  export type TokenSparklineInput = {
8343
7785
  /** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
8344
7786
  ids: Array<Scalars['String']['input']>;
@@ -8406,6 +7848,7 @@ export type TokenTopTradersInput = {
8406
7848
  /** The trading period */
8407
7849
  tradingPeriod: TradingPeriod;
8408
7850
  };
7851
+ /** A connection of wallets matching a filter on a specific token. */
8409
7852
  export type TokenWalletFilterConnection = {
8410
7853
  __typename?: 'TokenWalletFilterConnection';
8411
7854
  /** The number of wallets returned. */
@@ -8444,6 +7887,8 @@ export type TokenWalletFilterResult = {
8444
7887
  amountSoldUsdAll1y: Scalars['String']['output'];
8445
7888
  /** Amount sold USD all in the past 30 days */
8446
7889
  amountSoldUsdAll30d: Scalars['String']['output'];
7890
+ /** The backfill state of the wallet. */
7891
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8447
7892
  /** The bot score for the wallet. */
8448
7893
  botScore?: Maybe<Scalars['Int']['output']>;
8449
7894
  /** Number of buys in the past day */
@@ -8671,6 +8116,7 @@ export type UnconfirmedIndividualBarData = {
8671
8116
  /** The volume with higher precision. */
8672
8117
  volume: Scalars['String']['output'];
8673
8118
  };
8119
+ /** Event data for a token liquidity change event. */
8674
8120
  export type UnconfirmedLiquidityChangeEventData = {
8675
8121
  __typename?: 'UnconfirmedLiquidityChangeEventData';
8676
8122
  /** The amount of `token0` added or removed from the pair. */
@@ -8700,6 +8146,7 @@ export type UnconfirmedResolutionBarData = {
8700
8146
  /** 15 second resolution. */
8701
8147
  r15S?: Maybe<UnconfirmedIndividualBarData>;
8702
8148
  };
8149
+ /** Event data for a token swap event. */
8703
8150
  export type UnconfirmedSwapEventData = {
8704
8151
  __typename?: 'UnconfirmedSwapEventData';
8705
8152
  /** The amount of `baseToken` involved in the swap */
@@ -8717,6 +8164,21 @@ export type UnconfirmedSwapEventData = {
8717
8164
  /** The type of token event, `Swap`. */
8718
8165
  type: EventType;
8719
8166
  };
8167
+ /** The state of the wallet backfill. */
8168
+ export declare enum WalletAggregateBackfillState {
8169
+ /** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
8170
+ BackfillBlocked = "BackfillBlocked",
8171
+ /** Historical stats calculations were started, then canceled for this wallet. It may have been flagged as a bot */
8172
+ BackfillCanceled = "BackfillCanceled",
8173
+ /** Historical stats calculations for this wallet have been successfully processed */
8174
+ BackfillComplete = "BackfillComplete",
8175
+ /** Historical stats calculations for this wallet are being processed */
8176
+ BackfillInProgress = "BackfillInProgress",
8177
+ /** Historical stats calculations for this wallet have not been started, nor attempted */
8178
+ BackfillNotFound = "BackfillNotFound",
8179
+ /** Historical stats calculations for this wallet are queued and will be processed soon */
8180
+ BackfillRequestReceived = "BackfillRequestReceived"
8181
+ }
8720
8182
  /** The data for a chart of a wallet's activity. */
8721
8183
  export type WalletChartData = {
8722
8184
  __typename?: 'WalletChartData';
@@ -8739,7 +8201,7 @@ export type WalletChartInput = {
8739
8201
  networkId?: InputMaybe<Scalars['Int']['input']>;
8740
8202
  /** The range of time for the chart */
8741
8203
  range: RangeInput;
8742
- /** The resolution of the chart */
8204
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
8743
8205
  resolution: Scalars['String']['input'];
8744
8206
  /** The wallet address */
8745
8207
  walletAddress: Scalars['String']['input'];
@@ -8753,6 +8215,8 @@ export type WalletChartRange = {
8753
8215
  /** The response for a chart of a wallet's activity. */
8754
8216
  export type WalletChartResponse = {
8755
8217
  __typename?: 'WalletChartResponse';
8218
+ /** The backfill state of the wallet. */
8219
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8756
8220
  /** The data for the chart */
8757
8221
  data: Array<WalletChartData>;
8758
8222
  /** The network ID */
@@ -8764,6 +8228,7 @@ export type WalletChartResponse = {
8764
8228
  /** The wallet address */
8765
8229
  walletAddress: Scalars['String']['output'];
8766
8230
  };
8231
+ /** A connection of wallets matching a filter. */
8767
8232
  export type WalletFilterConnection = {
8768
8233
  __typename?: 'WalletFilterConnection';
8769
8234
  /** The number of wallets returned. */
@@ -8773,6 +8238,7 @@ export type WalletFilterConnection = {
8773
8238
  /** The list of wallets matching the filter parameters. */
8774
8239
  results: Array<WalletFilterResult>;
8775
8240
  };
8241
+ /** A wallet matching a filter. */
8776
8242
  export type WalletFilterResult = {
8777
8243
  __typename?: 'WalletFilterResult';
8778
8244
  /** The wallet address */
@@ -8793,6 +8259,8 @@ export type WalletFilterResult = {
8793
8259
  averageSwapAmountUsd1y: Scalars['String']['output'];
8794
8260
  /** Average swap amount in USD in the past 30 days */
8795
8261
  averageSwapAmountUsd30d: Scalars['String']['output'];
8262
+ /** The backfill state of the wallet. */
8263
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8796
8264
  /** The bot score for the wallet. */
8797
8265
  botScore?: Maybe<Scalars['Int']['output']>;
8798
8266
  /** The unix timestamp for the first transaction from this wallet */
@@ -8872,6 +8340,7 @@ export type WalletFilterResult = {
8872
8340
  /** Win rate in the past 30 days */
8873
8341
  winRate30d: Scalars['Float']['output'];
8874
8342
  };
8343
+ /** Filters for a wallet. */
8875
8344
  export type WalletFilters = {
8876
8345
  /** Average profit in USD per trade in the past day */
8877
8346
  averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
@@ -8966,6 +8435,24 @@ export type WalletFilters = {
8966
8435
  /** Win rate in the past 30 days */
8967
8436
  winRate30d?: InputMaybe<NumberFilter>;
8968
8437
  };
8438
+ /** Wallet labels. Used for filtering wallets with `includeLabels` and `excludeLabels`. */
8439
+ export declare enum WalletLabel {
8440
+ /** Wallet is interesting (based on a number of factors). */
8441
+ Interesting = "INTERESTING",
8442
+ /** Wallet holds $5M+ in assets */
8443
+ MediumWealthy = "MEDIUM_WEALTHY",
8444
+ /** Wallet holds $10M+ in assets */
8445
+ MegaWealthy = "MEGA_WEALTHY",
8446
+ /** Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days */
8447
+ SmartTraderTokensOverTwoDaysOld = "SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD",
8448
+ /** Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old */
8449
+ SmartTraderTokensUnderTwoDaysOld = "SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD",
8450
+ /** Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour */
8451
+ Sniper = "SNIPER",
8452
+ /** Wallet holds $1M+ in assets */
8453
+ Wealthy = "WEALTHY"
8454
+ }
8455
+ /** Filters for a wallet on a specific network. */
8969
8456
  export type WalletNetworkFilters = {
8970
8457
  /** Average profit in USD per trade in the past day */
8971
8458
  averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
@@ -9058,12 +8545,14 @@ export type WalletNetworkFilters = {
9058
8545
  /** Win rate in the past 30 days */
9059
8546
  winRate30d?: InputMaybe<NumberFilter>;
9060
8547
  };
8548
+ /** A wallet ranking on a specific network. */
9061
8549
  export type WalletNetworkRanking = {
9062
8550
  /** The attribute to rank wallets by. */
9063
8551
  attribute?: InputMaybe<WalletNetworkRankingAttribute>;
9064
8552
  /** The direction to apply to the ranking attribute. */
9065
8553
  direction?: InputMaybe<RankingDirection>;
9066
8554
  };
8555
+ /** Attributes for a wallet ranking on a specific network. */
9067
8556
  export declare enum WalletNetworkRankingAttribute {
9068
8557
  AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9069
8558
  AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
@@ -9159,12 +8648,14 @@ export type WalletNftCollectionsResponse = {
9159
8648
  /** The list of collections for a wallet. */
9160
8649
  items: Array<WalletNftCollection>;
9161
8650
  };
8651
+ /** A wallet ranking. */
9162
8652
  export type WalletRanking = {
9163
8653
  /** The attribute to rank wallets by. */
9164
8654
  attribute?: InputMaybe<WalletRankingAttribute>;
9165
8655
  /** The direction to apply to the ranking attribute. */
9166
8656
  direction?: InputMaybe<RankingDirection>;
9167
8657
  };
8658
+ /** Attributes for a wallet ranking. */
9168
8659
  export declare enum WalletRankingAttribute {
9169
8660
  AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9170
8661
  AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
@@ -9219,12 +8710,14 @@ export declare enum WalletStatsDuration {
9219
8710
  Week1 = "week1",
9220
8711
  Year1 = "year1"
9221
8712
  }
8713
+ /** A range for a wallet token filter. */
9222
8714
  export type WalletTokenFilterRange = {
9223
8715
  /** The maximum value (inclusive) */
9224
8716
  max?: InputMaybe<Scalars['String']['input']>;
9225
8717
  /** The minimum value (inclusive) */
9226
8718
  min?: InputMaybe<Scalars['String']['input']>;
9227
8719
  };
8720
+ /** Filters for a wallet on a specific token. */
9228
8721
  export type WalletTokenFilters = {
9229
8722
  /** Filter by amount bought in USD in the past day */
9230
8723
  amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
@@ -9305,6 +8798,7 @@ export type WalletTokenFilters = {
9305
8798
  /** Filter by token balance */
9306
8799
  tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9307
8800
  };
8801
+ /** Filters for a wallet on a specific token. */
9308
8802
  export type WalletTokenFiltersV2 = {
9309
8803
  /** Filter by amount bought in USD in the past day */
9310
8804
  amountBoughtUsd1d?: InputMaybe<NumberFilter>;
@@ -9385,12 +8879,14 @@ export type WalletTokenFiltersV2 = {
9385
8879
  /** Filter by token balance */
9386
8880
  tokenBalance?: InputMaybe<NumberFilter>;
9387
8881
  };
8882
+ /** A wallet ranking on a specific token. */
9388
8883
  export type WalletTokenRanking = {
9389
8884
  /** The attribute to rank wallets by */
9390
8885
  attribute: WalletTokenRankingAttribute;
9391
8886
  /** The direction to apply to the ranking attribute */
9392
8887
  direction: RankingDirection;
9393
8888
  };
8889
+ /** Attributes for a wallet ranking on a specific token. */
9394
8890
  export declare enum WalletTokenRankingAttribute {
9395
8891
  /** Amount bought in USD in the past day */
9396
8892
  AmountBoughtUsd1d = "amountBoughtUsd1d",
@@ -9546,7 +9042,7 @@ export type WindowedDetailedCurrencyPairStats = {
9546
9042
  __typename?: 'WindowedDetailedCurrencyPairStats';
9547
9043
  /** The buy volume over the time frame. */
9548
9044
  buyVolume?: Maybe<DetailedPairStatsStringMetrics>;
9549
- /** The closing price for the time frame. */
9045
+ /** The closing price forr the time frame. */
9550
9046
  close?: Maybe<DetailedPairStatsStringMetrics>;
9551
9047
  /** The highest price in USD in the time frame. */
9552
9048
  highest?: Maybe<DetailedPairStatsStringMetrics>;