@codex-data/sdk 1.0.7 → 1.0.9

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 (164) hide show
  1. package/dist/resources/graphql.d.ts +1346 -16
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +198 -2
  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 +18 -16
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +94 -80
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +98 -52
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +30 -24
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +2582 -225
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +230 -28
  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/Balances.graphql +78 -0
  33. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  34. package/src/resources/generated_queries/FilterPairs.graphql +4 -4
  35. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  36. package/src/resources/generated_queries/FilterTokens.graphql +4 -3
  37. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  38. package/src/resources/generated_queries/GetBars.graphql +2 -2
  39. package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
  40. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
  41. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
  42. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  43. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  44. package/src/resources/generated_queries/Holders.graphql +78 -0
  45. package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
  46. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
  47. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
  48. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
  49. package/src/resources/generated_queries/PairMetadata.graphql +2 -2
  50. package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
  51. package/src/resources/generated_queries/Token.graphql +1 -1
  52. package/src/resources/generated_queries/Tokens.graphql +1 -1
  53. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  54. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
  55. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
  56. package/{dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql → src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql} +4 -3
  57. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
  58. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
  59. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
  60. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  61. package/{dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql → src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql} +4 -13
  62. package/src/resources/graphql.schema.json +13537 -5050
  63. package/src/resources/graphql.ts +1406 -16
  64. package/src/resources/schema.graphql +1942 -85
  65. package/src/sdk/Mutation.ts +2 -2
  66. package/src/sdk/Query.ts +122 -105
  67. package/src/sdk/Subscribe.ts +164 -134
  68. package/src/sdk/generated/gql.ts +78 -48
  69. package/src/sdk/generated/graphql.ts +1512 -73
  70. package/src/sdk/index.test.ts +3 -3
  71. package/src/sdk/index.ts +69 -18
  72. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  73. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  74. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  75. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  76. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  77. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  78. package/dist/resources/generated_queries/Balances.graphql +0 -15
  79. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  80. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  81. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  82. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  83. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  84. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  85. package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
  86. package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
  87. package/dist/resources/generated_queries/GetBars.graphql +0 -212
  88. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
  89. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  90. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
  91. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
  92. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  93. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  94. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  95. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  96. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  97. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  98. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  99. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  100. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  101. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  102. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  103. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  104. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  105. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  106. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  107. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  108. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  109. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  110. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  111. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  112. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  113. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  114. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
  115. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
  116. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  117. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  118. package/dist/resources/generated_queries/Holders.graphql +0 -18
  119. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  120. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  121. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
  122. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
  123. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  124. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  125. package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
  126. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  127. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  128. package/dist/resources/generated_queries/Token.graphql +0 -78
  129. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  130. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  131. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  132. package/dist/resources/generated_queries/Tokens.graphql +0 -78
  133. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  134. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  135. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  136. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  137. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  138. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  139. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  140. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
  141. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  142. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  143. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  144. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
  145. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
  146. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  147. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  148. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  149. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
  150. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  151. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  152. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  153. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  154. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  155. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  156. package/dist/resources/graphql.schema.json +0 -56135
  157. package/dist/resources/graphql.ts +0 -9024
  158. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  159. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  160. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  161. package/dist/resources/schema.graphql +0 -12013
  162. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  163. package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
  164. package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
@@ -14,6 +14,15 @@ directive @join__unionMember(graph: join__Graph!, member: String!) repeatable on
14
14
 
15
15
  directive @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA
16
16
 
17
+ """Response returned by `onEventsCreatedByMaker`."""
18
+ type AddEventsByMakerOutput {
19
+ """The address of the maker."""
20
+ makerAddress: String!
21
+
22
+ """A list of transactions for the maker."""
23
+ events: [Event!]!
24
+ }
25
+
17
26
  """Response returned by `onEventsCreated`."""
