@codex-data/sdk 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/resources/graphql.d.ts +1173 -12
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +191 -1
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +1 -1
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +1 -1
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +53 -49
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +52 -48
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +15 -15
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +78 -78
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +54 -26
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +17 -13
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1678 -39
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +210 -16
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +11 -3
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +33 -19
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +2 -2
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -2
  32. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  33. package/src/resources/generated_queries/FilterPairs.graphql +4 -4
  34. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  35. package/src/resources/generated_queries/FilterTokens.graphql +4 -3
  36. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  37. package/src/resources/generated_queries/GetBars.graphql +2 -2
  38. package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
  39. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
  40. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
  41. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
  42. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
  43. package/src/resources/generated_queries/PairMetadata.graphql +2 -2
  44. package/src/resources/generated_queries/Token.graphql +1 -1
  45. package/src/resources/generated_queries/Tokens.graphql +1 -1
  46. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  47. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
  48. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
  49. package/src/resources/graphql.schema.json +15289 -7880
  50. package/src/resources/graphql.ts +1215 -12
  51. package/src/resources/schema.graphql +1694 -79
  52. package/src/sdk/Mutation.ts +2 -2
  53. package/src/sdk/Query.ts +119 -103
  54. package/src/sdk/Subscribe.ts +132 -132
  55. package/src/sdk/generated/gql.ts +46 -26
  56. package/src/sdk/generated/graphql.ts +1273 -38
  57. package/src/sdk/index.test.ts +3 -3
  58. package/src/sdk/index.ts +69 -18
  59. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  60. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  61. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  62. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  63. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  64. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  65. package/dist/resources/generated_queries/Balances.graphql +0 -15
  66. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  67. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  68. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  69. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  70. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  71. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  72. package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
  73. package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
  74. package/dist/resources/generated_queries/GetBars.graphql +0 -212
  75. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
  76. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  77. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
  78. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
  79. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  80. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  81. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  82. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  83. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  84. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  85. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  86. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  87. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  88. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  89. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  90. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  91. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  92. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  93. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  94. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  95. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  96. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  97. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  98. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  99. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  100. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  101. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
  102. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
  103. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  104. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  105. package/dist/resources/generated_queries/Holders.graphql +0 -18
  106. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  107. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  108. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
  109. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
  110. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  111. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  112. package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
  113. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  114. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  115. package/dist/resources/generated_queries/Token.graphql +0 -78
  116. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  117. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  118. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  119. package/dist/resources/generated_queries/Tokens.graphql +0 -78
  120. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  121. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  122. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  123. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  124. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  125. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  126. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  127. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
  128. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  129. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  130. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  131. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
  132. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
  133. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  134. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  135. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  136. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
  137. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  138. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  139. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  140. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  141. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -91
  142. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  143. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  144. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  145. package/dist/resources/graphql.schema.json +0 -56135
  146. package/dist/resources/graphql.ts +0 -9024
  147. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  148. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  149. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  150. package/dist/resources/schema.graphql +0 -12013
  151. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  152. package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
