@codex-data/sdk 1.0.5 → 1.0.6

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 (79) hide show
  1. package/dist/resources/generated_queries/Balances.graphql +1 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +44 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +33 -0
  4. package/dist/resources/generated_queries/GetBars.graphql +22 -0
  5. package/dist/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  6. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  7. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  8. package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
  9. package/dist/resources/generated_queries/Holders.graphql +1 -0
  10. package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
  11. package/dist/resources/generated_queries/ListPairsForToken.graphql +22 -0
  12. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  13. package/dist/resources/generated_queries/PairMetadata.graphql +22 -0
  14. package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
  15. package/dist/resources/generated_queries/Token.graphql +11 -0
  16. package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
  17. package/dist/resources/generated_queries/Tokens.graphql +11 -0
  18. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
  19. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +7 -1
  20. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
  21. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
  22. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +22 -0
  23. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
  24. package/dist/resources/graphql.d.ts +238 -6
  25. package/dist/resources/graphql.d.ts.map +1 -1
  26. package/dist/resources/graphql.js +31 -2
  27. package/dist/resources/graphql.js.map +1 -1
  28. package/dist/resources/graphql.schema.json +1627 -18
  29. package/dist/resources/graphql.ts +254 -6
  30. package/dist/resources/schema.graphql +309 -6
  31. package/dist/sdk/Query.d.ts +2 -2
  32. package/dist/sdk/Query.d.ts.map +1 -1
  33. package/dist/sdk/Query.js +1 -1
  34. package/dist/sdk/Query.js.map +1 -1
  35. package/dist/sdk/Subscribe.d.ts +3 -1
  36. package/dist/sdk/Subscribe.d.ts.map +1 -1
  37. package/dist/sdk/Subscribe.js +20 -6
  38. package/dist/sdk/Subscribe.js.map +1 -1
  39. package/dist/sdk/generated/gql.d.ts +63 -49
  40. package/dist/sdk/generated/gql.d.ts.map +1 -1
  41. package/dist/sdk/generated/gql.js +23 -21
  42. package/dist/sdk/generated/gql.js.map +1 -1
  43. package/dist/sdk/generated/graphql.d.ts +723 -56
  44. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  45. package/dist/sdk/generated/graphql.js +56 -25
  46. package/dist/sdk/generated/graphql.js.map +1 -1
  47. package/package.json +2 -2
  48. package/src/resources/generated_queries/Balances.graphql +1 -0
  49. package/src/resources/generated_queries/FilterPairs.graphql +44 -0
  50. package/src/resources/generated_queries/FilterTokens.graphql +33 -0
  51. package/src/resources/generated_queries/GetBars.graphql +22 -0
  52. package/src/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  53. package/src/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  54. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  55. package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
  56. package/src/resources/generated_queries/Holders.graphql +1 -0
  57. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
  58. package/src/resources/generated_queries/ListPairsForToken.graphql +22 -0
  59. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  60. package/src/resources/generated_queries/PairMetadata.graphql +22 -0
  61. package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
  62. package/src/resources/generated_queries/Token.graphql +11 -0
  63. package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
  64. package/src/resources/generated_queries/Tokens.graphql +11 -0
  65. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
  66. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +7 -1
  67. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
  68. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
  69. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +22 -0
  70. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
  71. package/src/resources/graphql.schema.json +1627 -18
  72. package/src/resources/graphql.ts +254 -6
  73. package/src/resources/schema.graphql +309 -6
  74. package/src/sdk/Query.ts +4 -4
  75. package/src/sdk/Subscribe.ts +36 -6
  76. package/src/sdk/generated/gql.ts +55 -45
  77. package/src/sdk/generated/graphql.ts +318 -54
  78. package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
  79. package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
