@codex-data/sdk 2.3.35 → 2.3.36

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.
@@ -5902,9 +5902,9 @@ export type OnEventsCreatedByMakerInput = {
5902
5902
  export type OnLaunchpadTokenEventBatchInput = {
5903
5903
  /** The type of event. */
5904
5904
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5905
- /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA. */
5905
+ /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch. */
5906
5906
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5907
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA. */
5907
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch. */
5908
5908
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5909
5909
  /** The network ID that the token is deployed on. */
5910
5910
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5919,9 +5919,9 @@ export type OnLaunchpadTokenEventInput = {
5919
5919
  address?: InputMaybe<Scalars['String']['input']>;
5920
5920
  /** The type of event. */
5921
5921
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5922
- /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA. */
5922
+ /** The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch. */
5923
5923
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5924
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA. */
5924
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch. */
5925
5925
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5926
5926
  /** The network ID that the token is deployed on. */
5927
5927
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -13053,7 +13053,7 @@ export type TokenFilterResult = {
13053
13053
  totalFees12?: Maybe<Scalars['String']['output']>;
13054
13054
  /** The total trading fees (pool + gas + tips) in USD in the past 24 hours. */
13055
13055
  totalFees24?: Maybe<Scalars['String']['output']>;
13056
- /** The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Distinct from `liquidity`, which covers the top pair only. Null when this stat has not been computed for the token yet. */
13056
+ /** The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Distinct from `liquidity`, which covers the top pair only. Null when this stat has not been computed for the token yet, or when `useAggregatedStats` is not set to `true`. */
13057
13057
  totalLiquidityUsd?: Maybe<Scalars['String']['output']>;
13058
13058
  /** A heuristic based on various factors used to rank tokens based on how trending they are. */
13059
13059
  trendingScore?: Maybe<Scalars['Float']['output']>;
@@ -13244,7 +13244,7 @@ export type TokenFilters = {
13244
13244
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
13245
13245
  /** The timestamp when the launchpad was migrated. */
13246
13246
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
13247
- /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA. */
13247
+ /** A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch. */
13248
13248
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
13249
13249
  /** A list of launchpad protocols. */
13250
13250
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -13814,11 +13814,27 @@ export type TokenTopTradersInput = {
13814
13814
  networkId: Scalars['Int']['input'];
13815
13815
  /** Where in the list the server started when returning items */
13816
13816
  offset?: InputMaybe<Scalars['Int']['input']>;
13817
+ /** How to rank the results. Defaults to `realizedProfitUsd` descending. Note: when ranking by `realizedProfitUsd`, only wallets with positive realized profit are returned. */
13818
+ ranking?: InputMaybe<TokenTopTradersRanking>;
13817
13819
  /** The token address */
13818
13820
  tokenAddress: Scalars['String']['input'];
13819
13821
  /** The trading period */
13820
13822
  tradingPeriod: TradingPeriod;
13821
13823
  };
13824
+ /** A ranking for top traders. */
13825
+ export type TokenTopTradersRanking = {
13826
+ /** The attribute to rank top traders by */
13827
+ attribute: TokenTopTradersRankingAttribute;
13828
+ /** The direction to apply to the ranking attribute */
13829
+ direction: RankingDirection;
13830
+ };
13831
+ /** Attributes for ranking top traders. Each attribute applies to the stats for the requested trading period. */
13832
+ export declare enum TokenTopTradersRankingAttribute {
13833
+ /** Realized profit in USD for the trading period */
13834
+ RealizedProfitUsd = "realizedProfitUsd",
13835
+ /** Trading volume in USD (amount bought plus amount sold) for the trading period */
13836
+ VolumeUsd = "volumeUsd"
13837
+ }
13822
13838
  /** The direction of a token transfer. */
13823
13839
  export declare enum TokenTransferDirection {
13824
13840
  /** Tokens sent from the address. */
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ParallelAssetMatcherParallel = exports.ParallelAssetMatcherClass = exports.ParallelAssetMatcherCardType = exports.PairRankingAttribute = exports.NftSearchable = exports.NftPoolType = exports.NftPoolRankingAttribute = exports.NftPoolEventType = exports.NftPoolContractVersion = exports.NftPoolCollectionRankingAttribute = exports.NftExchange = exports.NftEventTradeItemType = exports.NftEventOrderDirection = exports.NftContractErcType = exports.NftCollectionsLeaderboardMetric = exports.NftCollectionsLeaderboardDuration = exports.NftCollectionRankingAttribute = exports.NftAssetErrorStatus = exports.NftAssetAttributeType = exports.NftAssetAttributeDisplayType = exports.NetworkRankingAttribute = exports.NetworkConfigType = exports.LiquidityProtocol = exports.LiquidityLockProtocol = exports.LaunchpadTokenProtocol = exports.LaunchpadTokenEventType = exports.HoldersStatus = exports.HoldersSortAttribute = exports.GraphQlNftPoolVariant = exports.ExchangeRankingAttribute = exports.EventType = exports.EventLabelType = exports.EventDisplayType = exports.EventCommitmentLevel = exports.DetailedTokenStatsDuration = exports.DetailedStatsWindowSize = exports.DetailedPairStatsDuration = exports.DetailedNftStatsDuration = exports.ContractType = exports.ContractProposalStatus = exports.ContractLabelType = exports.ContractLabelSubType = exports.CommunityNoteType = exports.ChartTheme = exports.CategoryType = exports.CategoryStatus = exports.BondingCurveType = exports.BarCommitmentLevel = exports.BalancesSortAttribute = exports.AlertRecurrence = void 0;
4
- exports.UiAmountMode = exports.TradingPeriod = exports.TokenTransferDirection = exports.TokenRankingAttribute = exports.TokenPairStatisticsType = exports.TokenPairEventType = exports.TokenOfInterest = exports.TokenLifecycleEventType = exports.SymbolType = exports.SportsTimezone = exports.SparklineAttribute = exports.SandwichLabelForEventType = exports.RankingDirection = exports.QuoteToken = exports.QuoteCurrency = exports.PublishingType = exports.PrimePoolType = exports.PrimePoolEventType = exports.PrimePoolCurrency = exports.PredictionTraderStatsDuration = exports.PredictionTraderRankingAttribute = exports.PredictionTraderMarketRankingAttribute = exports.PredictionTraderMarketPnlStatus = exports.PredictionTraderBarsResolution = exports.PredictionTradeType = exports.PredictionTradeEventType = exports.PredictionStatsDuration = exports.PredictionProtocol = exports.PredictionOutcomeRankingAttribute = exports.PredictionOutcomeIndex = exports.PredictionMetadataType = exports.PredictionMarketStatType = exports.PredictionMarketSegmentType = exports.PredictionMarketRole = exports.PredictionMarketRankingAttribute = exports.PredictionMarketLadderOperator = exports.PredictionMarketLadderMetric = exports.PredictionMarketEntrantKind = exports.PredictionMarketDateOperator = exports.PredictionMarketBarsResolution = exports.PredictionEventStatus = exports.PredictionEventShape = exports.PredictionEventRankingAttribute = exports.PredictionEventMarketSort = exports.PredictionEventBarsResolution = exports.PotentialScamReason = exports.PoolNftType = exports.ParallelAssetRankingAttribute = exports.ParallelAssetMatcherSubtype = exports.ParallelAssetMatcherRarity = void 0;
5
- exports.GetTokenBarsDocument = exports.GetSymbolDocument = exports.GetNetworksDocument = exports.GetNetworkStatusDocument = exports.GetNetworkStatsDocument = exports.GetNetworkConfigsDocument = exports.GetExchangesDocument = exports.GetEventLabelsDocument = exports.GetDetailedTokenStatsDocument = exports.GetDetailedPairsStatsDocument = exports.GetDetailedPairStatsDocument = exports.GetCommunityNotesDocument = exports.GetBarsDocument = exports.FilterWalletsDocument = exports.FilterTokensDocument = exports.FilterTokenWalletsDocument = exports.FilterPredictionTradersDocument = exports.FilterPredictionTraderMarketsDocument = exports.FilterPredictionMarketsDocument = exports.FilterPredictionEventsDocument = exports.FilterPairsDocument = exports.FilterNetworksDocument = exports.FilterExchangesDocument = exports.EventScopedFilterPredictionMarketsDocument = exports.DetailedWalletStatsDocument = exports.DetailedPredictionTraderStatsDocument = exports.DetailedPredictionMarketStatsDocument = exports.DetailedPredictionEventStatsDocument = exports.ChartUrlsDocument = exports.CategoryTokensDocument = exports.CategoryDocument = exports.CategoriesDocument = exports.BlocksDocument = exports.BalancesDocument = exports.ApiTokensDocument = exports.ApiTokenDocument = exports.RefreshBalancesDocument = exports.DeleteWebhooksDocument = exports.DeleteApiTokenDocument = exports.CreateWebhooksDocument = exports.CreateApiTokensDocument = exports.BackfillWalletAggregatesDocument = exports.WebhookType = exports.WalletTokenRankingAttribute = exports.WalletStatsDuration = exports.WalletRankingAttribute = exports.WalletNetworkRankingAttribute = exports.WalletLabel = exports.WalletCategory = exports.WalletAggregateBackfillState = void 0;
6
- exports.OnPairMetadataUpdatedDocument = exports.OnNftPoolEventsCreatedDocument = exports.OnNftEventsCreatedDocument = exports.OnNftAssetsCreatedDocument = exports.OnLaunchpadTokenEventBatchDocument = exports.OnLaunchpadTokenEventDocument = exports.OnLatestTokensDocument = exports.OnHoldersUpdatedDocument = exports.OnFilterTokensUpdatedDocument = exports.OnEventsCreatedByMakerDocument = exports.OnEventsCreatedDocument = exports.OnEventLabelCreatedDocument = exports.OnDetailedTokenStatsUpdatedDocument = exports.OnDetailedStatsUpdatedDocument = exports.OnDetailedPredictionMarketStatsUpdatedDocument = exports.OnDetailedPredictionEventStatsUpdatedDocument = exports.OnBarsUpdatedDocument = exports.OnBalanceUpdatedDocument = exports.WalletLabelTypesDocument = exports.WalletChartDocument = exports.WalletAggregateBackfillStateDocument = exports.Top10HoldersPercentDocument = exports.TokensDocument = exports.TokenTopTradersDocument = exports.TokenSparklinesDocument = exports.TokenDocument = exports.PredictionTradesDocument = exports.PredictionTradersDocument = exports.PredictionTraderMarketsStatsDocument = exports.PredictionTraderHoldingsDocument = exports.PredictionTraderBarsDocument = exports.PredictionTokenHoldersDocument = exports.PredictionOutcomeOrderBooksDocument = exports.PredictionMarketsDocument = exports.PredictionMarketPriceDocument = exports.PredictionMarketBarsDocument = exports.PredictionEventTopMarketsBarsDocument = exports.PredictionEventBarsDocument = exports.PredictionCategoriesDocument = exports.PairMetadataDocument = exports.ListPairsWithMetadataForTokenDocument = exports.ListPairsForTokenDocument = exports.LiquidityMetadataByTokenDocument = exports.LiquidityMetadataDocument = exports.LiquidityLocksDocument = exports.HoldersDocument = exports.GetWebhooksDocument = exports.GetTokenPricesDocument = exports.GetTokenEventsForMakerDocument = exports.GetTokenEventsDocument = void 0;
7
- exports.OnUnconfirmedEventsCreatedByMakerDocument = exports.OnUnconfirmedEventsCreatedDocument = exports.OnUnconfirmedBarsUpdatedDocument = exports.OnTokenLifecycleEventsCreatedDocument = exports.OnTokenEventsCreatedDocument = exports.OnTokenBarsUpdatedDocument = exports.OnPricesUpdatedDocument = exports.OnPriceUpdatedDocument = exports.OnPredictionTradesCreatedDocument = exports.OnPredictionMarketBarsUpdatedDocument = exports.OnPredictionEventBarsUpdatedDocument = void 0;
4
+ exports.TradingPeriod = exports.TokenTransferDirection = exports.TokenTopTradersRankingAttribute = exports.TokenRankingAttribute = exports.TokenPairStatisticsType = exports.TokenPairEventType = exports.TokenOfInterest = exports.TokenLifecycleEventType = exports.SymbolType = exports.SportsTimezone = exports.SparklineAttribute = exports.SandwichLabelForEventType = exports.RankingDirection = exports.QuoteToken = exports.QuoteCurrency = exports.PublishingType = exports.PrimePoolType = exports.PrimePoolEventType = exports.PrimePoolCurrency = exports.PredictionTraderStatsDuration = exports.PredictionTraderRankingAttribute = exports.PredictionTraderMarketRankingAttribute = exports.PredictionTraderMarketPnlStatus = exports.PredictionTraderBarsResolution = exports.PredictionTradeType = exports.PredictionTradeEventType = exports.PredictionStatsDuration = exports.PredictionProtocol = exports.PredictionOutcomeRankingAttribute = exports.PredictionOutcomeIndex = exports.PredictionMetadataType = exports.PredictionMarketStatType = exports.PredictionMarketSegmentType = exports.PredictionMarketRole = exports.PredictionMarketRankingAttribute = exports.PredictionMarketLadderOperator = exports.PredictionMarketLadderMetric = exports.PredictionMarketEntrantKind = exports.PredictionMarketDateOperator = exports.PredictionMarketBarsResolution = exports.PredictionEventStatus = exports.PredictionEventShape = exports.PredictionEventRankingAttribute = exports.PredictionEventMarketSort = exports.PredictionEventBarsResolution = exports.PotentialScamReason = exports.PoolNftType = exports.ParallelAssetRankingAttribute = exports.ParallelAssetMatcherSubtype = exports.ParallelAssetMatcherRarity = void 0;
5
+ exports.GetSymbolDocument = exports.GetNetworksDocument = exports.GetNetworkStatusDocument = exports.GetNetworkStatsDocument = exports.GetNetworkConfigsDocument = exports.GetExchangesDocument = exports.GetEventLabelsDocument = exports.GetDetailedTokenStatsDocument = exports.GetDetailedPairsStatsDocument = exports.GetDetailedPairStatsDocument = exports.GetCommunityNotesDocument = exports.GetBarsDocument = exports.FilterWalletsDocument = exports.FilterTokensDocument = exports.FilterTokenWalletsDocument = exports.FilterPredictionTradersDocument = exports.FilterPredictionTraderMarketsDocument = exports.FilterPredictionMarketsDocument = exports.FilterPredictionEventsDocument = exports.FilterPairsDocument = exports.FilterNetworksDocument = exports.FilterExchangesDocument = exports.EventScopedFilterPredictionMarketsDocument = exports.DetailedWalletStatsDocument = exports.DetailedPredictionTraderStatsDocument = exports.DetailedPredictionMarketStatsDocument = exports.DetailedPredictionEventStatsDocument = exports.ChartUrlsDocument = exports.CategoryTokensDocument = exports.CategoryDocument = exports.CategoriesDocument = exports.BlocksDocument = exports.BalancesDocument = exports.ApiTokensDocument = exports.ApiTokenDocument = exports.RefreshBalancesDocument = exports.DeleteWebhooksDocument = exports.DeleteApiTokenDocument = exports.CreateWebhooksDocument = exports.CreateApiTokensDocument = exports.BackfillWalletAggregatesDocument = exports.WebhookType = exports.WalletTokenRankingAttribute = exports.WalletStatsDuration = exports.WalletRankingAttribute = exports.WalletNetworkRankingAttribute = exports.WalletLabel = exports.WalletCategory = exports.WalletAggregateBackfillState = exports.UiAmountMode = void 0;
6
+ exports.OnNftPoolEventsCreatedDocument = exports.OnNftEventsCreatedDocument = exports.OnNftAssetsCreatedDocument = exports.OnLaunchpadTokenEventBatchDocument = exports.OnLaunchpadTokenEventDocument = exports.OnLatestTokensDocument = exports.OnHoldersUpdatedDocument = exports.OnFilterTokensUpdatedDocument = exports.OnEventsCreatedByMakerDocument = exports.OnEventsCreatedDocument = exports.OnEventLabelCreatedDocument = exports.OnDetailedTokenStatsUpdatedDocument = exports.OnDetailedStatsUpdatedDocument = exports.OnDetailedPredictionMarketStatsUpdatedDocument = exports.OnDetailedPredictionEventStatsUpdatedDocument = exports.OnBarsUpdatedDocument = exports.OnBalanceUpdatedDocument = exports.WalletLabelTypesDocument = exports.WalletChartDocument = exports.WalletAggregateBackfillStateDocument = exports.Top10HoldersPercentDocument = exports.TokensDocument = exports.TokenTopTradersDocument = exports.TokenSparklinesDocument = exports.TokenDocument = exports.PredictionTradesDocument = exports.PredictionTradersDocument = exports.PredictionTraderMarketsStatsDocument = exports.PredictionTraderHoldingsDocument = exports.PredictionTraderBarsDocument = exports.PredictionTokenHoldersDocument = exports.PredictionOutcomeOrderBooksDocument = exports.PredictionMarketsDocument = exports.PredictionMarketPriceDocument = exports.PredictionMarketBarsDocument = exports.PredictionEventTopMarketsBarsDocument = exports.PredictionEventBarsDocument = exports.PredictionCategoriesDocument = exports.PairMetadataDocument = exports.ListPairsWithMetadataForTokenDocument = exports.ListPairsForTokenDocument = exports.LiquidityMetadataByTokenDocument = exports.LiquidityMetadataDocument = exports.LiquidityLocksDocument = exports.HoldersDocument = exports.GetWebhooksDocument = exports.GetTokenPricesDocument = exports.GetTokenEventsForMakerDocument = exports.GetTokenEventsDocument = exports.GetTokenBarsDocument = void 0;
7
+ exports.OnUnconfirmedEventsCreatedByMakerDocument = exports.OnUnconfirmedEventsCreatedDocument = exports.OnUnconfirmedBarsUpdatedDocument = exports.OnTokenLifecycleEventsCreatedDocument = exports.OnTokenEventsCreatedDocument = exports.OnTokenBarsUpdatedDocument = exports.OnPricesUpdatedDocument = exports.OnPriceUpdatedDocument = exports.OnPredictionTradesCreatedDocument = exports.OnPredictionMarketBarsUpdatedDocument = exports.OnPredictionEventBarsUpdatedDocument = exports.OnPairMetadataUpdatedDocument = void 0;
8
8
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
9
9
  var AlertRecurrence;
10
10
  (function (AlertRecurrence) {
@@ -2189,6 +2189,14 @@ var TokenRankingAttribute;
2189
2189
  TokenRankingAttribute["WalletAgeAvg"] = "walletAgeAvg";
2190
2190
  TokenRankingAttribute["WalletAgeStd"] = "walletAgeStd";
2191
2191
  })(TokenRankingAttribute || (exports.TokenRankingAttribute = TokenRankingAttribute = {}));
2192
+ /** Attributes for ranking top traders. Each attribute applies to the stats for the requested trading period. */
2193
+ var TokenTopTradersRankingAttribute;
2194
+ (function (TokenTopTradersRankingAttribute) {
2195
+ /** Realized profit in USD for the trading period */
2196
+ TokenTopTradersRankingAttribute["RealizedProfitUsd"] = "realizedProfitUsd";
2197
+ /** Trading volume in USD (amount bought plus amount sold) for the trading period */
2198
+ TokenTopTradersRankingAttribute["VolumeUsd"] = "volumeUsd";
2199
+ })(TokenTopTradersRankingAttribute || (exports.TokenTopTradersRankingAttribute = TokenTopTradersRankingAttribute = {}));
2192
2200
  /** The direction of a token transfer. */
2193
2201
  var TokenTransferDirection;
2194
2202
  (function (TokenTransferDirection) {
@@ -2182,6 +2182,14 @@ export var TokenRankingAttribute;
2182
2182
  TokenRankingAttribute["WalletAgeAvg"] = "walletAgeAvg";
2183
2183
  TokenRankingAttribute["WalletAgeStd"] = "walletAgeStd";
2184
2184
  })(TokenRankingAttribute || (TokenRankingAttribute = {}));
2185
+ /** Attributes for ranking top traders. Each attribute applies to the stats for the requested trading period. */
2186
+ export var TokenTopTradersRankingAttribute;
2187
+ (function (TokenTopTradersRankingAttribute) {
2188
+ /** Realized profit in USD for the trading period */
2189
+ TokenTopTradersRankingAttribute["RealizedProfitUsd"] = "realizedProfitUsd";
2190
+ /** Trading volume in USD (amount bought plus amount sold) for the trading period */
2191
+ TokenTopTradersRankingAttribute["VolumeUsd"] = "volumeUsd";
2192
+ })(TokenTopTradersRankingAttribute || (TokenTopTradersRankingAttribute = {}));
2185
2193
  /** The direction of a token transfer. */
2186
2194
  export var TokenTransferDirection;
2187
2195
  (function (TokenTransferDirection) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "2.3.35",
3
+ "version": "2.3.36",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
package/schema.graphql CHANGED
@@ -9267,7 +9267,7 @@ type TokenFilterResult {
9267
9267
  high4: String
9268
9268
  """Amount of liquidity in the token's top pair."""
9269
9269
  liquidity: String
9270
- """The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Distinct from `liquidity`, which covers the top pair only. Null when this stat has not been computed for the token yet."""
9270
+ """The token's cumulative route-backed liquidity in USD, summed across the token's pairs with valid routing liquidity. Distinct from `liquidity`, which covers the top pair only. Null when this stat has not been computed for the token yet, or when `useAggregatedStats` is not set to `true`."""
9271
9271
  totalLiquidityUsd: String
9272
9272
  """The token of interest. Can be `token0` or `token1`."""
9273
9273
  quoteToken: String
@@ -12439,7 +12439,7 @@ input TokenFilters {
12439
12439
  creatorAddresses: [String!]
12440
12440
  """A list of launchpad protocols."""
12441
12441
  launchpadProtocol: [String!]
12442
- """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA."""
12442
+ """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch."""
12443
12443
  launchpadName: [String!]
12444
12444
  """Indicates if the launchpad is completed."""
12445
12445
  launchpadCompleted: Boolean
@@ -13752,9 +13752,9 @@ input OnLaunchpadTokenEventInput {
13752
13752
  protocol: LaunchpadTokenProtocol
13753
13753
  """A list of launchpad protocols."""
13754
13754
  protocols: [LaunchpadTokenProtocol!]
13755
- """The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA."""
13755
+ """The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch."""
13756
13756
  launchpadName: String
13757
- """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA."""
13757
+ """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch."""
13758
13758
  launchpadNames: [String!]
13759
13759
  """The type of event."""
13760
13760
  eventType: LaunchpadTokenEventType
@@ -13973,9 +13973,9 @@ input OnLaunchpadTokenEventBatchInput {
13973
13973
  protocols: [LaunchpadTokenProtocol!]
13974
13974
  """The network ID that the token is deployed on."""
13975
13975
  networkId: Int
13976
- """The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA."""
13976
+ """The name of the launchpad. One of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch."""
13977
13977
  launchpadName: String
13978
- """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA."""
13978
+ """A list of launchpad names. Any of the following: Pump.fun, Pump Mayhem, Bonk, BONAD.fun, Nad.Fun, Baseapp, Baseapp Creator, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Meteora Alpha Vault, Zora Solana, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, AMERICA.fun, Kumbaya, bow.fun, Sushi Launch, Printr, Bankr, Liquid, Noice, Flaunch, Coinbarrel, Blowfish, MeMoo, Metaplex, Scale, Eitherway, Livo, Trench, Flap, NOXA Fun, hood.fun, pons, LONG, EasyA Kickstart, Doppler, o1.exchange, UniswapCCA, tren.ch."""
13979
13979
  launchpadNames: [String!]
13980
13980
  """The type of event."""
13981
13981
  eventType: LaunchpadTokenEventType
@@ -15280,6 +15280,22 @@ type TokenWalletFilterResult {
15280
15280
  backfillState: WalletAggregateBackfillState
15281
15281
  }
15282
15282
 
15283
+ """Attributes for ranking top traders. Each attribute applies to the stats for the requested trading period."""
15284
+ enum TokenTopTradersRankingAttribute {
15285
+ """Realized profit in USD for the trading period"""
15286
+ realizedProfitUsd
15287
+ """Trading volume in USD (amount bought plus amount sold) for the trading period"""
15288
+ volumeUsd
15289
+ }
15290
+
15291
+ """A ranking for top traders."""
15292
+ input TokenTopTradersRanking {
15293
+ """The attribute to rank top traders by"""
15294
+ attribute: TokenTopTradersRankingAttribute!
15295
+ """The direction to apply to the ranking attribute"""
15296
+ direction: RankingDirection!
15297
+ }
15298
+
15283
15299
  """Input arguments for the `tokenTopTraders` query."""
15284
15300
  input TokenTopTradersInput {
15285
15301
  """The token address"""
@@ -15288,6 +15304,8 @@ input TokenTopTradersInput {
15288
15304
  networkId: Int!
15289
15305
  """The trading period"""
15290
15306
  tradingPeriod: TradingPeriod!
15307
+ """How to rank the results. Defaults to `realizedProfitUsd` descending. Note: when ranking by `realizedProfitUsd`, only wallets with positive realized profit are returned."""
15308
+ ranking: TokenTopTradersRanking
15291
15309
  """The number of traders to return"""
15292
15310
  limit: Int
15293
15311
  """Where in the list the server started when returning items"""