@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
@@ -187,33 +187,37 @@ type Balance {
187
187
  }
188
188
 
189
189
  input BalancesInput {
190
- """The ID of the wallet (`walletAddress:networkId`)."""
191
- walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
192
-
193
190
  """The wallet address to filter by."""
194
191
  walletAddress: String
195
192
 
196
- """A cursor for use in pagination."""
197
- cursor: String
198
-
199
193
  """The network IDs to filter by."""
200
194
  networks: [Int!]
201
195
 
202
196
  """
203
- The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`).
197
+ 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.
204
198
  """
205
199
  tokens: [String!]
206
200
 
207
- """Optional token specifically request the balance for."""
208
- filterToken: String @deprecated(reason: "Use tokens list instead")
209
-
210
201
  """
211
- If set to true, native tokens in the response, they will have the id: native:<networkId>
202
+ 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`.
212
203
  """
213
204
  includeNative: Boolean
214
205
 
215
- """The maximum number of holdings to return."""
206
+ """
207
+ The maximum number of holdings to return. Does not apply when using `tokens`.
208
+ """
216
209
  limit: Int
210
+
211
+ """A cursor for use in pagination."""
212
+ cursor: String
213
+
214
+ """The ID of the wallet (`walletAddress:networkId`)."""
215
+ walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
216
+
217
+ """
218
+ Optional token specifically request the balance for. Only works with `walletId`.
219
+ """
220
+ filterToken: String @deprecated(reason: "Use tokens list instead")
217
221
  }
218
222
 
