@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
@@ -869,12 +869,8 @@ export type DetailedPairStatsStringMetrics = {
869
869
  /** Detailed stats for a token within a pair. */
870
870
  export type DetailedStats = {
871
871
  __typename?: 'DetailedStats';
872
- /** Number of aggregated buckets specified in input */
873
- bucketCount?: Maybe<Scalars['Int']['output']>;
874
872
  /** The ID of the pair (`pairAddress:networkId`). */
875
873
  pairId: Scalars['String']['output'];
876
- /** The timestamp specified as input to the query */
877
- queryTimestamp?: Maybe<Scalars['Int']['output']>;
878
874
  /** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
879
875
  statsType: TokenPairStatisticsType;
880
876
  /** The breakdown of stats over a 24 hour window. */
@@ -1071,8 +1067,6 @@ export type EnhancedToken = {
1071
1067
  name?: Maybe<Scalars['String']['output']>;
1072
1068
  /** The network ID the token is deployed on. */
1073
1069
  networkId: Scalars['Int']['output'];
1074
- /** The pair that the token is contained in */
1075
- pairId?: Maybe<Scalars['String']['output']>;
1076
1070
  /**
1077
1071
  * The amount of this token in the pair.
1078
1072
  * @deprecated Pooled can be found on the pair instead
@@ -1633,6 +1627,8 @@ export type GetNftPoolsResponse = {
1633
1627
  export type GetPriceInput = {
1634
1628
  /** The contract address of the token. */
1635
1629
  address: Scalars['String']['input'];
1630
+ /** 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. */
1631
+ blockNumber?: InputMaybe<Scalars['Int']['input']>;
1636
1632
  /**
1637
1633
  * 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`.
1638
1634
  * @deprecated This isn't taken into account anymore.
@@ -1698,8 +1694,6 @@ export type HoldersResponse = {
1698
1694
  items: Array<Balance>;
1699
1695
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1700
1696
  status: HoldersStatus;
1701
- /** the token Id */
1702
- tokenId?: Maybe<Scalars['String']['output']>;
1703
1697
  /** What percentage of the total supply do the top 10 holders hold. */
1704
1698
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1705
1699
  };
@@ -1970,12 +1964,22 @@ export type LaunchpadTokenEventOutput = {
1970
1964
  __typename?: 'LaunchpadTokenEventOutput';
1971
1965
  /** The contract address of the token. */
1972
1966
  address: Scalars['String']['output'];
1973
- /** The number of buys in the last 24 hours. */
1967
+ /** The number of bundlers that bought the token */
1968
+ bundlerCount?: Maybe<Scalars['Float']['output']>;
1969
+ /** The percentage of the token that is held by bundlers */
1970
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
1971
+ /** The number of buys in the last hour. */
1974
1972
  buyCount1?: Maybe<Scalars['Int']['output']>;
1973
+ /** The percentage of the token that is held by developers */
1974
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
1975
1975
  /** The type of event. */
1976
1976
  eventType: LaunchpadTokenEventType;
1977
1977
  /** The number of holders. */
1978
1978
  holders?: Maybe<Scalars['Int']['output']>;
1979
+ /** The number of insiders that bought the token */
1980
+ insiderCount?: Maybe<Scalars['Float']['output']>;
1981
+ /** The percentage of the token that is held by insiders */
1982
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
1979
1983
  /** The name of the launchpad. */
1980
1984
  launchpadName: Scalars['String']['output'];
1981
1985
  /** The liquidity of the token's top pair. */
@@ -1988,13 +1992,17 @@ export type LaunchpadTokenEventOutput = {
1988
1992
  price?: Maybe<Scalars['Float']['output']>;
1989
1993
  /** The protocol of the token. */
1990
1994
  protocol: Scalars['String']['output'];
1991
- /** The number of sells in the last 24 hours. */
1995
+ /** The number of sells in the last hour. */
1992
1996
  sellCount1?: Maybe<Scalars['Int']['output']>;
1997
+ /** The number of snipers that bought the token */
1998
+ sniperCount?: Maybe<Scalars['Float']['output']>;
1999
+ /** The percentage of the token that is held by snipers */
2000
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
1993
2001
  /** Metadata for the token. */
1994
2002
  token: EnhancedToken;
1995
- /** The number of transactions in the last 24 hours. */
2003
+ /** The number of transactions in the last hour. */
1996
2004
  transactions1?: Maybe<Scalars['Int']['output']>;
1997
- /** The volume of the token in the last 24 hours. */
2005
+ /** The volume of the token in the last hour. */
1998
2006
  volume1?: Maybe<Scalars['Int']['output']>;
1999
2007
  };
2000
2008
 
@@ -2038,6 +2046,8 @@ export enum LaunchpadTokenProtocol {
2038
2046
  MeteoraDbc = 'MeteoraDBC',
2039
2047
  /** Protocol name for Moonit (formerly Moonshot). */
2040
2048
  Moonit = 'Moonit',
2049
+ /** Protocol name for Printr (EVM only - Printr tokens on Solana should be queried with launchpadName as Printr uses MeteoraDBC on Solana). */
2050
+ Printr = 'Printr',
2041
2051
  /** Protocol name for Pump.fun. */
2042
2052
  Pump = 'Pump',
2043
2053
  /** Protocol name for Rainbow. */
@@ -5172,9 +5182,9 @@ export type OnEventsCreatedByMakerInput = {
5172
5182
  export type OnLaunchpadTokenEventBatchInput = {
5173
5183
  /** The type of event. */
5174
5184
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5175
- /** 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. */
5185
+ /** 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. */
5176
5186
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5177
- /** 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. */
5187
+ /** 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. */
5178
5188
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5179
5189
  /** The network ID that the token is deployed on. */
5180
5190
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5190,9 +5200,9 @@ export type OnLaunchpadTokenEventInput = {
5190
5200
  address?: InputMaybe<Scalars['String']['input']>;
5191
5201
  /** The type of event. */
5192
5202
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5193
- /** 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. */
5203
+ /** 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. */
5194
5204
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5195
- /** 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. */
5205
+ /** 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. */
5196
5206
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5197
5207
  /** The network ID that the token is deployed on. */
5198
5208
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6166,13 +6176,13 @@ export type Price = {
6166
6176
  __typename?: 'Price';
6167
6177
  /** The contract address of the token. */
6168
6178
  address: Scalars['String']['output'];
6179
+ /** The pool that emitted the swap generating this price */
6180
+ blockNumber?: Maybe<Scalars['Int']['output']>;
6169
6181
  /**
6170
6182
  * Ratio of how confident we are in the price
6171
6183
  * @deprecated Pricing no longer based on specific pools
6172
6184
  */
6173
6185
  confidence?: Maybe<Scalars['Float']['output']>;
6174
- /** The internal pool address for the price */
6175
- internalPoolAddress?: Maybe<Scalars['String']['output']>;
6176
6186
  /** The network ID the token is deployed on. */
6177
6187
  networkId: Scalars['Int']['output'];
6178
6188
  /**
@@ -6786,6 +6796,7 @@ export type Query = {
6786
6796
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6787
6797
  */
6788
6798
  getLatestTokens?: Maybe<LatestTokenConnection>;
6799
+ /** Returns a list of network configurations. */
6789
6800
  getNetworkConfigs: Array<NetworkConfig>;
6790
6801
  /** Returns metadata for a given network supported on Codex. */
6791
6802
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -7835,6 +7846,7 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
7835
7846
  export type SubscriptionOnPairMetadataUpdatedArgs = {
7836
7847
  id?: InputMaybe<Scalars['String']['input']>;
7837
7848
  quoteToken?: InputMaybe<QuoteToken>;
7849
+ useNonLiquidityTokenAsQuoteToken?: InputMaybe<Scalars['Boolean']['input']>;
7838
7850
  };
7839
7851
 
7840
7852
 
@@ -8161,6 +8173,10 @@ export type TokenFilterResult = {
8161
8173
  __typename?: 'TokenFilterResult';
8162
8174
  /** @deprecated Age isn't supported - use createdAt instead */
8163
8175
  age?: Maybe<Scalars['Int']['output']>;
8176
+ /** The number of wallets that have bundled the token */
8177
+ bundlerCount?: Maybe<Scalars['Int']['output']>;
8178
+ /** The percentage of tokens held by bundlers */
8179
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
8164
8180
  /** The number of buys in the past hour. */
8165
8181
  buyCount1?: Maybe<Scalars['Int']['output']>;
8166
8182
  /** The number of buys in the past 4 hours. */
@@ -8195,6 +8211,8 @@ export type TokenFilterResult = {
8195
8211
  circulatingMarketCap?: Maybe<Scalars['String']['output']>;
8196
8212
  /** The unix timestamp for the creation of the token's first pair. */
8197
8213
  createdAt?: Maybe<Scalars['Int']['output']>;
8214
+ /** The percentage of tokens held by the dev */
8215
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
8198
8216
  /** The exchanges the token is listed on. */
8199
8217
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
8200
8218
  /** @deprecated FDV isn't supported - use marketCap instead */
@@ -8211,6 +8229,10 @@ export type TokenFilterResult = {
8211
8229
  high24?: Maybe<Scalars['String']['output']>;
8212
8230
  /** The number of different wallets holding the token. */
8213
8231
  holders?: Maybe<Scalars['Int']['output']>;
8232
+ /** The number of wallets that have been an insider of the token */
8233
+ insiderCount?: Maybe<Scalars['Int']['output']>;
8234
+ /** The percentage of tokens held by insiders */
8235
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
8214
8236
  /** Whether the token has been flagged as a scam. */
8215
8237
  isScam?: Maybe<Scalars['Boolean']['output']>;
8216
8238
  /** The unix timestamp for the token's last transaction. */
@@ -8261,6 +8283,10 @@ export type TokenFilterResult = {
8261
8283
  sellVolume12?: Maybe<Scalars['String']['output']>;
8262
8284
  /** The sell volume in USD in the past 24 hours. */
8263
8285
  sellVolume24?: Maybe<Scalars['String']['output']>;
8286
+ /** The number of wallets that have sniped the token */
8287
+ sniperCount?: Maybe<Scalars['Int']['output']>;
8288
+ /** The percentage of tokens held by snipers */
8289
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
8264
8290
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
8265
8291
  swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
8266
8292
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
@@ -8337,6 +8363,10 @@ export type TokenFilterResult = {
8337
8363
  export type TokenFilters = {
8338
8364
  /** @deprecated Age isn't supported - use createdAt instead */
8339
8365
  age?: InputMaybe<NumberFilter>;
8366
+ /** Filter by number of wallets that have bundled the token */
8367
+ bundlerCount?: InputMaybe<NumberFilter>;
8368
+ /** Filter by percentage of tokens held by bundlers */
8369
+ bundlerHeldPercentage?: InputMaybe<NumberFilter>;
8340
8370
  /** The number of buys in the past hour. */
8341
8371
  buyCount1?: InputMaybe<NumberFilter>;
8342
8372
  /** The number of buys in the past 4 hours. */
@@ -8373,6 +8403,8 @@ export type TokenFilters = {
8373
8403
  createdAt?: InputMaybe<NumberFilter>;
8374
8404
  /** The address of the creator of the token. */
8375
8405
  creatorAddress?: InputMaybe<Scalars['String']['input']>;
8406
+ /** Filter by percentage of tokens held by the dev */
8407
+ devHeldPercentage?: InputMaybe<NumberFilter>;
8376
8408
  /** The list of exchange contract addresses to filter by. */
8377
8409
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
8378
8410
  /** 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. */
@@ -8395,6 +8427,10 @@ export type TokenFilters = {
8395
8427
  holders?: InputMaybe<NumberFilter>;
8396
8428
  /** Whether to include tokens that have been flagged as scams. Default: false */
8397
8429
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
8430
+ /** Filter by number of wallets that have been an insider of the token */
8431
+ insiderCount?: InputMaybe<NumberFilter>;
8432
+ /** Filter by percentage of tokens held by insiders */
8433
+ insiderHeldPercentage?: InputMaybe<NumberFilter>;
8398
8434
  /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
8399
8435
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
8400
8436
  /** Only include verified tokens */
@@ -8411,7 +8447,7 @@ export type TokenFilters = {
8411
8447
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8412
8448
  /** The timestamp when the launchpad was migrated */
8413
8449
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8414
- /** 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. */
8450
+ /** 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. */
8415
8451
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
8416
8452
  /** A list of launchpad protocols. */
8417
8453
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -8457,10 +8493,16 @@ export type TokenFilters = {
8457
8493
  sellVolume12?: InputMaybe<NumberFilter>;
8458
8494
  /** The sell volume in USD in the past 24 hours. */
8459
8495
  sellVolume24?: InputMaybe<NumberFilter>;
8496
+ /** Filter by number of wallets that have sniped the token */
8497
+ sniperCount?: InputMaybe<NumberFilter>;
8498
+ /** Filter by percentage of tokens held by snipers */
8499
+ sniperHeldPercentage?: InputMaybe<NumberFilter>;
8460
8500
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
8461
8501
  swapPct1dOldWallet?: InputMaybe<NumberFilter>;
8462
8502
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
8463
8503
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
8504
+ /** The unix timestamp for the creation of the token. */
8505
+ tokenCreatedAt?: InputMaybe<NumberFilter>;
8464
8506
  /** 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`. */
8465
8507
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
8466
8508
  /** The number of transactions in the past hour. */
@@ -8772,6 +8814,7 @@ export enum TokenRankingAttribute {
8772
8814
  SellVolume24 = 'sellVolume24',
8773
8815
  SwapPct1dOldWallet = 'swapPct1dOldWallet',
8774
8816
  SwapPct7dOldWallet = 'swapPct7dOldWallet',
8817
+ TokenCreatedAt = 'tokenCreatedAt',
8775
8818
  TrendingScore = 'trendingScore',
8776
8819
  TrendingScore1 = 'trendingScore1',
8777
8820
  TrendingScore4 = 'trendingScore4',
@@ -8965,7 +9008,7 @@ export type TokenWalletFilterResult = {
8965
9008
  lastTransactionAt: Scalars['Int']['output'];
8966
9009
  /** The network ID */
8967
9010
  networkId: Scalars['Int']['output'];
8968
- /** The purchased token balance */
9011
+ /** 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. */
8969
9012
  purchasedTokenBalance: Scalars['String']['output'];
8970
9013
  /** Realized profit percentage in the past day */
8971
9014
  realizedProfitPercentage1d: Scalars['Float']['output'];
@@ -9031,9 +9074,9 @@ export type TokenWalletFilterResult = {
9031
9074
  tokenAmountSoldAll1y: Scalars['String']['output'];
9032
9075
  /** Token amount sold all in the past 30 days */
9033
9076
  tokenAmountSoldAll30d: Scalars['String']['output'];
9034
- /** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
9077
+ /** 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. */
9035
9078
  tokenBalance: Scalars['String']['output'];
9036
- /** The current token balance in the wallet. */
9079
+ /** The current token balance in the wallet. This value is updated with every transfer and is therefore more accurate than tokenBalance. */
9037
9080
  tokenBalanceLive?: Maybe<Scalars['String']['output']>;
9038
9081
  /** The current USD value of the token balance. */
9039
9082
  tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
@@ -9247,6 +9290,8 @@ export type UnconfirmedSwapEventData = {
9247
9290
 
9248
9291
  export type UniswapV4Data = {
9249
9292
  __typename?: 'UniswapV4Data';
9293
+ /** 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. */
9294
+ isDynamicFee?: Maybe<Scalars['Boolean']['output']>;
9250
9295
  /** Whether the token is the network token for the Uniswap V4 pool. */
9251
9296
  isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
9252
9297
  type: Scalars['String']['output'];
@@ -10050,7 +10095,7 @@ export enum WalletTokenRankingAttribute {
10050
10095
  FirstTransactionAt = 'firstTransactionAt',
10051
10096
  /** The last transaction timestamp */
10052
10097
  LastTransactionAt = 'lastTransactionAt',
10053
- /** Purchased token balance */
10098
+ /** 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. */
10054
10099
  PurchasedTokenBalance = 'purchasedTokenBalance',
10055
10100
  /** Realized profit percentage in the past day */
10056
10101
  RealizedProfitPercentage1d = 'realizedProfitPercentage1d',
@@ -10096,7 +10141,7 @@ export enum WalletTokenRankingAttribute {
10096
10141
  TokenAmountSold1y = 'tokenAmountSold1y',
10097
10142
  /** Token amount sold in the past 30 days */
10098
10143
  TokenAmountSold30d = 'tokenAmountSold30d',
10099
- /** Token balance */
10144
+ /** 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. */
10100
10145
  TokenBalance = 'tokenBalance'
10101
10146
  }
10102
10147
 
@@ -1581,6 +1581,37 @@
1581
1581
  "baseTokenName": "Wrapped KAI",
1582
1582
  "baseTokenDecimals": 18
1583
1583
  },
1584
+ {
1585
+ "__typename": "EvmNetworkConfig",
1586
+ "id": "747474",
1587
+ "networkType": "EVM",
1588
+ "networkId": 747474,
1589
+ "name": "katana",
1590
+ "enabled": true,
1591
+ "newTokensEnabled": false,
1592
+ "mainnet": true,
1593
+ "wrappedBaseTokenSymbol": "vbETH",
1594
+ "baseTokenSymbol": "ETH",
1595
+ "baseTokenAddress": "0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62",
1596
+ "defaultPairAddress": "0xdfc0ba24be7f93bf1a9401635815ece4cc579282",
1597
+ "defaultPairQuoteToken": "token0",
1598
+ "stableCoinAddresses": [
1599
+ "0x203a662b0bd271a6ed5a60edfbd04bfce608fd36",
1600
+ "0x2dca96907fde857dd3d816880a0df407eeb2d2f2"
1601
+ ],
1602
+ "networkIconUrl": "https://icons.defined.fi/networks/katana.png",
1603
+ "color": "#0550DB",
1604
+ "networkShortName": "katana",
1605
+ "networkName": "Katana",
1606
+ "explorer": {
1607
+ "name": "KatanaScan",
1608
+ "url": "https://katanascan.com/${type}/${input}",
1609
+ "checksummed": true,
1610
+ "icon": "https://icons.defined.fi/networks/katana.png"
1611
+ },
1612
+ "baseTokenName": "Vault Bridge ETH",
1613
+ "baseTokenDecimals": 18
1614
+ },
1584
1615
  {
1585
1616
  "__typename": "EvmNetworkConfig",
1586
1617
  "id": "321",
@@ -1945,7 +1976,7 @@
1945
1976
  "stableCoinAddresses": [
1946
1977
  "0xf817257fed379853cde0fa4f97ab987181b1e5ea"
1947
1978
  ],
1948
- "networkIconUrl": "https://icons.defined.fi/networks/monad.png",
1979
+ "networkIconUrl": "https://icons.defined.fi/networks/monad-testnet.png",
1949
1980
  "color": "#836ef9",
1950
1981
  "networkShortName": "mon-test",
1951
1982
  "networkName": "Monad Testnet",
@@ -1953,7 +1984,7 @@
1953
1984
  "name": "Monad Explorer",
1954
1985
  "url": "https://testnet.monadexplorer.com/${type}/${input}",
1955
1986
  "checksummed": true,
1956
- "icon": "https://icons.defined.fi/networks/monad.png"
1987
+ "icon": "https://icons.defined.fi/networks/monad-testnet.png"
1957
1988
  },
1958
1989
  "baseTokenName": "Wrapped Monad",
1959
1990
  "baseTokenDecimals": 18
@@ -29,6 +29,7 @@ type Query {
29
29
  """limit: The maximum number of webhooks to return."""
30
30
  limit: Int
31
31
  ): GetWebhooksResponse
32
+ """Returns a list of network configurations."""
32
33
  getNetworkConfigs(
33
34
  networkIds: [Int!]
34
35
  ): [NetworkConfig!]!
@@ -792,8 +793,10 @@ type Subscription {
792
793
  onPairMetadataUpdated(
793
794
  """The ID of the pair (`address`:`networkId`)."""
794
795
  id: String
795
- """The token of interest within the pair. Can be `token0` or `token1`."""
796
+ """The token of interest within the pair. Can be `token0` or `token1`. If not specified, returns data for both tokens."""
796
797
  quoteToken: QuoteToken
798
+ """If true, automatically selects the non-liquidity token as the quoteToken. Ignored if quoteToken is explicitly specified."""
799
+ useNonLiquidityTokenAsQuoteToken: Boolean
797
800
  ): PairMetadata
798
801
  """Live-streamed bucketed stats for a given token within a pair."""
799
802
  onDetailedStatsUpdated(
@@ -1661,10 +1664,6 @@ type DetailedStats {
1661
1664
  stats_hour12: WindowedDetailedStats
1662
1665
  """The breakdown of stats over a 24 hour window."""
1663
1666
  stats_day1: WindowedDetailedStats
1664
- """Number of aggregated buckets specified in input"""
1665
- bucketCount: Int
1666
- """The timestamp specified as input to the query"""
1667
- queryTimestamp: Int
1668
1667
  }
1669
1668
 
1670
1669
  """The start/end timestamp for a given bucket within the window."""
@@ -1831,8 +1830,6 @@ type EnhancedToken {
1831
1830
  isMintableValid: Boolean
1832
1831
  """The launchpad data for the token, if applicable."""
1833
1832
  launchpad: LaunchpadData
1834
- """The pair that the token is contained in"""
1835
- pairId: String
1836
1833
  }
1837
1834
 
1838
1835
  """A token transaction."""
@@ -2361,6 +2358,8 @@ input GetPriceInput {
2361
2358
  timestamp: Int
2362
2359
  """The address of the pool, when omitted the top pool is used."""
2363
2360
  poolAddress: String
2361
+ """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."""
2362
+ blockNumber: Int
2364
2363
  """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`."""
2365
2364
  maxDeviations: Float @deprecated(reason: "This isn't taken into account anymore.")
2366
2365
  }
@@ -2417,8 +2416,6 @@ type HoldersResponse {
2417
2416
  status: HoldersStatus!
2418
2417
  """What percentage of the total supply do the top 10 holders hold."""
2419
2418
  top10HoldersPercent: Float
2420
- """the token Id"""
2421
- tokenId: String
2422
2419
  }
2423
2420
 
2424
2421
  enum HoldersSortAttribute {
@@ -2693,7 +2690,7 @@ type LaunchpadTokenEventOutput {
2693
2690
  launchpadName: String!
2694
2691
  """Metadata for the token."""
2695
2692
  token: EnhancedToken!
2696
- """The number of buys in the last 24 hours."""
2693
+ """The number of buys in the last hour."""
2697
2694
  buyCount1: Int
2698
2695
  """The type of event."""
2699
2696
  eventType: LaunchpadTokenEventType!
@@ -2703,14 +2700,28 @@ type LaunchpadTokenEventOutput {
2703
2700
  marketCap: String
2704
2701
  """The price of the token."""
2705
2702
  price: Float
2706
- """The number of sells in the last 24 hours."""
2703
+ """The number of sells in the last hour."""
2707
2704
  sellCount1: Int
2708
- """The volume of the token in the last 24 hours."""
2705
+ """The volume of the token in the last hour."""
2709
2706
  volume1: Int
2710
- """The number of transactions in the last 24 hours."""
2707
+ """The number of transactions in the last hour."""
2711
2708
  transactions1: Int
2712
2709
  """The liquidity of the token's top pair."""
2713
2710
  liquidity: String
2711
+ """The number of snipers that bought the token"""
2712
+ sniperCount: Float
2713
+ """The percentage of the token that is held by snipers"""
2714
+ sniperHeldPercentage: Float
2715
+ """The number of bundlers that bought the token"""
2716
+ bundlerCount: Float
2717
+ """The percentage of the token that is held by bundlers"""
2718
+ bundlerHeldPercentage: Float
2719
+ """The number of insiders that bought the token"""
2720
+ insiderCount: Float
2721
+ """The percentage of the token that is held by insiders"""
2722
+ insiderHeldPercentage: Float
2723
+ """The percentage of the token that is held by developers"""
2724
+ devHeldPercentage: Float
2714
2725
  }
2715
2726
 
2716
2727
  """The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events."""
@@ -2769,6 +2780,8 @@ enum LaunchpadTokenProtocol {
2769
2780
  TokenMillV2
2770
2781
  """Protocol name for Clanker V4."""
2771
2782
  ClankerV4
2783
+ """Protocol name for Printr (EVM only - Printr tokens on Solana should be queried with launchpadName as Printr uses MeteoraDBC on Solana)."""
2784
+ Printr
2772
2785
  }
2773
2786
 
2774
2787
  scalar link__Import
@@ -5718,9 +5731,9 @@ input OnLaunchpadTokenEventBatchInput {
5718
5731
  protocols: [LaunchpadTokenProtocol!]
5719
5732
  """The network ID that the token is deployed on."""
5720
5733
  networkId: Int
5721
- """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."""
5734
+ """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."""
5722
5735
  launchpadName: String
5723
- """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."""
5736
+ """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."""
5724
5737
  launchpadNames: [String!]
5725
5738
  """The type of event."""
5726
5739
  eventType: LaunchpadTokenEventType
@@ -5732,9 +5745,9 @@ input OnLaunchpadTokenEventInput {
5732
5745
  protocol: LaunchpadTokenProtocol
5733
5746
  """A list of launchpad protocols."""
5734
5747
  protocols: [LaunchpadTokenProtocol!]
5735
- """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."""
5748
+ """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."""
5736
5749
  launchpadName: String
5737
- """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."""
5750
+ """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."""
5738
5751
  launchpadNames: [String!]
5739
5752
  """The type of event."""
5740
5753
  eventType: LaunchpadTokenEventType
@@ -6659,11 +6672,11 @@ type Price {
6659
6672
  """The unix timestamp for the price."""
6660
6673
  timestamp: Int
6661
6674
  """The pool that emitted the swap generating this price"""
6675
+ blockNumber: Int
6676
+ """The pool that emitted the swap generating this price"""
6662
6677
  poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
6663
6678
  """Ratio of how confident we are in the price"""
6664
6679
  confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
6665
- """The internal pool address for the price"""
6666
- internalPoolAddress: String
6667
6680
  }
6668
6681
 
6669
6682
  """Webhook conditions for a price event."""
@@ -7924,12 +7937,28 @@ type TokenFilterResult {
7924
7937
  swapPct1dOldWallet: String
7925
7938
  """The percentage of wallets that are less than 7d old that have traded in the last 24h"""
7926
7939
  swapPct7dOldWallet: String
7940
+ """The number of wallets that have sniped the token"""
7941
+ sniperCount: Int
7942
+ """The percentage of tokens held by snipers"""
7943
+ sniperHeldPercentage: Float
7944
+ """The number of wallets that have bundled the token"""
7945
+ bundlerCount: Int
7946
+ """The percentage of tokens held by bundlers"""
7947
+ bundlerHeldPercentage: Float
7948
+ """The number of wallets that have been an insider of the token"""
7949
+ insiderCount: Int
7950
+ """The percentage of tokens held by insiders"""
7951
+ insiderHeldPercentage: Float
7952
+ """The percentage of tokens held by the dev"""
7953
+ devHeldPercentage: Float
7927
7954
  }
7928
7955
 
7929
7956
  """Input type of `TokenFilters`."""
7930
7957
  input TokenFilters {
7931
7958
  """The unix timestamp for the creation of the token's first pair."""
7932
7959
  createdAt: NumberFilter
7960
+ """The unix timestamp for the creation of the token."""
7961
+ tokenCreatedAt: NumberFilter
7933
7962
  """The unix timestamp for the token's last transaction."""
7934
7963
  lastTransaction: NumberFilter
7935
7964
  age: NumberFilter @deprecated(reason: "Age isn't supported - use createdAt instead")
@@ -8094,7 +8123,7 @@ input TokenFilters {
8094
8123
  creatorAddress: String
8095
8124
  """A list of launchpad protocols."""
8096
8125
  launchpadProtocol: [String!]
8097
- """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."""
8126
+ """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."""
8098
8127
  launchpadName: [String!]
8099
8128
  """Indicates if the launchpad is completed."""
8100
8129
  launchpadCompleted: Boolean
@@ -8118,6 +8147,20 @@ input TokenFilters {
8118
8147
  swapPct1dOldWallet: NumberFilter
8119
8148
  """The percentage of wallets that are less than 7d old that have traded in the last 24h"""
8120
8149
  swapPct7dOldWallet: NumberFilter
8150
+ """Filter by number of wallets that have sniped the token"""
8151
+ sniperCount: NumberFilter
8152
+ """Filter by percentage of tokens held by snipers"""
8153
+ sniperHeldPercentage: NumberFilter
8154
+ """Filter by number of wallets that have bundled the token"""
8155
+ bundlerCount: NumberFilter
8156
+ """Filter by percentage of tokens held by bundlers"""
8157
+ bundlerHeldPercentage: NumberFilter
8158
+ """Filter by number of wallets that have been an insider of the token"""
8159
+ insiderCount: NumberFilter
8160
+ """Filter by percentage of tokens held by insiders"""
8161
+ insiderHeldPercentage: NumberFilter
8162
+ """Filter by percentage of tokens held by the dev"""
8163
+ devHeldPercentage: NumberFilter
8121
8164
  }
8122
8165
 
8123
8166
  """Metadata for a token."""
@@ -8308,6 +8351,7 @@ input TokenRanking {
8308
8351
  """The attribute used to rank tokens."""
8309
8352
  enum TokenRankingAttribute {
8310
8353
  createdAt
8354
+ tokenCreatedAt
8311
8355
  lastTransaction
8312
8356
  age @deprecated(reason: "Use createdAt instead")
8313
8357
  buyCount5m
@@ -8598,13 +8642,13 @@ type TokenWalletFilterResult {
8598
8642
  sells1y: Int!
8599
8643
  """Number of sells all in the past year"""
8600
8644
  sellsAll1y: Int!
8601
- """The purchased token balance"""
8602
- purchasedTokenBalance: String!
8603
8645
  """The token acquisition cost in USD"""
8604
8646
  tokenAcquisitionCostUsd: String!
8605
- """The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data."""
8647
+ """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."""
8648
+ purchasedTokenBalance: String!
8649
+ """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."""
8606
8650
  tokenBalance: String!
8607
- """The current token balance in the wallet."""
8651
+ """The current token balance in the wallet. This value is updated with every transfer and is therefore more accurate than tokenBalance."""
8608
8652
  tokenBalanceLive: String
8609
8653
  """The current USD value of the token balance."""
8610
8654
  tokenBalanceLiveUsd: String
@@ -8823,6 +8867,8 @@ type UniswapV4Data {
8823
8867
  uniswapV4HookAddress: String
8824
8868
  """Whether the token is the network token for the Uniswap V4 pool."""
8825
8869
  isToken0NetworkToken: Boolean
8870
+ """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."""
8871
+ isDynamicFee: Boolean
8826
8872
  type: String!
8827
8873
  }
8828
8874
 
@@ -9652,9 +9698,9 @@ enum WalletTokenRankingAttribute {
9652
9698
  buys1y
9653
9699
  """Number of sells in the past year"""
9654
9700
  sells1y
9655
- """Token balance"""
9701
+ """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."""
9656
9702
  tokenBalance
9657
- """Purchased token balance"""
9703
+ """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."""
9658
9704
  purchasedTokenBalance
9659
9705
  """Token acquisition cost in USD"""
9660
9706
  tokenAcquisitionCostUsd
@@ -167,12 +167,21 @@ const getTokensQuery = gql`
167
167
  }
168
168
  `;
169
169
 
170
+ const EXCLUDED_NETWORK_IDS = [
171
+ 150607357, // FOGO
172
+ 6343, // megaeth
173
+ 143, // monad
174
+ ];
175
+
170
176
  async function main() {
171
177
  // eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any
172
178
  const data = await sdk.query<{ getNetworkConfigs: any }, {}>(
173
179
  getNetworkConfigsQuery,
174
180
  );
175
- const networkConfigs = data.getNetworkConfigs;
181
+ const networkConfigs = data.getNetworkConfigs.filter(
182
+ (config: { networkId: number }) =>
183
+ !EXCLUDED_NETWORK_IDS.includes(config.networkId),
184
+ );
176
185
 
177
186
  // Get all base token addresses with their network IDs
178
187
  const tokenIds: string[] = networkConfigs.map(