@codex-data/sdk 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/resources/graphql.d.ts +1336 -16
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +224 -1
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/scripts/generateGraphql.js +3 -4
  6. package/dist/scripts/generateGraphql.js.map +1 -1
  7. package/dist/sdk/Mutation.d.ts +1 -1
  8. package/dist/sdk/Mutation.d.ts.map +1 -1
  9. package/dist/sdk/Mutation.js +1 -1
  10. package/dist/sdk/Mutation.js.map +1 -1
  11. package/dist/sdk/Query.d.ts +54 -50
  12. package/dist/sdk/Query.d.ts.map +1 -1
  13. package/dist/sdk/Query.js +53 -49
  14. package/dist/sdk/Query.js.map +1 -1
  15. package/dist/sdk/Subscribe.d.ts +18 -17
  16. package/dist/sdk/Subscribe.d.ts.map +1 -1
  17. package/dist/sdk/Subscribe.js +170 -76
  18. package/dist/sdk/Subscribe.js.map +1 -1
  19. package/dist/sdk/generated/gql.d.ts +69 -34
  20. package/dist/sdk/generated/gql.d.ts.map +1 -1
  21. package/dist/sdk/generated/gql.js +22 -17
  22. package/dist/sdk/generated/gql.js.map +1 -1
  23. package/dist/sdk/generated/graphql.d.ts +2002 -17
  24. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  25. package/dist/sdk/generated/graphql.js +248 -20
  26. package/dist/sdk/generated/graphql.js.map +1 -1
  27. package/dist/sdk/index.d.ts +11 -3
  28. package/dist/sdk/index.d.ts.map +1 -1
  29. package/dist/sdk/index.js +33 -19
  30. package/dist/sdk/index.js.map +1 -1
  31. package/dist/sdk/index.test.js +2 -2
  32. package/dist/sdk/index.test.js.map +1 -1
  33. package/package.json +1 -2
  34. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  35. package/src/resources/generated_queries/FilterPairs.graphql +20 -0
  36. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  37. package/src/resources/generated_queries/FilterTokens.graphql +21 -0
  38. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  39. package/src/resources/generated_queries/GetBars.graphql +4 -1
  40. package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
  41. package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
  42. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
  43. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  44. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  45. package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
  46. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
  47. package/src/resources/generated_queries/PairMetadata.graphql +4 -0
  48. package/src/resources/generated_queries/Token.graphql +2 -0
  49. package/src/resources/generated_queries/Tokens.graphql +2 -0
  50. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  51. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +1 -0
  52. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +2 -0
  53. package/{dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql → src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql} +4 -2
  54. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
  55. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  56. package/src/resources/graphql.schema.json +16044 -7731
  57. package/src/resources/graphql.ts +1378 -16
  58. package/src/resources/schema.graphql +1882 -25
  59. package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
  60. package/src/scripts/generateGraphql.ts +2 -4
  61. package/src/sdk/Mutation.ts +2 -2
  62. package/src/sdk/Query.ts +120 -104
  63. package/src/sdk/Subscribe.ts +217 -115
  64. package/src/sdk/generated/gql.ts +59 -34
  65. package/src/sdk/generated/graphql.ts +1450 -50
  66. package/src/sdk/index.test.ts +3 -3
  67. package/src/sdk/index.ts +69 -18
  68. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  69. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  70. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  71. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  72. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  73. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  74. package/dist/resources/generated_queries/Balances.graphql +0 -15
  75. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  76. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  77. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  78. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  79. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  80. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  81. package/dist/resources/generated_queries/FilterPairs.graphql +0 -399
  82. package/dist/resources/generated_queries/FilterTokens.graphql +0 -336
  83. package/dist/resources/generated_queries/GetBars.graphql +0 -209
  84. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -133
  85. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  86. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -966
  87. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -950
  88. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  89. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  90. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  91. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  92. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  93. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  94. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  95. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  96. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  97. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  98. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  99. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  100. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  101. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  102. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  103. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  104. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  105. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  106. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  107. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  108. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  109. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  110. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -100
  111. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -100
  112. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  113. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  114. package/dist/resources/generated_queries/Holders.graphql +0 -18
  115. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  116. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  117. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -169
  118. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -338
  119. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  120. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  121. package/dist/resources/generated_queries/PairMetadata.graphql +0 -225
  122. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  123. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  124. package/dist/resources/generated_queries/Token.graphql +0 -76
  125. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  126. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  127. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  128. package/dist/resources/generated_queries/Tokens.graphql +0 -76
  129. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  130. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  131. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  132. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  133. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  134. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  135. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  136. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -103
  137. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  138. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  139. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  140. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  141. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  142. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  143. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -225
  144. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  145. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  146. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  147. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  148. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -90
  149. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  150. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  151. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  152. package/dist/resources/graphql.schema.json +0 -55231
  153. package/dist/resources/graphql.ts +0 -8865
  154. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  155. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  156. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  157. package/dist/resources/schema.graphql +0 -11771
  158. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
