@codex-data/sdk 1.0.6 → 1.0.8

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 (158) hide show
  1. package/dist/resources/graphql.d.ts +1336 -16
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +224 -1
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/scripts/generateGraphql.js +3 -4
  6. package/dist/scripts/generateGraphql.js.map +1 -1
  7. package/dist/sdk/Mutation.d.ts +1 -1
  8. package/dist/sdk/Mutation.d.ts.map +1 -1
  9. package/dist/sdk/Mutation.js +1 -1
  10. package/dist/sdk/Mutation.js.map +1 -1
  11. package/dist/sdk/Query.d.ts +54 -50
  12. package/dist/sdk/Query.d.ts.map +1 -1
  13. package/dist/sdk/Query.js +53 -49
  14. package/dist/sdk/Query.js.map +1 -1
  15. package/dist/sdk/Subscribe.d.ts +18 -17
  16. package/dist/sdk/Subscribe.d.ts.map +1 -1
  17. package/dist/sdk/Subscribe.js +170 -76
  18. package/dist/sdk/Subscribe.js.map +1 -1
  19. package/dist/sdk/generated/gql.d.ts +69 -34
  20. package/dist/sdk/generated/gql.d.ts.map +1 -1
  21. package/dist/sdk/generated/gql.js +22 -17
  22. package/dist/sdk/generated/gql.js.map +1 -1
  23. package/dist/sdk/generated/graphql.d.ts +2002 -17
  24. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  25. package/dist/sdk/generated/graphql.js +248 -20
  26. package/dist/sdk/generated/graphql.js.map +1 -1
  27. package/dist/sdk/index.d.ts +11 -3
  28. package/dist/sdk/index.d.ts.map +1 -1
  29. package/dist/sdk/index.js +33 -19
  30. package/dist/sdk/index.js.map +1 -1
  31. package/dist/sdk/index.test.js +2 -2
  32. package/dist/sdk/index.test.js.map +1 -1
  33. package/package.json +1 -2
  34. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  35. package/src/resources/generated_queries/FilterPairs.graphql +20 -0
  36. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  37. package/src/resources/generated_queries/FilterTokens.graphql +21 -0
  38. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  39. package/src/resources/generated_queries/GetBars.graphql +4 -1
  40. package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
  41. package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
  42. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
  43. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  44. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  45. package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
  46. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
  47. package/src/resources/generated_queries/PairMetadata.graphql +4 -0
  48. package/src/resources/generated_queries/Token.graphql +2 -0
  49. package/src/resources/generated_queries/Tokens.graphql +2 -0
  50. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  51. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +1 -0
  52. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +2 -0
  53. package/{dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql → src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql} +4 -2
  54. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
  55. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  56. package/src/resources/graphql.schema.json +16044 -7731
  57. package/src/resources/graphql.ts +1378 -16
  58. package/src/resources/schema.graphql +1882 -25
  59. package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
  60. package/src/scripts/generateGraphql.ts +2 -4
  61. package/src/sdk/Mutation.ts +2 -2
  62. package/src/sdk/Query.ts +120 -104
  63. package/src/sdk/Subscribe.ts +217 -115
  64. package/src/sdk/generated/gql.ts +59 -34
  65. package/src/sdk/generated/graphql.ts +1450 -50
  66. package/src/sdk/index.test.ts +3 -3
  67. package/src/sdk/index.ts +69 -18
  68. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  69. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  70. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  71. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  72. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  73. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  74. package/dist/resources/generated_queries/Balances.graphql +0 -15
  75. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  76. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  77. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  78. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  79. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  80. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  81. package/dist/resources/generated_queries/FilterPairs.graphql +0 -399
  82. package/dist/resources/generated_queries/FilterTokens.graphql +0 -336
  83. package/dist/resources/generated_queries/GetBars.graphql +0 -209
  84. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -133
  85. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  86. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -966
  87. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -950
  88. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  89. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  90. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  91. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  92. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  93. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  94. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  95. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  96. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  97. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  98. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  99. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  100. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  101. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  102. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  103. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  104. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  105. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  106. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  107. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  108. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  109. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  110. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -100
  111. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -100
  112. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  113. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  114. package/dist/resources/generated_queries/Holders.graphql +0 -18
  115. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  116. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  117. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -169
  118. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -338
  119. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  120. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  121. package/dist/resources/generated_queries/PairMetadata.graphql +0 -225
  122. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  123. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  124. package/dist/resources/generated_queries/Token.graphql +0 -76
  125. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  126. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  127. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  128. package/dist/resources/generated_queries/Tokens.graphql +0 -76
  129. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  130. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  131. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  132. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  133. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  134. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  135. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  136. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -103
  137. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  138. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  139. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  140. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  141. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  142. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  143. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -225
  144. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  145. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  146. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  147. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  148. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -90
  149. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  150. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  151. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  152. package/dist/resources/graphql.schema.json +0 -55231
  153. package/dist/resources/graphql.ts +0 -8865
  154. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  155. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  156. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  157. package/dist/resources/schema.graphql +0 -11771
  158. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
