@codex-data/sdk 1.0.25 → 1.0.28

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 (34) hide show
  1. package/dist/resources/graphql.d.ts +242 -14
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +14 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/scripts/generateNetworkConfigs.d.ts +2 -0
  6. package/dist/scripts/generateNetworkConfigs.d.ts.map +1 -0
  7. package/dist/scripts/generateNetworkConfigs.js +235 -0
  8. package/dist/scripts/generateNetworkConfigs.js.map +1 -0
  9. package/dist/sdk/Mutation.d.ts +3 -3
  10. package/dist/sdk/Mutation.d.ts.map +1 -1
  11. package/dist/sdk/Mutation.js +3 -3
  12. package/dist/sdk/Mutation.js.map +1 -1
  13. package/dist/sdk/Query.d.ts +51 -51
  14. package/dist/sdk/Query.d.ts.map +1 -1
  15. package/dist/sdk/Query.js +51 -51
  16. package/dist/sdk/Query.js.map +1 -1
  17. package/dist/sdk/Subscribe.d.ts +14 -14
  18. package/dist/sdk/Subscribe.d.ts.map +1 -1
  19. package/dist/sdk/Subscribe.js +65 -65
  20. package/dist/sdk/Subscribe.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +244 -16
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +16 -4
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/package.json +3 -1
  26. package/src/resources/graphql.schema.json +2698 -29
  27. package/src/resources/graphql.ts +260 -14
  28. package/src/resources/networkConfigs.json +3695 -0
  29. package/src/resources/schema.graphql +241 -12
  30. package/src/scripts/generateNetworkConfigs.ts +243 -0
  31. package/src/sdk/Mutation.ts +7 -7
  32. package/src/sdk/Query.ts +107 -107
  33. package/src/sdk/Subscribe.ts +156 -156
  34. package/src/sdk/generated/graphql.ts +261 -15
@@ -156,6 +156,27 @@ export type ApiToken = {
156
156
  /** JWT to be passed into the Authorization header for API requests */
157
157
  token: Scalars['String']['output'];
158
158
  };
