@codex-data/sdk 1.0.10 → 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 (74) hide show
  1. package/dist/resources/graphql.d.ts +174 -680
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +65 -79
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Query.d.ts +7 -2
  6. package/dist/sdk/Query.d.ts.map +1 -1
  7. package/dist/sdk/Query.js +6 -1
  8. package/dist/sdk/Query.js.map +1 -1
  9. package/dist/sdk/Subscribe.d.ts +1 -2
  10. package/dist/sdk/Subscribe.d.ts.map +1 -1
  11. package/dist/sdk/Subscribe.js +16 -23
  12. package/dist/sdk/Subscribe.js.map +1 -1
  13. package/dist/sdk/generated/gql.d.ts +135 -101
  14. package/dist/sdk/generated/gql.d.ts.map +1 -1
  15. package/dist/sdk/generated/gql.js +44 -40
  16. package/dist/sdk/generated/gql.js.map +1 -1
  17. package/dist/sdk/generated/graphql.d.ts +1612 -1105
  18. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  19. package/dist/sdk/generated/graphql.js +111 -121
  20. package/dist/sdk/generated/graphql.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/resources/generated_queries/Balances.graphql +15 -0
  23. package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
  24. package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
  25. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
  26. package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
  27. package/src/resources/generated_queries/FilterPairs.graphql +60 -0
  28. package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
  29. package/src/resources/generated_queries/FilterTokens.graphql +47 -0
  30. package/src/resources/generated_queries/FilterWallets.graphql +1 -0
  31. package/src/resources/generated_queries/GetBars.graphql +31 -0
  32. package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
  33. package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
  34. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
  35. package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
  36. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  37. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  38. package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
  39. package/src/resources/generated_queries/GetNftPool.graphql +2 -0
  40. package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
  41. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
  42. package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
  43. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
  44. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
  45. package/src/resources/generated_queries/Holders.graphql +15 -0
  46. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
  47. package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
  48. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
  49. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  50. package/src/resources/generated_queries/PairMetadata.graphql +30 -0
  51. package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
  52. package/src/resources/generated_queries/SearchTokens.graphql +67 -0
  53. package/src/resources/generated_queries/Token.graphql +15 -0
  54. package/src/resources/generated_queries/Tokens.graphql +15 -0
  55. package/src/resources/generated_queries/WalletChart.graphql +1 -0
  56. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
  57. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
  58. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
  59. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
  60. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  61. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
  62. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
  63. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
  64. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
  65. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
  66. package/src/resources/graphql.schema.json +491 -5183
  67. package/src/resources/graphql.ts +180 -742
  68. package/src/resources/schema.graphql +6749 -11057
  69. package/src/sdk/Query.ts +24 -5
  70. package/src/sdk/Subscribe.ts +16 -31
  71. package/src/sdk/generated/gql.ts +106 -86
  72. package/src/sdk/generated/graphql.ts +317 -841
  73. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  74. 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,21 +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. */
1929
1785
  ArenaTrade = "ArenaTrade",
1786
+ /** Protocol name for boop.fun. */
1930
1787
  BoopFun = "BoopFun",
1788
+ /** Protocol name for EgoTech. */
1931
1789
  EgoTech = "EgoTech",
1790
+ /** Protocol name for Four.meme. */
1932
1791
  FourMeme = "FourMeme",
1792
+ /** Protocol name for MeteoraDBC. */
1793
+ MeteoraDbc = "MeteoraDBC",
1794
+ /** Protocol name for Moonit (formerly Moonshot). */
1933
1795
  Moonit = "Moonit",
1796
+ /** Protocol name for Pump.fun. */
1934
1797
  Pump = "Pump",
1798
+ /** Protocol name for Rainbow. */
1935
1799
  Rainbow = "Rainbow",
1800
+ /** Protocol name for LaunchLab and Bonk. */
1936
1801
  RaydiumLaunchpad = "RaydiumLaunchpad",
1802
+ /** Protocol name for Vertigo. */
1937
1803
  Vertigo = "Vertigo"
1938
1804
  }