@@ -195,15 +195,25 @@ export type Balance = {
195
195
  export type BalancesInput = {
196
196
  /** A cursor for use in pagination. */
197
197
  cursor?: InputMaybe<Scalars['String']['input']>;
198
- /** Optional token specifically request the balance for */
198
+ /**
199
+ * Optional token specifically request the balance for. Only works with `walletId`.
200
+ * @deprecated Use tokens list instead
201
+ */
199
202
  filterToken?: InputMaybe<Scalars['String']['input']>;
200
- /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
203
+ /** 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`. */
201
204
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
202
- /** The maximum number of holdings to return. */
205
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
203
206
  limit?: InputMaybe<Scalars['Int']['input']>;
207
+ /** The network IDs to filter by. */
208
+ networks?: InputMaybe<Array<Scalars['Int']['input']>>;
209
+ /** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
210
+ tokens?: InputMaybe<Array<Scalars['String']['input']>>;
204
211
  /** The wallet address to filter by. */
205
212
  walletAddress?: InputMaybe<Scalars['String']['input']>;
206
- /** The ID of the wallet (`walletAddress:networkId`). */
213
+ /**
214
+ * The ID of the wallet (`walletAddress:networkId`).
215
+ * @deprecated Use walletAddress and networkId instead
216
+ */
207
217
  walletId?: InputMaybe<Scalars['String']['input']>;
208
218
  };
209
219
  export type BalancesResponse = {
@@ -248,7 +258,10 @@ export type BarsResponse = {
248
258
  traders: Array<Maybe<Scalars['Int']['output']>>;
249
259
  /** The number of transactions */
250
260
  transactions: Array<Maybe<Scalars['Int']['output']>>;
251
- /** The volume. */
261
+ /**
262
+ * The volume.
263
+ * @deprecated Use volume field instead
264
+ */
252
265
  v: Array<Maybe<Scalars['Int']['output']>>;
253
266
  /** The volume with higher precision. */
254
267
  volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
@@ -814,6 +827,46 @@ export declare enum DetailedStatsWindowSize {
814
827
  Hour12 = "hour12",
815
828
  Min5 = "min5"
816
829
  }
830
+ /** The detailed stats for a wallet. */
831
+ export type DetailedWalletStats = {
832
+ __typename?: 'DetailedWalletStats';
833
+ /** The likelihood of the wallet being a bot */
834
+ botScore?: Maybe<Scalars['Int']['output']>;
835
+ /** The labels associated with the wallet */
836
+ labels: Array<Scalars['String']['output']>;
837
+ /** The last transaction timestamp */
838
+ lastTransactionAt: Scalars['Int']['output'];
839
+ /** The network breakdown */
840
+ networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
841
+ /**
842
+ * The network specific stats
843
+ * @deprecated Use networkBreakdown instead
844
+ */
845
+ networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
846
+ /** The likelihood of the wallet being a scammer */
847
+ scammerScore?: Maybe<Scalars['Int']['output']>;
848
+ /** The stats for the last day */
849
+ statsDay1?: Maybe<WindowedWalletStats>;
850
+ /** The stats for the last 30 days */
851
+ statsDay30?: Maybe<WindowedWalletStats>;
852
+ /** The stats for the last week */
853
+ statsWeek1?: Maybe<WindowedWalletStats>;
854
+ /** The stats for the last year */
855
+ statsYear1?: Maybe<WindowedWalletStats>;
856
+ /** The wallet address */
857
+ walletAddress: Scalars['String']['output'];
858
+ };
859
+ /** The input for detailed wallet stats. */
860
+ export type DetailedWalletStatsInput = {
861
+ /** Whether to include network breakdown stats */
862
+ includeNetworkBreakdown?: InputMaybe<Scalars['Boolean']['input']>;
863
+ /** The network ID */
864
+ networkId?: InputMaybe<Scalars['Int']['input']>;
865
+ /** The timestamp to get stats for */
866
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
867
+ /** The wallet address */
868
+ walletAddress: Scalars['String']['input'];
869
+ };
817
870
  /** Metadata for a contract. */
818
871
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
819
872
  /** Metadata for an NFT collection. */
@@ -976,6 +1029,8 @@ export type Event = {
976
1029
  transactionHash: Scalars['String']['output'];
977
1030
  /** The index of the transaction within the block. */
978
1031
  transactionIndex: Scalars['Int']['output'];
1032
+ /** The age of the wallet in seconds. */
1033
+ walletAge?: Maybe<Scalars['Int']['output']>;
979
1034
  };
980
1035
  /** Response returned by `getTokenEvents`. */
981
1036
  export type EventConnection = {
@@ -1251,6 +1306,70 @@ export type FilterExchange = {
1251
1306
  /** The URL for the exchange's trading platform. */
1252
1307
  tradeUrl?: Maybe<Scalars['String']['output']>;
1253
1308
  };
1309
+ /** The input for filtering wallets for a network. */
1310
+ export type FilterNetworkWalletsInput = {
1311
+ /** Exclude wallets with these labels. */
1312
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1313
+ /** A set of filters to apply. */
1314
+ filters?: InputMaybe<WalletNetworkFilters>;
1315
+ /** Include wallets with these labels. */
1316
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1317
+ /** The maximum number of wallets to return. */
1318
+ limit?: InputMaybe<Scalars['Int']['input']>;
1319
+ /** The network ID to filter wallets for */
1320
+ networkId: Scalars['Int']['input'];
1321
+ /** Where in the list the server should start when returning items. Use `count`+`offset` from the previous query to request the next page of results. */
1322
+ offset?: InputMaybe<Scalars['Int']['input']>;
1323
+ /** A list of ranking attributes to apply. */
1324
+ rankings?: InputMaybe<Array<InputMaybe<WalletNetworkRanking>>>;
1325
+ /** A list of wallet addresses to filter by. */
1326
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1327
+ };
1328
+ /** The input for filtering wallets for a token. */
1329
+ export type FilterTokenWalletsInput = {
1330
+ /** Exclude wallets with these labels. */
1331
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1332
+ /**
1333
+ * A set of filters to apply
1334
+ * @deprecated Use filtersV2 instead
1335
+ */
1336
+ filters?: InputMaybe<WalletTokenFilters>;
1337
+ /** A set of filters to apply */
1338
+ filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1339
+ /** Include wallets with these labels. */
1340
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1341
+ /** The maximum number of wallets to return */
1342
+ limit?: InputMaybe<Scalars['Int']['input']>;
1343
+ /** The network ID to filter wallets for */
1344
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1345
+ /** Where in the list the server should start when returning items */
1346
+ offset?: InputMaybe<Scalars['Int']['input']>;
1347
+ /** A phrase to search for in token symbol and name */
1348
+ phrase?: InputMaybe<Scalars['String']['input']>;
1349
+ /** A list of ranking attributes to apply */
1350
+ rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1351
+ /** The ID of the token to filter wallets for */
1352
+ tokenId?: InputMaybe<Scalars['String']['input']>;
1353
+ /** The wallet address to filter wallets for */
1354
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
1355
+ };
1356
+ /** The input for filtering wallets. */
1357
+ export type FilterWalletsInput = {
1358
+ /** Exclude wallets with these labels. */
1359
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1360
+ /** A set of filters to apply. */
1361
+ filters?: InputMaybe<WalletFilters>;
1362
+ /** Include wallets with these labels. */
1363
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1364
+ /** The maximum number of wallets to return. */
1365
+ limit?: InputMaybe<Scalars['Int']['input']>;
1366
+ /** Where in the list the server should start when returning items. Use `count`+`offset` from the previous query to request the next page of results. */
1367
+ offset?: InputMaybe<Scalars['Int']['input']>;
1368
+ /** A list of ranking attributes to apply. */
1369
+ rankings?: InputMaybe<Array<InputMaybe<WalletRanking>>>;
1370
+ /** A list of wallet addresses to filter by. */
1371
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1372
+ };
1254
1373
  /** Metadata for a front-run label. */
1255
1374
  export type FrontRunLabelData = {
1256
1375
  __typename?: 'FrontRunLabelData';
@@ -1304,13 +1423,13 @@ export type GetDetailedPairsStatsInput = {
1304
1423
  };
1305
1424
  export type GetGasEstimateInput = {
1306
1425
  customGas?: InputMaybe<Scalars['String']['input']>;
1307
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1426
+ exchangeAddress: Scalars['String']['input'];
1308
1427
  gasPrice?: InputMaybe<GasPrice>;
1309
1428
  inputTokenAddress: Scalars['String']['input'];
1310
1429
  inputTokenAmount: Scalars['String']['input'];
1311
1430
  networkId: Scalars['Int']['input'];
1312
1431
  outputTokenAddress: Scalars['String']['input'];
1313
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1432
+ poolAddress: Scalars['String']['input'];
1314
1433
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1315
1434
  slippage?: InputMaybe<Scalars['Float']['input']>;
1316
1435
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1386,12 +1505,12 @@ export type GetPriceInput = {
1386
1505
  };
1387
1506
  export type GetQuoteInput = {
1388
1507
  customGas?: InputMaybe<Scalars['String']['input']>;
1389
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1508
+ exchangeAddress: Scalars['String']['input'];
1390
1509
  inputTokenAddress: Scalars['String']['input'];
1391
1510
  inputTokenAmount: Scalars['String']['input'];
1392
1511
  networkId: Scalars['Int']['input'];
1393
1512
  outputTokenAddress: Scalars['String']['input'];
1394
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1513
+ poolAddress: Scalars['String']['input'];
1395
1514
  slippage?: InputMaybe<Scalars['Float']['input']>;
1396
1515
  userId?: InputMaybe<Scalars['Int']['input']>;
1397
1516
  };
@@ -1672,6 +1791,10 @@ export type LaunchpadData = {
1672
1791
  completedSlot?: Maybe<Scalars['Int']['output']>;
1673
1792
  /** The percentage of the pool that was sold to the public. */
1674
1793
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1794
+ /** The name of the launchpad. */
1795
+ launchpadName?: Maybe<Scalars['String']['output']>;
1796
+ /** The launchpad protocol */
1797
+ launchpadProtocol?: Maybe<Scalars['String']['output']>;
1675
1798
  /** Indicates if the launchpad was migrated. */
1676
1799
  migrated?: Maybe<Scalars['Boolean']['output']>;
1677
1800
  /** The unix timestamp when the launchpad was migrated. */
@@ -1680,6 +1803,11 @@ export type LaunchpadData = {
1680
1803
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1681
1804
  /** The slot number when the launchpad was migrated. */
1682
1805
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1806
+ /**
1807
+ * The name of the launchpad.
1808
+ * @deprecated Use launchpadName instead
1809
+ */
1810
+ name?: Maybe<Scalars['String']['output']>;
1683
1811
  /** The address of the pool. */
1684
1812
  poolAddress?: Maybe<Scalars['String']['output']>;
1685
1813
  };
@@ -1713,15 +1841,26 @@ export type LaunchpadTokenEventOutput = {
1713
1841
  };
1714
1842
  /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
1715
1843
  export declare enum LaunchpadTokenEventType {
1844
+ /** The token has been completed */
1716
1845
  Completed = "Completed",
1846
+ /** The token has been created with metadata */
1717
1847
  Created = "Created",
1848
+ /** The token has been discovered */
1849
+ Deployed = "Deployed",
1850
+ /** The token has been migrated */
1718
1851
  Migrated = "Migrated",
1852
+ /** The token's statistics have been updated */
1719
1853
  Updated = "Updated"
1720
1854
  }
1721
1855
  /** The protocol of the token. */
1722
1856
  export declare enum LaunchpadTokenProtocol {
1857
+ BoopFun = "BoopFun",
1858
+ EgoTech = "EgoTech",
1723
1859
  FourMeme = "FourMeme",
1724
- Pump = "Pump"
1860
+ Pump = "Pump",
1861
+ Rainbow = "Rainbow",
1862
+ RaydiumLaunchpad = "RaydiumLaunchpad",
1863
+ Vertigo = "Vertigo"
1725
1864
  }
1726
1865
  export type LiquidityData = {
1727
1866
  __typename?: 'LiquidityData';
@@ -1945,6 +2084,138 @@ export type Network = {
1945
2084
  name: Scalars['String']['output'];
1946
2085
  networkShortName?: Maybe<Scalars['String']['output']>;
1947
2086
  };
2087
+ /** A breakdown of the wallet's activity by network. */
2088
+ export type NetworkBreakdown = {
2089
+ __typename?: 'NetworkBreakdown';
2090
+ /** The native token balance */
2091
+ nativeTokenBalance: Scalars['String']['output'];
2092
+ /** The network ID */
2093
+ networkId: Scalars['Int']['output'];
2094
+ /** The stats for the last day */
2095
+ statsDay1?: Maybe<WindowedWalletStats>;
2096
+ /** The stats for the last 30 days */
2097
+ statsDay30?: Maybe<WindowedWalletStats>;
2098
+ /** The stats for the last week */
2099
+ statsWeek1?: Maybe<WindowedWalletStats>;
2100
+ /** The stats for the last year */
2101
+ statsYear1?: Maybe<WindowedWalletStats>;
2102
+ };
2103
+ export type NetworkWalletFilterConnection = {
2104
+ __typename?: 'NetworkWalletFilterConnection';
2105
+ /** The number of wallets returned. */
2106
+ count: Scalars['Int']['output'];
2107
+ /** Where in the list the server started when returning items. */
2108
+ offset: Scalars['Int']['output'];
2109
+ /** The list of wallets matching the filter parameters. */
2110
+ results: Array<NetworkWalletFilterResult>;
2111
+ };
2112
+ export type NetworkWalletFilterResult = {
2113
+ __typename?: 'NetworkWalletFilterResult';
2114
+ /** The wallet address */
2115
+ address: Scalars['String']['output'];
2116
+ /** Average profit in USD per trade in the past day */
2117
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
2118
+ /** Average profit in USD per trade in the past week */
2119
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
2120
+ /** Average profit in USD per trade in the past year */
2121
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
2122
+ /** Average profit in USD per trade in the past 30 days */
2123
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
2124
+ /** Average swap amount in USD in the past day */
2125
+ averageSwapAmountUsd1d: Scalars['String']['output'];
2126
+ /** Average swap amount in USD in the past week */
2127
+ averageSwapAmountUsd1w: Scalars['String']['output'];
2128
+ /** Average swap amount in USD in the past year */
2129
+ averageSwapAmountUsd1y: Scalars['String']['output'];
2130
+ /** Average swap amount in USD in the past 30 days */
2131
+ averageSwapAmountUsd30d: Scalars['String']['output'];
2132
+ /** The bot score for the wallet. */
2133
+ botScore?: Maybe<Scalars['Int']['output']>;
2134
+ /** The unix timestamp for the first transaction from this wallet */
2135
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
2136
+ /** The labels associated with the wallet */
2137
+ labels: Array<Scalars['String']['output']>;
2138
+ /** The unix timestamp for the last transaction from this wallet */
2139
+ lastTransactionAt: Scalars['Int']['output'];
2140
+ /** The native token balance of the wallet */
2141
+ nativeTokenBalance: Scalars['String']['output'];
2142
+ /** The network ID of the wallet */
2143
+ networkId: Scalars['Int']['output'];
2144
+ /** Realized profit percentage in the past day */
2145
+ realizedProfitPercentage1d: Scalars['Float']['output'];
2146
+ /** Realized profit percentage in the past week */
2147
+ realizedProfitPercentage1w: Scalars['Float']['output'];
2148
+ /** Realized profit percentage in the past year */
2149
+ realizedProfitPercentage1y: Scalars['Float']['output'];
2150
+ /** Realized profit percentage in the past 30 days */
2151
+ realizedProfitPercentage30d: Scalars['Float']['output'];
2152
+ /** Realized profit in USD in the past day */
2153
+ realizedProfitUsd1d: Scalars['String']['output'];
2154
+ /** Realized profit in USD in the past week */
2155
+ realizedProfitUsd1w: Scalars['String']['output'];
2156
+ /** Realized profit in USD in the past year */
2157
+ realizedProfitUsd1y: Scalars['String']['output'];
2158
+ /** Realized profit in USD in the past 30 days */
2159
+ realizedProfitUsd30d: Scalars['String']['output'];
2160
+ /** The scammer score for the wallet. */
2161
+ scammerScore?: Maybe<Scalars['Int']['output']>;
2162
+ /** Number of swaps in the past day */
2163
+ swaps1d: Scalars['Int']['output'];
2164
+ /** Number of swaps in the past week */
2165
+ swaps1w: Scalars['Int']['output'];
2166
+ /** Number of swaps in the past year */
2167
+ swaps1y: Scalars['Int']['output'];
2168
+ /** Number of swaps in the past 30 days */
2169
+ swaps30d: Scalars['Int']['output'];
2170
+ /** Total number of swaps in the past day including all tokens */
2171
+ swapsAll1d: Scalars['Int']['output'];
2172
+ /** Total number of swaps in the past week including all tokens */
2173
+ swapsAll1w: Scalars['Int']['output'];
2174
+ /** Total number of swaps in the past year including all tokens */
2175
+ swapsAll1y: Scalars['Int']['output'];
2176
+ /** Total number of swaps in the past 30 days including all tokens */
2177
+ swapsAll30d: Scalars['Int']['output'];
2178
+ /** Number of unique tokens traded in the past day */
2179
+ uniqueTokens1d: Scalars['Int']['output'];
2180
+ /** Number of unique tokens traded in the past week */
2181
+ uniqueTokens1w: Scalars['Int']['output'];
2182
+ /** Number of unique tokens traded in the past year */
2183
+ uniqueTokens1y: Scalars['Int']['output'];
2184
+ /** Number of unique tokens traded in the past 30 days */
2185
+ uniqueTokens30d: Scalars['Int']['output'];
2186
+ /** Volume in USD in the past day */
2187
+ volumeUsd1d: Scalars['String']['output'];
2188
+ /** Volume in USD in the past week */
2189
+ volumeUsd1w: Scalars['String']['output'];
2190
+ /** Volume in USD in the past year */
2191
+ volumeUsd1y: Scalars['String']['output'];
2192
+ /** Volume in USD in the past 30 days */
2193
+ volumeUsd30d: Scalars['String']['output'];
2194
+ /** Total volume in USD in the past day including all tokens */
2195
+ volumeUsdAll1d: Scalars['String']['output'];
2196
+ /** Total volume in USD in the past week including all tokens */
2197
+ volumeUsdAll1w: Scalars['String']['output'];
2198
+ /** Total volume in USD in the past year including all tokens */
2199
+ volumeUsdAll1y: Scalars['String']['output'];
2200
+ /** Total volume in USD in the past 30 days including all tokens */
2201
+ volumeUsdAll30d: Scalars['String']['output'];
2202
+ /** Win rate in the past day */
2203
+ winRate1d: Scalars['Float']['output'];
2204
+ /** Win rate in the past week */
2205
+ winRate1w: Scalars['Float']['output'];
2206
+ /** Win rate in the past year */
2207
+ winRate1y: Scalars['Float']['output'];
2208
+ /** Win rate in the past 30 days */
2209
+ winRate30d: Scalars['Float']['output'];
2210
+ };
2211
+ /** Native token balance for a wallet on a network. */
2212
+ export type NetworkWalletStats = {
2213
+ __typename?: 'NetworkWalletStats';
2214
+ /** The native token balance */
2215
+ nativeTokenBalance: Scalars['String']['output'];
2216
+ /** The network ID */
2217
+ networkId: Scalars['Int']['output'];
2218
+ };
1948
2219
  /** Event data for creating a new NFT pool. */
1949
2220
  export type NewPoolEventData = {
1950
2221
  __typename?: 'NewPoolEventData';
@@ -4474,11 +4745,11 @@ export type OnBarsUpdatedResponse = {
4474
4745
  };
4475
4746
  /** Input for `onLaunchpadTokenEvent`. */
4476
4747
  export type OnLaunchpadTokenEventInput = {
4477
- /** The contract address of the token. */
4748
+ /** The contract address of the token. Required when `networkId` is provided. */
4478
4749
  address?: InputMaybe<Scalars['String']['input']>;
4479
4750
  /** The type of event. */
4480
4751
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4481
- /** The network ID that the token is deployed on. */
4752
+ /** The network ID that the token is deployed on. Required when `address` is provided. */
4482
4753
  networkId?: InputMaybe<Scalars['Int']['input']>;
4483
4754
  /** The protocol of the token. */
4484
4755
  protocol?: InputMaybe<LaunchpadTokenProtocol>;
@@ -4610,7 +4881,7 @@ export type PairChartSettings = {
4610
4881
  pairAddress: Scalars['String']['input'];
4611
4882
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4612
4883
  quoteToken?: InputMaybe<QuoteToken>;
4613
- /** The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4884
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4614
4885
  resolution?: InputMaybe<Scalars['String']['input']>;
4615
4886
  /** The color theme of the chart. */
4616
4887
  theme?: InputMaybe<ChartTheme>;
@@ -4645,6 +4916,14 @@ export type PairFilterResult = {
4645
4916
  buyCount12?: Maybe<Scalars['Int']['output']>;
4646
4917
  /** The number of buys in the past 24 hours. */
4647
4918
  buyCount24?: Maybe<Scalars['Int']['output']>;
4919
+ /** The buy volume in USD in the past hour. */
4920
+ buyVolumeUSD1?: Maybe<Scalars['String']['output']>;
4921
+ /** The buy volume in USD in the past 4 hours. */
4922
+ buyVolumeUSD4?: Maybe<Scalars['String']['output']>;
4923
+ /** The buy volume in USD in the past 12 hours. */
4924
+ buyVolumeUSD12?: Maybe<Scalars['String']['output']>;
4925
+ /** The buy volume in USD in the past 24 hours. */
4926
+ buyVolumeUSD24?: Maybe<Scalars['String']['output']>;
4648
4927
  /** The unix timestamp for the creation of the pair. */
4649
4928
  createdAt?: Maybe<Scalars['Int']['output']>;
4650
4929
  /** Exchange metadata for the pair. */
@@ -4699,6 +4978,18 @@ export type PairFilterResult = {
4699
4978
  sellCount12?: Maybe<Scalars['Int']['output']>;
4700
4979
  /** The number of sells in the past 24 hours. */
4701
4980
  sellCount24?: Maybe<Scalars['Int']['output']>;
4981
+ /** The sell volume in USD in the past hour. */
4982
+ sellVolumeUSD1?: Maybe<Scalars['String']['output']>;
4983
+ /** The sell volume in USD in the past 4 hours. */
4984
+ sellVolumeUSD4?: Maybe<Scalars['String']['output']>;
4985
+ /** The sell volume in USD in the past 12 hours. */
4986
+ sellVolumeUSD12?: Maybe<Scalars['String']['output']>;
4987
+ /** The sell volume in USD in the past 24 hours. */
4988
+ sellVolumeUSD24?: Maybe<Scalars['String']['output']>;
4989
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
4990
+ swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
4991
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
4992
+ swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
4702
4993
  /** Metadata for the first token in the pair. */
4703
4994
  token0?: Maybe<EnhancedToken>;
4704
4995
  /** Metadata for the second token in the pair. */
@@ -4751,6 +5042,10 @@ export type PairFilterResult = {
4751
5042
  volumeUSD12?: Maybe<Scalars['String']['output']>;
4752
5043
  /** The trade volume in USD in the past 24 hours. */
4753
5044
  volumeUSD24?: Maybe<Scalars['String']['output']>;
5045
+ /** The average age of the wallets that traded in the last 24h */
5046
+ walletAgeAvg?: Maybe<Scalars['String']['output']>;
5047
+ /** The standard deviation of age of the wallets that traded in the last 24h */
5048
+ walletAgeStd?: Maybe<Scalars['String']['output']>;
4754
5049
  };
4755
5050
  /** Input type of `PairFilters`. */
4756
5051
  export type PairFilters = {
@@ -4762,6 +5057,14 @@ export type PairFilters = {
4762
5057
  buyCount12?: InputMaybe<NumberFilter>;
4763
5058
  /** The number of buys in the past 24 hours. */
4764
5059
  buyCount24?: InputMaybe<NumberFilter>;
5060
+ /** The buy volume in USD in the past hour. */
5061
+ buyVolumeUSD1?: InputMaybe<NumberFilter>;
5062
+ /** The buy volume in USD in the past 4 hours. */
5063
+ buyVolumeUSD4?: InputMaybe<NumberFilter>;
5064
+ /** The buy volume in USD in the past 12 hours. */
5065
+ buyVolumeUSD12?: InputMaybe<NumberFilter>;
5066
+ /** The buy volume in USD in the past 24 hours. */
5067
+ buyVolumeUSD24?: InputMaybe<NumberFilter>;
4765
5068
  /** The unix timestamp for the creation of the pair. */
4766
5069
  createdAt?: InputMaybe<NumberFilter>;
4767
5070
  /** The list of exchange contract addresses to filter by. */
@@ -4812,6 +5115,18 @@ export type PairFilters = {
4812
5115
  sellCount12?: InputMaybe<NumberFilter>;
4813
5116
  /** The number of sells in the past 24 hours. */
4814
5117
  sellCount24?: InputMaybe<NumberFilter>;
5118
+ /** The sell volume in USD in the past hour. */
5119
+ sellVolumeUSD1?: InputMaybe<NumberFilter>;
5120
+ /** The sell volume in USD in the past 4 hours. */
5121
+ sellVolumeUSD4?: InputMaybe<NumberFilter>;
5122
+ /** The sell volume in USD in the past 12 hours. */
5123
+ sellVolumeUSD12?: InputMaybe<NumberFilter>;
5124
+ /** The sell volume in USD in the past 24 hours. */
5125
+ sellVolumeUSD24?: InputMaybe<NumberFilter>;
5126
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
5127
+ swapPct1dOldWallet?: InputMaybe<NumberFilter>;
5128
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
5129
+ swapPct7dOldWallet?: InputMaybe<NumberFilter>;
4815
5130
  /** The list of token contract addresses to filter by. */
4816
5131
  tokenAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4817
5132
  /** Whether to ignore pairs/tokens not relevant to trending */
@@ -4864,6 +5179,10 @@ export type PairFilters = {
4864
5179
  volumeUSD12?: InputMaybe<NumberFilter>;
4865
5180
  /** The trade volume in USD in the past 24 hours. */
4866
5181
  volumeUSD24?: InputMaybe<NumberFilter>;
5182
+ /** The average age of the wallets that traded in the last 24h */
5183
+ walletAgeAvg?: InputMaybe<NumberFilter>;
5184
+ /** The standard deviation of age of the wallets that traded in the last 24h */
5185
+ walletAgeStd?: InputMaybe<NumberFilter>;
4867
5186
  };
4868
5187
  export type PairMetadata = {
4869
5188
  __typename?: 'PairMetadata';
@@ -4974,6 +5293,10 @@ export declare enum PairRankingAttribute {
4974
5293
  BuyCount4 = "buyCount4",
4975
5294
  BuyCount12 = "buyCount12",
4976
5295
  BuyCount24 = "buyCount24",
5296
+ BuyVolumeUsd1 = "buyVolumeUSD1",
5297
+ BuyVolumeUsd4 = "buyVolumeUSD4",
5298
+ BuyVolumeUsd12 = "buyVolumeUSD12",
5299
+ BuyVolumeUsd24 = "buyVolumeUSD24",
4977
5300
  CreatedAt = "createdAt",
4978
5301
  HighPrice1 = "highPrice1",
4979
5302
  HighPrice4 = "highPrice4",
@@ -4996,6 +5319,12 @@ export declare enum PairRankingAttribute {
4996
5319
  SellCount4 = "sellCount4",
4997
5320
  SellCount12 = "sellCount12",
4998
5321
  SellCount24 = "sellCount24",
5322
+ SellVolumeUsd1 = "sellVolumeUSD1",
5323
+ SellVolumeUsd4 = "sellVolumeUSD4",
5324
+ SellVolumeUsd12 = "sellVolumeUSD12",
5325
+ SellVolumeUsd24 = "sellVolumeUSD24",
5326
+ SwapPct1dOldWallet = "swapPct1dOldWallet",
5327
+ SwapPct7dOldWallet = "swapPct7dOldWallet",
4999
5328
  TrendingScore = "trendingScore",
5000
5329
  TrendingScore1 = "trendingScore1",
5001
5330
  TrendingScore4 = "trendingScore4",
@@ -5025,7 +5354,9 @@ export declare enum PairRankingAttribute {
5025
5354
  VolumeUsd1 = "volumeUSD1",
5026
5355
  VolumeUsd4 = "volumeUSD4",
5027
5356
  VolumeUsd12 = "volumeUSD12",
5028
- VolumeUsd24 = "volumeUSD24"
5357
+ VolumeUsd24 = "volumeUSD24",
5358
+ WalletAgeAvg = "walletAgeAvg",
5359
+ WalletAgeStd = "walletAgeStd"
5029
5360
  }
5030
5361
  /** Response returned by `filterNftParallelAssets`. */
5031
5362
  export type ParallelAssetFilterConnection = {
@@ -5831,8 +6162,15 @@ export type Query = {
5831
6162
  balances: BalancesResponse;
5832
6163
  /** Returns a URL for a pair chart. */
5833
6164
  chartUrls?: Maybe<ChartUrlsResponse>;
6165
+ /** Returns detailed stats for a wallet. */
6166
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
5834
6167
  /** Returns a list of exchanges based on a variety of filters. */
5835
6168
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6169
+ /**
6170
+ * Returns a list of wallets with stats narrowed down to a specific network.
6171
+ * @deprecated Use filterWallets instead
6172
+ */
6173
+ filterNetworkWallets: NetworkWalletFilterConnection;
5836
6174
  /** Returns a list of NFT collection based on a variety of filters. */
5837
6175
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
5838
6176
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -5843,8 +6181,12 @@ export type Query = {
5843
6181
  filterNftPools?: Maybe<NftPoolFilterConnection>;
5844
6182
  /** Returns a list of pairs based on a variety of filters. */
5845
6183
  filterPairs?: Maybe<PairFilterConnection>;
6184
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6185
+ filterTokenWallets: TokenWalletFilterConnection;
5846
6186
  /** Returns a list of tokens based on a variety of filters. */
5847
6187
  filterTokens?: Maybe<TokenFilterConnection>;
6188
+ /** Returns a list of wallets based on a variety of filters. */
6189
+ filterWallets: WalletFilterConnection;
5848
6190
  /** Returns bar chart data to track price changes over time. */
5849
6191
  getBars?: Maybe<BarsResponse>;
5850
6192
  /** Returns community gathered notes. */
@@ -5955,6 +6297,8 @@ export type Query = {
5955
6297
  tokens: Array<Maybe<EnhancedToken>>;
5956
6298
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
5957
6299
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6300
+ /** Returns a chart of a wallet's activity. */
6301
+ walletChart?: Maybe<WalletChartResponse>;
5958
6302
  /** Returns list of NFT assets held by a given wallet for a single collection. */
5959
6303
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
5960
6304
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -5969,6 +6313,9 @@ export type QueryBalancesArgs = {
5969
6313
  export type QueryChartUrlsArgs = {
5970
6314
  input: ChartInput;
5971
6315
  };
6316
+ export type QueryDetailedWalletStatsArgs = {
6317
+ input: DetailedWalletStatsInput;
6318
+ };
5972
6319
  export type QueryFilterExchangesArgs = {
5973
6320
  filters?: InputMaybe<ExchangeFilters>;
5974
6321
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -5976,6 +6323,9 @@ export type QueryFilterExchangesArgs = {
5976
6323
  phrase?: InputMaybe<Scalars['String']['input']>;
5977
6324
  rankings?: InputMaybe<Array<InputMaybe<ExchangeRanking>>>;
5978
6325
  };
6326
+ export type QueryFilterNetworkWalletsArgs = {
6327
+ input: FilterNetworkWalletsInput;
6328
+ };
5979
6329
  export type QueryFilterNftCollectionsArgs = {
5980
6330
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5981
6331
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6016,6 +6366,9 @@ export type QueryFilterPairsArgs = {
6016
6366
  rankings?: InputMaybe<Array<InputMaybe<PairRanking>>>;
6017
6367
  statsType?: InputMaybe<TokenPairStatisticsType>;
6018
6368
  };
6369
+ export type QueryFilterTokenWalletsArgs = {
6370
+ input: FilterTokenWalletsInput;
6371
+ };
6019
6372
  export type QueryFilterTokensArgs = {
6020
6373
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6021
6374
  filters?: InputMaybe<TokenFilters>;
@@ -6026,6 +6379,9 @@ export type QueryFilterTokensArgs = {
6026
6379
  statsType?: InputMaybe<TokenPairStatisticsType>;
6027
6380
  tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6028
6381
  };
6382
+ export type QueryFilterWalletsArgs = {
6383
+ input: FilterWalletsInput;
6384
+ };
6029
6385
  export type QueryGetBarsArgs = {
6030
6386
  countback?: InputMaybe<Scalars['Int']['input']>;
6031
6387
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6308,6 +6664,9 @@ export type QueryTokensArgs = {
6308
6664
  export type QueryTop10HoldersPercentArgs = {
6309
6665
  tokenId: Scalars['String']['input'];
6310
6666
  };
6667
+ export type QueryWalletChartArgs = {
6668
+ input: WalletChartInput;
6669
+ };
6311
6670
  export type QueryWalletNftCollectionAssetsArgs = {
6312
6671
  input: WalletNftCollectionAssetsInput;
6313
6672
  };
@@ -6349,6 +6708,11 @@ export declare enum QuoteType {
6349
6708
  Input = "INPUT",
6350
6709
  Output = "OUTPUT"
6351
6710
  }
6711
+ /** The range of time for a chart. */
6712
+ export type RangeInput = {
6713
+ end: Scalars['Int']['input'];
6714
+ start: Scalars['Int']['input'];
6715
+ };
6352
6716
  /** The order of ranking. */
6353
6717
  export declare enum RankingDirection {
6354
6718
  Asc = "ASC",
@@ -6822,6 +7186,7 @@ export type Subscription = {
6822
7186
  onLatestPairUpdated?: Maybe<LatestPair>;
6823
7187
  onLatestTokens?: Maybe<LatestToken>;
6824
7188
  onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
7189
+ onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
6825
7190
  /** Live-streamed transactions for an NFT asset. */
6826
7191
  onNftAssetsCreated?: Maybe<NftAsset>;
6827
7192
  /** Live-streamed transactions for an NFT collection. */
@@ -7171,6 +7536,16 @@ export type TokenFilterResult = {
7171
7536
  buyCount12?: Maybe<Scalars['Int']['output']>;
7172
7537
  /** The number of buys in the past 24 hours. */
7173
7538
  buyCount24?: Maybe<Scalars['Int']['output']>;
7539
+ /** The buy volume in USD in the past hour. */
7540
+ buyVolume1?: Maybe<Scalars['String']['output']>;
7541
+ /** The buy volume in USD in the past 4 hours. */
7542
+ buyVolume4?: Maybe<Scalars['String']['output']>;
7543
+ /** The buy volume in USD in the past 5 minutes. */
7544
+ buyVolume5m?: Maybe<Scalars['String']['output']>;
7545
+ /** The buy volume in USD in the past 12 hours. */
7546
+ buyVolume12?: Maybe<Scalars['String']['output']>;
7547
+ /** The buy volume in USD in the past 24 hours. */
7548
+ buyVolume24?: Maybe<Scalars['String']['output']>;
7174
7549
  /** The percent price change in the past hour. Decimal format. */
7175
7550
  change1?: Maybe<Scalars['String']['output']>;
7176
7551
  /** The percent price change in the past 4 hours. Decimal format. */
@@ -7181,6 +7556,8 @@ export type TokenFilterResult = {
7181
7556
  change12?: Maybe<Scalars['String']['output']>;
7182
7557
  /** The percent price change in the past 24 hours. Decimal format. */
7183
7558
  change24?: Maybe<Scalars['String']['output']>;
7559
+ /** The circulating market cap. */
7560
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7184
7561
  /** The unix timestamp for the creation of the token's first pair. */
7185
7562
  createdAt?: Maybe<Scalars['Int']['output']>;
7186
7563
  /** The exchanges the token is listed on. */
@@ -7215,7 +7592,7 @@ export type TokenFilterResult = {
7215
7592
  low12?: Maybe<Scalars['String']['output']>;
7216
7593
  /** The lowest price in USD in the past 24 hours. */
7217
7594
  low24?: Maybe<Scalars['String']['output']>;
7218
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
7595
+ /** The fully diluted market cap. */
7219
7596
  marketCap?: Maybe<Scalars['String']['output']>;
7220
7597
  /** Metadata for the token's top pair. */
7221
7598
  pair?: Maybe<Pair>;
@@ -7233,6 +7610,20 @@ export type TokenFilterResult = {
7233
7610
  sellCount12?: Maybe<Scalars['Int']['output']>;
7234
7611
  /** The number of sells in the past 24 hours. */
7235
7612
  sellCount24?: Maybe<Scalars['Int']['output']>;
7613
+ /** The sell volume in USD in the past hour. */
7614
+ sellVolume1?: Maybe<Scalars['String']['output']>;
7615
+ /** The sell volume in USD in the past 4 hours. */
7616
+ sellVolume4?: Maybe<Scalars['String']['output']>;
7617
+ /** The sell volume in USD in the past 5 minutes. */
7618
+ sellVolume5m?: Maybe<Scalars['String']['output']>;
7619
+ /** The sell volume in USD in the past 12 hours. */
7620
+ sellVolume12?: Maybe<Scalars['String']['output']>;
7621
+ /** The sell volume in USD in the past 24 hours. */
7622
+ sellVolume24?: Maybe<Scalars['String']['output']>;
7623
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7624
+ swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
7625
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7626
+ swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
7236
7627
  /** Metadata for the token. */
7237
7628
  token?: Maybe<EnhancedToken>;
7238
7629
  /** The number of transactions in the past hour. */
@@ -7295,6 +7686,10 @@ export type TokenFilterResult = {
7295
7686
  volumeChange12?: Maybe<Scalars['String']['output']>;
7296
7687
  /** The percent volume change in the past 24 hours. Decimal format. */
7297
7688
  volumeChange24?: Maybe<Scalars['String']['output']>;
7689
+ /** The average age of the wallets that traded in the last 24h */
7690
+ walletAgeAvg?: Maybe<Scalars['String']['output']>;
7691
+ /** The standard deviation of age of the wallets that traded in the last 24h */
7692
+ walletAgeStd?: Maybe<Scalars['String']['output']>;
7298
7693
  };
7299
7694
  /** Input type of `TokenFilters`. */
7300
7695
  export type TokenFilters = {
@@ -7310,6 +7705,16 @@ export type TokenFilters = {
7310
7705
  buyCount12?: InputMaybe<NumberFilter>;
7311
7706
  /** The number of buys in the past 24 hours. */
7312
7707
  buyCount24?: InputMaybe<NumberFilter>;
7708
+ /** The buy volume in USD in the past hour. */
7709
+ buyVolume1?: InputMaybe<NumberFilter>;
7710
+ /** The buy volume in USD in the past 4 hours. */
7711
+ buyVolume4?: InputMaybe<NumberFilter>;
7712
+ /** The buy volume in USD in the past 5 minutes. */
7713
+ buyVolume5m?: InputMaybe<NumberFilter>;
7714
+ /** The buy volume in USD in the past 12 hours. */
7715
+ buyVolume12?: InputMaybe<NumberFilter>;
7716
+ /** The buy volume in USD in the past 24 hours. */
7717
+ buyVolume24?: InputMaybe<NumberFilter>;
7313
7718
  /** The percent price change in the past hour. Decimal format. */
7314
7719
  change1?: InputMaybe<NumberFilter>;
7315
7720
  /** The percent price change in the past 4 hours. Decimal format. */
@@ -7320,6 +7725,8 @@ export type TokenFilters = {
7320
7725
  change12?: InputMaybe<NumberFilter>;
7321
7726
  /** The percent price change in the past 24 hours. Decimal format. */
7322
7727
  change24?: InputMaybe<NumberFilter>;
7728
+ /** The circulating market cap. */
7729
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7323
7730
  /** The unix timestamp for the creation of the token's first pair. */
7324
7731
  createdAt?: InputMaybe<NumberFilter>;
7325
7732
  /** The address of the creator of the token */
@@ -7362,6 +7769,10 @@ export type TokenFilters = {
7362
7769
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7363
7770
  /** The timestamp when the launchpad was migrated */
7364
7771
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7772
+ /** The name of the launchpad */
7773
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
7774
+ /** The launchpad protocol */
7775
+ launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
7365
7776
  /** The amount of liquidity in the token's top pair. */
7366
7777
  liquidity?: InputMaybe<NumberFilter>;
7367
7778
  /** The lowest price in USD in the past hour. */
@@ -7396,6 +7807,20 @@ export type TokenFilters = {
7396
7807
  sellCount12?: InputMaybe<NumberFilter>;
7397
7808
  /** The number of sells in the past 24 hours. */
7398
7809
  sellCount24?: InputMaybe<NumberFilter>;
7810
+ /** The sell volume in USD in the past hour. */
7811
+ sellVolume1?: InputMaybe<NumberFilter>;
7812
+ /** The sell volume in USD in the past 4 hours. */
7813
+ sellVolume4?: InputMaybe<NumberFilter>;
7814
+ /** The sell volume in USD in the past 5 minutes. */
7815
+ sellVolume5m?: InputMaybe<NumberFilter>;
7816
+ /** The sell volume in USD in the past 12 hours. */
7817
+ sellVolume12?: InputMaybe<NumberFilter>;
7818
+ /** The sell volume in USD in the past 24 hours. */
7819
+ sellVolume24?: InputMaybe<NumberFilter>;
7820
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7821
+ swapPct1dOldWallet?: InputMaybe<NumberFilter>;
7822
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7823
+ swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7399
7824
  /** Whether to ignore pairs/tokens not relevant to trending */
7400
7825
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7401
7826
  /** The number of transactions in the past hour. */
@@ -7458,6 +7883,10 @@ export type TokenFilters = {
7458
7883
  volumeChange12?: InputMaybe<NumberFilter>;
7459
7884
  /** The percent volume change in the past 24 hours. Decimal format. */
7460
7885
  volumeChange24?: InputMaybe<NumberFilter>;
7886
+ /** The average age of the wallets that traded in the last 24h */
7887
+ walletAgeAvg?: InputMaybe<NumberFilter>;
7888
+ /** The standard deviation of age of the wallets that traded in the last 24h */
7889
+ walletAgeStd?: InputMaybe<NumberFilter>;
7461
7890
  };
7462
7891
  /** Metadata for a token. */
7463
7892
  export type TokenInfo = {
@@ -7641,11 +8070,17 @@ export declare enum TokenRankingAttribute {
7641
8070
  BuyCount5m = "buyCount5m",
7642
8071
  BuyCount12 = "buyCount12",
7643
8072
  BuyCount24 = "buyCount24",
8073
+ BuyVolume1 = "buyVolume1",
8074
+ BuyVolume4 = "buyVolume4",
8075
+ BuyVolume5m = "buyVolume5m",
8076
+ BuyVolume12 = "buyVolume12",
8077
+ BuyVolume24 = "buyVolume24",
7644
8078
  Change1 = "change1",
7645
8079
  Change4 = "change4",
7646
8080
  Change5m = "change5m",
7647
8081
  Change12 = "change12",
7648
8082
  Change24 = "change24",
8083
+ CirculatingMarketCap = "circulatingMarketCap",
7649
8084
  CreatedAt = "createdAt",
7650
8085
  GraduationPercent = "graduationPercent",
7651
8086
  High1 = "high1",
@@ -7671,6 +8106,13 @@ export declare enum TokenRankingAttribute {
7671
8106
  SellCount5m = "sellCount5m",
7672
8107
  SellCount12 = "sellCount12",
7673
8108
  SellCount24 = "sellCount24",
8109
+ SellVolume1 = "sellVolume1",
8110
+ SellVolume4 = "sellVolume4",
8111
+ SellVolume5m = "sellVolume5m",
8112
+ SellVolume12 = "sellVolume12",
8113
+ SellVolume24 = "sellVolume24",
8114
+ SwapPct1dOldWallet = "swapPct1dOldWallet",
8115
+ SwapPct7dOldWallet = "swapPct7dOldWallet",
7674
8116
  TrendingScore = "trendingScore",
7675
8117
  TrendingScore1 = "trendingScore1",
7676
8118
  TrendingScore4 = "trendingScore4",
@@ -7706,7 +8148,9 @@ export declare enum TokenRankingAttribute {
7706
8148
  VolumeChange4 = "volumeChange4",
7707
8149
  VolumeChange5m = "volumeChange5m",
7708
8150
  VolumeChange12 = "volumeChange12",
7709
- VolumeChange24 = "volumeChange24"
8151
+ VolumeChange24 = "volumeChange24",
8152
+ WalletAgeAvg = "walletAgeAvg",
8153
+ WalletAgeStd = "walletAgeStd"
7710
8154
  }
7711
8155
  /** Response returned by `searchTokens`. */
7712
8156
  export type TokenSearchResponse = {
@@ -7794,6 +8238,131 @@ export type TokenTopTradersInput = {
7794
8238
  /** The trading period */
7795
8239
  tradingPeriod: TradingPeriod;
7796
8240
  };
8241
+ export type TokenWalletFilterConnection = {
8242
+ __typename?: 'TokenWalletFilterConnection';
8243
+ /** The number of wallets returned. */
8244
+ count: Scalars['Int']['output'];
8245
+ /** Where in the list the server started when returning items. */
8246
+ offset: Scalars['Int']['output'];
8247
+ /** The list of wallets matching the filter parameters. */
8248
+ results: Array<TokenWalletFilterResult>;
8249
+ };
8250
+ /** The result for filtering wallets for a token. */
8251
+ export type TokenWalletFilterResult = {
8252
+ __typename?: 'TokenWalletFilterResult';
8253
+ /** The wallet address */
8254
+ address: Scalars['String']['output'];
8255
+ /** Amount bought in USD in the past day */
8256
+ amountBoughtUsd1d: Scalars['String']['output'];
8257
+ /** Amount bought in USD in the past week */
8258
+ amountBoughtUsd1w: Scalars['String']['output'];
8259
+ /** Amount bought in USD in the past year */
8260
+ amountBoughtUsd1y: Scalars['String']['output'];
8261
+ /** Amount bought in USD in the past 30 days */
8262
+ amountBoughtUsd30d: Scalars['String']['output'];
8263
+ /** Amount sold in USD in the past day */
8264
+ amountSoldUsd1d: Scalars['String']['output'];
8265
+ /** Amount sold in USD in the past week */
8266
+ amountSoldUsd1w: Scalars['String']['output'];
8267
+ /** Amount sold in USD in the past year */
8268
+ amountSoldUsd1y: Scalars['String']['output'];
8269
+ /** Amount sold in USD in the past 30 days */
8270
+ amountSoldUsd30d: Scalars['String']['output'];
8271
+ /** Amount sold USD all in the past day */
8272
+ amountSoldUsdAll1d: Scalars['String']['output'];
8273
+ /** Amount sold USD all in the past week */
8274
+ amountSoldUsdAll1w: Scalars['String']['output'];
8275
+ /** Amount sold USD all in the past year */
8276
+ amountSoldUsdAll1y: Scalars['String']['output'];
8277
+ /** Amount sold USD all in the past 30 days */
8278
+ amountSoldUsdAll30d: Scalars['String']['output'];
8279
+ /** The bot score for the wallet. */
8280
+ botScore?: Maybe<Scalars['Int']['output']>;
8281
+ /** Number of buys in the past day */
8282
+ buys1d: Scalars['Int']['output'];
8283
+ /** Number of buys in the past week */
8284
+ buys1w: Scalars['Int']['output'];
8285
+ /** Number of buys in the past year */
8286
+ buys1y: Scalars['Int']['output'];
8287
+ /** Number of buys in the past 30 days */
8288
+ buys30d: Scalars['Int']['output'];
8289
+ /** The unix timestamp for the first transaction from this wallet */
8290
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8291
+ /** The labels associated with the wallet */
8292
+ labels: Array<Scalars['String']['output']>;
8293
+ /** The unix timestamp for the last transaction from this wallet */
8294
+ lastTransactionAt: Scalars['Int']['output'];
8295
+ /** The network ID */
8296
+ networkId: Scalars['Int']['output'];
8297
+ /** The purchased token balance */
8298
+ purchasedTokenBalance: Scalars['String']['output'];
8299
+ /** Realized profit percentage in the past day */
8300
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8301
+ /** Realized profit percentage in the past week */
8302
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8303
+ /** Realized profit percentage in the past year */
8304
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8305
+ /** Realized profit percentage in the past 30 days */
8306
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8307
+ /** Realized profit in USD in the past day */
8308
+ realizedProfitUsd1d: Scalars['String']['output'];
8309
+ /** Realized profit in USD in the past week */
8310
+ realizedProfitUsd1w: Scalars['String']['output'];
8311
+ /** Realized profit in USD in the past year */
8312
+ realizedProfitUsd1y: Scalars['String']['output'];
8313
+ /** Realized profit in USD in the past 30 days */
8314
+ realizedProfitUsd30d: Scalars['String']['output'];
8315
+ /** The scammer score for the wallet. */
8316
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8317
+ /** Number of sells in the past day */
8318
+ sells1d: Scalars['Int']['output'];
8319
+ /** Number of sells in the past week */
8320
+ sells1w: Scalars['Int']['output'];
8321
+ /** Number of sells in the past year */
8322
+ sells1y: Scalars['Int']['output'];
8323
+ /** Number of sells in the past 30 days */
8324
+ sells30d: Scalars['Int']['output'];
8325
+ /** Number of sells all in the past day */
8326
+ sellsAll1d: Scalars['Int']['output'];
8327
+ /** Number of sells all in the past week */
8328
+ sellsAll1w: Scalars['Int']['output'];
8329
+ /** Number of sells all in the past year */
8330
+ sellsAll1y: Scalars['Int']['output'];
8331
+ /** Number of sells all in the past 30 days */
8332
+ sellsAll30d: Scalars['Int']['output'];
8333
+ /** The token metadata */
8334
+ token: EnhancedToken;
8335
+ /** The token acquisition cost in USD */
8336
+ tokenAcquisitionCostUsd: Scalars['String']['output'];
8337
+ /** The token address */
8338
+ tokenAddress: Scalars['String']['output'];
8339
+ /** Token amount bought in the past day */
8340
+ tokenAmountBought1d: Scalars['String']['output'];
8341
+ /** Token amount bought in the past week */
8342
+ tokenAmountBought1w: Scalars['String']['output'];
8343
+ /** Token amount bought in the past year */
8344
+ tokenAmountBought1y: Scalars['String']['output'];
8345
+ /** Token amount bought in the past 30 days */
8346
+ tokenAmountBought30d: Scalars['String']['output'];
8347
+ /** Token amount sold in the past day */
8348
+ tokenAmountSold1d: Scalars['String']['output'];
8349
+ /** Token amount sold in the past week */
8350
+ tokenAmountSold1w: Scalars['String']['output'];
8351
+ /** Token amount sold in the past year */
8352
+ tokenAmountSold1y: Scalars['String']['output'];
8353
+ /** Token amount sold in the past 30 days */
8354
+ tokenAmountSold30d: Scalars['String']['output'];
8355
+ /** Token amount sold all in the past day */
8356
+ tokenAmountSoldAll1d: Scalars['String']['output'];
8357
+ /** Token amount sold all in the past week */
8358
+ tokenAmountSoldAll1w: Scalars['String']['output'];
8359
+ /** Token amount sold all in the past year */
8360
+ tokenAmountSoldAll1y: Scalars['String']['output'];
8361
+ /** Token amount sold all in the past 30 days */
8362
+ tokenAmountSoldAll30d: Scalars['String']['output'];
8363
+ /** The current token balance */
8364
+ tokenBalance: Scalars['String']['output'];
8365
+ };
7797
8366
  /** A token with metadata. */
7798
8367
  export type TokenWithMetadata = {
7799
8368
  __typename?: 'TokenWithMetadata';
@@ -7980,11 +8549,400 @@ export type UnconfirmedSwapEventData = {
7980
8549
  /** The type of token event, `Swap`. */
7981
8550
  type: EventType;
7982
8551
  };
8552
+ /** The data for a chart of a wallet's activity. */
8553
+ export type WalletChartData = {
8554
+ __typename?: 'WalletChartData';
8555
+ /** The realized profit in USD */
8556
+ realizedProfitUsd: Scalars['String']['output'];
8557
+ /** The resolution */
8558
+ resolution: Scalars['String']['output'];
8559
+ /** The number of swaps */
8560
+ swaps: Scalars['Int']['output'];
8561
+ /** The timestamp */
8562
+ timestamp: Scalars['Int']['output'];
8563
+ /** The volume in USD */
8564
+ volumeUsd: Scalars['String']['output'];
8565
+ /** The volume in USD including tokens sold for which we do not have a price */
8566
+ volumeUsdAll: Scalars['String']['output'];
8567
+ };
8568
+ /** The input for a chart of a wallet's activity. */
8569
+ export type WalletChartInput = {
8570
+ /** The network ID */
8571
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8572
+ /** The range of time for the chart */
8573
+ range: RangeInput;
8574
+ /** The resolution of the chart */
8575
+ resolution: Scalars['String']['input'];
8576
+ /** The wallet address */
8577
+ walletAddress: Scalars['String']['input'];
8578
+ };
8579
+ /** The range of time for a chart. */
7983
8580
  export type WalletChartRange = {
7984
8581
  __typename?: 'WalletChartRange';
7985
8582
  end: Scalars['Int']['output'];
7986
8583
  start: Scalars['Int']['output'];
7987
8584
  };
8585
+ /** The response for a chart of a wallet's activity. */
8586
+ export type WalletChartResponse = {
8587
+ __typename?: 'WalletChartResponse';
8588
+ /** The data for the chart */
8589
+ data: Array<WalletChartData>;
8590
+ /** The network ID */
8591
+ networkId?: Maybe<Scalars['Int']['output']>;
8592
+ /** The range of time for the chart */
8593
+ range: WalletChartRange;
8594
+ /** The resolution of the chart */
8595
+ resolution: Scalars['String']['output'];
8596
+ /** The wallet address */
8597
+ walletAddress: Scalars['String']['output'];
8598
+ };
8599
+ export type WalletFilterConnection = {
8600
+ __typename?: 'WalletFilterConnection';
8601
+ /** The number of wallets returned. */
8602
+ count: Scalars['Int']['output'];
8603
+ /** Where in the list the server started when returning items. */
8604
+ offset: Scalars['Int']['output'];
8605
+ /** The list of wallets matching the filter parameters. */
8606
+ results: Array<WalletFilterResult>;
8607
+ };
8608
+ export type WalletFilterResult = {
8609
+ __typename?: 'WalletFilterResult';
8610
+ /** The wallet address */
8611
+ address: Scalars['String']['output'];
8612
+ /** Average profit in USD per trade in the past day */
8613
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
8614
+ /** Average profit in USD per trade in the past week */
8615
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
8616
+ /** Average profit in USD per trade in the past year */
8617
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
8618
+ /** Average profit in USD per trade in the past 30 days */
8619
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
8620
+ /** Average swap amount in USD in the past day */
8621
+ averageSwapAmountUsd1d: Scalars['String']['output'];
8622
+ /** Average swap amount in USD in the past week */
8623
+ averageSwapAmountUsd1w: Scalars['String']['output'];
8624
+ /** Average swap amount in USD in the past year */
8625
+ averageSwapAmountUsd1y: Scalars['String']['output'];
8626
+ /** Average swap amount in USD in the past 30 days */
8627
+ averageSwapAmountUsd30d: Scalars['String']['output'];
8628
+ /** The bot score for the wallet. */
8629
+ botScore?: Maybe<Scalars['Int']['output']>;
8630
+ /** The unix timestamp for the first transaction from this wallet */
8631
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8632
+ /** The labels associated with the wallet */
8633
+ labels: Array<Scalars['String']['output']>;
8634
+ /** The unix timestamp for the last transaction from this wallet */
8635
+ lastTransactionAt: Scalars['Int']['output'];
8636
+ /** The native token balance of the wallet (only present if filtered by network) */
8637
+ nativeTokenBalance?: Maybe<Scalars['String']['output']>;
8638
+ /** The network ID of the wallet (only present if filtered by network) */
8639
+ networkId?: Maybe<Scalars['Int']['output']>;
8640
+ /** Realized profit percentage in the past day */
8641
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8642
+ /** Realized profit percentage in the past week */
8643
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8644
+ /** Realized profit percentage in the past year */
8645
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8646
+ /** Realized profit percentage in the past 30 days */
8647
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8648
+ /** Realized profit in USD in the past day */
8649
+ realizedProfitUsd1d: Scalars['String']['output'];
8650
+ /** Realized profit in USD in the past week */
8651
+ realizedProfitUsd1w: Scalars['String']['output'];
8652
+ /** Realized profit in USD in the past year */
8653
+ realizedProfitUsd1y: Scalars['String']['output'];
8654
+ /** Realized profit in USD in the past 30 days */
8655
+ realizedProfitUsd30d: Scalars['String']['output'];
8656
+ /** The scammer score for the wallet. */
8657
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8658
+ /** Number of swaps in the past day */
8659
+ swaps1d: Scalars['Int']['output'];
8660
+ /** Number of swaps in the past week */
8661
+ swaps1w: Scalars['Int']['output'];
8662
+ /** Number of swaps in the past year */
8663
+ swaps1y: Scalars['Int']['output'];
8664
+ /** Number of swaps in the past 30 days */
8665
+ swaps30d: Scalars['Int']['output'];
8666
+ /** Total number of swaps in the past day including all tokens */
8667
+ swapsAll1d: Scalars['Int']['output'];
8668
+ /** Total number of swaps in the past week including all tokens */
8669
+ swapsAll1w: Scalars['Int']['output'];
8670
+ /** Total number of swaps in the past year including all tokens */
8671
+ swapsAll1y: Scalars['Int']['output'];
8672
+ /** Total number of swaps in the past 30 days including all tokens */
8673
+ swapsAll30d: Scalars['Int']['output'];
8674
+ /** Number of unique tokens traded in the past day */
8675
+ uniqueTokens1d: Scalars['Int']['output'];
8676
+ /** Number of unique tokens traded in the past week */
8677
+ uniqueTokens1w: Scalars['Int']['output'];
8678
+ /** Number of unique tokens traded in the past year */
8679
+ uniqueTokens1y: Scalars['Int']['output'];
8680
+ /** Number of unique tokens traded in the past 30 days */
8681
+ uniqueTokens30d: Scalars['Int']['output'];
8682
+ /** Volume in USD in the past day */
8683
+ volumeUsd1d: Scalars['String']['output'];
8684
+ /** Volume in USD in the past week */
8685
+ volumeUsd1w: Scalars['String']['output'];
8686
+ /** Volume in USD in the past year */
8687
+ volumeUsd1y: Scalars['String']['output'];
8688
+ /** Volume in USD in the past 30 days */
8689
+ volumeUsd30d: Scalars['String']['output'];
8690
+ /** Total volume in USD in the past day including all tokens */
8691
+ volumeUsdAll1d: Scalars['String']['output'];
8692
+ /** Total volume in USD in the past week including all tokens */
8693
+ volumeUsdAll1w: Scalars['String']['output'];
8694
+ /** Total volume in USD in the past year including all tokens */
8695
+ volumeUsdAll1y: Scalars['String']['output'];
8696
+ /** Total volume in USD in the past 30 days including all tokens */
8697
+ volumeUsdAll30d: Scalars['String']['output'];
8698
+ /** Win rate in the past day */
8699
+ winRate1d: Scalars['Float']['output'];
8700
+ /** Win rate in the past week */
8701
+ winRate1w: Scalars['Float']['output'];
8702
+ /** Win rate in the past year */
8703
+ winRate1y: Scalars['Float']['output'];
8704
+ /** Win rate in the past 30 days */
8705
+ winRate30d: Scalars['Float']['output'];
8706
+ };
8707
+ export type WalletFilters = {
8708
+ /** Average profit in USD per trade in the past day */
8709
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8710
+ /** Average profit in USD per trade in the past week */
8711
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8712
+ /** Average profit in USD per trade in the past year */
8713
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8714
+ /** Average profit in USD per trade in the past 30 days */
8715
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8716
+ /** Average swap amount in USD in the past day */
8717
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8718
+ /** Average swap amount in USD in the past week */
8719
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8720
+ /** Average swap amount in USD in the past year */
8721
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8722
+ /** Average swap amount in USD in the past 30 days */
8723
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8724
+ /** The bot score for the wallet. */
8725
+ botScore?: InputMaybe<NumberFilter>;
8726
+ /** The unix timestamp for the first transaction from this wallet. */
8727
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8728
+ /** The unix timestamp for the last transaction from this wallet. */
8729
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8730
+ /** The native token balance of the wallet. Can only be used in conjunction with `networkId` filter. */
8731
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8732
+ /** The network ID to filter by. */
8733
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8734
+ /** Realized profit percentage in the past day */
8735
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8736
+ /** Realized profit percentage in the past week */
8737
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8738
+ /** Realized profit percentage in the past year */
8739
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
8740
+ /** Realized profit percentage in the past 30 days */
8741
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
8742
+ /** Realized profit in USD in the past day */
8743
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
8744
+ /** Realized profit in USD in the past week */
8745
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
8746
+ /** Realized profit in USD in the past year */
8747
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
8748
+ /** Realized profit in USD in the past 30 days */
8749
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
8750
+ /** The scammer score for the wallet. */
8751
+ scammerScore?: InputMaybe<NumberFilter>;
8752
+ /** Number of swaps in the past day */
8753
+ swaps1d?: InputMaybe<NumberFilter>;
8754
+ /** Number of swaps in the past week */
8755
+ swaps1w?: InputMaybe<NumberFilter>;
8756
+ /** Number of swaps in the past year */
8757
+ swaps1y?: InputMaybe<NumberFilter>;
8758
+ /** Number of swaps in the past 30 days */
8759
+ swaps30d?: InputMaybe<NumberFilter>;
8760
+ /** Total number of swaps in the past day including all tokens */
8761
+ swapsAll1d?: InputMaybe<NumberFilter>;
8762
+ /** Total number of swaps in the past week including all tokens */
8763
+ swapsAll1w?: InputMaybe<NumberFilter>;
8764
+ /** Total number of swaps in the past year including all tokens */
8765
+ swapsAll1y?: InputMaybe<NumberFilter>;
8766
+ /** Total number of swaps in the past 30 days including all tokens */
8767
+ swapsAll30d?: InputMaybe<NumberFilter>;
8768
+ /** Number of unique tokens traded in the past day */
8769
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
8770
+ /** Number of unique tokens traded in the past week */
8771
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
8772
+ /** Number of unique tokens traded in the past year */
8773
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
8774
+ /** Number of unique tokens traded in the past 30 days */
8775
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
8776
+ /** Volume in USD in the past day */
8777
+ volumeUsd1d?: InputMaybe<NumberFilter>;
8778
+ /** Volume in USD in the past week */
8779
+ volumeUsd1w?: InputMaybe<NumberFilter>;
8780
+ /** Volume in USD in the past year */
8781
+ volumeUsd1y?: InputMaybe<NumberFilter>;
8782
+ /** Volume in USD in the past 30 days */
8783
+ volumeUsd30d?: InputMaybe<NumberFilter>;
8784
+ /** Total volume in USD in the past day including all tokens */
8785
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
8786
+ /** Total volume in USD in the past week including all tokens */
8787
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
8788
+ /** Total volume in USD in the past year including all tokens */
8789
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
8790
+ /** Total volume in USD in the past 30 days including all tokens */
8791
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
8792
+ /** Win rate in the past day */
8793
+ winRate1d?: InputMaybe<NumberFilter>;
8794
+ /** Win rate in the past week */
8795
+ winRate1w?: InputMaybe<NumberFilter>;
8796
+ /** Win rate in the past year */
8797
+ winRate1y?: InputMaybe<NumberFilter>;
8798
+ /** Win rate in the past 30 days */
8799
+ winRate30d?: InputMaybe<NumberFilter>;
8800
+ };
8801
+ export type WalletNetworkFilters = {
8802
+ /** Average profit in USD per trade in the past day */
8803
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8804
+ /** Average profit in USD per trade in the past week */
8805
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8806
+ /** Average profit in USD per trade in the past year */
8807
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8808
+ /** Average profit in USD per trade in the past 30 days */
8809
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8810
+ /** Average swap amount in USD in the past day */
8811
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8812
+ /** Average swap amount in USD in the past week */
8813
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8814
+ /** Average swap amount in USD in the past year */
8815
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8816
+ /** Average swap amount in USD in the past 30 days */
8817
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8818
+ /** The bot score for the wallet. Indicates the likelihood of the wallet being a bot. Zero being not a bot and 100 being a definite bot. */
8819
+ botScore?: InputMaybe<NumberFilter>;
8820
+ /** The unix timestamp for the first transaction from this wallet. */
8821
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8822
+ /** The unix timestamp for the last transaction from this wallet. */
8823
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8824
+ /** The native token balance of the wallet. */
8825
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8826
+ /** Realized profit percentage in the past day */
8827
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8828
+ /** Realized profit percentage in the past week */
8829
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8830
+ /** Realized profit percentage in the past year */
8831
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
8832
+ /** Realized profit percentage in the past 30 days */
8833
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
8834
+ /** Realized profit in USD in the past day */
8835
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
8836
+ /** Realized profit in USD in the past week */
8837
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
8838
+ /** Realized profit in USD in the past year */
8839
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
8840
+ /** Realized profit in USD in the past 30 days */
8841
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
8842
+ /** The scammer score for the wallet. Indicates the likelihood of the wallet being a scammer. Zero being not a scammer and 100 being a definite scammer. */
8843
+ scammerScore?: InputMaybe<NumberFilter>;
8844
+ /** Number of swaps in the past day */
8845
+ swaps1d?: InputMaybe<NumberFilter>;
8846
+ /** Number of swaps in the past week */
8847
+ swaps1w?: InputMaybe<NumberFilter>;
8848
+ /** Number of swaps in the past year */
8849
+ swaps1y?: InputMaybe<NumberFilter>;
8850
+ /** Number of swaps in the past 30 days */
8851
+ swaps30d?: InputMaybe<NumberFilter>;
8852
+ /** Total number of swaps in the past day including all tokens */
8853
+ swapsAll1d?: InputMaybe<NumberFilter>;
8854
+ /** Total number of swaps in the past week including all tokens */
8855
+ swapsAll1w?: InputMaybe<NumberFilter>;
8856
+ /** Total number of swaps in the past year including all tokens */
8857
+ swapsAll1y?: InputMaybe<NumberFilter>;
8858
+ /** Total number of swaps in the past 30 days including all tokens */
8859
+ swapsAll30d?: InputMaybe<NumberFilter>;
8860
+ /** Number of unique tokens traded in the past day */
8861
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
8862
+ /** Number of unique tokens traded in the past week */
8863
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
8864
+ /** Number of unique tokens traded in the past year */
8865
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
8866
+ /** Number of unique tokens traded in the past 30 days */
8867
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
8868
+ /** Volume in USD in the past day */
8869
+ volumeUsd1d?: InputMaybe<NumberFilter>;
8870
+ /** Volume in USD in the past week */
8871
+ volumeUsd1w?: InputMaybe<NumberFilter>;
8872
+ /** Volume in USD in the past year */
8873
+ volumeUsd1y?: InputMaybe<NumberFilter>;
8874
+ /** Volume in USD in the past 30 days */
8875
+ volumeUsd30d?: InputMaybe<NumberFilter>;
8876
+ /** Total volume in USD in the past day including all tokens */
8877
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
8878
+ /** Total volume in USD in the past week including all tokens */
8879
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
8880
+ /** Total volume in USD in the past year including all tokens */
8881
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
8882
+ /** Total volume in USD in the past 30 days including all tokens */
8883
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
8884
+ /** Win rate in the past day */
8885
+ winRate1d?: InputMaybe<NumberFilter>;
8886
+ /** Win rate in the past week */
8887
+ winRate1w?: InputMaybe<NumberFilter>;
8888
+ /** Win rate in the past year */
8889
+ winRate1y?: InputMaybe<NumberFilter>;
8890
+ /** Win rate in the past 30 days */
8891
+ winRate30d?: InputMaybe<NumberFilter>;
8892
+ };
8893
+ export type WalletNetworkRanking = {
8894
+ /** The attribute to rank wallets by. */
8895
+ attribute?: InputMaybe<WalletNetworkRankingAttribute>;
8896
+ /** The direction to apply to the ranking attribute. */
8897
+ direction?: InputMaybe<RankingDirection>;
8898
+ };
8899
+ export declare enum WalletNetworkRankingAttribute {
8900
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
8901
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
8902
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
8903
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
8904
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
8905
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
8906
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
8907
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
8908
+ BotScore = "botScore",
8909
+ FirstTransactionAt = "firstTransactionAt",
8910
+ LastTransactionAt = "lastTransactionAt",
8911
+ NativeTokenBalance = "nativeTokenBalance",
8912
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
8913
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
8914
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
8915
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
8916
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
8917
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
8918
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
8919
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
8920
+ ScammerScore = "scammerScore",
8921
+ Swaps1d = "swaps1d",
8922
+ Swaps1w = "swaps1w",
8923
+ Swaps1y = "swaps1y",
8924
+ Swaps30d = "swaps30d",
8925
+ SwapsAll1d = "swapsAll1d",
8926
+ SwapsAll1w = "swapsAll1w",
8927
+ SwapsAll1y = "swapsAll1y",
8928
+ SwapsAll30d = "swapsAll30d",
8929
+ UniqueTokens1d = "uniqueTokens1d",
8930
+ UniqueTokens1w = "uniqueTokens1w",
8931
+ UniqueTokens1y = "uniqueTokens1y",
8932
+ UniqueTokens30d = "uniqueTokens30d",
8933
+ VolumeUsd1d = "volumeUsd1d",
8934
+ VolumeUsd1w = "volumeUsd1w",
8935
+ VolumeUsd1y = "volumeUsd1y",
8936
+ VolumeUsd30d = "volumeUsd30d",
8937
+ VolumeUsdAll1d = "volumeUsdAll1d",
8938
+ VolumeUsdAll1w = "volumeUsdAll1w",
8939
+ VolumeUsdAll1y = "volumeUsdAll1y",
8940
+ VolumeUsdAll30d = "volumeUsdAll30d",
8941
+ WinRate1d = "winRate1d",
8942
+ WinRate1w = "winRate1w",
8943
+ WinRate1y = "winRate1y",
8944
+ WinRate30d = "winRate30d"
8945
+ }
7988
8946
  export type WalletNftCollection = {
7989
8947
  __typename?: 'WalletNftCollection';
7990
8948
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8033,6 +8991,318 @@ export type WalletNftCollectionsResponse = {
8033
8991
  /** The list of collections for a wallet. */
8034
8992
  items: Array<WalletNftCollection>;
8035
8993
  };
8994
+ export type WalletRanking = {
8995
+ /** The attribute to rank wallets by. */
8996
+ attribute?: InputMaybe<WalletRankingAttribute>;
8997
+ /** The direction to apply to the ranking attribute. */
8998
+ direction?: InputMaybe<RankingDirection>;
8999
+ };
9000
+ export declare enum WalletRankingAttribute {
9001
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9002
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
9003
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
9004
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
9005
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
9006
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
9007
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
9008
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
9009
+ BotScore = "botScore",
9010
+ FirstTransactionAt = "firstTransactionAt",
9011
+ LastTransactionAt = "lastTransactionAt",
9012
+ NativeTokenBalance = "nativeTokenBalance",
9013
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9014
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9015
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9016
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9017
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9018
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9019
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9020
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9021
+ ScammerScore = "scammerScore",
9022
+ Swaps1d = "swaps1d",
9023
+ Swaps1w = "swaps1w",
9024
+ Swaps1y = "swaps1y",
9025
+ Swaps30d = "swaps30d",
9026
+ SwapsAll1d = "swapsAll1d",
9027
+ SwapsAll1w = "swapsAll1w",
9028
+ SwapsAll1y = "swapsAll1y",
9029
+ SwapsAll30d = "swapsAll30d",
9030
+ UniqueTokens1d = "uniqueTokens1d",
9031
+ UniqueTokens1w = "uniqueTokens1w",
9032
+ UniqueTokens1y = "uniqueTokens1y",
9033
+ UniqueTokens30d = "uniqueTokens30d",
9034
+ VolumeUsd1d = "volumeUsd1d",
9035
+ VolumeUsd1w = "volumeUsd1w",
9036
+ VolumeUsd1y = "volumeUsd1y",
9037
+ VolumeUsd30d = "volumeUsd30d",
9038
+ VolumeUsdAll1d = "volumeUsdAll1d",
9039
+ VolumeUsdAll1w = "volumeUsdAll1w",
9040
+ VolumeUsdAll1y = "volumeUsdAll1y",
9041
+ VolumeUsdAll30d = "volumeUsdAll30d",
9042
+ WinRate1d = "winRate1d",
9043
+ WinRate1w = "winRate1w",
9044
+ WinRate1y = "winRate1y",
9045
+ WinRate30d = "winRate30d"
9046
+ }
9047
+ /** The period the wallet stats are for. */
9048
+ export declare enum WalletStatsDuration {
9049
+ Day1 = "day1",
9050
+ Day30 = "day30",
9051
+ Week1 = "week1",
9052
+ Year1 = "year1"
9053
+ }
9054
+ export type WalletTokenFilterRange = {
9055
+ /** The maximum value (inclusive) */
9056
+ max?: InputMaybe<Scalars['String']['input']>;
9057
+ /** The minimum value (inclusive) */
9058
+ min?: InputMaybe<Scalars['String']['input']>;
9059
+ };
9060
+ export type WalletTokenFilters = {
9061
+ /** Filter by amount bought in USD in the past day */
9062
+ amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
9063
+ /** Filter by amount bought in USD in the past week */
9064
+ amountBoughtUsd1w?: InputMaybe<WalletTokenFilterRange>;
9065
+ /** Filter by amount bought in USD in the past year */
9066
+ amountBoughtUsd1y?: InputMaybe<WalletTokenFilterRange>;
9067
+ /** Filter by amount bought in USD in the past 30 days */
9068
+ amountBoughtUsd30d?: InputMaybe<WalletTokenFilterRange>;
9069
+ /** Filter by amount sold in USD in the past day */
9070
+ amountSoldUsd1d?: InputMaybe<WalletTokenFilterRange>;
9071
+ /** Filter by amount sold in USD in the past week */
9072
+ amountSoldUsd1w?: InputMaybe<WalletTokenFilterRange>;
9073
+ /** Filter by amount sold in USD in the past year */
9074
+ amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
9075
+ /** Filter by amount sold in USD in the past 30 days */
9076
+ amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
9077
+ /** Filter by bot score */
9078
+ botScore?: InputMaybe<WalletTokenFilterRange>;
9079
+ /** Filter by number of buys in the past day */
9080
+ buys1d?: InputMaybe<WalletTokenFilterRange>;
9081
+ /** Filter by number of buys in the past week */
9082
+ buys1w?: InputMaybe<WalletTokenFilterRange>;
9083
+ /** Filter by number of buys in the past year */
9084
+ buys1y?: InputMaybe<WalletTokenFilterRange>;
9085
+ /** Filter by number of buys in the past 30 days */
9086
+ buys30d?: InputMaybe<WalletTokenFilterRange>;
9087
+ /** Filter by first transaction timestamp */
9088
+ firstTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9089
+ /** Filter by last transaction timestamp */
9090
+ lastTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9091
+ /** Filter by purchased token balance */
9092
+ purchasedTokenBalance?: InputMaybe<WalletTokenFilterRange>;
9093
+ /** Filter by realized profit percentage in the past day */
9094
+ realizedProfitPercentage1d?: InputMaybe<WalletTokenFilterRange>;
9095
+ /** Filter by realized profit percentage in the past week */
9096
+ realizedProfitPercentage1w?: InputMaybe<WalletTokenFilterRange>;
9097
+ /** Filter by realized profit percentage in the past year */
9098
+ realizedProfitPercentage1y?: InputMaybe<WalletTokenFilterRange>;
9099
+ /** Filter by realized profit percentage in the past 30 days */
9100
+ realizedProfitPercentage30d?: InputMaybe<WalletTokenFilterRange>;
9101
+ /** Filter by realized profit in USD in the past day */
9102
+ realizedProfitUsd1d?: InputMaybe<WalletTokenFilterRange>;
9103
+ /** Filter by realized profit in USD in the past week */
9104
+ realizedProfitUsd1w?: InputMaybe<WalletTokenFilterRange>;
9105
+ /** Filter by realized profit in USD in the past year */
9106
+ realizedProfitUsd1y?: InputMaybe<WalletTokenFilterRange>;
9107
+ /** Filter by realized profit in USD in the past 30 days */
9108
+ realizedProfitUsd30d?: InputMaybe<WalletTokenFilterRange>;
9109
+ /** Filter by scammer score */
9110
+ scammerScore?: InputMaybe<WalletTokenFilterRange>;
9111
+ /** Filter by number of sells in the past day */
9112
+ sells1d?: InputMaybe<WalletTokenFilterRange>;
9113
+ /** Filter by number of sells in the past week */
9114
+ sells1w?: InputMaybe<WalletTokenFilterRange>;
9115
+ /** Filter by number of sells in the past year */
9116
+ sells1y?: InputMaybe<WalletTokenFilterRange>;
9117
+ /** Filter by number of sells in the past 30 days */
9118
+ sells30d?: InputMaybe<WalletTokenFilterRange>;
9119
+ /** Filter by token acquisition cost in USD */
9120
+ tokenAcquisitionCostUsd?: InputMaybe<WalletTokenFilterRange>;
9121
+ /** Filter by token amount bought in the past day */
9122
+ tokenAmountBought1d?: InputMaybe<WalletTokenFilterRange>;
9123
+ /** Filter by token amount bought in the past week */
9124
+ tokenAmountBought1w?: InputMaybe<WalletTokenFilterRange>;
9125
+ /** Filter by token amount bought in the past year */
9126
+ tokenAmountBought1y?: InputMaybe<WalletTokenFilterRange>;
9127
+ /** Filter by token amount bought in the past 30 days */
9128
+ tokenAmountBought30d?: InputMaybe<WalletTokenFilterRange>;
9129
+ /** Filter by token amount sold in the past day */
9130
+ tokenAmountSold1d?: InputMaybe<WalletTokenFilterRange>;
9131
+ /** Filter by token amount sold in the past week */
9132
+ tokenAmountSold1w?: InputMaybe<WalletTokenFilterRange>;
9133
+ /** Filter by token amount sold in the past year */
9134
+ tokenAmountSold1y?: InputMaybe<WalletTokenFilterRange>;
9135
+ /** Filter by token amount sold in the past 30 days */
9136
+ tokenAmountSold30d?: InputMaybe<WalletTokenFilterRange>;
9137
+ /** Filter by token balance */
9138
+ tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9139
+ };
9140
+ export type WalletTokenFiltersV2 = {
9141
+ /** Filter by amount bought in USD in the past day */
9142
+ amountBoughtUsd1d?: InputMaybe<NumberFilter>;
9143
+ /** Filter by amount bought in USD in the past week */
9144
+ amountBoughtUsd1w?: InputMaybe<NumberFilter>;
9145
+ /** Filter by amount bought in USD in the past year */
9146
+ amountBoughtUsd1y?: InputMaybe<NumberFilter>;
9147
+ /** Filter by amount bought in USD in the past 30 days */
9148
+ amountBoughtUsd30d?: InputMaybe<NumberFilter>;
9149
+ /** Filter by amount sold in USD in the past day */
9150
+ amountSoldUsd1d?: InputMaybe<NumberFilter>;
9151
+ /** Filter by amount sold in USD in the past week */
9152
+ amountSoldUsd1w?: InputMaybe<NumberFilter>;
9153
+ /** Filter by amount sold in USD in the past year */
9154
+ amountSoldUsd1y?: InputMaybe<NumberFilter>;
9155
+ /** Filter by amount sold in USD in the past 30 days */
9156
+ amountSoldUsd30d?: InputMaybe<NumberFilter>;
9157
+ /** Filter by bot score */
9158
+ botScore?: InputMaybe<NumberFilter>;
9159
+ /** Filter by number of buys in the past day */
9160
+ buys1d?: InputMaybe<NumberFilter>;
9161
+ /** Filter by number of buys in the past week */
9162
+ buys1w?: InputMaybe<NumberFilter>;
9163
+ /** Filter by number of buys in the past year */
9164
+ buys1y?: InputMaybe<NumberFilter>;
9165
+ /** Filter by number of buys in the past 30 days */
9166
+ buys30d?: InputMaybe<NumberFilter>;
9167
+ /** Filter by first transaction timestamp */
9168
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9169
+ /** Filter by last transaction timestamp */
9170
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9171
+ /** Filter by purchased token balance */
9172
+ purchasedTokenBalance?: InputMaybe<NumberFilter>;
9173
+ /** Filter by realized profit percentage in the past day */
9174
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9175
+ /** Filter by realized profit percentage in the past week */
9176
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9177
+ /** Filter by realized profit percentage in the past year */
9178
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9179
+ /** Filter by realized profit percentage in the past 30 days */
9180
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9181
+ /** Filter by realized profit in USD in the past day */
9182
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9183
+ /** Filter by realized profit in USD in the past week */
9184
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9185
+ /** Filter by realized profit in USD in the past year */
9186
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9187
+ /** Filter by realized profit in USD in the past 30 days */
9188
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9189
+ /** Filter by scammer score */
9190
+ scammerScore?: InputMaybe<NumberFilter>;
9191
+ /** Filter by number of sells in the past day */
9192
+ sells1d?: InputMaybe<NumberFilter>;
9193
+ /** Filter by number of sells in the past week */
9194
+ sells1w?: InputMaybe<NumberFilter>;
9195
+ /** Filter by number of sells in the past year */
9196
+ sells1y?: InputMaybe<NumberFilter>;
9197
+ /** Filter by number of sells in the past 30 days */
9198
+ sells30d?: InputMaybe<NumberFilter>;
9199
+ /** Filter by token acquisition cost in USD */
9200
+ tokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
9201
+ /** Filter by token amount bought in the past day */
9202
+ tokenAmountBought1d?: InputMaybe<NumberFilter>;
9203
+ /** Filter by token amount bought in the past week */
9204
+ tokenAmountBought1w?: InputMaybe<NumberFilter>;
9205
+ /** Filter by token amount bought in the past year */
9206
+ tokenAmountBought1y?: InputMaybe<NumberFilter>;
9207
+ /** Filter by token amount bought in the past 30 days */
9208
+ tokenAmountBought30d?: InputMaybe<NumberFilter>;
9209
+ /** Filter by token amount sold in the past day */
9210
+ tokenAmountSold1d?: InputMaybe<NumberFilter>;
9211
+ /** Filter by token amount sold in the past week */
9212
+ tokenAmountSold1w?: InputMaybe<NumberFilter>;
9213
+ /** Filter by token amount sold in the past year */
9214
+ tokenAmountSold1y?: InputMaybe<NumberFilter>;
9215
+ /** Filter by token amount sold in the past 30 days */
9216
+ tokenAmountSold30d?: InputMaybe<NumberFilter>;
9217
+ /** Filter by token balance */
9218
+ tokenBalance?: InputMaybe<NumberFilter>;
9219
+ };
9220
+ export type WalletTokenRanking = {
9221
+ /** The attribute to rank wallets by */
9222
+ attribute: WalletTokenRankingAttribute;
9223
+ /** The direction to apply to the ranking attribute */
9224
+ direction: RankingDirection;
9225
+ };
9226
+ export declare enum WalletTokenRankingAttribute {
9227
+ /** Amount bought in USD in the past day */
9228
+ AmountBoughtUsd1d = "amountBoughtUsd1d",
9229
+ /** Amount bought in USD in the past week */
9230
+ AmountBoughtUsd1w = "amountBoughtUsd1w",
9231
+ /** Amount bought in USD in the past year */
9232
+ AmountBoughtUsd1y = "amountBoughtUsd1y",
9233
+ /** Amount bought in USD in the past 30 days */
9234
+ AmountBoughtUsd30d = "amountBoughtUsd30d",
9235
+ /** Amount sold in USD in the past day */
9236
+ AmountSoldUsd1d = "amountSoldUsd1d",
9237
+ /** Amount sold in USD in the past week */
9238
+ AmountSoldUsd1w = "amountSoldUsd1w",
9239
+ /** Amount sold in USD in the past year */
9240
+ AmountSoldUsd1y = "amountSoldUsd1y",
9241
+ /** Amount sold in USD in the past 30 days */
9242
+ AmountSoldUsd30d = "amountSoldUsd30d",
9243
+ /** The bot score for the wallet. */
9244
+ BotScore = "botScore",
9245
+ /** Number of buys in the past day */
9246
+ Buys1d = "buys1d",
9247
+ /** Number of buys in the past week */
9248
+ Buys1w = "buys1w",
9249
+ /** Number of buys in the past year */
9250
+ Buys1y = "buys1y",
9251
+ /** Number of buys in the past 30 days */
9252
+ Buys30d = "buys30d",
9253
+ /** The first transaction timestamp */
9254
+ FirstTransactionAt = "firstTransactionAt",
9255
+ /** The last transaction timestamp */
9256
+ LastTransactionAt = "lastTransactionAt",
9257
+ /** Purchased token balance */
9258
+ PurchasedTokenBalance = "purchasedTokenBalance",
9259
+ /** Realized profit percentage in the past day */
9260
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9261
+ /** Realized profit percentage in the past week */
9262
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9263
+ /** Realized profit percentage in the past year */
9264
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9265
+ /** Realized profit percentage in the past 30 days */
9266
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9267
+ /** Realized profit in USD in the past day */
9268
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9269
+ /** Realized profit in USD in the past week */
9270
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9271
+ /** Realized profit in USD in the past year */
9272
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9273
+ /** Realized profit in USD in the past 30 days */
9274
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9275
+ /** The scammer score for the wallet. */
9276
+ ScammerScore = "scammerScore",
9277
+ /** Number of sells in the past day */
9278
+ Sells1d = "sells1d",
9279
+ /** Number of sells in the past week */
9280
+ Sells1w = "sells1w",
9281
+ /** Number of sells in the past year */
9282
+ Sells1y = "sells1y",
9283
+ /** Number of sells in the past 30 days */
9284
+ Sells30d = "sells30d",
9285
+ /** Token acquisition cost in USD */
9286
+ TokenAcquisitionCostUsd = "tokenAcquisitionCostUsd",
9287
+ /** Token amount bought in the past day */
9288
+ TokenAmountBought1d = "tokenAmountBought1d",
9289
+ /** Token amount bought in the past week */
9290
+ TokenAmountBought1w = "tokenAmountBought1w",
9291
+ /** Token amount bought in the past year */
9292
+ TokenAmountBought1y = "tokenAmountBought1y",
9293
+ /** Token amount bought in the past 30 days */
9294
+ TokenAmountBought30d = "tokenAmountBought30d",
9295
+ /** Token amount sold in the past day */
9296
+ TokenAmountSold1d = "tokenAmountSold1d",
9297
+ /** Token amount sold in the past week */
9298
+ TokenAmountSold1w = "tokenAmountSold1w",
9299
+ /** Token amount sold in the past year */
9300
+ TokenAmountSold1y = "tokenAmountSold1y",
9301
+ /** Token amount sold in the past 30 days */
9302
+ TokenAmountSold30d = "tokenAmountSold30d",
9303
+ /** Token balance */
9304
+ TokenBalance = "tokenBalance"
9305
+ }
8036
9306
  /** Metadata for a washtrade label. */
8037
9307
  export type WashtradeLabelForEvent = {
8038
9308
  __typename?: 'WashtradeLabelForEvent';
@@ -8122,6 +9392,26 @@ export type WindowedDetailedCurrencyPairStats = {
8122
9392
  /** The volume over the time frame. */
8123
9393
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8124
9394
  };
9395
+ /** The currency stats for a wallet over a time window. */
9396
+ export type WindowedDetailedCurrencyWalletStats = {
9397
+ __typename?: 'WindowedDetailedCurrencyWalletStats';
9398
+ /** The average profit in USD per trade */
9399
+ averageProfitUsdPerTrade: Scalars['String']['output'];
9400
+ /** The average swap amount in USD */
9401
+ averageSwapAmountUsd: Scalars['String']['output'];
9402
+ /** The cost of tokens held in the wallet */
9403
+ heldTokenAcquisitionCostUsd: Scalars['String']['output'];
9404
+ /** The realized profit percentage */
9405
+ realizedProfitPercentage: Scalars['Float']['output'];
9406
+ /** The realized profit in USD */
9407
+ realizedProfitUsd: Scalars['String']['output'];
9408
+ /** The cost of tokens sold during the period */
9409
+ soldTokenAcquisitionCostUsd: Scalars['String']['output'];
9410
+ /** The volume in USD */
9411
+ volumeUsd: Scalars['String']['output'];
9412
+ /** The volume in USD including tokens sold for which we do not have a price */
9413
+ volumeUsdAll: Scalars['String']['output'];
9414
+ };
8125
9415
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8126
9416
  export type WindowedDetailedNftCurrencyStats = {
8127
9417
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8192,6 +9482,18 @@ export type WindowedDetailedNonCurrencyPairStats = {
8192
9482
  /** The transaction count over the time frame. */
8193
9483
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8194
9484
  };
9485
+ /** The non-currency stats for a wallet over a time window. */
9486
+ export type WindowedDetailedNonCurrencyWalletStats = {
9487
+ __typename?: 'WindowedDetailedNonCurrencyWalletStats';
9488
+ /** The number of losses */
9489
+ losses: Scalars['Int']['output'];
9490
+ /** The number of swaps */
9491
+ swaps: Scalars['Int']['output'];
9492
+ /** The number of unique tokens */
9493
+ uniqueTokens: Scalars['Int']['output'];
9494
+ /** The number of wins */
9495
+ wins: Scalars['Int']['output'];
9496
+ };
8195
9497
  /** Detailed pair stats over a time frame. */
8196
9498
  export type WindowedDetailedPairStats = {
8197
9499
  __typename?: 'WindowedDetailedPairStats';
@@ -8238,6 +9540,24 @@ export type WindowedDetailedStats = {
8238
9540
  /** The window size used to request detailed stats. */
8239
9541
  windowSize: DetailedStatsWindowSize;
8240
9542
  };
9543
+ /** The stats for a wallet over a time window. */
9544
+ export type WindowedWalletStats = {
9545
+ __typename?: 'WindowedWalletStats';
9546
+ /** The end timestamp */
9547
+ end: Scalars['Int']['output'];
9548
+ /** The last transaction timestamp */
9549
+ lastTransactionAt: Scalars['Int']['output'];
9550
+ /** The network ID */
9551
+ networkId?: Maybe<Scalars['Int']['output']>;
9552
+ /** The start timestamp */
9553
+ start: Scalars['Int']['output'];
9554
+ /** The stats related to non-currency */
9555
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats;
9556
+ /** The stats related to currency */
9557
+ statsUsd: WindowedDetailedCurrencyWalletStats;
9558
+ /** The wallet address */
9559
+ walletAddress: Scalars['String']['output'];
9560
+ };
8241
9561
  export declare enum Join__Graph {
8242
9562
  ApiAdmin = "API_ADMIN",
8243
9563
  Decodings = "DECODINGS",