@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
@@ -58,6 +58,14 @@ export type Scalars = {
58
58
  output: any;
59
59
  };
60
60
  };
61
+ /** Response returned by `onEventsCreatedByMaker`. */
62
+ export type AddEventsByMakerOutput = {
63
+ __typename?: 'AddEventsByMakerOutput';
64
+ /** A list of transactions for the maker. */
65
+ events: Array<Event>;
66
+ /** The address of the maker. */
67
+ makerAddress: Scalars['String']['output'];
68
+ };
61
69
  /** Response returned by `onEventsCreated`. */
62
70
  export type AddEventsOutput = {
63
71
  __typename?: 'AddEventsOutput';
@@ -112,6 +120,13 @@ export type AddTrackedWalletEventsOutput = {
112
120
  __typename?: 'AddTrackedWalletEventsOutput';
113
121
  userId: Scalars['String']['output'];
114
122
  };
123
+ export type AddUnconfirmedEventsByMakerOutput = {
124
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
125
+ /** A list of transactions for the maker. */
126
+ events: Array<UnconfirmedEvent>;
127
+ /** The wallet address of the maker. */
128
+ makerAddress: Scalars['String']['output'];
129
+ };
115
130
  /** Response returned by `onUnconfirmedEventsCreated`. */
116
131
  export type AddUnconfirmedEventsOutput = {
117
132
  __typename?: 'AddUnconfirmedEventsOutput';
@@ -179,16 +194,22 @@ export type Balance = {
179
194
  address: Scalars['String']['output'];
180
195
  /** The balance held by the wallet. */
181
196
  balance: Scalars['String']['output'];
197
+ /** The balance held by the wallet in USD. */
198
+ balanceUsd?: Maybe<Scalars['String']['output']>;
182
199
  /** The time that this address first held a token. */
183
200
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
184
201
  /** The wallet network. */
185
202
  networkId: Scalars['Int']['output'];
186
203
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
187
204
  shiftedBalance: Scalars['Float']['output'];
205
+ /** Metadata for the token. */
206
+ token?: Maybe<EnhancedToken>;
188
207
  /** The contract address of the token. */
189
208
  tokenAddress: Scalars['String']['output'];
190
209
  /** The ID of the token (`tokenAddress:networkId`). */
191
210
  tokenId: Scalars['String']['output'];
211
+ /** The token price in USD. */
212
+ tokenPriceUsd?: Maybe<Scalars['String']['output']>;
192
213
  /** The ID of the wallet (`walletAddress:networkId`). */
193
214
  walletId: Scalars['String']['output'];
194
215
  };
@@ -196,17 +217,19 @@ export type BalancesInput = {
196
217
  /** A cursor for use in pagination. */
197
218
  cursor?: InputMaybe<Scalars['String']['input']>;
198
219
  /**
199
- * Optional token specifically request the balance for.
220
+ * Optional token specifically request the balance for. Only works with `walletId`.
200
221
  * @deprecated Use tokens list instead
201
222
  */
202
223
  filterToken?: InputMaybe<Scalars['String']['input']>;
203
- /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
224
+ /** Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of `networks`. Does not apply when using `tokens`. */
204
225
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
205
- /** The maximum number of holdings to return. */
226
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
206
227
  limit?: InputMaybe<Scalars['Int']['input']>;
207
228
  /** The network IDs to filter by. */
208
229
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
209
- /** The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`). */
230
+ /** Whether to remove scam tokens from the response. */
231
+ removeScams?: InputMaybe<Scalars['Boolean']['input']>;
232
+ /** 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. */
210
233
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
211
234
  /** The wallet address to filter by. */
212
235
  walletAddress?: InputMaybe<Scalars['String']['input']>;
@@ -453,6 +476,36 @@ export type CreateApiTokensInput = {
453
476
  /** Number of requests allowed per token, represented as a string, default is 5000 */
454
477
  requestLimit?: InputMaybe<Scalars['String']['input']>;
455
478
  };
479
+ /** Input for creating a market cap webhook. */
480
+ export type CreateMarketCapWebhookArgs = {
481
+ /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
482
+ alertRecurrence: AlertRecurrence;
483
+ /** 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). */
484
+ bucketId?: InputMaybe<Scalars['String']['input']>;
485
+ /** 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). */
486
+ bucketSortkey?: InputMaybe<Scalars['String']['input']>;
487
+ /** The url to which the webhook message should be sent. */
488
+ callbackUrl: Scalars['String']['input'];
489
+ /** The conditions which must be met in order for the webhook to send a message. */
490
+ conditions: MarketCapEventWebhookConditionInput;
491
+ /** 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. */
492
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
493
+ /** 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. */
494
+ groupId?: InputMaybe<Scalars['String']['input']>;
495
+ /** The name of the webhook (max 128 characters). */
496
+ name: Scalars['String']['input'];
497
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
498
+ publishingType?: InputMaybe<PublishingType>;
499
+ /** The settings for retrying failed webhook messages. */
500
+ retrySettings?: InputMaybe<RetrySettingsInput>;
501
+ /** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
502
+ securityToken: Scalars['String']['input'];
503
+ };
504
+ /** Input for creating market cap webhooks. */
505
+ export type CreateMarketCapWebhooksInput = {
506
+ /** A list of market cap webhooks to create. */
507
+ webhooks: Array<CreateMarketCapWebhookArgs>;
508
+ };
456
509
  /** Input for creating an NFT event webhook. */
457
510
  export type CreateNftEventWebhookArgs = {
458
511
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
@@ -575,6 +628,8 @@ export type CreateTokenPairEventWebhooksInput = {
575
628
  };
576
629
  /** Input for creating webhooks. */
577
630
  export type CreateWebhooksInput = {
631
+ /** Input for creating market cap webhooks. */
632
+ marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
578
633
  /** Input for creating NFT event webhooks. */
579
634
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
580
635
  /** Input for creating price webhooks. */
@@ -587,6 +642,8 @@ export type CreateWebhooksInput = {
587
642
  /** Result returned by `createWebhooks`. */
588
643
  export type CreateWebhooksOutput = {
589
644
  __typename?: 'CreateWebhooksOutput';
645
+ /** The list of market cap event webhooks that were created. */
646
+ marketCapWebhooks: Array<Maybe<Webhook>>;
590
647
  /** The list of NFT event webhooks that were created. */
591
648
  nftEventWebhooks: Array<Maybe<Webhook>>;
592
649
  /** The list of price webhooks that were created. */
@@ -827,6 +884,46 @@ export declare enum DetailedStatsWindowSize {
827
884
  Hour12 = "hour12",
828
885
  Min5 = "min5"
829
886
  }
887
+ /** The detailed stats for a wallet. */
888
+ export type DetailedWalletStats = {
889
+ __typename?: 'DetailedWalletStats';
890
+ /** The likelihood of the wallet being a bot */
891
+ botScore?: Maybe<Scalars['Int']['output']>;
892
+ /** The labels associated with the wallet */
893
+ labels: Array<Scalars['String']['output']>;
894
+ /** The last transaction timestamp */
895
+ lastTransactionAt: Scalars['Int']['output'];
896
+ /** The network breakdown */
897
+ networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
898
+ /**
899
+ * The network specific stats
900
+ * @deprecated Use networkBreakdown instead
901
+ */
902
+ networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
903
+ /** The likelihood of the wallet being a scammer */
904
+ scammerScore?: Maybe<Scalars['Int']['output']>;
905
+ /** The stats for the last day */
906
+ statsDay1?: Maybe<WindowedWalletStats>;
907
+ /** The stats for the last 30 days */
908
+ statsDay30?: Maybe<WindowedWalletStats>;
909
+ /** The stats for the last week */
910
+ statsWeek1?: Maybe<WindowedWalletStats>;
911
+ /** The stats for the last year */
912
+ statsYear1?: Maybe<WindowedWalletStats>;
913
+ /** The wallet address */
914
+ walletAddress: Scalars['String']['output'];
915
+ };
916
+ /** The input for detailed wallet stats. */
917
+ export type DetailedWalletStatsInput = {
918
+ /** Whether to include network breakdown stats */
919
+ includeNetworkBreakdown?: InputMaybe<Scalars['Boolean']['input']>;
920
+ /** The network ID */
921
+ networkId?: InputMaybe<Scalars['Int']['input']>;
922
+ /** The timestamp to get stats for */
923
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
924
+ /** The wallet address */
925
+ walletAddress: Scalars['String']['input'];
926
+ };
830
927
  /** Metadata for a contract. */
831
928
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
832
929
  /** Metadata for an NFT collection. */
@@ -991,6 +1088,8 @@ export type Event = {
991
1088
  transactionIndex: Scalars['Int']['output'];
992
1089
  /** The age of the wallet in seconds. */
993
1090
  walletAge?: Maybe<Scalars['Int']['output']>;
1091
+ /** Labels attributed to the wallet. */
1092
+ walletLabels?: Maybe<Array<Scalars['String']['output']>>;
994
1093
  };
995
1094
  /** Response returned by `getTokenEvents`. */
996
1095
  export type EventConnection = {
@@ -1266,6 +1365,75 @@ export type FilterExchange = {
1266
1365
  /** The URL for the exchange's trading platform. */
1267
1366
  tradeUrl?: Maybe<Scalars['String']['output']>;
1268
1367
  };
1368
+ /** The input for filtering wallets for a network. */
1369
+ export type FilterNetworkWalletsInput = {
1370
+ /** Exclude wallets with these labels. */
1371
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1372
+ /** A set of filters to apply. */
1373
+ filters?: InputMaybe<WalletNetworkFilters>;
1374
+ /** Include wallets with these labels. */
1375
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1376
+ /** The maximum number of wallets to return. */
1377
+ limit?: InputMaybe<Scalars['Int']['input']>;
1378
+ /** The network ID to filter wallets for */
1379
+ networkId: Scalars['Int']['input'];
1380
+ /** 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. */
1381
+ offset?: InputMaybe<Scalars['Int']['input']>;
1382
+ /** A list of ranking attributes to apply. */
1383
+ rankings?: InputMaybe<Array<InputMaybe<WalletNetworkRanking>>>;
1384
+ /** A list of wallet addresses to filter by. */
1385
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1386
+ };
1387
+ /** The input for filtering wallets for a token. */
1388
+ export type FilterTokenWalletsInput = {
1389
+ /** Exclude wallets with these labels. */
1390
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1391
+ /**
1392
+ * A set of filters to apply
1393
+ * @deprecated Use filtersV2 instead
1394
+ */
1395
+ filters?: InputMaybe<WalletTokenFilters>;
1396
+ /** A set of filters to apply */
1397
+ filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1398
+ /** Include wallets with these labels. */
1399
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1400
+ /** The maximum number of wallets to return */
1401
+ limit?: InputMaybe<Scalars['Int']['input']>;
1402
+ /** The network ID to filter wallets for */
1403
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1404
+ /** Where in the list the server should start when returning items */
1405
+ offset?: InputMaybe<Scalars['Int']['input']>;
1406
+ /** A phrase to search for in token symbol and name */
1407
+ phrase?: InputMaybe<Scalars['String']['input']>;
1408
+ /** A list of ranking attributes to apply */
1409
+ rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1410
+ /** The ID of the token to filter wallets for */
1411
+ tokenId?: InputMaybe<Scalars['String']['input']>;
1412
+ /**
1413
+ * The wallet address to filter wallets for
1414
+ * @deprecated Use wallets instead
1415
+ */
1416
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
1417
+ /** A list of wallet addresses to filter wallets for */
1418
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1419
+ };
1420
+ /** The input for filtering wallets. */
1421
+ export type FilterWalletsInput = {
1422
+ /** Exclude wallets with these labels. */
1423
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1424
+ /** A set of filters to apply. */
1425
+ filters?: InputMaybe<WalletFilters>;
1426
+ /** Include wallets with these labels. */
1427
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1428
+ /** The maximum number of wallets to return. */
1429
+ limit?: InputMaybe<Scalars['Int']['input']>;
1430
+ /** 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. */
1431
+ offset?: InputMaybe<Scalars['Int']['input']>;
1432
+ /** A list of ranking attributes to apply. */
1433
+ rankings?: InputMaybe<Array<InputMaybe<WalletRanking>>>;
1434
+ /** A list of wallet addresses to filter by. */
1435
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1436
+ };
1269
1437
  /** Metadata for a front-run label. */
1270
1438
  export type FrontRunLabelData = {
1271
1439
  __typename?: 'FrontRunLabelData';
@@ -1319,13 +1487,13 @@ export type GetDetailedPairsStatsInput = {
1319
1487
  };
1320
1488
  export type GetGasEstimateInput = {
1321
1489
  customGas?: InputMaybe<Scalars['String']['input']>;
1322
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1490
+ exchangeAddress: Scalars['String']['input'];
1323
1491
  gasPrice?: InputMaybe<GasPrice>;
1324
1492
  inputTokenAddress: Scalars['String']['input'];
1325
1493
  inputTokenAmount: Scalars['String']['input'];
1326
1494
  networkId: Scalars['Int']['input'];
1327
1495
  outputTokenAddress: Scalars['String']['input'];
1328
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1496
+ poolAddress: Scalars['String']['input'];
1329
1497
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1330
1498
  slippage?: InputMaybe<Scalars['Float']['input']>;
1331
1499
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1401,12 +1569,12 @@ export type GetPriceInput = {
1401
1569
  };
1402
1570
  export type GetQuoteInput = {
1403
1571
  customGas?: InputMaybe<Scalars['String']['input']>;
1404
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1572
+ exchangeAddress: Scalars['String']['input'];
1405
1573
  inputTokenAddress: Scalars['String']['input'];
1406
1574
  inputTokenAmount: Scalars['String']['input'];
1407
1575
  networkId: Scalars['Int']['input'];
1408
1576
  outputTokenAddress: Scalars['String']['input'];
1409
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1577
+ poolAddress: Scalars['String']['input'];
1410
1578
  slippage?: InputMaybe<Scalars['Float']['input']>;
1411
1579
  userId?: InputMaybe<Scalars['Int']['input']>;
1412
1580
  };
@@ -1485,6 +1653,14 @@ export type HoldersUpdate = {
1485
1653
  /** The ID of the token (`tokenAddress:networkId`). */
1486
1654
  tokenId: Scalars['String']['output'];
1487
1655
  };
1656
+ export type IndexerStateInput = {
1657
+ /** The network ID to check the state of. */
1658
+ networkId: Scalars['Int']['input'];
1659
+ };
1660
+ export declare enum IndexerStatus {
1661
+ Behind = "Behind",
1662
+ Normal = "Normal"
1663
+ }
1488
1664
  /** Bar chart data. */
1489
1665
  export type IndividualBarData = {
1490
1666
  __typename?: 'IndividualBarData';
@@ -1687,6 +1863,8 @@ export type LaunchpadData = {
1687
1863
  completedSlot?: Maybe<Scalars['Int']['output']>;
1688
1864
  /** The percentage of the pool that was sold to the public. */
1689
1865
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1866
+ /** The name of the launchpad. */
1867
+ launchpadName?: Maybe<Scalars['String']['output']>;
1690
1868
  /** The launchpad protocol */
1691
1869
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1692
1870
  /** Indicates if the launchpad was migrated. */
@@ -1697,7 +1875,10 @@ export type LaunchpadData = {
1697
1875
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1698
1876
  /** The slot number when the launchpad was migrated. */
1699
1877
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1700
- /** The name of the launchpad. */
1878
+ /**
1879
+ * The name of the launchpad.
1880
+ * @deprecated Use launchpadName instead
1881
+ */
1701
1882
  name?: Maybe<Scalars['String']['output']>;
1702
1883
  /** The address of the pool. */
1703
1884
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1745,9 +1926,13 @@ export declare enum LaunchpadTokenEventType {
1745
1926
  }
1746
1927
  /** The protocol of the token. */
1747
1928
  export declare enum LaunchpadTokenProtocol {
1929
+ BoopFun = "BoopFun",
1930
+ EgoTech = "EgoTech",
1748
1931
  FourMeme = "FourMeme",
1749
1932
  Pump = "Pump",
1750
- RaydiumLaunchpad = "RaydiumLaunchpad"
1933
+ Rainbow = "Rainbow",
1934
+ RaydiumLaunchpad = "RaydiumLaunchpad",
1935
+ Vertigo = "Vertigo"
1751
1936
  }
1752
1937
  export type LiquidityData = {
1753
1938
  __typename?: 'LiquidityData';
@@ -1789,6 +1974,18 @@ export type LiquidityLock = {
1789
1974
  /** The unix timestamp for when the lock expires. */
1790
1975
  unlockAt?: Maybe<Scalars['Int']['output']>;
1791
1976
  };
1977
+ /** A breakdown of how much and where liquidity is locked. */
1978
+ export type LiquidityLockBreakdownForToken = {
1979
+ __typename?: 'LiquidityLockBreakdownForToken';
1980
+ /** The amount of tokens locked in the protocol. */
1981
+ amountLockedTokens: Scalars['String']['output'];
1982
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
1983
+ amountLockedTokensShifted: Scalars['String']['output'];
1984
+ /** The amount of liquidity locked in USD. */
1985
+ amountLockedUsd: Scalars['String']['output'];
1986
+ /** The protocol with which the liquidity is locked. */
1987
+ lockProtocol: LiquidityLockProtocol;
1988
+ };
1792
1989
  export type LiquidityLockConnection = {
1793
1990
  __typename?: 'LiquidityLockConnection';
1794
1991
  /** A cursor for use in pagination. */
@@ -1812,6 +2009,30 @@ export type LiquidityMetadata = {
1812
2009
  /** Data about locked liquidity. */
1813
2010
  lockedLiquidity: LockedLiquidityData;
1814
2011
  };
2012
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2013
+ export type LiquidityMetadataByToken = {
2014
+ __typename?: 'LiquidityMetadataByToken';
2015
+ /** A breakdown of how much and where liquidity is locked. */
2016
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2017
+ /** The percentage of liquidity that is locked. */
2018
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2019
+ /** The locked liquidity in USD. */
2020
+ lockedLiquidityUsd: Scalars['String']['output'];
2021
+ /** The locked amount of tokens in pairs. */
2022
+ lockedTokenLiquidity: Scalars['String']['output'];
2023
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2024
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2025
+ /** The network ID the token is deployed on. */
2026
+ networkId: Scalars['Int']['output'];
2027
+ /** The address of the token. */
2028
+ tokenAddress: Scalars['String']['output'];
2029
+ /** The total liquidity in USD. */
2030
+ totalLiquidityUsd: Scalars['String']['output'];
2031
+ /** The total amount of tokens in pairs. */
2032
+ totalTokenLiquidity: Scalars['String']['output'];
2033
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2034
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2035
+ };
1815
2036
  /** Liquidity NFT position data */
1816
2037
  export type LiquidityNftData = {
1817
2038
  __typename?: 'LiquidityNftData';
@@ -1899,6 +2120,33 @@ export type MakerEventsQueryInput = {
1899
2120
  /** The token involved in the event. */
1900
2121
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
1901
2122
  };
2123
+ /** Webhook conditions for a market cap event. */
2124
+ export type MarketCapEventWebhookCondition = {
2125
+ __typename?: 'MarketCapEventWebhookCondition';
2126
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2127
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2128
+ /** The market cap condition that must be met in order for the webhook to send. */
2129
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2130
+ /** The network ID the webhook is listening on. */
2131
+ networkId: IntEqualsCondition;
2132
+ /** The pair contract address the webhook is listening for. */
2133
+ pairAddress?: Maybe<StringEqualsCondition>;
2134
+ /** The token contract address the webhook is listening for. */
2135
+ tokenAddress: StringEqualsCondition;
2136
+ };
2137
+ /** Input conditions for a market cap event webhook. */
2138
+ export type MarketCapEventWebhookConditionInput = {
2139
+ /** The circulating market cap conditions to listen for. */
2140
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2141
+ /** The price conditions to listen for. */
2142
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2143
+ /** The network ID to listen on. */
2144
+ networkId: IntEqualsConditionInput;
2145
+ /** The contract address of the pair to listen for. */
2146
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2147
+ /** The contract address of the token to listen for. */
2148
+ tokenAddress: StringEqualsConditionInput;
2149
+ };
1902
2150
  /** The status for a network supported on Defined. */
1903
2151
  export type MetadataResponse = {
1904
2152
  __typename?: 'MetadataResponse';
@@ -1971,6 +2219,138 @@ export type Network = {
1971
2219
  name: Scalars['String']['output'];
1972
2220
  networkShortName?: Maybe<Scalars['String']['output']>;
1973
2221
  };
2222
+ /** A breakdown of the wallet's activity by network. */
2223
+ export type NetworkBreakdown = {
2224
+ __typename?: 'NetworkBreakdown';
2225
+ /** The native token balance */
2226
+ nativeTokenBalance: Scalars['String']['output'];
2227
+ /** The network ID */
2228
+ networkId: Scalars['Int']['output'];
2229
+ /** The stats for the last day */
2230
+ statsDay1?: Maybe<WindowedWalletStats>;
2231
+ /** The stats for the last 30 days */
2232
+ statsDay30?: Maybe<WindowedWalletStats>;
2233
+ /** The stats for the last week */
2234
+ statsWeek1?: Maybe<WindowedWalletStats>;
2235
+ /** The stats for the last year */
2236
+ statsYear1?: Maybe<WindowedWalletStats>;
2237
+ };
2238
+ export type NetworkWalletFilterConnection = {
2239
+ __typename?: 'NetworkWalletFilterConnection';
2240
+ /** The number of wallets returned. */
2241
+ count: Scalars['Int']['output'];
2242
+ /** Where in the list the server started when returning items. */
2243
+ offset: Scalars['Int']['output'];
2244
+ /** The list of wallets matching the filter parameters. */
2245
+ results: Array<NetworkWalletFilterResult>;
2246
+ };
2247
+ export type NetworkWalletFilterResult = {
2248
+ __typename?: 'NetworkWalletFilterResult';
2249
+ /** The wallet address */
2250
+ address: Scalars['String']['output'];
2251
+ /** Average profit in USD per trade in the past day */
2252
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
2253
+ /** Average profit in USD per trade in the past week */
2254
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
2255
+ /** Average profit in USD per trade in the past year */
2256
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
2257
+ /** Average profit in USD per trade in the past 30 days */
2258
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
2259
+ /** Average swap amount in USD in the past day */
2260
+ averageSwapAmountUsd1d: Scalars['String']['output'];
2261
+ /** Average swap amount in USD in the past week */
2262
+ averageSwapAmountUsd1w: Scalars['String']['output'];
2263
+ /** Average swap amount in USD in the past year */
2264
+ averageSwapAmountUsd1y: Scalars['String']['output'];
2265
+ /** Average swap amount in USD in the past 30 days */
2266
+ averageSwapAmountUsd30d: Scalars['String']['output'];
2267
+ /** The bot score for the wallet. */
2268
+ botScore?: Maybe<Scalars['Int']['output']>;
2269
+ /** The unix timestamp for the first transaction from this wallet */
2270
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
2271
+ /** The labels associated with the wallet */
2272
+ labels: Array<Scalars['String']['output']>;
2273
+ /** The unix timestamp for the last transaction from this wallet */
2274
+ lastTransactionAt: Scalars['Int']['output'];
2275
+ /** The native token balance of the wallet */
2276
+ nativeTokenBalance: Scalars['String']['output'];
2277
+ /** The network ID of the wallet */
2278
+ networkId: Scalars['Int']['output'];
2279
+ /** Realized profit percentage in the past day */
2280
+ realizedProfitPercentage1d: Scalars['Float']['output'];
2281
+ /** Realized profit percentage in the past week */
2282
+ realizedProfitPercentage1w: Scalars['Float']['output'];
2283
+ /** Realized profit percentage in the past year */
2284
+ realizedProfitPercentage1y: Scalars['Float']['output'];
2285
+ /** Realized profit percentage in the past 30 days */
2286
+ realizedProfitPercentage30d: Scalars['Float']['output'];
2287
+ /** Realized profit in USD in the past day */
2288
+ realizedProfitUsd1d: Scalars['String']['output'];
2289
+ /** Realized profit in USD in the past week */
2290
+ realizedProfitUsd1w: Scalars['String']['output'];
2291
+ /** Realized profit in USD in the past year */
2292
+ realizedProfitUsd1y: Scalars['String']['output'];
2293
+ /** Realized profit in USD in the past 30 days */
2294
+ realizedProfitUsd30d: Scalars['String']['output'];
2295
+ /** The scammer score for the wallet. */
2296
+ scammerScore?: Maybe<Scalars['Int']['output']>;
2297
+ /** Number of swaps in the past day */
2298
+ swaps1d: Scalars['Int']['output'];
2299
+ /** Number of swaps in the past week */
2300
+ swaps1w: Scalars['Int']['output'];
2301
+ /** Number of swaps in the past year */
2302
+ swaps1y: Scalars['Int']['output'];
2303
+ /** Number of swaps in the past 30 days */
2304
+ swaps30d: Scalars['Int']['output'];
2305
+ /** Total number of swaps in the past day including all tokens */
2306
+ swapsAll1d: Scalars['Int']['output'];
2307
+ /** Total number of swaps in the past week including all tokens */
2308
+ swapsAll1w: Scalars['Int']['output'];
2309
+ /** Total number of swaps in the past year including all tokens */
2310
+ swapsAll1y: Scalars['Int']['output'];
2311
+ /** Total number of swaps in the past 30 days including all tokens */
2312
+ swapsAll30d: Scalars['Int']['output'];
2313
+ /** Number of unique tokens traded in the past day */
2314
+ uniqueTokens1d: Scalars['Int']['output'];
2315
+ /** Number of unique tokens traded in the past week */
2316
+ uniqueTokens1w: Scalars['Int']['output'];
2317
+ /** Number of unique tokens traded in the past year */
2318
+ uniqueTokens1y: Scalars['Int']['output'];
2319
+ /** Number of unique tokens traded in the past 30 days */
2320
+ uniqueTokens30d: Scalars['Int']['output'];
2321
+ /** Volume in USD in the past day */
2322
+ volumeUsd1d: Scalars['String']['output'];
2323
+ /** Volume in USD in the past week */
2324
+ volumeUsd1w: Scalars['String']['output'];
2325
+ /** Volume in USD in the past year */
2326
+ volumeUsd1y: Scalars['String']['output'];
2327
+ /** Volume in USD in the past 30 days */
2328
+ volumeUsd30d: Scalars['String']['output'];
2329
+ /** Total volume in USD in the past day including all tokens */
2330
+ volumeUsdAll1d: Scalars['String']['output'];
2331
+ /** Total volume in USD in the past week including all tokens */
2332
+ volumeUsdAll1w: Scalars['String']['output'];
2333
+ /** Total volume in USD in the past year including all tokens */
2334
+ volumeUsdAll1y: Scalars['String']['output'];
2335
+ /** Total volume in USD in the past 30 days including all tokens */
2336
+ volumeUsdAll30d: Scalars['String']['output'];
2337
+ /** Win rate in the past day */
2338
+ winRate1d: Scalars['Float']['output'];
2339
+ /** Win rate in the past week */
2340
+ winRate1w: Scalars['Float']['output'];
2341
+ /** Win rate in the past year */
2342
+ winRate1y: Scalars['Float']['output'];
2343
+ /** Win rate in the past 30 days */
2344
+ winRate30d: Scalars['Float']['output'];
2345
+ };
2346
+ /** Native token balance for a wallet on a network. */
2347
+ export type NetworkWalletStats = {
2348
+ __typename?: 'NetworkWalletStats';
2349
+ /** The native token balance */
2350
+ nativeTokenBalance: Scalars['String']['output'];
2351
+ /** The network ID */
2352
+ networkId: Scalars['Int']['output'];
2353
+ };
1974
2354
  /** Event data for creating a new NFT pool. */
1975
2355
  export type NewPoolEventData = {
1976
2356
  __typename?: 'NewPoolEventData';
@@ -4498,6 +4878,11 @@ export type OnBarsUpdatedResponse = {
4498
4878
  /** The unix timestamp for the new bar. */
4499
4879
  timestamp: Scalars['Int']['output'];
4500
4880
  };
4881
+ /** Input for `onEventsCreatedByMaker`. */
4882
+ export type OnEventsCreatedByMakerInput = {
4883
+ /** The wallet address of the maker. */
4884
+ makerAddress: Scalars['String']['input'];
4885
+ };
4501
4886
  /** Input for `onLaunchpadTokenEvent`. */
4502
4887
  export type OnLaunchpadTokenEventInput = {
4503
4888
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4542,7 +4927,9 @@ export type OnTokenBarsUpdatedResponse = {
4542
4927
  tokenId: Scalars['String']['output'];
4543
4928
  };
4544
4929
  export type OnTokenEventsCreatedInput = {
4930
+ /** The network ID to filter by. */
4545
4931
  networkId: Scalars['Int']['input'];
4932
+ /** The token address to filter by. */
4546
4933
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
4547
4934
  };
4548
4935
  /** Response returned by `onUnconfirmedBarsUpdated`. */
@@ -4568,6 +4955,11 @@ export type OnUnconfirmedBarsUpdated = {
4568
4955
  /** The unix timestamp for the new bar. */
4569
4956
  timestamp: Scalars['Int']['output'];
4570
4957
  };
4958
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
4959
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
4960
+ /** The wallet address of the maker. */
4961
+ makerAddress: Scalars['String']['input'];
4962
+ };
4571
4963
  /** Integer list condition. */
4572
4964
  export type OneOfNumberCondition = {
4573
4965
  __typename?: 'OneOfNumberCondition';
@@ -4636,7 +5028,7 @@ export type PairChartSettings = {
4636
5028
  pairAddress: Scalars['String']['input'];
4637
5029
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4638
5030
  quoteToken?: InputMaybe<QuoteToken>;
4639
- /** The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
5031
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4640
5032
  resolution?: InputMaybe<Scalars['String']['input']>;
4641
5033
  /** The color theme of the chart. */
4642
5034
  theme?: InputMaybe<ChartTheme>;
@@ -5917,8 +6309,15 @@ export type Query = {
5917
6309
  balances: BalancesResponse;
5918
6310
  /** Returns a URL for a pair chart. */
5919
6311
  chartUrls?: Maybe<ChartUrlsResponse>;
6312
+ /** Returns detailed stats for a wallet. */
6313
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
5920
6314
  /** Returns a list of exchanges based on a variety of filters. */
5921
6315
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6316
+ /**
6317
+ * Returns a list of wallets with stats narrowed down to a specific network.
6318
+ * @deprecated Use filterWallets instead
6319
+ */
6320
+ filterNetworkWallets: NetworkWalletFilterConnection;
5922
6321
  /** Returns a list of NFT collection based on a variety of filters. */
5923
6322
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
5924
6323
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -5929,8 +6328,12 @@ export type Query = {
5929
6328
  filterNftPools?: Maybe<NftPoolFilterConnection>;
5930
6329
  /** Returns a list of pairs based on a variety of filters. */
5931
6330
  filterPairs?: Maybe<PairFilterConnection>;
6331
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6332
+ filterTokenWallets: TokenWalletFilterConnection;
5932
6333
  /** Returns a list of tokens based on a variety of filters. */
5933
6334
  filterTokens?: Maybe<TokenFilterConnection>;
6335
+ /** Returns a list of wallets based on a variety of filters. */
6336
+ filterWallets: WalletFilterConnection;
5934
6337
  /** Returns bar chart data to track price changes over time. */
5935
6338
  getBars?: Maybe<BarsResponse>;
5936
6339
  /** Returns community gathered notes. */
@@ -6010,11 +6413,16 @@ export type Query = {
6010
6413
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6011
6414
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6012
6415
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6416
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6417
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6013
6418
  /** Returns a list of pairs containing a given token. */
6014
6419
  listPairsForToken: Array<Maybe<Pair>>;
6015
6420
  /** Returns a list of pair metadata for a token. */
6016
6421
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6017
- /** Returns a list of trending tokens across any given network(s). */
6422
+ /**
6423
+ * Returns a list of trending tokens across any given network(s).
6424
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6425
+ */
6018
6426
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6019
6427
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6020
6428
  nftHolders: NftHoldersResponse;
@@ -6039,8 +6447,10 @@ export type Query = {
6039
6447
  tokenTopTraders: TokenTopTradersConnection;
6040
6448
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6041
6449
  tokens: Array<Maybe<EnhancedToken>>;
6042
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6450
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6043
6451
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6452
+ /** Returns a chart of a wallet's activity. */
6453
+ walletChart?: Maybe<WalletChartResponse>;
6044
6454
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6045
6455
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6046
6456
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6055,6 +6465,9 @@ export type QueryBalancesArgs = {
6055
6465
  export type QueryChartUrlsArgs = {
6056
6466
  input: ChartInput;
6057
6467
  };
6468
+ export type QueryDetailedWalletStatsArgs = {
6469
+ input: DetailedWalletStatsInput;
6470
+ };
6058
6471
  export type QueryFilterExchangesArgs = {
6059
6472
  filters?: InputMaybe<ExchangeFilters>;
6060
6473
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6062,6 +6475,9 @@ export type QueryFilterExchangesArgs = {
6062
6475
  phrase?: InputMaybe<Scalars['String']['input']>;
6063
6476
  rankings?: InputMaybe<Array<InputMaybe<ExchangeRanking>>>;
6064
6477
  };
6478
+ export type QueryFilterNetworkWalletsArgs = {
6479
+ input: FilterNetworkWalletsInput;
6480
+ };
6065
6481
  export type QueryFilterNftCollectionsArgs = {
6066
6482
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6067
6483
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6102,6 +6518,9 @@ export type QueryFilterPairsArgs = {
6102
6518
  rankings?: InputMaybe<Array<InputMaybe<PairRanking>>>;
6103
6519
  statsType?: InputMaybe<TokenPairStatisticsType>;
6104
6520
  };
6521
+ export type QueryFilterTokenWalletsArgs = {
6522
+ input: FilterTokenWalletsInput;
6523
+ };
6105
6524
  export type QueryFilterTokensArgs = {
6106
6525
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6107
6526
  filters?: InputMaybe<TokenFilters>;
@@ -6112,6 +6531,9 @@ export type QueryFilterTokensArgs = {
6112
6531
  statsType?: InputMaybe<TokenPairStatisticsType>;
6113
6532
  tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6114
6533
  };
6534
+ export type QueryFilterWalletsArgs = {
6535
+ input: FilterWalletsInput;
6536
+ };
6115
6537
  export type QueryGetBarsArgs = {
6116
6538
  countback?: InputMaybe<Scalars['Int']['input']>;
6117
6539
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6327,12 +6749,17 @@ export type QueryHoldersArgs = {
6327
6749
  export type QueryLiquidityLocksArgs = {
6328
6750
  cursor?: InputMaybe<Scalars['String']['input']>;
6329
6751
  networkId: Scalars['Int']['input'];
6330
- pairAddress: Scalars['String']['input'];
6752
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
6753
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6331
6754
  };
6332
6755
  export type QueryLiquidityMetadataArgs = {
6333
6756
  networkId: Scalars['Int']['input'];
6334
6757
  pairAddress: Scalars['String']['input'];
6335
6758
  };
6759
+ export type QueryLiquidityMetadataByTokenArgs = {
6760
+ networkId: Scalars['Int']['input'];
6761
+ tokenAddress: Scalars['String']['input'];
6762
+ };
6336
6763
  export type QueryListPairsForTokenArgs = {
6337
6764
  limit?: InputMaybe<Scalars['Int']['input']>;
6338
6765
  networkId: Scalars['Int']['input'];
@@ -6394,6 +6821,9 @@ export type QueryTokensArgs = {
6394
6821
  export type QueryTop10HoldersPercentArgs = {
6395
6822
  tokenId: Scalars['String']['input'];
6396
6823
  };
6824
+ export type QueryWalletChartArgs = {
6825
+ input: WalletChartInput;
6826
+ };
6397
6827
  export type QueryWalletNftCollectionAssetsArgs = {
6398
6828
  input: WalletNftCollectionAssetsInput;
6399
6829
  };
@@ -6435,6 +6865,11 @@ export declare enum QuoteType {
6435
6865
  Input = "INPUT",
6436
6866
  Output = "OUTPUT"
6437
6867
  }
6868
+ /** The range of time for a chart. */
6869
+ export type RangeInput = {
6870
+ end: Scalars['Int']['input'];
6871
+ start: Scalars['Int']['input'];
6872
+ };
6438
6873
  /** The order of ranking. */
6439
6874
  export declare enum RankingDirection {
6440
6875
  Asc = "ASC",
@@ -6902,6 +7337,8 @@ export type Subscription = {
6902
7337
  onEventLabelCreated?: Maybe<EventLabel>;
6903
7338
  /** Live-streamed transactions for a token. */
6904
7339
  onEventsCreated?: Maybe<AddEventsOutput>;
7340
+ /** Live-streamed transactions for a maker. */
7341
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
6905
7342
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
6906
7343
  onHoldersUpdated?: Maybe<HoldersUpdate>;
6907
7344
  /** Live-streamed updates for newly listed pairs. */
@@ -6932,6 +7369,8 @@ export type Subscription = {
6932
7369
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
6933
7370
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
6934
7371
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7372
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7373
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
6935
7374
  };
6936
7375
  export type SubscriptionOnBalanceUpdatedArgs = {
6937
7376
  walletAddress: Scalars['String']['input'];
@@ -6952,9 +7391,13 @@ export type SubscriptionOnEventLabelCreatedArgs = {
6952
7391
  export type SubscriptionOnEventsCreatedArgs = {
6953
7392
  address?: InputMaybe<Scalars['String']['input']>;
6954
7393
  id?: InputMaybe<Scalars['String']['input']>;
7394
+ maker?: InputMaybe<Scalars['String']['input']>;
6955
7395
  networkId?: InputMaybe<Scalars['Int']['input']>;
6956
7396
  quoteToken?: InputMaybe<QuoteToken>;
6957
7397
  };
7398
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7399
+ input: OnEventsCreatedByMakerInput;
7400
+ };
6958
7401
  export type SubscriptionOnHoldersUpdatedArgs = {
6959
7402
  tokenId: Scalars['String']['input'];
6960
7403
  };
@@ -7024,6 +7467,9 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7024
7467
  id?: InputMaybe<Scalars['String']['input']>;
7025
7468
  quoteToken?: InputMaybe<QuoteToken>;
7026
7469
  };
7470
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7471
+ input: OnUnconfirmedEventsCreatedByMakerInput;
7472
+ };
7027
7473
  export type SuiNetworkConfig = {
7028
7474
  __typename?: 'SuiNetworkConfig';
7029
7475
  baseTokenAddress: Scalars['String']['output'];
@@ -7278,6 +7724,8 @@ export type TokenFilterResult = {
7278
7724
  change12?: Maybe<Scalars['String']['output']>;
7279
7725
  /** The percent price change in the past 24 hours. Decimal format. */
7280
7726
  change24?: Maybe<Scalars['String']['output']>;
7727
+ /** The circulating market cap. */
7728
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7281
7729
  /** The unix timestamp for the creation of the token's first pair. */
7282
7730
  createdAt?: Maybe<Scalars['Int']['output']>;
7283
7731
  /** The exchanges the token is listed on. */
@@ -7312,7 +7760,7 @@ export type TokenFilterResult = {
7312
7760
  low12?: Maybe<Scalars['String']['output']>;
7313
7761
  /** The lowest price in USD in the past 24 hours. */
7314
7762
  low24?: Maybe<Scalars['String']['output']>;
7315
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
7763
+ /** The fully diluted market cap. */
7316
7764
  marketCap?: Maybe<Scalars['String']['output']>;
7317
7765
  /** Metadata for the token's top pair. */
7318
7766
  pair?: Maybe<Pair>;
@@ -7445,6 +7893,8 @@ export type TokenFilters = {
7445
7893
  change12?: InputMaybe<NumberFilter>;
7446
7894
  /** The percent price change in the past 24 hours. Decimal format. */
7447
7895
  change24?: InputMaybe<NumberFilter>;
7896
+ /** The circulating market cap. */
7897
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7448
7898
  /** The unix timestamp for the creation of the token's first pair. */
7449
7899
  createdAt?: InputMaybe<NumberFilter>;
7450
7900
  /** The address of the creator of the token */
@@ -7487,6 +7937,8 @@ export type TokenFilters = {
7487
7937
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7488
7938
  /** The timestamp when the launchpad was migrated */
7489
7939
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7940
+ /** The name of the launchpad */
7941
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
7490
7942
  /** The launchpad protocol */
7491
7943
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
7492
7944
  /** The amount of liquidity in the token's top pair. */
@@ -7796,6 +8248,7 @@ export declare enum TokenRankingAttribute {
7796
8248
  Change5m = "change5m",
7797
8249
  Change12 = "change12",
7798
8250
  Change24 = "change24",
8251
+ CirculatingMarketCap = "circulatingMarketCap",
7799
8252
  CreatedAt = "createdAt",
7800
8253
  GraduationPercent = "graduationPercent",
7801
8254
  High1 = "high1",
@@ -7953,6 +8406,131 @@ export type TokenTopTradersInput = {
7953
8406
  /** The trading period */
7954
8407
  tradingPeriod: TradingPeriod;
7955
8408
  };
8409
+ export type TokenWalletFilterConnection = {
8410
+ __typename?: 'TokenWalletFilterConnection';
8411
+ /** The number of wallets returned. */
8412
+ count: Scalars['Int']['output'];
8413
+ /** Where in the list the server started when returning items. */
8414
+ offset: Scalars['Int']['output'];
8415
+ /** The list of wallets matching the filter parameters. */
8416
+ results: Array<TokenWalletFilterResult>;
8417
+ };
8418
+ /** The result for filtering wallets for a token. */
8419
+ export type TokenWalletFilterResult = {
8420
+ __typename?: 'TokenWalletFilterResult';
8421
+ /** The wallet address */
8422
+ address: Scalars['String']['output'];
8423
+ /** Amount bought in USD in the past day */
8424
+ amountBoughtUsd1d: Scalars['String']['output'];
8425
+ /** Amount bought in USD in the past week */
8426
+ amountBoughtUsd1w: Scalars['String']['output'];
8427
+ /** Amount bought in USD in the past year */
8428
+ amountBoughtUsd1y: Scalars['String']['output'];
8429
+ /** Amount bought in USD in the past 30 days */
8430
+ amountBoughtUsd30d: Scalars['String']['output'];
8431
+ /** Amount sold in USD in the past day */
8432
+ amountSoldUsd1d: Scalars['String']['output'];
8433
+ /** Amount sold in USD in the past week */
8434
+ amountSoldUsd1w: Scalars['String']['output'];
8435
+ /** Amount sold in USD in the past year */
8436
+ amountSoldUsd1y: Scalars['String']['output'];
8437
+ /** Amount sold in USD in the past 30 days */
8438
+ amountSoldUsd30d: Scalars['String']['output'];
8439
+ /** Amount sold USD all in the past day */
8440
+ amountSoldUsdAll1d: Scalars['String']['output'];
8441
+ /** Amount sold USD all in the past week */
8442
+ amountSoldUsdAll1w: Scalars['String']['output'];
8443
+ /** Amount sold USD all in the past year */
8444
+ amountSoldUsdAll1y: Scalars['String']['output'];
8445
+ /** Amount sold USD all in the past 30 days */
8446
+ amountSoldUsdAll30d: Scalars['String']['output'];
8447
+ /** The bot score for the wallet. */
8448
+ botScore?: Maybe<Scalars['Int']['output']>;
8449
+ /** Number of buys in the past day */
8450
+ buys1d: Scalars['Int']['output'];
8451
+ /** Number of buys in the past week */
8452
+ buys1w: Scalars['Int']['output'];
8453
+ /** Number of buys in the past year */
8454
+ buys1y: Scalars['Int']['output'];
8455
+ /** Number of buys in the past 30 days */
8456
+ buys30d: Scalars['Int']['output'];
8457
+ /** The unix timestamp for the first transaction from this wallet */
8458
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8459
+ /** The labels associated with the wallet */
8460
+ labels: Array<Scalars['String']['output']>;
8461
+ /** The unix timestamp for the last transaction from this wallet */
8462
+ lastTransactionAt: Scalars['Int']['output'];
8463
+ /** The network ID */
8464
+ networkId: Scalars['Int']['output'];
8465
+ /** The purchased token balance */
8466
+ purchasedTokenBalance: Scalars['String']['output'];
8467
+ /** Realized profit percentage in the past day */
8468
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8469
+ /** Realized profit percentage in the past week */
8470
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8471
+ /** Realized profit percentage in the past year */
8472
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8473
+ /** Realized profit percentage in the past 30 days */
8474
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8475
+ /** Realized profit in USD in the past day */
8476
+ realizedProfitUsd1d: Scalars['String']['output'];
8477
+ /** Realized profit in USD in the past week */
8478
+ realizedProfitUsd1w: Scalars['String']['output'];
8479
+ /** Realized profit in USD in the past year */
8480
+ realizedProfitUsd1y: Scalars['String']['output'];
8481
+ /** Realized profit in USD in the past 30 days */
8482
+ realizedProfitUsd30d: Scalars['String']['output'];
8483
+ /** The scammer score for the wallet. */
8484
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8485
+ /** Number of sells in the past day */
8486
+ sells1d: Scalars['Int']['output'];
8487
+ /** Number of sells in the past week */
8488
+ sells1w: Scalars['Int']['output'];
8489
+ /** Number of sells in the past year */
8490
+ sells1y: Scalars['Int']['output'];
8491
+ /** Number of sells in the past 30 days */
8492
+ sells30d: Scalars['Int']['output'];
8493
+ /** Number of sells all in the past day */
8494
+ sellsAll1d: Scalars['Int']['output'];
8495
+ /** Number of sells all in the past week */
8496
+ sellsAll1w: Scalars['Int']['output'];
8497
+ /** Number of sells all in the past year */
8498
+ sellsAll1y: Scalars['Int']['output'];
8499
+ /** Number of sells all in the past 30 days */
8500
+ sellsAll30d: Scalars['Int']['output'];
8501
+ /** The token metadata */
8502
+ token: EnhancedToken;
8503
+ /** The token acquisition cost in USD */
8504
+ tokenAcquisitionCostUsd: Scalars['String']['output'];
8505
+ /** The token address */
8506
+ tokenAddress: Scalars['String']['output'];
8507
+ /** Token amount bought in the past day */
8508
+ tokenAmountBought1d: Scalars['String']['output'];
8509
+ /** Token amount bought in the past week */
8510
+ tokenAmountBought1w: Scalars['String']['output'];
8511
+ /** Token amount bought in the past year */
8512
+ tokenAmountBought1y: Scalars['String']['output'];
8513
+ /** Token amount bought in the past 30 days */
8514
+ tokenAmountBought30d: Scalars['String']['output'];
8515
+ /** Token amount sold in the past day */
8516
+ tokenAmountSold1d: Scalars['String']['output'];
8517
+ /** Token amount sold in the past week */
8518
+ tokenAmountSold1w: Scalars['String']['output'];
8519
+ /** Token amount sold in the past year */
8520
+ tokenAmountSold1y: Scalars['String']['output'];
8521
+ /** Token amount sold in the past 30 days */
8522
+ tokenAmountSold30d: Scalars['String']['output'];
8523
+ /** Token amount sold all in the past day */
8524
+ tokenAmountSoldAll1d: Scalars['String']['output'];
8525
+ /** Token amount sold all in the past week */
8526
+ tokenAmountSoldAll1w: Scalars['String']['output'];
8527
+ /** Token amount sold all in the past year */
8528
+ tokenAmountSoldAll1y: Scalars['String']['output'];
8529
+ /** Token amount sold all in the past 30 days */
8530
+ tokenAmountSoldAll30d: Scalars['String']['output'];
8531
+ /** The current token balance */
8532
+ tokenBalance: Scalars['String']['output'];
8533
+ };
7956
8534
  /** A token with metadata. */
7957
8535
  export type TokenWithMetadata = {
7958
8536
  __typename?: 'TokenWithMetadata';
@@ -8139,11 +8717,400 @@ export type UnconfirmedSwapEventData = {
8139
8717
  /** The type of token event, `Swap`. */
8140
8718
  type: EventType;
8141
8719
  };
8720
+ /** The data for a chart of a wallet's activity. */
8721
+ export type WalletChartData = {
8722
+ __typename?: 'WalletChartData';
8723
+ /** The realized profit in USD */
8724
+ realizedProfitUsd: Scalars['String']['output'];
8725
+ /** The resolution */
8726
+ resolution: Scalars['String']['output'];
8727
+ /** The number of swaps */
8728
+ swaps: Scalars['Int']['output'];
8729
+ /** The timestamp */
8730
+ timestamp: Scalars['Int']['output'];
8731
+ /** The volume in USD */
8732
+ volumeUsd: Scalars['String']['output'];
8733
+ /** The volume in USD including tokens sold for which we do not have a price */
8734
+ volumeUsdAll: Scalars['String']['output'];
8735
+ };
8736
+ /** The input for a chart of a wallet's activity. */
8737
+ export type WalletChartInput = {
8738
+ /** The network ID */
8739
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8740
+ /** The range of time for the chart */
8741
+ range: RangeInput;
8742
+ /** The resolution of the chart */
8743
+ resolution: Scalars['String']['input'];
8744
+ /** The wallet address */
8745
+ walletAddress: Scalars['String']['input'];
8746
+ };
8747
+ /** The range of time for a chart. */
8142
8748
  export type WalletChartRange = {
8143
8749
  __typename?: 'WalletChartRange';
8144
8750
  end: Scalars['Int']['output'];
8145
8751
  start: Scalars['Int']['output'];
8146
8752
  };
8753
+ /** The response for a chart of a wallet's activity. */
8754
+ export type WalletChartResponse = {
8755
+ __typename?: 'WalletChartResponse';
8756
+ /** The data for the chart */
8757
+ data: Array<WalletChartData>;
8758
+ /** The network ID */
8759
+ networkId?: Maybe<Scalars['Int']['output']>;
8760
+ /** The range of time for the chart */
8761
+ range: WalletChartRange;
8762
+ /** The resolution of the chart */
8763
+ resolution: Scalars['String']['output'];
8764
+ /** The wallet address */
8765
+ walletAddress: Scalars['String']['output'];
8766
+ };
8767
+ export type WalletFilterConnection = {
8768
+ __typename?: 'WalletFilterConnection';
8769
+ /** The number of wallets returned. */
8770
+ count: Scalars['Int']['output'];
8771
+ /** Where in the list the server started when returning items. */
8772
+ offset: Scalars['Int']['output'];
8773
+ /** The list of wallets matching the filter parameters. */
8774
+ results: Array<WalletFilterResult>;
8775
+ };
8776
+ export type WalletFilterResult = {
8777
+ __typename?: 'WalletFilterResult';
8778
+ /** The wallet address */
8779
+ address: Scalars['String']['output'];
8780
+ /** Average profit in USD per trade in the past day */
8781
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
8782
+ /** Average profit in USD per trade in the past week */
8783
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
8784
+ /** Average profit in USD per trade in the past year */
8785
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
8786
+ /** Average profit in USD per trade in the past 30 days */
8787
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
8788
+ /** Average swap amount in USD in the past day */
8789
+ averageSwapAmountUsd1d: Scalars['String']['output'];
8790
+ /** Average swap amount in USD in the past week */
8791
+ averageSwapAmountUsd1w: Scalars['String']['output'];
8792
+ /** Average swap amount in USD in the past year */
8793
+ averageSwapAmountUsd1y: Scalars['String']['output'];
8794
+ /** Average swap amount in USD in the past 30 days */
8795
+ averageSwapAmountUsd30d: Scalars['String']['output'];
8796
+ /** The bot score for the wallet. */
8797
+ botScore?: Maybe<Scalars['Int']['output']>;
8798
+ /** The unix timestamp for the first transaction from this wallet */
8799
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8800
+ /** The labels associated with the wallet */
8801
+ labels: Array<Scalars['String']['output']>;
8802
+ /** The unix timestamp for the last transaction from this wallet */
8803
+ lastTransactionAt: Scalars['Int']['output'];
8804
+ /** The native token balance of the wallet (only present if filtered by network) */
8805
+ nativeTokenBalance?: Maybe<Scalars['String']['output']>;
8806
+ /** The network ID of the wallet (only present if filtered by network) */
8807
+ networkId?: Maybe<Scalars['Int']['output']>;
8808
+ /** Realized profit percentage in the past day */
8809
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8810
+ /** Realized profit percentage in the past week */
8811
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8812
+ /** Realized profit percentage in the past year */
8813
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8814
+ /** Realized profit percentage in the past 30 days */
8815
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8816
+ /** Realized profit in USD in the past day */
8817
+ realizedProfitUsd1d: Scalars['String']['output'];
8818
+ /** Realized profit in USD in the past week */
8819
+ realizedProfitUsd1w: Scalars['String']['output'];
8820
+ /** Realized profit in USD in the past year */
8821
+ realizedProfitUsd1y: Scalars['String']['output'];
8822
+ /** Realized profit in USD in the past 30 days */
8823
+ realizedProfitUsd30d: Scalars['String']['output'];
8824
+ /** The scammer score for the wallet. */
8825
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8826
+ /** Number of swaps in the past day */
8827
+ swaps1d: Scalars['Int']['output'];
8828
+ /** Number of swaps in the past week */
8829
+ swaps1w: Scalars['Int']['output'];
8830
+ /** Number of swaps in the past year */
8831
+ swaps1y: Scalars['Int']['output'];
8832
+ /** Number of swaps in the past 30 days */
8833
+ swaps30d: Scalars['Int']['output'];
8834
+ /** Total number of swaps in the past day including all tokens */
8835
+ swapsAll1d: Scalars['Int']['output'];
8836
+ /** Total number of swaps in the past week including all tokens */
8837
+ swapsAll1w: Scalars['Int']['output'];
8838
+ /** Total number of swaps in the past year including all tokens */
8839
+ swapsAll1y: Scalars['Int']['output'];
8840
+ /** Total number of swaps in the past 30 days including all tokens */
8841
+ swapsAll30d: Scalars['Int']['output'];
8842
+ /** Number of unique tokens traded in the past day */
8843
+ uniqueTokens1d: Scalars['Int']['output'];
8844
+ /** Number of unique tokens traded in the past week */
8845
+ uniqueTokens1w: Scalars['Int']['output'];
8846
+ /** Number of unique tokens traded in the past year */
8847
+ uniqueTokens1y: Scalars['Int']['output'];
8848
+ /** Number of unique tokens traded in the past 30 days */
8849
+ uniqueTokens30d: Scalars['Int']['output'];
8850
+ /** Volume in USD in the past day */
8851
+ volumeUsd1d: Scalars['String']['output'];
8852
+ /** Volume in USD in the past week */
8853
+ volumeUsd1w: Scalars['String']['output'];
8854
+ /** Volume in USD in the past year */
8855
+ volumeUsd1y: Scalars['String']['output'];
8856
+ /** Volume in USD in the past 30 days */
8857
+ volumeUsd30d: Scalars['String']['output'];
8858
+ /** Total volume in USD in the past day including all tokens */
8859
+ volumeUsdAll1d: Scalars['String']['output'];
8860
+ /** Total volume in USD in the past week including all tokens */
8861
+ volumeUsdAll1w: Scalars['String']['output'];
8862
+ /** Total volume in USD in the past year including all tokens */
8863
+ volumeUsdAll1y: Scalars['String']['output'];
8864
+ /** Total volume in USD in the past 30 days including all tokens */
8865
+ volumeUsdAll30d: Scalars['String']['output'];
8866
+ /** Win rate in the past day */
8867
+ winRate1d: Scalars['Float']['output'];
8868
+ /** Win rate in the past week */
8869
+ winRate1w: Scalars['Float']['output'];
8870
+ /** Win rate in the past year */
8871
+ winRate1y: Scalars['Float']['output'];
8872
+ /** Win rate in the past 30 days */
8873
+ winRate30d: Scalars['Float']['output'];
8874
+ };
8875
+ export type WalletFilters = {
8876
+ /** Average profit in USD per trade in the past day */
8877
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8878
+ /** Average profit in USD per trade in the past week */
8879
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8880
+ /** Average profit in USD per trade in the past year */
8881
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8882
+ /** Average profit in USD per trade in the past 30 days */
8883
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8884
+ /** Average swap amount in USD in the past day */
8885
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8886
+ /** Average swap amount in USD in the past week */
8887
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8888
+ /** Average swap amount in USD in the past year */
8889
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8890
+ /** Average swap amount in USD in the past 30 days */
8891
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8892
+ /** The bot score for the wallet. */
8893
+ botScore?: InputMaybe<NumberFilter>;
8894
+ /** The unix timestamp for the first transaction from this wallet. */
8895
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8896
+ /** The unix timestamp for the last transaction from this wallet. */
8897
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8898
+ /** The native token balance of the wallet. Can only be used in conjunction with `networkId` filter. */
8899
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8900
+ /** The network ID to filter by. */
8901
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8902
+ /** Realized profit percentage in the past day */
8903
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8904
+ /** Realized profit percentage in the past week */
8905
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8906
+ /** Realized profit percentage in the past year */
8907
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
8908
+ /** Realized profit percentage in the past 30 days */
8909
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
8910
+ /** Realized profit in USD in the past day */
8911
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
8912
+ /** Realized profit in USD in the past week */
8913
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
8914
+ /** Realized profit in USD in the past year */
8915
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
8916
+ /** Realized profit in USD in the past 30 days */
8917
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
8918
+ /** The scammer score for the wallet. */
8919
+ scammerScore?: InputMaybe<NumberFilter>;
8920
+ /** Number of swaps in the past day */
8921
+ swaps1d?: InputMaybe<NumberFilter>;
8922
+ /** Number of swaps in the past week */
8923
+ swaps1w?: InputMaybe<NumberFilter>;
8924
+ /** Number of swaps in the past year */
8925
+ swaps1y?: InputMaybe<NumberFilter>;
8926
+ /** Number of swaps in the past 30 days */
8927
+ swaps30d?: InputMaybe<NumberFilter>;
8928
+ /** Total number of swaps in the past day including all tokens */
8929
+ swapsAll1d?: InputMaybe<NumberFilter>;
8930
+ /** Total number of swaps in the past week including all tokens */
8931
+ swapsAll1w?: InputMaybe<NumberFilter>;
8932
+ /** Total number of swaps in the past year including all tokens */
8933
+ swapsAll1y?: InputMaybe<NumberFilter>;
8934
+ /** Total number of swaps in the past 30 days including all tokens */
8935
+ swapsAll30d?: InputMaybe<NumberFilter>;
8936
+ /** Number of unique tokens traded in the past day */
8937
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
8938
+ /** Number of unique tokens traded in the past week */
8939
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
8940
+ /** Number of unique tokens traded in the past year */
8941
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
8942
+ /** Number of unique tokens traded in the past 30 days */
8943
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
8944
+ /** Volume in USD in the past day */
8945
+ volumeUsd1d?: InputMaybe<NumberFilter>;
8946
+ /** Volume in USD in the past week */
8947
+ volumeUsd1w?: InputMaybe<NumberFilter>;
8948
+ /** Volume in USD in the past year */
8949
+ volumeUsd1y?: InputMaybe<NumberFilter>;
8950
+ /** Volume in USD in the past 30 days */
8951
+ volumeUsd30d?: InputMaybe<NumberFilter>;
8952
+ /** Total volume in USD in the past day including all tokens */
8953
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
8954
+ /** Total volume in USD in the past week including all tokens */
8955
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
8956
+ /** Total volume in USD in the past year including all tokens */
8957
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
8958
+ /** Total volume in USD in the past 30 days including all tokens */
8959
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
8960
+ /** Win rate in the past day */
8961
+ winRate1d?: InputMaybe<NumberFilter>;
8962
+ /** Win rate in the past week */
8963
+ winRate1w?: InputMaybe<NumberFilter>;
8964
+ /** Win rate in the past year */
8965
+ winRate1y?: InputMaybe<NumberFilter>;
8966
+ /** Win rate in the past 30 days */
8967
+ winRate30d?: InputMaybe<NumberFilter>;
8968
+ };
8969
+ export type WalletNetworkFilters = {
8970
+ /** Average profit in USD per trade in the past day */
8971
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8972
+ /** Average profit in USD per trade in the past week */
8973
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8974
+ /** Average profit in USD per trade in the past year */
8975
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8976
+ /** Average profit in USD per trade in the past 30 days */
8977
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8978
+ /** Average swap amount in USD in the past day */
8979
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8980
+ /** Average swap amount in USD in the past week */
8981
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8982
+ /** Average swap amount in USD in the past year */
8983
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8984
+ /** Average swap amount in USD in the past 30 days */
8985
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8986
+ /** 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. */
8987
+ botScore?: InputMaybe<NumberFilter>;
8988
+ /** The unix timestamp for the first transaction from this wallet. */
8989
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8990
+ /** The unix timestamp for the last transaction from this wallet. */
8991
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8992
+ /** The native token balance of the wallet. */
8993
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8994
+ /** Realized profit percentage in the past day */
8995
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8996
+ /** Realized profit percentage in the past week */
8997
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8998
+ /** Realized profit percentage in the past year */
8999
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9000
+ /** Realized profit percentage in the past 30 days */
9001
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9002
+ /** Realized profit in USD in the past day */
9003
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9004
+ /** Realized profit in USD in the past week */
9005
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9006
+ /** Realized profit in USD in the past year */
9007
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9008
+ /** Realized profit in USD in the past 30 days */
9009
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9010
+ /** 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. */
9011
+ scammerScore?: InputMaybe<NumberFilter>;
9012
+ /** Number of swaps in the past day */
9013
+ swaps1d?: InputMaybe<NumberFilter>;
9014
+ /** Number of swaps in the past week */
9015
+ swaps1w?: InputMaybe<NumberFilter>;
9016
+ /** Number of swaps in the past year */
9017
+ swaps1y?: InputMaybe<NumberFilter>;
9018
+ /** Number of swaps in the past 30 days */
9019
+ swaps30d?: InputMaybe<NumberFilter>;
9020
+ /** Total number of swaps in the past day including all tokens */
9021
+ swapsAll1d?: InputMaybe<NumberFilter>;
9022
+ /** Total number of swaps in the past week including all tokens */
9023
+ swapsAll1w?: InputMaybe<NumberFilter>;
9024
+ /** Total number of swaps in the past year including all tokens */
9025
+ swapsAll1y?: InputMaybe<NumberFilter>;
9026
+ /** Total number of swaps in the past 30 days including all tokens */
9027
+ swapsAll30d?: InputMaybe<NumberFilter>;
9028
+ /** Number of unique tokens traded in the past day */
9029
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
9030
+ /** Number of unique tokens traded in the past week */
9031
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
9032
+ /** Number of unique tokens traded in the past year */
9033
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
9034
+ /** Number of unique tokens traded in the past 30 days */
9035
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
9036
+ /** Volume in USD in the past day */
9037
+ volumeUsd1d?: InputMaybe<NumberFilter>;
9038
+ /** Volume in USD in the past week */
9039
+ volumeUsd1w?: InputMaybe<NumberFilter>;
9040
+ /** Volume in USD in the past year */
9041
+ volumeUsd1y?: InputMaybe<NumberFilter>;
9042
+ /** Volume in USD in the past 30 days */
9043
+ volumeUsd30d?: InputMaybe<NumberFilter>;
9044
+ /** Total volume in USD in the past day including all tokens */
9045
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
9046
+ /** Total volume in USD in the past week including all tokens */
9047
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
9048
+ /** Total volume in USD in the past year including all tokens */
9049
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
9050
+ /** Total volume in USD in the past 30 days including all tokens */
9051
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
9052
+ /** Win rate in the past day */
9053
+ winRate1d?: InputMaybe<NumberFilter>;
9054
+ /** Win rate in the past week */
9055
+ winRate1w?: InputMaybe<NumberFilter>;
9056
+ /** Win rate in the past year */
9057
+ winRate1y?: InputMaybe<NumberFilter>;
9058
+ /** Win rate in the past 30 days */
9059
+ winRate30d?: InputMaybe<NumberFilter>;
9060
+ };
9061
+ export type WalletNetworkRanking = {
9062
+ /** The attribute to rank wallets by. */
9063
+ attribute?: InputMaybe<WalletNetworkRankingAttribute>;
9064
+ /** The direction to apply to the ranking attribute. */
9065
+ direction?: InputMaybe<RankingDirection>;
9066
+ };
9067
+ export declare enum WalletNetworkRankingAttribute {
9068
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9069
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
9070
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
9071
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
9072
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
9073
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
9074
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
9075
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
9076
+ BotScore = "botScore",
9077
+ FirstTransactionAt = "firstTransactionAt",
9078
+ LastTransactionAt = "lastTransactionAt",
9079
+ NativeTokenBalance = "nativeTokenBalance",
9080
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9081
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9082
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9083
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9084
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9085
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9086
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9087
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9088
+ ScammerScore = "scammerScore",
9089
+ Swaps1d = "swaps1d",
9090
+ Swaps1w = "swaps1w",
9091
+ Swaps1y = "swaps1y",
9092
+ Swaps30d = "swaps30d",
9093
+ SwapsAll1d = "swapsAll1d",
9094
+ SwapsAll1w = "swapsAll1w",
9095
+ SwapsAll1y = "swapsAll1y",
9096
+ SwapsAll30d = "swapsAll30d",
9097
+ UniqueTokens1d = "uniqueTokens1d",
9098
+ UniqueTokens1w = "uniqueTokens1w",
9099
+ UniqueTokens1y = "uniqueTokens1y",
9100
+ UniqueTokens30d = "uniqueTokens30d",
9101
+ VolumeUsd1d = "volumeUsd1d",
9102
+ VolumeUsd1w = "volumeUsd1w",
9103
+ VolumeUsd1y = "volumeUsd1y",
9104
+ VolumeUsd30d = "volumeUsd30d",
9105
+ VolumeUsdAll1d = "volumeUsdAll1d",
9106
+ VolumeUsdAll1w = "volumeUsdAll1w",
9107
+ VolumeUsdAll1y = "volumeUsdAll1y",
9108
+ VolumeUsdAll30d = "volumeUsdAll30d",
9109
+ WinRate1d = "winRate1d",
9110
+ WinRate1w = "winRate1w",
9111
+ WinRate1y = "winRate1y",
9112
+ WinRate30d = "winRate30d"
9113
+ }
8147
9114
  export type WalletNftCollection = {
8148
9115
  __typename?: 'WalletNftCollection';
8149
9116
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8192,6 +9159,318 @@ export type WalletNftCollectionsResponse = {
8192
9159
  /** The list of collections for a wallet. */
8193
9160
  items: Array<WalletNftCollection>;
8194
9161
  };
9162
+ export type WalletRanking = {
9163
+ /** The attribute to rank wallets by. */
9164
+ attribute?: InputMaybe<WalletRankingAttribute>;
9165
+ /** The direction to apply to the ranking attribute. */
9166
+ direction?: InputMaybe<RankingDirection>;
9167
+ };
9168
+ export declare enum WalletRankingAttribute {
9169
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9170
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
9171
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
9172
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
9173
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
9174
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
9175
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
9176
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
9177
+ BotScore = "botScore",
9178
+ FirstTransactionAt = "firstTransactionAt",
9179
+ LastTransactionAt = "lastTransactionAt",
9180
+ NativeTokenBalance = "nativeTokenBalance",
9181
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9182
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9183
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9184
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9185
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9186
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9187
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9188
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9189
+ ScammerScore = "scammerScore",
9190
+ Swaps1d = "swaps1d",
9191
+ Swaps1w = "swaps1w",
9192
+ Swaps1y = "swaps1y",
9193
+ Swaps30d = "swaps30d",
9194
+ SwapsAll1d = "swapsAll1d",
9195
+ SwapsAll1w = "swapsAll1w",
9196
+ SwapsAll1y = "swapsAll1y",
9197
+ SwapsAll30d = "swapsAll30d",
9198
+ UniqueTokens1d = "uniqueTokens1d",
9199
+ UniqueTokens1w = "uniqueTokens1w",
9200
+ UniqueTokens1y = "uniqueTokens1y",
9201
+ UniqueTokens30d = "uniqueTokens30d",
9202
+ VolumeUsd1d = "volumeUsd1d",
9203
+ VolumeUsd1w = "volumeUsd1w",
9204
+ VolumeUsd1y = "volumeUsd1y",
9205
+ VolumeUsd30d = "volumeUsd30d",
9206
+ VolumeUsdAll1d = "volumeUsdAll1d",
9207
+ VolumeUsdAll1w = "volumeUsdAll1w",
9208
+ VolumeUsdAll1y = "volumeUsdAll1y",
9209
+ VolumeUsdAll30d = "volumeUsdAll30d",
9210
+ WinRate1d = "winRate1d",
9211
+ WinRate1w = "winRate1w",
9212
+ WinRate1y = "winRate1y",
9213
+ WinRate30d = "winRate30d"
9214
+ }
9215
+ /** The period the wallet stats are for. */
9216
+ export declare enum WalletStatsDuration {
9217
+ Day1 = "day1",
9218
+ Day30 = "day30",
9219
+ Week1 = "week1",
9220
+ Year1 = "year1"
9221
+ }
9222
+ export type WalletTokenFilterRange = {
9223
+ /** The maximum value (inclusive) */
9224
+ max?: InputMaybe<Scalars['String']['input']>;
9225
+ /** The minimum value (inclusive) */
9226
+ min?: InputMaybe<Scalars['String']['input']>;
9227
+ };
9228
+ export type WalletTokenFilters = {
9229
+ /** Filter by amount bought in USD in the past day */
9230
+ amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
9231
+ /** Filter by amount bought in USD in the past week */
9232
+ amountBoughtUsd1w?: InputMaybe<WalletTokenFilterRange>;
9233
+ /** Filter by amount bought in USD in the past year */
9234
+ amountBoughtUsd1y?: InputMaybe<WalletTokenFilterRange>;
9235
+ /** Filter by amount bought in USD in the past 30 days */
9236
+ amountBoughtUsd30d?: InputMaybe<WalletTokenFilterRange>;
9237
+ /** Filter by amount sold in USD in the past day */
9238
+ amountSoldUsd1d?: InputMaybe<WalletTokenFilterRange>;
9239
+ /** Filter by amount sold in USD in the past week */
9240
+ amountSoldUsd1w?: InputMaybe<WalletTokenFilterRange>;
9241
+ /** Filter by amount sold in USD in the past year */
9242
+ amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
9243
+ /** Filter by amount sold in USD in the past 30 days */
9244
+ amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
9245
+ /** Filter by bot score */
9246
+ botScore?: InputMaybe<WalletTokenFilterRange>;
9247
+ /** Filter by number of buys in the past day */
9248
+ buys1d?: InputMaybe<WalletTokenFilterRange>;
9249
+ /** Filter by number of buys in the past week */
9250
+ buys1w?: InputMaybe<WalletTokenFilterRange>;
9251
+ /** Filter by number of buys in the past year */
9252
+ buys1y?: InputMaybe<WalletTokenFilterRange>;
9253
+ /** Filter by number of buys in the past 30 days */
9254
+ buys30d?: InputMaybe<WalletTokenFilterRange>;
9255
+ /** Filter by first transaction timestamp */
9256
+ firstTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9257
+ /** Filter by last transaction timestamp */
9258
+ lastTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9259
+ /** Filter by purchased token balance */
9260
+ purchasedTokenBalance?: InputMaybe<WalletTokenFilterRange>;
9261
+ /** Filter by realized profit percentage in the past day */
9262
+ realizedProfitPercentage1d?: InputMaybe<WalletTokenFilterRange>;
9263
+ /** Filter by realized profit percentage in the past week */
9264
+ realizedProfitPercentage1w?: InputMaybe<WalletTokenFilterRange>;
9265
+ /** Filter by realized profit percentage in the past year */
9266
+ realizedProfitPercentage1y?: InputMaybe<WalletTokenFilterRange>;
9267
+ /** Filter by realized profit percentage in the past 30 days */
9268
+ realizedProfitPercentage30d?: InputMaybe<WalletTokenFilterRange>;
9269
+ /** Filter by realized profit in USD in the past day */
9270
+ realizedProfitUsd1d?: InputMaybe<WalletTokenFilterRange>;
9271
+ /** Filter by realized profit in USD in the past week */
9272
+ realizedProfitUsd1w?: InputMaybe<WalletTokenFilterRange>;
9273
+ /** Filter by realized profit in USD in the past year */
9274
+ realizedProfitUsd1y?: InputMaybe<WalletTokenFilterRange>;
9275
+ /** Filter by realized profit in USD in the past 30 days */
9276
+ realizedProfitUsd30d?: InputMaybe<WalletTokenFilterRange>;
9277
+ /** Filter by scammer score */
9278
+ scammerScore?: InputMaybe<WalletTokenFilterRange>;
9279
+ /** Filter by number of sells in the past day */
9280
+ sells1d?: InputMaybe<WalletTokenFilterRange>;
9281
+ /** Filter by number of sells in the past week */
9282
+ sells1w?: InputMaybe<WalletTokenFilterRange>;
9283
+ /** Filter by number of sells in the past year */
9284
+ sells1y?: InputMaybe<WalletTokenFilterRange>;
9285
+ /** Filter by number of sells in the past 30 days */
9286
+ sells30d?: InputMaybe<WalletTokenFilterRange>;
9287
+ /** Filter by token acquisition cost in USD */
9288
+ tokenAcquisitionCostUsd?: InputMaybe<WalletTokenFilterRange>;
9289
+ /** Filter by token amount bought in the past day */
9290
+ tokenAmountBought1d?: InputMaybe<WalletTokenFilterRange>;
9291
+ /** Filter by token amount bought in the past week */
9292
+ tokenAmountBought1w?: InputMaybe<WalletTokenFilterRange>;
9293
+ /** Filter by token amount bought in the past year */
9294
+ tokenAmountBought1y?: InputMaybe<WalletTokenFilterRange>;
9295
+ /** Filter by token amount bought in the past 30 days */
9296
+ tokenAmountBought30d?: InputMaybe<WalletTokenFilterRange>;
9297
+ /** Filter by token amount sold in the past day */
9298
+ tokenAmountSold1d?: InputMaybe<WalletTokenFilterRange>;
9299
+ /** Filter by token amount sold in the past week */
9300
+ tokenAmountSold1w?: InputMaybe<WalletTokenFilterRange>;
9301
+ /** Filter by token amount sold in the past year */
9302
+ tokenAmountSold1y?: InputMaybe<WalletTokenFilterRange>;
9303
+ /** Filter by token amount sold in the past 30 days */
9304
+ tokenAmountSold30d?: InputMaybe<WalletTokenFilterRange>;
9305
+ /** Filter by token balance */
9306
+ tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9307
+ };
9308
+ export type WalletTokenFiltersV2 = {
9309
+ /** Filter by amount bought in USD in the past day */
9310
+ amountBoughtUsd1d?: InputMaybe<NumberFilter>;
9311
+ /** Filter by amount bought in USD in the past week */
9312
+ amountBoughtUsd1w?: InputMaybe<NumberFilter>;
9313
+ /** Filter by amount bought in USD in the past year */
9314
+ amountBoughtUsd1y?: InputMaybe<NumberFilter>;
9315
+ /** Filter by amount bought in USD in the past 30 days */
9316
+ amountBoughtUsd30d?: InputMaybe<NumberFilter>;
9317
+ /** Filter by amount sold in USD in the past day */
9318
+ amountSoldUsd1d?: InputMaybe<NumberFilter>;
9319
+ /** Filter by amount sold in USD in the past week */
9320
+ amountSoldUsd1w?: InputMaybe<NumberFilter>;
9321
+ /** Filter by amount sold in USD in the past year */
9322
+ amountSoldUsd1y?: InputMaybe<NumberFilter>;
9323
+ /** Filter by amount sold in USD in the past 30 days */
9324
+ amountSoldUsd30d?: InputMaybe<NumberFilter>;
9325
+ /** Filter by bot score */
9326
+ botScore?: InputMaybe<NumberFilter>;
9327
+ /** Filter by number of buys in the past day */
9328
+ buys1d?: InputMaybe<NumberFilter>;
9329
+ /** Filter by number of buys in the past week */
9330
+ buys1w?: InputMaybe<NumberFilter>;
9331
+ /** Filter by number of buys in the past year */
9332
+ buys1y?: InputMaybe<NumberFilter>;
9333
+ /** Filter by number of buys in the past 30 days */
9334
+ buys30d?: InputMaybe<NumberFilter>;
9335
+ /** Filter by first transaction timestamp */
9336
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9337
+ /** Filter by last transaction timestamp */
9338
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9339
+ /** Filter by purchased token balance */
9340
+ purchasedTokenBalance?: InputMaybe<NumberFilter>;
9341
+ /** Filter by realized profit percentage in the past day */
9342
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9343
+ /** Filter by realized profit percentage in the past week */
9344
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9345
+ /** Filter by realized profit percentage in the past year */
9346
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9347
+ /** Filter by realized profit percentage in the past 30 days */
9348
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9349
+ /** Filter by realized profit in USD in the past day */
9350
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9351
+ /** Filter by realized profit in USD in the past week */
9352
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9353
+ /** Filter by realized profit in USD in the past year */
9354
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9355
+ /** Filter by realized profit in USD in the past 30 days */
9356
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9357
+ /** Filter by scammer score */
9358
+ scammerScore?: InputMaybe<NumberFilter>;
9359
+ /** Filter by number of sells in the past day */
9360
+ sells1d?: InputMaybe<NumberFilter>;
9361
+ /** Filter by number of sells in the past week */
9362
+ sells1w?: InputMaybe<NumberFilter>;
9363
+ /** Filter by number of sells in the past year */
9364
+ sells1y?: InputMaybe<NumberFilter>;
9365
+ /** Filter by number of sells in the past 30 days */
9366
+ sells30d?: InputMaybe<NumberFilter>;
9367
+ /** Filter by token acquisition cost in USD */
9368
+ tokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
9369
+ /** Filter by token amount bought in the past day */
9370
+ tokenAmountBought1d?: InputMaybe<NumberFilter>;
9371
+ /** Filter by token amount bought in the past week */
9372
+ tokenAmountBought1w?: InputMaybe<NumberFilter>;
9373
+ /** Filter by token amount bought in the past year */
9374
+ tokenAmountBought1y?: InputMaybe<NumberFilter>;
9375
+ /** Filter by token amount bought in the past 30 days */
9376
+ tokenAmountBought30d?: InputMaybe<NumberFilter>;
9377
+ /** Filter by token amount sold in the past day */
9378
+ tokenAmountSold1d?: InputMaybe<NumberFilter>;
9379
+ /** Filter by token amount sold in the past week */
9380
+ tokenAmountSold1w?: InputMaybe<NumberFilter>;
9381
+ /** Filter by token amount sold in the past year */
9382
+ tokenAmountSold1y?: InputMaybe<NumberFilter>;
9383
+ /** Filter by token amount sold in the past 30 days */
9384
+ tokenAmountSold30d?: InputMaybe<NumberFilter>;
9385
+ /** Filter by token balance */
9386
+ tokenBalance?: InputMaybe<NumberFilter>;
9387
+ };
9388
+ export type WalletTokenRanking = {
9389
+ /** The attribute to rank wallets by */
9390
+ attribute: WalletTokenRankingAttribute;
9391
+ /** The direction to apply to the ranking attribute */
9392
+ direction: RankingDirection;
9393
+ };
9394
+ export declare enum WalletTokenRankingAttribute {
9395
+ /** Amount bought in USD in the past day */
9396
+ AmountBoughtUsd1d = "amountBoughtUsd1d",
9397
+ /** Amount bought in USD in the past week */
9398
+ AmountBoughtUsd1w = "amountBoughtUsd1w",
9399
+ /** Amount bought in USD in the past year */
9400
+ AmountBoughtUsd1y = "amountBoughtUsd1y",
9401
+ /** Amount bought in USD in the past 30 days */
9402
+ AmountBoughtUsd30d = "amountBoughtUsd30d",
9403
+ /** Amount sold in USD in the past day */
9404
+ AmountSoldUsd1d = "amountSoldUsd1d",
9405
+ /** Amount sold in USD in the past week */
9406
+ AmountSoldUsd1w = "amountSoldUsd1w",
9407
+ /** Amount sold in USD in the past year */
9408
+ AmountSoldUsd1y = "amountSoldUsd1y",
9409
+ /** Amount sold in USD in the past 30 days */
9410
+ AmountSoldUsd30d = "amountSoldUsd30d",
9411
+ /** The bot score for the wallet. */
9412
+ BotScore = "botScore",
9413
+ /** Number of buys in the past day */
9414
+ Buys1d = "buys1d",
9415
+ /** Number of buys in the past week */
9416
+ Buys1w = "buys1w",
9417
+ /** Number of buys in the past year */
9418
+ Buys1y = "buys1y",
9419
+ /** Number of buys in the past 30 days */
9420
+ Buys30d = "buys30d",
9421
+ /** The first transaction timestamp */
9422
+ FirstTransactionAt = "firstTransactionAt",
9423
+ /** The last transaction timestamp */
9424
+ LastTransactionAt = "lastTransactionAt",
9425
+ /** Purchased token balance */
9426
+ PurchasedTokenBalance = "purchasedTokenBalance",
9427
+ /** Realized profit percentage in the past day */
9428
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9429
+ /** Realized profit percentage in the past week */
9430
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9431
+ /** Realized profit percentage in the past year */
9432
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9433
+ /** Realized profit percentage in the past 30 days */
9434
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9435
+ /** Realized profit in USD in the past day */
9436
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9437
+ /** Realized profit in USD in the past week */
9438
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9439
+ /** Realized profit in USD in the past year */
9440
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9441
+ /** Realized profit in USD in the past 30 days */
9442
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9443
+ /** The scammer score for the wallet. */
9444
+ ScammerScore = "scammerScore",
9445
+ /** Number of sells in the past day */
9446
+ Sells1d = "sells1d",
9447
+ /** Number of sells in the past week */
9448
+ Sells1w = "sells1w",
9449
+ /** Number of sells in the past year */
9450
+ Sells1y = "sells1y",
9451
+ /** Number of sells in the past 30 days */
9452
+ Sells30d = "sells30d",
9453
+ /** Token acquisition cost in USD */
9454
+ TokenAcquisitionCostUsd = "tokenAcquisitionCostUsd",
9455
+ /** Token amount bought in the past day */
9456
+ TokenAmountBought1d = "tokenAmountBought1d",
9457
+ /** Token amount bought in the past week */
9458
+ TokenAmountBought1w = "tokenAmountBought1w",
9459
+ /** Token amount bought in the past year */
9460
+ TokenAmountBought1y = "tokenAmountBought1y",
9461
+ /** Token amount bought in the past 30 days */
9462
+ TokenAmountBought30d = "tokenAmountBought30d",
9463
+ /** Token amount sold in the past day */
9464
+ TokenAmountSold1d = "tokenAmountSold1d",
9465
+ /** Token amount sold in the past week */
9466
+ TokenAmountSold1w = "tokenAmountSold1w",
9467
+ /** Token amount sold in the past year */
9468
+ TokenAmountSold1y = "tokenAmountSold1y",
9469
+ /** Token amount sold in the past 30 days */
9470
+ TokenAmountSold30d = "tokenAmountSold30d",
9471
+ /** Token balance */
9472
+ TokenBalance = "tokenBalance"
9473
+ }
8195
9474
  /** Metadata for a washtrade label. */
8196
9475
  export type WashtradeLabelForEvent = {
8197
9476
  __typename?: 'WashtradeLabelForEvent';
@@ -8229,7 +9508,7 @@ export type Webhook = {
8229
9508
  webhookType: WebhookType;
8230
9509
  };
8231
9510
  /** Webhook conditions that must be met for each webhook type. */
8232
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9511
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
8233
9512
  /** NFT marketplace names. */
8234
9513
  export declare enum WebhookNftEventFillSource {
8235
9514
  Blur = "BLUR",
@@ -8256,6 +9535,7 @@ export declare enum WebhookNftEventType {
8256
9535
  }
8257
9536
  /** The type of webhook. */
8258
9537
  export declare enum WebhookType {
9538
+ MarketCapEvent = "MARKET_CAP_EVENT",
8259
9539
  NftEvent = "NFT_EVENT",
8260
9540
  PriceEvent = "PRICE_EVENT",
8261
9541
  RawTransaction = "RAW_TRANSACTION",
@@ -8281,6 +9561,26 @@ export type WindowedDetailedCurrencyPairStats = {
8281
9561
  /** The volume over the time frame. */
8282
9562
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8283
9563
  };
9564
+ /** The currency stats for a wallet over a time window. */
9565
+ export type WindowedDetailedCurrencyWalletStats = {
9566
+ __typename?: 'WindowedDetailedCurrencyWalletStats';
9567
+ /** The average profit in USD per trade */
9568
+ averageProfitUsdPerTrade: Scalars['String']['output'];
9569
+ /** The average swap amount in USD */
9570
+ averageSwapAmountUsd: Scalars['String']['output'];
9571
+ /** The cost of tokens held in the wallet */
9572
+ heldTokenAcquisitionCostUsd: Scalars['String']['output'];
9573
+ /** The realized profit percentage */
9574
+ realizedProfitPercentage: Scalars['Float']['output'];
9575
+ /** The realized profit in USD */
9576
+ realizedProfitUsd: Scalars['String']['output'];
9577
+ /** The cost of tokens sold during the period */
9578
+ soldTokenAcquisitionCostUsd: Scalars['String']['output'];
9579
+ /** The volume in USD */
9580
+ volumeUsd: Scalars['String']['output'];
9581
+ /** The volume in USD including tokens sold for which we do not have a price */
9582
+ volumeUsdAll: Scalars['String']['output'];
9583
+ };
8284
9584
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8285
9585
  export type WindowedDetailedNftCurrencyStats = {
8286
9586
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8351,6 +9651,18 @@ export type WindowedDetailedNonCurrencyPairStats = {
8351
9651
  /** The transaction count over the time frame. */
8352
9652
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8353
9653
  };
9654
+ /** The non-currency stats for a wallet over a time window. */
9655
+ export type WindowedDetailedNonCurrencyWalletStats = {
9656
+ __typename?: 'WindowedDetailedNonCurrencyWalletStats';
9657
+ /** The number of losses */
9658
+ losses: Scalars['Int']['output'];
9659
+ /** The number of swaps */
9660
+ swaps: Scalars['Int']['output'];
9661
+ /** The number of unique tokens */
9662
+ uniqueTokens: Scalars['Int']['output'];
9663
+ /** The number of wins */
9664
+ wins: Scalars['Int']['output'];
9665
+ };
8354
9666
  /** Detailed pair stats over a time frame. */
8355
9667
  export type WindowedDetailedPairStats = {
8356
9668
  __typename?: 'WindowedDetailedPairStats';
@@ -8397,6 +9709,24 @@ export type WindowedDetailedStats = {
8397
9709
  /** The window size used to request detailed stats. */
8398
9710
  windowSize: DetailedStatsWindowSize;
8399
9711
  };
9712
+ /** The stats for a wallet over a time window. */
9713
+ export type WindowedWalletStats = {
9714
+ __typename?: 'WindowedWalletStats';
9715
+ /** The end timestamp */
9716
+ end: Scalars['Int']['output'];
9717
+ /** The last transaction timestamp */
9718
+ lastTransactionAt: Scalars['Int']['output'];
9719
+ /** The network ID */
9720
+ networkId?: Maybe<Scalars['Int']['output']>;
9721
+ /** The start timestamp */
9722
+ start: Scalars['Int']['output'];
9723
+ /** The stats related to non-currency */
9724
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats;
9725
+ /** The stats related to currency */
9726
+ statsUsd: WindowedDetailedCurrencyWalletStats;
9727
+ /** The wallet address */
9728
+ walletAddress: Scalars['String']['output'];
9729
+ };
8400
9730
  export declare enum Join__Graph {
8401
9731
  ApiAdmin = "API_ADMIN",
8402
9732
  Decodings = "DECODINGS",