@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
@@ -176,12 +176,14 @@ export type AptosNetworkConfig = {
176
176
  /** Wallet balance of a token. */
177
177
  export type Balance = {
178
178
  __typename?: 'Balance';
179
- /** The wallet address */
179
+ /** The wallet address. */
180
180
  address: Scalars['String']['output'];
181
181
  /** The balance held by the wallet. */
182
182
  balance: Scalars['String']['output'];
183
- /** The time that this address first held a token */
183
+ /** The time that this address first held a token. */
184
184
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
185
+ /** The wallet network. */
186
+ networkId: Scalars['Int']['output'];
185
187
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
186
188
  shiftedBalance: Scalars['Float']['output'];
187
189
  /** The contract address of the token. */
@@ -198,8 +200,12 @@ export type BalancesInput = {
198
200
  filterToken?: InputMaybe<Scalars['String']['input']>;
199
201
  /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
200
202
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
203
+ /** The maximum number of holdings to return. */
204
+ limit?: InputMaybe<Scalars['Int']['input']>;
205
+ /** The wallet address to filter by. */
206
+ walletAddress?: InputMaybe<Scalars['String']['input']>;
201
207
  /** The ID of the wallet (`walletAddress:networkId`). */
202
- walletId: Scalars['String']['input'];
208
+ walletId?: InputMaybe<Scalars['String']['input']>;
203
209
  };
204
210
  export type BalancesResponse = {
205
211
  __typename?: 'BalancesResponse';
@@ -889,6 +895,8 @@ export type EnhancedToken = {
889
895
  info?: Maybe<TokenInfo>;
890
896
  /** Whether the token has been flagged as a scam. */
891
897
  isScam?: Maybe<Scalars['Boolean']['output']>;
898
+ /** The launchpad data for the token, if applicable. */
899
+ launchpad?: Maybe<LaunchpadData>;
892
900
  /** Whether or not the token is mintable */
893
901
  mintable?: Maybe<Scalars['String']['output']>;
894
902
  /** The token name. For example, `ApeCoin`. */
@@ -1066,6 +1074,8 @@ export type EventsQueryInput = {
1066
1074
  priceUsdTotal?: InputMaybe<NumberFilter>;
1067
1075
  /** The token of interest. Can be `token0` or `token1`. */
1068
1076
  quoteToken?: InputMaybe<QuoteToken>;
1077
+ /** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
1078
+ symbolType?: InputMaybe<SymbolType>;
1069
1079
  /** The time range to filter by. */
1070
1080
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1071
1081
  };
@@ -1316,6 +1326,8 @@ export type GetNetworkStatsResponse = {
1316
1326
  transactions1: Scalars['Int']['output'];
1317
1327
  /** The unique number of transactions in the past 4 hours. */
1318
1328
  transactions4: Scalars['Int']['output'];
1329
+ /** The unique number of transactions in the past 5 minutes. */
1330
+ transactions5m: Scalars['Int']['output'];
1319
1331
  /** The unique number of transactions in the past 12 hours. */
1320
1332
  transactions12: Scalars['Int']['output'];
1321
1333
  /** The unique number of transactions in the past 24 hours. */
@@ -1324,10 +1336,22 @@ export type GetNetworkStatsResponse = {
1324
1336
  volume1: Scalars['Float']['output'];
1325
1337
  /** The network trade volume in USD over the past 4 hours. */
1326
1338
  volume4: Scalars['Float']['output'];
1339
+ /** The network trade volume in USD over the past 5 minutes. */
1340
+ volume5m: Scalars['Float']['output'];
1327
1341
  /** The network trade volume in USD over the past 12 hours. */
1328
1342
  volume12: Scalars['Float']['output'];
1329
1343
  /** The network trade volume in USD over the past 24 hours. */
1330
1344
  volume24: Scalars['Float']['output'];
1345
+ /** The network trade volume change over the last hour */
1346
+ volumeChange1: Scalars['Float']['output'];
1347
+ /** The network trade volume change over the last 4 hours */
1348
+ volumeChange4: Scalars['Float']['output'];
1349
+ /** The network trade volume change over the last 5 minutes */
1350
+ volumeChange5m: Scalars['Float']['output'];
1351
+ /** The network trade volume change over the last 12 hours */
1352
+ volumeChange12: Scalars['Float']['output'];
1353
+ /** The network trade volume change over the last 24 hours */
1354
+ volumeChange24: Scalars['Float']['output'];
1331
1355
  };
1332
1356
  /** Response returned by `getNftPoolCollectionsByExchange`. */
1333
1357
  export type GetNftPoolCollectionsResponse = {
@@ -1639,6 +1663,67 @@ export type LatestTokenSimResults = {
1639
1663
  /** Tax paid for a sell transaction during simulation. */
1640
1664
  sellTax?: Maybe<Scalars['String']['output']>;
1641
1665
  };
1666
+ export type LaunchpadData = {
1667
+ __typename?: 'LaunchpadData';
1668
+ /** Indicates if the launchpad is completed. */
1669
+ completed?: Maybe<Scalars['Boolean']['output']>;
1670
+ /** The unix timestamp when the launchpad was completed. */
1671
+ completedAt?: Maybe<Scalars['Int']['output']>;
1672
+ /** The slot number when the launchpad was completed. */
1673
+ completedSlot?: Maybe<Scalars['Int']['output']>;
1674
+ /** The percentage of the pool that was sold to the public. */
1675
+ graduationPercent?: Maybe<Scalars['Float']['output']>;
1676
+ /** Indicates if the launchpad was migrated. */
1677
+ migrated?: Maybe<Scalars['Boolean']['output']>;
1678
+ /** The unix timestamp when the launchpad was migrated. */
1679
+ migratedAt?: Maybe<Scalars['Int']['output']>;
1680
+ /** The pool address after the launchpad was migrated. */
1681
+ migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1682
+ /** The slot number when the launchpad was migrated. */
1683
+ migratedSlot?: Maybe<Scalars['Int']['output']>;
1684
+ /** The address of the pool. */
1685
+ poolAddress?: Maybe<Scalars['String']['output']>;
1686
+ };
1687
+ /** Response returned by `onLaunchpadTokenEvent`. */
1688
+ export type LaunchpadTokenEventOutput = {
1689
+ __typename?: 'LaunchpadTokenEventOutput';
1690
+ /** The contract address of the token. */
1691
+ address: Scalars['String']['output'];
1692
+ /** The number of buys in the last 24 hours. */
1693
+ buyCount1?: Maybe<Scalars['Int']['output']>;
1694
+ /** The type of event. */
1695
+ eventType: LaunchpadTokenEventType;
1696
+ /** The number of holders. */
1697
+ holders?: Maybe<Scalars['Int']['output']>;
1698
+ /** The market cap of the token. */
1699
+ marketCap?: Maybe<Scalars['String']['output']>;
1700
+ /** The network ID that the token is deployed on. */
1701
+ networkId: Scalars['Int']['output'];
1702
+ /** The price of the token. */
1703
+ price?: Maybe<Scalars['Float']['output']>;
1704
+ /** The protocol of the token. */
1705
+ protocol: Scalars['String']['output'];
1706
+ /** The number of sells in the last 24 hours. */
1707
+ sellCount1?: Maybe<Scalars['Int']['output']>;
1708
+ /** Metadata for the token. */
1709
+ token: EnhancedToken;
1710
+ /** The number of transactions in the last 24 hours. */
1711
+ transactions1?: Maybe<Scalars['Int']['output']>;
1712
+ /** The volume of the token in the last 24 hours. */
1713
+ volume1?: Maybe<Scalars['Int']['output']>;
1714
+ };
1715
+ /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
1716
+ export declare enum LaunchpadTokenEventType {
1717
+ Completed = "Completed",
1718
+ Created = "Created",
1719
+ Migrated = "Migrated",
1720
+ Updated = "Updated"
1721
+ }
1722
+ /** The protocol of the token. */
1723
+ export declare enum LaunchpadTokenProtocol {
1724
+ FourMeme = "FourMeme",
1725
+ Pump = "Pump"
1726
+ }
1642
1727
  export type LiquidityData = {
1643
1728
  __typename?: 'LiquidityData';
1644
1729
  /** The active liquidity in the pair. */
@@ -1659,8 +1744,13 @@ export type LiquidityLock = {
1659
1744
  liquidityAmount: Scalars['String']['output'];
1660
1745
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1661
1746
  liquidityNftData?: Maybe<LiquidityNftData>;
1662
- /** The protocol that created the pair */
1747
+ /**
1748
+ * The protocol that created the pair
1749
+ * @deprecated Use liquidityProtocolV2 instead
1750
+ */
1663
1751
  liquidityProtocol: LiquidityProtocol;
1752
+ /** The protocol that created the pair */
1753
+ liquidityProtocolV2: Scalars['String']['output'];
1664
1754
  /** The protocol with which the liquidity is locked. */
1665
1755
  lockProtocol: LiquidityLockProtocol;
1666
1756
  /** The address of the locker contract. */
@@ -1707,9 +1797,11 @@ export type LiquidityNftData = {
1707
1797
  };
1708
1798
  /** Protocols that create trading pairs */
1709
1799
  export declare enum LiquidityProtocol {
1800
+ PumpV1 = "PUMP_V1",
1710
1801
  RaydiumV4 = "RAYDIUM_V4",
1711
1802
  UniswapV2 = "UNISWAP_V2",
1712
- UniswapV3 = "UNISWAP_V3"
1803
+ UniswapV3 = "UNISWAP_V3",
1804
+ UseLiquidityProtocolV2 = "USE_LIQUIDITY_PROTOCOL_V2"
1713
1805
  }
1714
1806
  /** Response returned by `listPairsWithMetadataForToken`. */
1715
1807
  export type ListPairsForTokenResponse = {
@@ -4381,6 +4473,17 @@ export type OnBarsUpdatedResponse = {
4381
4473
  /** The unix timestamp for the new bar. */
4382
4474
  timestamp: Scalars['Int']['output'];
4383
4475
  };
4476
+ /** Input for `onLaunchpadTokenEvent`. */
4477
+ export type OnLaunchpadTokenEventInput = {
4478
+ /** The contract address of the token. */
4479
+ address?: InputMaybe<Scalars['String']['input']>;
4480
+ /** The type of event. */
4481
+ eventType?: InputMaybe<LaunchpadTokenEventType>;
4482
+ /** The network ID that the token is deployed on. */
4483
+ networkId?: InputMaybe<Scalars['Int']['input']>;
4484
+ /** The protocol of the token. */
4485
+ protocol?: InputMaybe<LaunchpadTokenProtocol>;
4486
+ };
4384
4487
  export type OnPricesUpdatedInput = {
4385
4488
  address: Scalars['String']['input'];
4386
4489
  networkId: Scalars['Int']['input'];
@@ -4415,7 +4518,7 @@ export type OnTokenBarsUpdatedResponse = {
4415
4518
  };
4416
4519
  export type OnTokenEventsCreatedInput = {
4417
4520
  networkId: Scalars['Int']['input'];
4418
- tokenAddress: Scalars['String']['input'];
4521
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
4419
4522
  };
4420
4523
  /** Response returned by `onUnconfirmedBarsUpdated`. */
4421
4524
  export type OnUnconfirmedBarsUpdated = {
@@ -4672,6 +4775,8 @@ export type PairFilters = {
4672
4775
  highPrice12?: InputMaybe<NumberFilter>;
4673
4776
  /** The highest price in USD in the past 24 hours. */
4674
4777
  highPrice24?: InputMaybe<NumberFilter>;
4778
+ /** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
4779
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
4675
4780
  /** The unix timestamp for the last transaction to happen on the pair. */
4676
4781
  lastTransaction?: InputMaybe<NumberFilter>;
4677
4782
  /** The amount of liquidity in the pair. */
@@ -4895,6 +5000,7 @@ export declare enum PairRankingAttribute {
4895
5000
  TrendingScore = "trendingScore",
4896
5001
  TrendingScore1 = "trendingScore1",
4897
5002
  TrendingScore4 = "trendingScore4",
5003
+ TrendingScore5m = "trendingScore5m",
4898
5004
  TrendingScore12 = "trendingScore12",
4899
5005
  TrendingScore24 = "trendingScore24",
4900
5006
  TxnCount1 = "txnCount1",
@@ -5764,6 +5870,7 @@ export type Query = {
5764
5870
  * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
5765
5871
  */
5766
5872
  getLatestPairs?: Maybe<LatestPairConnection>;
5873
+ /** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
5767
5874
  getLatestTokens?: Maybe<LatestTokenConnection>;
5768
5875
  /** Returns metadata for a given network supported on Codex. */
5769
5876
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -5843,6 +5950,8 @@ export type Query = {
5843
5950
  tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
5844
5951
  /** Returns a list of token simple chart data (sparklines) for the given tokens. */
5845
5952
  tokenSparklines: Array<TokenSparkline>;
5953
+ /** Returns a list of top traders for a given token. */
5954
+ tokenTopTraders: TokenTopTradersConnection;
5846
5955
  /** Returns a list of tokens by their addresses & network id, with pagination. */
5847
5956
  tokens: Array<Maybe<EnhancedToken>>;
5848
5957
  /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
@@ -6191,6 +6300,9 @@ export type QueryTokenLifecycleEventsArgs = {
6191
6300
  export type QueryTokenSparklinesArgs = {
6192
6301
  input: TokenSparklineInput;
6193
6302
  };
6303
+ export type QueryTokenTopTradersArgs = {
6304
+ input: TokenTopTradersInput;
6305
+ };
6194
6306
  export type QueryTokensArgs = {
6195
6307
  ids?: InputMaybe<Array<TokenInput>>;
6196
6308
  };
@@ -6628,6 +6740,25 @@ export type SparklineValue = {
6628
6740
  timestamp: Scalars['Int']['output'];
6629
6741
  value: Scalars['Float']['output'];
6630
6742
  };
6743
+ export type StarknetNetworkConfig = {
6744
+ __typename?: 'StarknetNetworkConfig';
6745
+ baseTokenAddress: Scalars['String']['output'];
6746
+ baseTokenSymbol: Scalars['String']['output'];
6747
+ color?: Maybe<Scalars['String']['output']>;
6748
+ defaultPairAddress: Scalars['String']['output'];
6749
+ defaultPairQuoteToken: QuoteToken;
6750
+ enabled: Scalars['Boolean']['output'];
6751
+ id: Scalars['ID']['output'];
6752
+ mainnet: Scalars['Boolean']['output'];
6753
+ name: Scalars['String']['output'];
6754
+ networkIconUrl: Scalars['String']['output'];
6755
+ networkId: Scalars['Int']['output'];
6756
+ networkName: Scalars['String']['output'];
6757
+ networkShortName: Scalars['String']['output'];
6758
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
6759
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
6760
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
6761
+ };
6631
6762
  /** Filter for NFT stats. */
6632
6763
  export type StatsFilter = {
6633
6764
  /** The percent change between the `current` and `previous`. */
@@ -6676,6 +6807,8 @@ export type StringFilter = {
6676
6807
  };
6677
6808
  export type Subscription = {
6678
6809
  __typename?: 'Subscription';
6810
+ /** Live-streamed balance updates for a given wallet. */
6811
+ onBalanceUpdated: Balance;
6679
6812
  /** Live-streamed bar chart data to track price changes over time. */
6680
6813
  onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
6681
6814
  /** Live-streamed bucketed stats for a given token within a pair. */
@@ -6689,6 +6822,7 @@ export type Subscription = {
6689
6822
  /** Live-streamed updates for newly listed pairs. */
6690
6823
  onLatestPairUpdated?: Maybe<LatestPair>;
6691
6824
  onLatestTokens?: Maybe<LatestToken>;
6825
+ onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
6692
6826
  /** Live-streamed transactions for an NFT asset. */
6693
6827
  onNftAssetsCreated?: Maybe<NftAsset>;
6694
6828
  /** Live-streamed transactions for an NFT collection. */
@@ -6713,6 +6847,9 @@ export type Subscription = {
6713
6847
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
6714
6848
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
6715
6849
  };
6850
+ export type SubscriptionOnBalanceUpdatedArgs = {
6851
+ walletAddress: Scalars['String']['input'];
6852
+ };
6716
6853
  export type SubscriptionOnBarsUpdatedArgs = {
6717
6854
  pairId?: InputMaybe<Scalars['String']['input']>;
6718
6855
  quoteToken?: InputMaybe<QuoteToken>;
@@ -6729,6 +6866,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
6729
6866
  export type SubscriptionOnEventsCreatedArgs = {
6730
6867
  address?: InputMaybe<Scalars['String']['input']>;
6731
6868
  id?: InputMaybe<Scalars['String']['input']>;
6869
+ networkId?: InputMaybe<Scalars['Int']['input']>;
6732
6870
  quoteToken?: InputMaybe<QuoteToken>;
6733
6871
  };
6734
6872
  export type SubscriptionOnHoldersUpdatedArgs = {
@@ -6743,6 +6881,9 @@ export type SubscriptionOnLatestTokensArgs = {
6743
6881
  networkId?: InputMaybe<Scalars['Int']['input']>;
6744
6882
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
6745
6883
  };
6884
+ export type SubscriptionOnLaunchpadTokenEventArgs = {
6885
+ input?: InputMaybe<OnLaunchpadTokenEventInput>;
6886
+ };
6746
6887
  export type SubscriptionOnNftAssetsCreatedArgs = {
6747
6888
  address?: InputMaybe<Scalars['String']['input']>;
6748
6889
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6777,6 +6918,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
6777
6918
  simulationId?: InputMaybe<Scalars['String']['input']>;
6778
6919
  };
6779
6920
  export type SubscriptionOnTokenBarsUpdatedArgs = {
6921
+ networkId?: InputMaybe<Scalars['Int']['input']>;
6780
6922
  statsType?: InputMaybe<TokenPairStatisticsType>;
6781
6923
  tokenId?: InputMaybe<Scalars['String']['input']>;
6782
6924
  };
@@ -7189,6 +7331,8 @@ export type TokenFilters = {
7189
7331
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7190
7332
  /** @deprecated FDV isn't supported - use marketCap instead */
7191
7333
  fdv?: InputMaybe<NumberFilter>;
7334
+ /** The token in freezable */
7335
+ freezable?: InputMaybe<Scalars['Boolean']['input']>;
7192
7336
  /** The highest price in USD in the past hour. */
7193
7337
  high1?: InputMaybe<NumberFilter>;
7194
7338
  /** The highest price in USD in the past 4 hours. */
@@ -7203,10 +7347,22 @@ export type TokenFilters = {
7203
7347
  holders?: InputMaybe<NumberFilter>;
7204
7348
  /** Whether to include tokens that have been flagged as scams. Default: false */
7205
7349
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
7350
+ /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
7351
+ isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
7206
7352
  /** Only include verified tokens */
7207
7353
  isVerified?: InputMaybe<Scalars['Boolean']['input']>;
7208
7354
  /** The unix timestamp for the token's last transaction. */
7209
7355
  lastTransaction?: InputMaybe<NumberFilter>;
7356
+ /** Indicates if the launchpad is completed */
7357
+ launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
7358
+ /** The timestamp when the launchpad was completed */
7359
+ launchpadCompletedAt?: InputMaybe<NumberFilter>;
7360
+ /** The graduation percentage */
7361
+ launchpadGraduationPercent?: InputMaybe<NumberFilter>;
7362
+ /** Indicates if the launchpad has migrated */
7363
+ launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7364
+ /** The timestamp when the launchpad was migrated */
7365
+ launchpadMigratedAt?: InputMaybe<NumberFilter>;
7210
7366
  /** The amount of liquidity in the token's top pair. */
7211
7367
  liquidity?: InputMaybe<NumberFilter>;
7212
7368
  /** The lowest price in USD in the past hour. */
@@ -7221,6 +7377,8 @@ export type TokenFilters = {
7221
7377
  low24?: InputMaybe<NumberFilter>;
7222
7378
  /** The market cap of circulating supply. */
7223
7379
  marketCap?: InputMaybe<NumberFilter>;
7380
+ /** The token in mintable */
7381
+ mintable?: InputMaybe<Scalars['Boolean']['input']>;
7224
7382
  /** 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. */
7225
7383
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7226
7384
  /** docs: hide */
@@ -7490,6 +7648,7 @@ export declare enum TokenRankingAttribute {
7490
7648
  Change12 = "change12",
7491
7649
  Change24 = "change24",
7492
7650
  CreatedAt = "createdAt",
7651
+ GraduationPercent = "graduationPercent",
7493
7652
  High1 = "high1",
7494
7653
  High4 = "high4",
7495
7654
  High5m = "high5m",
@@ -7497,6 +7656,8 @@ export declare enum TokenRankingAttribute {
7497
7656
  High24 = "high24",
7498
7657
  Holders = "holders",
7499
7658
  LastTransaction = "lastTransaction",
7659
+ LaunchpadCompletedAt = "launchpadCompletedAt",
7660
+ LaunchpadMigratedAt = "launchpadMigratedAt",
7500
7661
  Liquidity = "liquidity",
7501
7662
  Low1 = "low1",
7502
7663
  Low4 = "low4",
@@ -7514,6 +7675,7 @@ export declare enum TokenRankingAttribute {
7514
7675
  TrendingScore = "trendingScore",
7515
7676
  TrendingScore1 = "trendingScore1",
7516
7677
  TrendingScore4 = "trendingScore4",
7678
+ TrendingScore5m = "trendingScore5m",
7517
7679
  TrendingScore12 = "trendingScore12",
7518
7680
  TrendingScore24 = "trendingScore24",
7519
7681
  TxnCount1 = "txnCount1",
@@ -7570,6 +7732,69 @@ export type TokenSparklineInput = {
7570
7732
  /** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
7571
7733
  ids: Array<Scalars['String']['input']>;
7572
7734
  };
7735
+ /** A top trader for a token. */
7736
+ export type TokenTopTrader = {
7737
+ __typename?: 'TokenTopTrader';
7738
+ /** The amount of tokens bought in USD. */
7739
+ amountBoughtUsd: Scalars['String']['output'];
7740
+ /** The amount of tokens sold in USD. */
7741
+ amountSoldUsd: Scalars['String']['output'];
7742
+ /** The number of buys. */
7743
+ buys: Scalars['Int']['output'];
7744
+ /** The unix timestamp for the first transaction from this wallet. */
7745
+ firstTransactionAt?: Maybe<Scalars['Int']['output']>;
7746
+ /** The unix timestamp for the last transaction from this wallet. */
7747
+ lastTransactionAt: Scalars['Int']['output'];
7748
+ /** The network ID. */
7749
+ networkId: Scalars['Int']['output'];
7750
+ /** The realized profit percentage. */
7751
+ realizedProfitPercentage: Scalars['Float']['output'];
7752
+ /** The realized profit in USD. */
7753
+ realizedProfitUsd: Scalars['String']['output'];
7754
+ /** The number of sells. */
7755
+ sells: Scalars['Int']['output'];
7756
+ /** The single token acquisition cost in USD. */
7757
+ singleTokenAcquisitionCostUsd: Scalars['String']['output'];
7758
+ /** The token address. */
7759
+ tokenAddress: Scalars['String']['output'];
7760
+ /** The amount of tokens bought. */
7761
+ tokenAmountBought: Scalars['String']['output'];
7762
+ /** The amount of tokens sold. */
7763
+ tokenAmountSold: Scalars['String']['output'];
7764
+ /** The token balance of the trader. */
7765
+ tokenBalance: Scalars['String']['output'];
7766
+ /** The volume of tokens bought and sold in USD. */
7767
+ volumeUsd: Scalars['String']['output'];
7768
+ /** The wallet address of the trader. */
7769
+ walletAddress: Scalars['String']['output'];
7770
+ };
7771
+ /** A paginated list of top traders for a token. */
7772
+ export type TokenTopTradersConnection = {
7773
+ __typename?: 'TokenTopTradersConnection';
7774
+ /** The list of top traders. */
7775
+ items: Array<Maybe<TokenTopTrader>>;
7776
+ /** The network ID. */
7777
+ networkId: Scalars['Int']['output'];
7778
+ /** The offset of the first trader in the connection. */
7779
+ offset?: Maybe<Scalars['Int']['output']>;
7780
+ /** The token address. */
7781
+ tokenAddress: Scalars['String']['output'];
7782
+ /** The trading period. */
7783
+ tradingPeriod: TradingPeriod;
7784
+ };
7785
+ /** Input arguments for the `tokenTopTraders` query. */
7786
+ export type TokenTopTradersInput = {
7787
+ /** The number of traders to return */
7788
+ limit?: InputMaybe<Scalars['Int']['input']>;
7789
+ /** The network ID */
7790
+ networkId: Scalars['Int']['input'];
7791
+ /** Where in the list the server started when returning items */
7792
+ offset?: InputMaybe<Scalars['Int']['input']>;
7793
+ /** The token address */
7794
+ tokenAddress: Scalars['String']['input'];
7795
+ /** The trading period */
7796
+ tradingPeriod: TradingPeriod;
7797
+ };
7573
7798
  /** A token with metadata. */
7574
7799
  export type TokenWithMetadata = {
7575
7800
  __typename?: 'TokenWithMetadata';
@@ -7650,6 +7875,13 @@ export type TokenWithMetadata = {
7650
7875
  /** The volume over the time frame requested in USD. */
7651
7876
  volume: Scalars['String']['output'];
7652
7877
  };
7878
+ /** A time period used when calculating wallet trading data. */
7879
+ export declare enum TradingPeriod {
7880
+ Day = "DAY",
7881
+ Month = "MONTH",
7882
+ Week = "WEEK",
7883
+ Year = "YEAR"
7884
+ }
7653
7885
  /** An unconfirmed token transaction. */
7654
7886
  export type UnconfirmedEvent = {
7655
7887
  __typename?: 'UnconfirmedEvent';
@@ -8708,6 +8940,7 @@ export type BalancesQuery = {
8708
8940
  address: string;
8709
8941
  balance: string;
8710
8942
  firstHeldTimestamp?: number | null;
8943
+ networkId: number;
8711
8944
  shiftedBalance: number;
8712
8945
  tokenAddress: string;
8713
8946
  tokenId: string;
@@ -9845,6 +10078,18 @@ export type FilterPairsQuery = {
9845
10078
  symbol: string;
9846
10079
  totalSupply?: string | null;
9847
10080
  } | null;
10081
+ launchpad?: {
10082
+ __typename?: 'LaunchpadData';
10083
+ completed?: boolean | null;
10084
+ completedAt?: number | null;
10085
+ completedSlot?: number | null;
10086
+ graduationPercent?: number | null;
10087
+ migrated?: boolean | null;
10088
+ migratedAt?: number | null;
10089
+ migratedPoolAddress?: string | null;
10090
+ migratedSlot?: number | null;
10091
+ poolAddress?: string | null;
10092
+ } | null;
9848
10093
  socialLinks?: {
9849
10094
  __typename?: 'SocialLinks';
9850
10095
  bitcointalk?: string | null;
@@ -9912,6 +10157,18 @@ export type FilterPairsQuery = {
9912
10157
  symbol: string;
9913
10158
  totalSupply?: string | null;
9914
10159
  } | null;
10160
+ launchpad?: {
10161
+ __typename?: 'LaunchpadData';
10162
+ completed?: boolean | null;
10163
+ completedAt?: number | null;
10164
+ completedSlot?: number | null;
10165
+ graduationPercent?: number | null;
10166
+ migrated?: boolean | null;
10167
+ migratedAt?: number | null;
10168
+ migratedPoolAddress?: string | null;
10169
+ migratedSlot?: number | null;
10170
+ poolAddress?: string | null;
10171
+ } | null;
9915
10172
  socialLinks?: {
9916
10173
  __typename?: 'SocialLinks';
9917
10174
  bitcointalk?: string | null;
@@ -9980,6 +10237,18 @@ export type FilterPairsQuery = {
9980
10237
  symbol: string;
9981
10238
  totalSupply?: string | null;
9982
10239
  } | null;
10240
+ launchpad?: {
10241
+ __typename?: 'LaunchpadData';
10242
+ completed?: boolean | null;
10243
+ completedAt?: number | null;
10244
+ completedSlot?: number | null;
10245
+ graduationPercent?: number | null;
10246
+ migrated?: boolean | null;
10247
+ migratedAt?: number | null;
10248
+ migratedPoolAddress?: string | null;
10249
+ migratedSlot?: number | null;
10250
+ poolAddress?: string | null;
10251
+ } | null;
9983
10252
  socialLinks?: {
9984
10253
  __typename?: 'SocialLinks';
9985
10254
  bitcointalk?: string | null;
@@ -10047,6 +10316,18 @@ export type FilterPairsQuery = {
10047
10316
  symbol: string;
10048
10317
  totalSupply?: string | null;
10049
10318
  } | null;
10319
+ launchpad?: {
10320
+ __typename?: 'LaunchpadData';
10321
+ completed?: boolean | null;
10322
+ completedAt?: number | null;
10323
+ completedSlot?: number | null;
10324
+ graduationPercent?: number | null;
10325
+ migrated?: boolean | null;
10326
+ migratedAt?: number | null;
10327
+ migratedPoolAddress?: string | null;
10328
+ migratedSlot?: number | null;
10329
+ poolAddress?: string | null;
10330
+ } | null;
10050
10331
  socialLinks?: {
10051
10332
  __typename?: 'SocialLinks';
10052
10333
  bitcointalk?: string | null;
@@ -10225,6 +10506,18 @@ export type FilterTokensQuery = {
10225
10506
  symbol: string;
10226
10507
  totalSupply?: string | null;
10227
10508
  } | null;
10509
+ launchpad?: {
10510
+ __typename?: 'LaunchpadData';
10511
+ completed?: boolean | null;
10512
+ completedAt?: number | null;
10513
+ completedSlot?: number | null;
10514
+ graduationPercent?: number | null;
10515
+ migrated?: boolean | null;
10516
+ migratedAt?: number | null;
10517
+ migratedPoolAddress?: string | null;
10518
+ migratedSlot?: number | null;
10519
+ poolAddress?: string | null;
10520
+ } | null;
10228
10521
  socialLinks?: {
10229
10522
  __typename?: 'SocialLinks';
10230
10523
  bitcointalk?: string | null;
@@ -10292,6 +10585,18 @@ export type FilterTokensQuery = {
10292
10585
  symbol: string;
10293
10586
  totalSupply?: string | null;
10294
10587
  } | null;
10588
+ launchpad?: {
10589
+ __typename?: 'LaunchpadData';
10590
+ completed?: boolean | null;
10591
+ completedAt?: number | null;
10592
+ completedSlot?: number | null;
10593
+ graduationPercent?: number | null;
10594
+ migrated?: boolean | null;
10595
+ migratedAt?: number | null;
10596
+ migratedPoolAddress?: string | null;
10597
+ migratedSlot?: number | null;
10598
+ poolAddress?: string | null;
10599
+ } | null;
10295
10600
  socialLinks?: {
10296
10601
  __typename?: 'SocialLinks';
10297
10602
  bitcointalk?: string | null;
@@ -10360,6 +10665,18 @@ export type FilterTokensQuery = {
10360
10665
  symbol: string;
10361
10666
  totalSupply?: string | null;
10362
10667
  } | null;
10668
+ launchpad?: {
10669
+ __typename?: 'LaunchpadData';
10670
+ completed?: boolean | null;
10671
+ completedAt?: number | null;
10672
+ completedSlot?: number | null;
10673
+ graduationPercent?: number | null;
10674
+ migrated?: boolean | null;
10675
+ migratedAt?: number | null;
10676
+ migratedPoolAddress?: string | null;
10677
+ migratedSlot?: number | null;
10678
+ poolAddress?: string | null;
10679
+ } | null;
10363
10680
  socialLinks?: {
10364
10681
  __typename?: 'SocialLinks';
10365
10682
  bitcointalk?: string | null;
@@ -10481,6 +10798,18 @@ export type GetBarsQuery = {
10481
10798
  symbol: string;
10482
10799
  totalSupply?: string | null;
10483
10800
  } | null;
10801
+ launchpad?: {
10802
+ __typename?: 'LaunchpadData';
10803
+ completed?: boolean | null;
10804
+ completedAt?: number | null;
10805
+ completedSlot?: number | null;
10806
+ graduationPercent?: number | null;
10807
+ migrated?: boolean | null;
10808
+ migratedAt?: number | null;
10809
+ migratedPoolAddress?: string | null;
10810
+ migratedSlot?: number | null;
10811
+ poolAddress?: string | null;
10812
+ } | null;
10484
10813
  socialLinks?: {
10485
10814
  __typename?: 'SocialLinks';
10486
10815
  bitcointalk?: string | null;
@@ -10548,6 +10877,18 @@ export type GetBarsQuery = {
10548
10877
  symbol: string;
10549
10878
  totalSupply?: string | null;
10550
10879
  } | null;
10880
+ launchpad?: {
10881
+ __typename?: 'LaunchpadData';
10882
+ completed?: boolean | null;
10883
+ completedAt?: number | null;
10884
+ completedSlot?: number | null;
10885
+ graduationPercent?: number | null;
10886
+ migrated?: boolean | null;
10887
+ migratedAt?: number | null;
10888
+ migratedPoolAddress?: string | null;
10889
+ migratedSlot?: number | null;
10890
+ poolAddress?: string | null;
10891
+ } | null;
10551
10892
  socialLinks?: {
10552
10893
  __typename?: 'SocialLinks';
10553
10894
  bitcointalk?: string | null;
@@ -10680,6 +11021,18 @@ export type GetCommunityNotesQuery = {
10680
11021
  symbol: string;
10681
11022
  totalSupply?: string | null;
10682
11023
  } | null;
11024
+ launchpad?: {
11025
+ __typename?: 'LaunchpadData';
11026
+ completed?: boolean | null;
11027
+ completedAt?: number | null;
11028
+ completedSlot?: number | null;
11029
+ graduationPercent?: number | null;
11030
+ migrated?: boolean | null;
11031
+ migratedAt?: number | null;
11032
+ migratedPoolAddress?: string | null;
11033
+ migratedSlot?: number | null;
11034
+ poolAddress?: string | null;
11035
+ } | null;
10683
11036
  socialLinks?: {
10684
11037
  __typename?: 'SocialLinks';
10685
11038
  bitcointalk?: string | null;
@@ -11763,6 +12116,18 @@ export type GetDetailedPairStatsQuery = {
11763
12116
  symbol: string;
11764
12117
  totalSupply?: string | null;
11765
12118
  } | null;
12119
+ launchpad?: {
12120
+ __typename?: 'LaunchpadData';
12121
+ completed?: boolean | null;
12122
+ completedAt?: number | null;
12123
+ completedSlot?: number | null;
12124
+ graduationPercent?: number | null;
12125
+ migrated?: boolean | null;
12126
+ migratedAt?: number | null;
12127
+ migratedPoolAddress?: string | null;
12128
+ migratedSlot?: number | null;
12129
+ poolAddress?: string | null;
12130
+ } | null;
11766
12131
  socialLinks?: {
11767
12132
  __typename?: 'SocialLinks';
11768
12133
  bitcointalk?: string | null;
@@ -11830,6 +12195,18 @@ export type GetDetailedPairStatsQuery = {
11830
12195
  symbol: string;
11831
12196
  totalSupply?: string | null;
11832
12197
  } | null;
12198
+ launchpad?: {
12199
+ __typename?: 'LaunchpadData';
12200
+ completed?: boolean | null;
12201
+ completedAt?: number | null;
12202
+ completedSlot?: number | null;
12203
+ graduationPercent?: number | null;
12204
+ migrated?: boolean | null;
12205
+ migratedAt?: number | null;
12206
+ migratedPoolAddress?: string | null;
12207
+ migratedSlot?: number | null;
12208
+ poolAddress?: string | null;
12209
+ } | null;
11833
12210
  socialLinks?: {
11834
12211
  __typename?: 'SocialLinks';
11835
12212
  bitcointalk?: string | null;
@@ -12850,6 +13227,18 @@ export type GetDetailedPairsStatsQuery = {
12850
13227
  symbol: string;
12851
13228
  totalSupply?: string | null;
12852
13229
  } | null;
13230
+ launchpad?: {
13231
+ __typename?: 'LaunchpadData';
13232
+ completed?: boolean | null;
13233
+ completedAt?: number | null;
13234
+ completedSlot?: number | null;
13235
+ graduationPercent?: number | null;
13236
+ migrated?: boolean | null;
13237
+ migratedAt?: number | null;
13238
+ migratedPoolAddress?: string | null;
13239
+ migratedSlot?: number | null;
13240
+ poolAddress?: string | null;
13241
+ } | null;
12853
13242
  socialLinks?: {
12854
13243
  __typename?: 'SocialLinks';
12855
13244
  bitcointalk?: string | null;
@@ -12917,6 +13306,18 @@ export type GetDetailedPairsStatsQuery = {
12917
13306
  symbol: string;
12918
13307
  totalSupply?: string | null;
12919
13308
  } | null;
13309
+ launchpad?: {
13310
+ __typename?: 'LaunchpadData';
13311
+ completed?: boolean | null;
13312
+ completedAt?: number | null;
13313
+ completedSlot?: number | null;
13314
+ graduationPercent?: number | null;
13315
+ migrated?: boolean | null;
13316
+ migratedAt?: number | null;
13317
+ migratedPoolAddress?: string | null;
13318
+ migratedSlot?: number | null;
13319
+ poolAddress?: string | null;
13320
+ } | null;
12920
13321
  socialLinks?: {
12921
13322
  __typename?: 'SocialLinks';
12922
13323
  bitcointalk?: string | null;
@@ -13913,50 +14314,6 @@ export type GetExchangesQuery = {
13913
14314
  tradeUrl?: string | null;
13914
14315
  }>;
13915
14316
  };
13916
- export type GetLatestTokensQueryVariables = Exact<{
13917
- limit?: InputMaybe<Scalars['Int']['input']>;
13918
- networkFilter?: InputMaybe<Array<Scalars['Int']['input']> | Scalars['Int']['input']>;
13919
- offset?: InputMaybe<Scalars['Int']['input']>;
13920
- }>;
13921
- export type GetLatestTokensQuery = {
13922
- __typename?: 'Query';
13923
- getLatestTokens?: {
13924
- __typename?: 'LatestTokenConnection';
13925
- items: Array<{
13926
- __typename?: 'LatestToken';
13927
- blockHash: string;
13928
- blockNumber: number;
13929
- creatorAddress: string;
13930
- creatorBalance: string;
13931
- decimals: number;
13932
- id: string;
13933
- networkId: number;
13934
- timeCreated: number;
13935
- tokenAddress: string;
13936
- tokenName: string;
13937
- tokenSymbol: string;
13938
- totalSupply: string;
13939
- traceIndex: number;
13940
- transactionHash: string;
13941
- transactionIndex: number;
13942
- simulationResults: Array<{
13943
- __typename?: 'LatestTokenSimResults';
13944
- buyGasUsed?: string | null;
13945
- buySuccess?: boolean | null;
13946
- buyTax?: string | null;
13947
- canRenounceOwnership?: boolean | null;
13948
- canTransferOwnership?: boolean | null;
13949
- isOwnerRenounced?: boolean | null;
13950
- maxBuyAmount?: string | null;
13951
- maxSellAmount?: string | null;
13952
- openTradingCall?: string | null;
13953
- sellGasUsed?: string | null;
13954
- sellSuccess?: boolean | null;
13955
- sellTax?: string | null;
13956
- }>;
13957
- }>;
13958
- } | null;
13959
- };
13960
14317
  export type GetNetworkStatsQueryVariables = Exact<{
13961
14318
  exchangeAddress?: InputMaybe<Scalars['String']['input']>;
13962
14319
  networkId: Scalars['Int']['input'];
@@ -13968,12 +14325,19 @@ export type GetNetworkStatsQuery = {
13968
14325
  liquidity: number;
13969
14326
  transactions1: number;
13970
14327
  transactions4: number;
14328
+ transactions5m: number;
13971
14329
  transactions12: number;
13972
14330
  transactions24: number;
13973
14331
  volume1: number;
13974
14332
  volume4: number;
14333
+ volume5m: number;
13975
14334
  volume12: number;
13976
14335
  volume24: number;
14336
+ volumeChange1: number;
14337
+ volumeChange4: number;
14338
+ volumeChange5m: number;
14339
+ volumeChange12: number;
14340
+ volumeChange24: number;
13977
14341
  } | null;
13978
14342
  };
13979
14343
  export type GetNetworkStatusQueryVariables = Exact<{
@@ -15941,6 +16305,7 @@ export type HoldersQuery = {
15941
16305
  address: string;
15942
16306
  balance: string;
15943
16307
  firstHeldTimestamp?: number | null;
16308
+ networkId: number;
15944
16309
  shiftedBalance: number;
15945
16310
  tokenAddress: string;
15946
16311
  tokenId: string;
@@ -15964,7 +16329,7 @@ export type LiquidityLocksQuery = {
15964
16329
  initialAmountToken0: string;
15965
16330
  initialAmountToken1: string;
15966
16331
  liquidityAmount: string;
15967
- liquidityProtocol: LiquidityProtocol;
16332
+ liquidityProtocolV2: string;
15968
16333
  lockProtocol: LiquidityLockProtocol;
15969
16334
  lockerAddress: string;
15970
16335
  networkId: number;
@@ -16072,6 +16437,18 @@ export type ListPairsForTokenQuery = {
16072
16437
  symbol: string;
16073
16438
  totalSupply?: string | null;
16074
16439
  } | null;
16440
+ launchpad?: {
16441
+ __typename?: 'LaunchpadData';
16442
+ completed?: boolean | null;
16443
+ completedAt?: number | null;
16444
+ completedSlot?: number | null;
16445
+ graduationPercent?: number | null;
16446
+ migrated?: boolean | null;
16447
+ migratedAt?: number | null;
16448
+ migratedPoolAddress?: string | null;
16449
+ migratedSlot?: number | null;
16450
+ poolAddress?: string | null;
16451
+ } | null;
16075
16452
  socialLinks?: {
16076
16453
  __typename?: 'SocialLinks';
16077
16454
  bitcointalk?: string | null;
@@ -16139,6 +16516,18 @@ export type ListPairsForTokenQuery = {
16139
16516
  symbol: string;
16140
16517
  totalSupply?: string | null;
16141
16518
  } | null;
16519
+ launchpad?: {
16520
+ __typename?: 'LaunchpadData';
16521
+ completed?: boolean | null;
16522
+ completedAt?: number | null;
16523
+ completedSlot?: number | null;
16524
+ graduationPercent?: number | null;
16525
+ migrated?: boolean | null;
16526
+ migratedAt?: number | null;
16527
+ migratedPoolAddress?: string | null;
16528
+ migratedSlot?: number | null;
16529
+ poolAddress?: string | null;
16530
+ } | null;
16142
16531
  socialLinks?: {
16143
16532
  __typename?: 'SocialLinks';
16144
16533
  bitcointalk?: string | null;
@@ -16222,6 +16611,18 @@ export type ListPairsWithMetadataForTokenQuery = {
16222
16611
  symbol: string;
16223
16612
  totalSupply?: string | null;
16224
16613
  } | null;
16614
+ launchpad?: {
16615
+ __typename?: 'LaunchpadData';
16616
+ completed?: boolean | null;
16617
+ completedAt?: number | null;
16618
+ completedSlot?: number | null;
16619
+ graduationPercent?: number | null;
16620
+ migrated?: boolean | null;
16621
+ migratedAt?: number | null;
16622
+ migratedPoolAddress?: string | null;
16623
+ migratedSlot?: number | null;
16624
+ poolAddress?: string | null;
16625
+ } | null;
16225
16626
  socialLinks?: {
16226
16627
  __typename?: 'SocialLinks';
16227
16628
  bitcointalk?: string | null;
@@ -16316,6 +16717,18 @@ export type ListPairsWithMetadataForTokenQuery = {
16316
16717
  symbol: string;
16317
16718
  totalSupply?: string | null;
16318
16719
  } | null;
16720
+ launchpad?: {
16721
+ __typename?: 'LaunchpadData';
16722
+ completed?: boolean | null;
16723
+ completedAt?: number | null;
16724
+ completedSlot?: number | null;
16725
+ graduationPercent?: number | null;
16726
+ migrated?: boolean | null;
16727
+ migratedAt?: number | null;
16728
+ migratedPoolAddress?: string | null;
16729
+ migratedSlot?: number | null;
16730
+ poolAddress?: string | null;
16731
+ } | null;
16319
16732
  socialLinks?: {
16320
16733
  __typename?: 'SocialLinks';
16321
16734
  bitcointalk?: string | null;
@@ -16383,6 +16796,18 @@ export type ListPairsWithMetadataForTokenQuery = {
16383
16796
  symbol: string;
16384
16797
  totalSupply?: string | null;
16385
16798
  } | null;
16799
+ launchpad?: {
16800
+ __typename?: 'LaunchpadData';
16801
+ completed?: boolean | null;
16802
+ completedAt?: number | null;
16803
+ completedSlot?: number | null;
16804
+ graduationPercent?: number | null;
16805
+ migrated?: boolean | null;
16806
+ migratedAt?: number | null;
16807
+ migratedPoolAddress?: string | null;
16808
+ migratedSlot?: number | null;
16809
+ poolAddress?: string | null;
16810
+ } | null;
16386
16811
  socialLinks?: {
16387
16812
  __typename?: 'SocialLinks';
16388
16813
  bitcointalk?: string | null;
@@ -16451,6 +16876,18 @@ export type ListPairsWithMetadataForTokenQuery = {
16451
16876
  symbol: string;
16452
16877
  totalSupply?: string | null;
16453
16878
  } | null;
16879
+ launchpad?: {
16880
+ __typename?: 'LaunchpadData';
16881
+ completed?: boolean | null;
16882
+ completedAt?: number | null;
16883
+ completedSlot?: number | null;
16884
+ graduationPercent?: number | null;
16885
+ migrated?: boolean | null;
16886
+ migratedAt?: number | null;
16887
+ migratedPoolAddress?: string | null;
16888
+ migratedSlot?: number | null;
16889
+ poolAddress?: string | null;
16890
+ } | null;
16454
16891
  socialLinks?: {
16455
16892
  __typename?: 'SocialLinks';
16456
16893
  bitcointalk?: string | null;
@@ -16644,6 +17081,18 @@ export type PairMetadataQuery = {
16644
17081
  symbol: string;
16645
17082
  totalSupply?: string | null;
16646
17083
  } | null;
17084
+ launchpad?: {
17085
+ __typename?: 'LaunchpadData';
17086
+ completed?: boolean | null;
17087
+ completedAt?: number | null;
17088
+ completedSlot?: number | null;
17089
+ graduationPercent?: number | null;
17090
+ migrated?: boolean | null;
17091
+ migratedAt?: number | null;
17092
+ migratedPoolAddress?: string | null;
17093
+ migratedSlot?: number | null;
17094
+ poolAddress?: string | null;
17095
+ } | null;
16647
17096
  socialLinks?: {
16648
17097
  __typename?: 'SocialLinks';
16649
17098
  bitcointalk?: string | null;
@@ -16711,6 +17160,18 @@ export type PairMetadataQuery = {
16711
17160
  symbol: string;
16712
17161
  totalSupply?: string | null;
16713
17162
  } | null;
17163
+ launchpad?: {
17164
+ __typename?: 'LaunchpadData';
17165
+ completed?: boolean | null;
17166
+ completedAt?: number | null;
17167
+ completedSlot?: number | null;
17168
+ graduationPercent?: number | null;
17169
+ migrated?: boolean | null;
17170
+ migratedAt?: number | null;
17171
+ migratedPoolAddress?: string | null;
17172
+ migratedSlot?: number | null;
17173
+ poolAddress?: string | null;
17174
+ } | null;
16714
17175
  socialLinks?: {
16715
17176
  __typename?: 'SocialLinks';
16716
17177
  bitcointalk?: string | null;
@@ -16782,6 +17243,7 @@ export type PrimeHoldersQuery = {
16782
17243
  address: string;
16783
17244
  balance: string;
16784
17245
  firstHeldTimestamp?: number | null;
17246
+ networkId: number;
16785
17247
  shiftedBalance: number;
16786
17248
  tokenAddress: string;
16787
17249
  tokenId: string;
@@ -16870,6 +17332,18 @@ export type TokenQuery = {
16870
17332
  symbol: string;
16871
17333
  totalSupply?: string | null;
16872
17334
  } | null;
17335
+ launchpad?: {
17336
+ __typename?: 'LaunchpadData';
17337
+ completed?: boolean | null;
17338
+ completedAt?: number | null;
17339
+ completedSlot?: number | null;
17340
+ graduationPercent?: number | null;
17341
+ migrated?: boolean | null;
17342
+ migratedAt?: number | null;
17343
+ migratedPoolAddress?: string | null;
17344
+ migratedSlot?: number | null;
17345
+ poolAddress?: string | null;
17346
+ } | null;
16873
17347
  socialLinks?: {
16874
17348
  __typename?: 'SocialLinks';
16875
17349
  bitcointalk?: string | null;
@@ -16947,6 +17421,38 @@ export type TokenSparklinesQuery = {
16947
17421
  }>;
16948
17422
  }>;
16949
17423
  };
17424
+ export type TokenTopTradersQueryVariables = Exact<{
17425
+ input: TokenTopTradersInput;
17426
+ }>;
17427
+ export type TokenTopTradersQuery = {
17428
+ __typename?: 'Query';
17429
+ tokenTopTraders: {
17430
+ __typename?: 'TokenTopTradersConnection';
17431
+ networkId: number;
17432
+ offset?: number | null;
17433
+ tokenAddress: string;
17434
+ tradingPeriod: TradingPeriod;
17435
+ items: Array<{
17436
+ __typename?: 'TokenTopTrader';
17437
+ amountBoughtUsd: string;
17438
+ amountSoldUsd: string;
17439
+ buys: number;
17440
+ firstTransactionAt?: number | null;
17441
+ lastTransactionAt: number;
17442
+ networkId: number;
17443
+ realizedProfitPercentage: number;
17444
+ realizedProfitUsd: string;
17445
+ sells: number;
17446
+ singleTokenAcquisitionCostUsd: string;
17447
+ tokenAddress: string;
17448
+ tokenAmountBought: string;
17449
+ tokenAmountSold: string;
17450
+ tokenBalance: string;
17451
+ volumeUsd: string;
17452
+ walletAddress: string;
17453
+ } | null>;
17454
+ };
17455
+ };
16950
17456
  export type TokensQueryVariables = Exact<{
16951
17457
  ids?: InputMaybe<Array<TokenInput> | TokenInput>;
16952
17458
  }>;
@@ -16996,6 +17502,18 @@ export type TokensQuery = {
16996
17502
  symbol: string;
16997
17503
  totalSupply?: string | null;
16998
17504
  } | null;
17505
+ launchpad?: {
17506
+ __typename?: 'LaunchpadData';
17507
+ completed?: boolean | null;
17508
+ completedAt?: number | null;
17509
+ completedSlot?: number | null;
17510
+ graduationPercent?: number | null;
17511
+ migrated?: boolean | null;
17512
+ migratedAt?: number | null;
17513
+ migratedPoolAddress?: string | null;
17514
+ migratedSlot?: number | null;
17515
+ poolAddress?: string | null;
17516
+ } | null;
16999
17517
  socialLinks?: {
17000
17518
  __typename?: 'SocialLinks';
17001
17519
  bitcointalk?: string | null;
@@ -17060,6 +17578,23 @@ export type WalletNftCollectionsQuery = {
17060
17578
  }>;
17061
17579
  };
17062
17580
  };
17581
+ export type OnBalanceUpdatedSubscriptionVariables = Exact<{
17582
+ walletAddress: Scalars['String']['input'];
17583
+ }>;
17584
+ export type OnBalanceUpdatedSubscription = {
17585
+ __typename?: 'Subscription';
17586
+ onBalanceUpdated: {
17587
+ __typename?: 'Balance';
17588
+ address: string;
17589
+ balance: string;
17590
+ firstHeldTimestamp?: number | null;
17591
+ networkId: number;
17592
+ shiftedBalance: number;
17593
+ tokenAddress: string;
17594
+ tokenId: string;
17595
+ walletId: string;
17596
+ };
17597
+ };
17063
17598
  export type OnBarsUpdatedSubscriptionVariables = Exact<{
17064
17599
  pairId?: InputMaybe<Scalars['String']['input']>;
17065
17600
  quoteToken?: InputMaybe<QuoteToken>;
@@ -18069,6 +18604,7 @@ export type OnEventLabelCreatedSubscription = {
18069
18604
  export type OnEventsCreatedSubscriptionVariables = Exact<{
18070
18605
  address?: InputMaybe<Scalars['String']['input']>;
18071
18606
  id?: InputMaybe<Scalars['String']['input']>;
18607
+ networkId?: InputMaybe<Scalars['Int']['input']>;
18072
18608
  quoteToken?: InputMaybe<QuoteToken>;
18073
18609
  }>;
18074
18610
  export type OnEventsCreatedSubscription = {
@@ -18185,6 +18721,7 @@ export type OnHoldersUpdatedSubscription = {
18185
18721
  address: string;
18186
18722
  balance: string;
18187
18723
  firstHeldTimestamp?: number | null;
18724
+ networkId: number;
18188
18725
  shiftedBalance: number;
18189
18726
  tokenAddress: string;
18190
18727
  tokenId: string;
@@ -18283,6 +18820,105 @@ export type OnLatestTokensSubscription = {
18283
18820
  }>;
18284
18821
  } | null;
18285
18822
  };
18823
+ export type OnLaunchpadTokenEventSubscriptionVariables = Exact<{
18824
+ input?: InputMaybe<OnLaunchpadTokenEventInput>;
18825
+ }>;
18826
+ export type OnLaunchpadTokenEventSubscription = {
18827
+ __typename?: 'Subscription';
18828
+ onLaunchpadTokenEvent: {
18829
+ __typename?: 'LaunchpadTokenEventOutput';
18830
+ address: string;
18831
+ buyCount1?: number | null;
18832
+ eventType: LaunchpadTokenEventType;
18833
+ holders?: number | null;
18834
+ marketCap?: string | null;
18835
+ networkId: number;
18836
+ price?: number | null;
18837
+ protocol: string;
18838
+ sellCount1?: number | null;
18839
+ transactions1?: number | null;
18840
+ volume1?: number | null;
18841
+ token: {
18842
+ __typename?: 'EnhancedToken';
18843
+ address: string;
18844
+ cmcId?: number | null;
18845
+ createBlockNumber?: number | null;
18846
+ createTransactionHash?: string | null;
18847
+ createdAt?: number | null;
18848
+ creatorAddress?: string | null;
18849
+ decimals: number;
18850
+ freezable?: string | null;
18851
+ id: string;
18852
+ isScam?: boolean | null;
18853
+ mintable?: string | null;
18854
+ name?: string | null;
18855
+ networkId: number;
18856
+ symbol?: string | null;
18857
+ exchanges?: Array<{
18858
+ __typename?: 'Exchange';
18859
+ address: string;
18860
+ color?: string | null;
18861
+ exchangeVersion?: string | null;
18862
+ iconUrl?: string | null;
18863
+ id: string;
18864
+ name?: string | null;
18865
+ networkId: number;
18866
+ tradeUrl?: string | null;
18867
+ }> | null;
18868
+ info?: {
18869
+ __typename?: 'TokenInfo';
18870
+ address: string;
18871
+ circulatingSupply?: string | null;
18872
+ cmcId?: number | null;
18873
+ description?: string | null;
18874
+ id: string;
18875
+ imageBannerUrl?: string | null;
18876
+ imageLargeUrl?: string | null;
18877
+ imageSmallUrl?: string | null;
18878
+ imageThumbUrl?: string | null;
18879
+ isScam?: boolean | null;
18880
+ name?: string | null;
18881
+ networkId: number;
18882
+ symbol: string;
18883
+ totalSupply?: string | null;
18884
+ } | null;
18885
+ launchpad?: {
18886
+ __typename?: 'LaunchpadData';
18887
+ completed?: boolean | null;
18888
+ completedAt?: number | null;
18889
+ completedSlot?: number | null;
18890
+ graduationPercent?: number | null;
18891
+ migrated?: boolean | null;
18892
+ migratedAt?: number | null;
18893
+ migratedPoolAddress?: string | null;
18894
+ migratedSlot?: number | null;
18895
+ poolAddress?: string | null;
18896
+ } | null;
18897
+ socialLinks?: {
18898
+ __typename?: 'SocialLinks';
18899
+ bitcointalk?: string | null;
18900
+ blog?: string | null;
18901
+ coingecko?: string | null;
18902
+ coinmarketcap?: string | null;
18903
+ discord?: string | null;
18904
+ email?: string | null;
18905
+ facebook?: string | null;
18906
+ github?: string | null;
18907
+ instagram?: string | null;
18908
+ linkedin?: string | null;
18909
+ reddit?: string | null;
18910
+ slack?: string | null;
18911
+ telegram?: string | null;
18912
+ twitch?: string | null;
18913
+ twitter?: string | null;
18914
+ website?: string | null;
18915
+ wechat?: string | null;
18916
+ whitepaper?: string | null;
18917
+ youtube?: string | null;
18918
+ } | null;
18919
+ };
18920
+ };
18921
+ };
18286
18922
  export type OnNftAssetsCreatedSubscriptionVariables = Exact<{
18287
18923
  address?: InputMaybe<Scalars['String']['input']>;
18288
18924
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -18939,6 +19575,18 @@ export type OnPairMetadataUpdatedSubscription = {
18939
19575
  symbol: string;
18940
19576
  totalSupply?: string | null;
18941
19577
  } | null;
19578
+ launchpad?: {
19579
+ __typename?: 'LaunchpadData';
19580
+ completed?: boolean | null;
19581
+ completedAt?: number | null;
19582
+ completedSlot?: number | null;
19583
+ graduationPercent?: number | null;
19584
+ migrated?: boolean | null;
19585
+ migratedAt?: number | null;
19586
+ migratedPoolAddress?: string | null;
19587
+ migratedSlot?: number | null;
19588
+ poolAddress?: string | null;
19589
+ } | null;
18942
19590
  socialLinks?: {
18943
19591
  __typename?: 'SocialLinks';
18944
19592
  bitcointalk?: string | null;
@@ -19006,6 +19654,18 @@ export type OnPairMetadataUpdatedSubscription = {
19006
19654
  symbol: string;
19007
19655
  totalSupply?: string | null;
19008
19656
  } | null;
19657
+ launchpad?: {
19658
+ __typename?: 'LaunchpadData';
19659
+ completed?: boolean | null;
19660
+ completedAt?: number | null;
19661
+ completedSlot?: number | null;
19662
+ graduationPercent?: number | null;
19663
+ migrated?: boolean | null;
19664
+ migratedAt?: number | null;
19665
+ migratedPoolAddress?: string | null;
19666
+ migratedSlot?: number | null;
19667
+ poolAddress?: string | null;
19668
+ } | null;
19009
19669
  socialLinks?: {
19010
19670
  __typename?: 'SocialLinks';
19011
19671
  bitcointalk?: string | null;
@@ -19233,6 +19893,7 @@ export type OnSimulateTokenContractSubscription = {
19233
19893
  };
19234
19894
  };
19235
19895
  export type OnTokenBarsUpdatedSubscriptionVariables = Exact<{
19896
+ networkId?: InputMaybe<Scalars['Int']['input']>;
19236
19897
  statsType?: InputMaybe<TokenPairStatisticsType>;
19237
19898
  tokenId?: InputMaybe<Scalars['String']['input']>;
19238
19899
  }>;
@@ -20215,11 +20876,6 @@ export declare const GetEventLabelsDocument: DocumentNode<GetEventLabelsQuery, E
20215
20876
  export declare const GetExchangesDocument: DocumentNode<GetExchangesQuery, Exact<{
20216
20877
  showNameless?: InputMaybe<boolean> | undefined;
20217
20878
  }>>;
20218
- export declare const GetLatestTokensDocument: DocumentNode<GetLatestTokensQuery, Exact<{
20219
- limit?: InputMaybe<number> | undefined;
20220
- networkFilter?: InputMaybe<number | number[]> | undefined;
20221
- offset?: InputMaybe<number> | undefined;
20222
- }>>;
20223
20879
  export declare const GetNetworkStatsDocument: DocumentNode<GetNetworkStatsQuery, Exact<{
20224
20880
  exchangeAddress?: InputMaybe<string> | undefined;
20225
20881
  networkId: Scalars['Int']['input'];
@@ -20424,6 +21080,9 @@ export declare const TokenLifecycleEventsDocument: DocumentNode<TokenLifecycleEv
20424
21080
  export declare const TokenSparklinesDocument: DocumentNode<TokenSparklinesQuery, Exact<{
20425
21081
  input: TokenSparklineInput;
20426
21082
  }>>;
21083
+ export declare const TokenTopTradersDocument: DocumentNode<TokenTopTradersQuery, Exact<{
21084
+ input: TokenTopTradersInput;
21085
+ }>>;
20427
21086
  export declare const TokensDocument: DocumentNode<TokensQuery, Exact<{
20428
21087
  ids?: InputMaybe<TokenInput | TokenInput[]> | undefined;
20429
21088
  }>>;
@@ -20436,6 +21095,9 @@ export declare const WalletNftCollectionAssetsDocument: DocumentNode<WalletNftCo
20436
21095
  export declare const WalletNftCollectionsDocument: DocumentNode<WalletNftCollectionsQuery, Exact<{
20437
21096
  input: WalletNftCollectionsInput;
20438
21097
  }>>;
21098
+ export declare const OnBalanceUpdatedDocument: DocumentNode<OnBalanceUpdatedSubscription, Exact<{
21099
+ walletAddress: Scalars['String']['input'];
21100
+ }>>;
20439
21101
  export declare const OnBarsUpdatedDocument: DocumentNode<OnBarsUpdatedSubscription, Exact<{
20440
21102
  pairId?: InputMaybe<string> | undefined;
20441
21103
  quoteToken?: InputMaybe<QuoteToken> | undefined;
@@ -20452,6 +21114,7 @@ export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreat
20452
21114
  export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, Exact<{
20453
21115
  address?: InputMaybe<string> | undefined;
20454
21116
  id?: InputMaybe<string> | undefined;
21117
+ networkId?: InputMaybe<number> | undefined;
20455
21118
  quoteToken?: InputMaybe<QuoteToken> | undefined;
20456
21119
  }>>;
20457
21120
  export declare const OnHoldersUpdatedDocument: DocumentNode<OnHoldersUpdatedSubscription, Exact<{
@@ -20466,6 +21129,9 @@ export declare const OnLatestTokensDocument: DocumentNode<OnLatestTokensSubscrip
20466
21129
  networkId?: InputMaybe<number> | undefined;
20467
21130
  tokenAddress?: InputMaybe<string> | undefined;
20468
21131
  }>>;
21132
+ export declare const OnLaunchpadTokenEventDocument: DocumentNode<OnLaunchpadTokenEventSubscription, Exact<{
21133
+ input?: InputMaybe<OnLaunchpadTokenEventInput> | undefined;
21134
+ }>>;
20469
21135
  export declare const OnNftAssetsCreatedDocument: DocumentNode<OnNftAssetsCreatedSubscription, Exact<{
20470
21136
  address?: InputMaybe<string> | undefined;
20471
21137
  networkId?: InputMaybe<number> | undefined;
@@ -20500,6 +21166,7 @@ export declare const OnSimulateTokenContractDocument: DocumentNode<OnSimulateTok
20500
21166
  simulationId?: InputMaybe<string> | undefined;
20501
21167
  }>>;
20502
21168
  export declare const OnTokenBarsUpdatedDocument: DocumentNode<OnTokenBarsUpdatedSubscription, Exact<{
21169
+ networkId?: InputMaybe<number> | undefined;
20503
21170
  statsType?: InputMaybe<TokenPairStatisticsType> | undefined;
20504
21171
  tokenId?: InputMaybe<string> | undefined;
20505
21172
  }>>;