@codex-data/sdk 1.0.23 → 1.0.25

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.
@@ -1003,6 +1003,8 @@ export type EnhancedToken = {
1003
1003
  name?: Maybe<Scalars['String']['output']>;
1004
1004
  /** The network ID the token is deployed on. */
1005
1005
  networkId: Scalars['Int']['output'];
1006
+ /** The pair that the token is contained in */
1007
+ pairId?: Maybe<Scalars['String']['output']>;
1006
1008
  /**
1007
1009
  * The amount of this token in the pair.
1008
1010
  * @deprecated Pooled can be found on the pair instead
@@ -1558,6 +1560,8 @@ export type HoldersResponse = {
1558
1560
  items: Array<Balance>;
1559
1561
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1560
1562
  status: HoldersStatus;
1563
+ /** the token Id */
1564
+ tokenId?: Maybe<Scalars['String']['output']>;
1561
1565
  /** What percentage of the total supply do the top 10 holders hold. */
1562
1566
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1563
1567
  };
@@ -1871,6 +1875,8 @@ export declare enum LaunchpadTokenProtocol {
1871
1875
  EgoTech = "EgoTech",
1872
1876
  /** Protocol name for Four.meme. */
1873
1877
  FourMeme = "FourMeme",
1878
+ /** Protocol name for Heaven. */
1879
+ HeavenAmm = "HeavenAMM",
1874
1880
  /** Protocol name for MeteoraDBC. */
1875
1881
  MeteoraDbc = "MeteoraDBC",
1876
1882
  /** Protocol name for Moonit (formerly Moonshot). */
@@ -4846,9 +4852,9 @@ export type OnEventsCreatedByMakerInput = {
4846
4852
  export type OnLaunchpadTokenEventBatchInput = {
4847
4853
  /** The type of event. */
4848
4854
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4849
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4855
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4850
4856
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4851
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4857
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4852
4858
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4853
4859
  /** The network ID that the token is deployed on. */
4854
4860
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4863,9 +4869,9 @@ export type OnLaunchpadTokenEventInput = {
4863
4869
  address?: InputMaybe<Scalars['String']['input']>;
4864
4870
  /** The type of event. */
4865
4871
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4866
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4872
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4867
4873
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4868
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4874
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4869
4875
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4870
4876
  /** The network ID that the token is deployed on. */
4871
4877
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7443,6 +7449,8 @@ export type TokenFilterResult = {
7443
7449
  liquidPair?: Maybe<Pair>;
7444
7450
  /** The liquidity of the token's most liquid pair */
7445
7451
  liquidPairLiquidity?: Maybe<Scalars['String']['output']>;
7452
+ /** The liquid pairs price in USD. */
7453
+ liquidPairPriceUSD?: Maybe<Scalars['String']['output']>;
7446
7454
  /** Amount of liquidity in the token's top pair. */
7447
7455
  liquidity?: Maybe<Scalars['String']['output']>;
7448
7456
  /** The lowest price in USD in the past hour. */
@@ -7632,7 +7640,7 @@ export type TokenFilters = {
7632
7640
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7633
7641
  /** The timestamp when the launchpad was migrated */
7634
7642
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7635
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
7643
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
7636
7644
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
7637
7645
  /** A list of launchpad protocols. */
7638
7646
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -8032,13 +8040,23 @@ export type TokenSparkline = {
8032
8040
  attribute?: Maybe<SparklineAttribute>;
8033
8041
  /** The token id */
8034
8042
  id: Scalars['String']['output'];
8043
+ /** The timeframe of the sparkline. */
8044
+ resolution: Scalars['String']['output'];
8035
8045
  /** List of sparkline values to chart */
8036
8046
  sparkline: Array<SparklineValue>;
8037
8047
  };
8038
8048
  /** Input type of `tokenSparkline`. */
8039
8049
  export type TokenSparklineInput = {
8050
+ /** Whether to add empty bars to the response, populated with the previous bar's value. Default is `false` */
8051
+ fillMissingBars?: InputMaybe<Scalars['Boolean']['input']>;
8052
+ /** The unix timestamp for the start of the requested range. Defaults to 1 week ago. */
8053
+ from?: InputMaybe<Scalars['Int']['input']>;
8040
8054
  /** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
8041
8055
  ids: Array<Scalars['String']['input']>;
8056
+ /** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. Defaults to `60` (1 hour) */
8057
+ resolution?: InputMaybe<Scalars['String']['input']>;
8058
+ /** The unix timestamp for the end of the requested range. Defaults to current time. */
8059
+ to?: InputMaybe<Scalars['Int']['input']>;
8042
8060
  };
8043
8061
  /** A top trader for a token. */
8044
8062
  export type TokenTopTrader = {
@@ -8390,16 +8408,26 @@ export type UnconfirmedResolutionBarData = {
8390
8408
  __typename?: 'UnconfirmedResolutionBarData';
8391
8409
  /** 1 minute resolution. */
8392
8410
  r1?: Maybe<UnconfirmedIndividualBarData>;
8411
+ /** 1 day resolution. */
8412
+ r1D?: Maybe<UnconfirmedIndividualBarData>;
8393
8413
  /** 1 second resolution. */
8394
8414
  r1S?: Maybe<UnconfirmedIndividualBarData>;
8395
8415
  /** 5 minute resolution. */
8396
8416
  r5?: Maybe<UnconfirmedIndividualBarData>;
8397
8417
  /** 5 second resolution. */
8398
8418
  r5S?: Maybe<UnconfirmedIndividualBarData>;
8419
+ /** 1 week resolution. */
8420
+ r7D?: Maybe<UnconfirmedIndividualBarData>;
8399
8421
  /** 15 minute resolution. */
8400
8422
  r15?: Maybe<UnconfirmedIndividualBarData>;
8401
8423
  /** 15 second resolution. */
8402
8424
  r15S?: Maybe<UnconfirmedIndividualBarData>;
8425
+ /** 60 minute resolution. */
8426
+ r60?: Maybe<UnconfirmedIndividualBarData>;
8427
+ /** 4 hour resolution. */
8428
+ r240?: Maybe<UnconfirmedIndividualBarData>;
8429
+ /** 12 hour resolution. */
8430
+ r720?: Maybe<UnconfirmedIndividualBarData>;
8403
8431
  };
8404
8432
  /** Event data for a token swap event. */
8405
8433
  export type UnconfirmedSwapEventData = {