@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
@@ -18,6 +18,15 @@ export type Scalars = {
18
18
  link__Import: { input: any; output: any; }
19
19
  };
20
20
 
21
+ /** Response returned by `onEventsCreatedByMaker`. */
22
+ export type AddEventsByMakerOutput = {
23
+ __typename?: 'AddEventsByMakerOutput';
24
+ /** A list of transactions for the maker. */
25
+ events: Array<Event>;
26
+ /** The address of the maker. */
27
+ makerAddress: Scalars['String']['output'];
28
+ };
29
+
21
30
  /** Response returned by `onEventsCreated`. */
22
31
  export type AddEventsOutput = {
23
32
  __typename?: 'AddEventsOutput';
@@ -78,6 +87,14 @@ export type AddTrackedWalletEventsOutput = {
78
87
  userId: Scalars['String']['output'];
79
88
  };
80
89
 
90
+ export type AddUnconfirmedEventsByMakerOutput = {
91
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
92
+ /** A list of transactions for the maker. */
93
+ events: Array<UnconfirmedEvent>;
94
+ /** The wallet address of the maker. */
95
+ makerAddress: Scalars['String']['output'];
96
+ };
97
+
81
98
  /** Response returned by `onUnconfirmedEventsCreated`. */
82
99
  export type AddUnconfirmedEventsOutput = {
83
100
  __typename?: 'AddUnconfirmedEventsOutput';
@@ -151,16 +168,22 @@ export type Balance = {
151
168
  address: Scalars['String']['output'];
152
169
  /** The balance held by the wallet. */
153
170
  balance: Scalars['String']['output'];
171
+ /** The balance held by the wallet in USD. */
172
+ balanceUsd?: Maybe<Scalars['String']['output']>;
154
173
  /** The time that this address first held a token. */
155
174
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
156
175
  /** The wallet network. */
157
176
  networkId: Scalars['Int']['output'];
158
177
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
159
178
  shiftedBalance: Scalars['Float']['output'];
179
+ /** Metadata for the token. */
180
+ token?: Maybe<EnhancedToken>;
160
181
  /** The contract address of the token. */
161
182
  tokenAddress: Scalars['String']['output'];
162
183
  /** The ID of the token (`tokenAddress:networkId`). */
163
184
  tokenId: Scalars['String']['output'];
185
+ /** The token price in USD. */
186
+ tokenPriceUsd?: Maybe<Scalars['String']['output']>;
164
187
  /** The ID of the wallet (`walletAddress:networkId`). */
165
188
  walletId: Scalars['String']['output'];
166
189
  };
@@ -169,17 +192,19 @@ export type BalancesInput = {
169
192
  /** A cursor for use in pagination. */
170
193
  cursor?: InputMaybe<Scalars['String']['input']>;
171
194
  /**
172
- * Optional token specifically request the balance for.
195
+ * Optional token specifically request the balance for. Only works with `walletId`.
173
196
  * @deprecated Use tokens list instead
174
197
  */
175
198
  filterToken?: InputMaybe<Scalars['String']['input']>;
176
- /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
199
+ /** Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of `networks`. Does not apply when using `tokens`. */
177
200
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
178
- /** The maximum number of holdings to return. */
201
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
179
202
  limit?: InputMaybe<Scalars['Int']['input']>;
180
203
  /** The network IDs to filter by. */
181
204
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
182
- /** The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`). */
205
+ /** Whether to remove scam tokens from the response. */
206
+ removeScams?: InputMaybe<Scalars['Boolean']['input']>;
207
+ /** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
183
208
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
184
209
  /** The wallet address to filter by. */
185
210
  walletAddress?: InputMaybe<Scalars['String']['input']>;
@@ -449,6 +474,38 @@ export type CreateApiTokensInput = {
449
474
  requestLimit?: InputMaybe<Scalars['String']['input']>;
450
475
  };
451
476
 
477
+ /** Input for creating a market cap webhook. */
478
+ export type CreateMarketCapWebhookArgs = {
479
+ /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
480
+ alertRecurrence: AlertRecurrence;
481
+ /** 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). */
482
+ bucketId?: InputMaybe<Scalars['String']['input']>;
483
+ /** 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). */
484
+ bucketSortkey?: InputMaybe<Scalars['String']['input']>;
485
+ /** The url to which the webhook message should be sent. */
486
+ callbackUrl: Scalars['String']['input'];
487
+ /** The conditions which must be met in order for the webhook to send a message. */
488
+ conditions: MarketCapEventWebhookConditionInput;
489
+ /** 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. */
490
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
491
+ /** 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. */
492
+ groupId?: InputMaybe<Scalars['String']['input']>;
493
+ /** The name of the webhook (max 128 characters). */
494
+ name: Scalars['String']['input'];
495
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
496
+ publishingType?: InputMaybe<PublishingType>;
497
+ /** The settings for retrying failed webhook messages. */
498
+ retrySettings?: InputMaybe<RetrySettingsInput>;
499
+ /** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
500
+ securityToken: Scalars['String']['input'];
501
+ };
502
+
503
+ /** Input for creating market cap webhooks. */
504
+ export type CreateMarketCapWebhooksInput = {
505
+ /** A list of market cap webhooks to create. */
506
+ webhooks: Array<CreateMarketCapWebhookArgs>;
507
+ };
508
+
452
509
  /** Input for creating an NFT event webhook. */
453
510
  export type CreateNftEventWebhookArgs = {
454
511
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
@@ -579,6 +636,8 @@ export type CreateTokenPairEventWebhooksInput = {
579
636
 
580
637
  /** Input for creating webhooks. */
581
638
  export type CreateWebhooksInput = {
639
+ /** Input for creating market cap webhooks. */
640
+ marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
582
641
  /** Input for creating NFT event webhooks. */
583
642
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
584
643
  /** Input for creating price webhooks. */
@@ -592,6 +651,8 @@ export type CreateWebhooksInput = {
592
651
  /** Result returned by `createWebhooks`. */
593
652
  export type CreateWebhooksOutput = {
594
653
  __typename?: 'CreateWebhooksOutput';
654
+ /** The list of market cap event webhooks that were created. */
655
+ marketCapWebhooks: Array<Maybe<Webhook>>;
595
656
  /** The list of NFT event webhooks that were created. */
596
657
  nftEventWebhooks: Array<Maybe<Webhook>>;
597
658
  /** The list of price webhooks that were created. */
@@ -852,6 +913,48 @@ export enum DetailedStatsWindowSize {
852
913
  Min5 = 'min5'
853
914
  }
854
915
 
916
+ /** The detailed stats for a wallet. */
917
+ export type DetailedWalletStats = {
918
+ __typename?: 'DetailedWalletStats';
919
+ /** The likelihood of the wallet being a bot */
920
+ botScore?: Maybe<Scalars['Int']['output']>;
921
+ /** The labels associated with the wallet */
922
+ labels: Array<Scalars['String']['output']>;
923
+ /** The last transaction timestamp */
924
+ lastTransactionAt: Scalars['Int']['output'];
925
+ /** The network breakdown */
926
+ networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
927
+ /**
928
+ * The network specific stats
929
+ * @deprecated Use networkBreakdown instead
930
+ */
931
+ networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
932
+ /** The likelihood of the wallet being a scammer */
933
+ scammerScore?: Maybe<Scalars['Int']['output']>;
934
+ /** The stats for the last day */
935
+ statsDay1?: Maybe<WindowedWalletStats>;
936
+ /** The stats for the last 30 days */
937
+ statsDay30?: Maybe<WindowedWalletStats>;
938
+ /** The stats for the last week */
939
+ statsWeek1?: Maybe<WindowedWalletStats>;
940
+ /** The stats for the last year */
941
+ statsYear1?: Maybe<WindowedWalletStats>;
942
+ /** The wallet address */
943
+ walletAddress: Scalars['String']['output'];
944
+ };
945
+
946
+ /** The input for detailed wallet stats. */
947
+ export type DetailedWalletStatsInput = {
948
+ /** Whether to include network breakdown stats */
949
+ includeNetworkBreakdown?: InputMaybe<Scalars['Boolean']['input']>;
950
+ /** The network ID */
951
+ networkId?: InputMaybe<Scalars['Int']['input']>;
952
+ /** The timestamp to get stats for */
953
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
954
+ /** The wallet address */
955
+ walletAddress: Scalars['String']['input'];
956
+ };
957
+
855
958
  /** Metadata for a contract. */
856
959
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
857
960
 
@@ -1020,6 +1123,8 @@ export type Event = {
1020
1123
  transactionIndex: Scalars['Int']['output'];
1021
1124
  /** The age of the wallet in seconds. */
1022
1125
  walletAge?: Maybe<Scalars['Int']['output']>;
1126
+ /** Labels attributed to the wallet. */
1127
+ walletLabels?: Maybe<Array<Scalars['String']['output']>>;
1023
1128
  };
1024
1129
 
1025
1130
  /** Response returned by `getTokenEvents`. */
@@ -1316,6 +1421,78 @@ export type FilterExchange = {
1316
1421
  tradeUrl?: Maybe<Scalars['String']['output']>;
1317
1422
  };
1318
1423
 
1424
+ /** The input for filtering wallets for a network. */
1425
+ export type FilterNetworkWalletsInput = {
1426
+ /** Exclude wallets with these labels. */
1427
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1428
+ /** A set of filters to apply. */
1429
+ filters?: InputMaybe<WalletNetworkFilters>;
1430
+ /** Include wallets with these labels. */
1431
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1432
+ /** The maximum number of wallets to return. */
1433
+ limit?: InputMaybe<Scalars['Int']['input']>;
1434
+ /** The network ID to filter wallets for */
1435
+ networkId: Scalars['Int']['input'];
1436
+ /** 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. */
1437
+ offset?: InputMaybe<Scalars['Int']['input']>;
1438
+ /** A list of ranking attributes to apply. */
1439
+ rankings?: InputMaybe<Array<InputMaybe<WalletNetworkRanking>>>;
1440
+ /** A list of wallet addresses to filter by. */
1441
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1442
+ };
1443
+
1444
+ /** The input for filtering wallets for a token. */
1445
+ export type FilterTokenWalletsInput = {
1446
+ /** Exclude wallets with these labels. */
1447
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1448
+ /**
1449
+ * A set of filters to apply
1450
+ * @deprecated Use filtersV2 instead
1451
+ */
1452
+ filters?: InputMaybe<WalletTokenFilters>;
1453
+ /** A set of filters to apply */
1454
+ filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1455
+ /** Include wallets with these labels. */
1456
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1457
+ /** The maximum number of wallets to return */
1458
+ limit?: InputMaybe<Scalars['Int']['input']>;
1459
+ /** The network ID to filter wallets for */
1460
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1461
+ /** Where in the list the server should start when returning items */
1462
+ offset?: InputMaybe<Scalars['Int']['input']>;
1463
+ /** A phrase to search for in token symbol and name */
1464
+ phrase?: InputMaybe<Scalars['String']['input']>;
1465
+ /** A list of ranking attributes to apply */
1466
+ rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1467
+ /** The ID of the token to filter wallets for */
1468
+ tokenId?: InputMaybe<Scalars['String']['input']>;
1469
+ /**
1470
+ * The wallet address to filter wallets for
1471
+ * @deprecated Use wallets instead
1472
+ */
1473
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
1474
+ /** A list of wallet addresses to filter wallets for */
1475
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1476
+ };
1477
+
1478
+ /** The input for filtering wallets. */
1479
+ export type FilterWalletsInput = {
1480
+ /** Exclude wallets with these labels. */
1481
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1482
+ /** A set of filters to apply. */
1483
+ filters?: InputMaybe<WalletFilters>;
1484
+ /** Include wallets with these labels. */
1485
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1486
+ /** The maximum number of wallets to return. */
1487
+ limit?: InputMaybe<Scalars['Int']['input']>;
1488
+ /** 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. */
1489
+ offset?: InputMaybe<Scalars['Int']['input']>;
1490
+ /** A list of ranking attributes to apply. */
1491
+ rankings?: InputMaybe<Array<InputMaybe<WalletRanking>>>;
1492
+ /** A list of wallet addresses to filter by. */
1493
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1494
+ };
1495
+
1319
1496
  /** Metadata for a front-run label. */
1320
1497
  export type FrontRunLabelData = {
1321
1498
  __typename?: 'FrontRunLabelData';
@@ -1375,13 +1552,13 @@ export type GetDetailedPairsStatsInput = {
1375
1552
 
1376
1553
  export type GetGasEstimateInput = {
1377
1554
  customGas?: InputMaybe<Scalars['String']['input']>;
1378
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1555
+ exchangeAddress: Scalars['String']['input'];
1379
1556
  gasPrice?: InputMaybe<GasPrice>;
1380
1557
  inputTokenAddress: Scalars['String']['input'];
1381
1558
  inputTokenAmount: Scalars['String']['input'];
1382
1559
  networkId: Scalars['Int']['input'];
1383
1560
  outputTokenAddress: Scalars['String']['input'];
1384
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1561
+ poolAddress: Scalars['String']['input'];
1385
1562
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1386
1563
  slippage?: InputMaybe<Scalars['Float']['input']>;
1387
1564
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1462,12 +1639,12 @@ export type GetPriceInput = {
1462
1639
 
1463
1640
  export type GetQuoteInput = {
1464
1641
  customGas?: InputMaybe<Scalars['String']['input']>;
1465
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1642
+ exchangeAddress: Scalars['String']['input'];
1466
1643
  inputTokenAddress: Scalars['String']['input'];
1467
1644
  inputTokenAmount: Scalars['String']['input'];
1468
1645
  networkId: Scalars['Int']['input'];
1469
1646
  outputTokenAddress: Scalars['String']['input'];
1470
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1647
+ poolAddress: Scalars['String']['input'];
1471
1648
  slippage?: InputMaybe<Scalars['Float']['input']>;
1472
1649
  userId?: InputMaybe<Scalars['Int']['input']>;
1473
1650
  };
@@ -1557,6 +1734,16 @@ export type HoldersUpdate = {
1557
1734
  tokenId: Scalars['String']['output'];
1558
1735
  };
1559
1736
 
1737
+ export type IndexerStateInput = {
1738
+ /** The network ID to check the state of. */
1739
+ networkId: Scalars['Int']['input'];
1740
+ };
1741
+
1742
+ export enum IndexerStatus {
1743
+ Behind = 'Behind',
1744
+ Normal = 'Normal'
1745
+ }
1746
+
1560
1747
  /** Bar chart data. */
1561
1748
  export type IndividualBarData = {
1562
1749
  __typename?: 'IndividualBarData';
@@ -1769,6 +1956,8 @@ export type LaunchpadData = {
1769
1956
  completedSlot?: Maybe<Scalars['Int']['output']>;
1770
1957
  /** The percentage of the pool that was sold to the public. */
1771
1958
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1959
+ /** The name of the launchpad. */
1960
+ launchpadName?: Maybe<Scalars['String']['output']>;
1772
1961
  /** The launchpad protocol */
1773
1962
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1774
1963
  /** Indicates if the launchpad was migrated. */
@@ -1779,7 +1968,10 @@ export type LaunchpadData = {
1779
1968
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1780
1969
  /** The slot number when the launchpad was migrated. */
1781
1970
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1782
- /** The name of the launchpad. */
1971
+ /**
1972
+ * The name of the launchpad.
1973
+ * @deprecated Use launchpadName instead
1974
+ */
1783
1975
  name?: Maybe<Scalars['String']['output']>;
1784
1976
  /** The address of the pool. */
1785
1977
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1830,9 +2022,13 @@ export enum LaunchpadTokenEventType {
1830
2022
 
1831
2023
  /** The protocol of the token. */
1832
2024
  export enum LaunchpadTokenProtocol {
2025
+ BoopFun = 'BoopFun',
2026
+ EgoTech = 'EgoTech',
1833
2027
  FourMeme = 'FourMeme',
1834
2028
  Pump = 'Pump',
1835
- RaydiumLaunchpad = 'RaydiumLaunchpad'
2029
+ Rainbow = 'Rainbow',
2030
+ RaydiumLaunchpad = 'RaydiumLaunchpad',
2031
+ Vertigo = 'Vertigo'
1836
2032
  }
1837
2033
 
1838
2034
  export type LiquidityData = {
@@ -1877,6 +2073,19 @@ export type LiquidityLock = {
1877
2073
  unlockAt?: Maybe<Scalars['Int']['output']>;
1878
2074
  };
1879
2075
 
2076
+ /** A breakdown of how much and where liquidity is locked. */
2077
+ export type LiquidityLockBreakdownForToken = {
2078
+ __typename?: 'LiquidityLockBreakdownForToken';
2079
+ /** The amount of tokens locked in the protocol. */
2080
+ amountLockedTokens: Scalars['String']['output'];
2081
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
2082
+ amountLockedTokensShifted: Scalars['String']['output'];
2083
+ /** The amount of liquidity locked in USD. */
2084
+ amountLockedUsd: Scalars['String']['output'];
2085
+ /** The protocol with which the liquidity is locked. */
2086
+ lockProtocol: LiquidityLockProtocol;
2087
+ };
2088
+
1880
2089
  export type LiquidityLockConnection = {
1881
2090
  __typename?: 'LiquidityLockConnection';
1882
2091
  /** A cursor for use in pagination. */
@@ -1903,6 +2112,31 @@ export type LiquidityMetadata = {
1903
2112
  lockedLiquidity: LockedLiquidityData;
1904
2113
  };
1905
2114
 
2115
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2116
+ export type LiquidityMetadataByToken = {
2117
+ __typename?: 'LiquidityMetadataByToken';
2118
+ /** A breakdown of how much and where liquidity is locked. */
2119
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2120
+ /** The percentage of liquidity that is locked. */
2121
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2122
+ /** The locked liquidity in USD. */
2123
+ lockedLiquidityUsd: Scalars['String']['output'];
2124
+ /** The locked amount of tokens in pairs. */
2125
+ lockedTokenLiquidity: Scalars['String']['output'];
2126
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2127
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2128
+ /** The network ID the token is deployed on. */
2129
+ networkId: Scalars['Int']['output'];
2130
+ /** The address of the token. */
2131
+ tokenAddress: Scalars['String']['output'];
2132
+ /** The total liquidity in USD. */
2133
+ totalLiquidityUsd: Scalars['String']['output'];
2134
+ /** The total amount of tokens in pairs. */
2135
+ totalTokenLiquidity: Scalars['String']['output'];
2136
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2137
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2138
+ };
2139
+
1906
2140
  /** Liquidity NFT position data */
1907
2141
  export type LiquidityNftData = {
1908
2142
  __typename?: 'LiquidityNftData';
@@ -1998,6 +2232,35 @@ export type MakerEventsQueryInput = {
1998
2232
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
1999
2233
  };
2000
2234
 
2235
+ /** Webhook conditions for a market cap event. */
2236
+ export type MarketCapEventWebhookCondition = {
2237
+ __typename?: 'MarketCapEventWebhookCondition';
2238
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2239
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2240
+ /** The market cap condition that must be met in order for the webhook to send. */
2241
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2242
+ /** The network ID the webhook is listening on. */
2243
+ networkId: IntEqualsCondition;
2244
+ /** The pair contract address the webhook is listening for. */
2245
+ pairAddress?: Maybe<StringEqualsCondition>;
2246
+ /** The token contract address the webhook is listening for. */
2247
+ tokenAddress: StringEqualsCondition;
2248
+ };
2249
+
2250
+ /** Input conditions for a market cap event webhook. */
2251
+ export type MarketCapEventWebhookConditionInput = {
2252
+ /** The circulating market cap conditions to listen for. */
2253
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2254
+ /** The price conditions to listen for. */
2255
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2256
+ /** The network ID to listen on. */
2257
+ networkId: IntEqualsConditionInput;
2258
+ /** The contract address of the pair to listen for. */
2259
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2260
+ /** The contract address of the token to listen for. */
2261
+ tokenAddress: StringEqualsConditionInput;
2262
+ };
2263
+
2001
2264
  /** The status for a network supported on Defined. */
2002
2265
  export type MetadataResponse = {
2003
2266
  __typename?: 'MetadataResponse';
@@ -2084,6 +2347,142 @@ export type Network = {
2084
2347
  networkShortName?: Maybe<Scalars['String']['output']>;
2085
2348
  };
2086
2349
 
2350
+ /** A breakdown of the wallet's activity by network. */
2351
+ export type NetworkBreakdown = {
2352
+ __typename?: 'NetworkBreakdown';
2353
+ /** The native token balance */
2354
+ nativeTokenBalance: Scalars['String']['output'];
2355
+ /** The network ID */
2356
+ networkId: Scalars['Int']['output'];
2357
+ /** The stats for the last day */
2358
+ statsDay1?: Maybe<WindowedWalletStats>;
2359
+ /** The stats for the last 30 days */
2360
+ statsDay30?: Maybe<WindowedWalletStats>;
2361
+ /** The stats for the last week */
2362
+ statsWeek1?: Maybe<WindowedWalletStats>;
2363
+ /** The stats for the last year */
2364
+ statsYear1?: Maybe<WindowedWalletStats>;
2365
+ };
2366
+
2367
+ export type NetworkWalletFilterConnection = {
2368
+ __typename?: 'NetworkWalletFilterConnection';
2369
+ /** The number of wallets returned. */
2370
+ count: Scalars['Int']['output'];
2371
+ /** Where in the list the server started when returning items. */
2372
+ offset: Scalars['Int']['output'];
2373
+ /** The list of wallets matching the filter parameters. */
2374
+ results: Array<NetworkWalletFilterResult>;
2375
+ };
2376
+
2377
+ export type NetworkWalletFilterResult = {
2378
+ __typename?: 'NetworkWalletFilterResult';
2379
+ /** The wallet address */
2380
+ address: Scalars['String']['output'];
2381
+ /** Average profit in USD per trade in the past day */
2382
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
2383
+ /** Average profit in USD per trade in the past week */
2384
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
2385
+ /** Average profit in USD per trade in the past year */
2386
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
2387
+ /** Average profit in USD per trade in the past 30 days */
2388
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
2389
+ /** Average swap amount in USD in the past day */
2390
+ averageSwapAmountUsd1d: Scalars['String']['output'];
2391
+ /** Average swap amount in USD in the past week */
2392
+ averageSwapAmountUsd1w: Scalars['String']['output'];
2393
+ /** Average swap amount in USD in the past year */
2394
+ averageSwapAmountUsd1y: Scalars['String']['output'];
2395
+ /** Average swap amount in USD in the past 30 days */
2396
+ averageSwapAmountUsd30d: Scalars['String']['output'];
2397
+ /** The bot score for the wallet. */
2398
+ botScore?: Maybe<Scalars['Int']['output']>;
2399
+ /** The unix timestamp for the first transaction from this wallet */
2400
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
2401
+ /** The labels associated with the wallet */
2402
+ labels: Array<Scalars['String']['output']>;
2403
+ /** The unix timestamp for the last transaction from this wallet */
2404
+ lastTransactionAt: Scalars['Int']['output'];
2405
+ /** The native token balance of the wallet */
2406
+ nativeTokenBalance: Scalars['String']['output'];
2407
+ /** The network ID of the wallet */
2408
+ networkId: Scalars['Int']['output'];
2409
+ /** Realized profit percentage in the past day */
2410
+ realizedProfitPercentage1d: Scalars['Float']['output'];
2411
+ /** Realized profit percentage in the past week */
2412
+ realizedProfitPercentage1w: Scalars['Float']['output'];
2413
+ /** Realized profit percentage in the past year */
2414
+ realizedProfitPercentage1y: Scalars['Float']['output'];
2415
+ /** Realized profit percentage in the past 30 days */
2416
+ realizedProfitPercentage30d: Scalars['Float']['output'];
2417
+ /** Realized profit in USD in the past day */
2418
+ realizedProfitUsd1d: Scalars['String']['output'];
2419
+ /** Realized profit in USD in the past week */
2420
+ realizedProfitUsd1w: Scalars['String']['output'];
2421
+ /** Realized profit in USD in the past year */
2422
+ realizedProfitUsd1y: Scalars['String']['output'];
2423
+ /** Realized profit in USD in the past 30 days */
2424
+ realizedProfitUsd30d: Scalars['String']['output'];
2425
+ /** The scammer score for the wallet. */
2426
+ scammerScore?: Maybe<Scalars['Int']['output']>;
2427
+ /** Number of swaps in the past day */
2428
+ swaps1d: Scalars['Int']['output'];
2429
+ /** Number of swaps in the past week */
2430
+ swaps1w: Scalars['Int']['output'];
2431
+ /** Number of swaps in the past year */
2432
+ swaps1y: Scalars['Int']['output'];
2433
+ /** Number of swaps in the past 30 days */
2434
+ swaps30d: Scalars['Int']['output'];
2435
+ /** Total number of swaps in the past day including all tokens */
2436
+ swapsAll1d: Scalars['Int']['output'];
2437
+ /** Total number of swaps in the past week including all tokens */
2438
+ swapsAll1w: Scalars['Int']['output'];
2439
+ /** Total number of swaps in the past year including all tokens */
2440
+ swapsAll1y: Scalars['Int']['output'];
2441
+ /** Total number of swaps in the past 30 days including all tokens */
2442
+ swapsAll30d: Scalars['Int']['output'];
2443
+ /** Number of unique tokens traded in the past day */
2444
+ uniqueTokens1d: Scalars['Int']['output'];
2445
+ /** Number of unique tokens traded in the past week */
2446
+ uniqueTokens1w: Scalars['Int']['output'];
2447
+ /** Number of unique tokens traded in the past year */
2448
+ uniqueTokens1y: Scalars['Int']['output'];
2449
+ /** Number of unique tokens traded in the past 30 days */
2450
+ uniqueTokens30d: Scalars['Int']['output'];
2451
+ /** Volume in USD in the past day */
2452
+ volumeUsd1d: Scalars['String']['output'];
2453
+ /** Volume in USD in the past week */
2454
+ volumeUsd1w: Scalars['String']['output'];
2455
+ /** Volume in USD in the past year */
2456
+ volumeUsd1y: Scalars['String']['output'];
2457
+ /** Volume in USD in the past 30 days */
2458
+ volumeUsd30d: Scalars['String']['output'];
2459
+ /** Total volume in USD in the past day including all tokens */
2460
+ volumeUsdAll1d: Scalars['String']['output'];
2461
+ /** Total volume in USD in the past week including all tokens */
2462
+ volumeUsdAll1w: Scalars['String']['output'];
2463
+ /** Total volume in USD in the past year including all tokens */
2464
+ volumeUsdAll1y: Scalars['String']['output'];
2465
+ /** Total volume in USD in the past 30 days including all tokens */
2466
+ volumeUsdAll30d: Scalars['String']['output'];
2467
+ /** Win rate in the past day */
2468
+ winRate1d: Scalars['Float']['output'];
2469
+ /** Win rate in the past week */
2470
+ winRate1w: Scalars['Float']['output'];
2471
+ /** Win rate in the past year */
2472
+ winRate1y: Scalars['Float']['output'];
2473
+ /** Win rate in the past 30 days */
2474
+ winRate30d: Scalars['Float']['output'];
2475
+ };
2476
+
2477
+ /** Native token balance for a wallet on a network. */
2478
+ export type NetworkWalletStats = {
2479
+ __typename?: 'NetworkWalletStats';
2480
+ /** The native token balance */
2481
+ nativeTokenBalance: Scalars['String']['output'];
2482
+ /** The network ID */
2483
+ networkId: Scalars['Int']['output'];
2484
+ };
2485
+
2087
2486
  /** Event data for creating a new NFT pool. */
2088
2487
  export type NewPoolEventData = {
2089
2488
  __typename?: 'NewPoolEventData';
@@ -4704,6 +5103,12 @@ export type OnBarsUpdatedResponse = {
4704
5103
  timestamp: Scalars['Int']['output'];
4705
5104
  };
4706
5105
 
5106
+ /** Input for `onEventsCreatedByMaker`. */
5107
+ export type OnEventsCreatedByMakerInput = {
5108
+ /** The wallet address of the maker. */
5109
+ makerAddress: Scalars['String']['input'];
5110
+ };
5111
+
4707
5112
  /** Input for `onLaunchpadTokenEvent`. */
4708
5113
  export type OnLaunchpadTokenEventInput = {
4709
5114
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4751,7 +5156,9 @@ export type OnTokenBarsUpdatedResponse = {
4751
5156
  };
4752
5157
 
4753
5158
  export type OnTokenEventsCreatedInput = {
5159
+ /** The network ID to filter by. */
4754
5160
  networkId: Scalars['Int']['input'];
5161
+ /** The token address to filter by. */
4755
5162
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
4756
5163
  };
4757
5164
 
@@ -4779,6 +5186,12 @@ export type OnUnconfirmedBarsUpdated = {
4779
5186
  timestamp: Scalars['Int']['output'];
4780
5187
  };
4781
5188
 
5189
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
5190
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
5191
+ /** The wallet address of the maker. */
5192
+ makerAddress: Scalars['String']['input'];
5193
+ };
5194
+
4782
5195
  /** Integer list condition. */
4783
5196
  export type OneOfNumberCondition = {
4784
5197
  __typename?: 'OneOfNumberCondition';
@@ -4853,7 +5266,7 @@ export type PairChartSettings = {
4853
5266
  pairAddress: Scalars['String']['input'];
4854
5267
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4855
5268
  quoteToken?: InputMaybe<QuoteToken>;
4856
- /** The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
5269
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4857
5270
  resolution?: InputMaybe<Scalars['String']['input']>;
4858
5271
  /** The color theme of the chart. */
4859
5272
  theme?: InputMaybe<ChartTheme>;
@@ -6200,8 +6613,15 @@ export type Query = {
6200
6613
  balances: BalancesResponse;
6201
6614
  /** Returns a URL for a pair chart. */
6202
6615
  chartUrls?: Maybe<ChartUrlsResponse>;
6616
+ /** Returns detailed stats for a wallet. */
6617
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
6203
6618
  /** Returns a list of exchanges based on a variety of filters. */
6204
6619
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6620
+ /**
6621
+ * Returns a list of wallets with stats narrowed down to a specific network.
6622
+ * @deprecated Use filterWallets instead
6623
+ */
6624
+ filterNetworkWallets: NetworkWalletFilterConnection;
6205
6625
  /** Returns a list of NFT collection based on a variety of filters. */
6206
6626
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
6207
6627
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -6212,8 +6632,12 @@ export type Query = {
6212
6632
  filterNftPools?: Maybe<NftPoolFilterConnection>;
6213
6633
  /** Returns a list of pairs based on a variety of filters. */
6214
6634
  filterPairs?: Maybe<PairFilterConnection>;
6635
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6636
+ filterTokenWallets: TokenWalletFilterConnection;
6215
6637
  /** Returns a list of tokens based on a variety of filters. */
6216
6638
  filterTokens?: Maybe<TokenFilterConnection>;
6639
+ /** Returns a list of wallets based on a variety of filters. */
6640
+ filterWallets: WalletFilterConnection;
6217
6641
  /** Returns bar chart data to track price changes over time. */
6218
6642
  getBars?: Maybe<BarsResponse>;
6219
6643
  /** Returns community gathered notes. */
@@ -6293,11 +6717,16 @@ export type Query = {
6293
6717
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6294
6718
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6295
6719
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6720
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6721
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6296
6722
  /** Returns a list of pairs containing a given token. */
6297
6723
  listPairsForToken: Array<Maybe<Pair>>;
6298
6724
  /** Returns a list of pair metadata for a token. */
6299
6725
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6300
- /** Returns a list of trending tokens across any given network(s). */
6726
+ /**
6727
+ * Returns a list of trending tokens across any given network(s).
6728
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6729
+ */
6301
6730
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6302
6731
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6303
6732
  nftHolders: NftHoldersResponse;
@@ -6322,8 +6751,10 @@ export type Query = {
6322
6751
  tokenTopTraders: TokenTopTradersConnection;
6323
6752
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6324
6753
  tokens: Array<Maybe<EnhancedToken>>;
6325
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6754
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6326
6755
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6756
+ /** Returns a chart of a wallet's activity. */
6757
+ walletChart?: Maybe<WalletChartResponse>;
6327
6758
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6328
6759
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6329
6760
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6346,6 +6777,11 @@ export type QueryChartUrlsArgs = {
6346
6777
  };
6347
6778
 
6348
6779
 
6780
+ export type QueryDetailedWalletStatsArgs = {
6781
+ input: DetailedWalletStatsInput;
6782
+ };
6783
+
6784
+
6349
6785
  export type QueryFilterExchangesArgs = {
6350
6786
  filters?: InputMaybe<ExchangeFilters>;
6351
6787
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6355,6 +6791,11 @@ export type QueryFilterExchangesArgs = {
6355
6791
  };
6356
6792
 
6357
6793
 
6794
+ export type QueryFilterNetworkWalletsArgs = {
6795
+ input: FilterNetworkWalletsInput;
6796
+ };
6797
+
6798
+
6358
6799
  export type QueryFilterNftCollectionsArgs = {
6359
6800
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6360
6801
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6405,6 +6846,11 @@ export type QueryFilterPairsArgs = {
6405
6846
  };
6406
6847
 
6407
6848
 
6849
+ export type QueryFilterTokenWalletsArgs = {
6850
+ input: FilterTokenWalletsInput;
6851
+ };
6852
+
6853
+
6408
6854
  export type QueryFilterTokensArgs = {
6409
6855
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6410
6856
  filters?: InputMaybe<TokenFilters>;
@@ -6417,6 +6863,11 @@ export type QueryFilterTokensArgs = {
6417
6863
  };
6418
6864
 
6419
6865
 
6866
+ export type QueryFilterWalletsArgs = {
6867
+ input: FilterWalletsInput;
6868
+ };
6869
+
6870
+
6420
6871
  export type QueryGetBarsArgs = {
6421
6872
  countback?: InputMaybe<Scalars['Int']['input']>;
6422
6873
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6700,7 +7151,8 @@ export type QueryHoldersArgs = {
6700
7151
  export type QueryLiquidityLocksArgs = {
6701
7152
  cursor?: InputMaybe<Scalars['String']['input']>;
6702
7153
  networkId: Scalars['Int']['input'];
6703
- pairAddress: Scalars['String']['input'];
7154
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
7155
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6704
7156
  };
6705
7157
 
6706
7158
 
@@ -6710,6 +7162,12 @@ export type QueryLiquidityMetadataArgs = {
6710
7162
  };
6711
7163
 
6712
7164
 
7165
+ export type QueryLiquidityMetadataByTokenArgs = {
7166
+ networkId: Scalars['Int']['input'];
7167
+ tokenAddress: Scalars['String']['input'];
7168
+ };
7169
+
7170
+
6713
7171
  export type QueryListPairsForTokenArgs = {
6714
7172
  limit?: InputMaybe<Scalars['Int']['input']>;
6715
7173
  networkId: Scalars['Int']['input'];
@@ -6799,6 +7257,11 @@ export type QueryTop10HoldersPercentArgs = {
6799
7257
  };
6800
7258
 
6801
7259
 
7260
+ export type QueryWalletChartArgs = {
7261
+ input: WalletChartInput;
7262
+ };
7263
+
7264
+
6802
7265
  export type QueryWalletNftCollectionAssetsArgs = {
6803
7266
  input: WalletNftCollectionAssetsInput;
6804
7267
  };
@@ -6848,6 +7311,12 @@ export enum QuoteType {
6848
7311
  Output = 'OUTPUT'
6849
7312
  }
6850
7313
 
7314
+ /** The range of time for a chart. */
7315
+ export type RangeInput = {
7316
+ end: Scalars['Int']['input'];
7317
+ start: Scalars['Int']['input'];
7318
+ };
7319
+
6851
7320
  /** The order of ranking. */
6852
7321
  export enum RankingDirection {
6853
7322
  Asc = 'ASC',
@@ -7366,6 +7835,8 @@ export type Subscription = {
7366
7835
  onEventLabelCreated?: Maybe<EventLabel>;
7367
7836
  /** Live-streamed transactions for a token. */
7368
7837
  onEventsCreated?: Maybe<AddEventsOutput>;
7838
+ /** Live-streamed transactions for a maker. */
7839
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7369
7840
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7370
7841
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7371
7842
  /** Live-streamed updates for newly listed pairs. */
@@ -7396,6 +7867,8 @@ export type Subscription = {
7396
7867
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
7397
7868
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
7398
7869
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7870
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7871
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
7399
7872
  };
7400
7873
 
7401
7874
 
@@ -7426,11 +7899,17 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7426
7899
  export type SubscriptionOnEventsCreatedArgs = {
7427
7900
  address?: InputMaybe<Scalars['String']['input']>;
7428
7901
  id?: InputMaybe<Scalars['String']['input']>;
7902
+ maker?: InputMaybe<Scalars['String']['input']>;
7429
7903
  networkId?: InputMaybe<Scalars['Int']['input']>;
7430
7904
  quoteToken?: InputMaybe<QuoteToken>;
7431
7905
  };
7432
7906
 
7433
7907
 
7908
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7909
+ input: OnEventsCreatedByMakerInput;
7910
+ };
7911
+
7912
+
7434
7913
  export type SubscriptionOnHoldersUpdatedArgs = {
7435
7914
  tokenId: Scalars['String']['input'];
7436
7915
  };
@@ -7531,6 +8010,11 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7531
8010
  quoteToken?: InputMaybe<QuoteToken>;
7532
8011
  };
7533
8012
 
8013
+
8014
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
8015
+ input: OnUnconfirmedEventsCreatedByMakerInput;
8016
+ };
8017
+
7534
8018
  export type SuiNetworkConfig = {
7535
8019
  __typename?: 'SuiNetworkConfig';
7536
8020
  baseTokenAddress: Scalars['String']['output'];
@@ -7795,6 +8279,8 @@ export type TokenFilterResult = {
7795
8279
  change12?: Maybe<Scalars['String']['output']>;
7796
8280
  /** The percent price change in the past 24 hours. Decimal format. */
7797
8281
  change24?: Maybe<Scalars['String']['output']>;
8282
+ /** The circulating market cap. */
8283
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7798
8284
  /** The unix timestamp for the creation of the token's first pair. */
7799
8285
  createdAt?: Maybe<Scalars['Int']['output']>;
7800
8286
  /** The exchanges the token is listed on. */
@@ -7829,7 +8315,7 @@ export type TokenFilterResult = {
7829
8315
  low12?: Maybe<Scalars['String']['output']>;
7830
8316
  /** The lowest price in USD in the past 24 hours. */
7831
8317
  low24?: Maybe<Scalars['String']['output']>;
7832
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
8318
+ /** The fully diluted market cap. */
7833
8319
  marketCap?: Maybe<Scalars['String']['output']>;
7834
8320
  /** Metadata for the token's top pair. */
7835
8321
  pair?: Maybe<Pair>;
@@ -7963,6 +8449,8 @@ export type TokenFilters = {
7963
8449
  change12?: InputMaybe<NumberFilter>;
7964
8450
  /** The percent price change in the past 24 hours. Decimal format. */
7965
8451
  change24?: InputMaybe<NumberFilter>;
8452
+ /** The circulating market cap. */
8453
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7966
8454
  /** The unix timestamp for the creation of the token's first pair. */
7967
8455
  createdAt?: InputMaybe<NumberFilter>;
7968
8456
  /** The address of the creator of the token */
@@ -8005,6 +8493,8 @@ export type TokenFilters = {
8005
8493
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8006
8494
  /** The timestamp when the launchpad was migrated */
8007
8495
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8496
+ /** The name of the launchpad */
8497
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
8008
8498
  /** The launchpad protocol */
8009
8499
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
8010
8500
  /** The amount of liquidity in the token's top pair. */
@@ -8331,6 +8821,7 @@ export enum TokenRankingAttribute {
8331
8821
  Change5m = 'change5m',
8332
8822
  Change12 = 'change12',
8333
8823
  Change24 = 'change24',
8824
+ CirculatingMarketCap = 'circulatingMarketCap',
8334
8825
  CreatedAt = 'createdAt',
8335
8826
  GraduationPercent = 'graduationPercent',
8336
8827
  High1 = 'high1',
@@ -8495,6 +8986,133 @@ export type TokenTopTradersInput = {
8495
8986
  tradingPeriod: TradingPeriod;
8496
8987
  };
8497
8988
 
8989
+ export type TokenWalletFilterConnection = {
8990
+ __typename?: 'TokenWalletFilterConnection';
8991
+ /** The number of wallets returned. */
8992
+ count: Scalars['Int']['output'];
8993
+ /** Where in the list the server started when returning items. */
8994
+ offset: Scalars['Int']['output'];
8995
+ /** The list of wallets matching the filter parameters. */
8996
+ results: Array<TokenWalletFilterResult>;
8997
+ };
8998
+
8999
+ /** The result for filtering wallets for a token. */
9000
+ export type TokenWalletFilterResult = {
9001
+ __typename?: 'TokenWalletFilterResult';
9002
+ /** The wallet address */
9003
+ address: Scalars['String']['output'];
9004
+ /** Amount bought in USD in the past day */
9005
+ amountBoughtUsd1d: Scalars['String']['output'];
9006
+ /** Amount bought in USD in the past week */
9007
+ amountBoughtUsd1w: Scalars['String']['output'];
9008
+ /** Amount bought in USD in the past year */
9009
+ amountBoughtUsd1y: Scalars['String']['output'];
9010
+ /** Amount bought in USD in the past 30 days */
9011
+ amountBoughtUsd30d: Scalars['String']['output'];
9012
+ /** Amount sold in USD in the past day */
9013
+ amountSoldUsd1d: Scalars['String']['output'];
9014
+ /** Amount sold in USD in the past week */
9015
+ amountSoldUsd1w: Scalars['String']['output'];
9016
+ /** Amount sold in USD in the past year */
9017
+ amountSoldUsd1y: Scalars['String']['output'];
9018
+ /** Amount sold in USD in the past 30 days */
9019
+ amountSoldUsd30d: Scalars['String']['output'];
9020
+ /** Amount sold USD all in the past day */
9021
+ amountSoldUsdAll1d: Scalars['String']['output'];
9022
+ /** Amount sold USD all in the past week */
9023
+ amountSoldUsdAll1w: Scalars['String']['output'];
9024
+ /** Amount sold USD all in the past year */
9025
+ amountSoldUsdAll1y: Scalars['String']['output'];
9026
+ /** Amount sold USD all in the past 30 days */
9027
+ amountSoldUsdAll30d: Scalars['String']['output'];
9028
+ /** The bot score for the wallet. */
9029
+ botScore?: Maybe<Scalars['Int']['output']>;
9030
+ /** Number of buys in the past day */
9031
+ buys1d: Scalars['Int']['output'];
9032
+ /** Number of buys in the past week */
9033
+ buys1w: Scalars['Int']['output'];
9034
+ /** Number of buys in the past year */
9035
+ buys1y: Scalars['Int']['output'];
9036
+ /** Number of buys in the past 30 days */
9037
+ buys30d: Scalars['Int']['output'];
9038
+ /** The unix timestamp for the first transaction from this wallet */
9039
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
9040
+ /** The labels associated with the wallet */
9041
+ labels: Array<Scalars['String']['output']>;
9042
+ /** The unix timestamp for the last transaction from this wallet */
9043
+ lastTransactionAt: Scalars['Int']['output'];
9044
+ /** The network ID */
9045
+ networkId: Scalars['Int']['output'];
9046
+ /** The purchased token balance */
9047
+ purchasedTokenBalance: Scalars['String']['output'];
9048
+ /** Realized profit percentage in the past day */
9049
+ realizedProfitPercentage1d: Scalars['Float']['output'];
9050
+ /** Realized profit percentage in the past week */
9051
+ realizedProfitPercentage1w: Scalars['Float']['output'];
9052
+ /** Realized profit percentage in the past year */
9053
+ realizedProfitPercentage1y: Scalars['Float']['output'];
9054
+ /** Realized profit percentage in the past 30 days */
9055
+ realizedProfitPercentage30d: Scalars['Float']['output'];
9056
+ /** Realized profit in USD in the past day */
9057
+ realizedProfitUsd1d: Scalars['String']['output'];
9058
+ /** Realized profit in USD in the past week */
9059
+ realizedProfitUsd1w: Scalars['String']['output'];
9060
+ /** Realized profit in USD in the past year */
9061
+ realizedProfitUsd1y: Scalars['String']['output'];
9062
+ /** Realized profit in USD in the past 30 days */
9063
+ realizedProfitUsd30d: Scalars['String']['output'];
9064
+ /** The scammer score for the wallet. */
9065
+ scammerScore?: Maybe<Scalars['Int']['output']>;
9066
+ /** Number of sells in the past day */
9067
+ sells1d: Scalars['Int']['output'];
9068
+ /** Number of sells in the past week */
9069
+ sells1w: Scalars['Int']['output'];
9070
+ /** Number of sells in the past year */
9071
+ sells1y: Scalars['Int']['output'];
9072
+ /** Number of sells in the past 30 days */
9073
+ sells30d: Scalars['Int']['output'];
9074
+ /** Number of sells all in the past day */
9075
+ sellsAll1d: Scalars['Int']['output'];
9076
+ /** Number of sells all in the past week */
9077
+ sellsAll1w: Scalars['Int']['output'];
9078
+ /** Number of sells all in the past year */
9079
+ sellsAll1y: Scalars['Int']['output'];
9080
+ /** Number of sells all in the past 30 days */
9081
+ sellsAll30d: Scalars['Int']['output'];
9082
+ /** The token metadata */
9083
+ token: EnhancedToken;
9084
+ /** The token acquisition cost in USD */
9085
+ tokenAcquisitionCostUsd: Scalars['String']['output'];
9086
+ /** The token address */
9087
+ tokenAddress: Scalars['String']['output'];
9088
+ /** Token amount bought in the past day */
9089
+ tokenAmountBought1d: Scalars['String']['output'];
9090
+ /** Token amount bought in the past week */
9091
+ tokenAmountBought1w: Scalars['String']['output'];
9092
+ /** Token amount bought in the past year */
9093
+ tokenAmountBought1y: Scalars['String']['output'];
9094
+ /** Token amount bought in the past 30 days */
9095
+ tokenAmountBought30d: Scalars['String']['output'];
9096
+ /** Token amount sold in the past day */
9097
+ tokenAmountSold1d: Scalars['String']['output'];
9098
+ /** Token amount sold in the past week */
9099
+ tokenAmountSold1w: Scalars['String']['output'];
9100
+ /** Token amount sold in the past year */
9101
+ tokenAmountSold1y: Scalars['String']['output'];
9102
+ /** Token amount sold in the past 30 days */
9103
+ tokenAmountSold30d: Scalars['String']['output'];
9104
+ /** Token amount sold all in the past day */
9105
+ tokenAmountSoldAll1d: Scalars['String']['output'];
9106
+ /** Token amount sold all in the past week */
9107
+ tokenAmountSoldAll1w: Scalars['String']['output'];
9108
+ /** Token amount sold all in the past year */
9109
+ tokenAmountSoldAll1y: Scalars['String']['output'];
9110
+ /** Token amount sold all in the past 30 days */
9111
+ tokenAmountSoldAll30d: Scalars['String']['output'];
9112
+ /** The current token balance */
9113
+ tokenBalance: Scalars['String']['output'];
9114
+ };
9115
+
8498
9116
  /** A token with metadata. */
8499
9117
  export type TokenWithMetadata = {
8500
9118
  __typename?: 'TokenWithMetadata';
@@ -8689,12 +9307,410 @@ export type UnconfirmedSwapEventData = {
8689
9307
  type: EventType;
8690
9308
  };
8691
9309
 
9310
+ /** The data for a chart of a wallet's activity. */
9311
+ export type WalletChartData = {
9312
+ __typename?: 'WalletChartData';
9313
+ /** The realized profit in USD */
9314
+ realizedProfitUsd: Scalars['String']['output'];
9315
+ /** The resolution */
9316
+ resolution: Scalars['String']['output'];
9317
+ /** The number of swaps */
9318
+ swaps: Scalars['Int']['output'];
9319
+ /** The timestamp */
9320
+ timestamp: Scalars['Int']['output'];
9321
+ /** The volume in USD */
9322
+ volumeUsd: Scalars['String']['output'];
9323
+ /** The volume in USD including tokens sold for which we do not have a price */
9324
+ volumeUsdAll: Scalars['String']['output'];
9325
+ };
9326
+
9327
+ /** The input for a chart of a wallet's activity. */
9328
+ export type WalletChartInput = {
9329
+ /** The network ID */
9330
+ networkId?: InputMaybe<Scalars['Int']['input']>;
9331
+ /** The range of time for the chart */
9332
+ range: RangeInput;
9333
+ /** The resolution of the chart */
9334
+ resolution: Scalars['String']['input'];
9335
+ /** The wallet address */
9336
+ walletAddress: Scalars['String']['input'];
9337
+ };
9338
+
9339
+ /** The range of time for a chart. */
8692
9340
  export type WalletChartRange = {
8693
9341
  __typename?: 'WalletChartRange';
8694
9342
  end: Scalars['Int']['output'];
8695
9343
  start: Scalars['Int']['output'];
8696
9344
  };
8697
9345
 
9346
+ /** The response for a chart of a wallet's activity. */
9347
+ export type WalletChartResponse = {
9348
+ __typename?: 'WalletChartResponse';
9349
+ /** The data for the chart */
9350
+ data: Array<WalletChartData>;
9351
+ /** The network ID */
9352
+ networkId?: Maybe<Scalars['Int']['output']>;
9353
+ /** The range of time for the chart */
9354
+ range: WalletChartRange;
9355
+ /** The resolution of the chart */
9356
+ resolution: Scalars['String']['output'];
9357
+ /** The wallet address */
9358
+ walletAddress: Scalars['String']['output'];
9359
+ };
9360
+
9361
+ export type WalletFilterConnection = {
9362
+ __typename?: 'WalletFilterConnection';
9363
+ /** The number of wallets returned. */
9364
+ count: Scalars['Int']['output'];
9365
+ /** Where in the list the server started when returning items. */
9366
+ offset: Scalars['Int']['output'];
9367
+ /** The list of wallets matching the filter parameters. */
9368
+ results: Array<WalletFilterResult>;
9369
+ };
9370
+
9371
+ export type WalletFilterResult = {
9372
+ __typename?: 'WalletFilterResult';
9373
+ /** The wallet address */
9374
+ address: Scalars['String']['output'];
9375
+ /** Average profit in USD per trade in the past day */
9376
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
9377
+ /** Average profit in USD per trade in the past week */
9378
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
9379
+ /** Average profit in USD per trade in the past year */
9380
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
9381
+ /** Average profit in USD per trade in the past 30 days */
9382
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
9383
+ /** Average swap amount in USD in the past day */
9384
+ averageSwapAmountUsd1d: Scalars['String']['output'];
9385
+ /** Average swap amount in USD in the past week */
9386
+ averageSwapAmountUsd1w: Scalars['String']['output'];
9387
+ /** Average swap amount in USD in the past year */
9388
+ averageSwapAmountUsd1y: Scalars['String']['output'];
9389
+ /** Average swap amount in USD in the past 30 days */
9390
+ averageSwapAmountUsd30d: Scalars['String']['output'];
9391
+ /** The bot score for the wallet. */
9392
+ botScore?: Maybe<Scalars['Int']['output']>;
9393
+ /** The unix timestamp for the first transaction from this wallet */
9394
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
9395
+ /** The labels associated with the wallet */
9396
+ labels: Array<Scalars['String']['output']>;
9397
+ /** The unix timestamp for the last transaction from this wallet */
9398
+ lastTransactionAt: Scalars['Int']['output'];
9399
+ /** The native token balance of the wallet (only present if filtered by network) */
9400
+ nativeTokenBalance?: Maybe<Scalars['String']['output']>;
9401
+ /** The network ID of the wallet (only present if filtered by network) */
9402
+ networkId?: Maybe<Scalars['Int']['output']>;
9403
+ /** Realized profit percentage in the past day */
9404
+ realizedProfitPercentage1d: Scalars['Float']['output'];
9405
+ /** Realized profit percentage in the past week */
9406
+ realizedProfitPercentage1w: Scalars['Float']['output'];
9407
+ /** Realized profit percentage in the past year */
9408
+ realizedProfitPercentage1y: Scalars['Float']['output'];
9409
+ /** Realized profit percentage in the past 30 days */
9410
+ realizedProfitPercentage30d: Scalars['Float']['output'];
9411
+ /** Realized profit in USD in the past day */
9412
+ realizedProfitUsd1d: Scalars['String']['output'];
9413
+ /** Realized profit in USD in the past week */
9414
+ realizedProfitUsd1w: Scalars['String']['output'];
9415
+ /** Realized profit in USD in the past year */
9416
+ realizedProfitUsd1y: Scalars['String']['output'];
9417
+ /** Realized profit in USD in the past 30 days */
9418
+ realizedProfitUsd30d: Scalars['String']['output'];
9419
+ /** The scammer score for the wallet. */
9420
+ scammerScore?: Maybe<Scalars['Int']['output']>;
9421
+ /** Number of swaps in the past day */
9422
+ swaps1d: Scalars['Int']['output'];
9423
+ /** Number of swaps in the past week */
9424
+ swaps1w: Scalars['Int']['output'];
9425
+ /** Number of swaps in the past year */
9426
+ swaps1y: Scalars['Int']['output'];
9427
+ /** Number of swaps in the past 30 days */
9428
+ swaps30d: Scalars['Int']['output'];
9429
+ /** Total number of swaps in the past day including all tokens */
9430
+ swapsAll1d: Scalars['Int']['output'];
9431
+ /** Total number of swaps in the past week including all tokens */
9432
+ swapsAll1w: Scalars['Int']['output'];
9433
+ /** Total number of swaps in the past year including all tokens */
9434
+ swapsAll1y: Scalars['Int']['output'];
9435
+ /** Total number of swaps in the past 30 days including all tokens */
9436
+ swapsAll30d: Scalars['Int']['output'];
9437
+ /** Number of unique tokens traded in the past day */
9438
+ uniqueTokens1d: Scalars['Int']['output'];
9439
+ /** Number of unique tokens traded in the past week */
9440
+ uniqueTokens1w: Scalars['Int']['output'];
9441
+ /** Number of unique tokens traded in the past year */
9442
+ uniqueTokens1y: Scalars['Int']['output'];
9443
+ /** Number of unique tokens traded in the past 30 days */
9444
+ uniqueTokens30d: Scalars['Int']['output'];
9445
+ /** Volume in USD in the past day */
9446
+ volumeUsd1d: Scalars['String']['output'];
9447
+ /** Volume in USD in the past week */
9448
+ volumeUsd1w: Scalars['String']['output'];
9449
+ /** Volume in USD in the past year */
9450
+ volumeUsd1y: Scalars['String']['output'];
9451
+ /** Volume in USD in the past 30 days */
9452
+ volumeUsd30d: Scalars['String']['output'];
9453
+ /** Total volume in USD in the past day including all tokens */
9454
+ volumeUsdAll1d: Scalars['String']['output'];
9455
+ /** Total volume in USD in the past week including all tokens */
9456
+ volumeUsdAll1w: Scalars['String']['output'];
9457
+ /** Total volume in USD in the past year including all tokens */
9458
+ volumeUsdAll1y: Scalars['String']['output'];
9459
+ /** Total volume in USD in the past 30 days including all tokens */
9460
+ volumeUsdAll30d: Scalars['String']['output'];
9461
+ /** Win rate in the past day */
9462
+ winRate1d: Scalars['Float']['output'];
9463
+ /** Win rate in the past week */
9464
+ winRate1w: Scalars['Float']['output'];
9465
+ /** Win rate in the past year */
9466
+ winRate1y: Scalars['Float']['output'];
9467
+ /** Win rate in the past 30 days */
9468
+ winRate30d: Scalars['Float']['output'];
9469
+ };
9470
+
9471
+ export type WalletFilters = {
9472
+ /** Average profit in USD per trade in the past day */
9473
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
9474
+ /** Average profit in USD per trade in the past week */
9475
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
9476
+ /** Average profit in USD per trade in the past year */
9477
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
9478
+ /** Average profit in USD per trade in the past 30 days */
9479
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
9480
+ /** Average swap amount in USD in the past day */
9481
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
9482
+ /** Average swap amount in USD in the past week */
9483
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
9484
+ /** Average swap amount in USD in the past year */
9485
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
9486
+ /** Average swap amount in USD in the past 30 days */
9487
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
9488
+ /** The bot score for the wallet. */
9489
+ botScore?: InputMaybe<NumberFilter>;
9490
+ /** The unix timestamp for the first transaction from this wallet. */
9491
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9492
+ /** The unix timestamp for the last transaction from this wallet. */
9493
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9494
+ /** The native token balance of the wallet. Can only be used in conjunction with `networkId` filter. */
9495
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
9496
+ /** The network ID to filter by. */
9497
+ networkId?: InputMaybe<Scalars['Int']['input']>;
9498
+ /** Realized profit percentage in the past day */
9499
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9500
+ /** Realized profit percentage in the past week */
9501
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9502
+ /** Realized profit percentage in the past year */
9503
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9504
+ /** Realized profit percentage in the past 30 days */
9505
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9506
+ /** Realized profit in USD in the past day */
9507
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9508
+ /** Realized profit in USD in the past week */
9509
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9510
+ /** Realized profit in USD in the past year */
9511
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9512
+ /** Realized profit in USD in the past 30 days */
9513
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9514
+ /** The scammer score for the wallet. */
9515
+ scammerScore?: InputMaybe<NumberFilter>;
9516
+ /** Number of swaps in the past day */
9517
+ swaps1d?: InputMaybe<NumberFilter>;
9518
+ /** Number of swaps in the past week */
9519
+ swaps1w?: InputMaybe<NumberFilter>;
9520
+ /** Number of swaps in the past year */
9521
+ swaps1y?: InputMaybe<NumberFilter>;
9522
+ /** Number of swaps in the past 30 days */
9523
+ swaps30d?: InputMaybe<NumberFilter>;
9524
+ /** Total number of swaps in the past day including all tokens */
9525
+ swapsAll1d?: InputMaybe<NumberFilter>;
9526
+ /** Total number of swaps in the past week including all tokens */
9527
+ swapsAll1w?: InputMaybe<NumberFilter>;
9528
+ /** Total number of swaps in the past year including all tokens */
9529
+ swapsAll1y?: InputMaybe<NumberFilter>;
9530
+ /** Total number of swaps in the past 30 days including all tokens */
9531
+ swapsAll30d?: InputMaybe<NumberFilter>;
9532
+ /** Number of unique tokens traded in the past day */
9533
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
9534
+ /** Number of unique tokens traded in the past week */
9535
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
9536
+ /** Number of unique tokens traded in the past year */
9537
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
9538
+ /** Number of unique tokens traded in the past 30 days */
9539
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
9540
+ /** Volume in USD in the past day */
9541
+ volumeUsd1d?: InputMaybe<NumberFilter>;
9542
+ /** Volume in USD in the past week */
9543
+ volumeUsd1w?: InputMaybe<NumberFilter>;
9544
+ /** Volume in USD in the past year */
9545
+ volumeUsd1y?: InputMaybe<NumberFilter>;
9546
+ /** Volume in USD in the past 30 days */
9547
+ volumeUsd30d?: InputMaybe<NumberFilter>;
9548
+ /** Total volume in USD in the past day including all tokens */
9549
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
9550
+ /** Total volume in USD in the past week including all tokens */
9551
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
9552
+ /** Total volume in USD in the past year including all tokens */
9553
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
9554
+ /** Total volume in USD in the past 30 days including all tokens */
9555
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
9556
+ /** Win rate in the past day */
9557
+ winRate1d?: InputMaybe<NumberFilter>;
9558
+ /** Win rate in the past week */
9559
+ winRate1w?: InputMaybe<NumberFilter>;
9560
+ /** Win rate in the past year */
9561
+ winRate1y?: InputMaybe<NumberFilter>;
9562
+ /** Win rate in the past 30 days */
9563
+ winRate30d?: InputMaybe<NumberFilter>;
9564
+ };
9565
+
9566
+ export type WalletNetworkFilters = {
9567
+ /** Average profit in USD per trade in the past day */
9568
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
9569
+ /** Average profit in USD per trade in the past week */
9570
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
9571
+ /** Average profit in USD per trade in the past year */
9572
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
9573
+ /** Average profit in USD per trade in the past 30 days */
9574
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
9575
+ /** Average swap amount in USD in the past day */
9576
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
9577
+ /** Average swap amount in USD in the past week */
9578
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
9579
+ /** Average swap amount in USD in the past year */
9580
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
9581
+ /** Average swap amount in USD in the past 30 days */
9582
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
9583
+ /** 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. */
9584
+ botScore?: InputMaybe<NumberFilter>;
9585
+ /** The unix timestamp for the first transaction from this wallet. */
9586
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9587
+ /** The unix timestamp for the last transaction from this wallet. */
9588
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9589
+ /** The native token balance of the wallet. */
9590
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
9591
+ /** Realized profit percentage in the past day */
9592
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9593
+ /** Realized profit percentage in the past week */
9594
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9595
+ /** Realized profit percentage in the past year */
9596
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9597
+ /** Realized profit percentage in the past 30 days */
9598
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9599
+ /** Realized profit in USD in the past day */
9600
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9601
+ /** Realized profit in USD in the past week */
9602
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9603
+ /** Realized profit in USD in the past year */
9604
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9605
+ /** Realized profit in USD in the past 30 days */
9606
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9607
+ /** 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. */
9608
+ scammerScore?: InputMaybe<NumberFilter>;
9609
+ /** Number of swaps in the past day */
9610
+ swaps1d?: InputMaybe<NumberFilter>;
9611
+ /** Number of swaps in the past week */
9612
+ swaps1w?: InputMaybe<NumberFilter>;
9613
+ /** Number of swaps in the past year */
9614
+ swaps1y?: InputMaybe<NumberFilter>;
9615
+ /** Number of swaps in the past 30 days */
9616
+ swaps30d?: InputMaybe<NumberFilter>;
9617
+ /** Total number of swaps in the past day including all tokens */
9618
+ swapsAll1d?: InputMaybe<NumberFilter>;
9619
+ /** Total number of swaps in the past week including all tokens */
9620
+ swapsAll1w?: InputMaybe<NumberFilter>;
9621
+ /** Total number of swaps in the past year including all tokens */
9622
+ swapsAll1y?: InputMaybe<NumberFilter>;
9623
+ /** Total number of swaps in the past 30 days including all tokens */
9624
+ swapsAll30d?: InputMaybe<NumberFilter>;
9625
+ /** Number of unique tokens traded in the past day */
9626
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
9627
+ /** Number of unique tokens traded in the past week */
9628
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
9629
+ /** Number of unique tokens traded in the past year */
9630
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
9631
+ /** Number of unique tokens traded in the past 30 days */
9632
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
9633
+ /** Volume in USD in the past day */
9634
+ volumeUsd1d?: InputMaybe<NumberFilter>;
9635
+ /** Volume in USD in the past week */
9636
+ volumeUsd1w?: InputMaybe<NumberFilter>;
9637
+ /** Volume in USD in the past year */
9638
+ volumeUsd1y?: InputMaybe<NumberFilter>;
9639
+ /** Volume in USD in the past 30 days */
9640
+ volumeUsd30d?: InputMaybe<NumberFilter>;
9641
+ /** Total volume in USD in the past day including all tokens */
9642
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
9643
+ /** Total volume in USD in the past week including all tokens */
9644
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
9645
+ /** Total volume in USD in the past year including all tokens */
9646
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
9647
+ /** Total volume in USD in the past 30 days including all tokens */
9648
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
9649
+ /** Win rate in the past day */
9650
+ winRate1d?: InputMaybe<NumberFilter>;
9651
+ /** Win rate in the past week */
9652
+ winRate1w?: InputMaybe<NumberFilter>;
9653
+ /** Win rate in the past year */
9654
+ winRate1y?: InputMaybe<NumberFilter>;
9655
+ /** Win rate in the past 30 days */
9656
+ winRate30d?: InputMaybe<NumberFilter>;
9657
+ };
9658
+
9659
+ export type WalletNetworkRanking = {
9660
+ /** The attribute to rank wallets by. */
9661
+ attribute?: InputMaybe<WalletNetworkRankingAttribute>;
9662
+ /** The direction to apply to the ranking attribute. */
9663
+ direction?: InputMaybe<RankingDirection>;
9664
+ };
9665
+
9666
+ export enum WalletNetworkRankingAttribute {
9667
+ AverageProfitUsdPerTrade1d = 'averageProfitUsdPerTrade1d',
9668
+ AverageProfitUsdPerTrade1w = 'averageProfitUsdPerTrade1w',
9669
+ AverageProfitUsdPerTrade1y = 'averageProfitUsdPerTrade1y',
9670
+ AverageProfitUsdPerTrade30d = 'averageProfitUsdPerTrade30d',
9671
+ AverageSwapAmountUsd1d = 'averageSwapAmountUsd1d',
9672
+ AverageSwapAmountUsd1w = 'averageSwapAmountUsd1w',
9673
+ AverageSwapAmountUsd1y = 'averageSwapAmountUsd1y',
9674
+ AverageSwapAmountUsd30d = 'averageSwapAmountUsd30d',
9675
+ BotScore = 'botScore',
9676
+ FirstTransactionAt = 'firstTransactionAt',
9677
+ LastTransactionAt = 'lastTransactionAt',
9678
+ NativeTokenBalance = 'nativeTokenBalance',
9679
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
9680
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
9681
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
9682
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
9683
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
9684
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
9685
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
9686
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
9687
+ ScammerScore = 'scammerScore',
9688
+ Swaps1d = 'swaps1d',
9689
+ Swaps1w = 'swaps1w',
9690
+ Swaps1y = 'swaps1y',
9691
+ Swaps30d = 'swaps30d',
9692
+ SwapsAll1d = 'swapsAll1d',
9693
+ SwapsAll1w = 'swapsAll1w',
9694
+ SwapsAll1y = 'swapsAll1y',
9695
+ SwapsAll30d = 'swapsAll30d',
9696
+ UniqueTokens1d = 'uniqueTokens1d',
9697
+ UniqueTokens1w = 'uniqueTokens1w',
9698
+ UniqueTokens1y = 'uniqueTokens1y',
9699
+ UniqueTokens30d = 'uniqueTokens30d',
9700
+ VolumeUsd1d = 'volumeUsd1d',
9701
+ VolumeUsd1w = 'volumeUsd1w',
9702
+ VolumeUsd1y = 'volumeUsd1y',
9703
+ VolumeUsd30d = 'volumeUsd30d',
9704
+ VolumeUsdAll1d = 'volumeUsdAll1d',
9705
+ VolumeUsdAll1w = 'volumeUsdAll1w',
9706
+ VolumeUsdAll1y = 'volumeUsdAll1y',
9707
+ VolumeUsdAll30d = 'volumeUsdAll30d',
9708
+ WinRate1d = 'winRate1d',
9709
+ WinRate1w = 'winRate1w',
9710
+ WinRate1y = 'winRate1y',
9711
+ WinRate30d = 'winRate30d'
9712
+ }
9713
+
8698
9714
  export type WalletNftCollection = {
8699
9715
  __typename?: 'WalletNftCollection';
8700
9716
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8749,6 +9765,326 @@ export type WalletNftCollectionsResponse = {
8749
9765
  items: Array<WalletNftCollection>;
8750
9766
  };
8751
9767
 
9768
+ export type WalletRanking = {
9769
+ /** The attribute to rank wallets by. */
9770
+ attribute?: InputMaybe<WalletRankingAttribute>;
9771
+ /** The direction to apply to the ranking attribute. */
9772
+ direction?: InputMaybe<RankingDirection>;
9773
+ };
9774
+
9775
+ export enum WalletRankingAttribute {
9776
+ AverageProfitUsdPerTrade1d = 'averageProfitUsdPerTrade1d',
9777
+ AverageProfitUsdPerTrade1w = 'averageProfitUsdPerTrade1w',
9778
+ AverageProfitUsdPerTrade1y = 'averageProfitUsdPerTrade1y',
9779
+ AverageProfitUsdPerTrade30d = 'averageProfitUsdPerTrade30d',
9780
+ AverageSwapAmountUsd1d = 'averageSwapAmountUsd1d',
9781
+ AverageSwapAmountUsd1w = 'averageSwapAmountUsd1w',
9782
+ AverageSwapAmountUsd1y = 'averageSwapAmountUsd1y',
9783
+ AverageSwapAmountUsd30d = 'averageSwapAmountUsd30d',
9784
+ BotScore = 'botScore',
9785
+ FirstTransactionAt = 'firstTransactionAt',
9786
+ LastTransactionAt = 'lastTransactionAt',
9787
+ NativeTokenBalance = 'nativeTokenBalance',
9788
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
9789
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
9790
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
9791
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
9792
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
9793
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
9794
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
9795
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
9796
+ ScammerScore = 'scammerScore',
9797
+ Swaps1d = 'swaps1d',
9798
+ Swaps1w = 'swaps1w',
9799
+ Swaps1y = 'swaps1y',
9800
+ Swaps30d = 'swaps30d',
9801
+ SwapsAll1d = 'swapsAll1d',
9802
+ SwapsAll1w = 'swapsAll1w',
9803
+ SwapsAll1y = 'swapsAll1y',
9804
+ SwapsAll30d = 'swapsAll30d',
9805
+ UniqueTokens1d = 'uniqueTokens1d',
9806
+ UniqueTokens1w = 'uniqueTokens1w',
9807
+ UniqueTokens1y = 'uniqueTokens1y',
9808
+ UniqueTokens30d = 'uniqueTokens30d',
9809
+ VolumeUsd1d = 'volumeUsd1d',
9810
+ VolumeUsd1w = 'volumeUsd1w',
9811
+ VolumeUsd1y = 'volumeUsd1y',
9812
+ VolumeUsd30d = 'volumeUsd30d',
9813
+ VolumeUsdAll1d = 'volumeUsdAll1d',
9814
+ VolumeUsdAll1w = 'volumeUsdAll1w',
9815
+ VolumeUsdAll1y = 'volumeUsdAll1y',
9816
+ VolumeUsdAll30d = 'volumeUsdAll30d',
9817
+ WinRate1d = 'winRate1d',
9818
+ WinRate1w = 'winRate1w',
9819
+ WinRate1y = 'winRate1y',
9820
+ WinRate30d = 'winRate30d'
9821
+ }
9822
+
9823
+ /** The period the wallet stats are for. */
9824
+ export enum WalletStatsDuration {
9825
+ Day1 = 'day1',
9826
+ Day30 = 'day30',
9827
+ Week1 = 'week1',
9828
+ Year1 = 'year1'
9829
+ }
9830
+
9831
+ export type WalletTokenFilterRange = {
9832
+ /** The maximum value (inclusive) */
9833
+ max?: InputMaybe<Scalars['String']['input']>;
9834
+ /** The minimum value (inclusive) */
9835
+ min?: InputMaybe<Scalars['String']['input']>;
9836
+ };
9837
+
9838
+ export type WalletTokenFilters = {
9839
+ /** Filter by amount bought in USD in the past day */
9840
+ amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
9841
+ /** Filter by amount bought in USD in the past week */
9842
+ amountBoughtUsd1w?: InputMaybe<WalletTokenFilterRange>;
9843
+ /** Filter by amount bought in USD in the past year */
9844
+ amountBoughtUsd1y?: InputMaybe<WalletTokenFilterRange>;
9845
+ /** Filter by amount bought in USD in the past 30 days */
9846
+ amountBoughtUsd30d?: InputMaybe<WalletTokenFilterRange>;
9847
+ /** Filter by amount sold in USD in the past day */
9848
+ amountSoldUsd1d?: InputMaybe<WalletTokenFilterRange>;
9849
+ /** Filter by amount sold in USD in the past week */
9850
+ amountSoldUsd1w?: InputMaybe<WalletTokenFilterRange>;
9851
+ /** Filter by amount sold in USD in the past year */
9852
+ amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
9853
+ /** Filter by amount sold in USD in the past 30 days */
9854
+ amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
9855
+ /** Filter by bot score */
9856
+ botScore?: InputMaybe<WalletTokenFilterRange>;
9857
+ /** Filter by number of buys in the past day */
9858
+ buys1d?: InputMaybe<WalletTokenFilterRange>;
9859
+ /** Filter by number of buys in the past week */
9860
+ buys1w?: InputMaybe<WalletTokenFilterRange>;
9861
+ /** Filter by number of buys in the past year */
9862
+ buys1y?: InputMaybe<WalletTokenFilterRange>;
9863
+ /** Filter by number of buys in the past 30 days */
9864
+ buys30d?: InputMaybe<WalletTokenFilterRange>;
9865
+ /** Filter by first transaction timestamp */
9866
+ firstTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9867
+ /** Filter by last transaction timestamp */
9868
+ lastTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9869
+ /** Filter by purchased token balance */
9870
+ purchasedTokenBalance?: InputMaybe<WalletTokenFilterRange>;
9871
+ /** Filter by realized profit percentage in the past day */
9872
+ realizedProfitPercentage1d?: InputMaybe<WalletTokenFilterRange>;
9873
+ /** Filter by realized profit percentage in the past week */
9874
+ realizedProfitPercentage1w?: InputMaybe<WalletTokenFilterRange>;
9875
+ /** Filter by realized profit percentage in the past year */
9876
+ realizedProfitPercentage1y?: InputMaybe<WalletTokenFilterRange>;
9877
+ /** Filter by realized profit percentage in the past 30 days */
9878
+ realizedProfitPercentage30d?: InputMaybe<WalletTokenFilterRange>;
9879
+ /** Filter by realized profit in USD in the past day */
9880
+ realizedProfitUsd1d?: InputMaybe<WalletTokenFilterRange>;
9881
+ /** Filter by realized profit in USD in the past week */
9882
+ realizedProfitUsd1w?: InputMaybe<WalletTokenFilterRange>;
9883
+ /** Filter by realized profit in USD in the past year */
9884
+ realizedProfitUsd1y?: InputMaybe<WalletTokenFilterRange>;
9885
+ /** Filter by realized profit in USD in the past 30 days */
9886
+ realizedProfitUsd30d?: InputMaybe<WalletTokenFilterRange>;
9887
+ /** Filter by scammer score */
9888
+ scammerScore?: InputMaybe<WalletTokenFilterRange>;
9889
+ /** Filter by number of sells in the past day */
9890
+ sells1d?: InputMaybe<WalletTokenFilterRange>;
9891
+ /** Filter by number of sells in the past week */
9892
+ sells1w?: InputMaybe<WalletTokenFilterRange>;
9893
+ /** Filter by number of sells in the past year */
9894
+ sells1y?: InputMaybe<WalletTokenFilterRange>;
9895
+ /** Filter by number of sells in the past 30 days */
9896
+ sells30d?: InputMaybe<WalletTokenFilterRange>;
9897
+ /** Filter by token acquisition cost in USD */
9898
+ tokenAcquisitionCostUsd?: InputMaybe<WalletTokenFilterRange>;
9899
+ /** Filter by token amount bought in the past day */
9900
+ tokenAmountBought1d?: InputMaybe<WalletTokenFilterRange>;
9901
+ /** Filter by token amount bought in the past week */
9902
+ tokenAmountBought1w?: InputMaybe<WalletTokenFilterRange>;
9903
+ /** Filter by token amount bought in the past year */
9904
+ tokenAmountBought1y?: InputMaybe<WalletTokenFilterRange>;
9905
+ /** Filter by token amount bought in the past 30 days */
9906
+ tokenAmountBought30d?: InputMaybe<WalletTokenFilterRange>;
9907
+ /** Filter by token amount sold in the past day */
9908
+ tokenAmountSold1d?: InputMaybe<WalletTokenFilterRange>;
9909
+ /** Filter by token amount sold in the past week */
9910
+ tokenAmountSold1w?: InputMaybe<WalletTokenFilterRange>;
9911
+ /** Filter by token amount sold in the past year */
9912
+ tokenAmountSold1y?: InputMaybe<WalletTokenFilterRange>;
9913
+ /** Filter by token amount sold in the past 30 days */
9914
+ tokenAmountSold30d?: InputMaybe<WalletTokenFilterRange>;
9915
+ /** Filter by token balance */
9916
+ tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9917
+ };
9918
+
9919
+ export type WalletTokenFiltersV2 = {
9920
+ /** Filter by amount bought in USD in the past day */
9921
+ amountBoughtUsd1d?: InputMaybe<NumberFilter>;
9922
+ /** Filter by amount bought in USD in the past week */
9923
+ amountBoughtUsd1w?: InputMaybe<NumberFilter>;
9924
+ /** Filter by amount bought in USD in the past year */
9925
+ amountBoughtUsd1y?: InputMaybe<NumberFilter>;
9926
+ /** Filter by amount bought in USD in the past 30 days */
9927
+ amountBoughtUsd30d?: InputMaybe<NumberFilter>;
9928
+ /** Filter by amount sold in USD in the past day */
9929
+ amountSoldUsd1d?: InputMaybe<NumberFilter>;
9930
+ /** Filter by amount sold in USD in the past week */
9931
+ amountSoldUsd1w?: InputMaybe<NumberFilter>;
9932
+ /** Filter by amount sold in USD in the past year */
9933
+ amountSoldUsd1y?: InputMaybe<NumberFilter>;
9934
+ /** Filter by amount sold in USD in the past 30 days */
9935
+ amountSoldUsd30d?: InputMaybe<NumberFilter>;
9936
+ /** Filter by bot score */
9937
+ botScore?: InputMaybe<NumberFilter>;
9938
+ /** Filter by number of buys in the past day */
9939
+ buys1d?: InputMaybe<NumberFilter>;
9940
+ /** Filter by number of buys in the past week */
9941
+ buys1w?: InputMaybe<NumberFilter>;
9942
+ /** Filter by number of buys in the past year */
9943
+ buys1y?: InputMaybe<NumberFilter>;
9944
+ /** Filter by number of buys in the past 30 days */
9945
+ buys30d?: InputMaybe<NumberFilter>;
9946
+ /** Filter by first transaction timestamp */
9947
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9948
+ /** Filter by last transaction timestamp */
9949
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9950
+ /** Filter by purchased token balance */
9951
+ purchasedTokenBalance?: InputMaybe<NumberFilter>;
9952
+ /** Filter by realized profit percentage in the past day */
9953
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9954
+ /** Filter by realized profit percentage in the past week */
9955
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9956
+ /** Filter by realized profit percentage in the past year */
9957
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9958
+ /** Filter by realized profit percentage in the past 30 days */
9959
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9960
+ /** Filter by realized profit in USD in the past day */
9961
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9962
+ /** Filter by realized profit in USD in the past week */
9963
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9964
+ /** Filter by realized profit in USD in the past year */
9965
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9966
+ /** Filter by realized profit in USD in the past 30 days */
9967
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9968
+ /** Filter by scammer score */
9969
+ scammerScore?: InputMaybe<NumberFilter>;
9970
+ /** Filter by number of sells in the past day */
9971
+ sells1d?: InputMaybe<NumberFilter>;
9972
+ /** Filter by number of sells in the past week */
9973
+ sells1w?: InputMaybe<NumberFilter>;
9974
+ /** Filter by number of sells in the past year */
9975
+ sells1y?: InputMaybe<NumberFilter>;
9976
+ /** Filter by number of sells in the past 30 days */
9977
+ sells30d?: InputMaybe<NumberFilter>;
9978
+ /** Filter by token acquisition cost in USD */
9979
+ tokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
9980
+ /** Filter by token amount bought in the past day */
9981
+ tokenAmountBought1d?: InputMaybe<NumberFilter>;
9982
+ /** Filter by token amount bought in the past week */
9983
+ tokenAmountBought1w?: InputMaybe<NumberFilter>;
9984
+ /** Filter by token amount bought in the past year */
9985
+ tokenAmountBought1y?: InputMaybe<NumberFilter>;
9986
+ /** Filter by token amount bought in the past 30 days */
9987
+ tokenAmountBought30d?: InputMaybe<NumberFilter>;
9988
+ /** Filter by token amount sold in the past day */
9989
+ tokenAmountSold1d?: InputMaybe<NumberFilter>;
9990
+ /** Filter by token amount sold in the past week */
9991
+ tokenAmountSold1w?: InputMaybe<NumberFilter>;
9992
+ /** Filter by token amount sold in the past year */
9993
+ tokenAmountSold1y?: InputMaybe<NumberFilter>;
9994
+ /** Filter by token amount sold in the past 30 days */
9995
+ tokenAmountSold30d?: InputMaybe<NumberFilter>;
9996
+ /** Filter by token balance */
9997
+ tokenBalance?: InputMaybe<NumberFilter>;
9998
+ };
9999
+
10000
+ export type WalletTokenRanking = {
10001
+ /** The attribute to rank wallets by */
10002
+ attribute: WalletTokenRankingAttribute;
10003
+ /** The direction to apply to the ranking attribute */
10004
+ direction: RankingDirection;
10005
+ };
10006
+
10007
+ export enum WalletTokenRankingAttribute {
10008
+ /** Amount bought in USD in the past day */
10009
+ AmountBoughtUsd1d = 'amountBoughtUsd1d',
10010
+ /** Amount bought in USD in the past week */
10011
+ AmountBoughtUsd1w = 'amountBoughtUsd1w',
10012
+ /** Amount bought in USD in the past year */
10013
+ AmountBoughtUsd1y = 'amountBoughtUsd1y',
10014
+ /** Amount bought in USD in the past 30 days */
10015
+ AmountBoughtUsd30d = 'amountBoughtUsd30d',
10016
+ /** Amount sold in USD in the past day */
10017
+ AmountSoldUsd1d = 'amountSoldUsd1d',
10018
+ /** Amount sold in USD in the past week */
10019
+ AmountSoldUsd1w = 'amountSoldUsd1w',
10020
+ /** Amount sold in USD in the past year */
10021
+ AmountSoldUsd1y = 'amountSoldUsd1y',
10022
+ /** Amount sold in USD in the past 30 days */
10023
+ AmountSoldUsd30d = 'amountSoldUsd30d',
10024
+ /** The bot score for the wallet. */
10025
+ BotScore = 'botScore',
10026
+ /** Number of buys in the past day */
10027
+ Buys1d = 'buys1d',
10028
+ /** Number of buys in the past week */
10029
+ Buys1w = 'buys1w',
10030
+ /** Number of buys in the past year */
10031
+ Buys1y = 'buys1y',
10032
+ /** Number of buys in the past 30 days */
10033
+ Buys30d = 'buys30d',
10034
+ /** The first transaction timestamp */
10035
+ FirstTransactionAt = 'firstTransactionAt',
10036
+ /** The last transaction timestamp */
10037
+ LastTransactionAt = 'lastTransactionAt',
10038
+ /** Purchased token balance */
10039
+ PurchasedTokenBalance = 'purchasedTokenBalance',
10040
+ /** Realized profit percentage in the past day */
10041
+ RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
10042
+ /** Realized profit percentage in the past week */
10043
+ RealizedProfitPercentage1w = 'realizedProfitPercentage1w',
10044
+ /** Realized profit percentage in the past year */
10045
+ RealizedProfitPercentage1y = 'realizedProfitPercentage1y',
10046
+ /** Realized profit percentage in the past 30 days */
10047
+ RealizedProfitPercentage30d = 'realizedProfitPercentage30d',
10048
+ /** Realized profit in USD in the past day */
10049
+ RealizedProfitUsd1d = 'realizedProfitUsd1d',
10050
+ /** Realized profit in USD in the past week */
10051
+ RealizedProfitUsd1w = 'realizedProfitUsd1w',
10052
+ /** Realized profit in USD in the past year */
10053
+ RealizedProfitUsd1y = 'realizedProfitUsd1y',
10054
+ /** Realized profit in USD in the past 30 days */
10055
+ RealizedProfitUsd30d = 'realizedProfitUsd30d',
10056
+ /** The scammer score for the wallet. */
10057
+ ScammerScore = 'scammerScore',
10058
+ /** Number of sells in the past day */
10059
+ Sells1d = 'sells1d',
10060
+ /** Number of sells in the past week */
10061
+ Sells1w = 'sells1w',
10062
+ /** Number of sells in the past year */
10063
+ Sells1y = 'sells1y',
10064
+ /** Number of sells in the past 30 days */
10065
+ Sells30d = 'sells30d',
10066
+ /** Token acquisition cost in USD */
10067
+ TokenAcquisitionCostUsd = 'tokenAcquisitionCostUsd',
10068
+ /** Token amount bought in the past day */
10069
+ TokenAmountBought1d = 'tokenAmountBought1d',
10070
+ /** Token amount bought in the past week */
10071
+ TokenAmountBought1w = 'tokenAmountBought1w',
10072
+ /** Token amount bought in the past year */
10073
+ TokenAmountBought1y = 'tokenAmountBought1y',
10074
+ /** Token amount bought in the past 30 days */
10075
+ TokenAmountBought30d = 'tokenAmountBought30d',
10076
+ /** Token amount sold in the past day */
10077
+ TokenAmountSold1d = 'tokenAmountSold1d',
10078
+ /** Token amount sold in the past week */
10079
+ TokenAmountSold1w = 'tokenAmountSold1w',
10080
+ /** Token amount sold in the past year */
10081
+ TokenAmountSold1y = 'tokenAmountSold1y',
10082
+ /** Token amount sold in the past 30 days */
10083
+ TokenAmountSold30d = 'tokenAmountSold30d',
10084
+ /** Token balance */
10085
+ TokenBalance = 'tokenBalance'
10086
+ }
10087
+
8752
10088
  /** Metadata for a washtrade label. */
8753
10089
  export type WashtradeLabelForEvent = {
8754
10090
  __typename?: 'WashtradeLabelForEvent';
@@ -8788,7 +10124,7 @@ export type Webhook = {
8788
10124
  };
8789
10125
 
8790
10126
  /** Webhook conditions that must be met for each webhook type. */
8791
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
10127
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
8792
10128
 
8793
10129
  /** NFT marketplace names. */
8794
10130
  export enum WebhookNftEventFillSource {
@@ -8818,6 +10154,7 @@ export enum WebhookNftEventType {
8818
10154
 
8819
10155
  /** The type of webhook. */
8820
10156
  export enum WebhookType {
10157
+ MarketCapEvent = 'MARKET_CAP_EVENT',
8821
10158
  NftEvent = 'NFT_EVENT',
8822
10159
  PriceEvent = 'PRICE_EVENT',
8823
10160
  RawTransaction = 'RAW_TRANSACTION',
@@ -8845,6 +10182,27 @@ export type WindowedDetailedCurrencyPairStats = {
8845
10182
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8846
10183
  };
8847
10184
 
10185
+ /** The currency stats for a wallet over a time window. */
10186
+ export type WindowedDetailedCurrencyWalletStats = {
10187
+ __typename?: 'WindowedDetailedCurrencyWalletStats';
10188
+ /** The average profit in USD per trade */
10189
+ averageProfitUsdPerTrade: Scalars['String']['output'];
10190
+ /** The average swap amount in USD */
10191
+ averageSwapAmountUsd: Scalars['String']['output'];
10192
+ /** The cost of tokens held in the wallet */
10193
+ heldTokenAcquisitionCostUsd: Scalars['String']['output'];
10194
+ /** The realized profit percentage */
10195
+ realizedProfitPercentage: Scalars['Float']['output'];
10196
+ /** The realized profit in USD */
10197
+ realizedProfitUsd: Scalars['String']['output'];
10198
+ /** The cost of tokens sold during the period */
10199
+ soldTokenAcquisitionCostUsd: Scalars['String']['output'];
10200
+ /** The volume in USD */
10201
+ volumeUsd: Scalars['String']['output'];
10202
+ /** The volume in USD including tokens sold for which we do not have a price */
10203
+ volumeUsdAll: Scalars['String']['output'];
10204
+ };
10205
+
8848
10206
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8849
10207
  export type WindowedDetailedNftCurrencyStats = {
8850
10208
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8919,6 +10277,19 @@ export type WindowedDetailedNonCurrencyPairStats = {
8919
10277
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8920
10278
  };
8921
10279
 
10280
+ /** The non-currency stats for a wallet over a time window. */
10281
+ export type WindowedDetailedNonCurrencyWalletStats = {
10282
+ __typename?: 'WindowedDetailedNonCurrencyWalletStats';
10283
+ /** The number of losses */
10284
+ losses: Scalars['Int']['output'];
10285
+ /** The number of swaps */
10286
+ swaps: Scalars['Int']['output'];
10287
+ /** The number of unique tokens */
10288
+ uniqueTokens: Scalars['Int']['output'];
10289
+ /** The number of wins */
10290
+ wins: Scalars['Int']['output'];
10291
+ };
10292
+
8922
10293
  /** Detailed pair stats over a time frame. */
8923
10294
  export type WindowedDetailedPairStats = {
8924
10295
  __typename?: 'WindowedDetailedPairStats';
@@ -8967,6 +10338,25 @@ export type WindowedDetailedStats = {
8967
10338
  windowSize: DetailedStatsWindowSize;
8968
10339
  };
8969
10340
 
10341
+ /** The stats for a wallet over a time window. */
10342
+ export type WindowedWalletStats = {
10343
+ __typename?: 'WindowedWalletStats';
10344
+ /** The end timestamp */
10345
+ end: Scalars['Int']['output'];
10346
+ /** The last transaction timestamp */
10347
+ lastTransactionAt: Scalars['Int']['output'];
10348
+ /** The network ID */
10349
+ networkId?: Maybe<Scalars['Int']['output']>;
10350
+ /** The start timestamp */
10351
+ start: Scalars['Int']['output'];
10352
+ /** The stats related to non-currency */
10353
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats;
10354
+ /** The stats related to currency */
10355
+ statsUsd: WindowedDetailedCurrencyWalletStats;
10356
+ /** The wallet address */
10357
+ walletAddress: Scalars['String']['output'];
10358
+ };
10359
+
8970
10360
  export enum Join__Graph {
8971
10361
  ApiAdmin = 'API_ADMIN',
8972
10362
  Decodings = 'DECODINGS',