159
+ export type AptosNetworkConfig = {
160
+ __typename?: 'AptosNetworkConfig';
161
+ baseTokenAddress: Scalars['String']['output'];
162
+ baseTokenSymbol: Scalars['String']['output'];
163
+ color?: Maybe<Scalars['String']['output']>;
164
+ defaultPairAddress: Scalars['String']['output'];
165
+ defaultPairQuoteToken: QuoteToken;
166
+ enabled: Scalars['Boolean']['output'];
167
+ explorer: ExplorerConfig;
168
+ id: Scalars['ID']['output'];
169
+ mainnet: Scalars['Boolean']['output'];
170
+ name: Scalars['String']['output'];
171
+ networkIconUrl: Scalars['String']['output'];
172
+ networkId: Scalars['Int']['output'];
173
+ networkName: Scalars['String']['output'];
174
+ networkShortName: Scalars['String']['output'];
175
+ networkType: NetworkConfigType;
176
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
177
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
178
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
179
+ };
159
180
  export type ArenaTradeData = {
160
181
  __typename?: 'ArenaTradeData';
161
182
  /** Protocol specific token ID */
@@ -266,6 +287,17 @@ export type BarsResponse = {
266
287
  /** The volume in the native token for the network */
267
288
  volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
268
289
  };
290
+ export type Block = {
291
+ __typename?: 'Block';
292
+ blockNumber: Scalars['Int']['output'];
293
+ hash: Scalars['String']['output'];
294
+ timestamp: Scalars['Int']['output'];
295
+ };
296
+ export type BlocksInput = {
297
+ blockNumbers?: InputMaybe<Array<Scalars['Int']['input']>>;
298
+ networkId: Scalars['Int']['input'];
299
+ timestamps?: InputMaybe<Array<Scalars['Int']['input']>>;
300
+ };
269
301
  /** The mathematical formula that defines how the prices of NFTs change after each buy or sell within a pool. */
270
302
  export declare enum BondingCurveType {
271
303
  Exponential = "EXPONENTIAL",
@@ -1179,6 +1211,27 @@ export type EventsQueryInput = {
1179
1211
  /** The time range to filter by. */
1180
1212
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1181
1213
  };
1214
+ export type EvmNetworkConfig = {
1215
+ __typename?: 'EvmNetworkConfig';
1216
+ baseTokenAddress: Scalars['String']['output'];
1217
+ baseTokenSymbol: Scalars['String']['output'];
1218
+ color?: Maybe<Scalars['String']['output']>;
1219
+ defaultPairAddress: Scalars['String']['output'];
1220
+ defaultPairQuoteToken: QuoteToken;
1221
+ enabled: Scalars['Boolean']['output'];
1222
+ explorer: ExplorerConfig;
1223
+ id: Scalars['ID']['output'];
1224
+ mainnet: Scalars['Boolean']['output'];
1225
+ name: Scalars['String']['output'];
1226
+ networkIconUrl: Scalars['String']['output'];
1227
+ networkId: Scalars['Int']['output'];
1228
+ networkName: Scalars['String']['output'];
1229
+ networkShortName: Scalars['String']['output'];
1230
+ networkType: NetworkConfigType;
1231
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
1232
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
1233
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
1234
+ };
1182
1235
  /** Metadata for a decentralized exchange. */
1183
1236
  export type Exchange = {
1184
1237
  __typename?: 'Exchange';
@@ -1304,6 +1357,13 @@ export declare enum ExchangeRankingAttribute {
1304
1357
  VolumeUsd12 = "volumeUSD12",
1305
1358
  VolumeUsd24 = "volumeUSD24"
1306
1359
  }
1360
+ export type ExplorerConfig = {
1361
+ __typename?: 'ExplorerConfig';
1362
+ checksummed: Scalars['Boolean']['output'];
1363
+ icon: Scalars['String']['output'];
1364
+ name: Scalars['String']['output'];
1365
+ url: Scalars['String']['output'];
1366
+ };
1307
1367
  /** Third party token data sourced from off chain. */
1308
1368
  export type ExplorerTokenData = {
1309
1369
  __typename?: 'ExplorerTokenData';
@@ -1871,6 +1931,8 @@ export declare enum LaunchpadTokenProtocol {
1871
1931
  BoopFun = "BoopFun",
1872
1932
  /** Protocol name for Clanker. */
1873
1933
  Clanker = "Clanker",
1934
+ /** Protocol name for Clanker V4. */
1935
+ ClankerV4 = "ClankerV4",
1874
1936
  /** Protocol name for EgoTech. */
1875
1937
  EgoTech = "EgoTech",
1876
1938
  /** Protocol name for Four.meme. */
@@ -1887,6 +1949,8 @@ export declare enum LaunchpadTokenProtocol {
1887
1949
  Rainbow = "Rainbow",
1888
1950
  /** Protocol name for LaunchLab and Bonk. */
1889
1951
  RaydiumLaunchpad = "RaydiumLaunchpad",
1952
+ /** Protocol name for TokenMill V2. */
1953
+ TokenMillV2 = "TokenMillV2",
1890
1954
  /** Protocol name for Vertigo. */
1891
1955
  Vertigo = "Vertigo",
1892
1956
  /** Protocol name for Virtuals. */
@@ -2197,6 +2261,34 @@ export type NetworkBreakdown = {
2197
2261
  /** The stats for the last year */
2198
2262
  statsYear1?: Maybe<WindowedWalletStats>;
2199
2263
  };
2264
+ export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
2265
+ export type NetworkConfigBase = {
2266
+ baseTokenAddress: Scalars['String']['output'];
2267
+ baseTokenSymbol: Scalars['String']['output'];
2268
+ color?: Maybe<Scalars['String']['output']>;
2269
+ defaultPairAddress: Scalars['String']['output'];
2270
+ defaultPairQuoteToken: QuoteToken;
2271
+ enabled: Scalars['Boolean']['output'];
2272
+ explorer: ExplorerConfig;
2273
+ id: Scalars['ID']['output'];
2274
+ mainnet: Scalars['Boolean']['output'];
2275
+ name: Scalars['String']['output'];
2276
+ networkIconUrl: Scalars['String']['output'];
2277
+ networkId: Scalars['Int']['output'];
2278
+ networkName: Scalars['String']['output'];
2279
+ networkShortName: Scalars['String']['output'];
2280
+ networkType: NetworkConfigType;
2281
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
2282
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
2283
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
2284
+ };
2285
+ export declare enum NetworkConfigType {
2286
+ Aptos = "APTOS",
2287
+ Evm = "EVM",
2288
+ Solana = "SOLANA",
2289
+ Starknet = "STARKNET",
2290
+ Sui = "SUI"
2291
+ }
2200
2292
  /** A connection of wallets matching a filter on a specific network. */
2201
2293
  export type NetworkWalletFilterConnection = {
2202
2294
  __typename?: 'NetworkWalletFilterConnection';
@@ -4852,9 +4944,9 @@ export type OnEventsCreatedByMakerInput = {
4852
4944
  export type OnLaunchpadTokenEventBatchInput = {
4853
4945
  /** The type of event. */
4854
4946
  eventType?: InputMaybe<LaunchpadTokenEventType>;
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. */
4947
+ /** 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. */
4856
4948
  launchpadName?: InputMaybe<Scalars['String']['input']>;
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. */
4949
+ /** 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. */
4858
4950
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4859
4951
  /** The network ID that the token is deployed on. */
4860
4952
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4869,9 +4961,9 @@ export type OnLaunchpadTokenEventInput = {
4869
4961
  address?: InputMaybe<Scalars['String']['input']>;
4870
4962
  /** The type of event. */
4871
4963
  eventType?: InputMaybe<LaunchpadTokenEventType>;
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. */
4964
+ /** 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. */
4873
4965
  launchpadName?: InputMaybe<Scalars['String']['input']>;
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. */
4966
+ /** 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. */
4875
4967
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4876
4968
  /** The network ID that the token is deployed on. */
4877
4969
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4894,11 +4986,20 @@ export type OnTokenBarsUpdatedResponse = {
4894
4986
  eventSortKey: Scalars['String']['output'];
4895
4987
  /** The network ID the pair is deployed on. */
4896
4988
  networkId: Scalars['Int']['output'];
4897
- /** The contract address for the pair. */
4898
- pairAddress: Scalars['String']['output'];
4899
- /** The ID for the pair (`pairAddress`:`networkId`). */
4900
- pairId: Scalars['String']['output'];
4901
- /** The quote token within the pair. */
4989
+ /**
4990
+ * The contract address for the pair.
4991
+ * @deprecated pairs are no longer used for pricing
4992
+ */
4993
+ pairAddress?: Maybe<Scalars['String']['output']>;
4994
+ /**
4995
+ * The ID for the pair (`pairAddress`:`networkId`).
4996
+ * @deprecated pairs are no longer used for pricing
4997
+ */
4998
+ pairId?: Maybe<Scalars['String']['output']>;
4999
+ /**
5000
+ * The quote token within the pair.
5001
+ * @deprecated pairs are no longer used for pricing
5002
+ */
4902
5003
  quoteToken?: Maybe<QuoteToken>;
4903
5004
  /** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
4904
5005
  statsType: TokenPairStatisticsType;
@@ -5778,6 +5879,8 @@ export type Price = {
5778
5879
  address: Scalars['String']['output'];
5779
5880
  /** Ratio of how confident we are in the price */
5780
5881
  confidence?: Maybe<Scalars['Float']['output']>;
5882
+ /** The internal pool address for the price */
5883
+ internalPoolAddress?: Maybe<Scalars['String']['output']>;
5781
5884
  /** The network ID the token is deployed on. */
5782
5885
  networkId: Scalars['Int']['output'];
5783
5886
  /** The pool that emitted the swap generating this price */
@@ -6294,6 +6397,8 @@ export type Query = {
6294
6397
  apiTokens: Array<ApiToken>;
6295
6398
  /** Returns list of token balances that a wallet has. */
6296
6399
  balances: BalancesResponse;
6400
+ /** Returns block data for the input blockNumbers or timestamps, maximum 25 inputs. */
6401
+ blocks: Array<Block>;
6297
6402
  /** Returns a URL for a pair chart. */
6298
6403
  chartUrls?: Maybe<ChartUrlsResponse>;
6299
6404
  /** Returns detailed stats for a wallet. */
@@ -6350,6 +6455,7 @@ export type Query = {
6350
6455
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6351
6456
  */
6352
6457
  getLatestTokens?: Maybe<LatestTokenConnection>;
6458
+ getNetworkConfigs: Array<NetworkConfig>;
6353
6459
  /** Returns metadata for a given network supported on Codex. */
6354
6460
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
6355
6461
  /** Returns the status of a list of networks supported on Codex. */
@@ -6388,6 +6494,8 @@ export type Query = {
6388
6494
  getPrimePools?: Maybe<PrimePoolConnection>;
6389
6495
  /** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
6390
6496
  getSymbol?: Maybe<SymbolResponse>;
6497
+ /** Returns bar chart data to track price changes over time. */
6498
+ getTokenBars?: Maybe<TokenBarsResponse>;
6391
6499
  /** Returns transactions for a pair. */
6392
6500
  getTokenEvents?: Maybe<EventConnection>;
6393
6501
  /** Returns a list of token events for a given maker across all pairs. */
@@ -6453,6 +6561,9 @@ export type QueryApiTokenArgs = {
6453
6561
  export type QueryBalancesArgs = {
6454
6562
  input: BalancesInput;
6455
6563
  };
6564
+ export type QueryBlocksArgs = {
6565
+ input: BlocksInput;
6566
+ };
6456
6567
  export type QueryChartUrlsArgs = {
6457
6568
  input: ChartInput;
6458
6569
  };
@@ -6590,6 +6701,9 @@ export type QueryGetLatestTokensArgs = {
6590
6701
  networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
6591
6702
  offset?: InputMaybe<Scalars['Int']['input']>;
6592
6703
  };
6704
+ export type QueryGetNetworkConfigsArgs = {
6705
+ networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
6706
+ };
6593
6707
  export type QueryGetNetworkStatsArgs = {
6594
6708
  exchangeAddress?: InputMaybe<Scalars['String']['input']>;
6595
6709
  networkId: Scalars['Int']['input'];
@@ -6705,6 +6819,17 @@ export type QueryGetSymbolArgs = {
6705
6819
  currencyCode?: InputMaybe<Scalars['String']['input']>;
6706
6820
  symbol: Scalars['String']['input'];
6707
6821
  };
6822
+ export type QueryGetTokenBarsArgs = {
6823
+ countback?: InputMaybe<Scalars['Int']['input']>;
6824
+ currencyCode?: InputMaybe<QuoteCurrency>;
6825
+ from: Scalars['Int']['input'];
6826
+ removeEmptyBars?: InputMaybe<Scalars['Boolean']['input']>;
6827
+ removeLeadingNullValues?: InputMaybe<Scalars['Boolean']['input']>;
6828
+ resolution: Scalars['String']['input'];
6829
+ statsType?: InputMaybe<TokenPairStatisticsType>;
6830
+ symbol: Scalars['String']['input'];
6831
+ to: Scalars['Int']['input'];
6832
+ };
6708
6833
  export type QueryGetTokenEventsArgs = {
6709
6834
  cursor?: InputMaybe<Scalars['String']['input']>;
6710
6835
  direction?: InputMaybe<RankingDirection>;
@@ -6985,6 +7110,27 @@ export type SocialLinks = {
6985
7110
  whitepaper?: Maybe<Scalars['String']['output']>;
6986
7111
  youtube?: Maybe<Scalars['String']['output']>;
6987
7112
  };
7113
+ export type SolanaNetworkConfig = {
7114
+ __typename?: 'SolanaNetworkConfig';
7115
+ baseTokenAddress: Scalars['String']['output'];
7116
+ baseTokenSymbol: Scalars['String']['output'];
7117
+ color?: Maybe<Scalars['String']['output']>;
7118
+ defaultPairAddress: Scalars['String']['output'];
7119
+ defaultPairQuoteToken: QuoteToken;
7120
+ enabled: Scalars['Boolean']['output'];
7121
+ explorer: ExplorerConfig;
7122
+ id: Scalars['ID']['output'];
7123
+ mainnet: Scalars['Boolean']['output'];
7124
+ name: Scalars['String']['output'];
7125
+ networkIconUrl: Scalars['String']['output'];
7126
+ networkId: Scalars['Int']['output'];
7127
+ networkName: Scalars['String']['output'];
7128
+ networkShortName: Scalars['String']['output'];
7129
+ networkType: NetworkConfigType;
7130
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7131
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7132
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7133
+ };
6988
7134
  export declare enum SparklineAttribute {
6989
7135
  Price = "PRICE"
6990
7136
  }
@@ -6994,6 +7140,27 @@ export type SparklineValue = {
6994
7140
  timestamp: Scalars['Int']['output'];
6995
7141
  value: Scalars['Float']['output'];
6996
7142
  };
7143
+ export type StarknetNetworkConfig = {
7144
+ __typename?: 'StarknetNetworkConfig';
7145
+ baseTokenAddress: Scalars['String']['output'];
7146
+ baseTokenSymbol: Scalars['String']['output'];
7147
+ color?: Maybe<Scalars['String']['output']>;
7148
+ defaultPairAddress: Scalars['String']['output'];
7149
+ defaultPairQuoteToken: QuoteToken;
7150
+ enabled: Scalars['Boolean']['output'];
7151
+ explorer: ExplorerConfig;
7152
+ id: Scalars['ID']['output'];
7153
+ mainnet: Scalars['Boolean']['output'];
7154
+ name: Scalars['String']['output'];
7155
+ networkIconUrl: Scalars['String']['output'];
7156
+ networkId: Scalars['Int']['output'];
7157
+ networkName: Scalars['String']['output'];
7158
+ networkShortName: Scalars['String']['output'];
7159
+ networkType: NetworkConfigType;
7160
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7161
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7162
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7163
+ };
6997
7164
  /** Filter for NFT stats. */
6998
7165
  export type StatsFilter = {
6999
7166
  /** The percent change between the `current` and `previous`. */
@@ -7186,6 +7353,27 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7186
7353
  export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7187
7354
  input: OnUnconfirmedEventsCreatedByMakerInput;
7188
7355
  };
7356
+ export type SuiNetworkConfig = {
7357
+ __typename?: 'SuiNetworkConfig';
7358
+ baseTokenAddress: Scalars['String']['output'];
7359
+ baseTokenSymbol: Scalars['String']['output'];
7360
+ color?: Maybe<Scalars['String']['output']>;
7361
+ defaultPairAddress: Scalars['String']['output'];
7362
+ defaultPairQuoteToken: QuoteToken;
7363
+ enabled: Scalars['Boolean']['output'];
7364
+ explorer: ExplorerConfig;
7365
+ id: Scalars['ID']['output'];
7366
+ mainnet: Scalars['Boolean']['output'];
7367
+ name: Scalars['String']['output'];
7368
+ networkIconUrl: Scalars['String']['output'];
7369
+ networkId: Scalars['Int']['output'];
7370
+ networkName: Scalars['String']['output'];
7371
+ networkShortName: Scalars['String']['output'];
7372
+ networkType: NetworkConfigType;
7373
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7374
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7375
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7376
+ };
7189
7377
  /** Event data for a token swap event. */
7190
7378
  export type SwapEventData = {
7191
7379
  __typename?: 'SwapEventData';
@@ -7366,6 +7554,46 @@ export declare enum SymbolType {
7366
7554
  Pool = "POOL",
7367
7555
  Token = "TOKEN"
7368
7556
  }
7557
+ /** Bar chart data to track price changes over time. */
7558
+ export type TokenBarsResponse = {
7559
+ __typename?: 'TokenBarsResponse';
7560
+ /** The buy volume in USD */
7561
+ buyVolume: Array<Maybe<Scalars['String']['output']>>;
7562
+ /** The number of unique buyers */
7563
+ buyers: Array<Maybe<Scalars['Int']['output']>>;
7564
+ /** The number of buys */
7565
+ buys: Array<Maybe<Scalars['Int']['output']>>;
7566
+ /** The closing price. */
7567
+ c: Array<Maybe<Scalars['Float']['output']>>;
7568
+ /** The high price. */
7569
+ h: Array<Maybe<Scalars['Float']['output']>>;
7570
+ /** The low price. */
7571
+ l: Array<Maybe<Scalars['Float']['output']>>;
7572
+ /** Liquidity in USD */
7573
+ liquidity: Array<Maybe<Scalars['String']['output']>>;
7574
+ /** The opening price. */
7575
+ o: Array<Maybe<Scalars['Float']['output']>>;
7576
+ /** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
7577
+ s: Scalars['String']['output'];
7578
+ /** The sell volume in USD */
7579
+ sellVolume: Array<Maybe<Scalars['String']['output']>>;
7580
+ /** The number of unique sellers */
7581
+ sellers: Array<Maybe<Scalars['Int']['output']>>;
7582
+ /** The number of sells */
7583
+ sells: Array<Maybe<Scalars['Int']['output']>>;
7584
+ /** The timestamp for the bar. */
7585
+ t: Array<Scalars['Int']['output']>;
7586
+ /** The token that is being returned */
7587
+ token: EnhancedToken;
7588
+ /** The number of traders */
7589
+ traders: Array<Maybe<Scalars['Int']['output']>>;
7590
+ /** The number of transactions */
7591
+ transactions: Array<Maybe<Scalars['Int']['output']>>;
7592
+ /** The volume with higher precision. */
7593
+ volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
7594
+ /** The volume in the native token for the network */
7595
+ volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
7596
+ };
7369
7597
  /** Token burn event data. */
7370
7598
  export type TokenBurnEventData = {
7371
7599
  __typename?: 'TokenBurnEventData';
@@ -7630,17 +7858,17 @@ export type TokenFilters = {
7630
7858
  isVerified?: InputMaybe<Scalars['Boolean']['input']>;
7631
7859
  /** The unix timestamp for the token's last transaction. */
7632
7860
  lastTransaction?: InputMaybe<NumberFilter>;
7633
- /** Indicates if the launchpad is completed */
7861
+ /** Indicates if the launchpad is completed. */
7634
7862
  launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
7635
- /** The timestamp when the launchpad was completed */
7863
+ /** The timestamp when the launchpad was completed. */
7636
7864
  launchpadCompletedAt?: InputMaybe<NumberFilter>;
7637
- /** The graduation percentage */
7865
+ /** The graduation percentage. */
7638
7866
  launchpadGraduationPercent?: InputMaybe<NumberFilter>;
7639
- /** Indicates if the launchpad has migrated */
7867
+ /** Indicates if the launchpad has migrated. */
7640
7868
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7641
7869
  /** The timestamp when the launchpad was migrated */
7642
7870
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
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. */
7871
+ /** 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. */
7644
7872
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
7645
7873
  /** A list of launchpad protocols. */
7646
7874
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;