@codex-data/sdk 1.0.24 → 1.0.26

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.
@@ -157,6 +157,27 @@ export type ApiToken = {
157
157
  /** JWT to be passed into the Authorization header for API requests */
158
158
  token: Scalars['String']['output'];
159
159
  };
160
+ export type AptosNetworkConfig = {
161
+ __typename?: 'AptosNetworkConfig';
162
+ baseTokenAddress: Scalars['String']['output'];
163
+ baseTokenSymbol: Scalars['String']['output'];
164
+ color?: Maybe<Scalars['String']['output']>;
165
+ defaultPairAddress: Scalars['String']['output'];
166
+ defaultPairQuoteToken: QuoteToken;
167
+ enabled: Scalars['Boolean']['output'];
168
+ explorer: ExplorerConfig;
169
+ id: Scalars['ID']['output'];
170
+ mainnet: Scalars['Boolean']['output'];
171
+ name: Scalars['String']['output'];
172
+ networkIconUrl: Scalars['String']['output'];
173
+ networkId: Scalars['Int']['output'];
174
+ networkName: Scalars['String']['output'];
175
+ networkShortName: Scalars['String']['output'];
176
+ networkType: NetworkConfigType;
177
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
178
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
179
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
180
+ };
160
181
  export type ArenaTradeData = {
161
182
  __typename?: 'ArenaTradeData';
162
183
  /** Protocol specific token ID */
@@ -1180,6 +1201,27 @@ export type EventsQueryInput = {
1180
1201
  /** The time range to filter by. */
1181
1202
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1182
1203
  };
1204
+ export type EvmNetworkConfig = {
1205
+ __typename?: 'EvmNetworkConfig';
1206
+ baseTokenAddress: Scalars['String']['output'];
1207
+ baseTokenSymbol: Scalars['String']['output'];
1208
+ color?: Maybe<Scalars['String']['output']>;
1209
+ defaultPairAddress: Scalars['String']['output'];
1210
+ defaultPairQuoteToken: QuoteToken;
1211
+ enabled: Scalars['Boolean']['output'];
1212
+ explorer: ExplorerConfig;
1213
+ id: Scalars['ID']['output'];
1214
+ mainnet: Scalars['Boolean']['output'];
1215
+ name: Scalars['String']['output'];
1216
+ networkIconUrl: Scalars['String']['output'];
1217
+ networkId: Scalars['Int']['output'];
1218
+ networkName: Scalars['String']['output'];
1219
+ networkShortName: Scalars['String']['output'];
1220
+ networkType: NetworkConfigType;
1221
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
1222
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
1223
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
1224
+ };
1183
1225
  /** Metadata for a decentralized exchange. */
1184
1226
  export type Exchange = {
1185
1227
  __typename?: 'Exchange';
@@ -1305,6 +1347,13 @@ export declare enum ExchangeRankingAttribute {
1305
1347
  VolumeUsd12 = "volumeUSD12",
1306
1348
  VolumeUsd24 = "volumeUSD24"
1307
1349
  }
1350
+ export type ExplorerConfig = {
1351
+ __typename?: 'ExplorerConfig';
1352
+ checksummed: Scalars['Boolean']['output'];
1353
+ icon: Scalars['String']['output'];
1354
+ name: Scalars['String']['output'];
1355
+ url: Scalars['String']['output'];
1356
+ };
1308
1357
  /** Third party token data sourced from off chain. */
1309
1358
  export type ExplorerTokenData = {
1310
1359
  __typename?: 'ExplorerTokenData';
@@ -1876,6 +1925,8 @@ export declare enum LaunchpadTokenProtocol {
1876
1925
  EgoTech = "EgoTech",
1877
1926
  /** Protocol name for Four.meme. */
1878
1927
  FourMeme = "FourMeme",
1928
+ /** Protocol name for Heaven. */
1929
+ HeavenAmm = "HeavenAMM",
1879
1930
  /** Protocol name for MeteoraDBC. */
1880
1931
  MeteoraDbc = "MeteoraDBC",
1881
1932
  /** Protocol name for Moonit (formerly Moonshot). */
@@ -2196,6 +2247,34 @@ export type NetworkBreakdown = {
2196
2247
  /** The stats for the last year */
2197
2248
  statsYear1?: Maybe<WindowedWalletStats>;
2198
2249
  };
2250
+ export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
2251
+ export type NetworkConfigBase = {
2252
+ baseTokenAddress: Scalars['String']['output'];
2253
+ baseTokenSymbol: Scalars['String']['output'];
2254
+ color?: Maybe<Scalars['String']['output']>;
2255
+ defaultPairAddress: Scalars['String']['output'];
2256
+ defaultPairQuoteToken: QuoteToken;
2257
+ enabled: Scalars['Boolean']['output'];
2258
+ explorer: ExplorerConfig;
2259
+ id: Scalars['ID']['output'];
2260
+ mainnet: Scalars['Boolean']['output'];
2261
+ name: Scalars['String']['output'];
2262
+ networkIconUrl: Scalars['String']['output'];
2263
+ networkId: Scalars['Int']['output'];
2264
+ networkName: Scalars['String']['output'];
2265
+ networkShortName: Scalars['String']['output'];
2266
+ networkType: NetworkConfigType;
2267
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
2268
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
2269
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
2270
+ };
2271
+ export declare enum NetworkConfigType {
2272
+ Aptos = "APTOS",
2273
+ Evm = "EVM",
2274
+ Solana = "SOLANA",
2275
+ Starknet = "STARKNET",
2276
+ Sui = "SUI"
2277
+ }
2199
2278
  /** A connection of wallets matching a filter on a specific network. */
2200
2279
  export type NetworkWalletFilterConnection = {
2201
2280
  __typename?: 'NetworkWalletFilterConnection';
@@ -4851,9 +4930,9 @@ export type OnEventsCreatedByMakerInput = {
4851
4930
  export type OnLaunchpadTokenEventBatchInput = {
4852
4931
  /** The type of event. */
4853
4932
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4854
- /** 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. */
4933
+ /** 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. */
4855
4934
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4856
- /** 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. */
4935
+ /** 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. */
4857
4936
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4858
4937
  /** The network ID that the token is deployed on. */
4859
4938
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4868,9 +4947,9 @@ export type OnLaunchpadTokenEventInput = {
4868
4947
  address?: InputMaybe<Scalars['String']['input']>;
4869
4948
  /** The type of event. */
4870
4949
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4871
- /** 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. */
4950
+ /** 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. */
4872
4951
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4873
- /** 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. */
4952
+ /** 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. */
4874
4953
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4875
4954
  /** The network ID that the token is deployed on. */
4876
4955
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6349,6 +6428,7 @@ export type Query = {
6349
6428
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6350
6429
  */
6351
6430
  getLatestTokens?: Maybe<LatestTokenConnection>;
6431
+ getNetworkConfigs: Array<NetworkConfig>;
6352
6432
  /** Returns metadata for a given network supported on Codex. */
6353
6433
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
6354
6434
  /** Returns the status of a list of networks supported on Codex. */
@@ -6589,6 +6669,9 @@ export type QueryGetLatestTokensArgs = {
6589
6669
  networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
6590
6670
  offset?: InputMaybe<Scalars['Int']['input']>;
6591
6671
  };
6672
+ export type QueryGetNetworkConfigsArgs = {
6673
+ networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
6674
+ };
6592
6675
  export type QueryGetNetworkStatsArgs = {
6593
6676
  exchangeAddress?: InputMaybe<Scalars['String']['input']>;
6594
6677
  networkId: Scalars['Int']['input'];
@@ -6984,6 +7067,27 @@ export type SocialLinks = {
6984
7067
  whitepaper?: Maybe<Scalars['String']['output']>;
6985
7068
  youtube?: Maybe<Scalars['String']['output']>;
6986
7069
  };
7070
+ export type SolanaNetworkConfig = {
7071
+ __typename?: 'SolanaNetworkConfig';
7072
+ baseTokenAddress: Scalars['String']['output'];
7073
+ baseTokenSymbol: Scalars['String']['output'];
7074
+ color?: Maybe<Scalars['String']['output']>;
7075
+ defaultPairAddress: Scalars['String']['output'];
7076
+ defaultPairQuoteToken: QuoteToken;
7077
+ enabled: Scalars['Boolean']['output'];
7078
+ explorer: ExplorerConfig;
7079
+ id: Scalars['ID']['output'];
7080
+ mainnet: Scalars['Boolean']['output'];
7081
+ name: Scalars['String']['output'];
7082
+ networkIconUrl: Scalars['String']['output'];
7083
+ networkId: Scalars['Int']['output'];
7084
+ networkName: Scalars['String']['output'];
7085
+ networkShortName: Scalars['String']['output'];
7086
+ networkType: NetworkConfigType;
7087
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7088
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7089
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7090
+ };
6987
7091
  export declare enum SparklineAttribute {
6988
7092
  Price = "PRICE"
6989
7093
  }
@@ -6993,6 +7097,27 @@ export type SparklineValue = {
6993
7097
  timestamp: Scalars['Int']['output'];
6994
7098
  value: Scalars['Float']['output'];
6995
7099
  };
7100
+ export type StarknetNetworkConfig = {
7101
+ __typename?: 'StarknetNetworkConfig';
7102
+ baseTokenAddress: Scalars['String']['output'];
7103
+ baseTokenSymbol: Scalars['String']['output'];
7104
+ color?: Maybe<Scalars['String']['output']>;
7105
+ defaultPairAddress: Scalars['String']['output'];
7106
+ defaultPairQuoteToken: QuoteToken;
7107
+ enabled: Scalars['Boolean']['output'];
7108
+ explorer: ExplorerConfig;
7109
+ id: Scalars['ID']['output'];
7110
+ mainnet: Scalars['Boolean']['output'];
7111
+ name: Scalars['String']['output'];
7112
+ networkIconUrl: Scalars['String']['output'];
7113
+ networkId: Scalars['Int']['output'];
7114
+ networkName: Scalars['String']['output'];
7115
+ networkShortName: Scalars['String']['output'];
7116
+ networkType: NetworkConfigType;
7117
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7118
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7119
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7120
+ };
6996
7121
  /** Filter for NFT stats. */
6997
7122
  export type StatsFilter = {
6998
7123
  /** The percent change between the `current` and `previous`. */
@@ -7185,6 +7310,27 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7185
7310
  export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7186
7311
  input: OnUnconfirmedEventsCreatedByMakerInput;
7187
7312
  };
7313
+ export type SuiNetworkConfig = {
7314
+ __typename?: 'SuiNetworkConfig';
7315
+ baseTokenAddress: Scalars['String']['output'];
7316
+ baseTokenSymbol: Scalars['String']['output'];
7317
+ color?: Maybe<Scalars['String']['output']>;
7318
+ defaultPairAddress: Scalars['String']['output'];
7319
+ defaultPairQuoteToken: QuoteToken;
7320
+ enabled: Scalars['Boolean']['output'];
7321
+ explorer: ExplorerConfig;
7322
+ id: Scalars['ID']['output'];
7323
+ mainnet: Scalars['Boolean']['output'];
7324
+ name: Scalars['String']['output'];
7325
+ networkIconUrl: Scalars['String']['output'];
7326
+ networkId: Scalars['Int']['output'];
7327
+ networkName: Scalars['String']['output'];
7328
+ networkShortName: Scalars['String']['output'];
7329
+ networkType: NetworkConfigType;
7330
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7331
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7332
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7333
+ };
7188
7334
  /** Event data for a token swap event. */
7189
7335
  export type SwapEventData = {
7190
7336
  __typename?: 'SwapEventData';
@@ -7639,7 +7785,7 @@ export type TokenFilters = {
7639
7785
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7640
7786
  /** The timestamp when the launchpad was migrated */
7641
7787
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7642
- /** 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. */
7788
+ /** 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. */
7643
7789
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
7644
7790
  /** A list of launchpad protocols. */
7645
7791
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;