@codex-data/sdk 1.0.35 → 1.0.37

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 (47) hide show
  1. package/dist/resources/graphql.d.ts +69 -24
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +5 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/scripts/generateNetworkConfigs.js +6 -1
  6. package/dist/scripts/generateNetworkConfigs.js.map +1 -1
  7. package/dist/sdk/Subscribe.js +9 -9
  8. package/dist/sdk/generated/gql.d.ts +46 -46
  9. package/dist/sdk/generated/gql.d.ts.map +1 -1
  10. package/dist/sdk/generated/gql.js +23 -23
  11. package/dist/sdk/generated/gql.js.map +1 -1
  12. package/dist/sdk/generated/graphql.d.ts +95 -65
  13. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  14. package/dist/sdk/generated/graphql.js +28 -25
  15. package/dist/sdk/generated/graphql.js.map +1 -1
  16. package/package.json +1 -1
  17. package/src/resources/generated_queries/Balances.graphql +0 -1
  18. package/src/resources/generated_queries/FilterPairs.graphql +1 -4
  19. package/src/resources/generated_queries/FilterTokens.graphql +9 -5
  20. package/src/resources/generated_queries/GetBars.graphql +1 -2
  21. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -1
  22. package/src/resources/generated_queries/GetDetailedPairStats.graphql +1 -2
  23. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +1 -2
  24. package/src/resources/generated_queries/GetTokenBars.graphql +0 -1
  25. package/src/resources/generated_queries/GetTokenPrices.graphql +1 -1
  26. package/src/resources/generated_queries/Holders.graphql +0 -2
  27. package/src/resources/generated_queries/ListPairsForToken.graphql +1 -2
  28. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +1 -4
  29. package/src/resources/generated_queries/PairMetadata.graphql +0 -2
  30. package/src/resources/generated_queries/PrimeHolders.graphql +0 -1
  31. package/src/resources/generated_queries/Token.graphql +0 -1
  32. package/src/resources/generated_queries/Tokens.graphql +0 -1
  33. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -1
  34. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -2
  35. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -1
  36. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +7 -1
  37. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +10 -4
  38. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -1
  39. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -1
  40. package/src/resources/graphql.schema.json +338 -74
  41. package/src/resources/graphql.ts +69 -24
  42. package/src/resources/networkConfigs.json +33 -2
  43. package/src/resources/schema.graphql +72 -26
  44. package/src/scripts/generateNetworkConfigs.ts +10 -1
  45. package/src/sdk/Subscribe.ts +9 -9
  46. package/src/sdk/generated/gql.ts +69 -69
  47. package/src/sdk/generated/graphql.ts +116 -70
