@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
@@ -168,15 +168,25 @@ export type Balance = {
168
168
  export type BalancesInput = {
169
169
  /** A cursor for use in pagination. */
170
170
  cursor?: InputMaybe<Scalars['String']['input']>;
171
- /** Optional token specifically request the balance for */
171
+ /**
172
+ * Optional token specifically request the balance for. Only works with `walletId`.
173
+ * @deprecated Use tokens list instead
174
+ */
172
175
  filterToken?: InputMaybe<Scalars['String']['input']>;
173
- /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
176
+ /** 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`. */
174
177
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
175
- /** The maximum number of holdings to return. */
178
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
176
179
  limit?: InputMaybe<Scalars['Int']['input']>;
180
+ /** The network IDs to filter by. */
181
+ networks?: InputMaybe<Array<Scalars['Int']['input']>>;
182
+ /** 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. */
183
+ tokens?: InputMaybe<Array<Scalars['String']['input']>>;
177
184
  /** The wallet address to filter by. */
178
185
  walletAddress?: InputMaybe<Scalars['String']['input']>;
179
- /** The ID of the wallet (`walletAddress:networkId`). */
186
+ /**
187
+ * The ID of the wallet (`walletAddress:networkId`).
188
+ * @deprecated Use walletAddress and networkId instead
189
+ */
180
190
  walletId?: InputMaybe<Scalars['String']['input']>;
181
191
  };
182
192
 
@@ -223,7 +233,10 @@ export type BarsResponse = {
223
233
  traders: Array<Maybe<Scalars['Int']['output']>>;
224
234
  /** The number of transactions */
225
235
  transactions: Array<Maybe<Scalars['Int']['output']>>;
226
- /** The volume. */
236
+ /**
237
+ * The volume.
238
+ * @deprecated Use volume field instead
239
+ */
227
240
  v: Array<Maybe<Scalars['Int']['output']>>;
228
241
  /** The volume with higher precision. */
229
242
  volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
@@ -839,6 +852,48 @@ export enum DetailedStatsWindowSize {
839
852
  Min5 = 'min5'
840
853
  }
841
854
 
855
+ /** The detailed stats for a wallet. */
856
+ export type DetailedWalletStats = {
857
+ __typename?: 'DetailedWalletStats';
858
+ /** The likelihood of the wallet being a bot */
859
+ botScore?: Maybe<Scalars['Int']['output']>;
860
+ /** The labels associated with the wallet */
861
+ labels: Array<Scalars['String']['output']>;
862
+ /** The last transaction timestamp */
863
+ lastTransactionAt: Scalars['Int']['output'];
864
+ /** The network breakdown */
865
+ networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
866
+ /**
867
+ * The network specific stats
868
+ * @deprecated Use networkBreakdown instead
869
+ */
870
+ networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
871
+ /** The likelihood of the wallet being a scammer */
872
+ scammerScore?: Maybe<Scalars['Int']['output']>;
873
+ /** The stats for the last day */
874
+ statsDay1?: Maybe<WindowedWalletStats>;
875
+ /** The stats for the last 30 days */
876
+ statsDay30?: Maybe<WindowedWalletStats>;
877
+ /** The stats for the last week */
878
+ statsWeek1?: Maybe<WindowedWalletStats>;
879
+ /** The stats for the last year */
880
+ statsYear1?: Maybe<WindowedWalletStats>;
881
+ /** The wallet address */
882
+ walletAddress: Scalars['String']['output'];
883
+ };
884
+
885
+ /** The input for detailed wallet stats. */
886
+ export type DetailedWalletStatsInput = {
887
+ /** Whether to include network breakdown stats */
888
+ includeNetworkBreakdown?: InputMaybe<Scalars['Boolean']['input']>;
889
+ /** The network ID */
890
+ networkId?: InputMaybe<Scalars['Int']['input']>;
891
+ /** The timestamp to get stats for */
892
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
893
+ /** The wallet address */
894
+ walletAddress: Scalars['String']['input'];
895
+ };
896
+
842
897
  /** Metadata for a contract. */
843
898
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
844
899
 
@@ -1005,6 +1060,8 @@ export type Event = {
1005
1060
  transactionHash: Scalars['String']['output'];
1006
1061
  /** The index of the transaction within the block. */
1007
1062
  transactionIndex: Scalars['Int']['output'];
1063
+ /** The age of the wallet in seconds. */
1064
+ walletAge?: Maybe<Scalars['Int']['output']>;
1008
1065
  };
1009
1066
 
1010
1067
  /** Response returned by `getTokenEvents`. */
@@ -1301,6 +1358,73 @@ export type FilterExchange = {
1301
1358
  tradeUrl?: Maybe<Scalars['String']['output']>;
1302
1359
  };
1303
1360
 
1361
+ /** The input for filtering wallets for a network. */
1362
+ export type FilterNetworkWalletsInput = {
1363
+ /** Exclude wallets with these labels. */
1364
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1365
+ /** A set of filters to apply. */
1366
+ filters?: InputMaybe<WalletNetworkFilters>;
1367
+ /** Include wallets with these labels. */
1368
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1369
+ /** The maximum number of wallets to return. */
1370
+ limit?: InputMaybe<Scalars['Int']['input']>;
1371
+ /** The network ID to filter wallets for */
1372
+ networkId: Scalars['Int']['input'];
1373
+ /** 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. */
1374
+ offset?: InputMaybe<Scalars['Int']['input']>;
1375
+ /** A list of ranking attributes to apply. */
1376
+ rankings?: InputMaybe<Array<InputMaybe<WalletNetworkRanking>>>;
1377
+ /** A list of wallet addresses to filter by. */
1378
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1379
+ };
1380
+
1381
+ /** The input for filtering wallets for a token. */
1382
+ export type FilterTokenWalletsInput = {
1383
+ /** Exclude wallets with these labels. */
1384
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1385
+ /**
1386
+ * A set of filters to apply
1387
+ * @deprecated Use filtersV2 instead
1388
+ */
1389
+ filters?: InputMaybe<WalletTokenFilters>;
1390
+ /** A set of filters to apply */
1391
+ filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1392
+ /** Include wallets with these labels. */
1393
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1394
+ /** The maximum number of wallets to return */
1395
+ limit?: InputMaybe<Scalars['Int']['input']>;
1396
+ /** The network ID to filter wallets for */
1397
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1398
+ /** Where in the list the server should start when returning items */
1399
+ offset?: InputMaybe<Scalars['Int']['input']>;
1400
+ /** A phrase to search for in token symbol and name */
1401
+ phrase?: InputMaybe<Scalars['String']['input']>;
1402
+ /** A list of ranking attributes to apply */
1403
+ rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1404
+ /** The ID of the token to filter wallets for */
1405
+ tokenId?: InputMaybe<Scalars['String']['input']>;
1406
+ /** The wallet address to filter wallets for */
1407
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
1408
+ };
1409
+
1410
+ /** The input for filtering wallets. */
1411
+ export type FilterWalletsInput = {
1412
+ /** Exclude wallets with these labels. */
1413
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1414
+ /** A set of filters to apply. */
1415
+ filters?: InputMaybe<WalletFilters>;
1416
+ /** Include wallets with these labels. */
1417
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1418
+ /** The maximum number of wallets to return. */
1419
+ limit?: InputMaybe<Scalars['Int']['input']>;
1420
+ /** 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. */
1421
+ offset?: InputMaybe<Scalars['Int']['input']>;
1422
+ /** A list of ranking attributes to apply. */
1423
+ rankings?: InputMaybe<Array<InputMaybe<WalletRanking>>>;
1424
+ /** A list of wallet addresses to filter by. */
1425
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1426
+ };
1427
+
1304
1428
  /** Metadata for a front-run label. */
1305
1429
  export type FrontRunLabelData = {
1306
1430
  __typename?: 'FrontRunLabelData';
@@ -1360,13 +1484,13 @@ export type GetDetailedPairsStatsInput = {
1360
1484
 
1361
1485
  export type GetGasEstimateInput = {
1362
1486
  customGas?: InputMaybe<Scalars['String']['input']>;
1363
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1487
+ exchangeAddress: Scalars['String']['input'];
1364
1488
  gasPrice?: InputMaybe<GasPrice>;
1365
1489
  inputTokenAddress: Scalars['String']['input'];
1366
1490
  inputTokenAmount: Scalars['String']['input'];
1367
1491
  networkId: Scalars['Int']['input'];
1368
1492
  outputTokenAddress: Scalars['String']['input'];
1369
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1493
+ poolAddress: Scalars['String']['input'];
1370
1494
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1371
1495
  slippage?: InputMaybe<Scalars['Float']['input']>;
1372
1496
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1447,12 +1571,12 @@ export type GetPriceInput = {
1447
1571
 
1448
1572
  export type GetQuoteInput = {
1449
1573
  customGas?: InputMaybe<Scalars['String']['input']>;
1450
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1574
+ exchangeAddress: Scalars['String']['input'];
1451
1575
  inputTokenAddress: Scalars['String']['input'];
1452
1576
  inputTokenAmount: Scalars['String']['input'];
1453
1577
  networkId: Scalars['Int']['input'];
1454
1578
  outputTokenAddress: Scalars['String']['input'];
1455
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1579
+ poolAddress: Scalars['String']['input'];
1456
1580
  slippage?: InputMaybe<Scalars['Float']['input']>;
1457
1581
  userId?: InputMaybe<Scalars['Int']['input']>;
1458
1582
  };
@@ -1754,6 +1878,10 @@ export type LaunchpadData = {
1754
1878
  completedSlot?: Maybe<Scalars['Int']['output']>;
1755
1879
  /** The percentage of the pool that was sold to the public. */
1756
1880
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1881
+ /** The name of the launchpad. */
1882
+ launchpadName?: Maybe<Scalars['String']['output']>;
1883
+ /** The launchpad protocol */
1884
+ launchpadProtocol?: Maybe<Scalars['String']['output']>;
1757
1885
  /** Indicates if the launchpad was migrated. */
1758
1886
  migrated?: Maybe<Scalars['Boolean']['output']>;
1759
1887
  /** The unix timestamp when the launchpad was migrated. */
@@ -1762,6 +1890,11 @@ export type LaunchpadData = {
1762
1890
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1763
1891
  /** The slot number when the launchpad was migrated. */
1764
1892
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1893
+ /**
1894
+ * The name of the launchpad.
1895
+ * @deprecated Use launchpadName instead
1896
+ */
1897
+ name?: Maybe<Scalars['String']['output']>;
1765
1898
  /** The address of the pool. */
1766
1899
  poolAddress?: Maybe<Scalars['String']['output']>;
1767
1900
  };
@@ -1797,16 +1930,27 @@ export type LaunchpadTokenEventOutput = {
1797
1930
 
1798
1931
  /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
1799
1932
  export enum LaunchpadTokenEventType {
1933
+ /** The token has been completed */
1800
1934
  Completed = 'Completed',
1935
+ /** The token has been created with metadata */
1801
1936
  Created = 'Created',
1937
+ /** The token has been discovered */
1938
+ Deployed = 'Deployed',
1939
+ /** The token has been migrated */
1802
1940
  Migrated = 'Migrated',
1941
+ /** The token's statistics have been updated */
1803
1942
  Updated = 'Updated'
1804
1943
  }
1805
1944
 
1806
1945
  /** The protocol of the token. */
1807
1946
  export enum LaunchpadTokenProtocol {
1947
+ BoopFun = 'BoopFun',
1948
+ EgoTech = 'EgoTech',
1808
1949
  FourMeme = 'FourMeme',
1809
- Pump = 'Pump'
1950
+ Pump = 'Pump',
1951
+ Rainbow = 'Rainbow',
1952
+ RaydiumLaunchpad = 'RaydiumLaunchpad',
1953
+ Vertigo = 'Vertigo'
1810
1954
  }
1811
1955
 
1812
1956
  export type LiquidityData = {
@@ -2058,6 +2202,142 @@ export type Network = {
2058
2202
  networkShortName?: Maybe<Scalars['String']['output']>;
2059
2203
  };
2060
2204
 
2205
+ /** A breakdown of the wallet's activity by network. */
2206
+ export type NetworkBreakdown = {
2207
+ __typename?: 'NetworkBreakdown';
2208
+ /** The native token balance */
2209
+ nativeTokenBalance: Scalars['String']['output'];
2210
+ /** The network ID */
2211
+ networkId: Scalars['Int']['output'];
2212
+ /** The stats for the last day */
2213
+ statsDay1?: Maybe<WindowedWalletStats>;
2214
+ /** The stats for the last 30 days */
2215
+ statsDay30?: Maybe<WindowedWalletStats>;
2216
+ /** The stats for the last week */
2217
+ statsWeek1?: Maybe<WindowedWalletStats>;
2218
+ /** The stats for the last year */
2219
+ statsYear1?: Maybe<WindowedWalletStats>;
2220
+ };
2221
+
2222
+ export type NetworkWalletFilterConnection = {
2223
+ __typename?: 'NetworkWalletFilterConnection';
2224
+ /** The number of wallets returned. */
2225
+ count: Scalars['Int']['output'];
2226
+ /** Where in the list the server started when returning items. */
2227
+ offset: Scalars['Int']['output'];
2228
+ /** The list of wallets matching the filter parameters. */
2229
+ results: Array<NetworkWalletFilterResult>;
2230
+ };
2231
+
2232
+ export type NetworkWalletFilterResult = {
2233
+ __typename?: 'NetworkWalletFilterResult';
2234
+ /** The wallet address */
2235
+ address: Scalars['String']['output'];
2236
+ /** Average profit in USD per trade in the past day */
2237
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
2238
+ /** Average profit in USD per trade in the past week */
2239
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
2240
+ /** Average profit in USD per trade in the past year */
2241
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
2242
+ /** Average profit in USD per trade in the past 30 days */
2243
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
2244
+ /** Average swap amount in USD in the past day */
2245
+ averageSwapAmountUsd1d: Scalars['String']['output'];
2246
+ /** Average swap amount in USD in the past week */
2247
+ averageSwapAmountUsd1w: Scalars['String']['output'];
2248
+ /** Average swap amount in USD in the past year */
2249
+ averageSwapAmountUsd1y: Scalars['String']['output'];
2250
+ /** Average swap amount in USD in the past 30 days */
2251
+ averageSwapAmountUsd30d: Scalars['String']['output'];
2252
+ /** The bot score for the wallet. */
2253
+ botScore?: Maybe<Scalars['Int']['output']>;
2254
+ /** The unix timestamp for the first transaction from this wallet */
2255
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
2256
+ /** The labels associated with the wallet */
2257
+ labels: Array<Scalars['String']['output']>;
2258
+ /** The unix timestamp for the last transaction from this wallet */
2259
+ lastTransactionAt: Scalars['Int']['output'];
2260
+ /** The native token balance of the wallet */
2261
+ nativeTokenBalance: Scalars['String']['output'];
2262
+ /** The network ID of the wallet */
2263
+ networkId: Scalars['Int']['output'];
2264
+ /** Realized profit percentage in the past day */
2265
+ realizedProfitPercentage1d: Scalars['Float']['output'];
2266
+ /** Realized profit percentage in the past week */
2267
+ realizedProfitPercentage1w: Scalars['Float']['output'];
2268
+ /** Realized profit percentage in the past year */
2269
+ realizedProfitPercentage1y: Scalars['Float']['output'];
2270
+ /** Realized profit percentage in the past 30 days */
2271
+ realizedProfitPercentage30d: Scalars['Float']['output'];
2272
+ /** Realized profit in USD in the past day */
2273
+ realizedProfitUsd1d: Scalars['String']['output'];
2274
+ /** Realized profit in USD in the past week */
2275
+ realizedProfitUsd1w: Scalars['String']['output'];
2276
+ /** Realized profit in USD in the past year */
2277
+ realizedProfitUsd1y: Scalars['String']['output'];
2278
+ /** Realized profit in USD in the past 30 days */
2279
+ realizedProfitUsd30d: Scalars['String']['output'];
2280
+ /** The scammer score for the wallet. */
2281
+ scammerScore?: Maybe<Scalars['Int']['output']>;
2282
+ /** Number of swaps in the past day */
2283
+ swaps1d: Scalars['Int']['output'];
2284
+ /** Number of swaps in the past week */
2285
+ swaps1w: Scalars['Int']['output'];
2286
+ /** Number of swaps in the past year */
2287
+ swaps1y: Scalars['Int']['output'];
2288
+ /** Number of swaps in the past 30 days */
2289
+ swaps30d: Scalars['Int']['output'];
2290
+ /** Total number of swaps in the past day including all tokens */
2291
+ swapsAll1d: Scalars['Int']['output'];
2292
+ /** Total number of swaps in the past week including all tokens */
2293
+ swapsAll1w: Scalars['Int']['output'];
2294
+ /** Total number of swaps in the past year including all tokens */
2295
+ swapsAll1y: Scalars['Int']['output'];
2296
+ /** Total number of swaps in the past 30 days including all tokens */
2297
+ swapsAll30d: Scalars['Int']['output'];
2298
+ /** Number of unique tokens traded in the past day */
2299
+ uniqueTokens1d: Scalars['Int']['output'];
2300
+ /** Number of unique tokens traded in the past week */
2301
+ uniqueTokens1w: Scalars['Int']['output'];
2302
+ /** Number of unique tokens traded in the past year */
2303
+ uniqueTokens1y: Scalars['Int']['output'];
2304
+ /** Number of unique tokens traded in the past 30 days */
2305
+ uniqueTokens30d: Scalars['Int']['output'];
2306
+ /** Volume in USD in the past day */
2307
+ volumeUsd1d: Scalars['String']['output'];
2308
+ /** Volume in USD in the past week */
2309
+ volumeUsd1w: Scalars['String']['output'];
2310
+ /** Volume in USD in the past year */
2311
+ volumeUsd1y: Scalars['String']['output'];
2312
+ /** Volume in USD in the past 30 days */
2313
+ volumeUsd30d: Scalars['String']['output'];
2314
+ /** Total volume in USD in the past day including all tokens */
2315
+ volumeUsdAll1d: Scalars['String']['output'];
2316
+ /** Total volume in USD in the past week including all tokens */
2317
+ volumeUsdAll1w: Scalars['String']['output'];
2318
+ /** Total volume in USD in the past year including all tokens */
2319
+ volumeUsdAll1y: Scalars['String']['output'];
2320
+ /** Total volume in USD in the past 30 days including all tokens */
2321
+ volumeUsdAll30d: Scalars['String']['output'];
2322
+ /** Win rate in the past day */
2323
+ winRate1d: Scalars['Float']['output'];
2324
+ /** Win rate in the past week */
2325
+ winRate1w: Scalars['Float']['output'];
2326
+ /** Win rate in the past year */
2327
+ winRate1y: Scalars['Float']['output'];
2328
+ /** Win rate in the past 30 days */
2329
+ winRate30d: Scalars['Float']['output'];
2330
+ };
2331
+
2332
+ /** Native token balance for a wallet on a network. */
2333
+ export type NetworkWalletStats = {
2334
+ __typename?: 'NetworkWalletStats';
2335
+ /** The native token balance */
2336
+ nativeTokenBalance: Scalars['String']['output'];
2337
+ /** The network ID */
2338
+ networkId: Scalars['Int']['output'];
2339
+ };
2340
+
2061
2341
  /** Event data for creating a new NFT pool. */
2062
2342
  export type NewPoolEventData = {
2063
2343
  __typename?: 'NewPoolEventData';
@@ -4680,11 +4960,11 @@ export type OnBarsUpdatedResponse = {
4680
4960
 
4681
4961
  /** Input for `onLaunchpadTokenEvent`. */
4682
4962
  export type OnLaunchpadTokenEventInput = {
4683
- /** The contract address of the token. */
4963
+ /** The contract address of the token. Required when `networkId` is provided. */
4684
4964
  address?: InputMaybe<Scalars['String']['input']>;
4685
4965
  /** The type of event. */
4686
4966
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4687
- /** The network ID that the token is deployed on. */
4967
+ /** The network ID that the token is deployed on. Required when `address` is provided. */
4688
4968
  networkId?: InputMaybe<Scalars['Int']['input']>;
4689
4969
  /** The protocol of the token. */
4690
4970
  protocol?: InputMaybe<LaunchpadTokenProtocol>;
@@ -4827,7 +5107,7 @@ export type PairChartSettings = {
4827
5107
  pairAddress: Scalars['String']['input'];
4828
5108
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4829
5109
  quoteToken?: InputMaybe<QuoteToken>;
4830
- /** The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
5110
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4831
5111
  resolution?: InputMaybe<Scalars['String']['input']>;
4832
5112
  /** The color theme of the chart. */
4833
5113
  theme?: InputMaybe<ChartTheme>;
@@ -4865,6 +5145,14 @@ export type PairFilterResult = {
4865
5145
  buyCount12?: Maybe<Scalars['Int']['output']>;
4866
5146
  /** The number of buys in the past 24 hours. */
4867
5147
  buyCount24?: Maybe<Scalars['Int']['output']>;
5148
+ /** The buy volume in USD in the past hour. */
5149
+ buyVolumeUSD1?: Maybe<Scalars['String']['output']>;
5150
+ /** The buy volume in USD in the past 4 hours. */
5151
+ buyVolumeUSD4?: Maybe<Scalars['String']['output']>;
5152
+ /** The buy volume in USD in the past 12 hours. */
5153
+ buyVolumeUSD12?: Maybe<Scalars['String']['output']>;
5154
+ /** The buy volume in USD in the past 24 hours. */
5155
+ buyVolumeUSD24?: Maybe<Scalars['String']['output']>;
4868
5156
  /** The unix timestamp for the creation of the pair. */
4869
5157
  createdAt?: Maybe<Scalars['Int']['output']>;
4870
5158
  /** Exchange metadata for the pair. */
@@ -4919,6 +5207,18 @@ export type PairFilterResult = {
4919
5207
  sellCount12?: Maybe<Scalars['Int']['output']>;
4920
5208
  /** The number of sells in the past 24 hours. */
4921
5209
  sellCount24?: Maybe<Scalars['Int']['output']>;
5210
+ /** The sell volume in USD in the past hour. */
5211
+ sellVolumeUSD1?: Maybe<Scalars['String']['output']>;
5212
+ /** The sell volume in USD in the past 4 hours. */
5213
+ sellVolumeUSD4?: Maybe<Scalars['String']['output']>;
5214
+ /** The sell volume in USD in the past 12 hours. */
5215
+ sellVolumeUSD12?: Maybe<Scalars['String']['output']>;
5216
+ /** The sell volume in USD in the past 24 hours. */
5217
+ sellVolumeUSD24?: Maybe<Scalars['String']['output']>;
5218
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
5219
+ swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
5220
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
5221
+ swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
4922
5222
  /** Metadata for the first token in the pair. */
4923
5223
  token0?: Maybe<EnhancedToken>;
4924
5224
  /** Metadata for the second token in the pair. */
@@ -4971,6 +5271,10 @@ export type PairFilterResult = {
4971
5271
  volumeUSD12?: Maybe<Scalars['String']['output']>;
4972
5272
  /** The trade volume in USD in the past 24 hours. */
4973
5273
  volumeUSD24?: Maybe<Scalars['String']['output']>;
5274
+ /** The average age of the wallets that traded in the last 24h */
5275
+ walletAgeAvg?: Maybe<Scalars['String']['output']>;
5276
+ /** The standard deviation of age of the wallets that traded in the last 24h */
5277
+ walletAgeStd?: Maybe<Scalars['String']['output']>;
4974
5278
  };
4975
5279
 
4976
5280
  /** Input type of `PairFilters`. */
@@ -4983,6 +5287,14 @@ export type PairFilters = {
4983
5287
  buyCount12?: InputMaybe<NumberFilter>;
4984
5288
  /** The number of buys in the past 24 hours. */
4985
5289
  buyCount24?: InputMaybe<NumberFilter>;
5290
+ /** The buy volume in USD in the past hour. */
5291
+ buyVolumeUSD1?: InputMaybe<NumberFilter>;
5292
+ /** The buy volume in USD in the past 4 hours. */
5293
+ buyVolumeUSD4?: InputMaybe<NumberFilter>;
5294
+ /** The buy volume in USD in the past 12 hours. */
5295
+ buyVolumeUSD12?: InputMaybe<NumberFilter>;
5296
+ /** The buy volume in USD in the past 24 hours. */
5297
+ buyVolumeUSD24?: InputMaybe<NumberFilter>;
4986
5298
  /** The unix timestamp for the creation of the pair. */
4987
5299
  createdAt?: InputMaybe<NumberFilter>;
4988
5300
  /** The list of exchange contract addresses to filter by. */
@@ -5033,6 +5345,18 @@ export type PairFilters = {
5033
5345
  sellCount12?: InputMaybe<NumberFilter>;
5034
5346
  /** The number of sells in the past 24 hours. */
5035
5347
  sellCount24?: InputMaybe<NumberFilter>;
5348
+ /** The sell volume in USD in the past hour. */
5349
+ sellVolumeUSD1?: InputMaybe<NumberFilter>;
5350
+ /** The sell volume in USD in the past 4 hours. */
5351
+ sellVolumeUSD4?: InputMaybe<NumberFilter>;
5352
+ /** The sell volume in USD in the past 12 hours. */
5353
+ sellVolumeUSD12?: InputMaybe<NumberFilter>;
5354
+ /** The sell volume in USD in the past 24 hours. */
5355
+ sellVolumeUSD24?: InputMaybe<NumberFilter>;
5356
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
5357
+ swapPct1dOldWallet?: InputMaybe<NumberFilter>;
5358
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
5359
+ swapPct7dOldWallet?: InputMaybe<NumberFilter>;
5036
5360
  /** The list of token contract addresses to filter by. */
5037
5361
  tokenAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5038
5362
  /** Whether to ignore pairs/tokens not relevant to trending */
@@ -5085,6 +5409,10 @@ export type PairFilters = {
5085
5409
  volumeUSD12?: InputMaybe<NumberFilter>;
5086
5410
  /** The trade volume in USD in the past 24 hours. */
5087
5411
  volumeUSD24?: InputMaybe<NumberFilter>;
5412
+ /** The average age of the wallets that traded in the last 24h */
5413
+ walletAgeAvg?: InputMaybe<NumberFilter>;
5414
+ /** The standard deviation of age of the wallets that traded in the last 24h */
5415
+ walletAgeStd?: InputMaybe<NumberFilter>;
5088
5416
  };
5089
5417
 
5090
5418
  export type PairMetadata = {
@@ -5199,6 +5527,10 @@ export enum PairRankingAttribute {
5199
5527
  BuyCount4 = 'buyCount4',
5200
5528
  BuyCount12 = 'buyCount12',
5201
5529
  BuyCount24 = 'buyCount24',
5530
+ BuyVolumeUsd1 = 'buyVolumeUSD1',
5531
+ BuyVolumeUsd4 = 'buyVolumeUSD4',
5532
+ BuyVolumeUsd12 = 'buyVolumeUSD12',
5533
+ BuyVolumeUsd24 = 'buyVolumeUSD24',
5202
5534
  CreatedAt = 'createdAt',
5203
5535
  HighPrice1 = 'highPrice1',
5204
5536
  HighPrice4 = 'highPrice4',
@@ -5221,6 +5553,12 @@ export enum PairRankingAttribute {
5221
5553
  SellCount4 = 'sellCount4',
5222
5554
  SellCount12 = 'sellCount12',
5223
5555
  SellCount24 = 'sellCount24',
5556
+ SellVolumeUsd1 = 'sellVolumeUSD1',
5557
+ SellVolumeUsd4 = 'sellVolumeUSD4',
5558
+ SellVolumeUsd12 = 'sellVolumeUSD12',
5559
+ SellVolumeUsd24 = 'sellVolumeUSD24',
5560
+ SwapPct1dOldWallet = 'swapPct1dOldWallet',
5561
+ SwapPct7dOldWallet = 'swapPct7dOldWallet',
5224
5562
  TrendingScore = 'trendingScore',
5225
5563
  TrendingScore1 = 'trendingScore1',
5226
5564
  TrendingScore4 = 'trendingScore4',
@@ -5250,7 +5588,9 @@ export enum PairRankingAttribute {
5250
5588
  VolumeUsd1 = 'volumeUSD1',
5251
5589
  VolumeUsd4 = 'volumeUSD4',
5252
5590
  VolumeUsd12 = 'volumeUSD12',
5253
- VolumeUsd24 = 'volumeUSD24'
5591
+ VolumeUsd24 = 'volumeUSD24',
5592
+ WalletAgeAvg = 'walletAgeAvg',
5593
+ WalletAgeStd = 'walletAgeStd'
5254
5594
  }
5255
5595
 
5256
5596
  /** Response returned by `filterNftParallelAssets`. */
@@ -6114,8 +6454,15 @@ export type Query = {
6114
6454
  balances: BalancesResponse;
6115
6455
  /** Returns a URL for a pair chart. */
6116
6456
  chartUrls?: Maybe<ChartUrlsResponse>;
6457
+ /** Returns detailed stats for a wallet. */
6458
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
6117
6459
  /** Returns a list of exchanges based on a variety of filters. */
6118
6460
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6461
+ /**
6462
+ * Returns a list of wallets with stats narrowed down to a specific network.
6463
+ * @deprecated Use filterWallets instead
6464
+ */
6465
+ filterNetworkWallets: NetworkWalletFilterConnection;
6119
6466
  /** Returns a list of NFT collection based on a variety of filters. */
6120
6467
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
6121
6468
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -6126,8 +6473,12 @@ export type Query = {
6126
6473
  filterNftPools?: Maybe<NftPoolFilterConnection>;
6127
6474
  /** Returns a list of pairs based on a variety of filters. */
6128
6475
  filterPairs?: Maybe<PairFilterConnection>;
6476
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6477
+ filterTokenWallets: TokenWalletFilterConnection;
6129
6478
  /** Returns a list of tokens based on a variety of filters. */
6130
6479
  filterTokens?: Maybe<TokenFilterConnection>;
6480
+ /** Returns a list of wallets based on a variety of filters. */
6481
+ filterWallets: WalletFilterConnection;
6131
6482
  /** Returns bar chart data to track price changes over time. */
6132
6483
  getBars?: Maybe<BarsResponse>;
6133
6484
  /** Returns community gathered notes. */
@@ -6238,6 +6589,8 @@ export type Query = {
6238
6589
  tokens: Array<Maybe<EnhancedToken>>;
6239
6590
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6240
6591
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6592
+ /** Returns a chart of a wallet's activity. */
6593
+ walletChart?: Maybe<WalletChartResponse>;
6241
6594
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6242
6595
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6243
6596
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6260,6 +6613,11 @@ export type QueryChartUrlsArgs = {
6260
6613
  };
6261
6614
 
6262
6615
 
6616
+ export type QueryDetailedWalletStatsArgs = {
6617
+ input: DetailedWalletStatsInput;
6618
+ };
6619
+
6620
+
6263
6621
  export type QueryFilterExchangesArgs = {
6264
6622
  filters?: InputMaybe<ExchangeFilters>;
6265
6623
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6269,6 +6627,11 @@ export type QueryFilterExchangesArgs = {
6269
6627
  };
6270
6628
 
6271
6629
 
6630
+ export type QueryFilterNetworkWalletsArgs = {
6631
+ input: FilterNetworkWalletsInput;
6632
+ };
6633
+
6634
+
6272
6635
  export type QueryFilterNftCollectionsArgs = {
6273
6636
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6274
6637
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6319,6 +6682,11 @@ export type QueryFilterPairsArgs = {
6319
6682
  };
6320
6683
 
6321
6684
 
6685
+ export type QueryFilterTokenWalletsArgs = {
6686
+ input: FilterTokenWalletsInput;
6687
+ };
6688
+
6689
+
6322
6690
  export type QueryFilterTokensArgs = {
6323
6691
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6324
6692
  filters?: InputMaybe<TokenFilters>;
@@ -6331,6 +6699,11 @@ export type QueryFilterTokensArgs = {
6331
6699
  };
6332
6700
 
6333
6701
 
6702
+ export type QueryFilterWalletsArgs = {
6703
+ input: FilterWalletsInput;
6704
+ };
6705
+
6706
+
6334
6707
  export type QueryGetBarsArgs = {
6335
6708
  countback?: InputMaybe<Scalars['Int']['input']>;
6336
6709
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6713,6 +7086,11 @@ export type QueryTop10HoldersPercentArgs = {
6713
7086
  };
6714
7087
 
6715
7088
 
7089
+ export type QueryWalletChartArgs = {
7090
+ input: WalletChartInput;
7091
+ };
7092
+
7093
+
6716
7094
  export type QueryWalletNftCollectionAssetsArgs = {
6717
7095
  input: WalletNftCollectionAssetsInput;
6718
7096
  };
@@ -6762,6 +7140,12 @@ export enum QuoteType {
6762
7140
  Output = 'OUTPUT'
6763
7141
  }
6764
7142
 
7143
+ /** The range of time for a chart. */
7144
+ export type RangeInput = {
7145
+ end: Scalars['Int']['input'];
7146
+ start: Scalars['Int']['input'];
7147
+ };
7148
+
6765
7149
  /** The order of ranking. */
6766
7150
  export enum RankingDirection {
6767
7151
  Asc = 'ASC',
@@ -7286,6 +7670,7 @@ export type Subscription = {
7286
7670
  onLatestPairUpdated?: Maybe<LatestPair>;
7287
7671
  onLatestTokens?: Maybe<LatestToken>;
7288
7672
  onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
7673
+ onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
7289
7674
  /** Live-streamed transactions for an NFT asset. */
7290
7675
  onNftAssetsCreated?: Maybe<NftAsset>;
7291
7676
  /** Live-streamed transactions for an NFT collection. */
@@ -7688,6 +8073,16 @@ export type TokenFilterResult = {
7688
8073
  buyCount12?: Maybe<Scalars['Int']['output']>;
7689
8074
  /** The number of buys in the past 24 hours. */
7690
8075
  buyCount24?: Maybe<Scalars['Int']['output']>;
8076
+ /** The buy volume in USD in the past hour. */
8077
+ buyVolume1?: Maybe<Scalars['String']['output']>;
8078
+ /** The buy volume in USD in the past 4 hours. */
8079
+ buyVolume4?: Maybe<Scalars['String']['output']>;
8080
+ /** The buy volume in USD in the past 5 minutes. */
8081
+ buyVolume5m?: Maybe<Scalars['String']['output']>;
8082
+ /** The buy volume in USD in the past 12 hours. */
8083
+ buyVolume12?: Maybe<Scalars['String']['output']>;
8084
+ /** The buy volume in USD in the past 24 hours. */
8085
+ buyVolume24?: Maybe<Scalars['String']['output']>;
7691
8086
  /** The percent price change in the past hour. Decimal format. */
7692
8087
  change1?: Maybe<Scalars['String']['output']>;
7693
8088
  /** The percent price change in the past 4 hours. Decimal format. */
@@ -7698,6 +8093,8 @@ export type TokenFilterResult = {
7698
8093
  change12?: Maybe<Scalars['String']['output']>;
7699
8094
  /** The percent price change in the past 24 hours. Decimal format. */
7700
8095
  change24?: Maybe<Scalars['String']['output']>;
8096
+ /** The circulating market cap. */
8097
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7701
8098
  /** The unix timestamp for the creation of the token's first pair. */
7702
8099
  createdAt?: Maybe<Scalars['Int']['output']>;
7703
8100
  /** The exchanges the token is listed on. */
@@ -7732,7 +8129,7 @@ export type TokenFilterResult = {
7732
8129
  low12?: Maybe<Scalars['String']['output']>;
7733
8130
  /** The lowest price in USD in the past 24 hours. */
7734
8131
  low24?: Maybe<Scalars['String']['output']>;
7735
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
8132
+ /** The fully diluted market cap. */
7736
8133
  marketCap?: Maybe<Scalars['String']['output']>;
7737
8134
  /** Metadata for the token's top pair. */
7738
8135
  pair?: Maybe<Pair>;
@@ -7750,6 +8147,20 @@ export type TokenFilterResult = {
7750
8147
  sellCount12?: Maybe<Scalars['Int']['output']>;
7751
8148
  /** The number of sells in the past 24 hours. */
7752
8149
  sellCount24?: Maybe<Scalars['Int']['output']>;
8150
+ /** The sell volume in USD in the past hour. */
8151
+ sellVolume1?: Maybe<Scalars['String']['output']>;
8152
+ /** The sell volume in USD in the past 4 hours. */
8153
+ sellVolume4?: Maybe<Scalars['String']['output']>;
8154
+ /** The sell volume in USD in the past 5 minutes. */
8155
+ sellVolume5m?: Maybe<Scalars['String']['output']>;
8156
+ /** The sell volume in USD in the past 12 hours. */
8157
+ sellVolume12?: Maybe<Scalars['String']['output']>;
8158
+ /** The sell volume in USD in the past 24 hours. */
8159
+ sellVolume24?: Maybe<Scalars['String']['output']>;
8160
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
8161
+ swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
8162
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
8163
+ swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
7753
8164
  /** Metadata for the token. */
7754
8165
  token?: Maybe<EnhancedToken>;
7755
8166
  /** The number of transactions in the past hour. */
@@ -7812,6 +8223,10 @@ export type TokenFilterResult = {
7812
8223
  volumeChange12?: Maybe<Scalars['String']['output']>;
7813
8224
  /** The percent volume change in the past 24 hours. Decimal format. */
7814
8225
  volumeChange24?: Maybe<Scalars['String']['output']>;
8226
+ /** The average age of the wallets that traded in the last 24h */
8227
+ walletAgeAvg?: Maybe<Scalars['String']['output']>;
8228
+ /** The standard deviation of age of the wallets that traded in the last 24h */
8229
+ walletAgeStd?: Maybe<Scalars['String']['output']>;
7815
8230
  };
7816
8231
 
7817
8232
  /** Input type of `TokenFilters`. */
@@ -7828,6 +8243,16 @@ export type TokenFilters = {
7828
8243
  buyCount12?: InputMaybe<NumberFilter>;
7829
8244
  /** The number of buys in the past 24 hours. */
7830
8245
  buyCount24?: InputMaybe<NumberFilter>;
8246
+ /** The buy volume in USD in the past hour. */
8247
+ buyVolume1?: InputMaybe<NumberFilter>;
8248
+ /** The buy volume in USD in the past 4 hours. */
8249
+ buyVolume4?: InputMaybe<NumberFilter>;
8250
+ /** The buy volume in USD in the past 5 minutes. */
8251
+ buyVolume5m?: InputMaybe<NumberFilter>;
8252
+ /** The buy volume in USD in the past 12 hours. */
8253
+ buyVolume12?: InputMaybe<NumberFilter>;
8254
+ /** The buy volume in USD in the past 24 hours. */
8255
+ buyVolume24?: InputMaybe<NumberFilter>;
7831
8256
  /** The percent price change in the past hour. Decimal format. */
7832
8257
  change1?: InputMaybe<NumberFilter>;
7833
8258
  /** The percent price change in the past 4 hours. Decimal format. */
@@ -7838,6 +8263,8 @@ export type TokenFilters = {
7838
8263
  change12?: InputMaybe<NumberFilter>;
7839
8264
  /** The percent price change in the past 24 hours. Decimal format. */
7840
8265
  change24?: InputMaybe<NumberFilter>;
8266
+ /** The circulating market cap. */
8267
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7841
8268
  /** The unix timestamp for the creation of the token's first pair. */
7842
8269
  createdAt?: InputMaybe<NumberFilter>;
7843
8270
  /** The address of the creator of the token */
@@ -7880,6 +8307,10 @@ export type TokenFilters = {
7880
8307
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7881
8308
  /** The timestamp when the launchpad was migrated */
7882
8309
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8310
+ /** The name of the launchpad */
8311
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
8312
+ /** The launchpad protocol */
8313
+ launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
7883
8314
  /** The amount of liquidity in the token's top pair. */
7884
8315
  liquidity?: InputMaybe<NumberFilter>;
7885
8316
  /** The lowest price in USD in the past hour. */
@@ -7914,6 +8345,20 @@ export type TokenFilters = {
7914
8345
  sellCount12?: InputMaybe<NumberFilter>;
7915
8346
  /** The number of sells in the past 24 hours. */
7916
8347
  sellCount24?: InputMaybe<NumberFilter>;
8348
+ /** The sell volume in USD in the past hour. */
8349
+ sellVolume1?: InputMaybe<NumberFilter>;
8350
+ /** The sell volume in USD in the past 4 hours. */
8351
+ sellVolume4?: InputMaybe<NumberFilter>;
8352
+ /** The sell volume in USD in the past 5 minutes. */
8353
+ sellVolume5m?: InputMaybe<NumberFilter>;
8354
+ /** The sell volume in USD in the past 12 hours. */
8355
+ sellVolume12?: InputMaybe<NumberFilter>;
8356
+ /** The sell volume in USD in the past 24 hours. */
8357
+ sellVolume24?: InputMaybe<NumberFilter>;
8358
+ /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
8359
+ swapPct1dOldWallet?: InputMaybe<NumberFilter>;
8360
+ /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
8361
+ swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7917
8362
  /** Whether to ignore pairs/tokens not relevant to trending */
7918
8363
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7919
8364
  /** The number of transactions in the past hour. */
@@ -7976,6 +8421,10 @@ export type TokenFilters = {
7976
8421
  volumeChange12?: InputMaybe<NumberFilter>;
7977
8422
  /** The percent volume change in the past 24 hours. Decimal format. */
7978
8423
  volumeChange24?: InputMaybe<NumberFilter>;
8424
+ /** The average age of the wallets that traded in the last 24h */
8425
+ walletAgeAvg?: InputMaybe<NumberFilter>;
8426
+ /** The standard deviation of age of the wallets that traded in the last 24h */
8427
+ walletAgeStd?: InputMaybe<NumberFilter>;
7979
8428
  };
7980
8429
 
7981
8430
  /** Metadata for a token. */
@@ -8176,11 +8625,17 @@ export enum TokenRankingAttribute {
8176
8625
  BuyCount5m = 'buyCount5m',
8177
8626
  BuyCount12 = 'buyCount12',
8178
8627
  BuyCount24 = 'buyCount24',
8628
+ BuyVolume1 = 'buyVolume1',
8629
+ BuyVolume4 = 'buyVolume4',
8630
+ BuyVolume5m = 'buyVolume5m',
8631
+ BuyVolume12 = 'buyVolume12',
8632
+ BuyVolume24 = 'buyVolume24',
8179
8633
  Change1 = 'change1',
8180
8634
  Change4 = 'change4',
8181
8635
  Change5m = 'change5m',
8182
8636
  Change12 = 'change12',
8183
8637
  Change24 = 'change24',
8638
+ CirculatingMarketCap = 'circulatingMarketCap',
8184
8639
  CreatedAt = 'createdAt',
8185
8640
  GraduationPercent = 'graduationPercent',
8186
8641
  High1 = 'high1',
@@ -8206,6 +8661,13 @@ export enum TokenRankingAttribute {
8206
8661
  SellCount5m = 'sellCount5m',
8207
8662
  SellCount12 = 'sellCount12',
8208
8663
  SellCount24 = 'sellCount24',
8664
+ SellVolume1 = 'sellVolume1',
8665
+ SellVolume4 = 'sellVolume4',
8666
+ SellVolume5m = 'sellVolume5m',
8667
+ SellVolume12 = 'sellVolume12',
8668
+ SellVolume24 = 'sellVolume24',
8669
+ SwapPct1dOldWallet = 'swapPct1dOldWallet',
8670
+ SwapPct7dOldWallet = 'swapPct7dOldWallet',
8209
8671
  TrendingScore = 'trendingScore',
8210
8672
  TrendingScore1 = 'trendingScore1',
8211
8673
  TrendingScore4 = 'trendingScore4',
@@ -8241,7 +8703,9 @@ export enum TokenRankingAttribute {
8241
8703
  VolumeChange4 = 'volumeChange4',
8242
8704
  VolumeChange5m = 'volumeChange5m',
8243
8705
  VolumeChange12 = 'volumeChange12',
8244
- VolumeChange24 = 'volumeChange24'
8706
+ VolumeChange24 = 'volumeChange24',
8707
+ WalletAgeAvg = 'walletAgeAvg',
8708
+ WalletAgeStd = 'walletAgeStd'
8245
8709
  }
8246
8710
 
8247
8711
  /** Response returned by `searchTokens`. */
@@ -8336,6 +8800,133 @@ export type TokenTopTradersInput = {
8336
8800
  tradingPeriod: TradingPeriod;
8337
8801
  };
8338
8802
 
8803
+ export type TokenWalletFilterConnection = {
8804
+ __typename?: 'TokenWalletFilterConnection';
8805
+ /** The number of wallets returned. */
8806
+ count: Scalars['Int']['output'];
8807
+ /** Where in the list the server started when returning items. */
8808
+ offset: Scalars['Int']['output'];
8809
+ /** The list of wallets matching the filter parameters. */
8810
+ results: Array<TokenWalletFilterResult>;
8811
+ };
8812
+
8813
+ /** The result for filtering wallets for a token. */
8814
+ export type TokenWalletFilterResult = {
8815
+ __typename?: 'TokenWalletFilterResult';
8816
+ /** The wallet address */
8817
+ address: Scalars['String']['output'];
8818
+ /** Amount bought in USD in the past day */
8819
+ amountBoughtUsd1d: Scalars['String']['output'];
8820
+ /** Amount bought in USD in the past week */
8821
+ amountBoughtUsd1w: Scalars['String']['output'];
8822
+ /** Amount bought in USD in the past year */
8823
+ amountBoughtUsd1y: Scalars['String']['output'];
8824
+ /** Amount bought in USD in the past 30 days */
8825
+ amountBoughtUsd30d: Scalars['String']['output'];
8826
+ /** Amount sold in USD in the past day */
8827
+ amountSoldUsd1d: Scalars['String']['output'];
8828
+ /** Amount sold in USD in the past week */
8829
+ amountSoldUsd1w: Scalars['String']['output'];
8830
+ /** Amount sold in USD in the past year */
8831
+ amountSoldUsd1y: Scalars['String']['output'];
8832
+ /** Amount sold in USD in the past 30 days */
8833
+ amountSoldUsd30d: Scalars['String']['output'];
8834
+ /** Amount sold USD all in the past day */
8835
+ amountSoldUsdAll1d: Scalars['String']['output'];
8836
+ /** Amount sold USD all in the past week */
8837
+ amountSoldUsdAll1w: Scalars['String']['output'];
8838
+ /** Amount sold USD all in the past year */
8839
+ amountSoldUsdAll1y: Scalars['String']['output'];
8840
+ /** Amount sold USD all in the past 30 days */
8841
+ amountSoldUsdAll30d: Scalars['String']['output'];
8842
+ /** The bot score for the wallet. */
8843
+ botScore?: Maybe<Scalars['Int']['output']>;
8844
+ /** Number of buys in the past day */
8845
+ buys1d: Scalars['Int']['output'];
8846
+ /** Number of buys in the past week */
8847
+ buys1w: Scalars['Int']['output'];
8848
+ /** Number of buys in the past year */
8849
+ buys1y: Scalars['Int']['output'];
8850
+ /** Number of buys in the past 30 days */
8851
+ buys30d: Scalars['Int']['output'];
8852
+ /** The unix timestamp for the first transaction from this wallet */
8853
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8854
+ /** The labels associated with the wallet */
8855
+ labels: Array<Scalars['String']['output']>;
8856
+ /** The unix timestamp for the last transaction from this wallet */
8857
+ lastTransactionAt: Scalars['Int']['output'];
8858
+ /** The network ID */
8859
+ networkId: Scalars['Int']['output'];
8860
+ /** The purchased token balance */
8861
+ purchasedTokenBalance: Scalars['String']['output'];
8862
+ /** Realized profit percentage in the past day */
8863
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8864
+ /** Realized profit percentage in the past week */
8865
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8866
+ /** Realized profit percentage in the past year */
8867
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8868
+ /** Realized profit percentage in the past 30 days */
8869
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8870
+ /** Realized profit in USD in the past day */
8871
+ realizedProfitUsd1d: Scalars['String']['output'];
8872
+ /** Realized profit in USD in the past week */
8873
+ realizedProfitUsd1w: Scalars['String']['output'];
8874
+ /** Realized profit in USD in the past year */
8875
+ realizedProfitUsd1y: Scalars['String']['output'];
8876
+ /** Realized profit in USD in the past 30 days */
8877
+ realizedProfitUsd30d: Scalars['String']['output'];
8878
+ /** The scammer score for the wallet. */
8879
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8880
+ /** Number of sells in the past day */
8881
+ sells1d: Scalars['Int']['output'];
8882
+ /** Number of sells in the past week */
8883
+ sells1w: Scalars['Int']['output'];
8884
+ /** Number of sells in the past year */
8885
+ sells1y: Scalars['Int']['output'];
8886
+ /** Number of sells in the past 30 days */
8887
+ sells30d: Scalars['Int']['output'];
8888
+ /** Number of sells all in the past day */
8889
+ sellsAll1d: Scalars['Int']['output'];
8890
+ /** Number of sells all in the past week */
8891
+ sellsAll1w: Scalars['Int']['output'];
8892
+ /** Number of sells all in the past year */
8893
+ sellsAll1y: Scalars['Int']['output'];
8894
+ /** Number of sells all in the past 30 days */
8895
+ sellsAll30d: Scalars['Int']['output'];
8896
+ /** The token metadata */
8897
+ token: EnhancedToken;
8898
+ /** The token acquisition cost in USD */
8899
+ tokenAcquisitionCostUsd: Scalars['String']['output'];
8900
+ /** The token address */
8901
+ tokenAddress: Scalars['String']['output'];
8902
+ /** Token amount bought in the past day */
8903
+ tokenAmountBought1d: Scalars['String']['output'];
8904
+ /** Token amount bought in the past week */
8905
+ tokenAmountBought1w: Scalars['String']['output'];
8906
+ /** Token amount bought in the past year */
8907
+ tokenAmountBought1y: Scalars['String']['output'];
8908
+ /** Token amount bought in the past 30 days */
8909
+ tokenAmountBought30d: Scalars['String']['output'];
8910
+ /** Token amount sold in the past day */
8911
+ tokenAmountSold1d: Scalars['String']['output'];
8912
+ /** Token amount sold in the past week */
8913
+ tokenAmountSold1w: Scalars['String']['output'];
8914
+ /** Token amount sold in the past year */
8915
+ tokenAmountSold1y: Scalars['String']['output'];
8916
+ /** Token amount sold in the past 30 days */
8917
+ tokenAmountSold30d: Scalars['String']['output'];
8918
+ /** Token amount sold all in the past day */
8919
+ tokenAmountSoldAll1d: Scalars['String']['output'];
8920
+ /** Token amount sold all in the past week */
8921
+ tokenAmountSoldAll1w: Scalars['String']['output'];
8922
+ /** Token amount sold all in the past year */
8923
+ tokenAmountSoldAll1y: Scalars['String']['output'];
8924
+ /** Token amount sold all in the past 30 days */
8925
+ tokenAmountSoldAll30d: Scalars['String']['output'];
8926
+ /** The current token balance */
8927
+ tokenBalance: Scalars['String']['output'];
8928
+ };
8929
+
8339
8930
  /** A token with metadata. */
8340
8931
  export type TokenWithMetadata = {
8341
8932
  __typename?: 'TokenWithMetadata';
@@ -8530,12 +9121,410 @@ export type UnconfirmedSwapEventData = {
8530
9121
  type: EventType;
8531
9122
  };
8532
9123
 
9124
+ /** The data for a chart of a wallet's activity. */
9125
+ export type WalletChartData = {
9126
+ __typename?: 'WalletChartData';
9127
+ /** The realized profit in USD */
9128
+ realizedProfitUsd: Scalars['String']['output'];
9129
+ /** The resolution */
9130
+ resolution: Scalars['String']['output'];
9131
+ /** The number of swaps */
9132
+ swaps: Scalars['Int']['output'];
9133
+ /** The timestamp */
9134
+ timestamp: Scalars['Int']['output'];
9135
+ /** The volume in USD */
9136
+ volumeUsd: Scalars['String']['output'];
9137
+ /** The volume in USD including tokens sold for which we do not have a price */
9138
+ volumeUsdAll: Scalars['String']['output'];
9139
+ };
9140
+
9141
+ /** The input for a chart of a wallet's activity. */
9142
+ export type WalletChartInput = {
9143
+ /** The network ID */
9144
+ networkId?: InputMaybe<Scalars['Int']['input']>;
9145
+ /** The range of time for the chart */
9146
+ range: RangeInput;
9147
+ /** The resolution of the chart */
9148
+ resolution: Scalars['String']['input'];
9149
+ /** The wallet address */
9150
+ walletAddress: Scalars['String']['input'];
9151
+ };
9152
+
9153
+ /** The range of time for a chart. */
8533
9154
  export type WalletChartRange = {
8534
9155
  __typename?: 'WalletChartRange';
8535
9156
  end: Scalars['Int']['output'];
8536
9157
  start: Scalars['Int']['output'];
8537
9158
  };
8538
9159
 
9160
+ /** The response for a chart of a wallet's activity. */
9161
+ export type WalletChartResponse = {
9162
+ __typename?: 'WalletChartResponse';
9163
+ /** The data for the chart */
9164
+ data: Array<WalletChartData>;
9165
+ /** The network ID */
9166
+ networkId?: Maybe<Scalars['Int']['output']>;
9167
+ /** The range of time for the chart */
9168
+ range: WalletChartRange;
9169
+ /** The resolution of the chart */
9170
+ resolution: Scalars['String']['output'];
9171
+ /** The wallet address */
9172
+ walletAddress: Scalars['String']['output'];
9173
+ };
9174
+
9175
+ export type WalletFilterConnection = {
9176
+ __typename?: 'WalletFilterConnection';
9177
+ /** The number of wallets returned. */
9178
+ count: Scalars['Int']['output'];
9179
+ /** Where in the list the server started when returning items. */
9180
+ offset: Scalars['Int']['output'];
9181
+ /** The list of wallets matching the filter parameters. */
9182
+ results: Array<WalletFilterResult>;
9183
+ };
9184
+
9185
+ export type WalletFilterResult = {
9186
+ __typename?: 'WalletFilterResult';
9187
+ /** The wallet address */
9188
+ address: Scalars['String']['output'];
9189
+ /** Average profit in USD per trade in the past day */
9190
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
9191
+ /** Average profit in USD per trade in the past week */
9192
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
9193
+ /** Average profit in USD per trade in the past year */
9194
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
9195
+ /** Average profit in USD per trade in the past 30 days */
9196
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
9197
+ /** Average swap amount in USD in the past day */
9198
+ averageSwapAmountUsd1d: Scalars['String']['output'];
9199
+ /** Average swap amount in USD in the past week */
9200
+ averageSwapAmountUsd1w: Scalars['String']['output'];
9201
+ /** Average swap amount in USD in the past year */
9202
+ averageSwapAmountUsd1y: Scalars['String']['output'];
9203
+ /** Average swap amount in USD in the past 30 days */
9204
+ averageSwapAmountUsd30d: Scalars['String']['output'];
9205
+ /** The bot score for the wallet. */
9206
+ botScore?: Maybe<Scalars['Int']['output']>;
9207
+ /** The unix timestamp for the first transaction from this wallet */
9208
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
9209
+ /** The labels associated with the wallet */
9210
+ labels: Array<Scalars['String']['output']>;
9211
+ /** The unix timestamp for the last transaction from this wallet */
9212
+ lastTransactionAt: Scalars['Int']['output'];
9213
+ /** The native token balance of the wallet (only present if filtered by network) */
9214
+ nativeTokenBalance?: Maybe<Scalars['String']['output']>;
9215
+ /** The network ID of the wallet (only present if filtered by network) */
9216
+ networkId?: Maybe<Scalars['Int']['output']>;
9217
+ /** Realized profit percentage in the past day */
9218
+ realizedProfitPercentage1d: Scalars['Float']['output'];
9219
+ /** Realized profit percentage in the past week */
9220
+ realizedProfitPercentage1w: Scalars['Float']['output'];
9221
+ /** Realized profit percentage in the past year */
9222
+ realizedProfitPercentage1y: Scalars['Float']['output'];
9223
+ /** Realized profit percentage in the past 30 days */
9224
+ realizedProfitPercentage30d: Scalars['Float']['output'];
9225
+ /** Realized profit in USD in the past day */
9226
+ realizedProfitUsd1d: Scalars['String']['output'];
9227
+ /** Realized profit in USD in the past week */
9228
+ realizedProfitUsd1w: Scalars['String']['output'];
9229
+ /** Realized profit in USD in the past year */
9230
+ realizedProfitUsd1y: Scalars['String']['output'];
9231
+ /** Realized profit in USD in the past 30 days */
9232
+ realizedProfitUsd30d: Scalars['String']['output'];
9233
+ /** The scammer score for the wallet. */
9234
+ scammerScore?: Maybe<Scalars['Int']['output']>;
9235
+ /** Number of swaps in the past day */
9236
+ swaps1d: Scalars['Int']['output'];
9237
+ /** Number of swaps in the past week */
9238
+ swaps1w: Scalars['Int']['output'];
9239
+ /** Number of swaps in the past year */
9240
+ swaps1y: Scalars['Int']['output'];
9241
+ /** Number of swaps in the past 30 days */
9242
+ swaps30d: Scalars['Int']['output'];
9243
+ /** Total number of swaps in the past day including all tokens */
9244
+ swapsAll1d: Scalars['Int']['output'];
9245
+ /** Total number of swaps in the past week including all tokens */
9246
+ swapsAll1w: Scalars['Int']['output'];
9247
+ /** Total number of swaps in the past year including all tokens */
9248
+ swapsAll1y: Scalars['Int']['output'];
9249
+ /** Total number of swaps in the past 30 days including all tokens */
9250
+ swapsAll30d: Scalars['Int']['output'];
9251
+ /** Number of unique tokens traded in the past day */
9252
+ uniqueTokens1d: Scalars['Int']['output'];
9253
+ /** Number of unique tokens traded in the past week */
9254
+ uniqueTokens1w: Scalars['Int']['output'];
9255
+ /** Number of unique tokens traded in the past year */
9256
+ uniqueTokens1y: Scalars['Int']['output'];
9257
+ /** Number of unique tokens traded in the past 30 days */
9258
+ uniqueTokens30d: Scalars['Int']['output'];
9259
+ /** Volume in USD in the past day */
9260
+ volumeUsd1d: Scalars['String']['output'];
9261
+ /** Volume in USD in the past week */
9262
+ volumeUsd1w: Scalars['String']['output'];
9263
+ /** Volume in USD in the past year */
9264
+ volumeUsd1y: Scalars['String']['output'];
9265
+ /** Volume in USD in the past 30 days */
9266
+ volumeUsd30d: Scalars['String']['output'];
9267
+ /** Total volume in USD in the past day including all tokens */
9268
+ volumeUsdAll1d: Scalars['String']['output'];
9269
+ /** Total volume in USD in the past week including all tokens */
9270
+ volumeUsdAll1w: Scalars['String']['output'];
9271
+ /** Total volume in USD in the past year including all tokens */
9272
+ volumeUsdAll1y: Scalars['String']['output'];
9273
+ /** Total volume in USD in the past 30 days including all tokens */
9274
+ volumeUsdAll30d: Scalars['String']['output'];
9275
+ /** Win rate in the past day */
9276
+ winRate1d: Scalars['Float']['output'];
9277
+ /** Win rate in the past week */
9278
+ winRate1w: Scalars['Float']['output'];
9279
+ /** Win rate in the past year */
9280
+ winRate1y: Scalars['Float']['output'];
9281
+ /** Win rate in the past 30 days */
9282
+ winRate30d: Scalars['Float']['output'];
9283
+ };
9284
+
9285
+ export type WalletFilters = {
9286
+ /** Average profit in USD per trade in the past day */
9287
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
9288
+ /** Average profit in USD per trade in the past week */
9289
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
9290
+ /** Average profit in USD per trade in the past year */
9291
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
9292
+ /** Average profit in USD per trade in the past 30 days */
9293
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
9294
+ /** Average swap amount in USD in the past day */
9295
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
9296
+ /** Average swap amount in USD in the past week */
9297
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
9298
+ /** Average swap amount in USD in the past year */
9299
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
9300
+ /** Average swap amount in USD in the past 30 days */
9301
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
9302
+ /** The bot score for the wallet. */
9303
+ botScore?: InputMaybe<NumberFilter>;
9304
+ /** The unix timestamp for the first transaction from this wallet. */
9305
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9306
+ /** The unix timestamp for the last transaction from this wallet. */
9307
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9308
+ /** The native token balance of the wallet. Can only be used in conjunction with `networkId` filter. */
9309
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
9310
+ /** The network ID to filter by. */
9311
+ networkId?: InputMaybe<Scalars['Int']['input']>;
9312
+ /** Realized profit percentage in the past day */
9313
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9314
+ /** Realized profit percentage in the past week */
9315
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9316
+ /** Realized profit percentage in the past year */
9317
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9318
+ /** Realized profit percentage in the past 30 days */
9319
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9320
+ /** Realized profit in USD in the past day */
9321
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9322
+ /** Realized profit in USD in the past week */
9323
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9324
+ /** Realized profit in USD in the past year */
9325
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9326
+ /** Realized profit in USD in the past 30 days */
9327
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9328
+ /** The scammer score for the wallet. */
9329
+ scammerScore?: InputMaybe<NumberFilter>;
9330
+ /** Number of swaps in the past day */
9331
+ swaps1d?: InputMaybe<NumberFilter>;
9332
+ /** Number of swaps in the past week */
9333
+ swaps1w?: InputMaybe<NumberFilter>;
9334
+ /** Number of swaps in the past year */
9335
+ swaps1y?: InputMaybe<NumberFilter>;
9336
+ /** Number of swaps in the past 30 days */
9337
+ swaps30d?: InputMaybe<NumberFilter>;
9338
+ /** Total number of swaps in the past day including all tokens */
9339
+ swapsAll1d?: InputMaybe<NumberFilter>;
9340
+ /** Total number of swaps in the past week including all tokens */
9341
+ swapsAll1w?: InputMaybe<NumberFilter>;
9342
+ /** Total number of swaps in the past year including all tokens */
9343
+ swapsAll1y?: InputMaybe<NumberFilter>;
9344
+ /** Total number of swaps in the past 30 days including all tokens */
9345
+ swapsAll30d?: InputMaybe<NumberFilter>;
9346
+ /** Number of unique tokens traded in the past day */
9347
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
9348
+ /** Number of unique tokens traded in the past week */
9349
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
9350
+ /** Number of unique tokens traded in the past year */
9351
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
9352
+ /** Number of unique tokens traded in the past 30 days */
9353
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
9354
+ /** Volume in USD in the past day */
9355
+ volumeUsd1d?: InputMaybe<NumberFilter>;
9356
+ /** Volume in USD in the past week */
9357
+ volumeUsd1w?: InputMaybe<NumberFilter>;
9358
+ /** Volume in USD in the past year */
9359
+ volumeUsd1y?: InputMaybe<NumberFilter>;
9360
+ /** Volume in USD in the past 30 days */
9361
+ volumeUsd30d?: InputMaybe<NumberFilter>;
9362
+ /** Total volume in USD in the past day including all tokens */
9363
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
9364
+ /** Total volume in USD in the past week including all tokens */
9365
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
9366
+ /** Total volume in USD in the past year including all tokens */
9367
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
9368
+ /** Total volume in USD in the past 30 days including all tokens */
9369
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
9370
+ /** Win rate in the past day */
9371
+ winRate1d?: InputMaybe<NumberFilter>;
9372
+ /** Win rate in the past week */
9373
+ winRate1w?: InputMaybe<NumberFilter>;
9374
+ /** Win rate in the past year */
9375
+ winRate1y?: InputMaybe<NumberFilter>;
9376
+ /** Win rate in the past 30 days */
9377
+ winRate30d?: InputMaybe<NumberFilter>;
9378
+ };
9379
+
9380
+ export type WalletNetworkFilters = {
9381
+ /** Average profit in USD per trade in the past day */
9382
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
9383
+ /** Average profit in USD per trade in the past week */
9384
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
9385
+ /** Average profit in USD per trade in the past year */
9386
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
9387
+ /** Average profit in USD per trade in the past 30 days */
9388
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
9389
+ /** Average swap amount in USD in the past day */
9390
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
9391
+ /** Average swap amount in USD in the past week */
9392
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
9393
+ /** Average swap amount in USD in the past year */
9394
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
9395
+ /** Average swap amount in USD in the past 30 days */
9396
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
9397
+ /** 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. */
9398
+ botScore?: InputMaybe<NumberFilter>;
9399
+ /** The unix timestamp for the first transaction from this wallet. */
9400
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9401
+ /** The unix timestamp for the last transaction from this wallet. */
9402
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9403
+ /** The native token balance of the wallet. */
9404
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
9405
+ /** Realized profit percentage in the past day */
9406
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9407
+ /** Realized profit percentage in the past week */
9408
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9409
+ /** Realized profit percentage in the past year */
9410
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9411
+ /** Realized profit percentage in the past 30 days */
9412
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9413
+ /** Realized profit in USD in the past day */
9414
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9415
+ /** Realized profit in USD in the past week */
9416
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9417
+ /** Realized profit in USD in the past year */
9418
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9419
+ /** Realized profit in USD in the past 30 days */
9420
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9421
+ /** 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. */
9422
+ scammerScore?: InputMaybe<NumberFilter>;
9423
+ /** Number of swaps in the past day */
9424
+ swaps1d?: InputMaybe<NumberFilter>;
9425
+ /** Number of swaps in the past week */
9426
+ swaps1w?: InputMaybe<NumberFilter>;
9427
+ /** Number of swaps in the past year */
9428
+ swaps1y?: InputMaybe<NumberFilter>;
9429
+ /** Number of swaps in the past 30 days */
9430
+ swaps30d?: InputMaybe<NumberFilter>;
9431
+ /** Total number of swaps in the past day including all tokens */
9432
+ swapsAll1d?: InputMaybe<NumberFilter>;
9433
+ /** Total number of swaps in the past week including all tokens */
9434
+ swapsAll1w?: InputMaybe<NumberFilter>;
9435
+ /** Total number of swaps in the past year including all tokens */
9436
+ swapsAll1y?: InputMaybe<NumberFilter>;
9437
+ /** Total number of swaps in the past 30 days including all tokens */
9438
+ swapsAll30d?: InputMaybe<NumberFilter>;
9439
+ /** Number of unique tokens traded in the past day */
9440
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
9441
+ /** Number of unique tokens traded in the past week */
9442
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
9443
+ /** Number of unique tokens traded in the past year */
9444
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
9445
+ /** Number of unique tokens traded in the past 30 days */
9446
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
9447
+ /** Volume in USD in the past day */
9448
+ volumeUsd1d?: InputMaybe<NumberFilter>;
9449
+ /** Volume in USD in the past week */
9450
+ volumeUsd1w?: InputMaybe<NumberFilter>;
9451
+ /** Volume in USD in the past year */
9452
+ volumeUsd1y?: InputMaybe<NumberFilter>;
9453
+ /** Volume in USD in the past 30 days */
9454
+ volumeUsd30d?: InputMaybe<NumberFilter>;
9455
+ /** Total volume in USD in the past day including all tokens */
9456
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
9457
+ /** Total volume in USD in the past week including all tokens */
9458
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
9459
+ /** Total volume in USD in the past year including all tokens */
9460
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
9461
+ /** Total volume in USD in the past 30 days including all tokens */
9462
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
9463
+ /** Win rate in the past day */
9464
+ winRate1d?: InputMaybe<NumberFilter>;
9465
+ /** Win rate in the past week */
9466
+ winRate1w?: InputMaybe<NumberFilter>;
9467
+ /** Win rate in the past year */
9468
+ winRate1y?: InputMaybe<NumberFilter>;
9469
+ /** Win rate in the past 30 days */
9470
+ winRate30d?: InputMaybe<NumberFilter>;
9471
+ };
9472
+
9473
+ export type WalletNetworkRanking = {
9474
+ /** The attribute to rank wallets by. */
9475
+ attribute?: InputMaybe<WalletNetworkRankingAttribute>;
9476
+ /** The direction to apply to the ranking attribute. */
9477
+ direction?: InputMaybe<RankingDirection>;
9478
+ };
9479
+
9480
+ export enum WalletNetworkRankingAttribute {
9481
+ AverageProfitUsdPerTrade1d = 'averageProfitUsdPerTrade1d',
9482
+ AverageProfitUsdPerTrade1w = 'averageProfitUsdPerTrade1w',
9483
+ AverageProfitUsdPerTrade1y = 'averageProfitUsdPerTrade1y',
9484
+ AverageProfitUsdPerTrade30d = 'averageProfitUsdPerTrade30d',
9485
+ AverageSwapAmountUsd1d = 'averageSwapAmountUsd1d',
9486
+ AverageSwapAmountUsd1w = 'averageSwapAmountUsd1w',
9487
+ AverageSwapAmountUsd1y = 'averageSwapAmountUsd1y',
9488
+ AverageSwapAmountUsd30d = 'averageSwapAmountUsd30d',
9489
+ BotScore = 'botScore',
9490
+ FirstTransactionAt = 'firstTransactionAt',
9491
+ LastTransactionAt = 'lastTransactionAt',
9492
+ NativeTokenBalance = 'nativeTokenBalance',
9493
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
9494
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
9495
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
9496
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
9497
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
9498
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
9499
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
9500
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
9501
+ ScammerScore = 'scammerScore',
9502
+ Swaps1d = 'swaps1d',
9503
+ Swaps1w = 'swaps1w',
9504
+ Swaps1y = 'swaps1y',
9505
+ Swaps30d = 'swaps30d',
9506
+ SwapsAll1d = 'swapsAll1d',
9507
+ SwapsAll1w = 'swapsAll1w',
9508
+ SwapsAll1y = 'swapsAll1y',
9509
+ SwapsAll30d = 'swapsAll30d',
9510
+ UniqueTokens1d = 'uniqueTokens1d',
9511
+ UniqueTokens1w = 'uniqueTokens1w',
9512
+ UniqueTokens1y = 'uniqueTokens1y',
9513
+ UniqueTokens30d = 'uniqueTokens30d',
9514
+ VolumeUsd1d = 'volumeUsd1d',
9515
+ VolumeUsd1w = 'volumeUsd1w',
9516
+ VolumeUsd1y = 'volumeUsd1y',
9517
+ VolumeUsd30d = 'volumeUsd30d',
9518
+ VolumeUsdAll1d = 'volumeUsdAll1d',
9519
+ VolumeUsdAll1w = 'volumeUsdAll1w',
9520
+ VolumeUsdAll1y = 'volumeUsdAll1y',
9521
+ VolumeUsdAll30d = 'volumeUsdAll30d',
9522
+ WinRate1d = 'winRate1d',
9523
+ WinRate1w = 'winRate1w',
9524
+ WinRate1y = 'winRate1y',
9525
+ WinRate30d = 'winRate30d'
9526
+ }
9527
+
8539
9528
  export type WalletNftCollection = {
8540
9529
  __typename?: 'WalletNftCollection';
8541
9530
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8590,6 +9579,326 @@ export type WalletNftCollectionsResponse = {
8590
9579
  items: Array<WalletNftCollection>;
8591
9580
  };
8592
9581
 
9582
+ export type WalletRanking = {
9583
+ /** The attribute to rank wallets by. */
9584
+ attribute?: InputMaybe<WalletRankingAttribute>;
9585
+ /** The direction to apply to the ranking attribute. */
9586
+ direction?: InputMaybe<RankingDirection>;
9587
+ };
9588
+
9589
+ export enum WalletRankingAttribute {
9590
+ AverageProfitUsdPerTrade1d = 'averageProfitUsdPerTrade1d',
9591
+ AverageProfitUsdPerTrade1w = 'averageProfitUsdPerTrade1w',
9592
+ AverageProfitUsdPerTrade1y = 'averageProfitUsdPerTrade1y',
9593
+ AverageProfitUsdPerTrade30d = 'averageProfitUsdPerTrade30d',
9594
+ AverageSwapAmountUsd1d = 'averageSwapAmountUsd1d',
9595
+ AverageSwapAmountUsd1w = 'averageSwapAmountUsd1w',
9596
+ AverageSwapAmountUsd1y = 'averageSwapAmountUsd1y',
9597
+ AverageSwapAmountUsd30d = 'averageSwapAmountUsd30d',
9598
+ BotScore = 'botScore',
9599
+ FirstTransactionAt = 'firstTransactionAt',
9600
+ LastTransactionAt = 'lastTransactionAt',
9601
+ NativeTokenBalance = 'nativeTokenBalance',
9602
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
9603
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
9604
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
9605
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
9606
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
9607
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
9608
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
9609
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
9610
+ ScammerScore = 'scammerScore',
9611
+ Swaps1d = 'swaps1d',
9612
+ Swaps1w = 'swaps1w',
9613
+ Swaps1y = 'swaps1y',
9614
+ Swaps30d = 'swaps30d',
9615
+ SwapsAll1d = 'swapsAll1d',
9616
+ SwapsAll1w = 'swapsAll1w',
9617
+ SwapsAll1y = 'swapsAll1y',
9618
+ SwapsAll30d = 'swapsAll30d',
9619
+ UniqueTokens1d = 'uniqueTokens1d',
9620
+ UniqueTokens1w = 'uniqueTokens1w',
9621
+ UniqueTokens1y = 'uniqueTokens1y',
9622
+ UniqueTokens30d = 'uniqueTokens30d',
9623
+ VolumeUsd1d = 'volumeUsd1d',
9624
+ VolumeUsd1w = 'volumeUsd1w',
9625
+ VolumeUsd1y = 'volumeUsd1y',
9626
+ VolumeUsd30d = 'volumeUsd30d',
9627
+ VolumeUsdAll1d = 'volumeUsdAll1d',
9628
+ VolumeUsdAll1w = 'volumeUsdAll1w',
9629
+ VolumeUsdAll1y = 'volumeUsdAll1y',
9630
+ VolumeUsdAll30d = 'volumeUsdAll30d',
9631
+ WinRate1d = 'winRate1d',
9632
+ WinRate1w = 'winRate1w',
9633
+ WinRate1y = 'winRate1y',
9634
+ WinRate30d = 'winRate30d'
9635
+ }
9636
+
9637
+ /** The period the wallet stats are for. */
9638
+ export enum WalletStatsDuration {
9639
+ Day1 = 'day1',
9640
+ Day30 = 'day30',
9641
+ Week1 = 'week1',
9642
+ Year1 = 'year1'
9643
+ }
9644
+
9645
+ export type WalletTokenFilterRange = {
9646
+ /** The maximum value (inclusive) */
9647
+ max?: InputMaybe<Scalars['String']['input']>;
9648
+ /** The minimum value (inclusive) */
9649
+ min?: InputMaybe<Scalars['String']['input']>;
9650
+ };
9651
+
9652
+ export type WalletTokenFilters = {
9653
+ /** Filter by amount bought in USD in the past day */
9654
+ amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
9655
+ /** Filter by amount bought in USD in the past week */
9656
+ amountBoughtUsd1w?: InputMaybe<WalletTokenFilterRange>;
9657
+ /** Filter by amount bought in USD in the past year */
9658
+ amountBoughtUsd1y?: InputMaybe<WalletTokenFilterRange>;
9659
+ /** Filter by amount bought in USD in the past 30 days */
9660
+ amountBoughtUsd30d?: InputMaybe<WalletTokenFilterRange>;
9661
+ /** Filter by amount sold in USD in the past day */
9662
+ amountSoldUsd1d?: InputMaybe<WalletTokenFilterRange>;
9663
+ /** Filter by amount sold in USD in the past week */
9664
+ amountSoldUsd1w?: InputMaybe<WalletTokenFilterRange>;
9665
+ /** Filter by amount sold in USD in the past year */
9666
+ amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
9667
+ /** Filter by amount sold in USD in the past 30 days */
9668
+ amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
9669
+ /** Filter by bot score */
9670
+ botScore?: InputMaybe<WalletTokenFilterRange>;
9671
+ /** Filter by number of buys in the past day */
9672
+ buys1d?: InputMaybe<WalletTokenFilterRange>;
9673
+ /** Filter by number of buys in the past week */
9674
+ buys1w?: InputMaybe<WalletTokenFilterRange>;
9675
+ /** Filter by number of buys in the past year */
9676
+ buys1y?: InputMaybe<WalletTokenFilterRange>;
9677
+ /** Filter by number of buys in the past 30 days */
9678
+ buys30d?: InputMaybe<WalletTokenFilterRange>;
9679
+ /** Filter by first transaction timestamp */
9680
+ firstTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9681
+ /** Filter by last transaction timestamp */
9682
+ lastTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9683
+ /** Filter by purchased token balance */
9684
+ purchasedTokenBalance?: InputMaybe<WalletTokenFilterRange>;
9685
+ /** Filter by realized profit percentage in the past day */
9686
+ realizedProfitPercentage1d?: InputMaybe<WalletTokenFilterRange>;
9687
+ /** Filter by realized profit percentage in the past week */
9688
+ realizedProfitPercentage1w?: InputMaybe<WalletTokenFilterRange>;
9689
+ /** Filter by realized profit percentage in the past year */
9690
+ realizedProfitPercentage1y?: InputMaybe<WalletTokenFilterRange>;
9691
+ /** Filter by realized profit percentage in the past 30 days */
9692
+ realizedProfitPercentage30d?: InputMaybe<WalletTokenFilterRange>;
9693
+ /** Filter by realized profit in USD in the past day */
9694
+ realizedProfitUsd1d?: InputMaybe<WalletTokenFilterRange>;
9695
+ /** Filter by realized profit in USD in the past week */
9696
+ realizedProfitUsd1w?: InputMaybe<WalletTokenFilterRange>;
9697
+ /** Filter by realized profit in USD in the past year */
9698
+ realizedProfitUsd1y?: InputMaybe<WalletTokenFilterRange>;
9699
+ /** Filter by realized profit in USD in the past 30 days */
9700
+ realizedProfitUsd30d?: InputMaybe<WalletTokenFilterRange>;
9701
+ /** Filter by scammer score */
9702
+ scammerScore?: InputMaybe<WalletTokenFilterRange>;
9703
+ /** Filter by number of sells in the past day */
9704
+ sells1d?: InputMaybe<WalletTokenFilterRange>;
9705
+ /** Filter by number of sells in the past week */
9706
+ sells1w?: InputMaybe<WalletTokenFilterRange>;
9707
+ /** Filter by number of sells in the past year */
9708
+ sells1y?: InputMaybe<WalletTokenFilterRange>;
9709
+ /** Filter by number of sells in the past 30 days */
9710
+ sells30d?: InputMaybe<WalletTokenFilterRange>;
9711
+ /** Filter by token acquisition cost in USD */
9712
+ tokenAcquisitionCostUsd?: InputMaybe<WalletTokenFilterRange>;
9713
+ /** Filter by token amount bought in the past day */
9714
+ tokenAmountBought1d?: InputMaybe<WalletTokenFilterRange>;
9715
+ /** Filter by token amount bought in the past week */
9716
+ tokenAmountBought1w?: InputMaybe<WalletTokenFilterRange>;
9717
+ /** Filter by token amount bought in the past year */
9718
+ tokenAmountBought1y?: InputMaybe<WalletTokenFilterRange>;
9719
+ /** Filter by token amount bought in the past 30 days */
9720
+ tokenAmountBought30d?: InputMaybe<WalletTokenFilterRange>;
9721
+ /** Filter by token amount sold in the past day */
9722
+ tokenAmountSold1d?: InputMaybe<WalletTokenFilterRange>;
9723
+ /** Filter by token amount sold in the past week */
9724
+ tokenAmountSold1w?: InputMaybe<WalletTokenFilterRange>;
9725
+ /** Filter by token amount sold in the past year */
9726
+ tokenAmountSold1y?: InputMaybe<WalletTokenFilterRange>;
9727
+ /** Filter by token amount sold in the past 30 days */
9728
+ tokenAmountSold30d?: InputMaybe<WalletTokenFilterRange>;
9729
+ /** Filter by token balance */
9730
+ tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9731
+ };
9732
+
9733
+ export type WalletTokenFiltersV2 = {
9734
+ /** Filter by amount bought in USD in the past day */
9735
+ amountBoughtUsd1d?: InputMaybe<NumberFilter>;
9736
+ /** Filter by amount bought in USD in the past week */
9737
+ amountBoughtUsd1w?: InputMaybe<NumberFilter>;
9738
+ /** Filter by amount bought in USD in the past year */
9739
+ amountBoughtUsd1y?: InputMaybe<NumberFilter>;
9740
+ /** Filter by amount bought in USD in the past 30 days */
9741
+ amountBoughtUsd30d?: InputMaybe<NumberFilter>;
9742
+ /** Filter by amount sold in USD in the past day */
9743
+ amountSoldUsd1d?: InputMaybe<NumberFilter>;
9744
+ /** Filter by amount sold in USD in the past week */
9745
+ amountSoldUsd1w?: InputMaybe<NumberFilter>;
9746
+ /** Filter by amount sold in USD in the past year */
9747
+ amountSoldUsd1y?: InputMaybe<NumberFilter>;
9748
+ /** Filter by amount sold in USD in the past 30 days */
9749
+ amountSoldUsd30d?: InputMaybe<NumberFilter>;
9750
+ /** Filter by bot score */
9751
+ botScore?: InputMaybe<NumberFilter>;
9752
+ /** Filter by number of buys in the past day */
9753
+ buys1d?: InputMaybe<NumberFilter>;
9754
+ /** Filter by number of buys in the past week */
9755
+ buys1w?: InputMaybe<NumberFilter>;
9756
+ /** Filter by number of buys in the past year */
9757
+ buys1y?: InputMaybe<NumberFilter>;
9758
+ /** Filter by number of buys in the past 30 days */
9759
+ buys30d?: InputMaybe<NumberFilter>;
9760
+ /** Filter by first transaction timestamp */
9761
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9762
+ /** Filter by last transaction timestamp */
9763
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9764
+ /** Filter by purchased token balance */
9765
+ purchasedTokenBalance?: InputMaybe<NumberFilter>;
9766
+ /** Filter by realized profit percentage in the past day */
9767
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9768
+ /** Filter by realized profit percentage in the past week */
9769
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9770
+ /** Filter by realized profit percentage in the past year */
9771
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9772
+ /** Filter by realized profit percentage in the past 30 days */
9773
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9774
+ /** Filter by realized profit in USD in the past day */
9775
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9776
+ /** Filter by realized profit in USD in the past week */
9777
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9778
+ /** Filter by realized profit in USD in the past year */
9779
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9780
+ /** Filter by realized profit in USD in the past 30 days */
9781
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9782
+ /** Filter by scammer score */
9783
+ scammerScore?: InputMaybe<NumberFilter>;
9784
+ /** Filter by number of sells in the past day */
9785
+ sells1d?: InputMaybe<NumberFilter>;
9786
+ /** Filter by number of sells in the past week */
9787
+ sells1w?: InputMaybe<NumberFilter>;
9788
+ /** Filter by number of sells in the past year */
9789
+ sells1y?: InputMaybe<NumberFilter>;
9790
+ /** Filter by number of sells in the past 30 days */
9791
+ sells30d?: InputMaybe<NumberFilter>;
9792
+ /** Filter by token acquisition cost in USD */
9793
+ tokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
9794
+ /** Filter by token amount bought in the past day */
9795
+ tokenAmountBought1d?: InputMaybe<NumberFilter>;
9796
+ /** Filter by token amount bought in the past week */
9797
+ tokenAmountBought1w?: InputMaybe<NumberFilter>;
9798
+ /** Filter by token amount bought in the past year */
9799
+ tokenAmountBought1y?: InputMaybe<NumberFilter>;
9800
+ /** Filter by token amount bought in the past 30 days */
9801
+ tokenAmountBought30d?: InputMaybe<NumberFilter>;
9802
+ /** Filter by token amount sold in the past day */
9803
+ tokenAmountSold1d?: InputMaybe<NumberFilter>;
9804
+ /** Filter by token amount sold in the past week */
9805
+ tokenAmountSold1w?: InputMaybe<NumberFilter>;
9806
+ /** Filter by token amount sold in the past year */
9807
+ tokenAmountSold1y?: InputMaybe<NumberFilter>;
9808
+ /** Filter by token amount sold in the past 30 days */
9809
+ tokenAmountSold30d?: InputMaybe<NumberFilter>;
9810
+ /** Filter by token balance */
9811
+ tokenBalance?: InputMaybe<NumberFilter>;
9812
+ };
9813
+
9814
+ export type WalletTokenRanking = {
9815
+ /** The attribute to rank wallets by */
9816
+ attribute: WalletTokenRankingAttribute;
9817
+ /** The direction to apply to the ranking attribute */
9818
+ direction: RankingDirection;
9819
+ };
9820
+
9821
+ export enum WalletTokenRankingAttribute {
9822
+ /** Amount bought in USD in the past day */
9823
+ AmountBoughtUsd1d = 'amountBoughtUsd1d',
9824
+ /** Amount bought in USD in the past week */
9825
+ AmountBoughtUsd1w = 'amountBoughtUsd1w',
9826
+ /** Amount bought in USD in the past year */
9827
+ AmountBoughtUsd1y = 'amountBoughtUsd1y',
9828
+ /** Amount bought in USD in the past 30 days */
9829
+ AmountBoughtUsd30d = 'amountBoughtUsd30d',
9830
+ /** Amount sold in USD in the past day */
9831
+ AmountSoldUsd1d = 'amountSoldUsd1d',
9832
+ /** Amount sold in USD in the past week */
9833
+ AmountSoldUsd1w = 'amountSoldUsd1w',
9834
+ /** Amount sold in USD in the past year */
9835
+ AmountSoldUsd1y = 'amountSoldUsd1y',
9836
+ /** Amount sold in USD in the past 30 days */
9837
+ AmountSoldUsd30d = 'amountSoldUsd30d',
9838
+ /** The bot score for the wallet. */
9839
+ BotScore = 'botScore',
9840
+ /** Number of buys in the past day */
9841
+ Buys1d = 'buys1d',
9842
+ /** Number of buys in the past week */
9843
+ Buys1w = 'buys1w',
9844
+ /** Number of buys in the past year */
9845
+ Buys1y = 'buys1y',
9846
+ /** Number of buys in the past 30 days */
9847
+ Buys30d = 'buys30d',
9848
+ /** The first transaction timestamp */
9849
+ FirstTransactionAt = 'firstTransactionAt',
9850
+ /** The last transaction timestamp */
9851
+ LastTransactionAt = 'lastTransactionAt',
9852
+ /** Purchased token balance */
9853
+ PurchasedTokenBalance = 'purchasedTokenBalance',
9854
+ /** Realized profit percentage in the past day */
9855
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
9856
+ /** Realized profit percentage in the past week */
9857
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
9858
+ /** Realized profit percentage in the past year */
9859
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
9860
+ /** Realized profit percentage in the past 30 days */
9861
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
9862
+ /** Realized profit in USD in the past day */
9863
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
9864
+ /** Realized profit in USD in the past week */
9865
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
9866
+ /** Realized profit in USD in the past year */
9867
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
9868
+ /** Realized profit in USD in the past 30 days */
9869
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
9870
+ /** The scammer score for the wallet. */
9871
+ ScammerScore = 'scammerScore',
9872
+ /** Number of sells in the past day */
9873
+ Sells1d = 'sells1d',
9874
+ /** Number of sells in the past week */
9875
+ Sells1w = 'sells1w',
9876
+ /** Number of sells in the past year */
9877
+ Sells1y = 'sells1y',
9878
+ /** Number of sells in the past 30 days */
9879
+ Sells30d = 'sells30d',
9880
+ /** Token acquisition cost in USD */
9881
+ TokenAcquisitionCostUsd = 'tokenAcquisitionCostUsd',
9882
+ /** Token amount bought in the past day */
9883
+ TokenAmountBought1d = 'tokenAmountBought1d',
9884
+ /** Token amount bought in the past week */
9885
+ TokenAmountBought1w = 'tokenAmountBought1w',
9886
+ /** Token amount bought in the past year */
9887
+ TokenAmountBought1y = 'tokenAmountBought1y',
9888
+ /** Token amount bought in the past 30 days */
9889
+ TokenAmountBought30d = 'tokenAmountBought30d',
9890
+ /** Token amount sold in the past day */
9891
+ TokenAmountSold1d = 'tokenAmountSold1d',
9892
+ /** Token amount sold in the past week */
9893
+ TokenAmountSold1w = 'tokenAmountSold1w',
9894
+ /** Token amount sold in the past year */
9895
+ TokenAmountSold1y = 'tokenAmountSold1y',
9896
+ /** Token amount sold in the past 30 days */
9897
+ TokenAmountSold30d = 'tokenAmountSold30d',
9898
+ /** Token balance */
9899
+ TokenBalance = 'tokenBalance'
9900
+ }
9901
+
8593
9902
  /** Metadata for a washtrade label. */
8594
9903
  export type WashtradeLabelForEvent = {
8595
9904
  __typename?: 'WashtradeLabelForEvent';
@@ -8686,6 +9995,27 @@ export type WindowedDetailedCurrencyPairStats = {
8686
9995
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8687
9996
  };
8688
9997
 
9998
+ /** The currency stats for a wallet over a time window. */
9999
+ export type WindowedDetailedCurrencyWalletStats = {
10000
+ __typename?: 'WindowedDetailedCurrencyWalletStats';
10001
+ /** The average profit in USD per trade */
10002
+ averageProfitUsdPerTrade: Scalars['String']['output'];
10003
+ /** The average swap amount in USD */
10004
+ averageSwapAmountUsd: Scalars['String']['output'];
10005
+ /** The cost of tokens held in the wallet */
10006
+ heldTokenAcquisitionCostUsd: Scalars['String']['output'];
10007
+ /** The realized profit percentage */
10008
+ realizedProfitPercentage: Scalars['Float']['output'];
10009
+ /** The realized profit in USD */
10010
+ realizedProfitUsd: Scalars['String']['output'];
10011
+ /** The cost of tokens sold during the period */
10012
+ soldTokenAcquisitionCostUsd: Scalars['String']['output'];
10013
+ /** The volume in USD */
10014
+ volumeUsd: Scalars['String']['output'];
10015
+ /** The volume in USD including tokens sold for which we do not have a price */
10016
+ volumeUsdAll: Scalars['String']['output'];
10017
+ };
10018
+
8689
10019
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8690
10020
  export type WindowedDetailedNftCurrencyStats = {
8691
10021
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8760,6 +10090,19 @@ export type WindowedDetailedNonCurrencyPairStats = {
8760
10090
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8761
10091
  };
8762
10092
 
10093
+ /** The non-currency stats for a wallet over a time window. */
10094
+ export type WindowedDetailedNonCurrencyWalletStats = {
10095
+ __typename?: 'WindowedDetailedNonCurrencyWalletStats';
10096
+ /** The number of losses */
10097
+ losses: Scalars['Int']['output'];
10098
+ /** The number of swaps */
10099
+ swaps: Scalars['Int']['output'];
10100
+ /** The number of unique tokens */
10101
+ uniqueTokens: Scalars['Int']['output'];
10102
+ /** The number of wins */
10103
+ wins: Scalars['Int']['output'];
10104
+ };
10105
+
8763
10106
  /** Detailed pair stats over a time frame. */
8764
10107
  export type WindowedDetailedPairStats = {
8765
10108
  __typename?: 'WindowedDetailedPairStats';
@@ -8808,6 +10151,25 @@ export type WindowedDetailedStats = {
8808
10151
  windowSize: DetailedStatsWindowSize;
8809
10152
  };
8810
10153
 
10154
+ /** The stats for a wallet over a time window. */
10155
+ export type WindowedWalletStats = {
10156
+ __typename?: 'WindowedWalletStats';
10157
+ /** The end timestamp */
10158
+ end: Scalars['Int']['output'];
10159
+ /** The last transaction timestamp */
10160
+ lastTransactionAt: Scalars['Int']['output'];
10161
+ /** The network ID */
10162
+ networkId?: Maybe<Scalars['Int']['output']>;
10163
+ /** The start timestamp */
10164
+ start: Scalars['Int']['output'];
10165
+ /** The stats related to non-currency */
10166
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats;
10167
+ /** The stats related to currency */
10168
+ statsUsd: WindowedDetailedCurrencyWalletStats;
10169
+ /** The wallet address */
10170
+ walletAddress: Scalars['String']['output'];
10171
+ };
10172
+
8811
10173
  export enum Join__Graph {
8812
10174
  ApiAdmin = 'API_ADMIN',
8813
10175
  Decodings = 'DECODINGS',