1805
+ /** Data about liquidity in a pair. */
1939
1806
  export type LiquidityData = {
1940
1807
  __typename?: 'LiquidityData';
1941
1808
  /** The active liquidity in the pair. */
@@ -1943,7 +1810,7 @@ export type LiquidityData = {
1943
1810
  /** The inactive liquidity in the pair. */
1944
1811
  inactive: Scalars['String']['output'];
1945
1812
  };
1946
- /** A record of locked liquidity */
1813
+ /** A record of locked liquidity. */
1947
1814
  export type LiquidityLock = {
1948
1815
  __typename?: 'LiquidityLock';
1949
1816
  /** The unix timestamp for when the lock was created. */
@@ -1956,10 +1823,7 @@ export type LiquidityLock = {
1956
1823
  liquidityAmount: Scalars['String']['output'];
1957
1824
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1958
1825
  liquidityNftData?: Maybe<LiquidityNftData>;
1959
- /**
1960
- * The protocol that created the pair
1961
- * @deprecated Use liquidityProtocolV2 instead
1962
- */
1826
+ /** The protocol that created the pair */
1963
1827
  liquidityProtocol: LiquidityProtocol;
1964
1828
  /** The protocol that created the pair */
1965
1829
  liquidityProtocolV2: Scalars['String']['output'];
@@ -1988,6 +1852,7 @@ export type LiquidityLockBreakdownForToken = {
1988
1852
  /** The protocol with which the liquidity is locked. */
1989
1853
  lockProtocol: LiquidityLockProtocol;
1990
1854
  };
1855
+ /** Response returned by `liquidityLocks`. */
1991
1856
  export type LiquidityLockConnection = {
1992
1857
  __typename?: 'LiquidityLockConnection';
1993
1858
  /** A cursor for use in pagination. */
@@ -1995,7 +1860,7 @@ export type LiquidityLockConnection = {
1995
1860
  /** A list of liquidity locks. */
1996
1861
  items: Array<LiquidityLock>;
1997
1862
  };
1998
- /** Protocols that can lock liquidity */
1863
+ /** Protocols that can lock liquidity. */
1999
1864
  export declare enum LiquidityLockProtocol {
2000
1865
  BasecampV1 = "BASECAMP_V1",
2001
1866
  Bitbond = "BITBOND",
@@ -2035,7 +1900,7 @@ export type LiquidityMetadataByToken = {
2035
1900
  /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2036
1901
  totalTokenLiquidityShifted: Scalars['String']['output'];
2037
1902
  };
2038
- /** Liquidity NFT position data */
1903
+ /** Liquidity NFT position data. */
2039
1904
  export type LiquidityNftData = {
2040
1905
  __typename?: 'LiquidityNftData';
2041
1906
  /** The address of the nft position manager contract. */
@@ -2043,7 +1908,7 @@ export type LiquidityNftData = {
2043
1908
  /** The tokenId of the liquidity position nft. */
2044
1909
  nftTokenId: Scalars['String']['output'];
2045
1910
  };
2046
- /** Protocols that create trading pairs */
1911
+ /** Protocols that create trading pairs. */
2047
1912
  export declare enum LiquidityProtocol {
2048
1913
  PumpV1 = "PUMP_V1",
2049
1914
  RaydiumV4 = "RAYDIUM_V4",
@@ -2112,11 +1977,6 @@ export type MakerEventsQueryInput = {
2112
1977
  networkId?: InputMaybe<Scalars['Int']['input']>;
2113
1978
  /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
2114
1979
  priceUsdTotal?: InputMaybe<NumberFilter>;
2115
- /**
2116
- * docs: hide
2117
- * @deprecated Not used
2118
- */
2119
- quoteToken?: InputMaybe<QuoteToken>;
2120
1980
  /** The time range to filter by. */
2121
1981
  timestamp?: InputMaybe<EventQueryTimestampInput>;
2122
1982
  /** The token involved in the event. */
@@ -2161,16 +2021,6 @@ export type MetadataResponse = {
2161
2021
  /** The name of the network. */
2162
2022
  networkName: Scalars['String']['output'];
2163
2023
  };
2164
- export type MigrateTrackedWalletsInput = {
2165
- fromUserId: Scalars['String']['input'];
2166
- toUserId: Scalars['String']['input'];
2167
- };
2168
- export type MigrateTrackedWalletsOutput = {
2169
- __typename?: 'MigrateTrackedWalletsOutput';
2170
- fromUserId: Scalars['String']['output'];
2171
- status: Scalars['String']['output'];
2172
- toUserId: Scalars['String']['output'];
2173
- };
2174
2024
  /** Event data for a token mint event. */
2175
2025
  export type MintEventData = {
2176
2026
  __typename?: 'MintEventData';
@@ -2237,6 +2087,7 @@ export type NetworkBreakdown = {
2237
2087
  /** The stats for the last year */
2238
2088
  statsYear1?: Maybe<WindowedWalletStats>;
2239
2089
  };
2090
+ /** A connection of wallets matching a filter on a specific network. */
2240
2091
  export type NetworkWalletFilterConnection = {
2241
2092
  __typename?: 'NetworkWalletFilterConnection';
2242
2093
  /** The number of wallets returned. */
@@ -2246,6 +2097,7 @@ export type NetworkWalletFilterConnection = {
2246
2097
  /** The list of wallets matching the filter parameters. */
2247
2098
  results: Array<NetworkWalletFilterResult>;
2248
2099
  };
2100
+ /** A wallet matching a filter on a specific network. */
2249
2101
  export type NetworkWalletFilterResult = {
2250
2102
  __typename?: 'NetworkWalletFilterResult';
2251
2103
  /** The wallet address */
@@ -2266,6 +2118,8 @@ export type NetworkWalletFilterResult = {
2266
2118
  averageSwapAmountUsd1y: Scalars['String']['output'];
2267
2119
  /** Average swap amount in USD in the past 30 days */
2268
2120
  averageSwapAmountUsd30d: Scalars['String']['output'];
2121
+ /** The backfill state of the wallet. */
2122
+ backfillState?: Maybe<WalletAggregateBackfillState>;
2269
2123
  /** The bot score for the wallet. */
2270
2124
  botScore?: Maybe<Scalars['Int']['output']>;
2271
2125
  /** The unix timestamp for the first transaction from this wallet */
@@ -2508,6 +2362,7 @@ export declare enum NftAssetAttributeType {
2508
2362
  Number = "Number",
2509
2363
  String = "String"
2510
2364
  }
2365
+ /** An NFT asset error. */
2511
2366
  export type NftAssetError = {
2512
2367
  __typename?: 'NftAssetError';
2513
2368
  /** The contract address of the NFT collection. */
@@ -2523,6 +2378,7 @@ export type NftAssetError = {
2523
2378
  /** The token ID of the NFT asset. */
2524
2379
  tokenId: Scalars['String']['output'];
2525
2380
  };
2381
+ /** The status of an NFT asset error. */
2526
2382
  export declare enum NftAssetErrorStatus {
2527
2383
  IndexingInProgress = "INDEXING_IN_PROGRESS",
2528
2384
  NotFound = "NOT_FOUND"
@@ -3366,9 +3222,7 @@ export type NftEvent = {
3366
3222
  __typename?: 'NftEvent';
3367
3223
  /** The contract address of the marketplace aggregator that routed the transaction. */
3368
3224
  aggregatorAddress?: Maybe<Scalars['String']['output']>;
3369
- /** @deprecated Field no longer supported */
3370
3225
  baseTokenAddress: Scalars['String']['output'];
3371
- /** @deprecated Field no longer supported */
3372
3226
  baseTokenPrice?: Maybe<Scalars['String']['output']>;
3373
3227
  /** The block number for the transaction. */
3374
3228
  blockNumber: Scalars['Int']['output'];
@@ -3382,17 +3236,13 @@ export type NftEvent = {
3382
3236
  fillSource?: Maybe<Scalars['String']['output']>;
3383
3237
  /** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
3384
3238
  id: Scalars['String']['output'];
3385
- /** @deprecated Field no longer supported */
3386
3239
  individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3387
- /** @deprecated Field no longer supported */
3388
3240
  individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3389
- /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
3390
3241
  individualPrice?: Maybe<Scalars['String']['output']>;
3391
3242
  /** The price of each individual NFT in the network's base token. */
3392
3243
  individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
3393
3244
  /** The price of each individual NFT in USD. */
3394
3245
  individualPriceUsd?: Maybe<Scalars['String']['output']>;
3395
- /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
3396
3246
  individualTokenPrice?: Maybe<Scalars['String']['output']>;
3397
3247
  /** The price of each individual NFT in the purchasing token. */
3398
3248
  individualTradePrice?: Maybe<Scalars['String']['output']>;
@@ -3400,7 +3250,6 @@ export type NftEvent = {
3400
3250
  logIndex: Scalars['Int']['output'];
3401
3251
  /** The wallet address of the buyer. */
3402
3252
  maker: Scalars['String']['output'];
3403
- /** @deprecated Field no longer supported */
3404
3253
  networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3405
3254
  /** The network ID the NFT collection is deployed on. */
3406
3255
  networkId: Scalars['Int']['output'];
@@ -3422,9 +3271,7 @@ export type NftEvent = {
3422
3271
  timestamp: Scalars['Int']['output'];
3423
3272
  /** The token ID of the NFT asset involved in the transaction. */
3424
3273
  tokenId: Scalars['String']['output'];
3425
- /** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
3426
3274
  tokenPrice: Scalars['String']['output'];
3427
- /** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
3428
3275
  totalPrice: Scalars['String']['output'];
3429
3276
  /** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
3430
3277
  totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
@@ -3453,7 +3300,7 @@ export type NftEventFillSourceConditionInput = {
3453
3300
  oneOf: Array<WebhookNftEventFillSource>;
3454
3301
  };
3455
3302
  /** Details for an NFT offered or received as part of an nft trade. */
3456
- export type NftEventNftTradeItem = NftEventTradeItemBase & {
3303
+ export type NftEventNftTradeItem = {
3457
3304
  __typename?: 'NftEventNftTradeItem';
3458
3305
  /** The contract address for the NFT. */
3459
3306
  address: Scalars['String']['output'];
@@ -3473,7 +3320,7 @@ export declare enum NftEventOrderDirection {
3473
3320
  Sell = "SELL"
3474
3321
  }
3475
3322
  /** Details for a token(s) offered or received as part of an nft trade. */
3476
- export type NftEventTokenTradeItem = NftEventTradeItemBase & {
3323
+ export type NftEventTokenTradeItem = {
3477
3324
  __typename?: 'NftEventTokenTradeItem';
3478
3325
  /** The contract address for the token. */
3479
3326
  address: Scalars['String']['output'];
@@ -3716,52 +3563,31 @@ export type NftPoolCollectionFilterResult = {
3716
3563
  name?: Maybe<Scalars['String']['output']>;
3717
3564
  /** The network ID the NFT collection is deployed on. */
3718
3565
  networkId?: Maybe<Scalars['Int']['output']>;
3719
- /**
3720
- * The number of NFTs in all of the collection's pools.
3721
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
3722
- */
3566
+ /** The number of NFTs in all of the collection's pools. */
3723
3567
  nftBalance?: Maybe<Scalars['Int']['output']>;
3724
3568
  /** The number of NFTs in all of the collection's pools. */
3725
3569
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
3726
- /**
3727
- * The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
3728
- * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
3729
- */
3570
+ /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3730
3571
  nftVolume24?: Maybe<Scalars['Int']['output']>;
3731
3572
  /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3732
3573
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
3733
- /**
3734
- * The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
3735
- * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
3736
- */
3574
+ /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3737
3575
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
3738
3576
  /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3739
3577
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
3740
- /**
3741
- * The number of NFTs bought in any of the collection's pools over the past 24 hours.
3742
- * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
3743
- */
3578
+ /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3744
3579
  nftsBought24?: Maybe<Scalars['Int']['output']>;
3745
3580
  /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3746
3581
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
3747
- /**
3748
- * The number of NFTs bought in any of the collection's pools over the collection's lifetime.
3749
- * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
3750
- */
3582
+ /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3751
3583
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
3752
3584
  /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3753
3585
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
3754
- /**
3755
- * The number of NFTs sold in any of the collection's pools over the past 24 hours.
3756
- * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
3757
- */
3586
+ /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3758
3587
  nftsSold24?: Maybe<Scalars['Int']['output']>;
3759
3588
  /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3760
3589
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
3761
- /**
3762
- * The number of NFTs sold in any of the collection's pools over the collection's lifetime.
3763
- * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
3764
- */
3590
+ /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3765
3591
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
3766
3592
  /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3767
3593
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -3797,10 +3623,7 @@ export type NftPoolCollectionFilterResult = {
3797
3623
  symbol?: Maybe<Scalars['String']['output']>;
3798
3624
  /** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
3799
3625
  timestamp?: Maybe<Scalars['Int']['output']>;
3800
- /**
3801
- * The total supply of the collection.
3802
- * @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
3803
- */
3626
+ /** The total supply of the collection. */
3804
3627
  totalSupply?: Maybe<Scalars['Int']['output']>;
3805
3628
  totalSupplyV2?: Maybe<Scalars['String']['output']>;
3806
3629
  /** The total volume of the collection in the network's base token over the past 24 hours. */
@@ -3976,26 +3799,17 @@ export type NftPoolCollectionResponse = {
3976
3799
  floorNBT?: Maybe<Scalars['String']['output']>;
3977
3800
  /** An image associated with the NFT collection. */
3978
3801
  image?: Maybe<Scalars['String']['output']>;
3979
- /**
3980
- * The media for one of the assets within the NFT collection.
3981
- * @deprecated Use `image` from `NftContract` instead.
3982
- */
3802
+ /** The media for one of the assets within the NFT collection. */
3983
3803
  media?: Maybe<NftAssetMedia>;
3984
3804
  /** The name of the NFT collection. */
3985
3805
  name?: Maybe<Scalars['String']['output']>;
3986
3806
  /** The network ID the NFT collection is deployed on. */
3987
3807
  networkId: Scalars['Int']['output'];
3988
- /**
3989
- * The current number of NFTs in all the NFT collection's pools.
3990
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
3991
- */
3808
+ /** The current number of NFTs in all the NFT collection's pools. */
3992
3809
  nftBalance: Scalars['Int']['output'];
3993
3810
  /** The current number of NFTs in all the NFT collection's pools. */
3994
3811
  nftBalanceV2: Scalars['String']['output'];
3995
- /**
3996
- * The total number of NFTs bought and sold over the collection's lifetime.
3997
- * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
3998
- */
3812
+ /** The total number of NFTs bought and sold over the collection's lifetime. */
3999
3813
  nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
4000
3814
  /** The total number of NFTs bought and sold over the collection's lifetime. */
4001
3815
  nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
@@ -4088,10 +3902,7 @@ export type NftPoolEventNftTransferV2 = {
4088
3902
  nftQuantity: Scalars['String']['output'];
4089
3903
  /** The NFT token ID involved in the transfer. */
4090
3904
  nftTokenId: Scalars['String']['output'];
4091
- /**
4092
- * The number of tokens involved in the transfer.
4093
- * @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
4094
- */
3905
+ /** The number of tokens involved in the transfer. */
4095
3906
  nftTokenQuantity: Scalars['String']['output'];
4096
3907
  };
4097
3908
  /** The type of an NFT pool event. */
@@ -4192,52 +4003,31 @@ export type NftPoolFilterResult = {
4192
4003
  networkId: Scalars['Int']['output'];
4193
4004
  /** The list of NFT assets in the pool. */
4194
4005
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4195
- /**
4196
- * The current number of NFTs in the pool.
4197
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4198
- */
4006
+ /** The current number of NFTs in the pool. */
4199
4007
  nftBalance?: Maybe<Scalars['Int']['output']>;
4200
4008
  /** The current number of NFTs in the pool. */
4201
4009
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
4202
- /**
4203
- * The total number of NFTs bought and sold over the past 24 hours.
4204
- * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
4205
- */
4010
+ /** The total number of NFTs bought and sold over the past 24 hours. */
4206
4011
  nftVolume24?: Maybe<Scalars['Int']['output']>;
4207
4012
  /** The total number of NFTs bought and sold over the past 24 hours. */
4208
4013
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
4209
- /**
4210
- * The total number of NFTs bought and sold over the pool's lifetime.
4211
- * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
4212
- */
4014
+ /** The total number of NFTs bought and sold over the pool's lifetime. */
4213
4015
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
4214
4016
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4215
4017
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
4216
- /**
4217
- * The total number of NFTs bought by the pool over the past 24 hours.
4218
- * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
4219
- */
4018
+ /** The total number of NFTs bought by the pool over the past 24 hours. */
4220
4019
  nftsBought24?: Maybe<Scalars['Int']['output']>;
4221
4020
  /** The total number of NFTs bought by the pool over the past 24 hours. */
4222
4021
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
4223
- /**
4224
- * The total number of NFTs bought over the pool's lifetime.
4225
- * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
4226
- */
4022
+ /** The total number of NFTs bought over the pool's lifetime. */
4227
4023
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
4228
4024
  /** The total number of NFTs bought over the pool's lifetime. */
4229
4025
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
4230
- /**
4231
- * The total number of NFTs sold by the pool over the past 24 hours.
4232
- * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
4233
- */
4026
+ /** The total number of NFTs sold by the pool over the past 24 hours. */
4234
4027
  nftsSold24?: Maybe<Scalars['Int']['output']>;
4235
4028
  /** The total number of NFTs sold by the pool over the past 24 hours. */
4236
4029
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
4237
- /**
4238
- * The total number of NFTs sold over the pool's lifetime.
4239
- * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
4240
- */
4030
+ /** The total number of NFTs sold over the pool's lifetime. */
4241
4031
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
4242
4032
  /** The total number of NFTs sold over the pool's lifetime. */
4243
4033
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -4468,6 +4258,7 @@ export type NftPoolNumberFilter = {
4468
4258
  /** Less than or equal to. */
4469
4259
  lte?: InputMaybe<Scalars['String']['input']>;
4470
4260
  };
4261
+ /** Event data for transferring ownership of a pool. */
4471
4262
  export type NftPoolOwnershipTransferredEventDataV2 = {
4472
4263
  __typename?: 'NftPoolOwnershipTransferredEventDataV2';
4473
4264
  /** The new owner of the pool. */
@@ -4553,17 +4344,11 @@ export type NftPoolResponse = {
4553
4344
  networkId: Scalars['Int']['output'];
4554
4345
  /** The list of NFT assets in the pool. */
4555
4346
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4556
- /**
4557
- * The current number of NFTs in the pool.
4558
- * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4559
- */
4347
+ /** The current number of NFTs in the pool. */
4560
4348
  nftBalance?: Maybe<Scalars['Int']['output']>;
4561
4349
  /** The current number of NFTs in the pool. */
4562
4350
  nftBalanceV2: Scalars['String']['output'];
4563
- /**
4564
- * The total number of NFTs bought and sold over the pool's lifetime.
4565
- * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
4566
- */
4351
+ /** The total number of NFTs bought and sold over the pool's lifetime. */
4567
4352
  nftVolumeAllTime: Scalars['Int']['output'];
4568
4353
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4569
4354
  nftVolumeAllTimeV2: Scalars['String']['output'];
@@ -4860,10 +4645,7 @@ export type OnBarsUpdatedResponse = {
4860
4645
  __typename?: 'OnBarsUpdatedResponse';
4861
4646
  /** Price data broken down by resolution. */
4862
4647
  aggregates: ResolutionBarData;
4863
- /**
4864
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4865
- * For example, `0000000016414564#00000224#00000413`.
4866
- */
4648
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4867
4649
  eventSortKey: Scalars['String']['output'];
4868
4650
  /** The network ID the pair is deployed on. */
4869
4651
  networkId: Scalars['Int']['output'];
@@ -4885,6 +4667,10 @@ export type OnEventsCreatedByMakerInput = {
4885
4667
  /** The wallet address of the maker. */
4886
4668
  makerAddress: Scalars['String']['input'];
4887
4669
  };
4670
+ export type OnLaunchpadTokenEventBatchInput = {
4671
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4672
+ protocol?: InputMaybe<LaunchpadTokenProtocol>;
4673
+ };
4888
4674
  /** Input for `onLaunchpadTokenEvent`. */
4889
4675
  export type OnLaunchpadTokenEventInput = {
4890
4676
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4906,10 +4692,7 @@ export type OnTokenBarsUpdatedResponse = {
4906
4692
  __typename?: 'OnTokenBarsUpdatedResponse';
4907
4693
  /** Price data broken down by resolution. */
4908
4694
  aggregates: ResolutionBarData;
4909
- /**
4910
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4911
- * For example, `0000000016414564#00000224#00000413`.
4912
- */
4695
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4913
4696
  eventSortKey: Scalars['String']['output'];
4914
4697
  /** The network ID the pair is deployed on. */
4915
4698
  networkId: Scalars['Int']['output'];
@@ -4939,10 +4722,7 @@ export type OnUnconfirmedBarsUpdated = {
4939
4722
  __typename?: 'OnUnconfirmedBarsUpdated';
4940
4723
  /** Price data broken down by resolution. */
4941
4724
  aggregates: UnconfirmedResolutionBarData;
4942
- /**
4943
- * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4944
- * For example, `0000000016414564#00000224#00000413`.
4945
- */
4725
+ /** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
4946
4726
  eventSortKey: Scalars['String']['output'];
4947
4727
  /** The network ID the pair is deployed on. */
4948
4728
  networkId: Scalars['Int']['output'];
@@ -4973,18 +4753,6 @@ export type OneOfNumberConditionInput = {
4973
4753
  /** The list of integers. */
4974
4754
  oneOf: Array<Scalars['Int']['input']>;
4975
4755
  };
4976
- export declare enum OrderState {
4977
- Completed = "COMPLETED",
4978
- Created = "CREATED",
4979
- Expired = "EXPIRED",
4980
- Failed = "FAILED",
4981
- Pending = "PENDING"
4982
- }
4983
- export declare enum OrderType {
4984
- Limit = "LIMIT",
4985
- LimitStrategy = "LIMIT_STRATEGY",
4986
- Manual = "MANUAL"
4987
- }
4988
4756
  /** Metadata for a token pair. */
4989
4757
  export type Pair = {
4990
4758
  __typename?: 'Pair';
@@ -5418,6 +5186,7 @@ export type PairMetadata = {
5418
5186
  /** The trade volume in USD in the past 24 hours. */
5419
5187
  volume24?: Maybe<Scalars['String']['output']>;
5420
5188
  };
5189
+ /** Metadata for a token in a pair. */
5421
5190
  export type PairMetadataToken = {
5422
5191
  __typename?: 'PairMetadataToken';
5423
5192
  address: Scalars['String']['output'];
@@ -5750,12 +5519,6 @@ export type ParallelCardChangesConnection = {
5750
5519
  /** A list of tracked changes made to a Parallel card. */
5751
5520
  items?: Maybe<Array<Maybe<ParallelCardChange>>>;
5752
5521
  };
5753
- export declare enum Plan {
5754
- Defined = "DEFINED",
5755
- Enterprise = "ENTERPRISE",
5756
- Free = "FREE",
5757
- Standard = "STANDARD"
5758
- }
5759
5522
  /** Event data for a BalancerV2 Pool Balance Changed event. */
5760
5523
  export type PoolBalanceChangedEventData = {
5761
5524
  __typename?: 'PoolBalanceChangedEventData';
@@ -6297,6 +6060,7 @@ export type PrimePoolWithdrawData = {
6297
6060
  /** The amount of PRIME the user is not eligible for either from having already harvesting or from not caching in the past. */
6298
6061
  userPrimeRewardDebt: Scalars['String']['output'];
6299
6062
  };
6063
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6300
6064
  export declare enum PublishingType {
6301
6065
  Batch = "BATCH",
6302
6066
  Single = "SINGLE"
@@ -6307,7 +6071,7 @@ export type Query = {
6307
6071
  apiToken: ApiToken;
6308
6072
  /** Get all active short-lived api tokens for this api key */
6309
6073
  apiTokens: Array<ApiToken>;
6310
- /** Returns list of token balances that a wallet has */
6074
+ /** Returns list of token balances that a wallet has. */
6311
6075
  balances: BalancesResponse;
6312
6076
  /** Returns a URL for a pair chart. */
6313
6077
  chartUrls?: Maybe<ChartUrlsResponse>;
@@ -6315,10 +6079,7 @@ export type Query = {
6315
6079
  detailedWalletStats?: Maybe<DetailedWalletStats>;
6316
6080
  /** Returns a list of exchanges based on a variety of filters. */
6317
6081
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6318
- /**
6319
- * Returns a list of wallets with stats narrowed down to a specific network.
6320
- * @deprecated Use filterWallets instead
6321
- */
6082
+ /** Returns a list of wallets with stats narrowed down to a specific network. */
6322
6083
  filterNetworkWallets: NetworkWalletFilterConnection;
6323
6084
  /** Returns a list of NFT collection based on a variety of filters. */
6324
6085
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
@@ -6346,21 +6107,15 @@ export type Query = {
6346
6107
  getDetailedPairStats?: Maybe<DetailedPairStats>;
6347
6108
  /** Returns bucketed stats for a given token within a list of pairs. */
6348
6109
  getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
6349
- /**
6350
- * Returns bucketed stats for a given token within a pair.
6351
- * @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
6352
- */
6110
+ /** Returns bucketed stats for a given token within a pair. */
6353
6111
  getDetailedStats?: Maybe<DetailedStats>;
6354
6112
  /** Returns a list of event labels for a pair. */
6355
6113
  getEventLabels?: Maybe<EventLabelConnection>;
6356
6114
  /** Returns a list of decentralized exchange metadata. */
6357
6115
  getExchanges: Array<Exchange>;
6358
- /**
6359
- * Returns new tokens listed over the last three days.
6360
- * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
6361
- */
6116
+ /** Returns new tokens listed over the last three days. */
6362
6117
  getLatestPairs?: Maybe<LatestPairConnection>;
6363
- /** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
6118
+ /** Returns a list of latest tokens. */
6364
6119
  getLatestTokens?: Maybe<LatestTokenConnection>;
6365
6120
  /** Returns metadata for a given network supported on Codex. */
6366
6121
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -6398,7 +6153,6 @@ export type Query = {
6398
6153
  getPrimePoolEvents?: Maybe<PrimePoolEventConnection>;
6399
6154
  /** Returns a list of Prime pools. */
6400
6155
  getPrimePools?: Maybe<PrimePoolConnection>;
6401
- getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
6402
6156
  /** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
6403
6157
  getSymbol?: Maybe<SymbolResponse>;
6404
6158
  /** Returns transactions for a pair. */
@@ -6409,7 +6163,7 @@ export type Query = {
6409
6163
  getTokenPrices?: Maybe<Array<Maybe<Price>>>;
6410
6164
  /** Returns a user's list of webhooks. */
6411
6165
  getWebhooks?: Maybe<GetWebhooksResponse>;
6412
- /** 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. */
6413
6167
  holders: HoldersResponse;
6414
6168
  /** Returns liquidity locks for a given pair. */
6415
6169
  liquidityLocks?: Maybe<LiquidityLockConnection>;
@@ -6421,12 +6175,9 @@ export type Query = {
6421
6175
  listPairsForToken: Array<Maybe<Pair>>;
6422
6176
  /** Returns a list of pair metadata for a token. */
6423
6177
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6424
- /**
6425
- * Returns a list of trending tokens across any given network(s).
6426
- * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6427
- */
6178
+ /** Returns a list of trending tokens across any given network(s). */
6428
6179
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6429
- /** 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. */
6430
6181
  nftHolders: NftHoldersResponse;
6431
6182
  /** Returns metadata for a pair of tokens. */
6432
6183
  pairMetadata: PairMetadata;
@@ -6434,10 +6185,7 @@ export type Query = {
6434
6185
  primeHolders: PrimeHolders;
6435
6186
  /** Returns a list of NFT collections matching a given query string. */
6436
6187
  searchNfts?: Maybe<NftSearchResponse>;
6437
- /**
6438
- * Returns a list of tokens matching a given query string.
6439
- * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6440
- */
6188
+ /** Returns a list of tokens matching a given query string. */
6441
6189
  searchTokens?: Maybe<TokenSearchResponse>;
6442
6190
  /** Returns a single token by its address & network id. */
6443
6191
  token: EnhancedToken;
@@ -6712,13 +6460,6 @@ export type QueryGetPrimePoolsArgs = {
6712
6460
  networkId: Scalars['Int']['input'];
6713
6461
  poolIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6714
6462
  };
6715
- export type QueryGetSimulateTokenContractResultsArgs = {
6716
- contractAddress: Scalars['String']['input'];
6717
- cursor?: InputMaybe<Scalars['String']['input']>;
6718
- limit?: InputMaybe<Scalars['Int']['input']>;
6719
- networkId: Scalars['Int']['input'];
6720
- simulationId?: InputMaybe<Scalars['String']['input']>;
6721
- };
6722
6463
  export type QueryGetSymbolArgs = {
6723
6464
  currencyCode?: InputMaybe<Scalars['String']['input']>;
6724
6465
  symbol: Scalars['String']['input'];
@@ -6832,41 +6573,15 @@ export type QueryWalletNftCollectionAssetsArgs = {
6832
6573
  export type QueryWalletNftCollectionsArgs = {
6833
6574
  input: WalletNftCollectionsInput;
6834
6575
  };
6835
- export type Quote = {
6836
- __typename?: 'Quote';
6837
- exchange: QuoteExchange;
6838
- outputAmountMin?: Maybe<Scalars['String']['output']>;
6839
- poolFee?: Maybe<Scalars['String']['output']>;
6840
- poolFeeBps?: Maybe<Scalars['Float']['output']>;
6841
- quoteType: QuoteType;
6842
- quotedAmount: Scalars['String']['output'];
6843
- tradeFee: Scalars['String']['output'];
6844
- tradeFeeBps: Scalars['Float']['output'];
6845
- };
6846
6576
  export declare enum QuoteCurrency {
6847
6577
  Token = "TOKEN",
6848
6578
  Usd = "USD"
6849
6579
  }
6850
- export type QuoteExchange = {
6851
- __typename?: 'QuoteExchange';
6852
- factory: Scalars['String']['output'];
6853
- id: Scalars['Int']['output'];
6854
- name: Scalars['String']['output'];
6855
- networkId: Scalars['Int']['output'];
6856
- protocol: Scalars['String']['output'];
6857
- quoter?: Maybe<Scalars['String']['output']>;
6858
- quoterInterface?: Maybe<Scalars['String']['output']>;
6859
- router: Scalars['String']['output'];
6860
- };
6861
6580
  /** The quote token within the pair. */
6862
6581
  export declare enum QuoteToken {
6863
6582
  Token0 = "token0",
6864
6583
  Token1 = "token1"
6865
6584
  }
6866
- export declare enum QuoteType {
6867
- Input = "INPUT",
6868
- Output = "OUTPUT"
6869
- }
6870
6585
  /** The range of time for a chart. */
6871
6586
  export type RangeInput = {
6872
6587
  end: Scalars['Int']['input'];
@@ -6877,6 +6592,7 @@ export declare enum RankingDirection {
6877
6592
  Asc = "ASC",
6878
6593
  Desc = "DESC"
6879
6594
  }
6595
+ /** Raw NFT asset data. */
6880
6596
  export type RawNftAssetData = {
6881
6597
  __typename?: 'RawNftAssetData';
6882
6598
  /** An optional image field that may or may not be present on the requested NFT asset smart contract. */
@@ -6897,7 +6613,7 @@ export type RawTransactionWebhookCondition = {
6897
6613
  ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
6898
6614
  /** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
6899
6615
  ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
6900
- /** 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. */
6901
6617
  input?: Maybe<StringContainsCondition>;
6902
6618
  /** A list of network IDs to listen on. */
6903
6619
  networkId?: Maybe<OneOfNumberCondition>;
@@ -6923,33 +6639,6 @@ export type RawTransactionWebhookConditionInput = {
6923
6639
  /** Trigger the webhook if either the to or the from address matches. */
6924
6640
  toOrFrom?: InputMaybe<StringEqualsConditionInput>;
6925
6641
  };
6926
- export type ReferralEventData = ReferralsEventPayoutData | ReferralsEventRewardData;
6927
- export type ReferralsEventPayoutData = {
6928
- __typename?: 'ReferralsEventPayoutData';
6929
- payouts: Array<ReferralsPayoutData>;
6930
- };
6931
- export type ReferralsEventRewardData = {
6932
- __typename?: 'ReferralsEventRewardData';
6933
- inputTokenAddress: Scalars['String']['output'];
6934
- networkId: Scalars['Int']['output'];
6935
- outputTokenAddress: Scalars['String']['output'];
6936
- payoutPercent: Scalars['Float']['output'];
6937
- referralUserId: Scalars['String']['output'];
6938
- rewardTokenAddress?: Maybe<Scalars['String']['output']>;
6939
- rewardTokenAmount?: Maybe<Scalars['String']['output']>;
6940
- transactionFee: Scalars['String']['output'];
6941
- transactionId: Scalars['String']['output'];
6942
- transactionTokenAddress: Scalars['String']['output'];
6943
- transactionTokenAmount: Scalars['String']['output'];
6944
- };
6945
- export type ReferralsPayoutData = {
6946
- __typename?: 'ReferralsPayoutData';
6947
- tokenAddressNetworkIdPaid: Scalars['String']['output'];
6948
- tokenAmountPaid: Scalars['String']['output'];
6949
- };
6950
- export type RemoveUserAchievementInput = {
6951
- userId: Scalars['String']['input'];
6952
- };
6953
6642
  /** Price data for each supported resolution. */
6954
6643
  export type ResolutionBarData = {
6955
6644
  __typename?: 'ResolutionBarData';
@@ -6980,7 +6669,7 @@ export type ResolutionBarData = {
6980
6669
  /** 12 hour resolution. */
6981
6670
  r720?: Maybe<CurrencyBarData>;
6982
6671
  };
6983
- /** Config for retrying failed webhook messages */
6672
+ /** Config for retrying failed webhook messages. */
6984
6673
  export type RetrySettings = {
6985
6674
  __typename?: 'RetrySettings';
6986
6675
  /** The maximum number of times the webhook will retry sending a message */
@@ -6992,7 +6681,7 @@ export type RetrySettings = {
6992
6681
  /** The minimum time in seconds that the webhook will wait before retrying a failed message */
6993
6682
  minRetryDelay?: Maybe<Scalars['Int']['output']>;
6994
6683
  };
6995
- /** Config input for retrying failed webhook messages */
6684
+ /** Config input for retrying failed webhook messages. */
6996
6685
  export type RetrySettingsInput = {
6997
6686
  /** The maximum number of times the webhook will retry sending a message */
6998
6687
  maxRetries?: InputMaybe<Scalars['Int']['input']>;
@@ -7029,209 +6718,7 @@ export type SandwichedLabelData = {
7029
6718
  /** The amount of `token1` drained in the attack. */
7030
6719
  token1DrainedAmount?: Maybe<Scalars['String']['output']>;
7031
6720
  };
7032
- export type SessionMetadata = {
7033
- shouldNotify?: InputMaybe<Scalars['Boolean']['input']>;
7034
- };
7035
- export type SimulateContractBalanceErrorsType = {
7036
- __typename?: 'SimulateContractBalanceErrorsType';
7037
- tokenContractEthBalanceError?: Maybe<Scalars['String']['output']>;
7038
- tokenContractTokenBalanceError?: Maybe<Scalars['String']['output']>;
7039
- };
7040
- export type SimulateContractBalanceType = {
7041
- __typename?: 'SimulateContractBalanceType';
7042
- tokenContractEthBalance?: Maybe<Scalars['String']['output']>;
7043
- tokenContractTokenBalance?: Maybe<Scalars['String']['output']>;
7044
- };
7045
- export type SimulateCreateTransactionInput = {
7046
- /** The block number to simulate the contract at. */
7047
- blockNumber: Scalars['Int']['input'];
7048
- /** The contract address of the token. */
7049
- contractAddress: Scalars['String']['input'];
7050
- /** The contract creation transaction hash from the live network. */
7051
- createTransactionHash: Scalars['String']['input'];
7052
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7053
- networkId: Scalars['Int']['input'];
7054
- };
7055
- export type SimulateCreatorErrorsType = {
7056
- __typename?: 'SimulateCreatorErrorsType';
7057
- creatorEthBalanceError?: Maybe<Scalars['String']['output']>;
7058
- creatorTokenBalanceError?: Maybe<Scalars['String']['output']>;
7059
- };
7060
- export type SimulateCreatorType = {
7061
- __typename?: 'SimulateCreatorType';
7062
- creatorAddress?: Maybe<Scalars['String']['output']>;
7063
- creatorEthBalance?: Maybe<Scalars['String']['output']>;
7064
- creatorTokenBalance?: Maybe<Scalars['String']['output']>;
7065
- };
7066
- export type SimulateDeployErrorsType = {
7067
- __typename?: 'SimulateDeployErrorsType';
7068
- deployError?: Maybe<Scalars['String']['output']>;
7069
- tokenMintedToDeployerError?: Maybe<Scalars['String']['output']>;
7070
- };
7071
- export type SimulateDeployInput = {
7072
- /** The block number to simulate the contract at. */
7073
- blockNumber: Scalars['Int']['input'];
7074
- /** The contract address of the token. */
7075
- contractAddress: Scalars['String']['input'];
7076
- /** The contract creation transaction input to simulate. */
7077
- contractInput: Scalars['String']['input'];
7078
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7079
- networkId: Scalars['Int']['input'];
7080
- };
7081
- export type SimulateDeployType = {
7082
- __typename?: 'SimulateDeployType';
7083
- deploySuccess?: Maybe<Scalars['Boolean']['output']>;
7084
- tokenMintedToDeployer?: Maybe<Scalars['String']['output']>;
7085
- };
7086
- export type SimulateLiquidityErrorsType = {
7087
- __typename?: 'SimulateLiquidityErrorsType';
7088
- addLiquidityError?: Maybe<Scalars['String']['output']>;
7089
- lpTotalSupplyError?: Maybe<Scalars['String']['output']>;
7090
- postLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
7091
- preLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
7092
- };
7093
- export type SimulateLiquidityType = {
7094
- __typename?: 'SimulateLiquidityType';
7095
- addLiquiditySuccess?: Maybe<Scalars['Boolean']['output']>;
7096
- liquiditySetByPreLiquidityOpenTradingCall?: Maybe<Scalars['Boolean']['output']>;
7097
- lpTotalSupply?: Maybe<Scalars['String']['output']>;
7098
- pairAddress?: Maybe<Scalars['String']['output']>;
7099
- postLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
7100
- postLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
7101
- preLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
7102
- preLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
7103
- preLiquidityEnableTradingSupportsTransfer?: Maybe<Scalars['Boolean']['output']>;
7104
- };
7105
- export type SimulateLiveContractInput = {
7106
- /** The block number to simulate the contract at. */
7107
- blockNumber?: InputMaybe<Scalars['Int']['input']>;
7108
- /** The contract address of the token. */
7109
- contractAddress: Scalars['String']['input'];
7110
- /** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
7111
- networkId: Scalars['Int']['input'];
7112
- };
7113
- export type SimulateOwnerErrorsType = {
7114
- __typename?: 'SimulateOwnerErrorsType';
7115
- ownerAddressError?: Maybe<Scalars['String']['output']>;
7116
- ownerEthBalanceError?: Maybe<Scalars['String']['output']>;
7117
- ownerTokenBalanceError?: Maybe<Scalars['String']['output']>;
7118
- };
7119
- export type SimulateOwnerType = {
7120
- __typename?: 'SimulateOwnerType';
7121
- ownerAddress?: Maybe<Scalars['String']['output']>;
7122
- ownerEthBalance?: Maybe<Scalars['String']['output']>;
7123
- ownerTokenBalance?: Maybe<Scalars['String']['output']>;
7124
- };
7125
- export type SimulateSwapErrorsType = {
7126
- __typename?: 'SimulateSwapErrorsType';
7127
- buyError?: Maybe<Scalars['String']['output']>;
7128
- buyErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
7129
- sellError?: Maybe<Scalars['String']['output']>;
7130
- sellErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
7131
- };
7132
- export type SimulateSwapType = {
7133
- __typename?: 'SimulateSwapType';
7134
- buyGasUsed?: Maybe<Scalars['String']['output']>;
7135
- buySuccess?: Maybe<Scalars['Boolean']['output']>;
7136
- buyTax?: Maybe<Scalars['String']['output']>;
7137
- maxBuyAmount?: Maybe<Scalars['String']['output']>;
7138
- maxSellAmount?: Maybe<Scalars['String']['output']>;
7139
- sellGasUsed?: Maybe<Scalars['String']['output']>;
7140
- sellSuccess?: Maybe<Scalars['Boolean']['output']>;
7141
- sellTax?: Maybe<Scalars['String']['output']>;
7142
- };
7143
- export declare enum SimulateTokenContractBuySellErrorEnum {
7144
- InsufficientLiquidity = "INSUFFICIENT_LIQUIDITY",
7145
- InsufficientOutputAmount = "INSUFFICIENT_OUTPUT_AMOUNT",
7146
- TransferFailed = "TRANSFER_FAILED",
7147
- UnknownError = "UNKNOWN_ERROR"
7148
- }
7149
- export type SimulateTokenContractErrors = {
7150
- __typename?: 'SimulateTokenContractErrors';
7151
- contractBalanceErrors: SimulateContractBalanceErrorsType;
7152
- creatorErrors: SimulateCreatorErrorsType;
7153
- deployErrors: SimulateDeployErrorsType;
7154
- liquidityErrors: SimulateLiquidityErrorsType;
7155
- ownerErrors: SimulateOwnerErrorsType;
7156
- simulatorError?: Maybe<Scalars['String']['output']>;
7157
- swapErrors: SimulateSwapErrorsType;
7158
- tokenErrors: SimulateTokenErrorsType;
7159
- transferErrors: SimulateTransferErrorsType;
7160
- };
7161
- export type SimulateTokenContractInput = {
7162
- /** Input for a token contract create transaction simulation. */
7163
- simulateCreateTransactionInput?: InputMaybe<SimulateCreateTransactionInput>;
7164
- /** Input for a token contract deploy simulation. */
7165
- simulateDeployInput?: InputMaybe<SimulateDeployInput>;
7166
- /** Input for a live token contract simulation. */
7167
- simulateLiveContractInput?: InputMaybe<SimulateLiveContractInput>;
7168
- };
7169
- export type SimulateTokenContractResponse = {
7170
- __typename?: 'SimulateTokenContractResponse';
7171
- error?: Maybe<Scalars['String']['output']>;
7172
- result: Scalars['Boolean']['output'];
7173
- simulationId?: Maybe<Scalars['String']['output']>;
7174
- };
7175
- export type SimulateTokenContractResult = {
7176
- __typename?: 'SimulateTokenContractResult';
7177
- analysisType: Scalars['Int']['output'];
7178
- blockNumber: Scalars['String']['output'];
7179
- contractBalance: SimulateContractBalanceType;
7180
- contractHashKey: Scalars['String']['output'];
7181
- creator: SimulateCreatorType;
7182
- deploy: SimulateDeployType;
7183
- errors: SimulateTokenContractErrors;
7184
- id: Scalars['String']['output'];
7185
- liquidity: SimulateLiquidityType;
7186
- networkId: Scalars['Int']['output'];
7187
- owner: SimulateOwnerType;
7188
- sortKey: Scalars['String']['output'];
7189
- status: SimulateTokenContractResultStatusEnum;
7190
- swap: SimulateSwapType;
7191
- timestamp: Scalars['Int']['output'];
7192
- token: SimulateTokenType;
7193
- transfer: SimulateTransferType;
7194
- uuid: Scalars['String']['output'];
7195
- uuidHashKey: Scalars['String']['output'];
7196
- };
7197
- export declare enum SimulateTokenContractResultStatusEnum {
7198
- Failure = "FAILURE",
7199
- Pending = "PENDING",
7200
- Success = "SUCCESS"
7201
- }
7202
- export type SimulateTokenErrorsType = {
7203
- __typename?: 'SimulateTokenErrorsType';
7204
- canRenounceOwnershipError?: Maybe<Scalars['String']['output']>;
7205
- canTransferOwnershipError?: Maybe<Scalars['String']['output']>;
7206
- decimalsError?: Maybe<Scalars['String']['output']>;
7207
- tokenNameError?: Maybe<Scalars['String']['output']>;
7208
- tokenSymbolError?: Maybe<Scalars['String']['output']>;
7209
- totalSupplyError?: Maybe<Scalars['String']['output']>;
7210
- };
7211
- export type SimulateTokenType = {
7212
- __typename?: 'SimulateTokenType';
7213
- canRenounceOwnership?: Maybe<Scalars['Boolean']['output']>;
7214
- canTransferOwnership?: Maybe<Scalars['Boolean']['output']>;
7215
- contractAddress: Scalars['String']['output'];
7216
- decimals?: Maybe<Scalars['Int']['output']>;
7217
- isOwnerRenounced?: Maybe<Scalars['Boolean']['output']>;
7218
- tokenName?: Maybe<Scalars['String']['output']>;
7219
- tokenSymbol?: Maybe<Scalars['String']['output']>;
7220
- totalSupply?: Maybe<Scalars['String']['output']>;
7221
- };
7222
- export type SimulateTransferErrorsType = {
7223
- __typename?: 'SimulateTransferErrorsType';
7224
- tokenContractApprovalError?: Maybe<Scalars['String']['output']>;
7225
- tokenTransferredToContractError?: Maybe<Scalars['String']['output']>;
7226
- userApprovalError?: Maybe<Scalars['String']['output']>;
7227
- };
7228
- export type SimulateTransferType = {
7229
- __typename?: 'SimulateTransferType';
7230
- tokenContractApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
7231
- tokenTransferredToContractSuccess?: Maybe<Scalars['Boolean']['output']>;
7232
- userApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
7233
- };
7234
- /** Community gathered social links of tokens/NFTs. */
6721
+ /** Social links for a token. */
7235
6722
  export type SocialLinks = {
7236
6723
  __typename?: 'SocialLinks';
7237
6724
  bitcointalk?: Maybe<Scalars['String']['output']>;
@@ -7257,30 +6744,12 @@ export type SocialLinks = {
7257
6744
  export declare enum SparklineAttribute {
7258
6745
  Price = "PRICE"
7259
6746
  }
6747
+ /** A value in a sparkline. */
7260
6748
  export type SparklineValue = {
7261
6749
  __typename?: 'SparklineValue';
7262
6750
  timestamp: Scalars['Int']['output'];
7263
6751
  value: Scalars['Float']['output'];
7264
6752
  };
7265
- export type StarknetNetworkConfig = {
7266
- __typename?: 'StarknetNetworkConfig';
7267
- baseTokenAddress: Scalars['String']['output'];
7268
- baseTokenSymbol: Scalars['String']['output'];
7269
- color?: Maybe<Scalars['String']['output']>;
7270
- defaultPairAddress: Scalars['String']['output'];
7271
- defaultPairQuoteToken: QuoteToken;
7272
- enabled: Scalars['Boolean']['output'];
7273
- id: Scalars['ID']['output'];
7274
- mainnet: Scalars['Boolean']['output'];
7275
- name: Scalars['String']['output'];
7276
- networkIconUrl: Scalars['String']['output'];
7277
- networkId: Scalars['Int']['output'];
7278
- networkName: Scalars['String']['output'];
7279
- networkShortName: Scalars['String']['output'];
7280
- newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7281
- stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7282
- wrappedBaseTokenSymbol: Scalars['String']['output'];
7283
- };
7284
6753
  /** Filter for NFT stats. */
7285
6754
  export type StatsFilter = {
7286
6755
  /** The percent change between the `current` and `previous`. */
@@ -7345,8 +6814,11 @@ export type Subscription = {
7345
6814
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7346
6815
  /** Live-streamed updates for newly listed pairs. */
7347
6816
  onLatestPairUpdated?: Maybe<LatestPair>;
6817
+ /** Live-streamed updates for newly listed tokens. */
7348
6818
  onLatestTokens?: Maybe<LatestToken>;
6819
+ /** Live-streamed launchpad token event. */
7349
6820
  onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
6821
+ /** Live-streamed launchpad token events batched (more efficient). */
7350
6822
  onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
7351
6823
  /** Live-streamed transactions for an NFT asset. */
7352
6824
  onNftAssetsCreated?: Maybe<NftAsset>;
@@ -7360,7 +6832,6 @@ export type Subscription = {
7360
6832
  onPriceUpdated?: Maybe<Price>;
7361
6833
  /** Live-streamed price updates for multiple tokens. */
7362
6834
  onPricesUpdated: Price;
7363
- onSimulateTokenContract: SimulateTokenContractResult;
7364
6835
  /** Live-streamed bar chart data to track price changes over time for a token. */
7365
6836
  onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
7366
6837
  /** Live-streamed events for a given token across all it's pools */
@@ -7380,11 +6851,9 @@ export type SubscriptionOnBalanceUpdatedArgs = {
7380
6851
  export type SubscriptionOnBarsUpdatedArgs = {
7381
6852
  pairId?: InputMaybe<Scalars['String']['input']>;
7382
6853
  quoteToken?: InputMaybe<QuoteToken>;
7383
- statsType?: InputMaybe<TokenPairStatisticsType>;
7384
6854
  };
7385
6855
  export type SubscriptionOnDetailedStatsUpdatedArgs = {
7386
6856
  pairId?: InputMaybe<Scalars['String']['input']>;
7387
- statsType?: InputMaybe<TokenPairStatisticsType>;
7388
6857
  tokenOfInterest?: InputMaybe<TokenOfInterest>;
7389
6858
  };
7390
6859
  export type SubscriptionOnEventLabelCreatedArgs = {
@@ -7393,7 +6862,6 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7393
6862
  export type SubscriptionOnEventsCreatedArgs = {
7394
6863
  address?: InputMaybe<Scalars['String']['input']>;
7395
6864
  id?: InputMaybe<Scalars['String']['input']>;
7396
- maker?: InputMaybe<Scalars['String']['input']>;
7397
6865
  networkId?: InputMaybe<Scalars['Int']['input']>;
7398
6866
  quoteToken?: InputMaybe<QuoteToken>;
7399
6867
  };
@@ -7415,6 +6883,9 @@ export type SubscriptionOnLatestTokensArgs = {
7415
6883
  export type SubscriptionOnLaunchpadTokenEventArgs = {
7416
6884
  input?: InputMaybe<OnLaunchpadTokenEventInput>;
7417
6885
  };
6886
+ export type SubscriptionOnLaunchpadTokenEventBatchArgs = {
6887
+ input?: InputMaybe<OnLaunchpadTokenEventBatchInput>;
6888
+ };
7418
6889
  export type SubscriptionOnNftAssetsCreatedArgs = {
7419
6890
  address?: InputMaybe<Scalars['String']['input']>;
7420
6891
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7433,7 +6904,6 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
7433
6904
  export type SubscriptionOnPairMetadataUpdatedArgs = {
7434
6905
  id?: InputMaybe<Scalars['String']['input']>;
7435
6906
  quoteToken?: InputMaybe<QuoteToken>;
7436
- statsType?: InputMaybe<TokenPairStatisticsType>;
7437
6907
  };
7438
6908
  export type SubscriptionOnPriceUpdatedArgs = {
7439
6909
  address?: InputMaybe<Scalars['String']['input']>;
@@ -7443,14 +6913,8 @@ export type SubscriptionOnPriceUpdatedArgs = {
7443
6913
  export type SubscriptionOnPricesUpdatedArgs = {
7444
6914
  input: Array<OnPricesUpdatedInput>;
7445
6915
  };
7446
- export type SubscriptionOnSimulateTokenContractArgs = {
7447
- contractAddress?: InputMaybe<Scalars['String']['input']>;
7448
- networkId: Scalars['Int']['input'];
7449
- simulationId?: InputMaybe<Scalars['String']['input']>;
7450
- };
7451
6916
  export type SubscriptionOnTokenBarsUpdatedArgs = {
7452
6917
  networkId?: InputMaybe<Scalars['Int']['input']>;
7453
- statsType?: InputMaybe<TokenPairStatisticsType>;
7454
6918
  tokenId?: InputMaybe<Scalars['String']['input']>;
7455
6919
  };
7456
6920
  export type SubscriptionOnTokenEventsCreatedArgs = {
@@ -7472,25 +6936,6 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7472
6936
  export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7473
6937
  input: OnUnconfirmedEventsCreatedByMakerInput;
7474
6938
  };
7475
- export type SuiNetworkConfig = {
7476
- __typename?: 'SuiNetworkConfig';
7477
- baseTokenAddress: Scalars['String']['output'];
7478
- baseTokenSymbol: Scalars['String']['output'];
7479
- color?: Maybe<Scalars['String']['output']>;
7480
- defaultPairAddress: Scalars['String']['output'];
7481
- defaultPairQuoteToken: QuoteToken;
7482
- enabled: Scalars['Boolean']['output'];
7483
- id: Scalars['ID']['output'];
7484
- mainnet: Scalars['Boolean']['output'];
7485
- name: Scalars['String']['output'];
7486
- networkIconUrl: Scalars['String']['output'];
7487
- networkId: Scalars['Int']['output'];
7488
- networkName: Scalars['String']['output'];
7489
- networkShortName: Scalars['String']['output'];
7490
- newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7491
- stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7492
- wrappedBaseTokenSymbol: Scalars['String']['output'];
7493
- };
7494
6939
  /** Event data for a token swap event. */
7495
6940
  export type SwapEventData = {
7496
6941
  __typename?: 'SwapEventData';
@@ -7694,7 +7139,6 @@ export type TokenFilterConnection = {
7694
7139
  /** A token matching a set of filter parameters. */
7695
7140
  export type TokenFilterResult = {
7696
7141
  __typename?: 'TokenFilterResult';
7697
- /** @deprecated Age isn't supported - use createdAt instead */
7698
7142
  age?: Maybe<Scalars['Int']['output']>;
7699
7143
  /** The number of buys in the past hour. */
7700
7144
  buyCount1?: Maybe<Scalars['Int']['output']>;
@@ -7732,7 +7176,6 @@ export type TokenFilterResult = {
7732
7176
  createdAt?: Maybe<Scalars['Int']['output']>;
7733
7177
  /** The exchanges the token is listed on. */
7734
7178
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
7735
- /** @deprecated FDV isn't supported - use marketCap instead */
7736
7179
  fdv?: Maybe<Scalars['String']['output']>;
7737
7180
  /** The highest price in USD in the past hour. */
7738
7181
  high1?: Maybe<Scalars['String']['output']>;
@@ -7863,7 +7306,6 @@ export type TokenFilterResult = {
7863
7306
  };
7864
7307
  /** Input type of `TokenFilters`. */
7865
7308
  export type TokenFilters = {
7866
- /** @deprecated Age isn't supported - use createdAt instead */
7867
7309
  age?: InputMaybe<NumberFilter>;
7868
7310
  /** The number of buys in the past hour. */
7869
7311
  buyCount1?: InputMaybe<NumberFilter>;
@@ -7905,7 +7347,6 @@ export type TokenFilters = {
7905
7347
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7906
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. */
7907
7349
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7908
- /** @deprecated FDV isn't supported - use marketCap instead */
7909
7350
  fdv?: InputMaybe<NumberFilter>;
7910
7351
  /** The token in freezable */
7911
7352
  freezable?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7961,8 +7402,6 @@ export type TokenFilters = {
7961
7402
  mintable?: InputMaybe<Scalars['Boolean']['input']>;
7962
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. */
7963
7404
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7964
- /** docs: hide */
7965
- notableHolderCount?: InputMaybe<NumberFilter>;
7966
7405
  /** Filter potential Scams */
7967
7406
  potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
7968
7407
  /** The token price in USD. */
@@ -8219,7 +7658,7 @@ export type TokenPairEventWebhookConditionInput = {
8219
7658
  /** The token contract address to listen for. */
8220
7659
  tokenAddress?: InputMaybe<StringEqualsConditionInput>;
8221
7660
  };
8222
- /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
7661
+ /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
8223
7662
  export declare enum TokenPairStatisticsType {
8224
7663
  Filtered = "FILTERED",
8225
7664
  Unfiltered = "UNFILTERED"
@@ -8233,7 +7672,6 @@ export type TokenRanking = {
8233
7672
  };
8234
7673
  /** The attribute used to rank tokens. */
8235
7674
  export declare enum TokenRankingAttribute {
8236
- /** @deprecated Use createdAt instead */
8237
7675
  Age = "age",
8238
7676
  BuyCount1 = "buyCount1",
8239
7677
  BuyCount4 = "buyCount4",
@@ -8327,11 +7765,12 @@ export type TokenSearchResponse = {
8327
7765
  __typename?: 'TokenSearchResponse';
8328
7766
  /** The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`. */
8329
7767
  hasMore?: Maybe<Scalars['Int']['output']>;
8330
- /** 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. */
8331
7769
  hasMoreLowVolume?: Maybe<Scalars['Int']['output']>;
8332
7770
  /** A list of tokens. */
8333
7771
  tokens?: Maybe<Array<TokenWithMetadata>>;
8334
7772
  };
7773
+ /** A sparkline for a token. */
8335
7774
  export type TokenSparkline = {
8336
7775
  __typename?: 'TokenSparkline';
8337
7776
  /** Which attribute the sparkline is charting. Defaults to `PRICE` */
@@ -8341,6 +7780,7 @@ export type TokenSparkline = {
8341
7780
  /** List of sparkline values to chart */
8342
7781
  sparkline: Array<SparklineValue>;
8343
7782
  };
7783
+ /** Input type of `tokenSparkline`. */
8344
7784
  export type TokenSparklineInput = {
8345
7785
  /** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
8346
7786
  ids: Array<Scalars['String']['input']>;
@@ -8408,6 +7848,7 @@ export type TokenTopTradersInput = {
8408
7848
  /** The trading period */
8409
7849
  tradingPeriod: TradingPeriod;
8410
7850
  };
7851
+ /** A connection of wallets matching a filter on a specific token. */
8411
7852
  export type TokenWalletFilterConnection = {
8412
7853
  __typename?: 'TokenWalletFilterConnection';
8413
7854
  /** The number of wallets returned. */
@@ -8446,6 +7887,8 @@ export type TokenWalletFilterResult = {
8446
7887
  amountSoldUsdAll1y: Scalars['String']['output'];
8447
7888
  /** Amount sold USD all in the past 30 days */
8448
7889
  amountSoldUsdAll30d: Scalars['String']['output'];
7890
+ /** The backfill state of the wallet. */
7891
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8449
7892
  /** The bot score for the wallet. */
8450
7893
  botScore?: Maybe<Scalars['Int']['output']>;
8451
7894
  /** Number of buys in the past day */
@@ -8673,6 +8116,7 @@ export type UnconfirmedIndividualBarData = {
8673
8116
  /** The volume with higher precision. */
8674
8117
  volume: Scalars['String']['output'];
8675
8118
  };
8119
+ /** Event data for a token liquidity change event. */
8676
8120
  export type UnconfirmedLiquidityChangeEventData = {
8677
8121
  __typename?: 'UnconfirmedLiquidityChangeEventData';
8678
8122
  /** The amount of `token0` added or removed from the pair. */
@@ -8702,6 +8146,7 @@ export type UnconfirmedResolutionBarData = {
8702
8146
  /** 15 second resolution. */
8703
8147
  r15S?: Maybe<UnconfirmedIndividualBarData>;
8704
8148
  };
8149
+ /** Event data for a token swap event. */
8705
8150
  export type UnconfirmedSwapEventData = {
8706
8151
  __typename?: 'UnconfirmedSwapEventData';
8707
8152
  /** The amount of `baseToken` involved in the swap */
@@ -8719,6 +8164,21 @@ export type UnconfirmedSwapEventData = {
8719
8164
  /** The type of token event, `Swap`. */
8720
8165
  type: EventType;
8721
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
+ }
8722
8182
  /** The data for a chart of a wallet's activity. */
8723
8183
  export type WalletChartData = {
8724
8184
  __typename?: 'WalletChartData';
@@ -8741,7 +8201,7 @@ export type WalletChartInput = {
8741
8201
  networkId?: InputMaybe<Scalars['Int']['input']>;
8742
8202
  /** The range of time for the chart */
8743
8203
  range: RangeInput;
8744
- /** 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`. */
8745
8205
  resolution: Scalars['String']['input'];
8746
8206
  /** The wallet address */
8747
8207
  walletAddress: Scalars['String']['input'];
@@ -8755,6 +8215,8 @@ export type WalletChartRange = {
8755
8215
  /** The response for a chart of a wallet's activity. */
8756
8216
  export type WalletChartResponse = {
8757
8217
  __typename?: 'WalletChartResponse';
8218
+ /** The backfill state of the wallet. */
8219
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8758
8220
  /** The data for the chart */
8759
8221
  data: Array<WalletChartData>;
8760
8222
  /** The network ID */
@@ -8766,6 +8228,7 @@ export type WalletChartResponse = {
8766
8228
  /** The wallet address */
8767
8229
  walletAddress: Scalars['String']['output'];
8768
8230
  };
8231
+ /** A connection of wallets matching a filter. */
8769
8232
  export type WalletFilterConnection = {
8770
8233
  __typename?: 'WalletFilterConnection';
8771
8234
  /** The number of wallets returned. */
@@ -8775,6 +8238,7 @@ export type WalletFilterConnection = {
8775
8238
  /** The list of wallets matching the filter parameters. */
8776
8239
  results: Array<WalletFilterResult>;
8777
8240
  };
8241
+ /** A wallet matching a filter. */
8778
8242
  export type WalletFilterResult = {
8779
8243
  __typename?: 'WalletFilterResult';
8780
8244
  /** The wallet address */
@@ -8795,6 +8259,8 @@ export type WalletFilterResult = {
8795
8259
  averageSwapAmountUsd1y: Scalars['String']['output'];
8796
8260
  /** Average swap amount in USD in the past 30 days */
8797
8261
  averageSwapAmountUsd30d: Scalars['String']['output'];
8262
+ /** The backfill state of the wallet. */
8263
+ backfillState?: Maybe<WalletAggregateBackfillState>;
8798
8264
  /** The bot score for the wallet. */
8799
8265
  botScore?: Maybe<Scalars['Int']['output']>;
8800
8266
  /** The unix timestamp for the first transaction from this wallet */
@@ -8874,6 +8340,7 @@ export type WalletFilterResult = {
8874
8340
  /** Win rate in the past 30 days */
8875
8341
  winRate30d: Scalars['Float']['output'];
8876
8342
  };
8343
+ /** Filters for a wallet. */
8877
8344
  export type WalletFilters = {
8878
8345
  /** Average profit in USD per trade in the past day */
8879
8346
  averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
@@ -8968,6 +8435,24 @@ export type WalletFilters = {
8968
8435
  /** Win rate in the past 30 days */
8969
8436
  winRate30d?: InputMaybe<NumberFilter>;
8970
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. */
8971
8456
  export type WalletNetworkFilters = {
8972
8457
  /** Average profit in USD per trade in the past day */
8973
8458
  averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
@@ -9060,12 +8545,14 @@ export type WalletNetworkFilters = {
9060
8545
  /** Win rate in the past 30 days */
9061
8546
  winRate30d?: InputMaybe<NumberFilter>;
9062
8547
  };
8548
+ /** A wallet ranking on a specific network. */
9063
8549
  export type WalletNetworkRanking = {
9064
8550
  /** The attribute to rank wallets by. */
9065
8551
  attribute?: InputMaybe<WalletNetworkRankingAttribute>;
9066
8552
  /** The direction to apply to the ranking attribute. */
9067
8553
  direction?: InputMaybe<RankingDirection>;
9068
8554
  };
8555
+ /** Attributes for a wallet ranking on a specific network. */
9069
8556
  export declare enum WalletNetworkRankingAttribute {
9070
8557
  AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9071
8558
  AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
@@ -9161,12 +8648,14 @@ export type WalletNftCollectionsResponse = {
9161
8648
  /** The list of collections for a wallet. */
9162
8649
  items: Array<WalletNftCollection>;
9163
8650
  };
8651
+ /** A wallet ranking. */
9164
8652
  export type WalletRanking = {
9165
8653
  /** The attribute to rank wallets by. */
9166
8654
  attribute?: InputMaybe<WalletRankingAttribute>;
9167
8655
  /** The direction to apply to the ranking attribute. */
9168
8656
  direction?: InputMaybe<RankingDirection>;
9169
8657
  };
8658
+ /** Attributes for a wallet ranking. */
9170
8659
  export declare enum WalletRankingAttribute {
9171
8660
  AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9172
8661
  AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
@@ -9221,12 +8710,14 @@ export declare enum WalletStatsDuration {
9221
8710
  Week1 = "week1",
9222
8711
  Year1 = "year1"
9223
8712
  }
8713
+ /** A range for a wallet token filter. */
9224
8714
  export type WalletTokenFilterRange = {
9225
8715
  /** The maximum value (inclusive) */
9226
8716
  max?: InputMaybe<Scalars['String']['input']>;
9227
8717
  /** The minimum value (inclusive) */
9228
8718
  min?: InputMaybe<Scalars['String']['input']>;
9229
8719
  };
8720
+ /** Filters for a wallet on a specific token. */
9230
8721
  export type WalletTokenFilters = {
9231
8722
  /** Filter by amount bought in USD in the past day */
9232
8723
  amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
@@ -9307,6 +8798,7 @@ export type WalletTokenFilters = {
9307
8798
  /** Filter by token balance */
9308
8799
  tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9309
8800
  };
8801
+ /** Filters for a wallet on a specific token. */
9310
8802
  export type WalletTokenFiltersV2 = {
9311
8803
  /** Filter by amount bought in USD in the past day */
9312
8804
  amountBoughtUsd1d?: InputMaybe<NumberFilter>;
@@ -9387,12 +8879,14 @@ export type WalletTokenFiltersV2 = {
9387
8879
  /** Filter by token balance */
9388
8880
  tokenBalance?: InputMaybe<NumberFilter>;
9389
8881
  };
8882
+ /** A wallet ranking on a specific token. */
9390
8883
  export type WalletTokenRanking = {
9391
8884
  /** The attribute to rank wallets by */
9392
8885
  attribute: WalletTokenRankingAttribute;
9393
8886
  /** The direction to apply to the ranking attribute */
9394
8887
  direction: RankingDirection;
9395
8888
  };
8889
+ /** Attributes for a wallet ranking on a specific token. */
9396
8890
  export declare enum WalletTokenRankingAttribute {
9397
8891
  /** Amount bought in USD in the past day */
9398
8892
  AmountBoughtUsd1d = "amountBoughtUsd1d",