@@ -846,12 +846,8 @@ export type DetailedPairStatsStringMetrics = {
846
846
  /** Detailed stats for a token within a pair. */
847
847
  export type DetailedStats = {
848
848
  __typename?: 'DetailedStats';
849
- /** Number of aggregated buckets specified in input */
850
- bucketCount?: Maybe<Scalars['Int']['output']>;
851
849
  /** The ID of the pair (`pairAddress:networkId`). */
852
850
  pairId: Scalars['String']['output'];
853
- /** The timestamp specified as input to the query */
854
- queryTimestamp?: Maybe<Scalars['Int']['output']>;
855
851
  /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
856
852
  statsType: TokenPairStatisticsType;
857
853
  /** The breakdown of stats over a 24 hour window. */
@@ -1039,8 +1035,6 @@ export type EnhancedToken = {
1039
1035
  name?: Maybe<Scalars['String']['output']>;
1040
1036
  /** The network ID the token is deployed on. */
1041
1037
  networkId: Scalars['Int']['output'];
1042
- /** The pair that the token is contained in */
1043
- pairId?: Maybe<Scalars['String']['output']>;
1044
1038
  /**
1045
1039
  * The amount of this token in the pair.
1046
1040
  * @deprecated Pooled can be found on the pair instead
@@ -1570,6 +1564,8 @@ export type GetNftPoolsResponse = {
1570
1564
  export type GetPriceInput = {
1571
1565
  /** The contract address of the token. */
1572
1566
  address: Scalars['String']['input'];
1567
+ /** The block number for the price. It must be provided in addition to the timestamp to get a per block breakdown at a specific timestamp. */
1568
+ blockNumber?: InputMaybe<Scalars['Int']['input']>;
1573
1569
  /**
1574
1570
  * The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`.
1575
1571
  * @deprecated This isn't taken into account anymore.
@@ -1629,8 +1625,6 @@ export type HoldersResponse = {
1629
1625
  items: Array<Balance>;
1630
1626
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1631
1627
  status: HoldersStatus;
1632
- /** the token Id */
1633
- tokenId?: Maybe<Scalars['String']['output']>;
1634
1628
  /** What percentage of the total supply do the top 10 holders hold. */
1635
1629
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1636
1630
  };
@@ -1886,12 +1880,22 @@ export type LaunchpadTokenEventOutput = {
1886
1880
  __typename?: 'LaunchpadTokenEventOutput';
1887
1881
  /** The contract address of the token. */
1888
1882
  address: Scalars['String']['output'];
1889
- /** The number of buys in the last 24 hours. */
1883
+ /** The number of bundlers that bought the token */
1884
+ bundlerCount?: Maybe<Scalars['Float']['output']>;
1885
+ /** The percentage of the token that is held by bundlers */
1886
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
1887
+ /** The number of buys in the last hour. */
1890
1888
  buyCount1?: Maybe<Scalars['Int']['output']>;
1889
+ /** The percentage of the token that is held by developers */
1890
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
1891
1891
  /** The type of event. */
1892
1892
  eventType: LaunchpadTokenEventType;
1893
1893
  /** The number of holders. */
1894
1894
  holders?: Maybe<Scalars['Int']['output']>;
1895
+ /** The number of insiders that bought the token */
1896
+ insiderCount?: Maybe<Scalars['Float']['output']>;
1897
+ /** The percentage of the token that is held by insiders */
1898
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
1895
1899
  /** The name of the launchpad. */
1896
1900
  launchpadName: Scalars['String']['output'];
1897
1901
  /** The liquidity of the token's top pair. */
@@ -1904,13 +1908,17 @@ export type LaunchpadTokenEventOutput = {
1904
1908
  price?: Maybe<Scalars['Float']['output']>;
1905
1909
  /** The protocol of the token. */
1906
1910
  protocol: Scalars['String']['output'];
1907
- /** The number of sells in the last 24 hours. */
1911
+ /** The number of sells in the last hour. */
1908
1912
  sellCount1?: Maybe<Scalars['Int']['output']>;
1913
+ /** The number of snipers that bought the token */
1914
+ sniperCount?: Maybe<Scalars['Float']['output']>;
1915
+ /** The percentage of the token that is held by snipers */
1916
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
1909
1917
  /** Metadata for the token. */
1910
1918
  token: EnhancedToken;
1911
- /** The number of transactions in the last 24 hours. */
1919
+ /** The number of transactions in the last hour. */
1912
1920
  transactions1?: Maybe<Scalars['Int']['output']>;
1913
- /** The volume of the token in the last 24 hours. */
1921
+ /** The volume of the token in the last hour. */
1914
1922
  volume1?: Maybe<Scalars['Int']['output']>;
1915
1923
  };
1916
1924
  /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
@@ -1952,6 +1960,8 @@ export declare enum LaunchpadTokenProtocol {
1952
1960
  MeteoraDbc = "MeteoraDBC",
1953
1961
  /** Protocol name for Moonit (formerly Moonshot). */
1954
1962
  Moonit = "Moonit",
1963
+ /** Protocol name for Printr (EVM only - Printr tokens on Solana should be queried with launchpadName as Printr uses MeteoraDBC on Solana). */
1964
+ Printr = "Printr",
1955
1965
  /** Protocol name for Pump.fun. */
1956
1966
  Pump = "Pump",
1957
1967
  /** Protocol name for Rainbow. */
@@ -4953,9 +4963,9 @@ export type OnEventsCreatedByMakerInput = {
4953
4963
  export type OnLaunchpadTokenEventBatchInput = {
4954
4964
  /** The type of event. */
4955
4965
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4956
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4966
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4957
4967
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4958
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4968
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4959
4969
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4960
4970
  /** The network ID that the token is deployed on. */
4961
4971
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4970,9 +4980,9 @@ export type OnLaunchpadTokenEventInput = {
4970
4980
  address?: InputMaybe<Scalars['String']['input']>;
4971
4981
  /** The type of event. */
4972
4982
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4973
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4983
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4974
4984
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4975
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4985
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4976
4986
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4977
4987
  /** The network ID that the token is deployed on. */
4978
4988
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5905,13 +5915,13 @@ export type Price = {
5905
5915
  __typename?: 'Price';
5906
5916
  /** The contract address of the token. */
5907
5917
  address: Scalars['String']['output'];
5918
+ /** The pool that emitted the swap generating this price */
5919
+ blockNumber?: Maybe<Scalars['Int']['output']>;
5908
5920
  /**
5909
5921
  * Ratio of how confident we are in the price
5910
5922
  * @deprecated Pricing no longer based on specific pools
5911
5923
  */
5912
5924
  confidence?: Maybe<Scalars['Float']['output']>;
5913
- /** The internal pool address for the price */
5914
- internalPoolAddress?: Maybe<Scalars['String']['output']>;
5915
5925
  /** The network ID the token is deployed on. */
5916
5926
  networkId: Scalars['Int']['output'];
5917
5927
  /**
@@ -6489,6 +6499,7 @@ export type Query = {
6489
6499
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6490
6500
  */
6491
6501
  getLatestTokens?: Maybe<LatestTokenConnection>;
6502
+ /** Returns a list of network configurations. */
6492
6503
  getNetworkConfigs: Array<NetworkConfig>;
6493
6504
  /** Returns metadata for a given network supported on Codex. */
6494
6505
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -7343,6 +7354,7 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
7343
7354
  export type SubscriptionOnPairMetadataUpdatedArgs = {
7344
7355
  id?: InputMaybe<Scalars['String']['input']>;
7345
7356
  quoteToken?: InputMaybe<QuoteToken>;
7357
+ useNonLiquidityTokenAsQuoteToken?: InputMaybe<Scalars['Boolean']['input']>;
7346
7358
  };
7347
7359
  export type SubscriptionOnPriceUpdatedArgs = {
7348
7360
  address?: InputMaybe<Scalars['String']['input']>;
@@ -7641,6 +7653,10 @@ export type TokenFilterResult = {
7641
7653
  __typename?: 'TokenFilterResult';
7642
7654
  /** @deprecated Age isn't supported - use createdAt instead */
7643
7655
  age?: Maybe<Scalars['Int']['output']>;
7656
+ /** The number of wallets that have bundled the token */
7657
+ bundlerCount?: Maybe<Scalars['Int']['output']>;
7658
+ /** The percentage of tokens held by bundlers */
7659
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
7644
7660
  /** The number of buys in the past hour. */
7645
7661
  buyCount1?: Maybe<Scalars['Int']['output']>;
7646
7662
  /** The number of buys in the past 4 hours. */
@@ -7675,6 +7691,8 @@ export type TokenFilterResult = {
7675
7691
  circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7676
7692
  /** The unix timestamp for the creation of the token's first pair. */
7677
7693
  createdAt?: Maybe<Scalars['Int']['output']>;
7694
+ /** The percentage of tokens held by the dev */
7695
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
7678
7696
  /** The exchanges the token is listed on. */
7679
7697
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
7680
7698
  /** @deprecated FDV isn't supported - use marketCap instead */
@@ -7691,6 +7709,10 @@ export type TokenFilterResult = {
7691
7709
  high24?: Maybe<Scalars['String']['output']>;
7692
7710
  /** The number of different wallets holding the token. */
7693
7711
  holders?: Maybe<Scalars['Int']['output']>;
7712
+ /** The number of wallets that have been an insider of the token */
7713
+ insiderCount?: Maybe<Scalars['Int']['output']>;
7714
+ /** The percentage of tokens held by insiders */
7715
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
7694
7716
  /** Whether the token has been flagged as a scam. */
7695
7717
  isScam?: Maybe<Scalars['Boolean']['output']>;
7696
7718
  /** The unix timestamp for the token's last transaction. */
@@ -7741,6 +7763,10 @@ export type TokenFilterResult = {
7741
7763
  sellVolume12?: Maybe<Scalars['String']['output']>;
7742
7764
  /** The sell volume in USD in the past 24 hours. */
7743
7765
  sellVolume24?: Maybe<Scalars['String']['output']>;
7766
+ /** The number of wallets that have sniped the token */
7767
+ sniperCount?: Maybe<Scalars['Int']['output']>;
7768
+ /** The percentage of tokens held by snipers */
7769
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
7744
7770
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7745
7771
  swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
7746
7772
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
@@ -7816,6 +7842,10 @@ export type TokenFilterResult = {
7816
7842
  export type TokenFilters = {
7817
7843
  /** @deprecated Age isn't supported - use createdAt instead */
7818
7844
  age?: InputMaybe<NumberFilter>;
7845
+ /** Filter by number of wallets that have bundled the token */
7846
+ bundlerCount?: InputMaybe<NumberFilter>;
7847
+ /** Filter by percentage of tokens held by bundlers */
7848
+ bundlerHeldPercentage?: InputMaybe<NumberFilter>;
7819
7849
  /** The number of buys in the past hour. */
7820
7850
  buyCount1?: InputMaybe<NumberFilter>;
7821
7851
  /** The number of buys in the past 4 hours. */
@@ -7852,6 +7882,8 @@ export type TokenFilters = {
7852
7882
  createdAt?: InputMaybe<NumberFilter>;
7853
7883
  /** The address of the creator of the token. */
7854
7884
  creatorAddress?: InputMaybe<Scalars['String']['input']>;
7885
+ /** Filter by percentage of tokens held by the dev */
7886
+ devHeldPercentage?: InputMaybe<NumberFilter>;
7855
7887
  /** The list of exchange contract addresses to filter by. */
7856
7888
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7857
7889
  /** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
@@ -7874,6 +7906,10 @@ export type TokenFilters = {
7874
7906
  holders?: InputMaybe<NumberFilter>;
7875
7907
  /** Whether to include tokens that have been flagged as scams. Default: false */
7876
7908
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
7909
+ /** Filter by number of wallets that have been an insider of the token */
7910
+ insiderCount?: InputMaybe<NumberFilter>;
7911
+ /** Filter by percentage of tokens held by insiders */
7912
+ insiderHeldPercentage?: InputMaybe<NumberFilter>;
7877
7913
  /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
7878
7914
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
7879
7915
  /** Only include verified tokens */
@@ -7890,7 +7926,7 @@ export type TokenFilters = {
7890
7926
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7891
7927
  /** The timestamp when the launchpad was migrated */
7892
7928
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7893
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
7929
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
7894
7930
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
7895
7931
  /** A list of launchpad protocols. */
7896
7932
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -7936,10 +7972,16 @@ export type TokenFilters = {
7936
7972
  sellVolume12?: InputMaybe<NumberFilter>;
7937
7973
  /** The sell volume in USD in the past 24 hours. */
7938
7974
  sellVolume24?: InputMaybe<NumberFilter>;
7975
+ /** Filter by number of wallets that have sniped the token */
7976
+ sniperCount?: InputMaybe<NumberFilter>;
7977
+ /** Filter by percentage of tokens held by snipers */
7978
+ sniperHeldPercentage?: InputMaybe<NumberFilter>;
7939
7979
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7940
7980
  swapPct1dOldWallet?: InputMaybe<NumberFilter>;
7941
7981
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7942
7982
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7983
+ /** The unix timestamp for the creation of the token. */
7984
+ tokenCreatedAt?: InputMaybe<NumberFilter>;
7943
7985
  /** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`. */
7944
7986
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7945
7987
  /** The number of transactions in the past hour. */
@@ -8234,6 +8276,7 @@ export declare enum TokenRankingAttribute {
8234
8276
  SellVolume24 = "sellVolume24",
8235
8277
  SwapPct1dOldWallet = "swapPct1dOldWallet",
8236
8278
  SwapPct7dOldWallet = "swapPct7dOldWallet",
8279
+ TokenCreatedAt = "tokenCreatedAt",
8237
8280
  TrendingScore = "trendingScore",
8238
8281
  TrendingScore1 = "trendingScore1",
8239
8282
  TrendingScore4 = "trendingScore4",
@@ -8420,7 +8463,7 @@ export type TokenWalletFilterResult = {
8420
8463
  lastTransactionAt: Scalars['Int']['output'];
8421
8464
  /** The network ID */
8422
8465
  networkId: Scalars['Int']['output'];
8423
- /** The purchased token balance */
8466
+ /** The total balance of tokens that the user has bought or sold. This value does not include tokens acquired through external transfers or unsupported methods. */
8424
8467
  purchasedTokenBalance: Scalars['String']['output'];
8425
8468
  /** Realized profit percentage in the past day */
8426
8469
  realizedProfitPercentage1d: Scalars['Float']['output'];
@@ -8486,9 +8529,9 @@ export type TokenWalletFilterResult = {
8486
8529
  tokenAmountSoldAll1y: Scalars['String']['output'];
8487
8530
  /** Token amount sold all in the past 30 days */
8488
8531
  tokenAmountSoldAll30d: Scalars['String']['output'];
8489
- /** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
8532
+ /** The total balance of tokens held by the user, reflecting the most recent update to the record. This balance includes all tokens, even those transferred in through unsupported methods or DEXs that are not tracked by our system. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
8490
8533
  tokenBalance: Scalars['String']['output'];
8491
- /** The current token balance in the wallet. */
8534
+ /** The current token balance in the wallet. This value is updated with every transfer and is therefore more accurate than tokenBalance. */
8492
8535
  tokenBalanceLive?: Maybe<Scalars['String']['output']>;
8493
8536
  /** The current USD value of the token balance. */
8494
8537
  tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
@@ -8693,6 +8736,8 @@ export type UnconfirmedSwapEventData = {
8693
8736
  };
8694
8737
  export type UniswapV4Data = {
8695
8738
  __typename?: 'UniswapV4Data';
8739
+ /** Whether the pool uses a dynamic fee. A fee of 0x80000 is used by Uniswap V4 to indicate a dynamic pool -- in such cases, the fee percentage on the pair should be disregarded. */
8740
+ isDynamicFee?: Maybe<Scalars['Boolean']['output']>;
8696
8741
  /** Whether the token is the network token for the Uniswap V4 pool. */
8697
8742
  isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
8698
8743
  type: Scalars['String']['output'];
@@ -9467,7 +9512,7 @@ export declare enum WalletTokenRankingAttribute {
9467
9512
  FirstTransactionAt = "firstTransactionAt",
9468
9513
  /** The last transaction timestamp */
9469
9514
  LastTransactionAt = "lastTransactionAt",
9470
- /** Purchased token balance */
9515
+ /** The total balance of tokens that the user has bought or sold. This value does not include tokens acquired through external transfers or unsupported methods. */
9471
9516
  PurchasedTokenBalance = "purchasedTokenBalance",
9472
9517
  /** Realized profit percentage in the past day */
9473
9518
  RealizedProfitPercentage1d = "realizedProfitPercentage1d",
@@ -9513,7 +9558,7 @@ export declare enum WalletTokenRankingAttribute {
9513
9558
  TokenAmountSold1y = "tokenAmountSold1y",
9514
9559
  /** Token amount sold in the past 30 days */
9515
9560
  TokenAmountSold30d = "tokenAmountSold30d",
9516
- /** Token balance */
9561
+ /** The total balance of tokens held by the user, reflecting the most recent update to the record. This balance includes all tokens, even those transferred in through unsupported methods or DEXs that are not tracked by our system. */
9517
9562
  TokenBalance = "tokenBalance"
9518
9563
  }
9519
9564
  /** Metadata for a washtrade label. */