@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
@@ -175,12 +175,14 @@ export type AptosNetworkConfig = {
175
175
  /** Wallet balance of a token. */
176
176
  export type Balance = {
177
177
  __typename?: 'Balance';
178
- /** The wallet address */
178
+ /** The wallet address. */
179
179
  address: Scalars['String']['output'];
180
180
  /** The balance held by the wallet. */
181
181
  balance: Scalars['String']['output'];
182
- /** The time that this address first held a token */
182
+ /** The time that this address first held a token. */
183
183
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
184
+ /** The wallet network. */
185
+ networkId: Scalars['Int']['output'];
184
186
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
185
187
  shiftedBalance: Scalars['Float']['output'];
186
188
  /** The contract address of the token. */
@@ -197,8 +199,12 @@ export type BalancesInput = {
197
199
  filterToken?: InputMaybe<Scalars['String']['input']>;
198
200
  /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
199
201
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
202
+ /** The maximum number of holdings to return. */
203
+ limit?: InputMaybe<Scalars['Int']['input']>;
204
+ /** The wallet address to filter by. */
205
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
200
206
  /** The ID of the wallet (`walletAddress:networkId`). */
201
- walletId: Scalars['String']['input'];
207
+ walletId?: InputMaybe<Scalars['String']['input']>;
202
208
  };
203
209
  export type BalancesResponse = {
204
210
  __typename?: 'BalancesResponse';
@@ -888,6 +894,8 @@ export type EnhancedToken = {
888
894
  info?: Maybe<TokenInfo>;
889
895
  /** Whether the token has been flagged as a scam. */
890
896
  isScam?: Maybe<Scalars['Boolean']['output']>;
897
+ /** The launchpad data for the token, if applicable. */
898
+ launchpad?: Maybe<LaunchpadData>;
891
899
  /** Whether or not the token is mintable */
892
900
  mintable?: Maybe<Scalars['String']['output']>;
893
901
  /** The token name. For example, `ApeCoin`. */
@@ -1065,6 +1073,8 @@ export type EventsQueryInput = {
1065
1073
  priceUsdTotal?: InputMaybe<NumberFilter>;
1066
1074
  /** The token of interest. Can be `token0` or `token1`. */
1067
1075
  quoteToken?: InputMaybe<QuoteToken>;
1076
+ /** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
1077
+ symbolType?: InputMaybe<SymbolType>;
1068
1078
  /** The time range to filter by. */
1069
1079
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1070
1080
  };
@@ -1315,6 +1325,8 @@ export type GetNetworkStatsResponse = {
1315
1325
  transactions1: Scalars['Int']['output'];
1316
1326
  /** The unique number of transactions in the past 4 hours. */
1317
1327
  transactions4: Scalars['Int']['output'];
1328
+ /** The unique number of transactions in the past 5 minutes. */
1329
+ transactions5m: Scalars['Int']['output'];
1318
1330
  /** The unique number of transactions in the past 12 hours. */
1319
1331
  transactions12: Scalars['Int']['output'];
1320
1332
  /** The unique number of transactions in the past 24 hours. */
@@ -1323,10 +1335,22 @@ export type GetNetworkStatsResponse = {
1323
1335
  volume1: Scalars['Float']['output'];
1324
1336
  /** The network trade volume in USD over the past 4 hours. */
1325
1337
  volume4: Scalars['Float']['output'];
1338
+ /** The network trade volume in USD over the past 5 minutes. */
1339
+ volume5m: Scalars['Float']['output'];
1326
1340
  /** The network trade volume in USD over the past 12 hours. */
1327
1341
  volume12: Scalars['Float']['output'];
1328
1342
  /** The network trade volume in USD over the past 24 hours. */
1329
1343
  volume24: Scalars['Float']['output'];
1344
+ /** The network trade volume change over the last hour */
1345
+ volumeChange1: Scalars['Float']['output'];
1346
+ /** The network trade volume change over the last 4 hours */
1347
+ volumeChange4: Scalars['Float']['output'];
1348
+ /** The network trade volume change over the last 5 minutes */
1349
+ volumeChange5m: Scalars['Float']['output'];
1350
+ /** The network trade volume change over the last 12 hours */
1351
+ volumeChange12: Scalars['Float']['output'];
1352
+ /** The network trade volume change over the last 24 hours */
1353
+ volumeChange24: Scalars['Float']['output'];
1330
1354
  };
1331
1355
  /** Response returned by `getNftPoolCollectionsByExchange`. */
1332
1356
  export type GetNftPoolCollectionsResponse = {
@@ -1638,6 +1662,67 @@ export type LatestTokenSimResults = {
1638
1662
  /** Tax paid for a sell transaction during simulation. */
1639
1663
  sellTax?: Maybe<Scalars['String']['output']>;
1640
1664
  };
1665
+ export type LaunchpadData = {
1666
+ __typename?: 'LaunchpadData';
1667
+ /** Indicates if the launchpad is completed. */
1668
+ completed?: Maybe<Scalars['Boolean']['output']>;
1669
+ /** The unix timestamp when the launchpad was completed. */
1670
+ completedAt?: Maybe<Scalars['Int']['output']>;
1671
+ /** The slot number when the launchpad was completed. */
1672
+ completedSlot?: Maybe<Scalars['Int']['output']>;
1673
+ /** The percentage of the pool that was sold to the public. */
1674
+ graduationPercent?: Maybe<Scalars['Float']['output']>;
1675
+ /** Indicates if the launchpad was migrated. */
1676
+ migrated?: Maybe<Scalars['Boolean']['output']>;
1677
+ /** The unix timestamp when the launchpad was migrated. */
1678
+ migratedAt?: Maybe<Scalars['Int']['output']>;
1679
+ /** The pool address after the launchpad was migrated. */
1680
+ migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1681
+ /** The slot number when the launchpad was migrated. */
1682
+ migratedSlot?: Maybe<Scalars['Int']['output']>;
1683
+ /** The address of the pool. */
1684
+ poolAddress?: Maybe<Scalars['String']['output']>;
1685
+ };
1686
+ /** Response returned by `onLaunchpadTokenEvent`. */
1687
+ export type LaunchpadTokenEventOutput = {
1688
+ __typename?: 'LaunchpadTokenEventOutput';
1689
+ /** The contract address of the token. */
1690
+ address: Scalars['String']['output'];
1691
+ /** The number of buys in the last 24 hours. */
1692
+ buyCount1?: Maybe<Scalars['Int']['output']>;
1693
+ /** The type of event. */
1694
+ eventType: LaunchpadTokenEventType;
1695
+ /** The number of holders. */
1696
+ holders?: Maybe<Scalars['Int']['output']>;
1697
+ /** The market cap of the token. */
1698
+ marketCap?: Maybe<Scalars['String']['output']>;
1699
+ /** The network ID that the token is deployed on. */
1700
+ networkId: Scalars['Int']['output'];
1701
+ /** The price of the token. */
1702
+ price?: Maybe<Scalars['Float']['output']>;
1703
+ /** The protocol of the token. */
1704
+ protocol: Scalars['String']['output'];
1705
+ /** The number of sells in the last 24 hours. */
1706
+ sellCount1?: Maybe<Scalars['Int']['output']>;
1707
+ /** Metadata for the token. */
1708
+ token: EnhancedToken;
1709
+ /** The number of transactions in the last 24 hours. */
1710
+ transactions1?: Maybe<Scalars['Int']['output']>;
1711
+ /** The volume of the token in the last 24 hours. */
1712
+ volume1?: Maybe<Scalars['Int']['output']>;
1713
+ };
1714
+ /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
1715
+ export declare enum LaunchpadTokenEventType {
1716
+ Completed = "Completed",
1717
+ Created = "Created",
1718
+ Migrated = "Migrated",
1719
+ Updated = "Updated"
1720
+ }
1721
+ /** The protocol of the token. */
1722
+ export declare enum LaunchpadTokenProtocol {
1723
+ FourMeme = "FourMeme",
1724
+ Pump = "Pump"
1725
+ }
1641
1726
  export type LiquidityData = {
1642
1727
  __typename?: 'LiquidityData';
1643
1728
  /** The active liquidity in the pair. */
@@ -1658,8 +1743,13 @@ export type LiquidityLock = {
1658
1743
  liquidityAmount: Scalars['String']['output'];
1659
1744
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1660
1745
  liquidityNftData?: Maybe<LiquidityNftData>;
1661
- /** The protocol that created the pair */
1746
+ /**
1747
+ * The protocol that created the pair
1748
+ * @deprecated Use liquidityProtocolV2 instead
1749
+ */
1662
1750
  liquidityProtocol: LiquidityProtocol;
1751
+ /** The protocol that created the pair */
1752
+ liquidityProtocolV2: Scalars['String']['output'];
1663
1753
  /** The protocol with which the liquidity is locked. */
1664
1754
  lockProtocol: LiquidityLockProtocol;
1665
1755
  /** The address of the locker contract. */
@@ -1706,9 +1796,11 @@ export type LiquidityNftData = {
1706
1796
  };
1707
1797
  /** Protocols that create trading pairs */
1708
1798
  export declare enum LiquidityProtocol {
1799
+ PumpV1 = "PUMP_V1",
1709
1800
  RaydiumV4 = "RAYDIUM_V4",
1710
1801
  UniswapV2 = "UNISWAP_V2",
1711
- UniswapV3 = "UNISWAP_V3"
1802
+ UniswapV3 = "UNISWAP_V3",
1803
+ UseLiquidityProtocolV2 = "USE_LIQUIDITY_PROTOCOL_V2"
1712
1804
  }
1713
1805
  /** Response returned by `listPairsWithMetadataForToken`. */
1714
1806
  export type ListPairsForTokenResponse = {
@@ -4380,6 +4472,17 @@ export type OnBarsUpdatedResponse = {
4380
4472
  /** The unix timestamp for the new bar. */
4381
4473
  timestamp: Scalars['Int']['output'];
4382
4474
  };
4475
+ /** Input for `onLaunchpadTokenEvent`. */
4476
+ export type OnLaunchpadTokenEventInput = {
4477
+ /** The contract address of the token. */
4478
+ address?: InputMaybe<Scalars['String']['input']>;
4479
+ /** The type of event. */
4480
+ eventType?: InputMaybe<LaunchpadTokenEventType>;
4481
+ /** The network ID that the token is deployed on. */
4482
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4483
+ /** The protocol of the token. */
4484
+ protocol?: InputMaybe<LaunchpadTokenProtocol>;
4485
+ };
4383
4486
  export type OnPricesUpdatedInput = {
4384
4487
  address: Scalars['String']['input'];
4385
4488
  networkId: Scalars['Int']['input'];
@@ -4414,7 +4517,7 @@ export type OnTokenBarsUpdatedResponse = {
4414
4517
  };
4415
4518
  export type OnTokenEventsCreatedInput = {
4416
4519
  networkId: Scalars['Int']['input'];
4417
- tokenAddress: Scalars['String']['input'];
4520
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
4418
4521
  };
4419
4522
  /** Response returned by `onUnconfirmedBarsUpdated`. */
4420
4523
  export type OnUnconfirmedBarsUpdated = {
@@ -4671,6 +4774,8 @@ export type PairFilters = {
4671
4774
  highPrice12?: InputMaybe<NumberFilter>;
4672
4775
  /** The highest price in USD in the past 24 hours. */
4673
4776
  highPrice24?: InputMaybe<NumberFilter>;
4777
+ /** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
4778
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
4674
4779
  /** The unix timestamp for the last transaction to happen on the pair. */
4675
4780
  lastTransaction?: InputMaybe<NumberFilter>;
4676
4781
  /** The amount of liquidity in the pair. */
@@ -4894,6 +4999,7 @@ export declare enum PairRankingAttribute {
4894
4999
  TrendingScore = "trendingScore",
4895
5000
  TrendingScore1 = "trendingScore1",
4896
5001
  TrendingScore4 = "trendingScore4",
5002
+ TrendingScore5m = "trendingScore5m",
4897
5003
  TrendingScore12 = "trendingScore12",
4898
5004
  TrendingScore24 = "trendingScore24",
4899
5005
  TxnCount1 = "txnCount1",
@@ -5763,6 +5869,7 @@ export type Query = {
5763
5869
  * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
5764
5870
  */
5765
5871
  getLatestPairs?: Maybe<LatestPairConnection>;
5872
+ /** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
5766
5873
  getLatestTokens?: Maybe<LatestTokenConnection>;
5767
5874
  /** Returns metadata for a given network supported on Codex. */
5768
5875
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -5842,6 +5949,8 @@ export type Query = {
5842
5949
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
5843
5950
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
5844
5951
  tokenSparklines: Array<TokenSparkline>;
5952
+ /** Returns a list of top traders for a given token. */
5953
+ tokenTopTraders: TokenTopTradersConnection;
5845
5954
  /** Returns a list of tokens by their addresses & network id, with pagination. */
5846
5955
  tokens: Array<Maybe<EnhancedToken>>;
5847
5956
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
@@ -6190,6 +6299,9 @@ export type QueryTokenLifecycleEventsArgs = {
6190
6299
  export type QueryTokenSparklinesArgs = {
6191
6300
  input: TokenSparklineInput;
6192
6301
  };
6302
+ export type QueryTokenTopTradersArgs = {
6303
+ input: TokenTopTradersInput;
6304
+ };
6193
6305
  export type QueryTokensArgs = {
6194
6306
  ids?: InputMaybe<Array<TokenInput>>;
6195
6307
  };
@@ -6627,6 +6739,25 @@ export type SparklineValue = {
6627
6739
  timestamp: Scalars['Int']['output'];
6628
6740
  value: Scalars['Float']['output'];
6629
6741
  };
6742
+ export type StarknetNetworkConfig = {
6743
+ __typename?: 'StarknetNetworkConfig';
6744
+ baseTokenAddress: Scalars['String']['output'];
6745
+ baseTokenSymbol: Scalars['String']['output'];
6746
+ color?: Maybe<Scalars['String']['output']>;
6747
+ defaultPairAddress: Scalars['String']['output'];
6748
+ defaultPairQuoteToken: QuoteToken;
6749
+ enabled: Scalars['Boolean']['output'];
6750
+ id: Scalars['ID']['output'];
6751
+ mainnet: Scalars['Boolean']['output'];
6752
+ name: Scalars['String']['output'];
6753
+ networkIconUrl: Scalars['String']['output'];
6754
+ networkId: Scalars['Int']['output'];
6755
+ networkName: Scalars['String']['output'];
6756
+ networkShortName: Scalars['String']['output'];
6757
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
6758
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
6759
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
6760
+ };
6630
6761
  /** Filter for NFT stats. */
6631
6762
  export type StatsFilter = {
6632
6763
  /** The percent change between the `current` and `previous`. */
@@ -6675,6 +6806,8 @@ export type StringFilter = {
6675
6806
  };
6676
6807
  export type Subscription = {
6677
6808
  __typename?: 'Subscription';
6809
+ /** Live-streamed balance updates for a given wallet. */
6810
+ onBalanceUpdated: Balance;
6678
6811
  /** Live-streamed bar chart data to track price changes over time. */
6679
6812
  onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
6680
6813
  /** Live-streamed bucketed stats for a given token within a pair. */
@@ -6688,6 +6821,7 @@ export type Subscription = {
6688
6821
  /** Live-streamed updates for newly listed pairs. */
6689
6822
  onLatestPairUpdated?: Maybe<LatestPair>;
6690
6823
  onLatestTokens?: Maybe<LatestToken>;
6824
+ onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
6691
6825
  /** Live-streamed transactions for an NFT asset. */
6692
6826
  onNftAssetsCreated?: Maybe<NftAsset>;
6693
6827
  /** Live-streamed transactions for an NFT collection. */
@@ -6712,6 +6846,9 @@ export type Subscription = {
6712
6846
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
6713
6847
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
6714
6848
  };
6849
+ export type SubscriptionOnBalanceUpdatedArgs = {
6850
+ walletAddress: Scalars['String']['input'];
6851
+ };
6715
6852
  export type SubscriptionOnBarsUpdatedArgs = {
6716
6853
  pairId?: InputMaybe<Scalars['String']['input']>;
6717
6854
  quoteToken?: InputMaybe<QuoteToken>;
@@ -6728,6 +6865,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
6728
6865
  export type SubscriptionOnEventsCreatedArgs = {
6729
6866
  address?: InputMaybe<Scalars['String']['input']>;
6730
6867
  id?: InputMaybe<Scalars['String']['input']>;
6868
+ networkId?: InputMaybe<Scalars['Int']['input']>;
6731
6869
  quoteToken?: InputMaybe<QuoteToken>;
6732
6870
  };
6733
6871
  export type SubscriptionOnHoldersUpdatedArgs = {
@@ -6742,6 +6880,9 @@ export type SubscriptionOnLatestTokensArgs = {
6742
6880
  networkId?: InputMaybe<Scalars['Int']['input']>;
6743
6881
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
6744
6882
  };
6883
+ export type SubscriptionOnLaunchpadTokenEventArgs = {
6884
+ input?: InputMaybe<OnLaunchpadTokenEventInput>;
6885
+ };
6745
6886
  export type SubscriptionOnNftAssetsCreatedArgs = {
6746
6887
  address?: InputMaybe<Scalars['String']['input']>;
6747
6888
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6776,6 +6917,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
6776
6917
  simulationId?: InputMaybe<Scalars['String']['input']>;
6777
6918
  };
6778
6919
  export type SubscriptionOnTokenBarsUpdatedArgs = {
6920
+ networkId?: InputMaybe<Scalars['Int']['input']>;
6779
6921
  statsType?: InputMaybe<TokenPairStatisticsType>;
6780
6922
  tokenId?: InputMaybe<Scalars['String']['input']>;
6781
6923
  };
@@ -7188,6 +7330,8 @@ export type TokenFilters = {
7188
7330
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7189
7331
  /** @deprecated FDV isn't supported - use marketCap instead */
7190
7332
  fdv?: InputMaybe<NumberFilter>;
7333
+ /** The token in freezable */
7334
+ freezable?: InputMaybe<Scalars['Boolean']['input']>;
7191
7335
  /** The highest price in USD in the past hour. */
7192
7336
  high1?: InputMaybe<NumberFilter>;
7193
7337
  /** The highest price in USD in the past 4 hours. */
@@ -7202,10 +7346,22 @@ export type TokenFilters = {
7202
7346
  holders?: InputMaybe<NumberFilter>;
7203
7347
  /** Whether to include tokens that have been flagged as scams. Default: false */
7204
7348
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
7349
+ /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
7350
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
7205
7351
  /** Only include verified tokens */
7206
7352
  isVerified?: InputMaybe<Scalars['Boolean']['input']>;
7207
7353
  /** The unix timestamp for the token's last transaction. */
7208
7354
  lastTransaction?: InputMaybe<NumberFilter>;
7355
+ /** Indicates if the launchpad is completed */
7356
+ launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
7357
+ /** The timestamp when the launchpad was completed */
7358
+ launchpadCompletedAt?: InputMaybe<NumberFilter>;
7359
+ /** The graduation percentage */
7360
+ launchpadGraduationPercent?: InputMaybe<NumberFilter>;
7361
+ /** Indicates if the launchpad has migrated */
7362
+ launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7363
+ /** The timestamp when the launchpad was migrated */
7364
+ launchpadMigratedAt?: InputMaybe<NumberFilter>;
7209
7365
  /** The amount of liquidity in the token's top pair. */
7210
7366
  liquidity?: InputMaybe<NumberFilter>;
7211
7367
  /** The lowest price in USD in the past hour. */
@@ -7220,6 +7376,8 @@ export type TokenFilters = {
7220
7376
  low24?: InputMaybe<NumberFilter>;
7221
7377
  /** The market cap of circulating supply. */
7222
7378
  marketCap?: InputMaybe<NumberFilter>;
7379
+ /** The token in mintable */
7380
+ mintable?: InputMaybe<Scalars['Boolean']['input']>;
7223
7381
  /** 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. */
7224
7382
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7225
7383
  /** docs: hide */
@@ -7489,6 +7647,7 @@ export declare enum TokenRankingAttribute {
7489
7647
  Change12 = "change12",
7490
7648
  Change24 = "change24",
7491
7649
  CreatedAt = "createdAt",
7650
+ GraduationPercent = "graduationPercent",
7492
7651
  High1 = "high1",
7493
7652
  High4 = "high4",
7494
7653
  High5m = "high5m",
@@ -7496,6 +7655,8 @@ export declare enum TokenRankingAttribute {
7496
7655
  High24 = "high24",
7497
7656
  Holders = "holders",
7498
7657
  LastTransaction = "lastTransaction",
7658
+ LaunchpadCompletedAt = "launchpadCompletedAt",
7659
+ LaunchpadMigratedAt = "launchpadMigratedAt",
7499
7660
  Liquidity = "liquidity",
7500
7661
  Low1 = "low1",
7501
7662
  Low4 = "low4",
@@ -7513,6 +7674,7 @@ export declare enum TokenRankingAttribute {
7513
7674
  TrendingScore = "trendingScore",
7514
7675
  TrendingScore1 = "trendingScore1",
7515
7676
  TrendingScore4 = "trendingScore4",
7677
+ TrendingScore5m = "trendingScore5m",
7516
7678
  TrendingScore12 = "trendingScore12",
7517
7679
  TrendingScore24 = "trendingScore24",
7518
7680
  TxnCount1 = "txnCount1",
@@ -7569,6 +7731,69 @@ export type TokenSparklineInput = {
7569
7731
  /** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
7570
7732
  ids: Array<Scalars['String']['input']>;
7571
7733
  };
7734
+ /** A top trader for a token. */
7735
+ export type TokenTopTrader = {
7736
+ __typename?: 'TokenTopTrader';
7737
+ /** The amount of tokens bought in USD. */
7738
+ amountBoughtUsd: Scalars['String']['output'];
7739
+ /** The amount of tokens sold in USD. */
7740
+ amountSoldUsd: Scalars['String']['output'];
7741
+ /** The number of buys. */
7742
+ buys: Scalars['Int']['output'];
7743
+ /** The unix timestamp for the first transaction from this wallet. */
7744
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
7745
+ /** The unix timestamp for the last transaction from this wallet. */
7746
+ lastTransactionAt: Scalars['Int']['output'];
7747
+ /** The network ID. */
7748
+ networkId: Scalars['Int']['output'];
7749
+ /** The realized profit percentage. */
7750
+ realizedProfitPercentage: Scalars['Float']['output'];
7751
+ /** The realized profit in USD. */
7752
+ realizedProfitUsd: Scalars['String']['output'];
7753
+ /** The number of sells. */
7754
+ sells: Scalars['Int']['output'];
7755
+ /** The single token acquisition cost in USD. */
7756
+ singleTokenAcquisitionCostUsd: Scalars['String']['output'];
7757
+ /** The token address. */
7758
+ tokenAddress: Scalars['String']['output'];
7759
+ /** The amount of tokens bought. */
7760
+ tokenAmountBought: Scalars['String']['output'];
7761
+ /** The amount of tokens sold. */
7762
+ tokenAmountSold: Scalars['String']['output'];
7763
+ /** The token balance of the trader. */
7764
+ tokenBalance: Scalars['String']['output'];
7765
+ /** The volume of tokens bought and sold in USD. */
7766
+ volumeUsd: Scalars['String']['output'];
7767
+ /** The wallet address of the trader. */
7768
+ walletAddress: Scalars['String']['output'];
7769
+ };
7770
+ /** A paginated list of top traders for a token. */
7771
+ export type TokenTopTradersConnection = {
7772
+ __typename?: 'TokenTopTradersConnection';
7773
+ /** The list of top traders. */
7774
+ items: Array<Maybe<TokenTopTrader>>;
7775
+ /** The network ID. */
7776
+ networkId: Scalars['Int']['output'];
7777
+ /** The offset of the first trader in the connection. */
7778
+ offset?: Maybe<Scalars['Int']['output']>;
7779
+ /** The token address. */
7780
+ tokenAddress: Scalars['String']['output'];
7781
+ /** The trading period. */
7782
+ tradingPeriod: TradingPeriod;
7783
+ };
7784
+ /** Input arguments for the `tokenTopTraders` query. */
7785
+ export type TokenTopTradersInput = {
7786
+ /** The number of traders to return */
7787
+ limit?: InputMaybe<Scalars['Int']['input']>;
7788
+ /** The network ID */
7789
+ networkId: Scalars['Int']['input'];
7790
+ /** Where in the list the server started when returning items */
7791
+ offset?: InputMaybe<Scalars['Int']['input']>;
7792
+ /** The token address */
7793
+ tokenAddress: Scalars['String']['input'];
7794
+ /** The trading period */
7795
+ tradingPeriod: TradingPeriod;
7796
+ };
7572
7797
  /** A token with metadata. */
7573
7798
  export type TokenWithMetadata = {
7574
7799
  __typename?: 'TokenWithMetadata';
@@ -7649,6 +7874,13 @@ export type TokenWithMetadata = {
7649
7874
  /** The volume over the time frame requested in USD. */
7650
7875
  volume: Scalars['String']['output'];
7651
7876
  };
7877
+ /** A time period used when calculating wallet trading data. */
7878
+ export declare enum TradingPeriod {
7879
+ Day = "DAY",
7880
+ Month = "MONTH",
7881
+ Week = "WEEK",
7882
+ Year = "YEAR"
7883
+ }
7652
7884
  /** An unconfirmed token transaction. */
7653
7885
  export type UnconfirmedEvent = {
7654
7886
  __typename?: 'UnconfirmedEvent';