@codex-data/sdk 1.0.7 → 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 (152) hide show
  1. package/dist/resources/graphql.d.ts +1173 -12
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +191 -1
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +1 -1
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +1 -1
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +53 -49
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +52 -48
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +15 -15
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +78 -78
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +54 -26
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +17 -13
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1678 -39
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +210 -16
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +11 -3
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +33 -19
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +2 -2
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -2
  32. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  33. package/src/resources/generated_queries/FilterPairs.graphql +4 -4
  34. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  35. package/src/resources/generated_queries/FilterTokens.graphql +4 -3
  36. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  37. package/src/resources/generated_queries/GetBars.graphql +2 -2
  38. package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
  39. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
  40. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
  41. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
  42. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
  43. package/src/resources/generated_queries/PairMetadata.graphql +2 -2
  44. package/src/resources/generated_queries/Token.graphql +1 -1
  45. package/src/resources/generated_queries/Tokens.graphql +1 -1
  46. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  47. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
  48. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
  49. package/src/resources/graphql.schema.json +15289 -7880
  50. package/src/resources/graphql.ts +1215 -12
  51. package/src/resources/schema.graphql +1694 -79
  52. package/src/sdk/Mutation.ts +2 -2
  53. package/src/sdk/Query.ts +119 -103
  54. package/src/sdk/Subscribe.ts +132 -132
  55. package/src/sdk/generated/gql.ts +46 -26
  56. package/src/sdk/generated/graphql.ts +1273 -38
  57. package/src/sdk/index.test.ts +3 -3
  58. package/src/sdk/index.ts +69 -18
  59. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  60. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  61. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  62. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  63. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  64. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  65. package/dist/resources/generated_queries/Balances.graphql +0 -15
  66. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  67. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  68. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  69. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  70. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  71. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  72. package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
  73. package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
  74. package/dist/resources/generated_queries/GetBars.graphql +0 -212
  75. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
  76. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  77. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
  78. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
  79. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  80. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  81. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  82. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  83. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  84. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  85. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  86. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  87. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  88. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  89. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  90. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  91. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  92. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  93. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  94. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  95. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  96. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  97. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  98. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  99. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  100. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  101. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
  102. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
  103. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  104. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  105. package/dist/resources/generated_queries/Holders.graphql +0 -18
  106. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  107. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  108. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
  109. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
  110. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  111. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  112. package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
  113. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  114. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  115. package/dist/resources/generated_queries/Token.graphql +0 -78
  116. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  117. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  118. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  119. package/dist/resources/generated_queries/Tokens.graphql +0 -78
  120. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  121. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  122. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  123. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  124. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  125. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  126. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  127. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
  128. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  129. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  130. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  131. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
  132. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
  133. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  134. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  135. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  136. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
  137. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  138. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  139. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  140. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  141. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -91
  142. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  143. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  144. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  145. package/dist/resources/graphql.schema.json +0 -56135
  146. package/dist/resources/graphql.ts +0 -9024
  147. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  148. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  149. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  150. package/dist/resources/schema.graphql +0 -12013
  151. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  152. package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