@@ -196,17 +196,17 @@ export type BalancesInput = {
196
196
  /** A cursor for use in pagination. */
197
197
  cursor?: InputMaybe<Scalars['String']['input']>;
198
198
  /**
199
- * Optional token specifically request the balance for.
199
+ * Optional token specifically request the balance for. Only works with `walletId`.
200
200
  * @deprecated Use tokens list instead
201
201
  */
202
202
  filterToken?: InputMaybe<Scalars['String']['input']>;
203
- /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
203
+ /** 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
204
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
205
- /** The maximum number of holdings to return. */
205
+ /** The maximum number of holdings to return. Does not apply when using `tokens`. */
206
206
  limit?: InputMaybe<Scalars['Int']['input']>;
207
207
  /** The network IDs to filter by. */
208
208
  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`). */
209
+ /** 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
210
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
211
211
  /** The wallet address to filter by. */
212
212
  walletAddress?: InputMaybe<Scalars['String']['input']>;
@@ -827,6 +827,46 @@ export declare enum DetailedStatsWindowSize {
827
827
  Hour12 = "hour12",
828
828
  Min5 = "min5"
829
829
  }
830
+ /** The detailed stats for a wallet. */
831
+ export type DetailedWalletStats = {
832
+ __typename?: 'DetailedWalletStats';
833
+ /** The likelihood of the wallet being a bot */
834
+ botScore?: Maybe<Scalars['Int']['output']>;
835
+ /** The labels associated with the wallet */
836
+ labels: Array<Scalars['String']['output']>;
837
+ /** The last transaction timestamp */
838
+ lastTransactionAt: Scalars['Int']['output'];
839
+ /** The network breakdown */
840
+ networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
841
+ /**
842
+ * The network specific stats
843
+ * @deprecated Use networkBreakdown instead
844
+ */
845
+ networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
846
+ /** The likelihood of the wallet being a scammer */
847
+ scammerScore?: Maybe<Scalars['Int']['output']>;
848
+ /** The stats for the last day */
849
+ statsDay1?: Maybe<WindowedWalletStats>;
850
+ /** The stats for the last 30 days */
851
+ statsDay30?: Maybe<WindowedWalletStats>;
852
+ /** The stats for the last week */
853
+ statsWeek1?: Maybe<WindowedWalletStats>;
854
+ /** The stats for the last year */
855
+ statsYear1?: Maybe<WindowedWalletStats>;
856
+ /** The wallet address */
857
+ walletAddress: Scalars['String']['output'];
858
+ };
859
+ /** The input for detailed wallet stats. */
860
+ export type DetailedWalletStatsInput = {
861
+ /** Whether to include network breakdown stats */
862
+ includeNetworkBreakdown?: InputMaybe<Scalars['Boolean']['input']>;
863
+ /** The network ID */
864
+ networkId?: InputMaybe<Scalars['Int']['input']>;
865
+ /** The timestamp to get stats for */
866
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
867
+ /** The wallet address */
868
+ walletAddress: Scalars['String']['input'];
869
+ };
830
870
  /** Metadata for a contract. */
831
871
  export type EnhancedContract = EnhancedNftContract | EnhancedToken;
832
872
  /** Metadata for an NFT collection. */
@@ -1266,6 +1306,70 @@ export type FilterExchange = {
1266
1306
  /** The URL for the exchange's trading platform. */
1267
1307
  tradeUrl?: Maybe<Scalars['String']['output']>;
1268
1308
  };
1309
+ /** The input for filtering wallets for a network. */
1310
+ export type FilterNetworkWalletsInput = {
1311
+ /** Exclude wallets with these labels. */
1312
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1313
+ /** A set of filters to apply. */
1314
+ filters?: InputMaybe<WalletNetworkFilters>;
1315
+ /** Include wallets with these labels. */
1316
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1317
+ /** The maximum number of wallets to return. */
1318
+ limit?: InputMaybe<Scalars['Int']['input']>;
1319
+ /** The network ID to filter wallets for */
1320
+ networkId: Scalars['Int']['input'];
1321
+ /** 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. */
1322
+ offset?: InputMaybe<Scalars['Int']['input']>;
1323
+ /** A list of ranking attributes to apply. */
1324
+ rankings?: InputMaybe<Array<InputMaybe<WalletNetworkRanking>>>;
1325
+ /** A list of wallet addresses to filter by. */
1326
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1327
+ };
1328
+ /** The input for filtering wallets for a token. */
1329
+ export type FilterTokenWalletsInput = {
1330
+ /** Exclude wallets with these labels. */
1331
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1332
+ /**
1333
+ * A set of filters to apply
1334
+ * @deprecated Use filtersV2 instead
1335
+ */
1336
+ filters?: InputMaybe<WalletTokenFilters>;
1337
+ /** A set of filters to apply */
1338
+ filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1339
+ /** Include wallets with these labels. */
1340
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1341
+ /** The maximum number of wallets to return */
1342
+ limit?: InputMaybe<Scalars['Int']['input']>;
1343
+ /** The network ID to filter wallets for */
1344
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1345
+ /** Where in the list the server should start when returning items */
1346
+ offset?: InputMaybe<Scalars['Int']['input']>;
1347
+ /** A phrase to search for in token symbol and name */
1348
+ phrase?: InputMaybe<Scalars['String']['input']>;
1349
+ /** A list of ranking attributes to apply */
1350
+ rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1351
+ /** The ID of the token to filter wallets for */
1352
+ tokenId?: InputMaybe<Scalars['String']['input']>;
1353
+ /** The wallet address to filter wallets for */
1354
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
1355
+ };
1356
+ /** The input for filtering wallets. */
1357
+ export type FilterWalletsInput = {
1358
+ /** Exclude wallets with these labels. */
1359
+ excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1360
+ /** A set of filters to apply. */
1361
+ filters?: InputMaybe<WalletFilters>;
1362
+ /** Include wallets with these labels. */
1363
+ includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1364
+ /** The maximum number of wallets to return. */
1365
+ limit?: InputMaybe<Scalars['Int']['input']>;
1366
+ /** 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. */
1367
+ offset?: InputMaybe<Scalars['Int']['input']>;
1368
+ /** A list of ranking attributes to apply. */
1369
+ rankings?: InputMaybe<Array<InputMaybe<WalletRanking>>>;
1370
+ /** A list of wallet addresses to filter by. */
1371
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1372
+ };
1269
1373
  /** Metadata for a front-run label. */
1270
1374
  export type FrontRunLabelData = {
1271
1375
  __typename?: 'FrontRunLabelData';
@@ -1319,13 +1423,13 @@ export type GetDetailedPairsStatsInput = {
1319
1423
  };
1320
1424
  export type GetGasEstimateInput = {
1321
1425
  customGas?: InputMaybe<Scalars['String']['input']>;
1322
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1426
+ exchangeAddress: Scalars['String']['input'];
1323
1427
  gasPrice?: InputMaybe<GasPrice>;
1324
1428
  inputTokenAddress: Scalars['String']['input'];
1325
1429
  inputTokenAmount: Scalars['String']['input'];
1326
1430
  networkId: Scalars['Int']['input'];
1327
1431
  outputTokenAddress: Scalars['String']['input'];
1328
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1432
+ poolAddress: Scalars['String']['input'];
1329
1433
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1330
1434
  slippage?: InputMaybe<Scalars['Float']['input']>;
1331
1435
  userId?: InputMaybe<Scalars['Int']['input']>;
@@ -1401,12 +1505,12 @@ export type GetPriceInput = {
1401
1505
  };
1402
1506
  export type GetQuoteInput = {
1403
1507
  customGas?: InputMaybe<Scalars['String']['input']>;
1404
- exchangeAddress?: InputMaybe<Scalars['String']['input']>;
1508
+ exchangeAddress: Scalars['String']['input'];
1405
1509
  inputTokenAddress: Scalars['String']['input'];
1406
1510
  inputTokenAmount: Scalars['String']['input'];
1407
1511
  networkId: Scalars['Int']['input'];
1408
1512
  outputTokenAddress: Scalars['String']['input'];
1409
- poolAddress?: InputMaybe<Scalars['String']['input']>;
1513
+ poolAddress: Scalars['String']['input'];
1410
1514
  slippage?: InputMaybe<Scalars['Float']['input']>;
1411
1515
  userId?: InputMaybe<Scalars['Int']['input']>;
1412
1516
  };
@@ -1687,6 +1791,8 @@ export type LaunchpadData = {
1687
1791
  completedSlot?: Maybe<Scalars['Int']['output']>;
1688
1792
  /** The percentage of the pool that was sold to the public. */
1689
1793
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1794
+ /** The name of the launchpad. */
1795
+ launchpadName?: Maybe<Scalars['String']['output']>;
1690
1796
  /** The launchpad protocol */
1691
1797
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1692
1798
  /** Indicates if the launchpad was migrated. */
@@ -1697,7 +1803,10 @@ export type LaunchpadData = {
1697
1803
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1698
1804
  /** The slot number when the launchpad was migrated. */
1699
1805
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1700
- /** The name of the launchpad. */
1806
+ /**
1807
+ * The name of the launchpad.
1808
+ * @deprecated Use launchpadName instead
1809
+ */
1701
1810
  name?: Maybe<Scalars['String']['output']>;
1702
1811
  /** The address of the pool. */
1703
1812
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1745,9 +1854,13 @@ export declare enum LaunchpadTokenEventType {
1745
1854
  }
1746
1855
  /** The protocol of the token. */
1747
1856
  export declare enum LaunchpadTokenProtocol {
1857
+ BoopFun = "BoopFun",
1858
+ EgoTech = "EgoTech",
1748
1859
  FourMeme = "FourMeme",
1749
1860
  Pump = "Pump",
1750
- RaydiumLaunchpad = "RaydiumLaunchpad"
1861
+ Rainbow = "Rainbow",
1862
+ RaydiumLaunchpad = "RaydiumLaunchpad",
1863
+ Vertigo = "Vertigo"
1751
1864
  }
1752
1865
  export type LiquidityData = {
1753
1866
  __typename?: 'LiquidityData';
@@ -1971,6 +2084,138 @@ export type Network = {
1971
2084
  name: Scalars['String']['output'];
1972
2085
  networkShortName?: Maybe<Scalars['String']['output']>;
1973
2086
  };
2087
+ /** A breakdown of the wallet's activity by network. */
2088
+ export type NetworkBreakdown = {
2089
+ __typename?: 'NetworkBreakdown';
2090
+ /** The native token balance */
2091
+ nativeTokenBalance: Scalars['String']['output'];
2092
+ /** The network ID */
2093
+ networkId: Scalars['Int']['output'];
2094
+ /** The stats for the last day */
2095
+ statsDay1?: Maybe<WindowedWalletStats>;
2096
+ /** The stats for the last 30 days */
2097
+ statsDay30?: Maybe<WindowedWalletStats>;
2098
+ /** The stats for the last week */
2099
+ statsWeek1?: Maybe<WindowedWalletStats>;
2100
+ /** The stats for the last year */
2101
+ statsYear1?: Maybe<WindowedWalletStats>;
2102
+ };
2103
+ export type NetworkWalletFilterConnection = {
2104
+ __typename?: 'NetworkWalletFilterConnection';
2105
+ /** The number of wallets returned. */
2106
+ count: Scalars['Int']['output'];
2107
+ /** Where in the list the server started when returning items. */
2108
+ offset: Scalars['Int']['output'];
2109
+ /** The list of wallets matching the filter parameters. */
2110
+ results: Array<NetworkWalletFilterResult>;
2111
+ };
2112
+ export type NetworkWalletFilterResult = {
2113
+ __typename?: 'NetworkWalletFilterResult';
2114
+ /** The wallet address */
2115
+ address: Scalars['String']['output'];
2116
+ /** Average profit in USD per trade in the past day */
2117
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
2118
+ /** Average profit in USD per trade in the past week */
2119
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
2120
+ /** Average profit in USD per trade in the past year */
2121
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
2122
+ /** Average profit in USD per trade in the past 30 days */
2123
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
2124
+ /** Average swap amount in USD in the past day */
2125
+ averageSwapAmountUsd1d: Scalars['String']['output'];
2126
+ /** Average swap amount in USD in the past week */
2127
+ averageSwapAmountUsd1w: Scalars['String']['output'];
2128
+ /** Average swap amount in USD in the past year */
2129
+ averageSwapAmountUsd1y: Scalars['String']['output'];
2130
+ /** Average swap amount in USD in the past 30 days */
2131
+ averageSwapAmountUsd30d: Scalars['String']['output'];
2132
+ /** The bot score for the wallet. */
2133
+ botScore?: Maybe<Scalars['Int']['output']>;
2134
+ /** The unix timestamp for the first transaction from this wallet */
2135
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
2136
+ /** The labels associated with the wallet */
2137
+ labels: Array<Scalars['String']['output']>;
2138
+ /** The unix timestamp for the last transaction from this wallet */
2139
+ lastTransactionAt: Scalars['Int']['output'];
2140
+ /** The native token balance of the wallet */
2141
+ nativeTokenBalance: Scalars['String']['output'];
2142
+ /** The network ID of the wallet */
2143
+ networkId: Scalars['Int']['output'];
2144
+ /** Realized profit percentage in the past day */
2145
+ realizedProfitPercentage1d: Scalars['Float']['output'];
2146
+ /** Realized profit percentage in the past week */
2147
+ realizedProfitPercentage1w: Scalars['Float']['output'];
2148
+ /** Realized profit percentage in the past year */
2149
+ realizedProfitPercentage1y: Scalars['Float']['output'];
2150
+ /** Realized profit percentage in the past 30 days */
2151
+ realizedProfitPercentage30d: Scalars['Float']['output'];
2152
+ /** Realized profit in USD in the past day */
2153
+ realizedProfitUsd1d: Scalars['String']['output'];
2154
+ /** Realized profit in USD in the past week */
2155
+ realizedProfitUsd1w: Scalars['String']['output'];
2156
+ /** Realized profit in USD in the past year */
2157
+ realizedProfitUsd1y: Scalars['String']['output'];
2158
+ /** Realized profit in USD in the past 30 days */
2159
+ realizedProfitUsd30d: Scalars['String']['output'];
2160
+ /** The scammer score for the wallet. */
2161
+ scammerScore?: Maybe<Scalars['Int']['output']>;
2162
+ /** Number of swaps in the past day */
2163
+ swaps1d: Scalars['Int']['output'];
2164
+ /** Number of swaps in the past week */
2165
+ swaps1w: Scalars['Int']['output'];
2166
+ /** Number of swaps in the past year */
2167
+ swaps1y: Scalars['Int']['output'];
2168
+ /** Number of swaps in the past 30 days */
2169
+ swaps30d: Scalars['Int']['output'];
2170
+ /** Total number of swaps in the past day including all tokens */
2171
+ swapsAll1d: Scalars['Int']['output'];
2172
+ /** Total number of swaps in the past week including all tokens */
2173
+ swapsAll1w: Scalars['Int']['output'];
2174
+ /** Total number of swaps in the past year including all tokens */
2175
+ swapsAll1y: Scalars['Int']['output'];
2176
+ /** Total number of swaps in the past 30 days including all tokens */
2177
+ swapsAll30d: Scalars['Int']['output'];
2178
+ /** Number of unique tokens traded in the past day */
2179
+ uniqueTokens1d: Scalars['Int']['output'];
2180
+ /** Number of unique tokens traded in the past week */
2181
+ uniqueTokens1w: Scalars['Int']['output'];
2182
+ /** Number of unique tokens traded in the past year */
2183
+ uniqueTokens1y: Scalars['Int']['output'];
2184
+ /** Number of unique tokens traded in the past 30 days */
2185
+ uniqueTokens30d: Scalars['Int']['output'];
2186
+ /** Volume in USD in the past day */
2187
+ volumeUsd1d: Scalars['String']['output'];
2188
+ /** Volume in USD in the past week */
2189
+ volumeUsd1w: Scalars['String']['output'];
2190
+ /** Volume in USD in the past year */
2191
+ volumeUsd1y: Scalars['String']['output'];
2192
+ /** Volume in USD in the past 30 days */
2193
+ volumeUsd30d: Scalars['String']['output'];
2194
+ /** Total volume in USD in the past day including all tokens */
2195
+ volumeUsdAll1d: Scalars['String']['output'];
2196
+ /** Total volume in USD in the past week including all tokens */
2197
+ volumeUsdAll1w: Scalars['String']['output'];
2198
+ /** Total volume in USD in the past year including all tokens */
2199
+ volumeUsdAll1y: Scalars['String']['output'];
2200
+ /** Total volume in USD in the past 30 days including all tokens */
2201
+ volumeUsdAll30d: Scalars['String']['output'];
2202
+ /** Win rate in the past day */
2203
+ winRate1d: Scalars['Float']['output'];
2204
+ /** Win rate in the past week */
2205
+ winRate1w: Scalars['Float']['output'];
2206
+ /** Win rate in the past year */
2207
+ winRate1y: Scalars['Float']['output'];
2208
+ /** Win rate in the past 30 days */
2209
+ winRate30d: Scalars['Float']['output'];
2210
+ };
2211
+ /** Native token balance for a wallet on a network. */
2212
+ export type NetworkWalletStats = {
2213
+ __typename?: 'NetworkWalletStats';
2214
+ /** The native token balance */
2215
+ nativeTokenBalance: Scalars['String']['output'];
2216
+ /** The network ID */
2217
+ networkId: Scalars['Int']['output'];
2218
+ };
1974
2219
  /** Event data for creating a new NFT pool. */
1975
2220
  export type NewPoolEventData = {
1976
2221
  __typename?: 'NewPoolEventData';
@@ -4636,7 +4881,7 @@ export type PairChartSettings = {
4636
4881
  pairAddress: Scalars['String']['input'];
4637
4882
  /** The token of interest within the token's top pair. Can be `token0` or `token1`. */
4638
4883
  quoteToken?: InputMaybe<QuoteToken>;
4639
- /** The time frame for each candle. Available options are `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4884
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
4640
4885
  resolution?: InputMaybe<Scalars['String']['input']>;
4641
4886
  /** The color theme of the chart. */
4642
4887
  theme?: InputMaybe<ChartTheme>;
@@ -5917,8 +6162,15 @@ export type Query = {
5917
6162
  balances: BalancesResponse;
5918
6163
  /** Returns a URL for a pair chart. */
5919
6164
  chartUrls?: Maybe<ChartUrlsResponse>;
6165
+ /** Returns detailed stats for a wallet. */
6166
+ detailedWalletStats?: Maybe<DetailedWalletStats>;
5920
6167
  /** Returns a list of exchanges based on a variety of filters. */
5921
6168
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6169
+ /**
6170
+ * Returns a list of wallets with stats narrowed down to a specific network.
6171
+ * @deprecated Use filterWallets instead
6172
+ */
6173
+ filterNetworkWallets: NetworkWalletFilterConnection;
5922
6174
  /** Returns a list of NFT collection based on a variety of filters. */
5923
6175
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
5924
6176
  /** Returns a list of Parallel assets based on a variety of filters. */
@@ -5929,8 +6181,12 @@ export type Query = {
5929
6181
  filterNftPools?: Maybe<NftPoolFilterConnection>;
5930
6182
  /** Returns a list of pairs based on a variety of filters. */
5931
6183
  filterPairs?: Maybe<PairFilterConnection>;
6184
+ /** Returns a list of wallets with stats narrowed down to a specific token. */
6185
+ filterTokenWallets: TokenWalletFilterConnection;
5932
6186
  /** Returns a list of tokens based on a variety of filters. */
5933
6187
  filterTokens?: Maybe<TokenFilterConnection>;
6188
+ /** Returns a list of wallets based on a variety of filters. */
6189
+ filterWallets: WalletFilterConnection;
5934
6190
  /** Returns bar chart data to track price changes over time. */
5935
6191
  getBars?: Maybe<BarsResponse>;
5936
6192
  /** Returns community gathered notes. */
@@ -6041,6 +6297,8 @@ export type Query = {
6041
6297
  tokens: Array<Maybe<EnhancedToken>>;
6042
6298
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6043
6299
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6300
+ /** Returns a chart of a wallet's activity. */
6301
+ walletChart?: Maybe<WalletChartResponse>;
6044
6302
  /** Returns list of NFT assets held by a given wallet for a single collection. */
6045
6303
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
6046
6304
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6055,6 +6313,9 @@ export type QueryBalancesArgs = {
6055
6313
  export type QueryChartUrlsArgs = {
6056
6314
  input: ChartInput;
6057
6315
  };
6316
+ export type QueryDetailedWalletStatsArgs = {
6317
+ input: DetailedWalletStatsInput;
6318
+ };
6058
6319
  export type QueryFilterExchangesArgs = {
6059
6320
  filters?: InputMaybe<ExchangeFilters>;
6060
6321
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6062,6 +6323,9 @@ export type QueryFilterExchangesArgs = {
6062
6323
  phrase?: InputMaybe<Scalars['String']['input']>;
6063
6324
  rankings?: InputMaybe<Array<InputMaybe<ExchangeRanking>>>;
6064
6325
  };
6326
+ export type QueryFilterNetworkWalletsArgs = {
6327
+ input: FilterNetworkWalletsInput;
6328
+ };
6065
6329
  export type QueryFilterNftCollectionsArgs = {
6066
6330
  collections?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6067
6331
  filters?: InputMaybe<NftCollectionFilters>;
@@ -6102,6 +6366,9 @@ export type QueryFilterPairsArgs = {
6102
6366
  rankings?: InputMaybe<Array<InputMaybe<PairRanking>>>;
6103
6367
  statsType?: InputMaybe<TokenPairStatisticsType>;
6104
6368
  };
6369
+ export type QueryFilterTokenWalletsArgs = {
6370
+ input: FilterTokenWalletsInput;
6371
+ };
6105
6372
  export type QueryFilterTokensArgs = {
6106
6373
  excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6107
6374
  filters?: InputMaybe<TokenFilters>;
@@ -6112,6 +6379,9 @@ export type QueryFilterTokensArgs = {
6112
6379
  statsType?: InputMaybe<TokenPairStatisticsType>;
6113
6380
  tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6114
6381
  };
6382
+ export type QueryFilterWalletsArgs = {
6383
+ input: FilterWalletsInput;
6384
+ };
6115
6385
  export type QueryGetBarsArgs = {
6116
6386
  countback?: InputMaybe<Scalars['Int']['input']>;
6117
6387
  currencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -6394,6 +6664,9 @@ export type QueryTokensArgs = {
6394
6664
  export type QueryTop10HoldersPercentArgs = {
6395
6665
  tokenId: Scalars['String']['input'];
6396
6666
  };
6667
+ export type QueryWalletChartArgs = {
6668
+ input: WalletChartInput;
6669
+ };
6397
6670
  export type QueryWalletNftCollectionAssetsArgs = {
6398
6671
  input: WalletNftCollectionAssetsInput;
6399
6672
  };
@@ -6435,6 +6708,11 @@ export declare enum QuoteType {
6435
6708
  Input = "INPUT",
6436
6709
  Output = "OUTPUT"
6437
6710
  }
6711
+ /** The range of time for a chart. */
6712
+ export type RangeInput = {
6713
+ end: Scalars['Int']['input'];
6714
+ start: Scalars['Int']['input'];
6715
+ };
6438
6716
  /** The order of ranking. */
6439
6717
  export declare enum RankingDirection {
6440
6718
  Asc = "ASC",
@@ -7278,6 +7556,8 @@ export type TokenFilterResult = {
7278
7556
  change12?: Maybe<Scalars['String']['output']>;
7279
7557
  /** The percent price change in the past 24 hours. Decimal format. */
7280
7558
  change24?: Maybe<Scalars['String']['output']>;
7559
+ /** The circulating market cap. */
7560
+ circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7281
7561
  /** The unix timestamp for the creation of the token's first pair. */
7282
7562
  createdAt?: Maybe<Scalars['Int']['output']>;
7283
7563
  /** The exchanges the token is listed on. */
@@ -7312,7 +7592,7 @@ export type TokenFilterResult = {
7312
7592
  low12?: Maybe<Scalars['String']['output']>;
7313
7593
  /** The lowest price in USD in the past 24 hours. */
7314
7594
  low24?: Maybe<Scalars['String']['output']>;
7315
- /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
7595
+ /** The fully diluted market cap. */
7316
7596
  marketCap?: Maybe<Scalars['String']['output']>;
7317
7597
  /** Metadata for the token's top pair. */
7318
7598
  pair?: Maybe<Pair>;
@@ -7445,6 +7725,8 @@ export type TokenFilters = {
7445
7725
  change12?: InputMaybe<NumberFilter>;
7446
7726
  /** The percent price change in the past 24 hours. Decimal format. */
7447
7727
  change24?: InputMaybe<NumberFilter>;
7728
+ /** The circulating market cap. */
7729
+ circulatingMarketCap?: InputMaybe<NumberFilter>;
7448
7730
  /** The unix timestamp for the creation of the token's first pair. */
7449
7731
  createdAt?: InputMaybe<NumberFilter>;
7450
7732
  /** The address of the creator of the token */
@@ -7487,6 +7769,8 @@ export type TokenFilters = {
7487
7769
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7488
7770
  /** The timestamp when the launchpad was migrated */
7489
7771
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7772
+ /** The name of the launchpad */
7773
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
7490
7774
  /** The launchpad protocol */
7491
7775
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
7492
7776
  /** The amount of liquidity in the token's top pair. */
@@ -7796,6 +8080,7 @@ export declare enum TokenRankingAttribute {
7796
8080
  Change5m = "change5m",
7797
8081
  Change12 = "change12",
7798
8082
  Change24 = "change24",
8083
+ CirculatingMarketCap = "circulatingMarketCap",
7799
8084
  CreatedAt = "createdAt",
7800
8085
  GraduationPercent = "graduationPercent",
7801
8086
  High1 = "high1",
@@ -7953,6 +8238,131 @@ export type TokenTopTradersInput = {
7953
8238
  /** The trading period */
7954
8239
  tradingPeriod: TradingPeriod;
7955
8240
  };
8241
+ export type TokenWalletFilterConnection = {
8242
+ __typename?: 'TokenWalletFilterConnection';
8243
+ /** The number of wallets returned. */
8244
+ count: Scalars['Int']['output'];
8245
+ /** Where in the list the server started when returning items. */
8246
+ offset: Scalars['Int']['output'];
8247
+ /** The list of wallets matching the filter parameters. */
8248
+ results: Array<TokenWalletFilterResult>;
8249
+ };
8250
+ /** The result for filtering wallets for a token. */
8251
+ export type TokenWalletFilterResult = {
8252
+ __typename?: 'TokenWalletFilterResult';
8253
+ /** The wallet address */
8254
+ address: Scalars['String']['output'];
8255
+ /** Amount bought in USD in the past day */
8256
+ amountBoughtUsd1d: Scalars['String']['output'];
8257
+ /** Amount bought in USD in the past week */
8258
+ amountBoughtUsd1w: Scalars['String']['output'];
8259
+ /** Amount bought in USD in the past year */
8260
+ amountBoughtUsd1y: Scalars['String']['output'];
8261
+ /** Amount bought in USD in the past 30 days */
8262
+ amountBoughtUsd30d: Scalars['String']['output'];
8263
+ /** Amount sold in USD in the past day */
8264
+ amountSoldUsd1d: Scalars['String']['output'];
8265
+ /** Amount sold in USD in the past week */
8266
+ amountSoldUsd1w: Scalars['String']['output'];
8267
+ /** Amount sold in USD in the past year */
8268
+ amountSoldUsd1y: Scalars['String']['output'];
8269
+ /** Amount sold in USD in the past 30 days */
8270
+ amountSoldUsd30d: Scalars['String']['output'];
8271
+ /** Amount sold USD all in the past day */
8272
+ amountSoldUsdAll1d: Scalars['String']['output'];
8273
+ /** Amount sold USD all in the past week */
8274
+ amountSoldUsdAll1w: Scalars['String']['output'];
8275
+ /** Amount sold USD all in the past year */
8276
+ amountSoldUsdAll1y: Scalars['String']['output'];
8277
+ /** Amount sold USD all in the past 30 days */
8278
+ amountSoldUsdAll30d: Scalars['String']['output'];
8279
+ /** The bot score for the wallet. */
8280
+ botScore?: Maybe<Scalars['Int']['output']>;
8281
+ /** Number of buys in the past day */
8282
+ buys1d: Scalars['Int']['output'];
8283
+ /** Number of buys in the past week */
8284
+ buys1w: Scalars['Int']['output'];
8285
+ /** Number of buys in the past year */
8286
+ buys1y: Scalars['Int']['output'];
8287
+ /** Number of buys in the past 30 days */
8288
+ buys30d: Scalars['Int']['output'];
8289
+ /** The unix timestamp for the first transaction from this wallet */
8290
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8291
+ /** The labels associated with the wallet */
8292
+ labels: Array<Scalars['String']['output']>;
8293
+ /** The unix timestamp for the last transaction from this wallet */
8294
+ lastTransactionAt: Scalars['Int']['output'];
8295
+ /** The network ID */
8296
+ networkId: Scalars['Int']['output'];
8297
+ /** The purchased token balance */
8298
+ purchasedTokenBalance: Scalars['String']['output'];
8299
+ /** Realized profit percentage in the past day */
8300
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8301
+ /** Realized profit percentage in the past week */
8302
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8303
+ /** Realized profit percentage in the past year */
8304
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8305
+ /** Realized profit percentage in the past 30 days */
8306
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8307
+ /** Realized profit in USD in the past day */
8308
+ realizedProfitUsd1d: Scalars['String']['output'];
8309
+ /** Realized profit in USD in the past week */
8310
+ realizedProfitUsd1w: Scalars['String']['output'];
8311
+ /** Realized profit in USD in the past year */
8312
+ realizedProfitUsd1y: Scalars['String']['output'];
8313
+ /** Realized profit in USD in the past 30 days */
8314
+ realizedProfitUsd30d: Scalars['String']['output'];
8315
+ /** The scammer score for the wallet. */
8316
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8317
+ /** Number of sells in the past day */
8318
+ sells1d: Scalars['Int']['output'];
8319
+ /** Number of sells in the past week */
8320
+ sells1w: Scalars['Int']['output'];
8321
+ /** Number of sells in the past year */
8322
+ sells1y: Scalars['Int']['output'];
8323
+ /** Number of sells in the past 30 days */
8324
+ sells30d: Scalars['Int']['output'];
8325
+ /** Number of sells all in the past day */
8326
+ sellsAll1d: Scalars['Int']['output'];
8327
+ /** Number of sells all in the past week */
8328
+ sellsAll1w: Scalars['Int']['output'];
8329
+ /** Number of sells all in the past year */
8330
+ sellsAll1y: Scalars['Int']['output'];
8331
+ /** Number of sells all in the past 30 days */
8332
+ sellsAll30d: Scalars['Int']['output'];
8333
+ /** The token metadata */
8334
+ token: EnhancedToken;
8335
+ /** The token acquisition cost in USD */
8336
+ tokenAcquisitionCostUsd: Scalars['String']['output'];
8337
+ /** The token address */
8338
+ tokenAddress: Scalars['String']['output'];
8339
+ /** Token amount bought in the past day */
8340
+ tokenAmountBought1d: Scalars['String']['output'];
8341
+ /** Token amount bought in the past week */
8342
+ tokenAmountBought1w: Scalars['String']['output'];
8343
+ /** Token amount bought in the past year */
8344
+ tokenAmountBought1y: Scalars['String']['output'];
8345
+ /** Token amount bought in the past 30 days */
8346
+ tokenAmountBought30d: Scalars['String']['output'];
8347
+ /** Token amount sold in the past day */
8348
+ tokenAmountSold1d: Scalars['String']['output'];
8349
+ /** Token amount sold in the past week */
8350
+ tokenAmountSold1w: Scalars['String']['output'];
8351
+ /** Token amount sold in the past year */
8352
+ tokenAmountSold1y: Scalars['String']['output'];
8353
+ /** Token amount sold in the past 30 days */
8354
+ tokenAmountSold30d: Scalars['String']['output'];
8355
+ /** Token amount sold all in the past day */
8356
+ tokenAmountSoldAll1d: Scalars['String']['output'];
8357
+ /** Token amount sold all in the past week */
8358
+ tokenAmountSoldAll1w: Scalars['String']['output'];
8359
+ /** Token amount sold all in the past year */
8360
+ tokenAmountSoldAll1y: Scalars['String']['output'];
8361
+ /** Token amount sold all in the past 30 days */
8362
+ tokenAmountSoldAll30d: Scalars['String']['output'];
8363
+ /** The current token balance */
8364
+ tokenBalance: Scalars['String']['output'];
8365
+ };
7956
8366
  /** A token with metadata. */
7957
8367
  export type TokenWithMetadata = {
7958
8368
  __typename?: 'TokenWithMetadata';
@@ -8139,11 +8549,400 @@ export type UnconfirmedSwapEventData = {
8139
8549
  /** The type of token event, `Swap`. */
8140
8550
  type: EventType;
8141
8551
  };
8552
+ /** The data for a chart of a wallet's activity. */
8553
+ export type WalletChartData = {
8554
+ __typename?: 'WalletChartData';
8555
+ /** The realized profit in USD */
8556
+ realizedProfitUsd: Scalars['String']['output'];
8557
+ /** The resolution */
8558
+ resolution: Scalars['String']['output'];
8559
+ /** The number of swaps */
8560
+ swaps: Scalars['Int']['output'];
8561
+ /** The timestamp */
8562
+ timestamp: Scalars['Int']['output'];
8563
+ /** The volume in USD */
8564
+ volumeUsd: Scalars['String']['output'];
8565
+ /** The volume in USD including tokens sold for which we do not have a price */
8566
+ volumeUsdAll: Scalars['String']['output'];
8567
+ };
8568
+ /** The input for a chart of a wallet's activity. */
8569
+ export type WalletChartInput = {
8570
+ /** The network ID */
8571
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8572
+ /** The range of time for the chart */
8573
+ range: RangeInput;
8574
+ /** The resolution of the chart */
8575
+ resolution: Scalars['String']['input'];
8576
+ /** The wallet address */
8577
+ walletAddress: Scalars['String']['input'];
8578
+ };
8579
+ /** The range of time for a chart. */
8142
8580
  export type WalletChartRange = {
8143
8581
  __typename?: 'WalletChartRange';
8144
8582
  end: Scalars['Int']['output'];
8145
8583
  start: Scalars['Int']['output'];
8146
8584
  };
8585
+ /** The response for a chart of a wallet's activity. */
8586
+ export type WalletChartResponse = {
8587
+ __typename?: 'WalletChartResponse';
8588
+ /** The data for the chart */
8589
+ data: Array<WalletChartData>;
8590
+ /** The network ID */
8591
+ networkId?: Maybe<Scalars['Int']['output']>;
8592
+ /** The range of time for the chart */
8593
+ range: WalletChartRange;
8594
+ /** The resolution of the chart */
8595
+ resolution: Scalars['String']['output'];
8596
+ /** The wallet address */
8597
+ walletAddress: Scalars['String']['output'];
8598
+ };
8599
+ export type WalletFilterConnection = {
8600
+ __typename?: 'WalletFilterConnection';
8601
+ /** The number of wallets returned. */
8602
+ count: Scalars['Int']['output'];
8603
+ /** Where in the list the server started when returning items. */
8604
+ offset: Scalars['Int']['output'];
8605
+ /** The list of wallets matching the filter parameters. */
8606
+ results: Array<WalletFilterResult>;
8607
+ };
8608
+ export type WalletFilterResult = {
8609
+ __typename?: 'WalletFilterResult';
8610
+ /** The wallet address */
8611
+ address: Scalars['String']['output'];
8612
+ /** Average profit in USD per trade in the past day */
8613
+ averageProfitUsdPerTrade1d: Scalars['String']['output'];
8614
+ /** Average profit in USD per trade in the past week */
8615
+ averageProfitUsdPerTrade1w: Scalars['String']['output'];
8616
+ /** Average profit in USD per trade in the past year */
8617
+ averageProfitUsdPerTrade1y: Scalars['String']['output'];
8618
+ /** Average profit in USD per trade in the past 30 days */
8619
+ averageProfitUsdPerTrade30d: Scalars['String']['output'];
8620
+ /** Average swap amount in USD in the past day */
8621
+ averageSwapAmountUsd1d: Scalars['String']['output'];
8622
+ /** Average swap amount in USD in the past week */
8623
+ averageSwapAmountUsd1w: Scalars['String']['output'];
8624
+ /** Average swap amount in USD in the past year */
8625
+ averageSwapAmountUsd1y: Scalars['String']['output'];
8626
+ /** Average swap amount in USD in the past 30 days */
8627
+ averageSwapAmountUsd30d: Scalars['String']['output'];
8628
+ /** The bot score for the wallet. */
8629
+ botScore?: Maybe<Scalars['Int']['output']>;
8630
+ /** The unix timestamp for the first transaction from this wallet */
8631
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8632
+ /** The labels associated with the wallet */
8633
+ labels: Array<Scalars['String']['output']>;
8634
+ /** The unix timestamp for the last transaction from this wallet */
8635
+ lastTransactionAt: Scalars['Int']['output'];
8636
+ /** The native token balance of the wallet (only present if filtered by network) */
8637
+ nativeTokenBalance?: Maybe<Scalars['String']['output']>;
8638
+ /** The network ID of the wallet (only present if filtered by network) */
8639
+ networkId?: Maybe<Scalars['Int']['output']>;
8640
+ /** Realized profit percentage in the past day */
8641
+ realizedProfitPercentage1d: Scalars['Float']['output'];
8642
+ /** Realized profit percentage in the past week */
8643
+ realizedProfitPercentage1w: Scalars['Float']['output'];
8644
+ /** Realized profit percentage in the past year */
8645
+ realizedProfitPercentage1y: Scalars['Float']['output'];
8646
+ /** Realized profit percentage in the past 30 days */
8647
+ realizedProfitPercentage30d: Scalars['Float']['output'];
8648
+ /** Realized profit in USD in the past day */
8649
+ realizedProfitUsd1d: Scalars['String']['output'];
8650
+ /** Realized profit in USD in the past week */
8651
+ realizedProfitUsd1w: Scalars['String']['output'];
8652
+ /** Realized profit in USD in the past year */
8653
+ realizedProfitUsd1y: Scalars['String']['output'];
8654
+ /** Realized profit in USD in the past 30 days */
8655
+ realizedProfitUsd30d: Scalars['String']['output'];
8656
+ /** The scammer score for the wallet. */
8657
+ scammerScore?: Maybe<Scalars['Int']['output']>;
8658
+ /** Number of swaps in the past day */
8659
+ swaps1d: Scalars['Int']['output'];
8660
+ /** Number of swaps in the past week */
8661
+ swaps1w: Scalars['Int']['output'];
8662
+ /** Number of swaps in the past year */
8663
+ swaps1y: Scalars['Int']['output'];
8664
+ /** Number of swaps in the past 30 days */
8665
+ swaps30d: Scalars['Int']['output'];
8666
+ /** Total number of swaps in the past day including all tokens */
8667
+ swapsAll1d: Scalars['Int']['output'];
8668
+ /** Total number of swaps in the past week including all tokens */
8669
+ swapsAll1w: Scalars['Int']['output'];
8670
+ /** Total number of swaps in the past year including all tokens */
8671
+ swapsAll1y: Scalars['Int']['output'];
8672
+ /** Total number of swaps in the past 30 days including all tokens */
8673
+ swapsAll30d: Scalars['Int']['output'];
8674
+ /** Number of unique tokens traded in the past day */
8675
+ uniqueTokens1d: Scalars['Int']['output'];
8676
+ /** Number of unique tokens traded in the past week */
8677
+ uniqueTokens1w: Scalars['Int']['output'];
8678
+ /** Number of unique tokens traded in the past year */
8679
+ uniqueTokens1y: Scalars['Int']['output'];
8680
+ /** Number of unique tokens traded in the past 30 days */
8681
+ uniqueTokens30d: Scalars['Int']['output'];
8682
+ /** Volume in USD in the past day */
8683
+ volumeUsd1d: Scalars['String']['output'];
8684
+ /** Volume in USD in the past week */
8685
+ volumeUsd1w: Scalars['String']['output'];
8686
+ /** Volume in USD in the past year */
8687
+ volumeUsd1y: Scalars['String']['output'];
8688
+ /** Volume in USD in the past 30 days */
8689
+ volumeUsd30d: Scalars['String']['output'];
8690
+ /** Total volume in USD in the past day including all tokens */
8691
+ volumeUsdAll1d: Scalars['String']['output'];
8692
+ /** Total volume in USD in the past week including all tokens */
8693
+ volumeUsdAll1w: Scalars['String']['output'];
8694
+ /** Total volume in USD in the past year including all tokens */
8695
+ volumeUsdAll1y: Scalars['String']['output'];
8696
+ /** Total volume in USD in the past 30 days including all tokens */
8697
+ volumeUsdAll30d: Scalars['String']['output'];
8698
+ /** Win rate in the past day */
8699
+ winRate1d: Scalars['Float']['output'];
8700
+ /** Win rate in the past week */
8701
+ winRate1w: Scalars['Float']['output'];
8702
+ /** Win rate in the past year */
8703
+ winRate1y: Scalars['Float']['output'];
8704
+ /** Win rate in the past 30 days */
8705
+ winRate30d: Scalars['Float']['output'];
8706
+ };
8707
+ export type WalletFilters = {
8708
+ /** Average profit in USD per trade in the past day */
8709
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8710
+ /** Average profit in USD per trade in the past week */
8711
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8712
+ /** Average profit in USD per trade in the past year */
8713
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8714
+ /** Average profit in USD per trade in the past 30 days */
8715
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8716
+ /** Average swap amount in USD in the past day */
8717
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8718
+ /** Average swap amount in USD in the past week */
8719
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8720
+ /** Average swap amount in USD in the past year */
8721
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8722
+ /** Average swap amount in USD in the past 30 days */
8723
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8724
+ /** The bot score for the wallet. */
8725
+ botScore?: InputMaybe<NumberFilter>;
8726
+ /** The unix timestamp for the first transaction from this wallet. */
8727
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8728
+ /** The unix timestamp for the last transaction from this wallet. */
8729
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8730
+ /** The native token balance of the wallet. Can only be used in conjunction with `networkId` filter. */
8731
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8732
+ /** The network ID to filter by. */
8733
+ networkId?: InputMaybe<Scalars['Int']['input']>;
8734
+ /** Realized profit percentage in the past day */
8735
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8736
+ /** Realized profit percentage in the past week */
8737
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8738
+ /** Realized profit percentage in the past year */
8739
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
8740
+ /** Realized profit percentage in the past 30 days */
8741
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
8742
+ /** Realized profit in USD in the past day */
8743
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
8744
+ /** Realized profit in USD in the past week */
8745
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
8746
+ /** Realized profit in USD in the past year */
8747
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
8748
+ /** Realized profit in USD in the past 30 days */
8749
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
8750
+ /** The scammer score for the wallet. */
8751
+ scammerScore?: InputMaybe<NumberFilter>;
8752
+ /** Number of swaps in the past day */
8753
+ swaps1d?: InputMaybe<NumberFilter>;
8754
+ /** Number of swaps in the past week */
8755
+ swaps1w?: InputMaybe<NumberFilter>;
8756
+ /** Number of swaps in the past year */
8757
+ swaps1y?: InputMaybe<NumberFilter>;
8758
+ /** Number of swaps in the past 30 days */
8759
+ swaps30d?: InputMaybe<NumberFilter>;
8760
+ /** Total number of swaps in the past day including all tokens */
8761
+ swapsAll1d?: InputMaybe<NumberFilter>;
8762
+ /** Total number of swaps in the past week including all tokens */
8763
+ swapsAll1w?: InputMaybe<NumberFilter>;
8764
+ /** Total number of swaps in the past year including all tokens */
8765
+ swapsAll1y?: InputMaybe<NumberFilter>;
8766
+ /** Total number of swaps in the past 30 days including all tokens */
8767
+ swapsAll30d?: InputMaybe<NumberFilter>;
8768
+ /** Number of unique tokens traded in the past day */
8769
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
8770
+ /** Number of unique tokens traded in the past week */
8771
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
8772
+ /** Number of unique tokens traded in the past year */
8773
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
8774
+ /** Number of unique tokens traded in the past 30 days */
8775
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
8776
+ /** Volume in USD in the past day */
8777
+ volumeUsd1d?: InputMaybe<NumberFilter>;
8778
+ /** Volume in USD in the past week */
8779
+ volumeUsd1w?: InputMaybe<NumberFilter>;
8780
+ /** Volume in USD in the past year */
8781
+ volumeUsd1y?: InputMaybe<NumberFilter>;
8782
+ /** Volume in USD in the past 30 days */
8783
+ volumeUsd30d?: InputMaybe<NumberFilter>;
8784
+ /** Total volume in USD in the past day including all tokens */
8785
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
8786
+ /** Total volume in USD in the past week including all tokens */
8787
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
8788
+ /** Total volume in USD in the past year including all tokens */
8789
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
8790
+ /** Total volume in USD in the past 30 days including all tokens */
8791
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
8792
+ /** Win rate in the past day */
8793
+ winRate1d?: InputMaybe<NumberFilter>;
8794
+ /** Win rate in the past week */
8795
+ winRate1w?: InputMaybe<NumberFilter>;
8796
+ /** Win rate in the past year */
8797
+ winRate1y?: InputMaybe<NumberFilter>;
8798
+ /** Win rate in the past 30 days */
8799
+ winRate30d?: InputMaybe<NumberFilter>;
8800
+ };
8801
+ export type WalletNetworkFilters = {
8802
+ /** Average profit in USD per trade in the past day */
8803
+ averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
8804
+ /** Average profit in USD per trade in the past week */
8805
+ averageProfitUsdPerTrade1w?: InputMaybe<NumberFilter>;
8806
+ /** Average profit in USD per trade in the past year */
8807
+ averageProfitUsdPerTrade1y?: InputMaybe<NumberFilter>;
8808
+ /** Average profit in USD per trade in the past 30 days */
8809
+ averageProfitUsdPerTrade30d?: InputMaybe<NumberFilter>;
8810
+ /** Average swap amount in USD in the past day */
8811
+ averageSwapAmountUsd1d?: InputMaybe<NumberFilter>;
8812
+ /** Average swap amount in USD in the past week */
8813
+ averageSwapAmountUsd1w?: InputMaybe<NumberFilter>;
8814
+ /** Average swap amount in USD in the past year */
8815
+ averageSwapAmountUsd1y?: InputMaybe<NumberFilter>;
8816
+ /** Average swap amount in USD in the past 30 days */
8817
+ averageSwapAmountUsd30d?: InputMaybe<NumberFilter>;
8818
+ /** 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. */
8819
+ botScore?: InputMaybe<NumberFilter>;
8820
+ /** The unix timestamp for the first transaction from this wallet. */
8821
+ firstTransactionAt?: InputMaybe<NumberFilter>;
8822
+ /** The unix timestamp for the last transaction from this wallet. */
8823
+ lastTransactionAt?: InputMaybe<NumberFilter>;
8824
+ /** The native token balance of the wallet. */
8825
+ nativeTokenBalance?: InputMaybe<NumberFilter>;
8826
+ /** Realized profit percentage in the past day */
8827
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
8828
+ /** Realized profit percentage in the past week */
8829
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
8830
+ /** Realized profit percentage in the past year */
8831
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
8832
+ /** Realized profit percentage in the past 30 days */
8833
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
8834
+ /** Realized profit in USD in the past day */
8835
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
8836
+ /** Realized profit in USD in the past week */
8837
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
8838
+ /** Realized profit in USD in the past year */
8839
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
8840
+ /** Realized profit in USD in the past 30 days */
8841
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
8842
+ /** 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. */
8843
+ scammerScore?: InputMaybe<NumberFilter>;
8844
+ /** Number of swaps in the past day */
8845
+ swaps1d?: InputMaybe<NumberFilter>;
8846
+ /** Number of swaps in the past week */
8847
+ swaps1w?: InputMaybe<NumberFilter>;
8848
+ /** Number of swaps in the past year */
8849
+ swaps1y?: InputMaybe<NumberFilter>;
8850
+ /** Number of swaps in the past 30 days */
8851
+ swaps30d?: InputMaybe<NumberFilter>;
8852
+ /** Total number of swaps in the past day including all tokens */
8853
+ swapsAll1d?: InputMaybe<NumberFilter>;
8854
+ /** Total number of swaps in the past week including all tokens */
8855
+ swapsAll1w?: InputMaybe<NumberFilter>;
8856
+ /** Total number of swaps in the past year including all tokens */
8857
+ swapsAll1y?: InputMaybe<NumberFilter>;
8858
+ /** Total number of swaps in the past 30 days including all tokens */
8859
+ swapsAll30d?: InputMaybe<NumberFilter>;
8860
+ /** Number of unique tokens traded in the past day */
8861
+ uniqueTokens1d?: InputMaybe<NumberFilter>;
8862
+ /** Number of unique tokens traded in the past week */
8863
+ uniqueTokens1w?: InputMaybe<NumberFilter>;
8864
+ /** Number of unique tokens traded in the past year */
8865
+ uniqueTokens1y?: InputMaybe<NumberFilter>;
8866
+ /** Number of unique tokens traded in the past 30 days */
8867
+ uniqueTokens30d?: InputMaybe<NumberFilter>;
8868
+ /** Volume in USD in the past day */
8869
+ volumeUsd1d?: InputMaybe<NumberFilter>;
8870
+ /** Volume in USD in the past week */
8871
+ volumeUsd1w?: InputMaybe<NumberFilter>;
8872
+ /** Volume in USD in the past year */
8873
+ volumeUsd1y?: InputMaybe<NumberFilter>;
8874
+ /** Volume in USD in the past 30 days */
8875
+ volumeUsd30d?: InputMaybe<NumberFilter>;
8876
+ /** Total volume in USD in the past day including all tokens */
8877
+ volumeUsdAll1d?: InputMaybe<NumberFilter>;
8878
+ /** Total volume in USD in the past week including all tokens */
8879
+ volumeUsdAll1w?: InputMaybe<NumberFilter>;
8880
+ /** Total volume in USD in the past year including all tokens */
8881
+ volumeUsdAll1y?: InputMaybe<NumberFilter>;
8882
+ /** Total volume in USD in the past 30 days including all tokens */
8883
+ volumeUsdAll30d?: InputMaybe<NumberFilter>;
8884
+ /** Win rate in the past day */
8885
+ winRate1d?: InputMaybe<NumberFilter>;
8886
+ /** Win rate in the past week */
8887
+ winRate1w?: InputMaybe<NumberFilter>;
8888
+ /** Win rate in the past year */
8889
+ winRate1y?: InputMaybe<NumberFilter>;
8890
+ /** Win rate in the past 30 days */
8891
+ winRate30d?: InputMaybe<NumberFilter>;
8892
+ };
8893
+ export type WalletNetworkRanking = {
8894
+ /** The attribute to rank wallets by. */
8895
+ attribute?: InputMaybe<WalletNetworkRankingAttribute>;
8896
+ /** The direction to apply to the ranking attribute. */
8897
+ direction?: InputMaybe<RankingDirection>;
8898
+ };
8899
+ export declare enum WalletNetworkRankingAttribute {
8900
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
8901
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
8902
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
8903
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
8904
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
8905
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
8906
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
8907
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
8908
+ BotScore = "botScore",
8909
+ FirstTransactionAt = "firstTransactionAt",
8910
+ LastTransactionAt = "lastTransactionAt",
8911
+ NativeTokenBalance = "nativeTokenBalance",
8912
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
8913
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
8914
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
8915
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
8916
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
8917
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
8918
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
8919
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
8920
+ ScammerScore = "scammerScore",
8921
+ Swaps1d = "swaps1d",
8922
+ Swaps1w = "swaps1w",
8923
+ Swaps1y = "swaps1y",
8924
+ Swaps30d = "swaps30d",
8925
+ SwapsAll1d = "swapsAll1d",
8926
+ SwapsAll1w = "swapsAll1w",
8927
+ SwapsAll1y = "swapsAll1y",
8928
+ SwapsAll30d = "swapsAll30d",
8929
+ UniqueTokens1d = "uniqueTokens1d",
8930
+ UniqueTokens1w = "uniqueTokens1w",
8931
+ UniqueTokens1y = "uniqueTokens1y",
8932
+ UniqueTokens30d = "uniqueTokens30d",
8933
+ VolumeUsd1d = "volumeUsd1d",
8934
+ VolumeUsd1w = "volumeUsd1w",
8935
+ VolumeUsd1y = "volumeUsd1y",
8936
+ VolumeUsd30d = "volumeUsd30d",
8937
+ VolumeUsdAll1d = "volumeUsdAll1d",
8938
+ VolumeUsdAll1w = "volumeUsdAll1w",
8939
+ VolumeUsdAll1y = "volumeUsdAll1y",
8940
+ VolumeUsdAll30d = "volumeUsdAll30d",
8941
+ WinRate1d = "winRate1d",
8942
+ WinRate1w = "winRate1w",
8943
+ WinRate1y = "winRate1y",
8944
+ WinRate30d = "winRate30d"
8945
+ }
8147
8946
  export type WalletNftCollection = {
8148
8947
  __typename?: 'WalletNftCollection';
8149
8948
  /** The collection ID (`collectionAddress:networkId`). */
@@ -8192,6 +8991,318 @@ export type WalletNftCollectionsResponse = {
8192
8991
  /** The list of collections for a wallet. */
8193
8992
  items: Array<WalletNftCollection>;
8194
8993
  };
8994
+ export type WalletRanking = {
8995
+ /** The attribute to rank wallets by. */
8996
+ attribute?: InputMaybe<WalletRankingAttribute>;
8997
+ /** The direction to apply to the ranking attribute. */
8998
+ direction?: InputMaybe<RankingDirection>;
8999
+ };
9000
+ export declare enum WalletRankingAttribute {
9001
+ AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
9002
+ AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
9003
+ AverageProfitUsdPerTrade1y = "averageProfitUsdPerTrade1y",
9004
+ AverageProfitUsdPerTrade30d = "averageProfitUsdPerTrade30d",
9005
+ AverageSwapAmountUsd1d = "averageSwapAmountUsd1d",
9006
+ AverageSwapAmountUsd1w = "averageSwapAmountUsd1w",
9007
+ AverageSwapAmountUsd1y = "averageSwapAmountUsd1y",
9008
+ AverageSwapAmountUsd30d = "averageSwapAmountUsd30d",
9009
+ BotScore = "botScore",
9010
+ FirstTransactionAt = "firstTransactionAt",
9011
+ LastTransactionAt = "lastTransactionAt",
9012
+ NativeTokenBalance = "nativeTokenBalance",
9013
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9014
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9015
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9016
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9017
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9018
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9019
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9020
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9021
+ ScammerScore = "scammerScore",
9022
+ Swaps1d = "swaps1d",
9023
+ Swaps1w = "swaps1w",
9024
+ Swaps1y = "swaps1y",
9025
+ Swaps30d = "swaps30d",
9026
+ SwapsAll1d = "swapsAll1d",
9027
+ SwapsAll1w = "swapsAll1w",
9028
+ SwapsAll1y = "swapsAll1y",
9029
+ SwapsAll30d = "swapsAll30d",
9030
+ UniqueTokens1d = "uniqueTokens1d",
9031
+ UniqueTokens1w = "uniqueTokens1w",
9032
+ UniqueTokens1y = "uniqueTokens1y",
9033
+ UniqueTokens30d = "uniqueTokens30d",
9034
+ VolumeUsd1d = "volumeUsd1d",
9035
+ VolumeUsd1w = "volumeUsd1w",
9036
+ VolumeUsd1y = "volumeUsd1y",
9037
+ VolumeUsd30d = "volumeUsd30d",
9038
+ VolumeUsdAll1d = "volumeUsdAll1d",
9039
+ VolumeUsdAll1w = "volumeUsdAll1w",
9040
+ VolumeUsdAll1y = "volumeUsdAll1y",
9041
+ VolumeUsdAll30d = "volumeUsdAll30d",
9042
+ WinRate1d = "winRate1d",
9043
+ WinRate1w = "winRate1w",
9044
+ WinRate1y = "winRate1y",
9045
+ WinRate30d = "winRate30d"
9046
+ }
9047
+ /** The period the wallet stats are for. */
9048
+ export declare enum WalletStatsDuration {
9049
+ Day1 = "day1",
9050
+ Day30 = "day30",
9051
+ Week1 = "week1",
9052
+ Year1 = "year1"
9053
+ }
9054
+ export type WalletTokenFilterRange = {
9055
+ /** The maximum value (inclusive) */
9056
+ max?: InputMaybe<Scalars['String']['input']>;
9057
+ /** The minimum value (inclusive) */
9058
+ min?: InputMaybe<Scalars['String']['input']>;
9059
+ };
9060
+ export type WalletTokenFilters = {
9061
+ /** Filter by amount bought in USD in the past day */
9062
+ amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
9063
+ /** Filter by amount bought in USD in the past week */
9064
+ amountBoughtUsd1w?: InputMaybe<WalletTokenFilterRange>;
9065
+ /** Filter by amount bought in USD in the past year */
9066
+ amountBoughtUsd1y?: InputMaybe<WalletTokenFilterRange>;
9067
+ /** Filter by amount bought in USD in the past 30 days */
9068
+ amountBoughtUsd30d?: InputMaybe<WalletTokenFilterRange>;
9069
+ /** Filter by amount sold in USD in the past day */
9070
+ amountSoldUsd1d?: InputMaybe<WalletTokenFilterRange>;
9071
+ /** Filter by amount sold in USD in the past week */
9072
+ amountSoldUsd1w?: InputMaybe<WalletTokenFilterRange>;
9073
+ /** Filter by amount sold in USD in the past year */
9074
+ amountSoldUsd1y?: InputMaybe<WalletTokenFilterRange>;
9075
+ /** Filter by amount sold in USD in the past 30 days */
9076
+ amountSoldUsd30d?: InputMaybe<WalletTokenFilterRange>;
9077
+ /** Filter by bot score */
9078
+ botScore?: InputMaybe<WalletTokenFilterRange>;
9079
+ /** Filter by number of buys in the past day */
9080
+ buys1d?: InputMaybe<WalletTokenFilterRange>;
9081
+ /** Filter by number of buys in the past week */
9082
+ buys1w?: InputMaybe<WalletTokenFilterRange>;
9083
+ /** Filter by number of buys in the past year */
9084
+ buys1y?: InputMaybe<WalletTokenFilterRange>;
9085
+ /** Filter by number of buys in the past 30 days */
9086
+ buys30d?: InputMaybe<WalletTokenFilterRange>;
9087
+ /** Filter by first transaction timestamp */
9088
+ firstTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9089
+ /** Filter by last transaction timestamp */
9090
+ lastTransactionAt?: InputMaybe<WalletTokenFilterRange>;
9091
+ /** Filter by purchased token balance */
9092
+ purchasedTokenBalance?: InputMaybe<WalletTokenFilterRange>;
9093
+ /** Filter by realized profit percentage in the past day */
9094
+ realizedProfitPercentage1d?: InputMaybe<WalletTokenFilterRange>;
9095
+ /** Filter by realized profit percentage in the past week */
9096
+ realizedProfitPercentage1w?: InputMaybe<WalletTokenFilterRange>;
9097
+ /** Filter by realized profit percentage in the past year */
9098
+ realizedProfitPercentage1y?: InputMaybe<WalletTokenFilterRange>;
9099
+ /** Filter by realized profit percentage in the past 30 days */
9100
+ realizedProfitPercentage30d?: InputMaybe<WalletTokenFilterRange>;
9101
+ /** Filter by realized profit in USD in the past day */
9102
+ realizedProfitUsd1d?: InputMaybe<WalletTokenFilterRange>;
9103
+ /** Filter by realized profit in USD in the past week */
9104
+ realizedProfitUsd1w?: InputMaybe<WalletTokenFilterRange>;
9105
+ /** Filter by realized profit in USD in the past year */
9106
+ realizedProfitUsd1y?: InputMaybe<WalletTokenFilterRange>;
9107
+ /** Filter by realized profit in USD in the past 30 days */
9108
+ realizedProfitUsd30d?: InputMaybe<WalletTokenFilterRange>;
9109
+ /** Filter by scammer score */
9110
+ scammerScore?: InputMaybe<WalletTokenFilterRange>;
9111
+ /** Filter by number of sells in the past day */
9112
+ sells1d?: InputMaybe<WalletTokenFilterRange>;
9113
+ /** Filter by number of sells in the past week */
9114
+ sells1w?: InputMaybe<WalletTokenFilterRange>;
9115
+ /** Filter by number of sells in the past year */
9116
+ sells1y?: InputMaybe<WalletTokenFilterRange>;
9117
+ /** Filter by number of sells in the past 30 days */
9118
+ sells30d?: InputMaybe<WalletTokenFilterRange>;
9119
+ /** Filter by token acquisition cost in USD */
9120
+ tokenAcquisitionCostUsd?: InputMaybe<WalletTokenFilterRange>;
9121
+ /** Filter by token amount bought in the past day */
9122
+ tokenAmountBought1d?: InputMaybe<WalletTokenFilterRange>;
9123
+ /** Filter by token amount bought in the past week */
9124
+ tokenAmountBought1w?: InputMaybe<WalletTokenFilterRange>;
9125
+ /** Filter by token amount bought in the past year */
9126
+ tokenAmountBought1y?: InputMaybe<WalletTokenFilterRange>;
9127
+ /** Filter by token amount bought in the past 30 days */
9128
+ tokenAmountBought30d?: InputMaybe<WalletTokenFilterRange>;
9129
+ /** Filter by token amount sold in the past day */
9130
+ tokenAmountSold1d?: InputMaybe<WalletTokenFilterRange>;
9131
+ /** Filter by token amount sold in the past week */
9132
+ tokenAmountSold1w?: InputMaybe<WalletTokenFilterRange>;
9133
+ /** Filter by token amount sold in the past year */
9134
+ tokenAmountSold1y?: InputMaybe<WalletTokenFilterRange>;
9135
+ /** Filter by token amount sold in the past 30 days */
9136
+ tokenAmountSold30d?: InputMaybe<WalletTokenFilterRange>;
9137
+ /** Filter by token balance */
9138
+ tokenBalance?: InputMaybe<WalletTokenFilterRange>;
9139
+ };
9140
+ export type WalletTokenFiltersV2 = {
9141
+ /** Filter by amount bought in USD in the past day */
9142
+ amountBoughtUsd1d?: InputMaybe<NumberFilter>;
9143
+ /** Filter by amount bought in USD in the past week */
9144
+ amountBoughtUsd1w?: InputMaybe<NumberFilter>;
9145
+ /** Filter by amount bought in USD in the past year */
9146
+ amountBoughtUsd1y?: InputMaybe<NumberFilter>;
9147
+ /** Filter by amount bought in USD in the past 30 days */
9148
+ amountBoughtUsd30d?: InputMaybe<NumberFilter>;
9149
+ /** Filter by amount sold in USD in the past day */
9150
+ amountSoldUsd1d?: InputMaybe<NumberFilter>;
9151
+ /** Filter by amount sold in USD in the past week */
9152
+ amountSoldUsd1w?: InputMaybe<NumberFilter>;
9153
+ /** Filter by amount sold in USD in the past year */
9154
+ amountSoldUsd1y?: InputMaybe<NumberFilter>;
9155
+ /** Filter by amount sold in USD in the past 30 days */
9156
+ amountSoldUsd30d?: InputMaybe<NumberFilter>;
9157
+ /** Filter by bot score */
9158
+ botScore?: InputMaybe<NumberFilter>;
9159
+ /** Filter by number of buys in the past day */
9160
+ buys1d?: InputMaybe<NumberFilter>;
9161
+ /** Filter by number of buys in the past week */
9162
+ buys1w?: InputMaybe<NumberFilter>;
9163
+ /** Filter by number of buys in the past year */
9164
+ buys1y?: InputMaybe<NumberFilter>;
9165
+ /** Filter by number of buys in the past 30 days */
9166
+ buys30d?: InputMaybe<NumberFilter>;
9167
+ /** Filter by first transaction timestamp */
9168
+ firstTransactionAt?: InputMaybe<NumberFilter>;
9169
+ /** Filter by last transaction timestamp */
9170
+ lastTransactionAt?: InputMaybe<NumberFilter>;
9171
+ /** Filter by purchased token balance */
9172
+ purchasedTokenBalance?: InputMaybe<NumberFilter>;
9173
+ /** Filter by realized profit percentage in the past day */
9174
+ realizedProfitPercentage1d?: InputMaybe<NumberFilter>;
9175
+ /** Filter by realized profit percentage in the past week */
9176
+ realizedProfitPercentage1w?: InputMaybe<NumberFilter>;
9177
+ /** Filter by realized profit percentage in the past year */
9178
+ realizedProfitPercentage1y?: InputMaybe<NumberFilter>;
9179
+ /** Filter by realized profit percentage in the past 30 days */
9180
+ realizedProfitPercentage30d?: InputMaybe<NumberFilter>;
9181
+ /** Filter by realized profit in USD in the past day */
9182
+ realizedProfitUsd1d?: InputMaybe<NumberFilter>;
9183
+ /** Filter by realized profit in USD in the past week */
9184
+ realizedProfitUsd1w?: InputMaybe<NumberFilter>;
9185
+ /** Filter by realized profit in USD in the past year */
9186
+ realizedProfitUsd1y?: InputMaybe<NumberFilter>;
9187
+ /** Filter by realized profit in USD in the past 30 days */
9188
+ realizedProfitUsd30d?: InputMaybe<NumberFilter>;
9189
+ /** Filter by scammer score */
9190
+ scammerScore?: InputMaybe<NumberFilter>;
9191
+ /** Filter by number of sells in the past day */
9192
+ sells1d?: InputMaybe<NumberFilter>;
9193
+ /** Filter by number of sells in the past week */
9194
+ sells1w?: InputMaybe<NumberFilter>;
9195
+ /** Filter by number of sells in the past year */
9196
+ sells1y?: InputMaybe<NumberFilter>;
9197
+ /** Filter by number of sells in the past 30 days */
9198
+ sells30d?: InputMaybe<NumberFilter>;
9199
+ /** Filter by token acquisition cost in USD */
9200
+ tokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
9201
+ /** Filter by token amount bought in the past day */
9202
+ tokenAmountBought1d?: InputMaybe<NumberFilter>;
9203
+ /** Filter by token amount bought in the past week */
9204
+ tokenAmountBought1w?: InputMaybe<NumberFilter>;
9205
+ /** Filter by token amount bought in the past year */
9206
+ tokenAmountBought1y?: InputMaybe<NumberFilter>;
9207
+ /** Filter by token amount bought in the past 30 days */
9208
+ tokenAmountBought30d?: InputMaybe<NumberFilter>;
9209
+ /** Filter by token amount sold in the past day */
9210
+ tokenAmountSold1d?: InputMaybe<NumberFilter>;
9211
+ /** Filter by token amount sold in the past week */
9212
+ tokenAmountSold1w?: InputMaybe<NumberFilter>;
9213
+ /** Filter by token amount sold in the past year */
9214
+ tokenAmountSold1y?: InputMaybe<NumberFilter>;
9215
+ /** Filter by token amount sold in the past 30 days */
9216
+ tokenAmountSold30d?: InputMaybe<NumberFilter>;
9217
+ /** Filter by token balance */
9218
+ tokenBalance?: InputMaybe<NumberFilter>;
9219
+ };
9220
+ export type WalletTokenRanking = {
9221
+ /** The attribute to rank wallets by */
9222
+ attribute: WalletTokenRankingAttribute;
9223
+ /** The direction to apply to the ranking attribute */
9224
+ direction: RankingDirection;
9225
+ };
9226
+ export declare enum WalletTokenRankingAttribute {
9227
+ /** Amount bought in USD in the past day */
9228
+ AmountBoughtUsd1d = "amountBoughtUsd1d",
9229
+ /** Amount bought in USD in the past week */
9230
+ AmountBoughtUsd1w = "amountBoughtUsd1w",
9231
+ /** Amount bought in USD in the past year */
9232
+ AmountBoughtUsd1y = "amountBoughtUsd1y",
9233
+ /** Amount bought in USD in the past 30 days */
9234
+ AmountBoughtUsd30d = "amountBoughtUsd30d",
9235
+ /** Amount sold in USD in the past day */
9236
+ AmountSoldUsd1d = "amountSoldUsd1d",
9237
+ /** Amount sold in USD in the past week */
9238
+ AmountSoldUsd1w = "amountSoldUsd1w",
9239
+ /** Amount sold in USD in the past year */
9240
+ AmountSoldUsd1y = "amountSoldUsd1y",
9241
+ /** Amount sold in USD in the past 30 days */
9242
+ AmountSoldUsd30d = "amountSoldUsd30d",
9243
+ /** The bot score for the wallet. */
9244
+ BotScore = "botScore",
9245
+ /** Number of buys in the past day */
9246
+ Buys1d = "buys1d",
9247
+ /** Number of buys in the past week */
9248
+ Buys1w = "buys1w",
9249
+ /** Number of buys in the past year */
9250
+ Buys1y = "buys1y",
9251
+ /** Number of buys in the past 30 days */
9252
+ Buys30d = "buys30d",
9253
+ /** The first transaction timestamp */
9254
+ FirstTransactionAt = "firstTransactionAt",
9255
+ /** The last transaction timestamp */
9256
+ LastTransactionAt = "lastTransactionAt",
9257
+ /** Purchased token balance */
9258
+ PurchasedTokenBalance = "purchasedTokenBalance",
9259
+ /** Realized profit percentage in the past day */
9260
+ RealizedProfitPercentage1d = "realizedProfitPercentage1d",
9261
+ /** Realized profit percentage in the past week */
9262
+ RealizedProfitPercentage1w = "realizedProfitPercentage1w",
9263
+ /** Realized profit percentage in the past year */
9264
+ RealizedProfitPercentage1y = "realizedProfitPercentage1y",
9265
+ /** Realized profit percentage in the past 30 days */
9266
+ RealizedProfitPercentage30d = "realizedProfitPercentage30d",
9267
+ /** Realized profit in USD in the past day */
9268
+ RealizedProfitUsd1d = "realizedProfitUsd1d",
9269
+ /** Realized profit in USD in the past week */
9270
+ RealizedProfitUsd1w = "realizedProfitUsd1w",
9271
+ /** Realized profit in USD in the past year */
9272
+ RealizedProfitUsd1y = "realizedProfitUsd1y",
9273
+ /** Realized profit in USD in the past 30 days */
9274
+ RealizedProfitUsd30d = "realizedProfitUsd30d",
9275
+ /** The scammer score for the wallet. */
9276
+ ScammerScore = "scammerScore",
9277
+ /** Number of sells in the past day */
9278
+ Sells1d = "sells1d",
9279
+ /** Number of sells in the past week */
9280
+ Sells1w = "sells1w",
9281
+ /** Number of sells in the past year */
9282
+ Sells1y = "sells1y",
9283
+ /** Number of sells in the past 30 days */
9284
+ Sells30d = "sells30d",
9285
+ /** Token acquisition cost in USD */
9286
+ TokenAcquisitionCostUsd = "tokenAcquisitionCostUsd",
9287
+ /** Token amount bought in the past day */
9288
+ TokenAmountBought1d = "tokenAmountBought1d",
9289
+ /** Token amount bought in the past week */
9290
+ TokenAmountBought1w = "tokenAmountBought1w",
9291
+ /** Token amount bought in the past year */
9292
+ TokenAmountBought1y = "tokenAmountBought1y",
9293
+ /** Token amount bought in the past 30 days */
9294
+ TokenAmountBought30d = "tokenAmountBought30d",
9295
+ /** Token amount sold in the past day */
9296
+ TokenAmountSold1d = "tokenAmountSold1d",
9297
+ /** Token amount sold in the past week */
9298
+ TokenAmountSold1w = "tokenAmountSold1w",
9299
+ /** Token amount sold in the past year */
9300
+ TokenAmountSold1y = "tokenAmountSold1y",
9301
+ /** Token amount sold in the past 30 days */
9302
+ TokenAmountSold30d = "tokenAmountSold30d",
9303
+ /** Token balance */
9304
+ TokenBalance = "tokenBalance"
9305
+ }
8195
9306
  /** Metadata for a washtrade label. */
8196
9307
  export type WashtradeLabelForEvent = {
8197
9308
  __typename?: 'WashtradeLabelForEvent';
@@ -8281,6 +9392,26 @@ export type WindowedDetailedCurrencyPairStats = {
8281
9392
  /** The volume over the time frame. */
8282
9393
  volume?: Maybe<DetailedPairStatsStringMetrics>;
8283
9394
  };
9395
+ /** The currency stats for a wallet over a time window. */
9396
+ export type WindowedDetailedCurrencyWalletStats = {
9397
+ __typename?: 'WindowedDetailedCurrencyWalletStats';
9398
+ /** The average profit in USD per trade */
9399
+ averageProfitUsdPerTrade: Scalars['String']['output'];
9400
+ /** The average swap amount in USD */
9401
+ averageSwapAmountUsd: Scalars['String']['output'];
9402
+ /** The cost of tokens held in the wallet */
9403
+ heldTokenAcquisitionCostUsd: Scalars['String']['output'];
9404
+ /** The realized profit percentage */
9405
+ realizedProfitPercentage: Scalars['Float']['output'];
9406
+ /** The realized profit in USD */
9407
+ realizedProfitUsd: Scalars['String']['output'];
9408
+ /** The cost of tokens sold during the period */
9409
+ soldTokenAcquisitionCostUsd: Scalars['String']['output'];
9410
+ /** The volume in USD */
9411
+ volumeUsd: Scalars['String']['output'];
9412
+ /** The volume in USD including tokens sold for which we do not have a price */
9413
+ volumeUsdAll: Scalars['String']['output'];
9414
+ };
8284
9415
  /** Price stats for an NFT collection over a time frame. Either in USD or the network's base token. */
8285
9416
  export type WindowedDetailedNftCurrencyStats = {
8286
9417
  __typename?: 'WindowedDetailedNftCurrencyStats';
@@ -8351,6 +9482,18 @@ export type WindowedDetailedNonCurrencyPairStats = {
8351
9482
  /** The transaction count over the time frame. */
8352
9483
  transactions?: Maybe<DetailedPairStatsNumberMetrics>;
8353
9484
  };
9485
+ /** The non-currency stats for a wallet over a time window. */
9486
+ export type WindowedDetailedNonCurrencyWalletStats = {
9487
+ __typename?: 'WindowedDetailedNonCurrencyWalletStats';
9488
+ /** The number of losses */
9489
+ losses: Scalars['Int']['output'];
9490
+ /** The number of swaps */
9491
+ swaps: Scalars['Int']['output'];
9492
+ /** The number of unique tokens */
9493
+ uniqueTokens: Scalars['Int']['output'];
9494
+ /** The number of wins */
9495
+ wins: Scalars['Int']['output'];
9496
+ };
8354
9497
  /** Detailed pair stats over a time frame. */
8355
9498
  export type WindowedDetailedPairStats = {
8356
9499
  __typename?: 'WindowedDetailedPairStats';
@@ -8397,6 +9540,24 @@ export type WindowedDetailedStats = {
8397
9540
  /** The window size used to request detailed stats. */
8398
9541
  windowSize: DetailedStatsWindowSize;
8399
9542
  };
9543
+ /** The stats for a wallet over a time window. */
9544
+ export type WindowedWalletStats = {
9545
+ __typename?: 'WindowedWalletStats';
9546
+ /** The end timestamp */
9547
+ end: Scalars['Int']['output'];
9548
+ /** The last transaction timestamp */
9549
+ lastTransactionAt: Scalars['Int']['output'];
9550
+ /** The network ID */
9551
+ networkId?: Maybe<Scalars['Int']['output']>;
9552
+ /** The start timestamp */
9553
+ start: Scalars['Int']['output'];
9554
+ /** The stats related to non-currency */
9555
+ statsNonCurrency: WindowedDetailedNonCurrencyWalletStats;
9556
+ /** The stats related to currency */
9557
+ statsUsd: WindowedDetailedCurrencyWalletStats;
9558
+ /** The wallet address */
9559
+ walletAddress: Scalars['String']['output'];
9560
+ };
8400
9561
  export declare enum Join__Graph {
8401
9562
  ApiAdmin = "API_ADMIN",
8402
9563
  Decodings = "DECODINGS",