@@ -147,12 +147,14 @@ export type AptosNetworkConfig = {
147
147
  /** Wallet balance of a token. */
148
148
  export type Balance = {
149
149
  __typename?: 'Balance';
150
- /** The wallet address */
150
+ /** The wallet address. */
151
151
  address: Scalars['String']['output'];
152
152
  /** The balance held by the wallet. */
153
153
  balance: Scalars['String']['output'];
154
- /** The time that this address first held a token */
154
+ /** The time that this address first held a token. */
155
155
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
156
+ /** The wallet network. */
157
+ networkId: Scalars['Int']['output'];
156
158
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
157
159
  shiftedBalance: Scalars['Float']['output'];
158
160
  /** The contract address of the token. */
@@ -170,8 +172,12 @@ export type BalancesInput = {
170
172
  filterToken?: InputMaybe<Scalars['String']['input']>;
171
173
  /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
172
174
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
175
+ /** The maximum number of holdings to return. */
176
+ limit?: InputMaybe<Scalars['Int']['input']>;
177
+ /** The wallet address to filter by. */
178
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
173
179
  /** The ID of the wallet (`walletAddress:networkId`). */
174
- walletId: Scalars['String']['input'];
180
+ walletId?: InputMaybe<Scalars['String']['input']>;
175
181
  };
176
182
 
177
183
  export type BalancesResponse = {
@@ -915,6 +921,8 @@ export type EnhancedToken = {
915
921
  info?: Maybe<TokenInfo>;
916
922
  /** Whether the token has been flagged as a scam. */
917
923
  isScam?: Maybe<Scalars['Boolean']['output']>;
924
+ /** The launchpad data for the token, if applicable. */
925
+ launchpad?: Maybe<LaunchpadData>;
918
926
  /** Whether or not the token is mintable */
919
927
  mintable?: Maybe<Scalars['String']['output']>;
920
928
  /** The token name. For example, `ApeCoin`. */
@@ -1104,6 +1112,8 @@ export type EventsQueryInput = {
1104
1112
  priceUsdTotal?: InputMaybe<NumberFilter>;
1105
1113
  /** The token of interest. Can be `token0` or `token1`. */
1106
1114
  quoteToken?: InputMaybe<QuoteToken>;
1115
+ /** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
1116
+ symbolType?: InputMaybe<SymbolType>;
1107
1117
  /** The time range to filter by. */
1108
1118
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1109
1119
  };
@@ -1372,6 +1382,8 @@ export type GetNetworkStatsResponse = {
1372
1382
  transactions1: Scalars['Int']['output'];
1373
1383
  /** The unique number of transactions in the past 4 hours. */
1374
1384
  transactions4: Scalars['Int']['output'];
1385
+ /** The unique number of transactions in the past 5 minutes. */
1386
+ transactions5m: Scalars['Int']['output'];
1375
1387
  /** The unique number of transactions in the past 12 hours. */
1376
1388
  transactions12: Scalars['Int']['output'];
1377
1389
  /** The unique number of transactions in the past 24 hours. */
@@ -1380,10 +1392,22 @@ export type GetNetworkStatsResponse = {
1380
1392
  volume1: Scalars['Float']['output'];
1381
1393
  /** The network trade volume in USD over the past 4 hours. */
1382
1394
  volume4: Scalars['Float']['output'];
1395
+ /** The network trade volume in USD over the past 5 minutes. */
1396
+ volume5m: Scalars['Float']['output'];
1383
1397
  /** The network trade volume in USD over the past 12 hours. */
1384
1398
  volume12: Scalars['Float']['output'];
1385
1399
  /** The network trade volume in USD over the past 24 hours. */
1386
1400
  volume24: Scalars['Float']['output'];
1401
+ /** The network trade volume change over the last hour */
1402
+ volumeChange1: Scalars['Float']['output'];
1403
+ /** The network trade volume change over the last 4 hours */
1404
+ volumeChange4: Scalars['Float']['output'];
1405
+ /** The network trade volume change over the last 5 minutes */
1406
+ volumeChange5m: Scalars['Float']['output'];
1407
+ /** The network trade volume change over the last 12 hours */
1408
+ volumeChange12: Scalars['Float']['output'];
1409
+ /** The network trade volume change over the last 24 hours */
1410
+ volumeChange24: Scalars['Float']['output'];
1387
1411
  };
1388
1412
 
1389
1413
  /** Response returned by `getNftPoolCollectionsByExchange`. */
@@ -1720,6 +1744,71 @@ export type LatestTokenSimResults = {
1720
1744
  sellTax?: Maybe<Scalars['String']['output']>;
1721
1745
  };
1722
1746
 
1747
+ export type LaunchpadData = {
1748
+ __typename?: 'LaunchpadData';
1749
+ /** Indicates if the launchpad is completed. */
1750
+ completed?: Maybe<Scalars['Boolean']['output']>;
1751
+ /** The unix timestamp when the launchpad was completed. */
1752
+ completedAt?: Maybe<Scalars['Int']['output']>;
1753
+ /** The slot number when the launchpad was completed. */
1754
+ completedSlot?: Maybe<Scalars['Int']['output']>;
1755
+ /** The percentage of the pool that was sold to the public. */
1756
+ graduationPercent?: Maybe<Scalars['Float']['output']>;
1757
+ /** Indicates if the launchpad was migrated. */
1758
+ migrated?: Maybe<Scalars['Boolean']['output']>;
1759
+ /** The unix timestamp when the launchpad was migrated. */
1760
+ migratedAt?: Maybe<Scalars['Int']['output']>;
1761
+ /** The pool address after the launchpad was migrated. */
1762
+ migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1763
+ /** The slot number when the launchpad was migrated. */
1764
+ migratedSlot?: Maybe<Scalars['Int']['output']>;
1765
+ /** The address of the pool. */
1766
+ poolAddress?: Maybe<Scalars['String']['output']>;
1767
+ };
1768
+
1769
+ /** Response returned by `onLaunchpadTokenEvent`. */
1770
+ export type LaunchpadTokenEventOutput = {
1771
+ __typename?: 'LaunchpadTokenEventOutput';
1772
+ /** The contract address of the token. */
1773
+ address: Scalars['String']['output'];
1774
+ /** The number of buys in the last 24 hours. */
1775
+ buyCount1?: Maybe<Scalars['Int']['output']>;
1776
+ /** The type of event. */
1777
+ eventType: LaunchpadTokenEventType;
1778
+ /** The number of holders. */
1779
+ holders?: Maybe<Scalars['Int']['output']>;
1780
+ /** The market cap of the token. */
1781
+ marketCap?: Maybe<Scalars['String']['output']>;
1782
+ /** The network ID that the token is deployed on. */
1783
+ networkId: Scalars['Int']['output'];
1784
+ /** The price of the token. */
1785
+ price?: Maybe<Scalars['Float']['output']>;
1786
+ /** The protocol of the token. */
1787
+ protocol: Scalars['String']['output'];
1788
+ /** The number of sells in the last 24 hours. */
1789
+ sellCount1?: Maybe<Scalars['Int']['output']>;
1790
+ /** Metadata for the token. */
1791
+ token: EnhancedToken;
1792
+ /** The number of transactions in the last 24 hours. */
1793
+ transactions1?: Maybe<Scalars['Int']['output']>;
1794
+ /** The volume of the token in the last 24 hours. */
1795
+ volume1?: Maybe<Scalars['Int']['output']>;
1796
+ };
1797
+
1798
+ /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
1799
+ export enum LaunchpadTokenEventType {
1800
+ Completed = 'Completed',
1801
+ Created = 'Created',
1802
+ Migrated = 'Migrated',
1803
+ Updated = 'Updated'
1804
+ }
1805
+
1806
+ /** The protocol of the token. */
1807
+ export enum LaunchpadTokenProtocol {
1808
+ FourMeme = 'FourMeme',
1809
+ Pump = 'Pump'
1810
+ }
1811
+
1723
1812
  export type LiquidityData = {
1724
1813
  __typename?: 'LiquidityData';
1725
1814
  /** The active liquidity in the pair. */
@@ -1741,8 +1830,13 @@ export type LiquidityLock = {
1741
1830
  liquidityAmount: Scalars['String']['output'];
1742
1831
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1743
1832
  liquidityNftData?: Maybe<LiquidityNftData>;
1744
- /** The protocol that created the pair */
1833
+ /**
1834
+ * The protocol that created the pair
1835
+ * @deprecated Use liquidityProtocolV2 instead
1836
+ */
1745
1837
  liquidityProtocol: LiquidityProtocol;
1838
+ /** The protocol that created the pair */
1839
+ liquidityProtocolV2: Scalars['String']['output'];
1746
1840
  /** The protocol with which the liquidity is locked. */
1747
1841
  lockProtocol: LiquidityLockProtocol;
1748
1842
  /** The address of the locker contract. */
@@ -1794,9 +1888,11 @@ export type LiquidityNftData = {
1794
1888
 
1795
1889
  /** Protocols that create trading pairs */
1796
1890
  export enum LiquidityProtocol {
1891
+ PumpV1 = 'PUMP_V1',
1797
1892
  RaydiumV4 = 'RAYDIUM_V4',
1798
1893
  UniswapV2 = 'UNISWAP_V2',
1799
- UniswapV3 = 'UNISWAP_V3'
1894
+ UniswapV3 = 'UNISWAP_V3',
1895
+ UseLiquidityProtocolV2 = 'USE_LIQUIDITY_PROTOCOL_V2'
1800
1896
  }
1801
1897
 
1802
1898
  /** Response returned by `listPairsWithMetadataForToken`. */
@@ -4582,6 +4678,18 @@ export type OnBarsUpdatedResponse = {
4582
4678
  timestamp: Scalars['Int']['output'];
4583
4679
  };
4584
4680
 
4681
+ /** Input for `onLaunchpadTokenEvent`. */
4682
+ export type OnLaunchpadTokenEventInput = {
4683
+ /** The contract address of the token. */
4684
+ address?: InputMaybe<Scalars['String']['input']>;
4685
+ /** The type of event. */
4686
+ eventType?: InputMaybe<LaunchpadTokenEventType>;
4687
+ /** The network ID that the token is deployed on. */
4688
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4689
+ /** The protocol of the token. */
4690
+ protocol?: InputMaybe<LaunchpadTokenProtocol>;
4691
+ };
4692
+
4585
4693
  export type OnPricesUpdatedInput = {
4586
4694
  address: Scalars['String']['input'];
4587
4695
  networkId: Scalars['Int']['input'];
@@ -4618,7 +4726,7 @@ export type OnTokenBarsUpdatedResponse = {
4618
4726
 
4619
4727
  export type OnTokenEventsCreatedInput = {
4620
4728
  networkId: Scalars['Int']['input'];
4621
- tokenAddress: Scalars['String']['input'];
4729
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
4622
4730
  };
4623
4731
 
4624
4732
  /** Response returned by `onUnconfirmedBarsUpdated`. */
@@ -4887,6 +4995,8 @@ export type PairFilters = {
4887
4995
  highPrice12?: InputMaybe<NumberFilter>;
4888
4996
  /** The highest price in USD in the past 24 hours. */
4889
4997
  highPrice24?: InputMaybe<NumberFilter>;
4998
+ /** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
4999
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
4890
5000
  /** The unix timestamp for the last transaction to happen on the pair. */
4891
5001
  lastTransaction?: InputMaybe<NumberFilter>;
4892
5002
  /** The amount of liquidity in the pair. */
@@ -5114,6 +5224,7 @@ export enum PairRankingAttribute {
5114
5224
  TrendingScore = 'trendingScore',
5115
5225
  TrendingScore1 = 'trendingScore1',
5116
5226
  TrendingScore4 = 'trendingScore4',
5227
+ TrendingScore5m = 'trendingScore5m',
5117
5228
  TrendingScore12 = 'trendingScore12',
5118
5229
  TrendingScore24 = 'trendingScore24',
5119
5230
  TxnCount1 = 'txnCount1',
@@ -6041,6 +6152,7 @@ export type Query = {
6041
6152
  * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
6042
6153
  */
6043
6154
  getLatestPairs?: Maybe<LatestPairConnection>;
6155
+ /** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
6044
6156
  getLatestTokens?: Maybe<LatestTokenConnection>;
6045
6157
  /** Returns metadata for a given network supported on Codex. */
6046
6158
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -6120,6 +6232,8 @@ export type Query = {
6120
6232
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
6121
6233
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
6122
6234
  tokenSparklines: Array<TokenSparkline>;
6235
+ /** Returns a list of top traders for a given token. */
6236
+ tokenTopTraders: TokenTopTradersConnection;
6123
6237
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6124
6238
  tokens: Array<Maybe<EnhancedToken>>;
6125
6239
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
@@ -6584,6 +6698,11 @@ export type QueryTokenSparklinesArgs = {
6584
6698
  };
6585
6699
 
6586
6700
 
6701
+ export type QueryTokenTopTradersArgs = {
6702
+ input: TokenTopTradersInput;
6703
+ };
6704
+
6705
+
6587
6706
  export type QueryTokensArgs = {
6588
6707
  ids?: InputMaybe<Array<TokenInput>>;
6589
6708
  };
@@ -7077,6 +7196,26 @@ export type SparklineValue = {
7077
7196
  value: Scalars['Float']['output'];
7078
7197
  };
7079
7198
 
7199
+ export type StarknetNetworkConfig = {
7200
+ __typename?: 'StarknetNetworkConfig';
7201
+ baseTokenAddress: Scalars['String']['output'];
7202
+ baseTokenSymbol: Scalars['String']['output'];
7203
+ color?: Maybe<Scalars['String']['output']>;
7204
+ defaultPairAddress: Scalars['String']['output'];
7205
+ defaultPairQuoteToken: QuoteToken;
7206
+ enabled: Scalars['Boolean']['output'];
7207
+ id: Scalars['ID']['output'];
7208
+ mainnet: Scalars['Boolean']['output'];
7209
+ name: Scalars['String']['output'];
7210
+ networkIconUrl: Scalars['String']['output'];
7211
+ networkId: Scalars['Int']['output'];
7212
+ networkName: Scalars['String']['output'];
7213
+ networkShortName: Scalars['String']['output'];
7214
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7215
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7216
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7217
+ };
7218
+
7080
7219
  /** Filter for NFT stats. */
7081
7220
  export type StatsFilter = {
7082
7221
  /** The percent change between the `current` and `previous`. */
@@ -7131,6 +7270,8 @@ export type StringFilter = {
7131
7270
 
7132
7271
  export type Subscription = {
7133
7272
  __typename?: 'Subscription';
7273
+ /** Live-streamed balance updates for a given wallet. */
7274
+ onBalanceUpdated: Balance;
7134
7275
  /** Live-streamed bar chart data to track price changes over time. */
7135
7276
  onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
7136
7277
  /** Live-streamed bucketed stats for a given token within a pair. */
@@ -7144,6 +7285,7 @@ export type Subscription = {
7144
7285
  /** Live-streamed updates for newly listed pairs. */
7145
7286
  onLatestPairUpdated?: Maybe<LatestPair>;
7146
7287
  onLatestTokens?: Maybe<LatestToken>;
7288
+ onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
7147
7289
  /** Live-streamed transactions for an NFT asset. */
7148
7290
  onNftAssetsCreated?: Maybe<NftAsset>;
7149
7291
  /** Live-streamed transactions for an NFT collection. */
@@ -7170,6 +7312,11 @@ export type Subscription = {
7170
7312
  };
7171
7313
 
7172
7314
 
7315
+ export type SubscriptionOnBalanceUpdatedArgs = {
7316
+ walletAddress: Scalars['String']['input'];
7317
+ };
7318
+
7319
+
7173
7320
  export type SubscriptionOnBarsUpdatedArgs = {
7174
7321
  pairId?: InputMaybe<Scalars['String']['input']>;
7175
7322
  quoteToken?: InputMaybe<QuoteToken>;
@@ -7192,6 +7339,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7192
7339
  export type SubscriptionOnEventsCreatedArgs = {
7193
7340
  address?: InputMaybe<Scalars['String']['input']>;
7194
7341
  id?: InputMaybe<Scalars['String']['input']>;
7342
+ networkId?: InputMaybe<Scalars['Int']['input']>;
7195
7343
  quoteToken?: InputMaybe<QuoteToken>;
7196
7344
  };
7197
7345
 
@@ -7214,6 +7362,11 @@ export type SubscriptionOnLatestTokensArgs = {
7214
7362
  };
7215
7363
 
7216
7364
 
7365
+ export type SubscriptionOnLaunchpadTokenEventArgs = {
7366
+ input?: InputMaybe<OnLaunchpadTokenEventInput>;
7367
+ };
7368
+
7369
+
7217
7370
  export type SubscriptionOnNftAssetsCreatedArgs = {
7218
7371
  address?: InputMaybe<Scalars['String']['input']>;
7219
7372
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7262,6 +7415,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
7262
7415
 
7263
7416
 
7264
7417
  export type SubscriptionOnTokenBarsUpdatedArgs = {
7418
+ networkId?: InputMaybe<Scalars['Int']['input']>;
7265
7419
  statsType?: InputMaybe<TokenPairStatisticsType>;
7266
7420
  tokenId?: InputMaybe<Scalars['String']['input']>;
7267
7421
  };
@@ -7694,6 +7848,8 @@ export type TokenFilters = {
7694
7848
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7695
7849
  /** @deprecated FDV isn't supported - use marketCap instead */
7696
7850
  fdv?: InputMaybe<NumberFilter>;
7851
+ /** The token in freezable */
7852
+ freezable?: InputMaybe<Scalars['Boolean']['input']>;
7697
7853
  /** The highest price in USD in the past hour. */
7698
7854
  high1?: InputMaybe<NumberFilter>;
7699
7855
  /** The highest price in USD in the past 4 hours. */
@@ -7708,10 +7864,22 @@ export type TokenFilters = {
7708
7864
  holders?: InputMaybe<NumberFilter>;
7709
7865
  /** Whether to include tokens that have been flagged as scams. Default: false */
7710
7866
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
7867
+ /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
7868
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
7711
7869
  /** Only include verified tokens */
7712
7870
  isVerified?: InputMaybe<Scalars['Boolean']['input']>;
7713
7871
  /** The unix timestamp for the token's last transaction. */
7714
7872
  lastTransaction?: InputMaybe<NumberFilter>;
7873
+ /** Indicates if the launchpad is completed */
7874
+ launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
7875
+ /** The timestamp when the launchpad was completed */
7876
+ launchpadCompletedAt?: InputMaybe<NumberFilter>;
7877
+ /** The graduation percentage */
7878
+ launchpadGraduationPercent?: InputMaybe<NumberFilter>;
7879
+ /** Indicates if the launchpad has migrated */
7880
+ launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7881
+ /** The timestamp when the launchpad was migrated */
7882
+ launchpadMigratedAt?: InputMaybe<NumberFilter>;
7715
7883
  /** The amount of liquidity in the token's top pair. */
7716
7884
  liquidity?: InputMaybe<NumberFilter>;
7717
7885
  /** The lowest price in USD in the past hour. */
@@ -7726,6 +7894,8 @@ export type TokenFilters = {
7726
7894
  low24?: InputMaybe<NumberFilter>;
7727
7895
  /** The market cap of circulating supply. */
7728
7896
  marketCap?: InputMaybe<NumberFilter>;
7897
+ /** The token in mintable */
7898
+ mintable?: InputMaybe<Scalars['Boolean']['input']>;
7729
7899
  /** The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
7730
7900
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7731
7901
  /** docs: hide */
@@ -8012,6 +8182,7 @@ export enum TokenRankingAttribute {
8012
8182
  Change12 = 'change12',
8013
8183
  Change24 = 'change24',
8014
8184
  CreatedAt = 'createdAt',
8185
+ GraduationPercent = 'graduationPercent',
8015
8186
  High1 = 'high1',
8016
8187
  High4 = 'high4',
8017
8188
  High5m = 'high5m',
@@ -8019,6 +8190,8 @@ export enum TokenRankingAttribute {
8019
8190
  High24 = 'high24',
8020
8191
  Holders = 'holders',
8021
8192
  LastTransaction = 'lastTransaction',
8193
+ LaunchpadCompletedAt = 'launchpadCompletedAt',
8194
+ LaunchpadMigratedAt = 'launchpadMigratedAt',
8022
8195
  Liquidity = 'liquidity',
8023
8196
  Low1 = 'low1',
8024
8197
  Low4 = 'low4',
@@ -8036,6 +8209,7 @@ export enum TokenRankingAttribute {
8036
8209
  TrendingScore = 'trendingScore',
8037
8210
  TrendingScore1 = 'trendingScore1',
8038
8211
  TrendingScore4 = 'trendingScore4',
8212
+ TrendingScore5m = 'trendingScore5m',
8039
8213
  TrendingScore12 = 'trendingScore12',
8040
8214
  TrendingScore24 = 'trendingScore24',
8041
8215
  TxnCount1 = 'txnCount1',
@@ -8096,6 +8270,72 @@ export type TokenSparklineInput = {
8096
8270
  ids: Array<Scalars['String']['input']>;
8097
8271
  };
8098
8272
 
8273
+ /** A top trader for a token. */
8274
+ export type TokenTopTrader = {
8275
+ __typename?: 'TokenTopTrader';
8276
+ /** The amount of tokens bought in USD. */
8277
+ amountBoughtUsd: Scalars['String']['output'];
8278
+ /** The amount of tokens sold in USD. */
8279
+ amountSoldUsd: Scalars['String']['output'];
8280
+ /** The number of buys. */
8281
+ buys: Scalars['Int']['output'];
8282
+ /** The unix timestamp for the first transaction from this wallet. */
8283
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
8284
+ /** The unix timestamp for the last transaction from this wallet. */
8285
+ lastTransactionAt: Scalars['Int']['output'];
8286
+ /** The network ID. */
8287
+ networkId: Scalars['Int']['output'];
8288
+ /** The realized profit percentage. */
8289
+ realizedProfitPercentage: Scalars['Float']['output'];
8290
+ /** The realized profit in USD. */
8291
+ realizedProfitUsd: Scalars['String']['output'];
8292
+ /** The number of sells. */
8293
+ sells: Scalars['Int']['output'];
8294
+ /** The single token acquisition cost in USD. */
8295
+ singleTokenAcquisitionCostUsd: Scalars['String']['output'];
8296
+ /** The token address. */
8297
+ tokenAddress: Scalars['String']['output'];
8298
+ /** The amount of tokens bought. */
8299
+ tokenAmountBought: Scalars['String']['output'];
8300
+ /** The amount of tokens sold. */
8301
+ tokenAmountSold: Scalars['String']['output'];
8302
+ /** The token balance of the trader. */
8303
+ tokenBalance: Scalars['String']['output'];
8304
+ /** The volume of tokens bought and sold in USD. */
8305
+ volumeUsd: Scalars['String']['output'];
8306
+ /** The wallet address of the trader. */
8307
+ walletAddress: Scalars['String']['output'];
8308
+ };
8309
+
8310
+ /** A paginated list of top traders for a token. */
8311
+ export type TokenTopTradersConnection = {
8312
+ __typename?: 'TokenTopTradersConnection';
8313
+ /** The list of top traders. */
8314
+ items: Array<Maybe<TokenTopTrader>>;
8315
+ /** The network ID. */
8316
+ networkId: Scalars['Int']['output'];
8317
+ /** The offset of the first trader in the connection. */
8318
+ offset?: Maybe<Scalars['Int']['output']>;
8319
+ /** The token address. */
8320
+ tokenAddress: Scalars['String']['output'];
8321
+ /** The trading period. */
8322
+ tradingPeriod: TradingPeriod;
8323
+ };
8324
+
8325
+ /** Input arguments for the `tokenTopTraders` query. */
8326
+ export type TokenTopTradersInput = {
8327
+ /** The number of traders to return */
8328
+ limit?: InputMaybe<Scalars['Int']['input']>;
8329
+ /** The network ID */
8330
+ networkId: Scalars['Int']['input'];
8331
+ /** Where in the list the server started when returning items */
8332
+ offset?: InputMaybe<Scalars['Int']['input']>;
8333
+ /** The token address */
8334
+ tokenAddress: Scalars['String']['input'];
8335
+ /** The trading period */
8336
+ tradingPeriod: TradingPeriod;
8337
+ };
8338
+
8099
8339
  /** A token with metadata. */
8100
8340
  export type TokenWithMetadata = {
8101
8341
  __typename?: 'TokenWithMetadata';
@@ -8177,6 +8417,14 @@ export type TokenWithMetadata = {
8177
8417
  volume: Scalars['String']['output'];
8178
8418
  };
8179
8419
 
8420
+ /** A time period used when calculating wallet trading data. */
8421
+ export enum TradingPeriod {
8422
+ Day = 'DAY',
8423
+ Month = 'MONTH',
8424
+ Week = 'WEEK',
8425
+ Year = 'YEAR'
8426
+ }
8427
+
8180
8428
  /** An unconfirmed token transaction. */
8181
8429
  export type UnconfirmedEvent = {
8182
8430
  __typename?: 'UnconfirmedEvent';