@@ -169,17 +169,17 @@ export type BalancesInput = {
169
169
  /** A cursor for use in pagination. */
170
170
  cursor?: InputMaybe<Scalars['String']['input']>;
171
171
  /**
172
- * Optional token specifically request the balance for.
172
+ * Optional token specifically request the balance for. Only works with `walletId`.
173
173
  * @deprecated Use tokens list instead
174
174
  */
175
175
  filterToken?: InputMaybe<Scalars['String']['input']>;
176
- /** 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`. */
177
177
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
178
- /** The maximum number of holdings to return. */
178
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
179
179
  limit?: InputMaybe<Scalars['Int']['input']>;
180
180
  /** The network IDs to filter by. */
181
181
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
182
- /** The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`). */
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
183
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
184
184
  /** The wallet address to filter by. */
185
185
  walletAddress?: InputMaybe<Scalars['String']['input']>;
@@ -852,6 +852,48 @@ export enum DetailedStatsWindowSize {
852
852
  Min5 = 'min5'
853
853
  }
854
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
+
855
897
  /** Metadata for a contract. */
856
898
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
857
899
 
@@ -1316,6 +1358,73 @@ export type FilterExchange = {
1316
1358
  tradeUrl?: Maybe<Scalars['String']['output']>;
1317
1359
  };
1318
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
+
1319
1428
  /** Metadata for a front-run label. */
1320
1429
  export type FrontRunLabelData = {
1321
1430
  __typename?: 'FrontRunLabelData';
@@ -1375,13 +1484,13 @@ export type GetDetailedPairsStatsInput = {
1375
1484
 
1376
1485
  export type GetGasEstimateInput = {
1377
1486
  customGas?: InputMaybe<Scalars['String']['input']>;
1378
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1487
+ exchangeAddress: Scalars['String']['input'];
1379
1488
  gasPrice?: InputMaybe<GasPrice>;
1380
1489
  inputTokenAddress: Scalars['String']['input'];
1381
1490
  inputTokenAmount: Scalars['String']['input'];
1382
1491
  networkId: Scalars['Int']['input'];
1383
1492
  outputTokenAddress: Scalars['String']['input'];
1384
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1493
+ poolAddress: Scalars['String']['input'];
1385
1494
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1386
1495
  slippage?: InputMaybe<Scalars['Float']['input']>;
1387
1496
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1462,12 +1571,12 @@ export type GetPriceInput = {
1462
1571
 
1463
1572
  export type GetQuoteInput = {
1464
1573
  customGas?: InputMaybe<Scalars['String']['input']>;
1465
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1574
+ exchangeAddress: Scalars['String']['input'];
1466
1575
  inputTokenAddress: Scalars['String']['input'];
1467
1576
  inputTokenAmount: Scalars['String']['input'];
1468
1577
  networkId: Scalars['Int']['input'];
1469
1578
  outputTokenAddress: Scalars['String']['input'];
1470
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1579
+ poolAddress: Scalars['String']['input'];
1471
1580
  slippage?: InputMaybe<Scalars['Float']['input']>;
1472
1581
  userId?: InputMaybe<Scalars['Int']['input']>;
1473
1582
  };
@@ -1769,6 +1878,8 @@ export type LaunchpadData = {
1769
1878
  completedSlot?: Maybe<Scalars['Int']['output']>;
1770
1879
  /** The percentage of the pool that was sold to the public. */
1771
1880
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1881
+ /** The name of the launchpad. */
1882
+ launchpadName?: Maybe<Scalars['String']['output']>;
1772
1883
  /** The launchpad protocol */
1773
1884
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1774
1885
  /** Indicates if the launchpad was migrated. */
@@ -1779,7 +1890,10 @@ export type LaunchpadData = {
1779
1890
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1780
1891
  /** The slot number when the launchpad was migrated. */
1781
1892
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1782
- /** The name of the launchpad. */
1893
+ /**
1894
+ * The name of the launchpad.
1895
+ * @deprecated Use launchpadName instead
1896
+ */
1783
1897
  name?: Maybe<Scalars['String']['output']>;
1784
1898
  /** The address of the pool. */
1785
1899
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1830,9 +1944,13 @@ export enum LaunchpadTokenEventType {
1830
1944
 
1831
1945
  /** The protocol of the token. */
1832
1946
  export enum LaunchpadTokenProtocol {
1947
+ BoopFun = 'BoopFun',
1948
+ EgoTech = 'EgoTech',
1833
1949
  FourMeme = 'FourMeme',
1834
1950
  Pump = 'Pump',
1835
- RaydiumLaunchpad = 'RaydiumLaunchpad'
1951
+ Rainbow = 'Rainbow',
1952
+ RaydiumLaunchpad = 'RaydiumLaunchpad',
1953
+ Vertigo = 'Vertigo'
1836
1954
  }
1837
1955
 
1838
1956
  export type LiquidityData = {
@@ -2084,6 +2202,142 @@ export type Network = {
2084
2202
  networkShortName?: Maybe<Scalars['String']['output']>;
2085
2203
  };
2086
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
+
2087
2341
  /** Event data for creating a new NFT pool. */
2088
2342
  export type NewPoolEventData = {
2089
2343
  __typename?: 'NewPoolEventData';
@@ -4853,7 +5107,7 @@ export type PairChartSettings = {
4853
5107
  pairAddress: Scalars['String']['input'];
4854
5108
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4855
5109
  quoteToken?: InputMaybe<QuoteToken>;
4856
- /** 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`. */
4857
5111
  resolution?: InputMaybe<Scalars['String']['input']>;
4858
5112
  /** The color theme of the chart. */
4859
5113
  theme?: InputMaybe<ChartTheme>;
@@ -6200,8 +6454,15 @@ export type Query = {
6200
6454
  balances: BalancesResponse;
6201
6455
  /** Returns a URL for a pair chart. */
6202
6456
  chartUrls?: Maybe<ChartUrlsResponse>;
6457
+ /** Returns detailed stats for a wallet. */
6458
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
6203
6459
  /** Returns a list of exchanges based on a variety of filters. */
6204
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;
6205
6466
  /** Returns a list of NFT collection based on a variety of filters. */
6206
6467
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
6207
6468
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -6212,8 +6473,12 @@ export type Query = {
6212
6473
  filterNftPools?: Maybe<NftPoolFilterConnection>;
6213
6474
  /** Returns a list of pairs based on a variety of filters. */
6214
6475
  filterPairs?: Maybe<PairFilterConnection>;
6476
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6477
+ filterTokenWallets: TokenWalletFilterConnection;
6215
6478
  /** Returns a list of tokens based on a variety of filters. */
6216
6479
  filterTokens?: Maybe<TokenFilterConnection>;
6480
+ /** Returns a list of wallets based on a variety of filters. */
6481
+ filterWallets: WalletFilterConnection;
6217
6482
  /** Returns bar chart data to track price changes over time. */
6218
6483
  getBars?: Maybe<BarsResponse>;
6219
6484
  /** Returns community gathered notes. */
@@ -6324,6 +6589,8 @@ export type Query = {
6324
6589
  tokens: Array<Maybe<EnhancedToken>>;
6325
6590
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6326
6591
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6592
+ /** Returns a chart of a wallet's activity. */
6593
+ walletChart?: Maybe<WalletChartResponse>;
6327
6594
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6328
6595
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6329
6596
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6346,6 +6613,11 @@ export type QueryChartUrlsArgs = {
6346
6613
  };
6347
6614
 
6348
6615
 
6616
+ export type QueryDetailedWalletStatsArgs = {
6617
+ input: DetailedWalletStatsInput;
6618
+ };
6619
+
6620
+
6349
6621
  export type QueryFilterExchangesArgs = {
6350
6622
  filters?: InputMaybe<ExchangeFilters>;
6351
6623
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6355,6 +6627,11 @@ export type QueryFilterExchangesArgs = {
6355
6627
  };
6356
6628
 
6357
6629
 
6630
+ export type QueryFilterNetworkWalletsArgs = {
6631
+ input: FilterNetworkWalletsInput;
6632
+ };
6633
+
6634
+
6358
6635
  export type QueryFilterNftCollectionsArgs = {
6359
6636
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6360
6637
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6405,6 +6682,11 @@ export type QueryFilterPairsArgs = {
6405
6682
  };
6406
6683
 
6407
6684
 
6685
+ export type QueryFilterTokenWalletsArgs = {
6686
+ input: FilterTokenWalletsInput;
6687
+ };
6688
+
6689
+
6408
6690
  export type QueryFilterTokensArgs = {
6409
6691
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6410
6692
  filters?: InputMaybe<TokenFilters>;
@@ -6417,6 +6699,11 @@ export type QueryFilterTokensArgs = {
6417
6699
  };
6418
6700
 
6419
6701
 
6702
+ export type QueryFilterWalletsArgs = {
6703
+ input: FilterWalletsInput;
6704
+ };
6705
+
6706
+
6420
6707
  export type QueryGetBarsArgs = {
6421
6708
  countback?: InputMaybe<Scalars['Int']['input']>;
6422
6709
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6799,6 +7086,11 @@ export type QueryTop10HoldersPercentArgs = {
6799
7086
  };
6800
7087
 
6801
7088
 
7089
+ export type QueryWalletChartArgs = {
7090
+ input: WalletChartInput;
7091
+ };
7092
+
7093
+
6802
7094
  export type QueryWalletNftCollectionAssetsArgs = {
6803
7095
  input: WalletNftCollectionAssetsInput;
6804
7096
  };
@@ -6848,6 +7140,12 @@ export enum QuoteType {
6848
7140
  Output = 'OUTPUT'
6849
7141
  }
6850
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
+
6851
7149
  /** The order of ranking. */
6852
7150
  export enum RankingDirection {
6853
7151
  Asc = 'ASC',
@@ -7795,6 +8093,8 @@ export type TokenFilterResult = {
7795
8093
  change12?: Maybe<Scalars['String']['output']>;
7796
8094
  /** The percent price change in the past 24 hours. Decimal format. */
7797
8095
  change24?: Maybe<Scalars['String']['output']>;
8096
+ /** The circulating market cap. */
8097
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7798
8098
  /** The unix timestamp for the creation of the token's first pair. */
7799
8099
  createdAt?: Maybe<Scalars['Int']['output']>;
7800
8100
  /** The exchanges the token is listed on. */
@@ -7829,7 +8129,7 @@ export type TokenFilterResult = {
7829
8129
  low12?: Maybe<Scalars['String']['output']>;
7830
8130
  /** The lowest price in USD in the past 24 hours. */
7831
8131
  low24?: Maybe<Scalars['String']['output']>;
7832
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
8132
+ /** The fully diluted market cap. */
7833
8133
  marketCap?: Maybe<Scalars['String']['output']>;
7834
8134
  /** Metadata for the token's top pair. */
7835
8135
  pair?: Maybe<Pair>;
@@ -7963,6 +8263,8 @@ export type TokenFilters = {
7963
8263
  change12?: InputMaybe<NumberFilter>;
7964
8264
  /** The percent price change in the past 24 hours. Decimal format. */
7965
8265
  change24?: InputMaybe<NumberFilter>;
8266
+ /** The circulating market cap. */
8267
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7966
8268
  /** The unix timestamp for the creation of the token's first pair. */
7967
8269
  createdAt?: InputMaybe<NumberFilter>;
7968
8270
  /** The address of the creator of the token */
@@ -8005,6 +8307,8 @@ export type TokenFilters = {
8005
8307
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8006
8308
  /** The timestamp when the launchpad was migrated */
8007
8309
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8310
+ /** The name of the launchpad */
8311
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
8008
8312
  /** The launchpad protocol */
8009
8313
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
8010
8314
  /** The amount of liquidity in the token's top pair. */
@@ -8331,6 +8635,7 @@ export enum TokenRankingAttribute {
8331
8635
  Change5m = 'change5m',
8332
8636
  Change12 = 'change12',
8333
8637
  Change24 = 'change24',
8638
+ CirculatingMarketCap = 'circulatingMarketCap',
8334
8639
  CreatedAt = 'createdAt',
8335
8640
  GraduationPercent = 'graduationPercent',
8336
8641
  High1 = 'high1',
@@ -8495,6 +8800,133 @@ export type TokenTopTradersInput = {
8495
8800
  tradingPeriod: TradingPeriod;
8496
8801
  };
8497
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
+
8498
8930
  /** A token with metadata. */
8499
8931
  export type TokenWithMetadata = {
8500
8932
  __typename?: 'TokenWithMetadata';
@@ -8689,12 +9121,410 @@ export type UnconfirmedSwapEventData = {
8689
9121
  type: EventType;
8690
9122
  };
8691
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. */
8692
9154
  export type WalletChartRange = {
8693
9155
  __typename?: 'WalletChartRange';
8694
9156
  end: Scalars['Int']['output'];
8695
9157
  start: Scalars['Int']['output'];
8696
9158
  };
8697
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
+
8698
9528
  export type WalletNftCollection = {
8699
9529
  __typename?: 'WalletNftCollection';
8700
9530
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8749,6 +9579,326 @@ export type WalletNftCollectionsResponse = {
8749
9579
  items: Array<WalletNftCollection>;
8750
9580
  };
8751
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
+
8752
9902
  /** Metadata for a washtrade label. */
8753
9903
  export type WashtradeLabelForEvent = {
8754
9904
  __typename?: 'WashtradeLabelForEvent';
@@ -8845,6 +9995,27 @@ export type WindowedDetailedCurrencyPairStats = {
8845
9995
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8846
9996
  };
8847
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
+
8848
10019
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8849
10020
  export type WindowedDetailedNftCurrencyStats = {
8850
10021
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8919,6 +10090,19 @@ export type WindowedDetailedNonCurrencyPairStats = {
8919
10090
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8920
10091
  };
8921
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
+
8922
10106
  /** Detailed pair stats over a time frame. */
8923
10107
  export type WindowedDetailedPairStats = {
8924
10108
  __typename?: 'WindowedDetailedPairStats';
@@ -8967,6 +10151,25 @@ export type WindowedDetailedStats = {
8967
10151
  windowSize: DetailedStatsWindowSize;
8968
10152
  };
8969
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
+
8970
10173
  export enum Join__Graph {
8971
10174
  ApiAdmin = 'API_ADMIN',
8972
10175
  Decodings = 'DECODINGS',