@@ -187,25 +187,37 @@ type Balance {
187
187
  }
188
188
 
189
189
  input BalancesInput {
190
- """The ID of the wallet (`walletAddress:networkId`)."""
191
- walletId: String
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
193
+ """The network IDs to filter by."""
194
+ networks: [Int!]
198
195
 
199
- """Optional token specifically request the balance for"""
200
- filterToken: String
196
+ """
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.
198
+ """
199
+ tokens: [String!]
201
200
 
202
201
  """
203
- 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`.
204
203
  """
205
204
  includeNative: Boolean
206
205
 
207
- """The maximum number of holdings to return."""
206
+ """
207
+ The maximum number of holdings to return. Does not apply when using `tokens`.
208
+ """
208
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")
209
221
  }
210
222
 
211
223
  type BalancesResponse {
@@ -231,7 +243,7 @@ type BarsResponse {
231
243
  c: [Float]!
232
244
 
233
245
  """The volume."""
234
- v: [Int]!
246
+ v: [Int]! @deprecated(reason: "Use volume field instead")
235
247
 
236
248
  """The timestamp for the bar."""
237
249
  t: [Int!]!
@@ -1083,6 +1095,57 @@ enum DetailedStatsWindowSize {
1083
1095
  min5
1084
1096
  }
1085
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
+
1086
1149
  """Metadata for a contract."""
1087
1150
  union EnhancedContract = EnhancedToken | EnhancedNftContract
1088
1151
 
@@ -1305,6 +1368,9 @@ type Event {
1305
1368
 
1306
1369
  """Labels attributed to the event."""
1307
1370
  labels: LabelsForEvent
1371
+
1372
+ """The age of the wallet in seconds."""
1373
+ walletAge: Int
1308
1374
  }
1309
1375
 
1310
1376
  """Response returned by `getTokenEvents`."""
@@ -1677,6 +1743,97 @@ type FilterExchange {
1677
1743
  tradeUrl: String
1678
1744
  }
1679
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
+
1680
1837
  """Metadata for a front-run label."""
1681
1838
  type FrontRunLabelData {
1682
1839
  """The index of the front-run label. Can be 0 or 1."""
@@ -1748,8 +1905,8 @@ input GetGasEstimateInput {
1748
1905
  inputTokenAmount: String!
1749
1906
  networkId: Int!
1750
1907
  outputTokenAddress: String!
1751
- poolAddress: String
1752
- exchangeAddress: String
1908
+ poolAddress: String!
1909
+ exchangeAddress: String!
1753
1910
  userId: Int
1754
1911
  walletId: Int
1755
1912
  customGas: String
@@ -1853,8 +2010,8 @@ input GetQuoteInput {
1853
2010
  inputTokenAmount: String!
1854
2011
  networkId: Int!
1855
2012
  outputTokenAddress: String!
1856
- poolAddress: String
1857
- exchangeAddress: String
2013
+ poolAddress: String!
2014
+ exchangeAddress: String!
1858
2015
  userId: Int
1859
2016
  customGas: String
1860
2017
  slippage: Float
@@ -2256,6 +2413,12 @@ type LatestTokenSimResults {
2256
2413
  }
2257
2414
 
2258
2415
  type LaunchpadData {
2416
+ """The name of the launchpad."""
2417
+ name: String @deprecated(reason: "Use launchpadName instead")
2418
+
2419
+ """The name of the launchpad."""
2420
+ launchpadName: String
2421
+
2259
2422
  """The percentage of the pool that was sold to the public."""
2260
2423
  graduationPercent: Float
2261
2424
 
@@ -2282,6 +2445,9 @@ type LaunchpadData {
2282
2445
 
2283
2446
  """The pool address after the launchpad was migrated."""
2284
2447
  migratedPoolAddress: String
2448
+
2449
+ """The launchpad protocol"""
2450
+ launchpadProtocol: String
2285
2451
  }
2286
2452
 
2287
2453
  """Response returned by `onLaunchpadTokenEvent`."""
@@ -2327,9 +2493,19 @@ type LaunchpadTokenEventOutput {
2327
2493
  The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events.
2328
2494
  """
2329
2495
  enum LaunchpadTokenEventType {
2330
- Updated
2496
+ """The token has been discovered"""
2497
+ Deployed
2498
+
2499
+ """The token has been created with metadata"""
2331
2500
  Created
2501
+
2502
+ """The token's statistics have been updated"""
2503
+ Updated
2504
+
2505
+ """The token has been completed"""
2332
2506
  Completed
2507
+
2508
+ """The token has been migrated"""
2333
2509
  Migrated
2334
2510
  }
2335
2511
 
@@ -2337,6 +2513,11 @@ enum LaunchpadTokenEventType {
2337
2513
  enum LaunchpadTokenProtocol {
2338
2514
  Pump
2339
2515
  FourMeme
2516
+ RaydiumLaunchpad
2517
+ BoopFun
2518
+ Vertigo
2519
+ Rainbow
2520
+ EgoTech
2340
2521
  }
2341
2522
 
2342
2523
  scalar link__Import
@@ -2627,6 +2808,193 @@ type Network {
2627
2808
  networkShortName: String
2628
2809
  }
2629
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
+
2630
2998
  """Event data for creating a new NFT pool."""
2631
2999
  type NewPoolEventData {
2632
3000
  """The type of NFT pool event, `NEW_POOL`."""
@@ -6205,10 +6573,14 @@ input OnLaunchpadTokenEventInput {
6205
6573
  """The type of event."""
6206
6574
  eventType: LaunchpadTokenEventType
6207
6575
 
6208
- """The contract address of the token."""
6576
+ """
6577
+ The contract address of the token. Required when `networkId` is provided.
6578
+ """
6209
6579
  address: String
6210
6580
 
6211
- """The network ID that the token is deployed on."""
6581
+ """
6582
+ The network ID that the token is deployed on. Required when `address` is provided.
6583
+ """
6212
6584
  networkId: Int
6213
6585
  }
6214
6586
 
@@ -6373,7 +6745,7 @@ input PairChartSettings {
6373
6745
  quoteToken: QuoteToken
6374
6746
 
6375
6747
  """
6376
- 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`.
6377
6749
  """
6378
6750
  resolution: String
6379
6751
 
@@ -6578,6 +6950,48 @@ type PairFilterResult {
6578
6950
 
6579
6951
  """The trade volume in USD in the past 24 hours."""
6580
6952
  volumeUSD24: String
6953
+
6954
+ """The buy volume in USD in the past hour."""
6955
+ buyVolumeUSD1: String
6956
+
6957
+ """The buy volume in USD in the past 12 hours."""
6958
+ buyVolumeUSD12: String
6959
+
6960
+ """The buy volume in USD in the past 24 hours."""
6961
+ buyVolumeUSD24: String
6962
+
6963
+ """The buy volume in USD in the past 4 hours."""
6964
+ buyVolumeUSD4: String
6965
+
6966
+ """The sell volume in USD in the past hour."""
6967
+ sellVolumeUSD1: String
6968
+
6969
+ """The sell volume in USD in the past 12 hours."""
6970
+ sellVolumeUSD12: String
6971
+
6972
+ """The sell volume in USD in the past 24 hours."""
6973
+ sellVolumeUSD24: String
6974
+
6975
+ """The sell volume in USD in the past 4 hours."""
6976
+ sellVolumeUSD4: String
6977
+
6978
+ """The average age of the wallets that traded in the last 24h"""
6979
+ walletAgeAvg: String
6980
+
6981
+ """
6982
+ The standard deviation of age of the wallets that traded in the last 24h
6983
+ """
6984
+ walletAgeStd: String
6985
+
6986
+ """
6987
+ The percentage of wallets that are less than 1d old that have traded in the last 24h
6988
+ """
6989
+ swapPct1dOldWallet: String
6990
+
6991
+ """
6992
+ The percentage of wallets that are less than 7d old that have traded in the last 24h
6993
+ """
6994
+ swapPct7dOldWallet: String
6581
6995
  }
6582
6996
 
6583
6997
  """Input type of `PairFilters`."""
@@ -6738,6 +7152,30 @@ input PairFilters {
6738
7152
  """The trade volume in USD in the past 4 hours."""
6739
7153
  volumeUSD4: NumberFilter
6740
7154
 
7155
+ """The buy volume in USD in the past hour."""
7156
+ buyVolumeUSD1: NumberFilter
7157
+
7158
+ """The buy volume in USD in the past 12 hours."""
7159
+ buyVolumeUSD12: NumberFilter
7160
+
7161
+ """The buy volume in USD in the past 24 hours."""
7162
+ buyVolumeUSD24: NumberFilter
7163
+
7164
+ """The buy volume in USD in the past 4 hours."""
7165
+ buyVolumeUSD4: NumberFilter
7166
+
7167
+ """The sell volume in USD in the past hour."""
7168
+ sellVolumeUSD1: NumberFilter
7169
+
7170
+ """The sell volume in USD in the past 12 hours."""
7171
+ sellVolumeUSD12: NumberFilter
7172
+
7173
+ """The sell volume in USD in the past 24 hours."""
7174
+ sellVolumeUSD24: NumberFilter
7175
+
7176
+ """The sell volume in USD in the past 4 hours."""
7177
+ sellVolumeUSD4: NumberFilter
7178
+
6741
7179
  """Filter potential Scams"""
6742
7180
  potentialScam: Boolean
6743
7181
 
@@ -6748,6 +7186,24 @@ input PairFilters {
6748
7186
  Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both.
6749
7187
  """
6750
7188
  isTestnet: Boolean
7189
+
7190
+ """The average age of the wallets that traded in the last 24h"""
7191
+ walletAgeAvg: NumberFilter
7192
+
7193
+ """
7194
+ The standard deviation of age of the wallets that traded in the last 24h
7195
+ """
7196
+ walletAgeStd: NumberFilter
7197
+
7198
+ """
7199
+ The percentage of wallets that are less than 1d old that have traded in the last 24h
7200
+ """
7201
+ swapPct1dOldWallet: NumberFilter
7202
+
7203
+ """
7204
+ The percentage of wallets that are less than 7d old that have traded in the last 24h
7205
+ """
7206
+ swapPct7dOldWallet: NumberFilter
6751
7207
  }
6752
7208
 
6753
7209
  type PairMetadata {
@@ -6959,6 +7415,18 @@ enum PairRankingAttribute {
6959
7415
  volumeUSD4
6960
7416
  volumeUSD12
6961
7417
  volumeUSD24
7418
+ buyVolumeUSD1
7419
+ buyVolumeUSD4
7420
+ buyVolumeUSD12
7421
+ buyVolumeUSD24
7422
+ sellVolumeUSD1
7423
+ sellVolumeUSD4
7424
+ sellVolumeUSD12
7425
+ sellVolumeUSD24
7426
+ walletAgeAvg
7427
+ walletAgeStd
7428
+ swapPct1dOldWallet
7429
+ swapPct7dOldWallet
6962
7430
  }
6963
7431
 
6964
7432
  """Response returned by `filterNftParallelAssets`."""
@@ -8584,7 +9052,7 @@ type Query {
8584
9052
  """
8585
9053
  tokens: [String]
8586
9054
 
8587
- """A list of token IDs to exclude from results (`address:networkId`)"""
9055
+ """A list of token IDs (`address:networkId`) to exclude from results"""
8588
9056
  excludeTokens: [String]
8589
9057
 
8590
9058
  """A list of ranking attributes to apply."""
@@ -8806,7 +9274,7 @@ type Query {
8806
9274
  to: Int!
8807
9275
 
8808
9276
  """
8809
- 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`.
8810
9278
  """
8811
9279
  resolution: String!
8812
9280
 
@@ -9036,6 +9504,25 @@ type Query {
9036
9504
  """Returns a list of top traders for a given token."""
9037
9505
  tokenTopTraders(input: TokenTopTradersInput!): TokenTopTradersConnection!
9038
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
+
9039
9526
  """Returns community gathered notes."""
9040
9527
  getCommunityNotes(input: CommunityNotesInput): CommunityNotesResponse!
9041
9528
  }
@@ -9078,6 +9565,12 @@ enum QuoteType {
9078
9565
  OUTPUT
9079
9566
  }
9080
9567
 
9568
+ """The range of time for a chart."""
9569
+ input RangeInput {
9570
+ start: Int!
9571
+ end: Int!
9572
+ }
9573
+
9081
9574
  """The order of ranking."""
9082
9575
  enum RankingDirection {
9083
9576
  ASC
@@ -9884,6 +10377,7 @@ type Subscription {
9884
10377
  """The network ID the token is deployed on."""
9885
10378
  networkId: Int
9886
10379
  ): AddTokenLifecycleEventsOutput!
10380
+ onLaunchpadTokenEventBatch: [LaunchpadTokenEventOutput!]!
9887
10381
  onLaunchpadTokenEvent(input: OnLaunchpadTokenEventInput): LaunchpadTokenEventOutput!
9888
10382
  }
9889
10383
 
@@ -10341,11 +10835,12 @@ type TokenFilterResult {
10341
10835
  """The lowest price in USD in the past 4 hours."""
10342
10836
  low4: String
10343
10837
 
10344
- """
10345
- The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.
10346
- """
10838
+ """The fully diluted market cap."""
10347
10839
  marketCap: String
10348
10840
 
10841
+ """The circulating market cap."""
10842
+ circulatingMarketCap: String
10843
+
10349
10844
  """Metadata for the token's top pair."""
10350
10845
  pair: Pair
10351
10846
 
@@ -10445,11 +10940,59 @@ type TokenFilterResult {
10445
10940
  """The trade volume in USD in the past 4 hours."""
10446
10941
  volume4: String
10447
10942
 
10943
+ """The buy volume in USD in the past hour."""
10944
+ buyVolume1: String
10945
+
10946
+ """The buy volume in USD in the past 12 hours."""
10947
+ buyVolume12: String
10948
+
10949
+ """The buy volume in USD in the past 24 hours."""
10950
+ buyVolume24: String
10951
+
10952
+ """The buy volume in USD in the past 4 hours."""
10953
+ buyVolume4: String
10954
+
10955
+ """The buy volume in USD in the past 5 minutes."""
10956
+ buyVolume5m: String
10957
+
10958
+ """The sell volume in USD in the past hour."""
10959
+ sellVolume1: String
10960
+
10961
+ """The sell volume in USD in the past 12 hours."""
10962
+ sellVolume12: String
10963
+
10964
+ """The sell volume in USD in the past 24 hours."""
10965
+ sellVolume24: String
10966
+
10967
+ """The sell volume in USD in the past 4 hours."""
10968
+ sellVolume4: String
10969
+
10970
+ """The sell volume in USD in the past 5 minutes."""
10971
+ sellVolume5m: String
10972
+
10448
10973
  """Whether the token has been flagged as a scam."""
10449
10974
  isScam: Boolean
10450
10975
 
10451
10976
  """The number of different wallets holding the token."""
10452
10977
  holders: Int
10978
+
10979
+ """The average age of the wallets that traded in the last 24h"""
10980
+ walletAgeAvg: String
10981
+
10982
+ """
10983
+ The standard deviation of age of the wallets that traded in the last 24h
10984
+ """
10985
+ walletAgeStd: String
10986
+
10987
+ """
10988
+ The percentage of wallets that are less than 1d old that have traded in the last 24h
10989
+ """
10990
+ swapPct1dOldWallet: String
10991
+
10992
+ """
10993
+ The percentage of wallets that are less than 7d old that have traded in the last 24h
10994
+ """
10995
+ swapPct7dOldWallet: String
10453
10996
  }
10454
10997
 
10455
10998
  """Input type of `TokenFilters`."""
@@ -10551,6 +11094,9 @@ input TokenFilters {
10551
11094
  """The market cap of circulating supply."""
10552
11095
  marketCap: NumberFilter
10553
11096
 
11097
+ """The circulating market cap."""
11098
+ circulatingMarketCap: NumberFilter
11099
+
10554
11100
  """
10555
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.
10556
11102
  """
@@ -10655,8 +11201,38 @@ input TokenFilters {
10655
11201
  """The trade volume in USD in the past 5 minutes."""
10656
11202
  volume5m: NumberFilter
10657
11203
 
10658
- """
10659
- Whether to include tokens that have been flagged as scams. Default: false
11204
+ """The buy volume in USD in the past hour."""
11205
+ buyVolume1: NumberFilter
11206
+
11207
+ """The buy volume in USD in the past 12 hours."""
11208
+ buyVolume12: NumberFilter
11209
+
11210
+ """The buy volume in USD in the past 24 hours."""
11211
+ buyVolume24: NumberFilter
11212
+
11213
+ """The buy volume in USD in the past 4 hours."""
11214
+ buyVolume4: NumberFilter
11215
+
11216
+ """The buy volume in USD in the past 5 minutes."""
11217
+ buyVolume5m: NumberFilter
11218
+
11219
+ """The sell volume in USD in the past hour."""
11220
+ sellVolume1: NumberFilter
11221
+
11222
+ """The sell volume in USD in the past 12 hours."""
11223
+ sellVolume12: NumberFilter
11224
+
11225
+ """The sell volume in USD in the past 24 hours."""
11226
+ sellVolume24: NumberFilter
11227
+
11228
+ """The sell volume in USD in the past 4 hours."""
11229
+ sellVolume4: NumberFilter
11230
+
11231
+ """The sell volume in USD in the past 5 minutes."""
11232
+ sellVolume5m: NumberFilter
11233
+
11234
+ """
11235
+ Whether to include tokens that have been flagged as scams. Default: false
10660
11236
  """
10661
11237
  includeScams: Boolean
10662
11238
 
@@ -10677,6 +11253,12 @@ input TokenFilters {
10677
11253
  """The address of the creator of the token"""
10678
11254
  creatorAddress: String
10679
11255
 
11256
+ """The launchpad protocol"""
11257
+ launchpadProtocol: String
11258
+
11259
+ """The name of the launchpad"""
11260
+ launchpadName: String
11261
+
10680
11262
  """Indicates if the launchpad is completed"""
10681
11263
  launchpadCompleted: Boolean
10682
11264
 
@@ -10697,6 +11279,24 @@ input TokenFilters {
10697
11279
 
10698
11280
  """The token in mintable"""
10699
11281
  mintable: Boolean
11282
+
11283
+ """The average age of the wallets that traded in the last 24h"""
11284
+ walletAgeAvg: NumberFilter
11285
+
11286
+ """
11287
+ The standard deviation of age of the wallets that traded in the last 24h
11288
+ """
11289
+ walletAgeStd: NumberFilter
11290
+
11291
+ """
11292
+ The percentage of wallets that are less than 1d old that have traded in the last 24h
11293
+ """
11294
+ swapPct1dOldWallet: NumberFilter
11295
+
11296
+ """
11297
+ The percentage of wallets that are less than 7d old that have traded in the last 24h
11298
+ """
11299
+ swapPct7dOldWallet: NumberFilter
10700
11300
  }
10701
11301
 
10702
11302
  """Metadata for a token."""
@@ -10962,6 +11562,7 @@ enum TokenRankingAttribute {
10962
11562
  low12
10963
11563
  low24
10964
11564
  marketCap
11565
+ circulatingMarketCap
10965
11566
  priceUSD
10966
11567
  sellCount5m
10967
11568
  sellCount1
@@ -10999,9 +11600,23 @@ enum TokenRankingAttribute {
10999
11600
  volume4
11000
11601
  volume12
11001
11602
  volume24
11603
+ buyVolume5m
11604
+ buyVolume1
11605
+ buyVolume4
11606
+ buyVolume12
11607
+ buyVolume24
11608
+ sellVolume5m
11609
+ sellVolume1
11610
+ sellVolume4
11611
+ sellVolume12
11612
+ sellVolume24
11002
11613
  launchpadCompletedAt
11003
11614
  launchpadMigratedAt
11004
11615
  graduationPercent
11616
+ walletAgeAvg
11617
+ walletAgeStd
11618
+ swapPct1dOldWallet
11619
+ swapPct7dOldWallet
11005
11620
  }
11006
11621
 
11007
11622
  """Response returned by `searchTokens`."""
@@ -11125,6 +11740,188 @@ input TokenTopTradersInput {
11125
11740
  offset: Int
11126
11741
  }
11127
11742
 
11743
+ type TokenWalletFilterConnection {
11744
+ """The list of wallets matching the filter parameters."""
11745
+ results: [TokenWalletFilterResult!]!
11746
+
11747
+ """The number of wallets returned."""
11748
+ count: Int!
11749
+
11750
+ """Where in the list the server started when returning items."""
11751
+ offset: Int!
11752
+ }
11753
+
11754
+ """The result for filtering wallets for a token."""
11755
+ type TokenWalletFilterResult {
11756
+ """The wallet address"""
11757
+ address: String!
11758
+
11759
+ """The token address"""
11760
+ tokenAddress: String!
11761
+
11762
+ """The network ID"""
11763
+ networkId: Int!
11764
+
11765
+ """The unix timestamp for the first transaction from this wallet"""
11766
+ firstTransactionAt: Int
11767
+
11768
+ """The unix timestamp for the last transaction from this wallet"""
11769
+ lastTransactionAt: Int!
11770
+
11771
+ """The labels associated with the wallet"""
11772
+ labels: [String!]!
11773
+
11774
+ """Token amount bought in the past day"""
11775
+ tokenAmountBought1d: String!
11776
+
11777
+ """Token amount sold in the past day"""
11778
+ tokenAmountSold1d: String!
11779
+
11780
+ """Token amount sold all in the past day"""
11781
+ tokenAmountSoldAll1d: String!
11782
+
11783
+ """Amount bought in USD in the past day"""
11784
+ amountBoughtUsd1d: String!
11785
+
11786
+ """Amount sold in USD in the past day"""
11787
+ amountSoldUsd1d: String!
11788
+
11789
+ """Amount sold USD all in the past day"""
11790
+ amountSoldUsdAll1d: String!
11791
+
11792
+ """Realized profit in USD in the past day"""
11793
+ realizedProfitUsd1d: String!
11794
+
11795
+ """Realized profit percentage in the past day"""
11796
+ realizedProfitPercentage1d: Float!
11797
+
11798
+ """Number of buys in the past day"""
11799
+ buys1d: Int!
11800
+
11801
+ """Number of sells in the past day"""
11802
+ sells1d: Int!
11803
+
11804
+ """Number of sells all in the past day"""
11805
+ sellsAll1d: Int!
11806
+
11807
+ """Token amount bought in the past week"""
11808
+ tokenAmountBought1w: String!
11809
+
11810
+ """Token amount sold in the past week"""
11811
+ tokenAmountSold1w: String!
11812
+
11813
+ """Token amount sold all in the past week"""
11814
+ tokenAmountSoldAll1w: String!
11815
+
11816
+ """Amount bought in USD in the past week"""
11817
+ amountBoughtUsd1w: String!
11818
+
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
+
11128
11925
  """A token with metadata."""
11129
11926
  type TokenWithMetadata {
11130
11927
  """The contract address of the token."""
@@ -11415,11 +12212,566 @@ type UnconfirmedSwapEventData {
11415
12212
 
11416
12213
  scalar Void
11417
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."""
11418
12254
  type WalletChartRange {
11419
12255
  start: Int!
11420
12256
  end: Int!
11421
12257
  }
11422
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
+
11423
12775
  type WalletNftCollection {
11424
12776
  """The address of the wallet."""
11425
12777
  walletAddress: String!
@@ -11482,6 +12834,443 @@ type WalletNftCollectionsResponse {
11482
12834
  cursor: String
11483
12835
  }
11484
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
+
11485
13274
  """Metadata for a washtrade label."""
11486
13275
  type WashtradeLabelForEvent {
11487
13276
  """The label type, 'washtrade'"""
@@ -11606,6 +13395,35 @@ type WindowedDetailedCurrencyPairStats {
11606
13395
  liquidity: DetailedPairStatsStringMetrics
11607
13396
  }
11608
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
+
11609
13427
  """
11610
13428
  Price stats for an NFT collection over a time frame. Either in USD or the network's base token.
11611
13429
  """
@@ -11703,6 +13521,21 @@ type WindowedDetailedNonCurrencyPairStats {
11703
13521
  sellers: DetailedPairStatsNumberMetrics
11704
13522
  }
11705
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
+
11706
13539
  """Detailed pair stats over a time frame."""
11707
13540
  type WindowedDetailedPairStats {
11708
13541
  """The duration used to request detailed pair stats."""
@@ -11768,4 +13601,28 @@ type WindowedDetailedStats {
11768
13601
 
11769
13602
  """The sell volume over the window."""
11770
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!
11771
13628
  }