18
27
  type AddEventsOutput {
19
28
  """The contract address of the pair."""
@@ -86,6 +95,14 @@ type AddTrackedWalletEventsOutput {
86
95
  userId: String!
87
96
  }
88
97
 
98
+ type AddUnconfirmedEventsByMakerOutput {
99
+ """The wallet address of the maker."""
100
+ makerAddress: String!
101
+
102
+ """A list of transactions for the maker."""
103
+ events: [UnconfirmedEvent!]!
104
+ }
105
+
89
106
  """Response returned by `onUnconfirmedEventsCreated`."""
90
107
  type AddUnconfirmedEventsOutput {
91
108
  """The contract address of the pair."""
@@ -182,38 +199,54 @@ type Balance {
182
199
  """
183
200
  shiftedBalance: Float!
184
201
 
202
+ """The balance held by the wallet in USD."""
203
+ balanceUsd: String
204
+
205
+ """The token price in USD."""
206
+ tokenPriceUsd: String
207
+
185
208
  """The time that this address first held a token."""
186
209
  firstHeldTimestamp: Int
210
+
211
+ """Metadata for the token."""
212
+ token: EnhancedToken
187
213
  }
188
214
 
189
215
  input BalancesInput {
190
- """The ID of the wallet (`walletAddress:networkId`)."""
191
- walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
192
-
193
216
  """The wallet address to filter by."""
194
217
  walletAddress: String
195
218
 
196
- """A cursor for use in pagination."""
197
- cursor: String
198
-
199
219
  """The network IDs to filter by."""
200
220
  networks: [Int!]
201
221
 
202
222
  """
203
- The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`).
223
+ 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
224
  """
205
225
  tokens: [String!]
206
226
 
207
- """Optional token specifically request the balance for."""
208
- filterToken: String @deprecated(reason: "Use tokens list instead")
209
-
210
227
  """
211
- If set to true, native tokens in the response, they will have the id: native:<networkId>
228
+ 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
229
  """
213
230
  includeNative: Boolean
214
231
 
215
- """The maximum number of holdings to return."""
232
+ """
233
+ The maximum number of holdings to return. Does not apply when using `tokens`.
234
+ """
216
235
  limit: Int
236
+
237
+ """A cursor for use in pagination."""
238
+ cursor: String
239
+
240
+ """Whether to remove scam tokens from the response."""
241
+ removeScams: Boolean
242
+
243
+ """The ID of the wallet (`walletAddress:networkId`)."""
244
+ walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
245
+
246
+ """
247
+ Optional token specifically request the balance for. Only works with `walletId`.
248
+ """
249
+ filterToken: String @deprecated(reason: "Use tokens list instead")
217
250
  }
218
251
 
219
252
  type BalancesResponse {
@@ -537,6 +570,62 @@ input CreateApiTokensInput {
537
570
  expiresIn: Int
538
571
  }
539
572
 
573
+ """Input for creating a market cap webhook."""
574
+ input CreateMarketCapWebhookArgs {
575
+ """The name of the webhook (max 128 characters)."""
576
+ name: String!
577
+
578
+ """The url to which the webhook message should be sent."""
579
+ callbackUrl: String!
580
+
581
+ """
582
+ A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security.
583
+ """
584
+ securityToken: String!
585
+
586
+ """The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
587
+ alertRecurrence: AlertRecurrence!
588
+
589
+ """
590
+ A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
591
+ """
592
+ groupId: String
593
+
594
+ """
595
+ The conditions which must be met in order for the webhook to send a message.
596
+ """
597
+ conditions: MarketCapEventWebhookConditionInput!
598
+
599
+ """The settings for retrying failed webhook messages."""
600
+ retrySettings: RetrySettingsInput
601
+
602
+ """
603
+ An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks).
604
+ """
605
+ bucketId: String
606
+
607
+ """
608
+ An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks).
609
+ """
610
+ bucketSortkey: String
611
+
612
+ """
613
+ The type of publishing for the webhook. If not set, it defaults to `SINGLE`.
614
+ """
615
+ publishingType: PublishingType
616
+
617
+ """
618
+ If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook.
619
+ """
620
+ deduplicate: Boolean
621
+ }
622
+
623
+ """Input for creating market cap webhooks."""
624
+ input CreateMarketCapWebhooksInput {
625
+ """A list of market cap webhooks to create."""
626
+ webhooks: [CreateMarketCapWebhookArgs!]!
627
+ }
628
+
540
629
  """Input for creating an NFT event webhook."""
541
630
  input CreateNftEventWebhookArgs {
542
631
  """The name of the webhook (max 128 characters)."""
@@ -774,6 +863,9 @@ input CreateWebhooksInput {
774
863
 
775
864
  """Input for creating raw transaction webhooks."""
776
865
  rawTransactionWebhooksInput: CreateRawTransactionWebhooksInput
866
+
867
+ """Input for creating market cap webhooks."""
868
+ marketCapWebhooksInput: CreateMarketCapWebhooksInput
777
869
  }
778
870
 
779
871
  """Result returned by `createWebhooks`."""
@@ -789,6 +881,9 @@ type CreateWebhooksOutput {
789
881
 
790
882
  """The list of raw transaction webhooks that were created."""
791
883
  rawTransactionWebhooks: [Webhook]!
884
+
885
+ """The list of market cap event webhooks that were created."""
886
+ marketCapWebhooks: [Webhook]!
792
887
  }
793
888
 
794
889
  enum CreationContext {
@@ -1091,6 +1186,57 @@ enum DetailedStatsWindowSize {
1091
1186
  min5
1092
1187
  }
1093
1188
 
1189
+ """The detailed stats for a wallet."""
1190
+ type DetailedWalletStats {
1191
+ """The wallet address"""
1192
+ walletAddress: String!
1193
+
1194
+ """The last transaction timestamp"""
1195
+ lastTransactionAt: Int!
1196
+
1197
+ """The network specific stats"""
1198
+ networkSpecificStats: [NetworkWalletStats!] @deprecated(reason: "Use networkBreakdown instead")
1199
+
1200
+ """The network breakdown"""
1201
+ networkBreakdown: [NetworkBreakdown!]
1202
+
1203
+ """The labels associated with the wallet"""
1204
+ labels: [String!]!
1205
+
1206
+ """The likelihood of the wallet being a scammer"""
1207
+ scammerScore: Int
1208
+
1209
+ """The likelihood of the wallet being a bot"""
1210
+ botScore: Int
1211
+
1212
+ """The stats for the last day"""
1213
+ statsDay1: WindowedWalletStats
1214
+
1215
+ """The stats for the last week"""
1216
+ statsWeek1: WindowedWalletStats
1217
+
1218
+ """The stats for the last 30 days"""
1219
+ statsDay30: WindowedWalletStats
1220
+
1221
+ """The stats for the last year"""
1222
+ statsYear1: WindowedWalletStats
1223
+ }
1224
+
1225
+ """The input for detailed wallet stats."""
1226
+ input DetailedWalletStatsInput {
1227
+ """The wallet address"""
1228
+ walletAddress: String!
1229
+
1230
+ """The network ID"""
1231
+ networkId: Int
1232
+
1233
+ """The timestamp to get stats for"""
1234
+ timestamp: Int
1235
+
1236
+ """Whether to include network breakdown stats"""
1237
+ includeNetworkBreakdown: Boolean
1238
+ }
1239
+
1094
1240
  """Metadata for a contract."""
1095
1241
  union EnhancedContract = EnhancedToken | EnhancedNftContract
1096
1242
 
@@ -1316,6 +1462,9 @@ type Event {
1316
1462
 
1317
1463
  """The age of the wallet in seconds."""
1318
1464
  walletAge: Int
1465
+
1466
+ """Labels attributed to the wallet."""
1467
+ walletLabels: [String!]
1319
1468
  }
1320
1469
 
1321
1470
  """Response returned by `getTokenEvents`."""
@@ -1688,6 +1837,100 @@ type FilterExchange {
1688
1837
  tradeUrl: String
1689
1838
  }
1690
1839
 
1840
+ """The input for filtering wallets for a network."""
1841
+ input FilterNetworkWalletsInput {
1842
+ """The network ID to filter wallets for"""
1843
+ networkId: Int!
1844
+
1845
+ """A set of filters to apply."""
1846
+ filters: WalletNetworkFilters
1847
+
1848
+ """A list of wallet addresses to filter by."""
1849
+ wallets: [String]
1850
+
1851
+ """Exclude wallets with these labels."""
1852
+ excludeLabels: [String]
1853
+
1854
+ """Include wallets with these labels."""
1855
+ includeLabels: [String]
1856
+
1857
+ """A list of ranking attributes to apply."""
1858
+ rankings: [WalletNetworkRanking]
1859
+
1860
+ """The maximum number of wallets to return."""
1861
+ limit: Int
1862
+
1863
+ """
1864
+ 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.
1865
+ """
1866
+ offset: Int
1867
+ }
1868
+
1869
+ """The input for filtering wallets for a token."""
1870
+ input FilterTokenWalletsInput {
1871
+ """The ID of the token to filter wallets for"""
1872
+ tokenId: String
1873
+
1874
+ """The wallet address to filter wallets for"""
1875
+ walletAddress: String @deprecated(reason: "Use wallets instead")
1876
+
1877
+ """A list of wallet addresses to filter wallets for"""
1878
+ wallets: [String]
1879
+
1880
+ """The network ID to filter wallets for"""
1881
+ networkId: Int
1882
+
1883
+ """A set of filters to apply"""
1884
+ filters: WalletTokenFilters @deprecated(reason: "Use filtersV2 instead")
1885
+
1886
+ """A set of filters to apply"""
1887
+ filtersV2: WalletTokenFiltersV2
1888
+
1889
+ """A phrase to search for in token symbol and name"""
1890
+ phrase: String
1891
+
1892
+ """A list of ranking attributes to apply"""
1893
+ rankings: [WalletTokenRanking]
1894
+
1895
+ """Exclude wallets with these labels."""
1896
+ excludeLabels: [String]
1897
+
1898
+ """Include wallets with these labels."""
1899
+ includeLabels: [String]
1900
+
1901
+ """The maximum number of wallets to return"""
1902
+ limit: Int
1903
+
1904
+ """Where in the list the server should start when returning items"""
1905
+ offset: Int
1906
+ }
1907
+
1908
+ """The input for filtering wallets."""
1909
+ input FilterWalletsInput {
1910
+ """A set of filters to apply."""
1911
+ filters: WalletFilters
1912
+
1913
+ """A list of wallet addresses to filter by."""
1914
+ wallets: [String]
1915
+
1916
+ """Exclude wallets with these labels."""
1917
+ excludeLabels: [String]
1918
+
1919
+ """Include wallets with these labels."""
1920
+ includeLabels: [String]
1921
+
1922
+ """A list of ranking attributes to apply."""
1923
+ rankings: [WalletRanking]
1924
+
1925
+ """The maximum number of wallets to return."""
1926
+ limit: Int
1927
+
1928
+ """
1929
+ 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.
1930
+ """
1931
+ offset: Int
1932
+ }
1933
+
1691
1934
  """Metadata for a front-run label."""
1692
1935
  type FrontRunLabelData {
1693
1936
  """The index of the front-run label. Can be 0 or 1."""
@@ -1759,8 +2002,8 @@ input GetGasEstimateInput {
1759
2002
  inputTokenAmount: String!
1760
2003
  networkId: Int!
1761
2004
  outputTokenAddress: String!
1762
- poolAddress: String
1763
- exchangeAddress: String
2005
+ poolAddress: String!
2006
+ exchangeAddress: String!
1764
2007
  userId: Int
1765
2008
  walletId: Int
1766
2009
  customGas: String
@@ -1864,8 +2107,8 @@ input GetQuoteInput {
1864
2107
  inputTokenAmount: String!
1865
2108
  networkId: Int!
1866
2109
  outputTokenAddress: String!
1867
- poolAddress: String
1868
- exchangeAddress: String
2110
+ poolAddress: String!
2111
+ exchangeAddress: String!
1869
2112
  userId: Int
1870
2113
  customGas: String
1871
2114
  slippage: Float
@@ -1967,6 +2210,16 @@ type HoldersUpdate {
1967
2210
  balances: [Balance!]!
1968
2211
  }
1969
2212
 
2213
+ input IndexerStateInput {
2214
+ """The network ID to check the state of."""
2215
+ networkId: Int!
2216
+ }
2217
+
2218
+ enum IndexerStatus {
2219
+ Behind
2220
+ Normal
2221
+ }
2222
+
1970
2223
  """Bar chart data."""
1971
2224
  type IndividualBarData {
1972
2225
  """The opening price."""
@@ -2268,7 +2521,10 @@ type LatestTokenSimResults {
2268
2521
 
2269
2522
  type LaunchpadData {
2270
2523
  """The name of the launchpad."""
2271
- name: String
2524
+ name: String @deprecated(reason: "Use launchpadName instead")
2525
+
2526
+ """The name of the launchpad."""
2527
+ launchpadName: String
2272
2528
 
2273
2529
  """The percentage of the pool that was sold to the public."""
2274
2530
  graduationPercent: Float
@@ -2365,6 +2621,10 @@ enum LaunchpadTokenProtocol {
2365
2621
  Pump
2366
2622
  FourMeme
2367
2623
  RaydiumLaunchpad
2624
+ BoopFun
2625
+ Vertigo
2626
+ Rainbow
2627
+ EgoTech
2368
2628
  }
2369
2629
 
2370
2630
  scalar link__Import
@@ -2433,6 +2693,23 @@ type LiquidityLock {
2433
2693
  liquidityNftData: LiquidityNftData
2434
2694
  }
2435
2695
 
2696
+ """A breakdown of how much and where liquidity is locked."""
2697
+ type LiquidityLockBreakdownForToken {
2698
+ """The protocol with which the liquidity is locked."""
2699
+ lockProtocol: LiquidityLockProtocol!
2700
+
2701
+ """The amount of liquidity locked in USD."""
2702
+ amountLockedUsd: String!
2703
+
2704
+ """The amount of tokens locked in the protocol."""
2705
+ amountLockedTokens: String!
2706
+
2707
+ """
2708
+ The amount of tokens locked in the protocol shifted by number of decimals the token has.
2709
+ """
2710
+ amountLockedTokensShifted: String!
2711
+ }
2712
+
2436
2713
  type LiquidityLockConnection {
2437
2714
  """A list of liquidity locks."""
2438
2715
  items: [LiquidityLock!]!
@@ -2459,6 +2736,45 @@ type LiquidityMetadata {
2459
2736
  liquidity: LiquidityData!
2460
2737
  }
2461
2738
 
2739
+ """
2740
+ Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in.
2741
+ """
2742
+ type LiquidityMetadataByToken {
2743
+ """The address of the token."""
2744
+ tokenAddress: String!
2745
+
2746
+ """The network ID the token is deployed on."""
2747
+ networkId: Int!
2748
+
2749
+ """The total liquidity in USD."""
2750
+ totalLiquidityUsd: String!
2751
+
2752
+ """The locked liquidity in USD."""
2753
+ lockedLiquidityUsd: String!
2754
+
2755
+ """The total amount of tokens in pairs."""
2756
+ totalTokenLiquidity: String!
2757
+
2758
+ """
2759
+ The total amount of tokens in pairs shifted by number of decimals the token has.
2760
+ """
2761
+ totalTokenLiquidityShifted: String!
2762
+
2763
+ """The locked amount of tokens in pairs."""
2764
+ lockedTokenLiquidity: String!
2765
+
2766
+ """
2767
+ The locked amount of tokens in pairs shifted by number of decimals the token has.
2768
+ """
2769
+ lockedTokenLiquidityShifted: String!
2770
+
2771
+ """The percentage of liquidity that is locked."""
2772
+ lockedLiquidityPercentage: Float!
2773
+
2774
+ """A breakdown of how much and where liquidity is locked."""
2775
+ lockBreakdown: [LiquidityLockBreakdownForToken]!
2776
+ }
2777
+
2462
2778
  """Liquidity NFT position data"""
2463
2779
  type LiquidityNftData {
2464
2780
  """The tokenId of the liquidity position nft."""
@@ -2565,6 +2881,46 @@ input MakerEventsQueryInput {
2565
2881
  tokenAddress: String
2566
2882
  }
2567
2883
 
2884
+ """Webhook conditions for a market cap event."""
2885
+ type MarketCapEventWebhookCondition {
2886
+ """The token contract address the webhook is listening for."""
2887
+ tokenAddress: StringEqualsCondition!
2888
+
2889
+ """The network ID the webhook is listening on."""
2890
+ networkId: IntEqualsCondition!
2891
+
2892
+ """
2893
+ The market cap condition that must be met in order for the webhook to send.
2894
+ """
2895
+ fdvMarketCapUsd: ComparisonOperator
2896
+
2897
+ """
2898
+ The circulating market cap condition that must be met in order for the webhook to send.
2899
+ """
2900
+ circulatingMarketCapUsd: ComparisonOperator
2901
+
2902
+ """The pair contract address the webhook is listening for."""
2903
+ pairAddress: StringEqualsCondition
2904
+ }
2905
+
2906
+ """Input conditions for a market cap event webhook."""
2907
+ input MarketCapEventWebhookConditionInput {
2908
+ """The contract address of the token to listen for."""
2909
+ tokenAddress: StringEqualsConditionInput!
2910
+
2911
+ """The network ID to listen on."""
2912
+ networkId: IntEqualsConditionInput!
2913
+
2914
+ """The price conditions to listen for."""
2915
+ fdvMarketCapUsd: ComparisonOperatorInput
2916
+
2917
+ """The circulating market cap conditions to listen for."""
2918
+ circulatingMarketCapUsd: ComparisonOperatorInput
2919
+
2920
+ """The contract address of the pair to listen for."""
2921
+ pairAddress: StringEqualsConditionInput
2922
+ }
2923
+
2568
2924
  """The status for a network supported on Defined."""
2569
2925
  type MetadataResponse {
2570
2926
  """The last processed block on the network."""
@@ -2655,39 +3011,226 @@ type Network {
2655
3011
  networkShortName: String
2656
3012
  }
2657
3013
 
2658
- """Event data for creating a new NFT pool."""
2659
- type NewPoolEventData {
2660
- """The type of NFT pool event, `NEW_POOL`."""
2661
- type: NftPoolEventType!
2662
-
2663
- """The network ID the NFT collection is deployed on."""
3014
+ """A breakdown of the wallet's activity by network."""
3015
+ type NetworkBreakdown {
3016
+ """The network ID"""
2664
3017
  networkId: Int!
2665
3018
 
2666
- """The contract address of the NFT pool."""
2667
- poolAddress: String!
3019
+ """The native token balance"""
3020
+ nativeTokenBalance: String!
2668
3021
 
2669
- """The contract address of the NFT collection."""
2670
- collectionAddress: String!
3022
+ """The stats for the last day"""
3023
+ statsDay1: WindowedWalletStats
2671
3024
 
2672
- """
2673
- The contract address of the liquidity token of the pool (usually WETH).
2674
- """
2675
- tokenAddress: String!
3025
+ """The stats for the last week"""
3026
+ statsWeek1: WindowedWalletStats
2676
3027
 
2677
- """The wallet address of the pool owner."""
2678
- ownerAddress: String!
3028
+ """The stats for the last 30 days"""
3029
+ statsDay30: WindowedWalletStats
2679
3030
 
2680
- """
2681
- The wallet address that will receive the tokens or NFT sent to the pair during swaps.
2682
- """
2683
- assetRecipientAddress: String!
3031
+ """The stats for the last year"""
3032
+ statsYear1: WindowedWalletStats
3033
+ }
2684
3034
 
2685
- """The contract address of the bonding curve."""
2686
- bondingCurveAddress: String!
3035
+ type NetworkWalletFilterConnection {
3036
+ """The list of wallets matching the filter parameters."""
3037
+ results: [NetworkWalletFilterResult!]!
2687
3038
 
2688
- """
2689
- The bonding curve type that defines how the prices of NFTs change after each buy or sell within a pool.
2690
- """
3039
+ """The number of wallets returned."""
3040
+ count: Int!
3041
+
3042
+ """Where in the list the server started when returning items."""
3043
+ offset: Int!
3044
+ }
3045
+
3046
+ type NetworkWalletFilterResult {
3047
+ """The wallet address"""
3048
+ address: String!
3049
+
3050
+ """The network ID of the wallet"""
3051
+ networkId: Int!
3052
+
3053
+ """The unix timestamp for the first transaction from this wallet"""
3054
+ firstTransactionAt: Int
3055
+
3056
+ """The unix timestamp for the last transaction from this wallet"""
3057
+ lastTransactionAt: Int!
3058
+
3059
+ """The native token balance of the wallet"""
3060
+ nativeTokenBalance: String!
3061
+
3062
+ """The labels associated with the wallet"""
3063
+ labels: [String!]!
3064
+
3065
+ """Volume in USD in the past day"""
3066
+ volumeUsd1d: String!
3067
+
3068
+ """Total volume in USD in the past day including all tokens"""
3069
+ volumeUsdAll1d: String!
3070
+
3071
+ """Realized profit in USD in the past day"""
3072
+ realizedProfitUsd1d: String!
3073
+
3074
+ """Average profit in USD per trade in the past day"""
3075
+ averageProfitUsdPerTrade1d: String!
3076
+
3077
+ """Average swap amount in USD in the past day"""
3078
+ averageSwapAmountUsd1d: String!
3079
+
3080
+ """Realized profit percentage in the past day"""
3081
+ realizedProfitPercentage1d: Float!
3082
+
3083
+ """Number of swaps in the past day"""
3084
+ swaps1d: Int!
3085
+
3086
+ """Total number of swaps in the past day including all tokens"""
3087
+ swapsAll1d: Int!
3088
+
3089
+ """Number of unique tokens traded in the past day"""
3090
+ uniqueTokens1d: Int!
3091
+
3092
+ """Win rate in the past day"""
3093
+ winRate1d: Float!
3094
+
3095
+ """Volume in USD in the past week"""
3096
+ volumeUsd1w: String!
3097
+
3098
+ """Total volume in USD in the past week including all tokens"""
3099
+ volumeUsdAll1w: String!
3100
+
3101
+ """Realized profit in USD in the past week"""
3102
+ realizedProfitUsd1w: String!
3103
+
3104
+ """Average profit in USD per trade in the past week"""
3105
+ averageProfitUsdPerTrade1w: String!
3106
+
3107
+ """Average swap amount in USD in the past week"""
3108
+ averageSwapAmountUsd1w: String!
3109
+
3110
+ """Realized profit percentage in the past week"""
3111
+ realizedProfitPercentage1w: Float!
3112
+
3113
+ """Number of swaps in the past week"""
3114
+ swaps1w: Int!
3115
+
3116
+ """Total number of swaps in the past week including all tokens"""
3117
+ swapsAll1w: Int!
3118
+
3119
+ """Number of unique tokens traded in the past week"""
3120
+ uniqueTokens1w: Int!
3121
+
3122
+ """Win rate in the past week"""
3123
+ winRate1w: Float!
3124
+
3125
+ """Volume in USD in the past 30 days"""
3126
+ volumeUsd30d: String!
3127
+
3128
+ """Total volume in USD in the past 30 days including all tokens"""
3129
+ volumeUsdAll30d: String!
3130
+
3131
+ """Realized profit in USD in the past 30 days"""
3132
+ realizedProfitUsd30d: String!
3133
+
3134
+ """Average profit in USD per trade in the past 30 days"""
3135
+ averageProfitUsdPerTrade30d: String!
3136
+
3137
+ """Average swap amount in USD in the past 30 days"""
3138
+ averageSwapAmountUsd30d: String!
3139
+
3140
+ """Realized profit percentage in the past 30 days"""
3141
+ realizedProfitPercentage30d: Float!
3142
+
3143
+ """Number of swaps in the past 30 days"""
3144
+ swaps30d: Int!
3145
+
3146
+ """Total number of swaps in the past 30 days including all tokens"""
3147
+ swapsAll30d: Int!
3148
+
3149
+ """Number of unique tokens traded in the past 30 days"""
3150
+ uniqueTokens30d: Int!
3151
+
3152
+ """Win rate in the past 30 days"""
3153
+ winRate30d: Float!
3154
+
3155
+ """Volume in USD in the past year"""
3156
+ volumeUsd1y: String!
3157
+
3158
+ """Total volume in USD in the past year including all tokens"""
3159
+ volumeUsdAll1y: String!
3160
+
3161
+ """Realized profit in USD in the past year"""
3162
+ realizedProfitUsd1y: String!
3163
+
3164
+ """Average profit in USD per trade in the past year"""
3165
+ averageProfitUsdPerTrade1y: String!
3166
+
3167
+ """Average swap amount in USD in the past year"""
3168
+ averageSwapAmountUsd1y: String!
3169
+
3170
+ """Realized profit percentage in the past year"""
3171
+ realizedProfitPercentage1y: Float!
3172
+
3173
+ """Number of swaps in the past year"""
3174
+ swaps1y: Int!
3175
+
3176
+ """Total number of swaps in the past year including all tokens"""
3177
+ swapsAll1y: Int!
3178
+
3179
+ """Number of unique tokens traded in the past year"""
3180
+ uniqueTokens1y: Int!
3181
+
3182
+ """Win rate in the past year"""
3183
+ winRate1y: Float!
3184
+
3185
+ """The scammer score for the wallet."""
3186
+ scammerScore: Int
3187
+
3188
+ """The bot score for the wallet."""
3189
+ botScore: Int
3190
+ }
3191
+
3192
+ """Native token balance for a wallet on a network."""
3193
+ type NetworkWalletStats {
3194
+ """The network ID"""
3195
+ networkId: Int!
3196
+
3197
+ """The native token balance"""
3198
+ nativeTokenBalance: String!
3199
+ }
3200
+
3201
+ """Event data for creating a new NFT pool."""
3202
+ type NewPoolEventData {
3203
+ """The type of NFT pool event, `NEW_POOL`."""
3204
+ type: NftPoolEventType!
3205
+
3206
+ """The network ID the NFT collection is deployed on."""
3207
+ networkId: Int!
3208
+
3209
+ """The contract address of the NFT pool."""
3210
+ poolAddress: String!
3211
+
3212
+ """The contract address of the NFT collection."""
3213
+ collectionAddress: String!
3214
+
3215
+ """
3216
+ The contract address of the liquidity token of the pool (usually WETH).
3217
+ """
3218
+ tokenAddress: String!
3219
+
3220
+ """The wallet address of the pool owner."""
3221
+ ownerAddress: String!
3222
+
3223
+ """
3224
+ The wallet address that will receive the tokens or NFT sent to the pair during swaps.
3225
+ """
3226
+ assetRecipientAddress: String!
3227
+
3228
+ """The contract address of the bonding curve."""
3229
+ bondingCurveAddress: String!
3230
+
3231
+ """
3232
+ The bonding curve type that defines how the prices of NFTs change after each buy or sell within a pool.
3233
+ """
2691
3234
  bondingCurveType: BondingCurveType!
2692
3235
 
2693
3236
  """The initial delta used in the bonding curve."""
@@ -6225,6 +6768,12 @@ input OneOfNumberConditionInput {
6225
6768
  oneOf: [Int!]!
6226
6769
  }
6227
6770
 
6771
+ """Input for `onEventsCreatedByMaker`."""
6772
+ input OnEventsCreatedByMakerInput {
6773
+ """The wallet address of the maker."""
6774
+ makerAddress: String!
6775
+ }
6776
+
6228
6777
  """Input for `onLaunchpadTokenEvent`."""
6229
6778
  input OnLaunchpadTokenEventInput {
6230
6779
  """The protocol of the token."""
@@ -6287,7 +6836,10 @@ type OnTokenBarsUpdatedResponse {
6287
6836
  }
6288
6837
 
6289
6838
  input OnTokenEventsCreatedInput {
6839
+ """The token address to filter by."""
6290
6840
  tokenAddress: String
6841
+
6842
+ """The network ID to filter by."""
6291
6843
  networkId: Int!
6292
6844
  }
6293
6845
 
@@ -6321,6 +6873,12 @@ type OnUnconfirmedBarsUpdated {
6321
6873
  quoteTokenAddress: String!
6322
6874
  }
6323
6875
 
6876
+ """Input for `onUnconfirmedEventsCreatedByMaker`."""
6877
+ input OnUnconfirmedEventsCreatedByMakerInput {
6878
+ """The wallet address of the maker."""
6879
+ makerAddress: String!
6880
+ }
6881
+
6324
6882
  enum OrderState {
6325
6883
  CREATED
6326
6884
  PENDING
@@ -6405,7 +6963,7 @@ input PairChartSettings {
6405
6963
  quoteToken: QuoteToken
6406
6964
 
6407
6965
  """
6408
- The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
6966
+ The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
6409
6967
  """
6410
6968
  resolution: String
6411
6969
 
@@ -8852,7 +9410,7 @@ type Query {
8852
9410
  The time frame for trending results. Can be `1`, `5`, `15`, `30`, `60`, `240`, `720`, or `1D`.
8853
9411
  """
8854
9412
  resolution: String
8855
- ): [TokenWithMetadata!]
9413
+ ): [TokenWithMetadata!] @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
8856
9414
 
8857
9415
  """
8858
9416
  Returns charting metadata for a given pair. Used for implementing a Trading View datafeed.
@@ -8934,7 +9492,7 @@ type Query {
8934
9492
  to: Int!
8935
9493
 
8936
9494
  """
8937
- The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
9495
+ The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`.
8938
9496
  """
8939
9497
  resolution: String!
8940
9498
 
@@ -8991,7 +9549,7 @@ type Query {
8991
9549
  ): TokenSearchResponse @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
8992
9550
 
8993
9551
  """
8994
- Returns the percentage of a token’s total supply held collectively by its top 10 holders.
9552
+ Returns the percentage of a token's total supply held collectively by its top 10 holders.
8995
9553
  """
8996
9554
  top10HoldersPercent(tokenId: String!): Float
8997
9555
 
@@ -9141,7 +9699,10 @@ type Query {
9141
9699
  """Returns liquidity locks for a given pair."""
9142
9700
  liquidityLocks(
9143
9701
  """The address of the pair."""
9144
- pairAddress: String!
9702
+ pairAddress: String
9703
+
9704
+ """The address of the token."""
9705
+ tokenAddress: String
9145
9706
 
9146
9707
  """The network id of the pair."""
9147
9708
  networkId: Int!
@@ -9161,9 +9722,39 @@ type Query {
9161
9722
  networkId: Int!
9162
9723
  ): LiquidityMetadata
9163
9724
 
9725
+ """
9726
+ Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in.
9727
+ """
9728
+ liquidityMetadataByToken(
9729
+ """The address of the token."""
9730
+ tokenAddress: String!
9731
+
9732
+ """The network id of the token."""
9733
+ networkId: Int!
9734
+ ): LiquidityMetadataByToken!
9735
+
9164
9736
  """Returns a list of top traders for a given token."""
9165
9737
  tokenTopTraders(input: TokenTopTradersInput!): TokenTopTradersConnection!
9166
9738
 
9739
+ """Returns a list of wallets based on a variety of filters."""
9740
+ filterWallets(input: FilterWalletsInput!): WalletFilterConnection!
9741
+
9742
+ """
9743
+ Returns a list of wallets with stats narrowed down to a specific network.
9744
+ """
9745
+ filterNetworkWallets(input: FilterNetworkWalletsInput!): NetworkWalletFilterConnection! @deprecated(reason: "Use filterWallets instead")
9746
+
9747
+ """
9748
+ Returns a list of wallets with stats narrowed down to a specific token.
9749
+ """
9750
+ filterTokenWallets(input: FilterTokenWalletsInput!): TokenWalletFilterConnection!
9751
+
9752
+ """Returns detailed stats for a wallet."""
9753
+ detailedWalletStats(input: DetailedWalletStatsInput!): DetailedWalletStats
9754
+
9755
+ """Returns a chart of a wallet's activity."""
9756
+ walletChart(input: WalletChartInput!): WalletChartResponse
9757
+
9167
9758
  """Returns community gathered notes."""
9168
9759
  getCommunityNotes(input: CommunityNotesInput): CommunityNotesResponse!
9169
9760
  }
@@ -9206,6 +9797,12 @@ enum QuoteType {
9206
9797
  OUTPUT
9207
9798
  }
9208
9799
 
9800
+ """The range of time for a chart."""
9801
+ input RangeInput {
9802
+ start: Int!
9803
+ end: Int!
9804
+ }
9805
+
9209
9806
  """The order of ranking."""
9210
9807
  enum RankingDirection {
9211
9808
  ASC
@@ -9914,8 +10511,14 @@ type Subscription {
9914
10511
 
9915
10512
  """The networkId to use when getting all events per network"""
9916
10513
  networkId: Int
10514
+
10515
+ """docs: hide"""
10516
+ maker: String
9917
10517
  ): AddEventsOutput
9918
10518
 
10519
+ """Live-streamed transactions for a maker."""
10520
+ onEventsCreatedByMaker(input: OnEventsCreatedByMakerInput!): AddEventsByMakerOutput
10521
+
9919
10522
  """Live-streamed unconfirmed transactions for a token. (Solana only)"""
9920
10523
  onUnconfirmedEventsCreated(
9921
10524
  """The pair contract address."""
@@ -9928,6 +10531,9 @@ type Subscription {
9928
10531
  quoteToken: QuoteToken
9929
10532
  ): AddUnconfirmedEventsOutput
9930
10533
 
10534
+ """Live-streamed unconfirmed transactions for a maker. (Solana only)"""
10535
+ onUnconfirmedEventsCreatedByMaker(input: OnUnconfirmedEventsCreatedByMakerInput!): AddUnconfirmedEventsByMakerOutput
10536
+
9931
10537
  """Live-streamed price updates for a token."""
9932
10538
  onPriceUpdated(
9933
10539
  """The token contract address."""
@@ -10470,11 +11076,12 @@ type TokenFilterResult {
10470
11076
  """The lowest price in USD in the past 4 hours."""
10471
11077
  low4: String
10472
11078
 
10473
- """
10474
- The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.
10475
- """
11079
+ """The fully diluted market cap."""
10476
11080
  marketCap: String
10477
11081
 
11082
+ """The circulating market cap."""
11083
+ circulatingMarketCap: String
11084
+
10478
11085
  """Metadata for the token's top pair."""
10479
11086
  pair: Pair
10480
11087
 
@@ -10728,6 +11335,9 @@ input TokenFilters {
10728
11335
  """The market cap of circulating supply."""
10729
11336
  marketCap: NumberFilter
10730
11337
 
11338
+ """The circulating market cap."""
11339
+ circulatingMarketCap: NumberFilter
11340
+
10731
11341
  """
10732
11342
  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
11343
  """
@@ -10887,6 +11497,9 @@ input TokenFilters {
10887
11497
  """The launchpad protocol"""
10888
11498
  launchpadProtocol: String
10889
11499
 
11500
+ """The name of the launchpad"""
11501
+ launchpadName: String
11502
+
10890
11503
  """Indicates if the launchpad is completed"""
10891
11504
  launchpadCompleted: Boolean
10892
11505
 
@@ -11190,6 +11803,7 @@ enum TokenRankingAttribute {
11190
11803
  low12
11191
11804
  low24
11192
11805
  marketCap
11806
+ circulatingMarketCap
11193
11807
  priceUSD
11194
11808
  sellCount5m
11195
11809
  sellCount1
@@ -11367,6 +11981,188 @@ input TokenTopTradersInput {
11367
11981
  offset: Int
11368
11982
  }
11369
11983
 
11984
+ type TokenWalletFilterConnection {
11985
+ """The list of wallets matching the filter parameters."""
11986
+ results: [TokenWalletFilterResult!]!
11987
+
11988
+ """The number of wallets returned."""
11989
+ count: Int!
11990
+
11991
+ """Where in the list the server started when returning items."""
11992
+ offset: Int!
11993
+ }
11994
+
11995
+ """The result for filtering wallets for a token."""
11996
+ type TokenWalletFilterResult {
11997
+ """The wallet address"""
11998
+ address: String!
11999
+
12000
+ """The token address"""
12001
+ tokenAddress: String!
12002
+
12003
+ """The network ID"""
12004
+ networkId: Int!
12005
+
12006
+ """The unix timestamp for the first transaction from this wallet"""
12007
+ firstTransactionAt: Int
12008
+
12009
+ """The unix timestamp for the last transaction from this wallet"""
12010
+ lastTransactionAt: Int!
12011
+
12012
+ """The labels associated with the wallet"""
12013
+ labels: [String!]!
12014
+
12015
+ """Token amount bought in the past day"""
12016
+ tokenAmountBought1d: String!
12017
+
12018
+ """Token amount sold in the past day"""
12019
+ tokenAmountSold1d: String!
12020
+
12021
+ """Token amount sold all in the past day"""
12022
+ tokenAmountSoldAll1d: String!
12023
+
12024
+ """Amount bought in USD in the past day"""
12025
+ amountBoughtUsd1d: String!
12026
+
12027
+ """Amount sold in USD in the past day"""
12028
+ amountSoldUsd1d: String!
12029
+
12030
+ """Amount sold USD all in the past day"""
12031
+ amountSoldUsdAll1d: String!
12032
+
12033
+ """Realized profit in USD in the past day"""
12034
+ realizedProfitUsd1d: String!
12035
+
12036
+ """Realized profit percentage in the past day"""
12037
+ realizedProfitPercentage1d: Float!
12038
+
12039
+ """Number of buys in the past day"""
12040
+ buys1d: Int!
12041
+
12042
+ """Number of sells in the past day"""
12043
+ sells1d: Int!
12044
+
12045
+ """Number of sells all in the past day"""
12046
+ sellsAll1d: Int!
12047
+
12048
+ """Token amount bought in the past week"""
12049
+ tokenAmountBought1w: String!
12050
+
12051
+ """Token amount sold in the past week"""
12052
+ tokenAmountSold1w: String!
12053
+
12054
+ """Token amount sold all in the past week"""
12055
+ tokenAmountSoldAll1w: String!
12056
+
12057
+ """Amount bought in USD in the past week"""
12058
+ amountBoughtUsd1w: String!
12059
+
12060
+ """Amount sold in USD in the past week"""
12061
+ amountSoldUsd1w: String!
12062
+
12063
+ """Amount sold USD all in the past week"""
12064
+ amountSoldUsdAll1w: String!
12065
+
12066
+ """Realized profit in USD in the past week"""
12067
+ realizedProfitUsd1w: String!
12068
+
12069
+ """Realized profit percentage in the past week"""
12070
+ realizedProfitPercentage1w: Float!
12071
+
12072
+ """Number of buys in the past week"""
12073
+ buys1w: Int!
12074
+
12075
+ """Number of sells in the past week"""
12076
+ sells1w: Int!
12077
+
12078
+ """Number of sells all in the past week"""
12079
+ sellsAll1w: Int!
12080
+
12081
+ """Token amount bought in the past 30 days"""
12082
+ tokenAmountBought30d: String!
12083
+
12084
+ """Token amount sold in the past 30 days"""
12085
+ tokenAmountSold30d: String!
12086
+
12087
+ """Token amount sold all in the past 30 days"""
12088
+ tokenAmountSoldAll30d: String!
12089
+
12090
+ """Amount bought in USD in the past 30 days"""
12091
+ amountBoughtUsd30d: String!
12092
+
12093
+ """Amount sold in USD in the past 30 days"""
12094
+ amountSoldUsd30d: String!
12095
+
12096
+ """Amount sold USD all in the past 30 days"""
12097
+ amountSoldUsdAll30d: String!
12098
+
12099
+ """Realized profit in USD in the past 30 days"""
12100
+ realizedProfitUsd30d: String!
12101
+
12102
+ """Realized profit percentage in the past 30 days"""
12103
+ realizedProfitPercentage30d: Float!
12104
+
12105
+ """Number of buys in the past 30 days"""
12106
+ buys30d: Int!
12107
+
12108
+ """Number of sells in the past 30 days"""
12109
+ sells30d: Int!
12110
+
12111
+ """Number of sells all in the past 30 days"""
12112
+ sellsAll30d: Int!
12113
+
12114
+ """Token amount bought in the past year"""
12115
+ tokenAmountBought1y: String!
12116
+
12117
+ """Token amount sold in the past year"""
12118
+ tokenAmountSold1y: String!
12119
+
12120
+ """Token amount sold all in the past year"""
12121
+ tokenAmountSoldAll1y: String!
12122
+
12123
+ """Amount bought in USD in the past year"""
12124
+ amountBoughtUsd1y: String!
12125
+
12126
+ """Amount sold in USD in the past year"""
12127
+ amountSoldUsd1y: String!
12128
+
12129
+ """Amount sold USD all in the past year"""
12130
+ amountSoldUsdAll1y: String!
12131
+
12132
+ """Realized profit in USD in the past year"""
12133
+ realizedProfitUsd1y: String!
12134
+
12135
+ """Realized profit percentage in the past year"""
12136
+ realizedProfitPercentage1y: Float!
12137
+
12138
+ """Number of buys in the past year"""
12139
+ buys1y: Int!
12140
+
12141
+ """Number of sells in the past year"""
12142
+ sells1y: Int!
12143
+
12144
+ """Number of sells all in the past year"""
12145
+ sellsAll1y: Int!
12146
+
12147
+ """The purchased token balance"""
12148
+ purchasedTokenBalance: String!
12149
+
12150
+ """The token acquisition cost in USD"""
12151
+ tokenAcquisitionCostUsd: String!
12152
+
12153
+ """The current token balance"""
12154
+ tokenBalance: String!
12155
+
12156
+ """The token metadata"""
12157
+ token: EnhancedToken!
12158
+
12159
+ """The scammer score for the wallet."""
12160
+ scammerScore: Int
12161
+
12162
+ """The bot score for the wallet."""
12163
+ botScore: Int
12164
+ }
12165
+
11370
12166
  """A token with metadata."""
11371
12167
  type TokenWithMetadata {
11372
12168
  """The contract address of the token."""
@@ -11657,56 +12453,611 @@ type UnconfirmedSwapEventData {
11657
12453
 
11658
12454
  scalar Void
11659
12455
 
11660
- type WalletChartRange {
11661
- start: Int!
11662
- end: Int!
11663
- }
11664
-
11665
- type WalletNftCollection {
11666
- """The address of the wallet."""
11667
- walletAddress: String!
11668
-
11669
- """The collection ID (`collectionAddress:networkId`)."""
11670
- collectionId: String!
12456
+ """The data for a chart of a wallet's activity."""
12457
+ type WalletChartData {
12458
+ """The timestamp"""
12459
+ timestamp: Int!
11671
12460
 
11672
- """The number of items held by the wallet."""
11673
- quantity: String!
11674
- }
12461
+ """The resolution"""
12462
+ resolution: String!
11675
12463
 
11676
- type WalletNftCollectionAsset {
11677
- """The id of the nft asset."""
11678
- tokenId: String!
12464
+ """The volume in USD"""
12465
+ volumeUsd: String!
11679
12466
 
11680
12467
  """
11681
- The number of instances of the nft held by the wallet (Applicable to ERC1155 NFTs).
12468
+ The volume in USD including tokens sold for which we do not have a price
11682
12469
  """
11683
- quantity: String!
12470
+ volumeUsdAll: String!
12471
+
12472
+ """The realized profit in USD"""
12473
+ realizedProfitUsd: String!
12474
+
12475
+ """The number of swaps"""
12476
+ swaps: Int!
11684
12477
  }
11685
12478
 
11686
- input WalletNftCollectionAssetsInput {
11687
- """The address of the wallet."""
12479
+ """The input for a chart of a wallet's activity."""
12480
+ input WalletChartInput {
12481
+ """The wallet address"""
11688
12482
  walletAddress: String!
11689
12483
 
11690
- """The collection ID (`collectionAddress:networkId`)."""
11691
- collectionId: String!
12484
+ """The network ID"""
12485
+ networkId: Int
11692
12486
 
11693
- """A cursor for use in pagination."""
11694
- cursor: String
12487
+ """The range of time for the chart"""
12488
+ range: RangeInput!
12489
+
12490
+ """The resolution of the chart"""
12491
+ resolution: String!
11695
12492
  }
11696
12493
 
11697
- type WalletNftCollectionAssetsResponse {
11698
- """The list of nft assets for a wallet."""
11699
- items: [WalletNftCollectionAsset]!
12494
+ """The range of time for a chart."""
12495
+ type WalletChartRange {
12496
+ start: Int!
12497
+ end: Int!
12498
+ }
11700
12499
 
11701
- """The address of the wallet."""
12500
+ """The response for a chart of a wallet's activity."""
12501
+ type WalletChartResponse {
12502
+ """The wallet address"""
11702
12503
  walletAddress: String!
11703
12504
 
11704
- """The collection ID (`collectionAddress:networkId`)."""
11705
- collectionId: String!
12505
+ """The network ID"""
12506
+ networkId: Int
11706
12507
 
11707
- """A cursor for use in pagination."""
11708
- cursor: String
11709
- }
12508
+ """The range of time for the chart"""
12509
+ range: WalletChartRange!
12510
+
12511
+ """The resolution of the chart"""
12512
+ resolution: String!
12513
+
12514
+ """The data for the chart"""
12515
+ data: [WalletChartData!]!
12516
+ }
12517
+
12518
+ type WalletFilterConnection {
12519
+ """The list of wallets matching the filter parameters."""
12520
+ results: [WalletFilterResult!]!
12521
+
12522
+ """The number of wallets returned."""
12523
+ count: Int!
12524
+
12525
+ """Where in the list the server started when returning items."""
12526
+ offset: Int!
12527
+ }
12528
+
12529
+ type WalletFilterResult {
12530
+ """The wallet address"""
12531
+ address: String!
12532
+
12533
+ """The unix timestamp for the first transaction from this wallet"""
12534
+ firstTransactionAt: Int
12535
+
12536
+ """The unix timestamp for the last transaction from this wallet"""
12537
+ lastTransactionAt: Int!
12538
+
12539
+ """The labels associated with the wallet"""
12540
+ labels: [String!]!
12541
+
12542
+ """Volume in USD in the past day"""
12543
+ volumeUsd1d: String!
12544
+
12545
+ """Total volume in USD in the past day including all tokens"""
12546
+ volumeUsdAll1d: String!
12547
+
12548
+ """Realized profit in USD in the past day"""
12549
+ realizedProfitUsd1d: String!
12550
+
12551
+ """Average profit in USD per trade in the past day"""
12552
+ averageProfitUsdPerTrade1d: String!
12553
+
12554
+ """Average swap amount in USD in the past day"""
12555
+ averageSwapAmountUsd1d: String!
12556
+
12557
+ """Realized profit percentage in the past day"""
12558
+ realizedProfitPercentage1d: Float!
12559
+
12560
+ """Number of swaps in the past day"""
12561
+ swaps1d: Int!
12562
+
12563
+ """Total number of swaps in the past day including all tokens"""
12564
+ swapsAll1d: Int!
12565
+
12566
+ """Number of unique tokens traded in the past day"""
12567
+ uniqueTokens1d: Int!
12568
+
12569
+ """Win rate in the past day"""
12570
+ winRate1d: Float!
12571
+
12572
+ """Volume in USD in the past week"""
12573
+ volumeUsd1w: String!
12574
+
12575
+ """Total volume in USD in the past week including all tokens"""
12576
+ volumeUsdAll1w: String!
12577
+
12578
+ """Realized profit in USD in the past week"""
12579
+ realizedProfitUsd1w: String!
12580
+
12581
+ """Average profit in USD per trade in the past week"""
12582
+ averageProfitUsdPerTrade1w: String!
12583
+
12584
+ """Average swap amount in USD in the past week"""
12585
+ averageSwapAmountUsd1w: String!
12586
+
12587
+ """Realized profit percentage in the past week"""
12588
+ realizedProfitPercentage1w: Float!
12589
+
12590
+ """Number of swaps in the past week"""
12591
+ swaps1w: Int!
12592
+
12593
+ """Total number of swaps in the past week including all tokens"""
12594
+ swapsAll1w: Int!
12595
+
12596
+ """Number of unique tokens traded in the past week"""
12597
+ uniqueTokens1w: Int!
12598
+
12599
+ """Win rate in the past week"""
12600
+ winRate1w: Float!
12601
+
12602
+ """Volume in USD in the past 30 days"""
12603
+ volumeUsd30d: String!
12604
+
12605
+ """Total volume in USD in the past 30 days including all tokens"""
12606
+ volumeUsdAll30d: String!
12607
+
12608
+ """Realized profit in USD in the past 30 days"""
12609
+ realizedProfitUsd30d: String!
12610
+
12611
+ """Average profit in USD per trade in the past 30 days"""
12612
+ averageProfitUsdPerTrade30d: String!
12613
+
12614
+ """Average swap amount in USD in the past 30 days"""
12615
+ averageSwapAmountUsd30d: String!
12616
+
12617
+ """Realized profit percentage in the past 30 days"""
12618
+ realizedProfitPercentage30d: Float!
12619
+
12620
+ """Number of swaps in the past 30 days"""
12621
+ swaps30d: Int!
12622
+
12623
+ """Total number of swaps in the past 30 days including all tokens"""
12624
+ swapsAll30d: Int!
12625
+
12626
+ """Number of unique tokens traded in the past 30 days"""
12627
+ uniqueTokens30d: Int!
12628
+
12629
+ """Win rate in the past 30 days"""
12630
+ winRate30d: Float!
12631
+
12632
+ """Volume in USD in the past year"""
12633
+ volumeUsd1y: String!
12634
+
12635
+ """Total volume in USD in the past year including all tokens"""
12636
+ volumeUsdAll1y: String!
12637
+
12638
+ """Realized profit in USD in the past year"""
12639
+ realizedProfitUsd1y: String!
12640
+
12641
+ """Average profit in USD per trade in the past year"""
12642
+ averageProfitUsdPerTrade1y: String!
12643
+
12644
+ """Average swap amount in USD in the past year"""
12645
+ averageSwapAmountUsd1y: String!
12646
+
12647
+ """Realized profit percentage in the past year"""
12648
+ realizedProfitPercentage1y: Float!
12649
+
12650
+ """Number of swaps in the past year"""
12651
+ swaps1y: Int!
12652
+
12653
+ """Total number of swaps in the past year including all tokens"""
12654
+ swapsAll1y: Int!
12655
+
12656
+ """Number of unique tokens traded in the past year"""
12657
+ uniqueTokens1y: Int!
12658
+
12659
+ """Win rate in the past year"""
12660
+ winRate1y: Float!
12661
+
12662
+ """The scammer score for the wallet."""
12663
+ scammerScore: Int
12664
+
12665
+ """The bot score for the wallet."""
12666
+ botScore: Int
12667
+
12668
+ """The network ID of the wallet (only present if filtered by network)"""
12669
+ networkId: Int
12670
+
12671
+ """
12672
+ The native token balance of the wallet (only present if filtered by network)
12673
+ """
12674
+ nativeTokenBalance: String
12675
+ }
12676
+
12677
+ input WalletFilters {
12678
+ """The unix timestamp for the last transaction from this wallet."""
12679
+ lastTransactionAt: NumberFilter
12680
+
12681
+ """The unix timestamp for the first transaction from this wallet."""
12682
+ firstTransactionAt: NumberFilter
12683
+
12684
+ """Volume in USD in the past day"""
12685
+ volumeUsd1d: NumberFilter
12686
+
12687
+ """Total volume in USD in the past day including all tokens"""
12688
+ volumeUsdAll1d: NumberFilter
12689
+
12690
+ """Realized profit in USD in the past day"""
12691
+ realizedProfitUsd1d: NumberFilter
12692
+
12693
+ """Average profit in USD per trade in the past day"""
12694
+ averageProfitUsdPerTrade1d: NumberFilter
12695
+
12696
+ """Average swap amount in USD in the past day"""
12697
+ averageSwapAmountUsd1d: NumberFilter
12698
+
12699
+ """Realized profit percentage in the past day"""
12700
+ realizedProfitPercentage1d: NumberFilter
12701
+
12702
+ """Number of swaps in the past day"""
12703
+ swaps1d: NumberFilter
12704
+
12705
+ """Total number of swaps in the past day including all tokens"""
12706
+ swapsAll1d: NumberFilter
12707
+
12708
+ """Number of unique tokens traded in the past day"""
12709
+ uniqueTokens1d: NumberFilter
12710
+
12711
+ """Win rate in the past day"""
12712
+ winRate1d: NumberFilter
12713
+
12714
+ """Volume in USD in the past week"""
12715
+ volumeUsd1w: NumberFilter
12716
+
12717
+ """Total volume in USD in the past week including all tokens"""
12718
+ volumeUsdAll1w: NumberFilter
12719
+
12720
+ """Realized profit in USD in the past week"""
12721
+ realizedProfitUsd1w: NumberFilter
12722
+
12723
+ """Average profit in USD per trade in the past week"""
12724
+ averageProfitUsdPerTrade1w: NumberFilter
12725
+
12726
+ """Average swap amount in USD in the past week"""
12727
+ averageSwapAmountUsd1w: NumberFilter
12728
+
12729
+ """Realized profit percentage in the past week"""
12730
+ realizedProfitPercentage1w: NumberFilter
12731
+
12732
+ """Number of swaps in the past week"""
12733
+ swaps1w: NumberFilter
12734
+
12735
+ """Total number of swaps in the past week including all tokens"""
12736
+ swapsAll1w: NumberFilter
12737
+
12738
+ """Number of unique tokens traded in the past week"""
12739
+ uniqueTokens1w: NumberFilter
12740
+
12741
+ """Win rate in the past week"""
12742
+ winRate1w: NumberFilter
12743
+
12744
+ """Volume in USD in the past 30 days"""
12745
+ volumeUsd30d: NumberFilter
12746
+
12747
+ """Total volume in USD in the past 30 days including all tokens"""
12748
+ volumeUsdAll30d: NumberFilter
12749
+
12750
+ """Realized profit in USD in the past 30 days"""
12751
+ realizedProfitUsd30d: NumberFilter
12752
+
12753
+ """Average profit in USD per trade in the past 30 days"""
12754
+ averageProfitUsdPerTrade30d: NumberFilter
12755
+
12756
+ """Average swap amount in USD in the past 30 days"""
12757
+ averageSwapAmountUsd30d: NumberFilter
12758
+
12759
+ """Realized profit percentage in the past 30 days"""
12760
+ realizedProfitPercentage30d: NumberFilter
12761
+
12762
+ """Number of swaps in the past 30 days"""
12763
+ swaps30d: NumberFilter
12764
+
12765
+ """Total number of swaps in the past 30 days including all tokens"""
12766
+ swapsAll30d: NumberFilter
12767
+
12768
+ """Number of unique tokens traded in the past 30 days"""
12769
+ uniqueTokens30d: NumberFilter
12770
+
12771
+ """Win rate in the past 30 days"""
12772
+ winRate30d: NumberFilter
12773
+
12774
+ """Volume in USD in the past year"""
12775
+ volumeUsd1y: NumberFilter
12776
+
12777
+ """Total volume in USD in the past year including all tokens"""
12778
+ volumeUsdAll1y: NumberFilter
12779
+
12780
+ """Realized profit in USD in the past year"""
12781
+ realizedProfitUsd1y: NumberFilter
12782
+
12783
+ """Average profit in USD per trade in the past year"""
12784
+ averageProfitUsdPerTrade1y: NumberFilter
12785
+
12786
+ """Average swap amount in USD in the past year"""
12787
+ averageSwapAmountUsd1y: NumberFilter
12788
+
12789
+ """Realized profit percentage in the past year"""
12790
+ realizedProfitPercentage1y: NumberFilter
12791
+
12792
+ """Number of swaps in the past year"""
12793
+ swaps1y: NumberFilter
12794
+
12795
+ """Total number of swaps in the past year including all tokens"""
12796
+ swapsAll1y: NumberFilter
12797
+
12798
+ """Number of unique tokens traded in the past year"""
12799
+ uniqueTokens1y: NumberFilter
12800
+
12801
+ """Win rate in the past year"""
12802
+ winRate1y: NumberFilter
12803
+
12804
+ """The scammer score for the wallet."""
12805
+ scammerScore: NumberFilter
12806
+
12807
+ """The bot score for the wallet."""
12808
+ botScore: NumberFilter
12809
+
12810
+ """The network ID to filter by."""
12811
+ networkId: Int
12812
+
12813
+ """
12814
+ The native token balance of the wallet. Can only be used in conjunction with `networkId` filter.
12815
+ """
12816
+ nativeTokenBalance: NumberFilter
12817
+ }
12818
+
12819
+ input WalletNetworkFilters {
12820
+ """The unix timestamp for the last transaction from this wallet."""
12821
+ lastTransactionAt: NumberFilter
12822
+
12823
+ """The unix timestamp for the first transaction from this wallet."""
12824
+ firstTransactionAt: NumberFilter
12825
+
12826
+ """Volume in USD in the past day"""
12827
+ volumeUsd1d: NumberFilter
12828
+
12829
+ """Total volume in USD in the past day including all tokens"""
12830
+ volumeUsdAll1d: NumberFilter
12831
+
12832
+ """Realized profit in USD in the past day"""
12833
+ realizedProfitUsd1d: NumberFilter
12834
+
12835
+ """Average profit in USD per trade in the past day"""
12836
+ averageProfitUsdPerTrade1d: NumberFilter
12837
+
12838
+ """Average swap amount in USD in the past day"""
12839
+ averageSwapAmountUsd1d: NumberFilter
12840
+
12841
+ """Realized profit percentage in the past day"""
12842
+ realizedProfitPercentage1d: NumberFilter
12843
+
12844
+ """Number of swaps in the past day"""
12845
+ swaps1d: NumberFilter
12846
+
12847
+ """Total number of swaps in the past day including all tokens"""
12848
+ swapsAll1d: NumberFilter
12849
+
12850
+ """Number of unique tokens traded in the past day"""
12851
+ uniqueTokens1d: NumberFilter
12852
+
12853
+ """Win rate in the past day"""
12854
+ winRate1d: NumberFilter
12855
+
12856
+ """Volume in USD in the past week"""
12857
+ volumeUsd1w: NumberFilter
12858
+
12859
+ """Total volume in USD in the past week including all tokens"""
12860
+ volumeUsdAll1w: NumberFilter
12861
+
12862
+ """Realized profit in USD in the past week"""
12863
+ realizedProfitUsd1w: NumberFilter
12864
+
12865
+ """Average profit in USD per trade in the past week"""
12866
+ averageProfitUsdPerTrade1w: NumberFilter
12867
+
12868
+ """Average swap amount in USD in the past week"""
12869
+ averageSwapAmountUsd1w: NumberFilter
12870
+
12871
+ """Realized profit percentage in the past week"""
12872
+ realizedProfitPercentage1w: NumberFilter
12873
+
12874
+ """Number of swaps in the past week"""
12875
+ swaps1w: NumberFilter
12876
+
12877
+ """Total number of swaps in the past week including all tokens"""
12878
+ swapsAll1w: NumberFilter
12879
+
12880
+ """Number of unique tokens traded in the past week"""
12881
+ uniqueTokens1w: NumberFilter
12882
+
12883
+ """Win rate in the past week"""
12884
+ winRate1w: NumberFilter
12885
+
12886
+ """Volume in USD in the past 30 days"""
12887
+ volumeUsd30d: NumberFilter
12888
+
12889
+ """Total volume in USD in the past 30 days including all tokens"""
12890
+ volumeUsdAll30d: NumberFilter
12891
+
12892
+ """Realized profit in USD in the past 30 days"""
12893
+ realizedProfitUsd30d: NumberFilter
12894
+
12895
+ """Average profit in USD per trade in the past 30 days"""
12896
+ averageProfitUsdPerTrade30d: NumberFilter
12897
+
12898
+ """Average swap amount in USD in the past 30 days"""
12899
+ averageSwapAmountUsd30d: NumberFilter
12900
+
12901
+ """Realized profit percentage in the past 30 days"""
12902
+ realizedProfitPercentage30d: NumberFilter
12903
+
12904
+ """Number of swaps in the past 30 days"""
12905
+ swaps30d: NumberFilter
12906
+
12907
+ """Total number of swaps in the past 30 days including all tokens"""
12908
+ swapsAll30d: NumberFilter
12909
+
12910
+ """Number of unique tokens traded in the past 30 days"""
12911
+ uniqueTokens30d: NumberFilter
12912
+
12913
+ """Win rate in the past 30 days"""
12914
+ winRate30d: NumberFilter
12915
+
12916
+ """Volume in USD in the past year"""
12917
+ volumeUsd1y: NumberFilter
12918
+
12919
+ """Total volume in USD in the past year including all tokens"""
12920
+ volumeUsdAll1y: NumberFilter
12921
+
12922
+ """Realized profit in USD in the past year"""
12923
+ realizedProfitUsd1y: NumberFilter
12924
+
12925
+ """Average profit in USD per trade in the past year"""
12926
+ averageProfitUsdPerTrade1y: NumberFilter
12927
+
12928
+ """Average swap amount in USD in the past year"""
12929
+ averageSwapAmountUsd1y: NumberFilter
12930
+
12931
+ """Realized profit percentage in the past year"""
12932
+ realizedProfitPercentage1y: NumberFilter
12933
+
12934
+ """Number of swaps in the past year"""
12935
+ swaps1y: NumberFilter
12936
+
12937
+ """Total number of swaps in the past year including all tokens"""
12938
+ swapsAll1y: NumberFilter
12939
+
12940
+ """Number of unique tokens traded in the past year"""
12941
+ uniqueTokens1y: NumberFilter
12942
+
12943
+ """Win rate in the past year"""
12944
+ winRate1y: NumberFilter
12945
+
12946
+ """The native token balance of the wallet."""
12947
+ nativeTokenBalance: NumberFilter
12948
+
12949
+ """
12950
+ 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.
12951
+ """
12952
+ scammerScore: NumberFilter
12953
+
12954
+ """
12955
+ 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.
12956
+ """
12957
+ botScore: NumberFilter
12958
+ }
12959
+
12960
+ input WalletNetworkRanking {
12961
+ """The attribute to rank wallets by."""
12962
+ attribute: WalletNetworkRankingAttribute
12963
+
12964
+ """The direction to apply to the ranking attribute."""
12965
+ direction: RankingDirection
12966
+ }
12967
+
12968
+ enum WalletNetworkRankingAttribute {
12969
+ firstTransactionAt
12970
+ lastTransactionAt
12971
+ volumeUsd1d
12972
+ volumeUsdAll1d
12973
+ realizedProfitUsd1d
12974
+ averageProfitUsdPerTrade1d
12975
+ averageSwapAmountUsd1d
12976
+ realizedProfitPercentage1d
12977
+ swaps1d
12978
+ swapsAll1d
12979
+ uniqueTokens1d
12980
+ winRate1d
12981
+ volumeUsd1w
12982
+ volumeUsdAll1w
12983
+ realizedProfitUsd1w
12984
+ averageProfitUsdPerTrade1w
12985
+ averageSwapAmountUsd1w
12986
+ realizedProfitPercentage1w
12987
+ swaps1w
12988
+ swapsAll1w
12989
+ uniqueTokens1w
12990
+ winRate1w
12991
+ volumeUsd30d
12992
+ volumeUsdAll30d
12993
+ realizedProfitUsd30d
12994
+ averageProfitUsdPerTrade30d
12995
+ averageSwapAmountUsd30d
12996
+ realizedProfitPercentage30d
12997
+ swaps30d
12998
+ swapsAll30d
12999
+ uniqueTokens30d
13000
+ winRate30d
13001
+ volumeUsd1y
13002
+ volumeUsdAll1y
13003
+ realizedProfitUsd1y
13004
+ averageProfitUsdPerTrade1y
13005
+ averageSwapAmountUsd1y
13006
+ realizedProfitPercentage1y
13007
+ swaps1y
13008
+ swapsAll1y
13009
+ uniqueTokens1y
13010
+ winRate1y
13011
+ nativeTokenBalance
13012
+ scammerScore
13013
+ botScore
13014
+ }
13015
+
13016
+ type WalletNftCollection {
13017
+ """The address of the wallet."""
13018
+ walletAddress: String!
13019
+
13020
+ """The collection ID (`collectionAddress:networkId`)."""
13021
+ collectionId: String!
13022
+
13023
+ """The number of items held by the wallet."""
13024
+ quantity: String!
13025
+ }
13026
+
13027
+ type WalletNftCollectionAsset {
13028
+ """The id of the nft asset."""
13029
+ tokenId: String!
13030
+
13031
+ """
13032
+ The number of instances of the nft held by the wallet (Applicable to ERC1155 NFTs).
13033
+ """
13034
+ quantity: String!
13035
+ }
13036
+
13037
+ input WalletNftCollectionAssetsInput {
13038
+ """The address of the wallet."""
13039
+ walletAddress: String!
13040
+
13041
+ """The collection ID (`collectionAddress:networkId`)."""
13042
+ collectionId: String!
13043
+
13044
+ """A cursor for use in pagination."""
13045
+ cursor: String
13046
+ }
13047
+
13048
+ type WalletNftCollectionAssetsResponse {
13049
+ """The list of nft assets for a wallet."""
13050
+ items: [WalletNftCollectionAsset]!
13051
+
13052
+ """The address of the wallet."""
13053
+ walletAddress: String!
13054
+
13055
+ """The collection ID (`collectionAddress:networkId`)."""
13056
+ collectionId: String!
13057
+
13058
+ """A cursor for use in pagination."""
13059
+ cursor: String
13060
+ }
11710
13061
 
11711
13062
  input WalletNftCollectionsInput {
11712
13063
  """The address of the wallet."""
@@ -11724,6 +13075,443 @@ type WalletNftCollectionsResponse {
11724
13075
  cursor: String
11725
13076
  }
11726
13077
 
13078
+ input WalletRanking {
13079
+ """The attribute to rank wallets by."""
13080
+ attribute: WalletRankingAttribute
13081
+
13082
+ """The direction to apply to the ranking attribute."""
13083
+ direction: RankingDirection
13084
+ }
13085
+
13086
+ enum WalletRankingAttribute {
13087
+ firstTransactionAt
13088
+ lastTransactionAt
13089
+ volumeUsd1d
13090
+ volumeUsdAll1d
13091
+ realizedProfitUsd1d
13092
+ averageProfitUsdPerTrade1d
13093
+ averageSwapAmountUsd1d
13094
+ realizedProfitPercentage1d
13095
+ swaps1d
13096
+ swapsAll1d
13097
+ uniqueTokens1d
13098
+ winRate1d
13099
+ volumeUsd1w
13100
+ volumeUsdAll1w
13101
+ realizedProfitUsd1w
13102
+ averageProfitUsdPerTrade1w
13103
+ averageSwapAmountUsd1w
13104
+ realizedProfitPercentage1w
13105
+ swaps1w
13106
+ swapsAll1w
13107
+ uniqueTokens1w
13108
+ winRate1w
13109
+ volumeUsd30d
13110
+ volumeUsdAll30d
13111
+ realizedProfitUsd30d
13112
+ averageProfitUsdPerTrade30d
13113
+ averageSwapAmountUsd30d
13114
+ realizedProfitPercentage30d
13115
+ swaps30d
13116
+ swapsAll30d
13117
+ uniqueTokens30d
13118
+ winRate30d
13119
+ volumeUsd1y
13120
+ volumeUsdAll1y
13121
+ realizedProfitUsd1y
13122
+ averageProfitUsdPerTrade1y
13123
+ averageSwapAmountUsd1y
13124
+ realizedProfitPercentage1y
13125
+ swaps1y
13126
+ swapsAll1y
13127
+ uniqueTokens1y
13128
+ winRate1y
13129
+ nativeTokenBalance
13130
+ scammerScore
13131
+ botScore
13132
+ }
13133
+
13134
+ """The period the wallet stats are for."""
13135
+ enum WalletStatsDuration {
13136
+ year1
13137
+ day30
13138
+ week1
13139
+ day1
13140
+ }
13141
+
13142
+ input WalletTokenFilterRange {
13143
+ """The minimum value (inclusive)"""
13144
+ min: String
13145
+
13146
+ """The maximum value (inclusive)"""
13147
+ max: String
13148
+ }
13149
+
13150
+ input WalletTokenFilters {
13151
+ """Filter by last transaction timestamp"""
13152
+ lastTransactionAt: WalletTokenFilterRange
13153
+
13154
+ """Filter by first transaction timestamp"""
13155
+ firstTransactionAt: WalletTokenFilterRange
13156
+
13157
+ """Filter by token amount bought in the past day"""
13158
+ tokenAmountBought1d: WalletTokenFilterRange
13159
+
13160
+ """Filter by token amount sold in the past day"""
13161
+ tokenAmountSold1d: WalletTokenFilterRange
13162
+
13163
+ """Filter by amount bought in USD in the past day"""
13164
+ amountBoughtUsd1d: WalletTokenFilterRange
13165
+
13166
+ """Filter by amount sold in USD in the past day"""
13167
+ amountSoldUsd1d: WalletTokenFilterRange
13168
+
13169
+ """Filter by realized profit in USD in the past day"""
13170
+ realizedProfitUsd1d: WalletTokenFilterRange
13171
+
13172
+ """Filter by realized profit percentage in the past day"""
13173
+ realizedProfitPercentage1d: WalletTokenFilterRange
13174
+
13175
+ """Filter by number of buys in the past day"""
13176
+ buys1d: WalletTokenFilterRange
13177
+
13178
+ """Filter by number of sells in the past day"""
13179
+ sells1d: WalletTokenFilterRange
13180
+
13181
+ """Filter by token amount bought in the past week"""
13182
+ tokenAmountBought1w: WalletTokenFilterRange
13183
+
13184
+ """Filter by token amount sold in the past week"""
13185
+ tokenAmountSold1w: WalletTokenFilterRange
13186
+
13187
+ """Filter by amount bought in USD in the past week"""
13188
+ amountBoughtUsd1w: WalletTokenFilterRange
13189
+
13190
+ """Filter by amount sold in USD in the past week"""
13191
+ amountSoldUsd1w: WalletTokenFilterRange
13192
+
13193
+ """Filter by realized profit in USD in the past week"""
13194
+ realizedProfitUsd1w: WalletTokenFilterRange
13195
+
13196
+ """Filter by realized profit percentage in the past week"""
13197
+ realizedProfitPercentage1w: WalletTokenFilterRange
13198
+
13199
+ """Filter by number of buys in the past week"""
13200
+ buys1w: WalletTokenFilterRange
13201
+
13202
+ """Filter by number of sells in the past week"""
13203
+ sells1w: WalletTokenFilterRange
13204
+
13205
+ """Filter by token amount bought in the past 30 days"""
13206
+ tokenAmountBought30d: WalletTokenFilterRange
13207
+
13208
+ """Filter by token amount sold in the past 30 days"""
13209
+ tokenAmountSold30d: WalletTokenFilterRange
13210
+
13211
+ """Filter by amount bought in USD in the past 30 days"""
13212
+ amountBoughtUsd30d: WalletTokenFilterRange
13213
+
13214
+ """Filter by amount sold in USD in the past 30 days"""
13215
+ amountSoldUsd30d: WalletTokenFilterRange
13216
+
13217
+ """Filter by realized profit in USD in the past 30 days"""
13218
+ realizedProfitUsd30d: WalletTokenFilterRange
13219
+
13220
+ """Filter by realized profit percentage in the past 30 days"""
13221
+ realizedProfitPercentage30d: WalletTokenFilterRange
13222
+
13223
+ """Filter by number of buys in the past 30 days"""
13224
+ buys30d: WalletTokenFilterRange
13225
+
13226
+ """Filter by number of sells in the past 30 days"""
13227
+ sells30d: WalletTokenFilterRange
13228
+
13229
+ """Filter by token amount bought in the past year"""
13230
+ tokenAmountBought1y: WalletTokenFilterRange
13231
+
13232
+ """Filter by token amount sold in the past year"""
13233
+ tokenAmountSold1y: WalletTokenFilterRange
13234
+
13235
+ """Filter by amount bought in USD in the past year"""
13236
+ amountBoughtUsd1y: WalletTokenFilterRange
13237
+
13238
+ """Filter by amount sold in USD in the past year"""
13239
+ amountSoldUsd1y: WalletTokenFilterRange
13240
+
13241
+ """Filter by realized profit in USD in the past year"""
13242
+ realizedProfitUsd1y: WalletTokenFilterRange
13243
+
13244
+ """Filter by realized profit percentage in the past year"""
13245
+ realizedProfitPercentage1y: WalletTokenFilterRange
13246
+
13247
+ """Filter by number of buys in the past year"""
13248
+ buys1y: WalletTokenFilterRange
13249
+
13250
+ """Filter by number of sells in the past year"""
13251
+ sells1y: WalletTokenFilterRange
13252
+
13253
+ """Filter by token balance"""
13254
+ tokenBalance: WalletTokenFilterRange
13255
+
13256
+ """Filter by purchased token balance"""
13257
+ purchasedTokenBalance: WalletTokenFilterRange
13258
+
13259
+ """Filter by token acquisition cost in USD"""
13260
+ tokenAcquisitionCostUsd: WalletTokenFilterRange
13261
+
13262
+ """Filter by scammer score"""
13263
+ scammerScore: WalletTokenFilterRange
13264
+
13265
+ """Filter by bot score"""
13266
+ botScore: WalletTokenFilterRange
13267
+ }
13268
+
13269
+ input WalletTokenFiltersV2 {
13270
+ """Filter by last transaction timestamp"""
13271
+ lastTransactionAt: NumberFilter
13272
+
13273
+ """Filter by first transaction timestamp"""
13274
+ firstTransactionAt: NumberFilter
13275
+
13276
+ """Filter by token amount bought in the past day"""
13277
+ tokenAmountBought1d: NumberFilter
13278
+
13279
+ """Filter by token amount sold in the past day"""
13280
+ tokenAmountSold1d: NumberFilter
13281
+
13282
+ """Filter by amount bought in USD in the past day"""
13283
+ amountBoughtUsd1d: NumberFilter
13284
+
13285
+ """Filter by amount sold in USD in the past day"""
13286
+ amountSoldUsd1d: NumberFilter
13287
+
13288
+ """Filter by realized profit in USD in the past day"""
13289
+ realizedProfitUsd1d: NumberFilter
13290
+
13291
+ """Filter by realized profit percentage in the past day"""
13292
+ realizedProfitPercentage1d: NumberFilter
13293
+
13294
+ """Filter by number of buys in the past day"""
13295
+ buys1d: NumberFilter
13296
+
13297
+ """Filter by number of sells in the past day"""
13298
+ sells1d: NumberFilter
13299
+
13300
+ """Filter by token amount bought in the past week"""
13301
+ tokenAmountBought1w: NumberFilter
13302
+
13303
+ """Filter by token amount sold in the past week"""
13304
+ tokenAmountSold1w: NumberFilter
13305
+
13306
+ """Filter by amount bought in USD in the past week"""
13307
+ amountBoughtUsd1w: NumberFilter
13308
+
13309
+ """Filter by amount sold in USD in the past week"""
13310
+ amountSoldUsd1w: NumberFilter
13311
+
13312
+ """Filter by realized profit in USD in the past week"""
13313
+ realizedProfitUsd1w: NumberFilter
13314
+
13315
+ """Filter by realized profit percentage in the past week"""
13316
+ realizedProfitPercentage1w: NumberFilter
13317
+
13318
+ """Filter by number of buys in the past week"""
13319
+ buys1w: NumberFilter
13320
+
13321
+ """Filter by number of sells in the past week"""
13322
+ sells1w: NumberFilter
13323
+
13324
+ """Filter by token amount bought in the past 30 days"""
13325
+ tokenAmountBought30d: NumberFilter
13326
+
13327
+ """Filter by token amount sold in the past 30 days"""
13328
+ tokenAmountSold30d: NumberFilter
13329
+
13330
+ """Filter by amount bought in USD in the past 30 days"""
13331
+ amountBoughtUsd30d: NumberFilter
13332
+
13333
+ """Filter by amount sold in USD in the past 30 days"""
13334
+ amountSoldUsd30d: NumberFilter
13335
+
13336
+ """Filter by realized profit in USD in the past 30 days"""
13337
+ realizedProfitUsd30d: NumberFilter
13338
+
13339
+ """Filter by realized profit percentage in the past 30 days"""
13340
+ realizedProfitPercentage30d: NumberFilter
13341
+
13342
+ """Filter by number of buys in the past 30 days"""
13343
+ buys30d: NumberFilter
13344
+
13345
+ """Filter by number of sells in the past 30 days"""
13346
+ sells30d: NumberFilter
13347
+
13348
+ """Filter by token amount bought in the past year"""
13349
+ tokenAmountBought1y: NumberFilter
13350
+
13351
+ """Filter by token amount sold in the past year"""
13352
+ tokenAmountSold1y: NumberFilter
13353
+
13354
+ """Filter by amount bought in USD in the past year"""
13355
+ amountBoughtUsd1y: NumberFilter
13356
+
13357
+ """Filter by amount sold in USD in the past year"""
13358
+ amountSoldUsd1y: NumberFilter
13359
+
13360
+ """Filter by realized profit in USD in the past year"""
13361
+ realizedProfitUsd1y: NumberFilter
13362
+
13363
+ """Filter by realized profit percentage in the past year"""
13364
+ realizedProfitPercentage1y: NumberFilter
13365
+
13366
+ """Filter by number of buys in the past year"""
13367
+ buys1y: NumberFilter
13368
+
13369
+ """Filter by number of sells in the past year"""
13370
+ sells1y: NumberFilter
13371
+
13372
+ """Filter by token balance"""
13373
+ tokenBalance: NumberFilter
13374
+
13375
+ """Filter by purchased token balance"""
13376
+ purchasedTokenBalance: NumberFilter
13377
+
13378
+ """Filter by token acquisition cost in USD"""
13379
+ tokenAcquisitionCostUsd: NumberFilter
13380
+
13381
+ """Filter by scammer score"""
13382
+ scammerScore: NumberFilter
13383
+
13384
+ """Filter by bot score"""
13385
+ botScore: NumberFilter
13386
+ }
13387
+
13388
+ input WalletTokenRanking {
13389
+ """The attribute to rank wallets by"""
13390
+ attribute: WalletTokenRankingAttribute!
13391
+
13392
+ """The direction to apply to the ranking attribute"""
13393
+ direction: RankingDirection!
13394
+ }
13395
+
13396
+ enum WalletTokenRankingAttribute {
13397
+ """The first transaction timestamp"""
13398
+ firstTransactionAt
13399
+
13400
+ """The last transaction timestamp"""
13401
+ lastTransactionAt
13402
+
13403
+ """Token amount bought in the past day"""
13404
+ tokenAmountBought1d
13405
+
13406
+ """Token amount sold in the past day"""
13407
+ tokenAmountSold1d
13408
+
13409
+ """Amount bought in USD in the past day"""
13410
+ amountBoughtUsd1d
13411
+
13412
+ """Amount sold in USD in the past day"""
13413
+ amountSoldUsd1d
13414
+
13415
+ """Realized profit in USD in the past day"""
13416
+ realizedProfitUsd1d
13417
+
13418
+ """Realized profit percentage in the past day"""
13419
+ realizedProfitPercentage1d
13420
+
13421
+ """Number of buys in the past day"""
13422
+ buys1d
13423
+
13424
+ """Number of sells in the past day"""
13425
+ sells1d
13426
+
13427
+ """Token amount bought in the past week"""
13428
+ tokenAmountBought1w
13429
+
13430
+ """Token amount sold in the past week"""
13431
+ tokenAmountSold1w
13432
+
13433
+ """Amount bought in USD in the past week"""
13434
+ amountBoughtUsd1w
13435
+
13436
+ """Amount sold in USD in the past week"""
13437
+ amountSoldUsd1w
13438
+
13439
+ """Realized profit in USD in the past week"""
13440
+ realizedProfitUsd1w
13441
+
13442
+ """Realized profit percentage in the past week"""
13443
+ realizedProfitPercentage1w
13444
+
13445
+ """Number of buys in the past week"""
13446
+ buys1w
13447
+
13448
+ """Number of sells in the past week"""
13449
+ sells1w
13450
+
13451
+ """Token amount bought in the past 30 days"""
13452
+ tokenAmountBought30d
13453
+
13454
+ """Token amount sold in the past 30 days"""
13455
+ tokenAmountSold30d
13456
+
13457
+ """Amount bought in USD in the past 30 days"""
13458
+ amountBoughtUsd30d
13459
+
13460
+ """Amount sold in USD in the past 30 days"""
13461
+ amountSoldUsd30d
13462
+
13463
+ """Realized profit in USD in the past 30 days"""
13464
+ realizedProfitUsd30d
13465
+
13466
+ """Realized profit percentage in the past 30 days"""
13467
+ realizedProfitPercentage30d
13468
+
13469
+ """Number of buys in the past 30 days"""
13470
+ buys30d
13471
+
13472
+ """Number of sells in the past 30 days"""
13473
+ sells30d
13474
+
13475
+ """Token amount bought in the past year"""
13476
+ tokenAmountBought1y
13477
+
13478
+ """Token amount sold in the past year"""
13479
+ tokenAmountSold1y
13480
+
13481
+ """Amount bought in USD in the past year"""
13482
+ amountBoughtUsd1y
13483
+
13484
+ """Amount sold in USD in the past year"""
13485
+ amountSoldUsd1y
13486
+
13487
+ """Realized profit in USD in the past year"""
13488
+ realizedProfitUsd1y
13489
+
13490
+ """Realized profit percentage in the past year"""
13491
+ realizedProfitPercentage1y
13492
+
13493
+ """Number of buys in the past year"""
13494
+ buys1y
13495
+
13496
+ """Number of sells in the past year"""
13497
+ sells1y
13498
+
13499
+ """Token balance"""
13500
+ tokenBalance
13501
+
13502
+ """Purchased token balance"""
13503
+ purchasedTokenBalance
13504
+
13505
+ """Token acquisition cost in USD"""
13506
+ tokenAcquisitionCostUsd
13507
+
13508
+ """The scammer score for the wallet."""
13509
+ scammerScore
13510
+
13511
+ """The bot score for the wallet."""
13512
+ botScore
13513
+ }
13514
+
11727
13515
  """Metadata for a washtrade label."""
11728
13516
  type WashtradeLabelForEvent {
11729
13517
  """The label type, 'washtrade'"""
@@ -11785,7 +13573,7 @@ type Webhook {
11785
13573
  }
11786
13574
 
11787
13575
  """Webhook conditions that must be met for each webhook type."""
11788
- union WebhookCondition = PriceEventWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
13576
+ union WebhookCondition = PriceEventWebhookCondition | MarketCapEventWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
11789
13577
 
11790
13578
  """NFT marketplace names."""
11791
13579
  enum WebhookNftEventFillSource {
@@ -11819,6 +13607,7 @@ enum WebhookType {
11819
13607
  NFT_EVENT
11820
13608
  TOKEN_PAIR_EVENT
11821
13609
  RAW_TRANSACTION
13610
+ MARKET_CAP_EVENT
11822
13611
  }
11823
13612
 
11824
13613
  """Price stats for a pair over a time frame."""
@@ -11848,6 +13637,35 @@ type WindowedDetailedCurrencyPairStats {
11848
13637
  liquidity: DetailedPairStatsStringMetrics
11849
13638
  }
11850
13639
 
13640
+ """The currency stats for a wallet over a time window."""
13641
+ type WindowedDetailedCurrencyWalletStats {
13642
+ """The volume in USD"""
13643
+ volumeUsd: String!
13644
+
13645
+ """
13646
+ The volume in USD including tokens sold for which we do not have a price
13647
+ """
13648
+ volumeUsdAll: String!
13649
+
13650
+ """The cost of tokens held in the wallet"""
13651
+ heldTokenAcquisitionCostUsd: String!
13652
+
13653
+ """The cost of tokens sold during the period"""
13654
+ soldTokenAcquisitionCostUsd: String!
13655
+
13656
+ """The realized profit in USD"""
13657
+ realizedProfitUsd: String!
13658
+
13659
+ """The average profit in USD per trade"""
13660
+ averageProfitUsdPerTrade: String!
13661
+
13662
+ """The average swap amount in USD"""
13663
+ averageSwapAmountUsd: String!
13664
+
13665
+ """The realized profit percentage"""
13666
+ realizedProfitPercentage: Float!
13667
+ }
13668
+
11851
13669
  """
11852
13670
  Price stats for an NFT collection over a time frame. Either in USD or the network's base token.
11853
13671
  """
@@ -11945,6 +13763,21 @@ type WindowedDetailedNonCurrencyPairStats {
11945
13763
  sellers: DetailedPairStatsNumberMetrics
11946
13764
  }
11947
13765
 
13766
+ """The non-currency stats for a wallet over a time window."""
13767
+ type WindowedDetailedNonCurrencyWalletStats {
13768
+ """The number of swaps"""
13769
+ swaps: Int!
13770
+
13771
+ """The number of unique tokens"""
13772
+ uniqueTokens: Int!
13773
+
13774
+ """The number of wins"""
13775
+ wins: Int!
13776
+
13777
+ """The number of losses"""
13778
+ losses: Int!
13779
+ }
13780
+
11948
13781
  """Detailed pair stats over a time frame."""
11949
13782
  type WindowedDetailedPairStats {
11950
13783
  """The duration used to request detailed pair stats."""
@@ -12010,4 +13843,28 @@ type WindowedDetailedStats {
12010
13843
 
12011
13844
  """The sell volume over the window."""
12012
13845
  sellVolume: DetailedStatsStringMetrics
13846
+ }
13847
+
13848
+ """The stats for a wallet over a time window."""
13849
+ type WindowedWalletStats {
13850
+ """The wallet address"""
13851
+ walletAddress: String!
13852
+
13853
+ """The network ID"""
13854
+ networkId: Int
13855
+
13856
+ """The start timestamp"""
13857
+ start: Int!
13858
+
13859
+ """The end timestamp"""
13860
+ end: Int!
13861
+
13862
+ """The last transaction timestamp"""
13863
+ lastTransactionAt: Int!
13864
+
13865
+ """The stats related to currency"""
13866
+ statsUsd: WindowedDetailedCurrencyWalletStats!
13867
+
13868
+ """The stats related to non-currency"""
13869
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats!
12013
13870
  }