219
223
  type BalancesResponse {
@@ -1091,6 +1095,57 @@ enum DetailedStatsWindowSize {
1091
1095
  min5
1092
1096
  }
1093
1097
 
1098
+ """The detailed stats for a wallet."""
1099
+ type DetailedWalletStats {
1100
+ """The wallet address"""
1101
+ walletAddress: String!
1102
+
1103
+ """The last transaction timestamp"""
1104
+ lastTransactionAt: Int!
1105
+
1106
+ """The network specific stats"""
1107
+ networkSpecificStats: [NetworkWalletStats!] @deprecated(reason: "Use networkBreakdown instead")
1108
+
1109
+ """The network breakdown"""
1110
+ networkBreakdown: [NetworkBreakdown!]
1111
+
1112
+ """The labels associated with the wallet"""
1113
+ labels: [String!]!
1114
+
1115
+ """The likelihood of the wallet being a scammer"""
1116
+ scammerScore: Int
1117
+
1118
+ """The likelihood of the wallet being a bot"""
1119
+ botScore: Int
1120
+
1121
+ """The stats for the last day"""
1122
+ statsDay1: WindowedWalletStats
1123
+
1124
+ """The stats for the last week"""
1125
+ statsWeek1: WindowedWalletStats
1126
+
1127
+ """The stats for the last 30 days"""
1128
+ statsDay30: WindowedWalletStats
1129
+
1130
+ """The stats for the last year"""
1131
+ statsYear1: WindowedWalletStats
1132
+ }
1133
+
1134
+ """The input for detailed wallet stats."""
1135
+ input DetailedWalletStatsInput {
1136
+ """The wallet address"""
1137
+ walletAddress: String!
1138
+
1139
+ """The network ID"""
1140
+ networkId: Int
1141
+
1142
+ """The timestamp to get stats for"""
1143
+ timestamp: Int
1144
+
1145
+ """Whether to include network breakdown stats"""
1146
+ includeNetworkBreakdown: Boolean
1147
+ }
1148
+
1094
1149
  """Metadata for a contract."""
1095
1150
  union EnhancedContract = EnhancedToken | EnhancedNftContract
1096
1151
 
@@ -1688,6 +1743,97 @@ type FilterExchange {
1688
1743
  tradeUrl: String
1689
1744
  }
1690
1745
 
1746
+ """The input for filtering wallets for a network."""
1747
+ input FilterNetworkWalletsInput {
1748
+ """The network ID to filter wallets for"""
1749
+ networkId: Int!
1750
+
1751
+ """A set of filters to apply."""
1752
+ filters: WalletNetworkFilters
1753
+
1754
+ """A list of wallet addresses to filter by."""
1755
+ wallets: [String]
1756
+
1757
+ """Exclude wallets with these labels."""
1758
+ excludeLabels: [String]
1759
+
1760
+ """Include wallets with these labels."""
1761
+ includeLabels: [String]
1762
+
1763
+ """A list of ranking attributes to apply."""
1764
+ rankings: [WalletNetworkRanking]
1765
+
1766
+ """The maximum number of wallets to return."""
1767
+ limit: Int
1768
+
1769
+ """
1770
+ 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.
1771
+ """
1772
+ offset: Int
1773
+ }
1774
+
1775
+ """The input for filtering wallets for a token."""
1776
+ input FilterTokenWalletsInput {
1777
+ """The ID of the token to filter wallets for"""
1778
+ tokenId: String
1779
+
1780
+ """The wallet address to filter wallets for"""
1781
+ walletAddress: String
1782
+
1783
+ """The network ID to filter wallets for"""
1784
+ networkId: Int
1785
+
1786
+ """A set of filters to apply"""
1787
+ filters: WalletTokenFilters @deprecated(reason: "Use filtersV2 instead")
1788
+
1789
+ """A set of filters to apply"""
1790
+ filtersV2: WalletTokenFiltersV2
1791
+
1792
+ """A phrase to search for in token symbol and name"""
1793
+ phrase: String
1794
+
1795
+ """A list of ranking attributes to apply"""
1796
+ rankings: [WalletTokenRanking]
1797
+
1798
+ """Exclude wallets with these labels."""
1799
+ excludeLabels: [String]
1800
+
1801
+ """Include wallets with these labels."""
1802
+ includeLabels: [String]
1803
+
1804
+ """The maximum number of wallets to return"""
1805
+ limit: Int
1806
+
1807
+ """Where in the list the server should start when returning items"""
1808
+ offset: Int
1809
+ }
1810
+
1811
+ """The input for filtering wallets."""
1812
+ input FilterWalletsInput {
1813
+ """A set of filters to apply."""
1814
+ filters: WalletFilters
1815
+
1816
+ """A list of wallet addresses to filter by."""
1817
+ wallets: [String]
1818
+
1819
+ """Exclude wallets with these labels."""
1820
+ excludeLabels: [String]
1821
+
1822
+ """Include wallets with these labels."""
1823
+ includeLabels: [String]
1824
+
1825
+ """A list of ranking attributes to apply."""
1826
+ rankings: [WalletRanking]
1827
+
1828
+ """The maximum number of wallets to return."""
1829
+ limit: Int
1830
+
1831
+ """
1832
+ 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.
1833
+ """
1834
+ offset: Int
1835
+ }
1836
+
1691
1837
  """Metadata for a front-run label."""
1692
1838
  type FrontRunLabelData {
1693
1839
  """The index of the front-run label. Can be 0 or 1."""
@@ -1759,8 +1905,8 @@ input GetGasEstimateInput {
1759
1905
  inputTokenAmount: String!
1760
1906
  networkId: Int!
1761
1907
  outputTokenAddress: String!
1762
- poolAddress: String
1763
- exchangeAddress: String
1908
+ poolAddress: String!
1909
+ exchangeAddress: String!
1764
1910
  userId: Int
1765
1911
  walletId: Int
1766
1912
  customGas: String
@@ -1864,8 +2010,8 @@ input GetQuoteInput {
1864
2010
  inputTokenAmount: String!
1865
2011
  networkId: Int!
1866
2012
  outputTokenAddress: String!
1867
- poolAddress: String
1868
- exchangeAddress: String
2013
+ poolAddress: String!
2014
+ exchangeAddress: String!
1869
2015
  userId: Int
1870
2016
  customGas: String
1871
2017
  slippage: Float
@@ -2268,7 +2414,10 @@ type LatestTokenSimResults {
2268
2414
 
2269
2415
  type LaunchpadData {
2270
2416
  """The name of the launchpad."""
2271
- name: String
2417
+ name: String @deprecated(reason: "Use launchpadName instead")
2418
+
2419
+ """The name of the launchpad."""
2420
+ launchpadName: String
2272
2421
 
2273
2422
  """The percentage of the pool that was sold to the public."""
2274
2423
  graduationPercent: Float
@@ -2365,6 +2514,10 @@ enum LaunchpadTokenProtocol {
2365
2514
  Pump
2366
2515
  FourMeme
2367
2516
  RaydiumLaunchpad
2517
+ BoopFun
2518
+ Vertigo
2519
+ Rainbow
2520
+ EgoTech
2368
2521
  }
2369
2522
 
2370
2523
  scalar link__Import
@@ -2655,6 +2808,193 @@ type Network {
2655
2808
  networkShortName: String
2656
2809
  }
2657
2810
 
2811
+ """A breakdown of the wallet's activity by network."""
2812
+ type NetworkBreakdown {
2813
+ """The network ID"""
2814
+ networkId: Int!
2815
+
2816
+ """The native token balance"""
2817
+ nativeTokenBalance: String!
2818
+
2819
+ """The stats for the last day"""
2820
+ statsDay1: WindowedWalletStats
2821
+
2822
+ """The stats for the last week"""
2823
+ statsWeek1: WindowedWalletStats
2824
+
2825
+ """The stats for the last 30 days"""
2826
+ statsDay30: WindowedWalletStats
2827
+
2828
+ """The stats for the last year"""
2829
+ statsYear1: WindowedWalletStats
2830
+ }
2831
+
2832
+ type NetworkWalletFilterConnection {
2833
+ """The list of wallets matching the filter parameters."""
2834
+ results: [NetworkWalletFilterResult!]!
2835
+
2836
+ """The number of wallets returned."""
2837
+ count: Int!
2838
+
2839
+ """Where in the list the server started when returning items."""
2840
+ offset: Int!
2841
+ }
2842
+
2843
+ type NetworkWalletFilterResult {
2844
+ """The wallet address"""
2845
+ address: String!
2846
+
2847
+ """The network ID of the wallet"""
2848
+ networkId: Int!
2849
+
2850
+ """The unix timestamp for the first transaction from this wallet"""
2851
+ firstTransactionAt: Int
2852
+
2853
+ """The unix timestamp for the last transaction from this wallet"""
2854
+ lastTransactionAt: Int!
2855
+
2856
+ """The native token balance of the wallet"""
2857
+ nativeTokenBalance: String!
2858
+
2859
+ """The labels associated with the wallet"""
2860
+ labels: [String!]!
2861
+
2862
+ """Volume in USD in the past day"""
2863
+ volumeUsd1d: String!
2864
+
2865
+ """Total volume in USD in the past day including all tokens"""
2866
+ volumeUsdAll1d: String!
2867
+
2868
+ """Realized profit in USD in the past day"""
2869
+ realizedProfitUsd1d: String!
2870
+
2871
+ """Average profit in USD per trade in the past day"""
2872
+ averageProfitUsdPerTrade1d: String!
2873
+
2874
+ """Average swap amount in USD in the past day"""
2875
+ averageSwapAmountUsd1d: String!
2876
+
2877
+ """Realized profit percentage in the past day"""
2878
+ realizedProfitPercentage1d: Float!
2879
+
2880
+ """Number of swaps in the past day"""
2881
+ swaps1d: Int!
2882
+
2883
+ """Total number of swaps in the past day including all tokens"""
2884
+ swapsAll1d: Int!
2885
+
2886
+ """Number of unique tokens traded in the past day"""
2887
+ uniqueTokens1d: Int!
2888
+
2889
+ """Win rate in the past day"""
2890
+ winRate1d: Float!
2891
+
2892
+ """Volume in USD in the past week"""
2893
+ volumeUsd1w: String!
2894
+
2895
+ """Total volume in USD in the past week including all tokens"""
2896
+ volumeUsdAll1w: String!
2897
+
2898
+ """Realized profit in USD in the past week"""
2899
+ realizedProfitUsd1w: String!
2900
+
2901
+ """Average profit in USD per trade in the past week"""
2902
+ averageProfitUsdPerTrade1w: String!
2903
+
2904
+ """Average swap amount in USD in the past week"""
2905
+ averageSwapAmountUsd1w: String!
2906
+
2907
+ """Realized profit percentage in the past week"""
2908
+ realizedProfitPercentage1w: Float!
2909
+
2910
+ """Number of swaps in the past week"""
2911
+ swaps1w: Int!
2912
+
2913
+ """Total number of swaps in the past week including all tokens"""
2914
+ swapsAll1w: Int!
2915
+
2916
+ """Number of unique tokens traded in the past week"""
2917
+ uniqueTokens1w: Int!
2918
+
2919
+ """Win rate in the past week"""
2920
+ winRate1w: Float!
2921
+
2922
+ """Volume in USD in the past 30 days"""
2923
+ volumeUsd30d: String!
2924
+
2925
+ """Total volume in USD in the past 30 days including all tokens"""
2926
+ volumeUsdAll30d: String!
2927
+
2928
+ """Realized profit in USD in the past 30 days"""
2929
+ realizedProfitUsd30d: String!
2930
+
2931
+ """Average profit in USD per trade in the past 30 days"""
2932
+ averageProfitUsdPerTrade30d: String!
2933
+
2934
+ """Average swap amount in USD in the past 30 days"""
2935
+ averageSwapAmountUsd30d: String!
2936
+
2937
+ """Realized profit percentage in the past 30 days"""
2938
+ realizedProfitPercentage30d: Float!
2939
+
2940
+ """Number of swaps in the past 30 days"""
2941
+ swaps30d: Int!
2942
+
2943
+ """Total number of swaps in the past 30 days including all tokens"""
2944
+ swapsAll30d: Int!
2945
+
2946
+ """Number of unique tokens traded in the past 30 days"""
2947
+ uniqueTokens30d: Int!
2948
+
2949
+ """Win rate in the past 30 days"""
2950
+ winRate30d: Float!
2951
+
2952
+ """Volume in USD in the past year"""
2953
+ volumeUsd1y: String!
2954
+
2955
+ """Total volume in USD in the past year including all tokens"""
2956
+ volumeUsdAll1y: String!
2957
+
2958
+ """Realized profit in USD in the past year"""
2959
+ realizedProfitUsd1y: String!
2960
+
2961
+ """Average profit in USD per trade in the past year"""
2962
+ averageProfitUsdPerTrade1y: String!
2963
+
2964
+ """Average swap amount in USD in the past year"""
2965
+ averageSwapAmountUsd1y: String!
2966
+
2967
+ """Realized profit percentage in the past year"""
2968
+ realizedProfitPercentage1y: Float!
2969
+
2970
+ """Number of swaps in the past year"""
2971
+ swaps1y: Int!
2972
+
2973
+ """Total number of swaps in the past year including all tokens"""
2974
+ swapsAll1y: Int!
2975
+
2976
+ """Number of unique tokens traded in the past year"""
2977
+ uniqueTokens1y: Int!
2978
+
2979
+ """Win rate in the past year"""
2980
+ winRate1y: Float!
2981
+
2982
+ """The scammer score for the wallet."""
2983
+ scammerScore: Int
2984
+
2985
+ """The bot score for the wallet."""
2986
+ botScore: Int
2987
+ }
2988
+
2989
+ """Native token balance for a wallet on a network."""
2990
+ type NetworkWalletStats {
2991
+ """The network ID"""
2992
+ networkId: Int!
2993
+
2994
+ """The native token balance"""
2995
+ nativeTokenBalance: String!
2996
+ }
2997
+
2658
2998
  """Event data for creating a new NFT pool."""
2659
2999
  type NewPoolEventData {
2660
3000
  """The type of NFT pool event, `NEW_POOL`."""
@@ -6405,7 +6745,7 @@ input PairChartSettings {
6405
6745
  quoteToken: QuoteToken
6406
6746
 
6407
6747
  """
6408
- The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
6748
+ The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
6409
6749
  """
6410
6750
  resolution: String
6411
6751
 
@@ -8934,7 +9274,7 @@ type Query {
8934
9274
  to: Int!
8935
9275
 
8936
9276
  """
8937
- The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
9277
+ The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
8938
9278
  """
8939
9279
  resolution: String!
8940
9280
 
@@ -9164,6 +9504,25 @@ type Query {
9164
9504
  """Returns a list of top traders for a given token."""
9165
9505
  tokenTopTraders(input: TokenTopTradersInput!): TokenTopTradersConnection!
9166
9506
 
9507
+ """Returns a list of wallets based on a variety of filters."""
9508
+ filterWallets(input: FilterWalletsInput!): WalletFilterConnection!
9509
+
9510
+ """
9511
+ Returns a list of wallets with stats narrowed down to a specific network.
9512
+ """
9513
+ filterNetworkWallets(input: FilterNetworkWalletsInput!): NetworkWalletFilterConnection! @deprecated(reason: "Use filterWallets instead")
9514
+
9515
+ """
9516
+ Returns a list of wallets with stats narrowed down to a specific token.
9517
+ """
9518
+ filterTokenWallets(input: FilterTokenWalletsInput!): TokenWalletFilterConnection!
9519
+
9520
+ """Returns detailed stats for a wallet."""
9521
+ detailedWalletStats(input: DetailedWalletStatsInput!): DetailedWalletStats
9522
+
9523
+ """Returns a chart of a wallet's activity."""
9524
+ walletChart(input: WalletChartInput!): WalletChartResponse
9525
+
9167
9526
  """Returns community gathered notes."""
9168
9527
  getCommunityNotes(input: CommunityNotesInput): CommunityNotesResponse!
9169
9528
  }
@@ -9206,6 +9565,12 @@ enum QuoteType {
9206
9565
  OUTPUT
9207
9566
  }
9208
9567
 
9568
+ """The range of time for a chart."""
9569
+ input RangeInput {
9570
+ start: Int!
9571
+ end: Int!
9572
+ }
9573
+
9209
9574
  """The order of ranking."""
9210
9575
  enum RankingDirection {
9211
9576
  ASC
@@ -10470,11 +10835,12 @@ type TokenFilterResult {
10470
10835
  """The lowest price in USD in the past 4 hours."""
10471
10836
  low4: String
10472
10837
 
10473
- """
10474
- The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.
10475
- """
10838
+ """The fully diluted market cap."""
10476
10839
  marketCap: String
10477
10840
 
10841
+ """The circulating market cap."""
10842
+ circulatingMarketCap: String
10843
+
10478
10844
  """Metadata for the token's top pair."""
10479
10845
  pair: Pair
10480
10846
 
@@ -10728,6 +11094,9 @@ input TokenFilters {
10728
11094
  """The market cap of circulating supply."""
10729
11095
  marketCap: NumberFilter
10730
11096
 
11097
+ """The circulating market cap."""
11098
+ circulatingMarketCap: NumberFilter
11099
+
10731
11100
  """
10732
11101
  The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network.
10733
11102
  """
@@ -10887,6 +11256,9 @@ input TokenFilters {
10887
11256
  """The launchpad protocol"""
10888
11257
  launchpadProtocol: String
10889
11258
 
11259
+ """The name of the launchpad"""
11260
+ launchpadName: String
11261
+
10890
11262
  """Indicates if the launchpad is completed"""
10891
11263
  launchpadCompleted: Boolean
10892
11264
 
@@ -11190,6 +11562,7 @@ enum TokenRankingAttribute {
11190
11562
  low12
11191
11563
  low24
11192
11564
  marketCap
11565
+ circulatingMarketCap
11193
11566
  priceUSD
11194
11567
  sellCount5m
11195
11568
  sellCount1
@@ -11367,88 +11740,270 @@ input TokenTopTradersInput {
11367
11740
  offset: Int
11368
11741
  }
11369
11742
 
11370
- """A token with metadata."""
11371
- type TokenWithMetadata {
11372
- """The contract address of the token."""
11373
- address: String!
11374
-
11375
- """
11376
- The precision to which the token can be divided. For example, the smallest unit for USDC is 0.000001 (6 decimals).
11377
- """
11378
- decimals: Int
11743
+ type TokenWalletFilterConnection {
11744
+ """The list of wallets matching the filter parameters."""
11745
+ results: [TokenWalletFilterResult!]!
11379
11746
 
11380
- """The exchanges the token is listed on."""
11381
- exchanges: [Exchange!]!
11747
+ """The number of wallets returned."""
11748
+ count: Int!
11382
11749
 
11383
- """
11384
- The ID of the token (`address:networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`.
11385
- """
11386
- id: String!
11750
+ """Where in the list the server started when returning items."""
11751
+ offset: Int!
11752
+ }
11387
11753
 
11388
- """The total liquidity of the token's top pair in USD."""
11389
- liquidity: String!
11754
+ """The result for filtering wallets for a token."""
11755
+ type TokenWalletFilterResult {
11756
+ """The wallet address"""
11757
+ address: String!
11390
11758
 
11391
- """The name of the token."""
11392
- name: String!
11759
+ """The token address"""
11760
+ tokenAddress: String!
11393
11761
 
11394
- """The network ID the token is deployed on."""
11762
+ """The network ID"""
11395
11763
  networkId: Int!
11396
11764
 
11397
- """The token price in USD."""
11398
- price: Float!
11765
+ """The unix timestamp for the first transaction from this wallet"""
11766
+ firstTransactionAt: Int
11399
11767
 
11400
- """The percent price change for the time frame requested. Decimal format."""
11401
- priceChange: Float!
11768
+ """The unix timestamp for the last transaction from this wallet"""
11769
+ lastTransactionAt: Int!
11402
11770
 
11403
- """Whether the token has been flagged as a scam."""
11404
- isScam: Boolean
11771
+ """The labels associated with the wallet"""
11772
+ labels: [String!]!
11405
11773
 
11406
- """The percent price change in the past hour. Decimal format."""
11407
- priceChange1: Float
11774
+ """Token amount bought in the past day"""
11775
+ tokenAmountBought1d: String!
11408
11776
 
11409
- """The percent price change in the past 12 hours. Decimal format."""
11410
- priceChange12: Float
11777
+ """Token amount sold in the past day"""
11778
+ tokenAmountSold1d: String!
11411
11779
 
11412
- """The percent price change in the past 24 hours. Decimal format."""
11413
- priceChange24: Float
11780
+ """Token amount sold all in the past day"""
11781
+ tokenAmountSoldAll1d: String!
11414
11782
 
11415
- """The percent price change in the past 4 hours. Decimal format."""
11416
- priceChange4: Float
11783
+ """Amount bought in USD in the past day"""
11784
+ amountBoughtUsd1d: String!
11417
11785
 
11418
- """The token of interest. Can be `token0` or `token1`."""
11419
- quoteToken: QuoteToken
11786
+ """Amount sold in USD in the past day"""
11787
+ amountSoldUsd1d: String!
11420
11788
 
11421
- """The market cap of circulating supply."""
11422
- marketCap: String
11789
+ """Amount sold USD all in the past day"""
11790
+ amountSoldUsdAll1d: String!
11423
11791
 
11424
- """The number of transactions in the past hour."""
11425
- txnCount1: Int
11792
+ """Realized profit in USD in the past day"""
11793
+ realizedProfitUsd1d: String!
11426
11794
 
11427
- """The number of transactions in the past 12 hours."""
11428
- txnCount12: Int
11795
+ """Realized profit percentage in the past day"""
11796
+ realizedProfitPercentage1d: Float!
11429
11797
 
11430
- """The number of transactions in the past 24 hours."""
11431
- txnCount24: Int
11798
+ """Number of buys in the past day"""
11799
+ buys1d: Int!
11432
11800
 
11433
- """The number of transactions in the past 4 hours."""
11434
- txnCount4: Int
11801
+ """Number of sells in the past day"""
11802
+ sells1d: Int!
11435
11803
 
11436
- """The unique number of buys in the past hour."""
11437
- uniqueBuys1: Int
11804
+ """Number of sells all in the past day"""
11805
+ sellsAll1d: Int!
11438
11806
 
11439
- """The unique number of buys in the past 12 hours."""
11440
- uniqueBuys12: Int
11807
+ """Token amount bought in the past week"""
11808
+ tokenAmountBought1w: String!
11441
11809
 
11442
- """The unique number of buys in the past 24 hours."""
11443
- uniqueBuys24: Int
11810
+ """Token amount sold in the past week"""
11811
+ tokenAmountSold1w: String!
11444
11812
 
11445
- """The unique number of buys in the past 4 hours."""
11446
- uniqueBuys4: Int
11813
+ """Token amount sold all in the past week"""
11814
+ tokenAmountSoldAll1w: String!
11447
11815
 
11448
- """The unique number of sells in the past hour."""
11449
- uniqueSells1: Int
11816
+ """Amount bought in USD in the past week"""
11817
+ amountBoughtUsd1w: String!
11450
11818
 
11451
- """The unique number of sells in the past 12 hours."""
11819
+ """Amount sold in USD in the past week"""
11820
+ amountSoldUsd1w: String!
11821
+
11822
+ """Amount sold USD all in the past week"""
11823
+ amountSoldUsdAll1w: String!
11824
+
11825
+ """Realized profit in USD in the past week"""
11826
+ realizedProfitUsd1w: String!
11827
+
11828
+ """Realized profit percentage in the past week"""
11829
+ realizedProfitPercentage1w: Float!
11830
+
11831
+ """Number of buys in the past week"""
11832
+ buys1w: Int!
11833
+
11834
+ """Number of sells in the past week"""
11835
+ sells1w: Int!
11836
+
11837
+ """Number of sells all in the past week"""
11838
+ sellsAll1w: Int!
11839
+
11840
+ """Token amount bought in the past 30 days"""
11841
+ tokenAmountBought30d: String!
11842
+
11843
+ """Token amount sold in the past 30 days"""
11844
+ tokenAmountSold30d: String!
11845
+
11846
+ """Token amount sold all in the past 30 days"""
11847
+ tokenAmountSoldAll30d: String!
11848
+
11849
+ """Amount bought in USD in the past 30 days"""
11850
+ amountBoughtUsd30d: String!
11851
+
11852
+ """Amount sold in USD in the past 30 days"""
11853
+ amountSoldUsd30d: String!
11854
+
11855
+ """Amount sold USD all in the past 30 days"""
11856
+ amountSoldUsdAll30d: String!
11857
+
11858
+ """Realized profit in USD in the past 30 days"""
11859
+ realizedProfitUsd30d: String!
11860
+
11861
+ """Realized profit percentage in the past 30 days"""
11862
+ realizedProfitPercentage30d: Float!
11863
+
11864
+ """Number of buys in the past 30 days"""
11865
+ buys30d: Int!
11866
+
11867
+ """Number of sells in the past 30 days"""
11868
+ sells30d: Int!
11869
+
11870
+ """Number of sells all in the past 30 days"""
11871
+ sellsAll30d: Int!
11872
+
11873
+ """Token amount bought in the past year"""
11874
+ tokenAmountBought1y: String!
11875
+
11876
+ """Token amount sold in the past year"""
11877
+ tokenAmountSold1y: String!
11878
+
11879
+ """Token amount sold all in the past year"""
11880
+ tokenAmountSoldAll1y: String!
11881
+
11882
+ """Amount bought in USD in the past year"""
11883
+ amountBoughtUsd1y: String!
11884
+
11885
+ """Amount sold in USD in the past year"""
11886
+ amountSoldUsd1y: String!
11887
+
11888
+ """Amount sold USD all in the past year"""
11889
+ amountSoldUsdAll1y: String!
11890
+
11891
+ """Realized profit in USD in the past year"""
11892
+ realizedProfitUsd1y: String!
11893
+
11894
+ """Realized profit percentage in the past year"""
11895
+ realizedProfitPercentage1y: Float!
11896
+
11897
+ """Number of buys in the past year"""
11898
+ buys1y: Int!
11899
+
11900
+ """Number of sells in the past year"""
11901
+ sells1y: Int!
11902
+
11903
+ """Number of sells all in the past year"""
11904
+ sellsAll1y: Int!
11905
+
11906
+ """The purchased token balance"""
11907
+ purchasedTokenBalance: String!
11908
+
11909
+ """The token acquisition cost in USD"""
11910
+ tokenAcquisitionCostUsd: String!
11911
+
11912
+ """The current token balance"""
11913
+ tokenBalance: String!
11914
+
11915
+ """The token metadata"""
11916
+ token: EnhancedToken!
11917
+
11918
+ """The scammer score for the wallet."""
11919
+ scammerScore: Int
11920
+
11921
+ """The bot score for the wallet."""
11922
+ botScore: Int
11923
+ }
11924
+
11925
+ """A token with metadata."""
11926
+ type TokenWithMetadata {
11927
+ """The contract address of the token."""
11928
+ address: String!
11929
+
11930
+ """
11931
+ The precision to which the token can be divided. For example, the smallest unit for USDC is 0.000001 (6 decimals).
11932
+ """
11933
+ decimals: Int
11934
+
11935
+ """The exchanges the token is listed on."""
11936
+ exchanges: [Exchange!]!
11937
+
11938
+ """
11939
+ The ID of the token (`address:networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`.
11940
+ """
11941
+ id: String!
11942
+
11943
+ """The total liquidity of the token's top pair in USD."""
11944
+ liquidity: String!
11945
+
11946
+ """The name of the token."""
11947
+ name: String!
11948
+
11949
+ """The network ID the token is deployed on."""
11950
+ networkId: Int!
11951
+
11952
+ """The token price in USD."""
11953
+ price: Float!
11954
+
11955
+ """The percent price change for the time frame requested. Decimal format."""
11956
+ priceChange: Float!
11957
+
11958
+ """Whether the token has been flagged as a scam."""
11959
+ isScam: Boolean
11960
+
11961
+ """The percent price change in the past hour. Decimal format."""
11962
+ priceChange1: Float
11963
+
11964
+ """The percent price change in the past 12 hours. Decimal format."""
11965
+ priceChange12: Float
11966
+
11967
+ """The percent price change in the past 24 hours. Decimal format."""
11968
+ priceChange24: Float
11969
+
11970
+ """The percent price change in the past 4 hours. Decimal format."""
11971
+ priceChange4: Float
11972
+
11973
+ """The token of interest. Can be `token0` or `token1`."""
11974
+ quoteToken: QuoteToken
11975
+
11976
+ """The market cap of circulating supply."""
11977
+ marketCap: String
11978
+
11979
+ """The number of transactions in the past hour."""
11980
+ txnCount1: Int
11981
+
11982
+ """The number of transactions in the past 12 hours."""
11983
+ txnCount12: Int
11984
+
11985
+ """The number of transactions in the past 24 hours."""
11986
+ txnCount24: Int
11987
+
11988
+ """The number of transactions in the past 4 hours."""
11989
+ txnCount4: Int
11990
+
11991
+ """The unique number of buys in the past hour."""
11992
+ uniqueBuys1: Int
11993
+
11994
+ """The unique number of buys in the past 12 hours."""
11995
+ uniqueBuys12: Int
11996
+
11997
+ """The unique number of buys in the past 24 hours."""
11998
+ uniqueBuys24: Int
11999
+
12000
+ """The unique number of buys in the past 4 hours."""
12001
+ uniqueBuys4: Int
12002
+
12003
+ """The unique number of sells in the past hour."""
12004
+ uniqueSells1: Int
12005
+
12006
+ """The unique number of sells in the past 12 hours."""
11452
12007
  uniqueSells12: Int
11453
12008
 
11454
12009
  """The unique number of sells in the past 24 hours."""
@@ -11657,11 +12212,566 @@ type UnconfirmedSwapEventData {
11657
12212
 
11658
12213
  scalar Void
11659
12214
 
12215
+ """The data for a chart of a wallet's activity."""
12216
+ type WalletChartData {
12217
+ """The timestamp"""
12218
+ timestamp: Int!
12219
+
12220
+ """The resolution"""
12221
+ resolution: String!
12222
+
12223
+ """The volume in USD"""
12224
+ volumeUsd: String!
12225
+
12226
+ """
12227
+ The volume in USD including tokens sold for which we do not have a price
12228
+ """
12229
+ volumeUsdAll: String!
12230
+
12231
+ """The realized profit in USD"""
12232
+ realizedProfitUsd: String!
12233
+
12234
+ """The number of swaps"""
12235
+ swaps: Int!
12236
+ }
12237
+
12238
+ """The input for a chart of a wallet's activity."""
12239
+ input WalletChartInput {
12240
+ """The wallet address"""
12241
+ walletAddress: String!
12242
+
12243
+ """The network ID"""
12244
+ networkId: Int
12245
+
12246
+ """The range of time for the chart"""
12247
+ range: RangeInput!
12248
+
12249
+ """The resolution of the chart"""
12250
+ resolution: String!
12251
+ }
12252
+
12253
+ """The range of time for a chart."""
11660
12254
  type WalletChartRange {
11661
12255
  start: Int!
11662
12256
  end: Int!
11663
12257
  }
11664
12258
 
12259
+ """The response for a chart of a wallet's activity."""
12260
+ type WalletChartResponse {
12261
+ """The wallet address"""
12262
+ walletAddress: String!
12263
+
12264
+ """The network ID"""
12265
+ networkId: Int
12266
+
12267
+ """The range of time for the chart"""
12268
+ range: WalletChartRange!
12269
+
12270
+ """The resolution of the chart"""
12271
+ resolution: String!
12272
+
12273
+ """The data for the chart"""
12274
+ data: [WalletChartData!]!
12275
+ }
12276
+
12277
+ type WalletFilterConnection {
12278
+ """The list of wallets matching the filter parameters."""
12279
+ results: [WalletFilterResult!]!
12280
+
12281
+ """The number of wallets returned."""
12282
+ count: Int!
12283
+
12284
+ """Where in the list the server started when returning items."""
12285
+ offset: Int!
12286
+ }
12287
+
12288
+ type WalletFilterResult {
12289
+ """The wallet address"""
12290
+ address: String!
12291
+
12292
+ """The unix timestamp for the first transaction from this wallet"""
12293
+ firstTransactionAt: Int
12294
+
12295
+ """The unix timestamp for the last transaction from this wallet"""
12296
+ lastTransactionAt: Int!
12297
+
12298
+ """The labels associated with the wallet"""
12299
+ labels: [String!]!
12300
+
12301
+ """Volume in USD in the past day"""
12302
+ volumeUsd1d: String!
12303
+
12304
+ """Total volume in USD in the past day including all tokens"""
12305
+ volumeUsdAll1d: String!
12306
+
12307
+ """Realized profit in USD in the past day"""
12308
+ realizedProfitUsd1d: String!
12309
+
12310
+ """Average profit in USD per trade in the past day"""
12311
+ averageProfitUsdPerTrade1d: String!
12312
+
12313
+ """Average swap amount in USD in the past day"""
12314
+ averageSwapAmountUsd1d: String!
12315
+
12316
+ """Realized profit percentage in the past day"""
12317
+ realizedProfitPercentage1d: Float!
12318
+
12319
+ """Number of swaps in the past day"""
12320
+ swaps1d: Int!
12321
+
12322
+ """Total number of swaps in the past day including all tokens"""
12323
+ swapsAll1d: Int!
12324
+
12325
+ """Number of unique tokens traded in the past day"""
12326
+ uniqueTokens1d: Int!
12327
+
12328
+ """Win rate in the past day"""
12329
+ winRate1d: Float!
12330
+
12331
+ """Volume in USD in the past week"""
12332
+ volumeUsd1w: String!
12333
+
12334
+ """Total volume in USD in the past week including all tokens"""
12335
+ volumeUsdAll1w: String!
12336
+
12337
+ """Realized profit in USD in the past week"""
12338
+ realizedProfitUsd1w: String!
12339
+
12340
+ """Average profit in USD per trade in the past week"""
12341
+ averageProfitUsdPerTrade1w: String!
12342
+
12343
+ """Average swap amount in USD in the past week"""
12344
+ averageSwapAmountUsd1w: String!
12345
+
12346
+ """Realized profit percentage in the past week"""
12347
+ realizedProfitPercentage1w: Float!
12348
+
12349
+ """Number of swaps in the past week"""
12350
+ swaps1w: Int!
12351
+
12352
+ """Total number of swaps in the past week including all tokens"""
12353
+ swapsAll1w: Int!
12354
+
12355
+ """Number of unique tokens traded in the past week"""
12356
+ uniqueTokens1w: Int!
12357
+
12358
+ """Win rate in the past week"""
12359
+ winRate1w: Float!
12360
+
12361
+ """Volume in USD in the past 30 days"""
12362
+ volumeUsd30d: String!
12363
+
12364
+ """Total volume in USD in the past 30 days including all tokens"""
12365
+ volumeUsdAll30d: String!
12366
+
12367
+ """Realized profit in USD in the past 30 days"""
12368
+ realizedProfitUsd30d: String!
12369
+
12370
+ """Average profit in USD per trade in the past 30 days"""
12371
+ averageProfitUsdPerTrade30d: String!
12372
+
12373
+ """Average swap amount in USD in the past 30 days"""
12374
+ averageSwapAmountUsd30d: String!
12375
+
12376
+ """Realized profit percentage in the past 30 days"""
12377
+ realizedProfitPercentage30d: Float!
12378
+
12379
+ """Number of swaps in the past 30 days"""
12380
+ swaps30d: Int!
12381
+
12382
+ """Total number of swaps in the past 30 days including all tokens"""
12383
+ swapsAll30d: Int!
12384
+
12385
+ """Number of unique tokens traded in the past 30 days"""
12386
+ uniqueTokens30d: Int!
12387
+
12388
+ """Win rate in the past 30 days"""
12389
+ winRate30d: Float!
12390
+
12391
+ """Volume in USD in the past year"""
12392
+ volumeUsd1y: String!
12393
+
12394
+ """Total volume in USD in the past year including all tokens"""
12395
+ volumeUsdAll1y: String!
12396
+
12397
+ """Realized profit in USD in the past year"""
12398
+ realizedProfitUsd1y: String!
12399
+
12400
+ """Average profit in USD per trade in the past year"""
12401
+ averageProfitUsdPerTrade1y: String!
12402
+
12403
+ """Average swap amount in USD in the past year"""
12404
+ averageSwapAmountUsd1y: String!
12405
+
12406
+ """Realized profit percentage in the past year"""
12407
+ realizedProfitPercentage1y: Float!
12408
+
12409
+ """Number of swaps in the past year"""
12410
+ swaps1y: Int!
12411
+
12412
+ """Total number of swaps in the past year including all tokens"""
12413
+ swapsAll1y: Int!
12414
+
12415
+ """Number of unique tokens traded in the past year"""
12416
+ uniqueTokens1y: Int!
12417
+
12418
+ """Win rate in the past year"""
12419
+ winRate1y: Float!
12420
+
12421
+ """The scammer score for the wallet."""
12422
+ scammerScore: Int
12423
+
12424
+ """The bot score for the wallet."""
12425
+ botScore: Int
12426
+
12427
+ """The network ID of the wallet (only present if filtered by network)"""
12428
+ networkId: Int
12429
+
12430
+ """
12431
+ The native token balance of the wallet (only present if filtered by network)
12432
+ """
12433
+ nativeTokenBalance: String
12434
+ }
12435
+
12436
+ input WalletFilters {
12437
+ """The unix timestamp for the last transaction from this wallet."""
12438
+ lastTransactionAt: NumberFilter
12439
+
12440
+ """The unix timestamp for the first transaction from this wallet."""
12441
+ firstTransactionAt: NumberFilter
12442
+
12443
+ """Volume in USD in the past day"""
12444
+ volumeUsd1d: NumberFilter
12445
+
12446
+ """Total volume in USD in the past day including all tokens"""
12447
+ volumeUsdAll1d: NumberFilter
12448
+
12449
+ """Realized profit in USD in the past day"""
12450
+ realizedProfitUsd1d: NumberFilter
12451
+
12452
+ """Average profit in USD per trade in the past day"""
12453
+ averageProfitUsdPerTrade1d: NumberFilter
12454
+
12455
+ """Average swap amount in USD in the past day"""
12456
+ averageSwapAmountUsd1d: NumberFilter
12457
+
12458
+ """Realized profit percentage in the past day"""
12459
+ realizedProfitPercentage1d: NumberFilter
12460
+
12461
+ """Number of swaps in the past day"""
12462
+ swaps1d: NumberFilter
12463
+
12464
+ """Total number of swaps in the past day including all tokens"""
12465
+ swapsAll1d: NumberFilter
12466
+
12467
+ """Number of unique tokens traded in the past day"""
12468
+ uniqueTokens1d: NumberFilter
12469
+
12470
+ """Win rate in the past day"""
12471
+ winRate1d: NumberFilter
12472
+
12473
+ """Volume in USD in the past week"""
12474
+ volumeUsd1w: NumberFilter
12475
+
12476
+ """Total volume in USD in the past week including all tokens"""
12477
+ volumeUsdAll1w: NumberFilter
12478
+
12479
+ """Realized profit in USD in the past week"""
12480
+ realizedProfitUsd1w: NumberFilter
12481
+
12482
+ """Average profit in USD per trade in the past week"""
12483
+ averageProfitUsdPerTrade1w: NumberFilter
12484
+
12485
+ """Average swap amount in USD in the past week"""
12486
+ averageSwapAmountUsd1w: NumberFilter
12487
+
12488
+ """Realized profit percentage in the past week"""
12489
+ realizedProfitPercentage1w: NumberFilter
12490
+
12491
+ """Number of swaps in the past week"""
12492
+ swaps1w: NumberFilter
12493
+
12494
+ """Total number of swaps in the past week including all tokens"""
12495
+ swapsAll1w: NumberFilter
12496
+
12497
+ """Number of unique tokens traded in the past week"""
12498
+ uniqueTokens1w: NumberFilter
12499
+
12500
+ """Win rate in the past week"""
12501
+ winRate1w: NumberFilter
12502
+
12503
+ """Volume in USD in the past 30 days"""
12504
+ volumeUsd30d: NumberFilter
12505
+
12506
+ """Total volume in USD in the past 30 days including all tokens"""
12507
+ volumeUsdAll30d: NumberFilter
12508
+
12509
+ """Realized profit in USD in the past 30 days"""
12510
+ realizedProfitUsd30d: NumberFilter
12511
+
12512
+ """Average profit in USD per trade in the past 30 days"""
12513
+ averageProfitUsdPerTrade30d: NumberFilter
12514
+
12515
+ """Average swap amount in USD in the past 30 days"""
12516
+ averageSwapAmountUsd30d: NumberFilter
12517
+
12518
+ """Realized profit percentage in the past 30 days"""
12519
+ realizedProfitPercentage30d: NumberFilter
12520
+
12521
+ """Number of swaps in the past 30 days"""
12522
+ swaps30d: NumberFilter
12523
+
12524
+ """Total number of swaps in the past 30 days including all tokens"""
12525
+ swapsAll30d: NumberFilter
12526
+
12527
+ """Number of unique tokens traded in the past 30 days"""
12528
+ uniqueTokens30d: NumberFilter
12529
+
12530
+ """Win rate in the past 30 days"""
12531
+ winRate30d: NumberFilter
12532
+
12533
+ """Volume in USD in the past year"""
12534
+ volumeUsd1y: NumberFilter
12535
+
12536
+ """Total volume in USD in the past year including all tokens"""
12537
+ volumeUsdAll1y: NumberFilter
12538
+
12539
+ """Realized profit in USD in the past year"""
12540
+ realizedProfitUsd1y: NumberFilter
12541
+
12542
+ """Average profit in USD per trade in the past year"""
12543
+ averageProfitUsdPerTrade1y: NumberFilter
12544
+
12545
+ """Average swap amount in USD in the past year"""
12546
+ averageSwapAmountUsd1y: NumberFilter
12547
+
12548
+ """Realized profit percentage in the past year"""
12549
+ realizedProfitPercentage1y: NumberFilter
12550
+
12551
+ """Number of swaps in the past year"""
12552
+ swaps1y: NumberFilter
12553
+
12554
+ """Total number of swaps in the past year including all tokens"""
12555
+ swapsAll1y: NumberFilter
12556
+
12557
+ """Number of unique tokens traded in the past year"""
12558
+ uniqueTokens1y: NumberFilter
12559
+
12560
+ """Win rate in the past year"""
12561
+ winRate1y: NumberFilter
12562
+
12563
+ """The scammer score for the wallet."""
12564
+ scammerScore: NumberFilter
12565
+
12566
+ """The bot score for the wallet."""
12567
+ botScore: NumberFilter
12568
+
12569
+ """The network ID to filter by."""
12570
+ networkId: Int
12571
+
12572
+ """
12573
+ The native token balance of the wallet. Can only be used in conjunction with `networkId` filter.
12574
+ """
12575
+ nativeTokenBalance: NumberFilter
12576
+ }
12577
+
12578
+ input WalletNetworkFilters {
12579
+ """The unix timestamp for the last transaction from this wallet."""
12580
+ lastTransactionAt: NumberFilter
12581
+
12582
+ """The unix timestamp for the first transaction from this wallet."""
12583
+ firstTransactionAt: NumberFilter
12584
+
12585
+ """Volume in USD in the past day"""
12586
+ volumeUsd1d: NumberFilter
12587
+
12588
+ """Total volume in USD in the past day including all tokens"""
12589
+ volumeUsdAll1d: NumberFilter
12590
+
12591
+ """Realized profit in USD in the past day"""
12592
+ realizedProfitUsd1d: NumberFilter
12593
+
12594
+ """Average profit in USD per trade in the past day"""
12595
+ averageProfitUsdPerTrade1d: NumberFilter
12596
+
12597
+ """Average swap amount in USD in the past day"""
12598
+ averageSwapAmountUsd1d: NumberFilter
12599
+
12600
+ """Realized profit percentage in the past day"""
12601
+ realizedProfitPercentage1d: NumberFilter
12602
+
12603
+ """Number of swaps in the past day"""
12604
+ swaps1d: NumberFilter
12605
+
12606
+ """Total number of swaps in the past day including all tokens"""
12607
+ swapsAll1d: NumberFilter
12608
+
12609
+ """Number of unique tokens traded in the past day"""
12610
+ uniqueTokens1d: NumberFilter
12611
+
12612
+ """Win rate in the past day"""
12613
+ winRate1d: NumberFilter
12614
+
12615
+ """Volume in USD in the past week"""
12616
+ volumeUsd1w: NumberFilter
12617
+
12618
+ """Total volume in USD in the past week including all tokens"""
12619
+ volumeUsdAll1w: NumberFilter
12620
+
12621
+ """Realized profit in USD in the past week"""
12622
+ realizedProfitUsd1w: NumberFilter
12623
+
12624
+ """Average profit in USD per trade in the past week"""
12625
+ averageProfitUsdPerTrade1w: NumberFilter
12626
+
12627
+ """Average swap amount in USD in the past week"""
12628
+ averageSwapAmountUsd1w: NumberFilter
12629
+
12630
+ """Realized profit percentage in the past week"""
12631
+ realizedProfitPercentage1w: NumberFilter
12632
+
12633
+ """Number of swaps in the past week"""
12634
+ swaps1w: NumberFilter
12635
+
12636
+ """Total number of swaps in the past week including all tokens"""
12637
+ swapsAll1w: NumberFilter
12638
+
12639
+ """Number of unique tokens traded in the past week"""
12640
+ uniqueTokens1w: NumberFilter
12641
+
12642
+ """Win rate in the past week"""
12643
+ winRate1w: NumberFilter
12644
+
12645
+ """Volume in USD in the past 30 days"""
12646
+ volumeUsd30d: NumberFilter
12647
+
12648
+ """Total volume in USD in the past 30 days including all tokens"""
12649
+ volumeUsdAll30d: NumberFilter
12650
+
12651
+ """Realized profit in USD in the past 30 days"""
12652
+ realizedProfitUsd30d: NumberFilter
12653
+
12654
+ """Average profit in USD per trade in the past 30 days"""
12655
+ averageProfitUsdPerTrade30d: NumberFilter
12656
+
12657
+ """Average swap amount in USD in the past 30 days"""
12658
+ averageSwapAmountUsd30d: NumberFilter
12659
+
12660
+ """Realized profit percentage in the past 30 days"""
12661
+ realizedProfitPercentage30d: NumberFilter
12662
+
12663
+ """Number of swaps in the past 30 days"""
12664
+ swaps30d: NumberFilter
12665
+
12666
+ """Total number of swaps in the past 30 days including all tokens"""
12667
+ swapsAll30d: NumberFilter
12668
+
12669
+ """Number of unique tokens traded in the past 30 days"""
12670
+ uniqueTokens30d: NumberFilter
12671
+
12672
+ """Win rate in the past 30 days"""
12673
+ winRate30d: NumberFilter
12674
+
12675
+ """Volume in USD in the past year"""
12676
+ volumeUsd1y: NumberFilter
12677
+
12678
+ """Total volume in USD in the past year including all tokens"""
12679
+ volumeUsdAll1y: NumberFilter
12680
+
12681
+ """Realized profit in USD in the past year"""
12682
+ realizedProfitUsd1y: NumberFilter
12683
+
12684
+ """Average profit in USD per trade in the past year"""
12685
+ averageProfitUsdPerTrade1y: NumberFilter
12686
+
12687
+ """Average swap amount in USD in the past year"""
12688
+ averageSwapAmountUsd1y: NumberFilter
12689
+
12690
+ """Realized profit percentage in the past year"""
12691
+ realizedProfitPercentage1y: NumberFilter
12692
+
12693
+ """Number of swaps in the past year"""
12694
+ swaps1y: NumberFilter
12695
+
12696
+ """Total number of swaps in the past year including all tokens"""
12697
+ swapsAll1y: NumberFilter
12698
+
12699
+ """Number of unique tokens traded in the past year"""
12700
+ uniqueTokens1y: NumberFilter
12701
+
12702
+ """Win rate in the past year"""
12703
+ winRate1y: NumberFilter
12704
+
12705
+ """The native token balance of the wallet."""
12706
+ nativeTokenBalance: NumberFilter
12707
+
12708
+ """
12709
+ 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.
12710
+ """
12711
+ scammerScore: NumberFilter
12712
+
12713
+ """
12714
+ 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.
12715
+ """
12716
+ botScore: NumberFilter
12717
+ }
12718
+
12719
+ input WalletNetworkRanking {
12720
+ """The attribute to rank wallets by."""
12721
+ attribute: WalletNetworkRankingAttribute
12722
+
12723
+ """The direction to apply to the ranking attribute."""
12724
+ direction: RankingDirection
12725
+ }
12726
+
12727
+ enum WalletNetworkRankingAttribute {
12728
+ firstTransactionAt
12729
+ lastTransactionAt
12730
+ volumeUsd1d
12731
+ volumeUsdAll1d
12732
+ realizedProfitUsd1d
12733
+ averageProfitUsdPerTrade1d
12734
+ averageSwapAmountUsd1d
12735
+ realizedProfitPercentage1d
12736
+ swaps1d
12737
+ swapsAll1d
12738
+ uniqueTokens1d
12739
+ winRate1d
12740
+ volumeUsd1w
12741
+ volumeUsdAll1w
12742
+ realizedProfitUsd1w
12743
+ averageProfitUsdPerTrade1w
12744
+ averageSwapAmountUsd1w
12745
+ realizedProfitPercentage1w
12746
+ swaps1w
12747
+ swapsAll1w
12748
+ uniqueTokens1w
12749
+ winRate1w
12750
+ volumeUsd30d
12751
+ volumeUsdAll30d
12752
+ realizedProfitUsd30d
12753
+ averageProfitUsdPerTrade30d
12754
+ averageSwapAmountUsd30d
12755
+ realizedProfitPercentage30d
12756
+ swaps30d
12757
+ swapsAll30d
12758
+ uniqueTokens30d
12759
+ winRate30d
12760
+ volumeUsd1y
12761
+ volumeUsdAll1y
12762
+ realizedProfitUsd1y
12763
+ averageProfitUsdPerTrade1y
12764
+ averageSwapAmountUsd1y
12765
+ realizedProfitPercentage1y
12766
+ swaps1y
12767
+ swapsAll1y
12768
+ uniqueTokens1y
12769
+ winRate1y
12770
+ nativeTokenBalance
12771
+ scammerScore
12772
+ botScore
12773
+ }
12774
+
11665
12775
  type WalletNftCollection {
11666
12776
  """The address of the wallet."""
11667
12777
  walletAddress: String!
@@ -11724,6 +12834,443 @@ type WalletNftCollectionsResponse {
11724
12834
  cursor: String
11725
12835
  }
11726
12836
 
12837
+ input WalletRanking {
12838
+ """The attribute to rank wallets by."""
12839
+ attribute: WalletRankingAttribute
12840
+
12841
+ """The direction to apply to the ranking attribute."""
12842
+ direction: RankingDirection
12843
+ }
12844
+
12845
+ enum WalletRankingAttribute {
12846
+ firstTransactionAt
12847
+ lastTransactionAt
12848
+ volumeUsd1d
12849
+ volumeUsdAll1d
12850
+ realizedProfitUsd1d
12851
+ averageProfitUsdPerTrade1d
12852
+ averageSwapAmountUsd1d
12853
+ realizedProfitPercentage1d
12854
+ swaps1d
12855
+ swapsAll1d
12856
+ uniqueTokens1d
12857
+ winRate1d
12858
+ volumeUsd1w
12859
+ volumeUsdAll1w
12860
+ realizedProfitUsd1w
12861
+ averageProfitUsdPerTrade1w
12862
+ averageSwapAmountUsd1w
12863
+ realizedProfitPercentage1w
12864
+ swaps1w
12865
+ swapsAll1w
12866
+ uniqueTokens1w
12867
+ winRate1w
12868
+ volumeUsd30d
12869
+ volumeUsdAll30d
12870
+ realizedProfitUsd30d
12871
+ averageProfitUsdPerTrade30d
12872
+ averageSwapAmountUsd30d
12873
+ realizedProfitPercentage30d
12874
+ swaps30d
12875
+ swapsAll30d
12876
+ uniqueTokens30d
12877
+ winRate30d
12878
+ volumeUsd1y
12879
+ volumeUsdAll1y
12880
+ realizedProfitUsd1y
12881
+ averageProfitUsdPerTrade1y
12882
+ averageSwapAmountUsd1y
12883
+ realizedProfitPercentage1y
12884
+ swaps1y
12885
+ swapsAll1y
12886
+ uniqueTokens1y
12887
+ winRate1y
12888
+ nativeTokenBalance
12889
+ scammerScore
12890
+ botScore
12891
+ }
12892
+
12893
+ """The period the wallet stats are for."""
12894
+ enum WalletStatsDuration {
12895
+ year1
12896
+ day30
12897
+ week1
12898
+ day1
12899
+ }
12900
+
12901
+ input WalletTokenFilterRange {
12902
+ """The minimum value (inclusive)"""
12903
+ min: String
12904
+
12905
+ """The maximum value (inclusive)"""
12906
+ max: String
12907
+ }
12908
+
12909
+ input WalletTokenFilters {
12910
+ """Filter by last transaction timestamp"""
12911
+ lastTransactionAt: WalletTokenFilterRange
12912
+
12913
+ """Filter by first transaction timestamp"""
12914
+ firstTransactionAt: WalletTokenFilterRange
12915
+
12916
+ """Filter by token amount bought in the past day"""
12917
+ tokenAmountBought1d: WalletTokenFilterRange
12918
+
12919
+ """Filter by token amount sold in the past day"""
12920
+ tokenAmountSold1d: WalletTokenFilterRange
12921
+
12922
+ """Filter by amount bought in USD in the past day"""
12923
+ amountBoughtUsd1d: WalletTokenFilterRange
12924
+
12925
+ """Filter by amount sold in USD in the past day"""
12926
+ amountSoldUsd1d: WalletTokenFilterRange
12927
+
12928
+ """Filter by realized profit in USD in the past day"""
12929
+ realizedProfitUsd1d: WalletTokenFilterRange
12930
+
12931
+ """Filter by realized profit percentage in the past day"""
12932
+ realizedProfitPercentage1d: WalletTokenFilterRange
12933
+
12934
+ """Filter by number of buys in the past day"""
12935
+ buys1d: WalletTokenFilterRange
12936
+
12937
+ """Filter by number of sells in the past day"""
12938
+ sells1d: WalletTokenFilterRange
12939
+
12940
+ """Filter by token amount bought in the past week"""
12941
+ tokenAmountBought1w: WalletTokenFilterRange
12942
+
12943
+ """Filter by token amount sold in the past week"""
12944
+ tokenAmountSold1w: WalletTokenFilterRange
12945
+
12946
+ """Filter by amount bought in USD in the past week"""
12947
+ amountBoughtUsd1w: WalletTokenFilterRange
12948
+
12949
+ """Filter by amount sold in USD in the past week"""
12950
+ amountSoldUsd1w: WalletTokenFilterRange
12951
+
12952
+ """Filter by realized profit in USD in the past week"""
12953
+ realizedProfitUsd1w: WalletTokenFilterRange
12954
+
12955
+ """Filter by realized profit percentage in the past week"""
12956
+ realizedProfitPercentage1w: WalletTokenFilterRange
12957
+
12958
+ """Filter by number of buys in the past week"""
12959
+ buys1w: WalletTokenFilterRange
12960
+
12961
+ """Filter by number of sells in the past week"""
12962
+ sells1w: WalletTokenFilterRange
12963
+
12964
+ """Filter by token amount bought in the past 30 days"""
12965
+ tokenAmountBought30d: WalletTokenFilterRange
12966
+
12967
+ """Filter by token amount sold in the past 30 days"""
12968
+ tokenAmountSold30d: WalletTokenFilterRange
12969
+
12970
+ """Filter by amount bought in USD in the past 30 days"""
12971
+ amountBoughtUsd30d: WalletTokenFilterRange
12972
+
12973
+ """Filter by amount sold in USD in the past 30 days"""
12974
+ amountSoldUsd30d: WalletTokenFilterRange
12975
+
12976
+ """Filter by realized profit in USD in the past 30 days"""
12977
+ realizedProfitUsd30d: WalletTokenFilterRange
12978
+
12979
+ """Filter by realized profit percentage in the past 30 days"""
12980
+ realizedProfitPercentage30d: WalletTokenFilterRange
12981
+
12982
+ """Filter by number of buys in the past 30 days"""
12983
+ buys30d: WalletTokenFilterRange
12984
+
12985
+ """Filter by number of sells in the past 30 days"""
12986
+ sells30d: WalletTokenFilterRange
12987
+
12988
+ """Filter by token amount bought in the past year"""
12989
+ tokenAmountBought1y: WalletTokenFilterRange
12990
+
12991
+ """Filter by token amount sold in the past year"""
12992
+ tokenAmountSold1y: WalletTokenFilterRange
12993
+
12994
+ """Filter by amount bought in USD in the past year"""
12995
+ amountBoughtUsd1y: WalletTokenFilterRange
12996
+
12997
+ """Filter by amount sold in USD in the past year"""
12998
+ amountSoldUsd1y: WalletTokenFilterRange
12999
+
13000
+ """Filter by realized profit in USD in the past year"""
13001
+ realizedProfitUsd1y: WalletTokenFilterRange
13002
+
13003
+ """Filter by realized profit percentage in the past year"""
13004
+ realizedProfitPercentage1y: WalletTokenFilterRange
13005
+
13006
+ """Filter by number of buys in the past year"""
13007
+ buys1y: WalletTokenFilterRange
13008
+
13009
+ """Filter by number of sells in the past year"""
13010
+ sells1y: WalletTokenFilterRange
13011
+
13012
+ """Filter by token balance"""
13013
+ tokenBalance: WalletTokenFilterRange
13014
+
13015
+ """Filter by purchased token balance"""
13016
+ purchasedTokenBalance: WalletTokenFilterRange
13017
+
13018
+ """Filter by token acquisition cost in USD"""
13019
+ tokenAcquisitionCostUsd: WalletTokenFilterRange
13020
+
13021
+ """Filter by scammer score"""
13022
+ scammerScore: WalletTokenFilterRange
13023
+
13024
+ """Filter by bot score"""
13025
+ botScore: WalletTokenFilterRange
13026
+ }
13027
+
13028
+ input WalletTokenFiltersV2 {
13029
+ """Filter by last transaction timestamp"""
13030
+ lastTransactionAt: NumberFilter
13031
+
13032
+ """Filter by first transaction timestamp"""
13033
+ firstTransactionAt: NumberFilter
13034
+
13035
+ """Filter by token amount bought in the past day"""
13036
+ tokenAmountBought1d: NumberFilter
13037
+
13038
+ """Filter by token amount sold in the past day"""
13039
+ tokenAmountSold1d: NumberFilter
13040
+
13041
+ """Filter by amount bought in USD in the past day"""
13042
+ amountBoughtUsd1d: NumberFilter
13043
+
13044
+ """Filter by amount sold in USD in the past day"""
13045
+ amountSoldUsd1d: NumberFilter
13046
+
13047
+ """Filter by realized profit in USD in the past day"""
13048
+ realizedProfitUsd1d: NumberFilter
13049
+
13050
+ """Filter by realized profit percentage in the past day"""
13051
+ realizedProfitPercentage1d: NumberFilter
13052
+
13053
+ """Filter by number of buys in the past day"""
13054
+ buys1d: NumberFilter
13055
+
13056
+ """Filter by number of sells in the past day"""
13057
+ sells1d: NumberFilter
13058
+
13059
+ """Filter by token amount bought in the past week"""
13060
+ tokenAmountBought1w: NumberFilter
13061
+
13062
+ """Filter by token amount sold in the past week"""
13063
+ tokenAmountSold1w: NumberFilter
13064
+
13065
+ """Filter by amount bought in USD in the past week"""
13066
+ amountBoughtUsd1w: NumberFilter
13067
+
13068
+ """Filter by amount sold in USD in the past week"""
13069
+ amountSoldUsd1w: NumberFilter
13070
+
13071
+ """Filter by realized profit in USD in the past week"""
13072
+ realizedProfitUsd1w: NumberFilter
13073
+
13074
+ """Filter by realized profit percentage in the past week"""
13075
+ realizedProfitPercentage1w: NumberFilter
13076
+
13077
+ """Filter by number of buys in the past week"""
13078
+ buys1w: NumberFilter
13079
+
13080
+ """Filter by number of sells in the past week"""
13081
+ sells1w: NumberFilter
13082
+
13083
+ """Filter by token amount bought in the past 30 days"""
13084
+ tokenAmountBought30d: NumberFilter
13085
+
13086
+ """Filter by token amount sold in the past 30 days"""
13087
+ tokenAmountSold30d: NumberFilter
13088
+
13089
+ """Filter by amount bought in USD in the past 30 days"""
13090
+ amountBoughtUsd30d: NumberFilter
13091
+
13092
+ """Filter by amount sold in USD in the past 30 days"""
13093
+ amountSoldUsd30d: NumberFilter
13094
+
13095
+ """Filter by realized profit in USD in the past 30 days"""
13096
+ realizedProfitUsd30d: NumberFilter
13097
+
13098
+ """Filter by realized profit percentage in the past 30 days"""
13099
+ realizedProfitPercentage30d: NumberFilter
13100
+
13101
+ """Filter by number of buys in the past 30 days"""
13102
+ buys30d: NumberFilter
13103
+
13104
+ """Filter by number of sells in the past 30 days"""
13105
+ sells30d: NumberFilter
13106
+
13107
+ """Filter by token amount bought in the past year"""
13108
+ tokenAmountBought1y: NumberFilter
13109
+
13110
+ """Filter by token amount sold in the past year"""
13111
+ tokenAmountSold1y: NumberFilter
13112
+
13113
+ """Filter by amount bought in USD in the past year"""
13114
+ amountBoughtUsd1y: NumberFilter
13115
+
13116
+ """Filter by amount sold in USD in the past year"""
13117
+ amountSoldUsd1y: NumberFilter
13118
+
13119
+ """Filter by realized profit in USD in the past year"""
13120
+ realizedProfitUsd1y: NumberFilter
13121
+
13122
+ """Filter by realized profit percentage in the past year"""
13123
+ realizedProfitPercentage1y: NumberFilter
13124
+
13125
+ """Filter by number of buys in the past year"""
13126
+ buys1y: NumberFilter
13127
+
13128
+ """Filter by number of sells in the past year"""
13129
+ sells1y: NumberFilter
13130
+
13131
+ """Filter by token balance"""
13132
+ tokenBalance: NumberFilter
13133
+
13134
+ """Filter by purchased token balance"""
13135
+ purchasedTokenBalance: NumberFilter
13136
+
13137
+ """Filter by token acquisition cost in USD"""
13138
+ tokenAcquisitionCostUsd: NumberFilter
13139
+
13140
+ """Filter by scammer score"""
13141
+ scammerScore: NumberFilter
13142
+
13143
+ """Filter by bot score"""
13144
+ botScore: NumberFilter
13145
+ }
13146
+
13147
+ input WalletTokenRanking {
13148
+ """The attribute to rank wallets by"""
13149
+ attribute: WalletTokenRankingAttribute!
13150
+
13151
+ """The direction to apply to the ranking attribute"""
13152
+ direction: RankingDirection!
13153
+ }
13154
+
13155
+ enum WalletTokenRankingAttribute {
13156
+ """The first transaction timestamp"""
13157
+ firstTransactionAt
13158
+
13159
+ """The last transaction timestamp"""
13160
+ lastTransactionAt
13161
+
13162
+ """Token amount bought in the past day"""
13163
+ tokenAmountBought1d
13164
+
13165
+ """Token amount sold in the past day"""
13166
+ tokenAmountSold1d
13167
+
13168
+ """Amount bought in USD in the past day"""
13169
+ amountBoughtUsd1d
13170
+
13171
+ """Amount sold in USD in the past day"""
13172
+ amountSoldUsd1d
13173
+
13174
+ """Realized profit in USD in the past day"""
13175
+ realizedProfitUsd1d
13176
+
13177
+ """Realized profit percentage in the past day"""
13178
+ realizedProfitPercentage1d
13179
+
13180
+ """Number of buys in the past day"""
13181
+ buys1d
13182
+
13183
+ """Number of sells in the past day"""
13184
+ sells1d
13185
+
13186
+ """Token amount bought in the past week"""
13187
+ tokenAmountBought1w
13188
+
13189
+ """Token amount sold in the past week"""
13190
+ tokenAmountSold1w
13191
+
13192
+ """Amount bought in USD in the past week"""
13193
+ amountBoughtUsd1w
13194
+
13195
+ """Amount sold in USD in the past week"""
13196
+ amountSoldUsd1w
13197
+
13198
+ """Realized profit in USD in the past week"""
13199
+ realizedProfitUsd1w
13200
+
13201
+ """Realized profit percentage in the past week"""
13202
+ realizedProfitPercentage1w
13203
+
13204
+ """Number of buys in the past week"""
13205
+ buys1w
13206
+
13207
+ """Number of sells in the past week"""
13208
+ sells1w
13209
+
13210
+ """Token amount bought in the past 30 days"""
13211
+ tokenAmountBought30d
13212
+
13213
+ """Token amount sold in the past 30 days"""
13214
+ tokenAmountSold30d
13215
+
13216
+ """Amount bought in USD in the past 30 days"""
13217
+ amountBoughtUsd30d
13218
+
13219
+ """Amount sold in USD in the past 30 days"""
13220
+ amountSoldUsd30d
13221
+
13222
+ """Realized profit in USD in the past 30 days"""
13223
+ realizedProfitUsd30d
13224
+
13225
+ """Realized profit percentage in the past 30 days"""
13226
+ realizedProfitPercentage30d
13227
+
13228
+ """Number of buys in the past 30 days"""
13229
+ buys30d
13230
+
13231
+ """Number of sells in the past 30 days"""
13232
+ sells30d
13233
+
13234
+ """Token amount bought in the past year"""
13235
+ tokenAmountBought1y
13236
+
13237
+ """Token amount sold in the past year"""
13238
+ tokenAmountSold1y
13239
+
13240
+ """Amount bought in USD in the past year"""
13241
+ amountBoughtUsd1y
13242
+
13243
+ """Amount sold in USD in the past year"""
13244
+ amountSoldUsd1y
13245
+
13246
+ """Realized profit in USD in the past year"""
13247
+ realizedProfitUsd1y
13248
+
13249
+ """Realized profit percentage in the past year"""
13250
+ realizedProfitPercentage1y
13251
+
13252
+ """Number of buys in the past year"""
13253
+ buys1y
13254
+
13255
+ """Number of sells in the past year"""
13256
+ sells1y
13257
+
13258
+ """Token balance"""
13259
+ tokenBalance
13260
+
13261
+ """Purchased token balance"""
13262
+ purchasedTokenBalance
13263
+
13264
+ """Token acquisition cost in USD"""
13265
+ tokenAcquisitionCostUsd
13266
+
13267
+ """The scammer score for the wallet."""
13268
+ scammerScore
13269
+
13270
+ """The bot score for the wallet."""
13271
+ botScore
13272
+ }
13273
+
11727
13274
  """Metadata for a washtrade label."""
11728
13275
  type WashtradeLabelForEvent {
11729
13276
  """The label type, 'washtrade'"""
@@ -11848,6 +13395,35 @@ type WindowedDetailedCurrencyPairStats {
11848
13395
  liquidity: DetailedPairStatsStringMetrics
11849
13396
  }
11850
13397
 
13398
+ """The currency stats for a wallet over a time window."""
13399
+ type WindowedDetailedCurrencyWalletStats {
13400
+ """The volume in USD"""
13401
+ volumeUsd: String!
13402
+
13403
+ """
13404
+ The volume in USD including tokens sold for which we do not have a price
13405
+ """
13406
+ volumeUsdAll: String!
13407
+
13408
+ """The cost of tokens held in the wallet"""
13409
+ heldTokenAcquisitionCostUsd: String!
13410
+
13411
+ """The cost of tokens sold during the period"""
13412
+ soldTokenAcquisitionCostUsd: String!
13413
+
13414
+ """The realized profit in USD"""
13415
+ realizedProfitUsd: String!
13416
+
13417
+ """The average profit in USD per trade"""
13418
+ averageProfitUsdPerTrade: String!
13419
+
13420
+ """The average swap amount in USD"""
13421
+ averageSwapAmountUsd: String!
13422
+
13423
+ """The realized profit percentage"""
13424
+ realizedProfitPercentage: Float!
13425
+ }
13426
+
11851
13427
  """
11852
13428
  Price stats for an NFT collection over a time frame. Either in USD or the network's base token.
11853
13429
  """
@@ -11945,6 +13521,21 @@ type WindowedDetailedNonCurrencyPairStats {
11945
13521
  sellers: DetailedPairStatsNumberMetrics
11946
13522
  }
11947
13523
 
13524
+ """The non-currency stats for a wallet over a time window."""
13525
+ type WindowedDetailedNonCurrencyWalletStats {
13526
+ """The number of swaps"""
13527
+ swaps: Int!
13528
+
13529
+ """The number of unique tokens"""
13530
+ uniqueTokens: Int!
13531
+
13532
+ """The number of wins"""
13533
+ wins: Int!
13534
+
13535
+ """The number of losses"""
13536
+ losses: Int!
13537
+ }
13538
+
11948
13539
  """Detailed pair stats over a time frame."""
11949
13540
  type WindowedDetailedPairStats {
11950
13541
  """The duration used to request detailed pair stats."""
@@ -12010,4 +13601,28 @@ type WindowedDetailedStats {
12010
13601
 
12011
13602
  """The sell volume over the window."""
12012
13603
  sellVolume: DetailedStatsStringMetrics
13604
+ }
13605
+
13606
+ """The stats for a wallet over a time window."""
13607
+ type WindowedWalletStats {
13608
+ """The wallet address"""
13609
+ walletAddress: String!
13610
+
13611
+ """The network ID"""
13612
+ networkId: Int
13613
+
13614
+ """The start timestamp"""
13615
+ start: Int!
13616
+
13617
+ """The end timestamp"""
13618
+ end: Int!
13619
+
13620
+ """The last transaction timestamp"""
13621
+ lastTransactionAt: Int!
13622
+
13623
+ """The stats related to currency"""
13624
+ statsUsd: WindowedDetailedCurrencyWalletStats!
13625
+
13626
+ """The stats related to non-currency"""
13627
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats!
12013
13628
  }