@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.
- package/dist/resources/graphql.d.ts +242 -14
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +14 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/scripts/generateNetworkConfigs.d.ts +2 -0
- package/dist/scripts/generateNetworkConfigs.d.ts.map +1 -0
- package/dist/scripts/generateNetworkConfigs.js +235 -0
- package/dist/scripts/generateNetworkConfigs.js.map +1 -0
- package/dist/sdk/Mutation.d.ts +3 -3
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -3
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +51 -51
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +51 -51
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +14 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +65 -65
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +244 -16
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +16 -4
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +3 -1
- package/src/resources/graphql.schema.json +2698 -29
- package/src/resources/graphql.ts +260 -14
- package/src/resources/networkConfigs.json +3695 -0
- package/src/resources/schema.graphql +241 -12
- package/src/scripts/generateNetworkConfigs.ts +243 -0
- package/src/sdk/Mutation.ts +7 -7
- package/src/sdk/Query.ts +107 -107
- package/src/sdk/Subscribe.ts +156 -156
- package/src/sdk/generated/graphql.ts +261 -15
package/src/resources/graphql.ts
CHANGED
|
@@ -126,6 +126,28 @@ export type ApiToken = {
|
|
|
126
126
|
token: Scalars['String']['output'];
|
|
127
127
|
};
|
|
128
128
|
|
|
129
|
+
export type AptosNetworkConfig = {
|
|
130
|
+
__typename?: 'AptosNetworkConfig';
|
|
131
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
132
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
133
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
134
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
135
|
+
defaultPairQuoteToken: QuoteToken;
|
|
136
|
+
enabled: Scalars['Boolean']['output'];
|
|
137
|
+
explorer: ExplorerConfig;
|
|
138
|
+
id: Scalars['ID']['output'];
|
|
139
|
+
mainnet: Scalars['Boolean']['output'];
|
|
140
|
+
name: Scalars['String']['output'];
|
|
141
|
+
networkIconUrl: Scalars['String']['output'];
|
|
142
|
+
networkId: Scalars['Int']['output'];
|
|
143
|
+
networkName: Scalars['String']['output'];
|
|
144
|
+
networkShortName: Scalars['String']['output'];
|
|
145
|
+
networkType: NetworkConfigType;
|
|
146
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
147
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
148
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
149
|
+
};
|
|
150
|
+
|
|
129
151
|
export type ArenaTradeData = {
|
|
130
152
|
__typename?: 'ArenaTradeData';
|
|
131
153
|
/** Protocol specific token ID */
|
|
@@ -241,6 +263,19 @@ export type BarsResponse = {
|
|
|
241
263
|
volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
242
264
|
};
|
|
243
265
|
|
|
266
|
+
export type Block = {
|
|
267
|
+
__typename?: 'Block';
|
|
268
|
+
blockNumber: Scalars['Int']['output'];
|
|
269
|
+
hash: Scalars['String']['output'];
|
|
270
|
+
timestamp: Scalars['Int']['output'];
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type BlocksInput = {
|
|
274
|
+
blockNumbers?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
275
|
+
networkId: Scalars['Int']['input'];
|
|
276
|
+
timestamps?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
277
|
+
};
|
|
278
|
+
|
|
244
279
|
/** The mathematical formula that defines how the prices of NFTs change after each buy or sell within a pool. */
|
|
245
280
|
export enum BondingCurveType {
|
|
246
281
|
Exponential = 'EXPONENTIAL',
|
|
@@ -1220,6 +1255,28 @@ export type EventsQueryInput = {
|
|
|
1220
1255
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1221
1256
|
};
|
|
1222
1257
|
|
|
1258
|
+
export type EvmNetworkConfig = {
|
|
1259
|
+
__typename?: 'EvmNetworkConfig';
|
|
1260
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
1261
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
1262
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
1263
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
1264
|
+
defaultPairQuoteToken: QuoteToken;
|
|
1265
|
+
enabled: Scalars['Boolean']['output'];
|
|
1266
|
+
explorer: ExplorerConfig;
|
|
1267
|
+
id: Scalars['ID']['output'];
|
|
1268
|
+
mainnet: Scalars['Boolean']['output'];
|
|
1269
|
+
name: Scalars['String']['output'];
|
|
1270
|
+
networkIconUrl: Scalars['String']['output'];
|
|
1271
|
+
networkId: Scalars['Int']['output'];
|
|
1272
|
+
networkName: Scalars['String']['output'];
|
|
1273
|
+
networkShortName: Scalars['String']['output'];
|
|
1274
|
+
networkType: NetworkConfigType;
|
|
1275
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1276
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
1277
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1223
1280
|
/** Metadata for a decentralized exchange. */
|
|
1224
1281
|
export type Exchange = {
|
|
1225
1282
|
__typename?: 'Exchange';
|
|
@@ -1351,6 +1408,14 @@ export enum ExchangeRankingAttribute {
|
|
|
1351
1408
|
VolumeUsd24 = 'volumeUSD24'
|
|
1352
1409
|
}
|
|
1353
1410
|
|
|
1411
|
+
export type ExplorerConfig = {
|
|
1412
|
+
__typename?: 'ExplorerConfig';
|
|
1413
|
+
checksummed: Scalars['Boolean']['output'];
|
|
1414
|
+
icon: Scalars['String']['output'];
|
|
1415
|
+
name: Scalars['String']['output'];
|
|
1416
|
+
url: Scalars['String']['output'];
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1354
1419
|
/** Third party token data sourced from off chain. */
|
|
1355
1420
|
export type ExplorerTokenData = {
|
|
1356
1421
|
__typename?: 'ExplorerTokenData';
|
|
@@ -1952,6 +2017,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1952
2017
|
BoopFun = 'BoopFun',
|
|
1953
2018
|
/** Protocol name for Clanker. */
|
|
1954
2019
|
Clanker = 'Clanker',
|
|
2020
|
+
/** Protocol name for Clanker V4. */
|
|
2021
|
+
ClankerV4 = 'ClankerV4',
|
|
1955
2022
|
/** Protocol name for EgoTech. */
|
|
1956
2023
|
EgoTech = 'EgoTech',
|
|
1957
2024
|
/** Protocol name for Four.meme. */
|
|
@@ -1968,6 +2035,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1968
2035
|
Rainbow = 'Rainbow',
|
|
1969
2036
|
/** Protocol name for LaunchLab and Bonk. */
|
|
1970
2037
|
RaydiumLaunchpad = 'RaydiumLaunchpad',
|
|
2038
|
+
/** Protocol name for TokenMill V2. */
|
|
2039
|
+
TokenMillV2 = 'TokenMillV2',
|
|
1971
2040
|
/** Protocol name for Vertigo. */
|
|
1972
2041
|
Vertigo = 'Vertigo',
|
|
1973
2042
|
/** Protocol name for Virtuals. */
|
|
@@ -2311,6 +2380,37 @@ export type NetworkBreakdown = {
|
|
|
2311
2380
|
statsYear1?: Maybe<WindowedWalletStats>;
|
|
2312
2381
|
};
|
|
2313
2382
|
|
|
2383
|
+
export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
|
|
2384
|
+
|
|
2385
|
+
export type NetworkConfigBase = {
|
|
2386
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
2387
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
2388
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
2389
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
2390
|
+
defaultPairQuoteToken: QuoteToken;
|
|
2391
|
+
enabled: Scalars['Boolean']['output'];
|
|
2392
|
+
explorer: ExplorerConfig;
|
|
2393
|
+
id: Scalars['ID']['output'];
|
|
2394
|
+
mainnet: Scalars['Boolean']['output'];
|
|
2395
|
+
name: Scalars['String']['output'];
|
|
2396
|
+
networkIconUrl: Scalars['String']['output'];
|
|
2397
|
+
networkId: Scalars['Int']['output'];
|
|
2398
|
+
networkName: Scalars['String']['output'];
|
|
2399
|
+
networkShortName: Scalars['String']['output'];
|
|
2400
|
+
networkType: NetworkConfigType;
|
|
2401
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
2402
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
2403
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
export enum NetworkConfigType {
|
|
2407
|
+
Aptos = 'APTOS',
|
|
2408
|
+
Evm = 'EVM',
|
|
2409
|
+
Solana = 'SOLANA',
|
|
2410
|
+
Starknet = 'STARKNET',
|
|
2411
|
+
Sui = 'SUI'
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2314
2414
|
/** A connection of wallets matching a filter on a specific network. */
|
|
2315
2415
|
export type NetworkWalletFilterConnection = {
|
|
2316
2416
|
__typename?: 'NetworkWalletFilterConnection';
|
|
@@ -5063,9 +5163,9 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
5063
5163
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
5064
5164
|
/** The type of event. */
|
|
5065
5165
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5066
|
-
/** 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. */
|
|
5166
|
+
/** 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. */
|
|
5067
5167
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5068
|
-
/** 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. */
|
|
5168
|
+
/** 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. */
|
|
5069
5169
|
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5070
5170
|
/** The network ID that the token is deployed on. */
|
|
5071
5171
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5081,9 +5181,9 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5081
5181
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
5082
5182
|
/** The type of event. */
|
|
5083
5183
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5084
|
-
/** 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. */
|
|
5184
|
+
/** 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. */
|
|
5085
5185
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5086
|
-
/** 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. */
|
|
5186
|
+
/** 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. */
|
|
5087
5187
|
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5088
5188
|
/** The network ID that the token is deployed on. */
|
|
5089
5189
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5108,11 +5208,20 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5108
5208
|
eventSortKey: Scalars['String']['output'];
|
|
5109
5209
|
/** The network ID the pair is deployed on. */
|
|
5110
5210
|
networkId: Scalars['Int']['output'];
|
|
5111
|
-
/**
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5211
|
+
/**
|
|
5212
|
+
* The contract address for the pair.
|
|
5213
|
+
* @deprecated pairs are no longer used for pricing
|
|
5214
|
+
*/
|
|
5215
|
+
pairAddress?: Maybe<Scalars['String']['output']>;
|
|
5216
|
+
/**
|
|
5217
|
+
* The ID for the pair (`pairAddress`:`networkId`).
|
|
5218
|
+
* @deprecated pairs are no longer used for pricing
|
|
5219
|
+
*/
|
|
5220
|
+
pairId?: Maybe<Scalars['String']['output']>;
|
|
5221
|
+
/**
|
|
5222
|
+
* The quote token within the pair.
|
|
5223
|
+
* @deprecated pairs are no longer used for pricing
|
|
5224
|
+
*/
|
|
5116
5225
|
quoteToken?: Maybe<QuoteToken>;
|
|
5117
5226
|
/** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
|
|
5118
5227
|
statsType: TokenPairStatisticsType;
|
|
@@ -6031,6 +6140,8 @@ export type Price = {
|
|
|
6031
6140
|
address: Scalars['String']['output'];
|
|
6032
6141
|
/** Ratio of how confident we are in the price */
|
|
6033
6142
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
6143
|
+
/** The internal pool address for the price */
|
|
6144
|
+
internalPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
6034
6145
|
/** The network ID the token is deployed on. */
|
|
6035
6146
|
networkId: Scalars['Int']['output'];
|
|
6036
6147
|
/** The pool that emitted the swap generating this price */
|
|
@@ -6583,6 +6694,8 @@ export type Query = {
|
|
|
6583
6694
|
apiTokens: Array<ApiToken>;
|
|
6584
6695
|
/** Returns list of token balances that a wallet has. */
|
|
6585
6696
|
balances: BalancesResponse;
|
|
6697
|
+
/** Returns block data for the input blockNumbers or timestamps, maximum 25 inputs. */
|
|
6698
|
+
blocks: Array<Block>;
|
|
6586
6699
|
/** Returns a URL for a pair chart. */
|
|
6587
6700
|
chartUrls?: Maybe<ChartUrlsResponse>;
|
|
6588
6701
|
/** Returns detailed stats for a wallet. */
|
|
@@ -6639,6 +6752,7 @@ export type Query = {
|
|
|
6639
6752
|
* @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
|
|
6640
6753
|
*/
|
|
6641
6754
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6755
|
+
getNetworkConfigs: Array<NetworkConfig>;
|
|
6642
6756
|
/** Returns metadata for a given network supported on Codex. */
|
|
6643
6757
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
6644
6758
|
/** Returns the status of a list of networks supported on Codex. */
|
|
@@ -6677,6 +6791,8 @@ export type Query = {
|
|
|
6677
6791
|
getPrimePools?: Maybe<PrimePoolConnection>;
|
|
6678
6792
|
/** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
|
|
6679
6793
|
getSymbol?: Maybe<SymbolResponse>;
|
|
6794
|
+
/** Returns bar chart data to track price changes over time. */
|
|
6795
|
+
getTokenBars?: Maybe<TokenBarsResponse>;
|
|
6680
6796
|
/** Returns transactions for a pair. */
|
|
6681
6797
|
getTokenEvents?: Maybe<EventConnection>;
|
|
6682
6798
|
/** Returns a list of token events for a given maker across all pairs. */
|
|
@@ -6748,6 +6864,11 @@ export type QueryBalancesArgs = {
|
|
|
6748
6864
|
};
|
|
6749
6865
|
|
|
6750
6866
|
|
|
6867
|
+
export type QueryBlocksArgs = {
|
|
6868
|
+
input: BlocksInput;
|
|
6869
|
+
};
|
|
6870
|
+
|
|
6871
|
+
|
|
6751
6872
|
export type QueryChartUrlsArgs = {
|
|
6752
6873
|
input: ChartInput;
|
|
6753
6874
|
};
|
|
@@ -6929,6 +7050,11 @@ export type QueryGetLatestTokensArgs = {
|
|
|
6929
7050
|
};
|
|
6930
7051
|
|
|
6931
7052
|
|
|
7053
|
+
export type QueryGetNetworkConfigsArgs = {
|
|
7054
|
+
networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
7055
|
+
};
|
|
7056
|
+
|
|
7057
|
+
|
|
6932
7058
|
export type QueryGetNetworkStatsArgs = {
|
|
6933
7059
|
exchangeAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6934
7060
|
networkId: Scalars['Int']['input'];
|
|
@@ -7080,6 +7206,19 @@ export type QueryGetSymbolArgs = {
|
|
|
7080
7206
|
};
|
|
7081
7207
|
|
|
7082
7208
|
|
|
7209
|
+
export type QueryGetTokenBarsArgs = {
|
|
7210
|
+
countback?: InputMaybe<Scalars['Int']['input']>;
|
|
7211
|
+
currencyCode?: InputMaybe<QuoteCurrency>;
|
|
7212
|
+
from: Scalars['Int']['input'];
|
|
7213
|
+
removeEmptyBars?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7214
|
+
removeLeadingNullValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7215
|
+
resolution: Scalars['String']['input'];
|
|
7216
|
+
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7217
|
+
symbol: Scalars['String']['input'];
|
|
7218
|
+
to: Scalars['Int']['input'];
|
|
7219
|
+
};
|
|
7220
|
+
|
|
7221
|
+
|
|
7083
7222
|
export type QueryGetTokenEventsArgs = {
|
|
7084
7223
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
7085
7224
|
direction?: InputMaybe<RankingDirection>;
|
|
@@ -7425,6 +7564,28 @@ export type SocialLinks = {
|
|
|
7425
7564
|
youtube?: Maybe<Scalars['String']['output']>;
|
|
7426
7565
|
};
|
|
7427
7566
|
|
|
7567
|
+
export type SolanaNetworkConfig = {
|
|
7568
|
+
__typename?: 'SolanaNetworkConfig';
|
|
7569
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7570
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7571
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7572
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7573
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7574
|
+
enabled: Scalars['Boolean']['output'];
|
|
7575
|
+
explorer: ExplorerConfig;
|
|
7576
|
+
id: Scalars['ID']['output'];
|
|
7577
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7578
|
+
name: Scalars['String']['output'];
|
|
7579
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7580
|
+
networkId: Scalars['Int']['output'];
|
|
7581
|
+
networkName: Scalars['String']['output'];
|
|
7582
|
+
networkShortName: Scalars['String']['output'];
|
|
7583
|
+
networkType: NetworkConfigType;
|
|
7584
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7585
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7586
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7587
|
+
};
|
|
7588
|
+
|
|
7428
7589
|
export enum SparklineAttribute {
|
|
7429
7590
|
Price = 'PRICE'
|
|
7430
7591
|
}
|
|
@@ -7436,6 +7597,28 @@ export type SparklineValue = {
|
|
|
7436
7597
|
value: Scalars['Float']['output'];
|
|
7437
7598
|
};
|
|
7438
7599
|
|
|
7600
|
+
export type StarknetNetworkConfig = {
|
|
7601
|
+
__typename?: 'StarknetNetworkConfig';
|
|
7602
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7603
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7604
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7605
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7606
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7607
|
+
enabled: Scalars['Boolean']['output'];
|
|
7608
|
+
explorer: ExplorerConfig;
|
|
7609
|
+
id: Scalars['ID']['output'];
|
|
7610
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7611
|
+
name: Scalars['String']['output'];
|
|
7612
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7613
|
+
networkId: Scalars['Int']['output'];
|
|
7614
|
+
networkName: Scalars['String']['output'];
|
|
7615
|
+
networkShortName: Scalars['String']['output'];
|
|
7616
|
+
networkType: NetworkConfigType;
|
|
7617
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7618
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7619
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7620
|
+
};
|
|
7621
|
+
|
|
7439
7622
|
/** Filter for NFT stats. */
|
|
7440
7623
|
export type StatsFilter = {
|
|
7441
7624
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -7681,6 +7864,28 @@ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
|
|
|
7681
7864
|
input: OnUnconfirmedEventsCreatedByMakerInput;
|
|
7682
7865
|
};
|
|
7683
7866
|
|
|
7867
|
+
export type SuiNetworkConfig = {
|
|
7868
|
+
__typename?: 'SuiNetworkConfig';
|
|
7869
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7870
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7871
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7872
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7873
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7874
|
+
enabled: Scalars['Boolean']['output'];
|
|
7875
|
+
explorer: ExplorerConfig;
|
|
7876
|
+
id: Scalars['ID']['output'];
|
|
7877
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7878
|
+
name: Scalars['String']['output'];
|
|
7879
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7880
|
+
networkId: Scalars['Int']['output'];
|
|
7881
|
+
networkName: Scalars['String']['output'];
|
|
7882
|
+
networkShortName: Scalars['String']['output'];
|
|
7883
|
+
networkType: NetworkConfigType;
|
|
7884
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7885
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7886
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7887
|
+
};
|
|
7888
|
+
|
|
7684
7889
|
/** Event data for a token swap event. */
|
|
7685
7890
|
export type SwapEventData = {
|
|
7686
7891
|
__typename?: 'SwapEventData';
|
|
@@ -7868,6 +8073,47 @@ export enum SymbolType {
|
|
|
7868
8073
|
Token = 'TOKEN'
|
|
7869
8074
|
}
|
|
7870
8075
|
|
|
8076
|
+
/** Bar chart data to track price changes over time. */
|
|
8077
|
+
export type TokenBarsResponse = {
|
|
8078
|
+
__typename?: 'TokenBarsResponse';
|
|
8079
|
+
/** The buy volume in USD */
|
|
8080
|
+
buyVolume: Array<Maybe<Scalars['String']['output']>>;
|
|
8081
|
+
/** The number of unique buyers */
|
|
8082
|
+
buyers: Array<Maybe<Scalars['Int']['output']>>;
|
|
8083
|
+
/** The number of buys */
|
|
8084
|
+
buys: Array<Maybe<Scalars['Int']['output']>>;
|
|
8085
|
+
/** The closing price. */
|
|
8086
|
+
c: Array<Maybe<Scalars['Float']['output']>>;
|
|
8087
|
+
/** The high price. */
|
|
8088
|
+
h: Array<Maybe<Scalars['Float']['output']>>;
|
|
8089
|
+
/** The low price. */
|
|
8090
|
+
l: Array<Maybe<Scalars['Float']['output']>>;
|
|
8091
|
+
/** Liquidity in USD */
|
|
8092
|
+
liquidity: Array<Maybe<Scalars['String']['output']>>;
|
|
8093
|
+
/** The opening price. */
|
|
8094
|
+
o: Array<Maybe<Scalars['Float']['output']>>;
|
|
8095
|
+
/** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
|
|
8096
|
+
s: Scalars['String']['output'];
|
|
8097
|
+
/** The sell volume in USD */
|
|
8098
|
+
sellVolume: Array<Maybe<Scalars['String']['output']>>;
|
|
8099
|
+
/** The number of unique sellers */
|
|
8100
|
+
sellers: Array<Maybe<Scalars['Int']['output']>>;
|
|
8101
|
+
/** The number of sells */
|
|
8102
|
+
sells: Array<Maybe<Scalars['Int']['output']>>;
|
|
8103
|
+
/** The timestamp for the bar. */
|
|
8104
|
+
t: Array<Scalars['Int']['output']>;
|
|
8105
|
+
/** The token that is being returned */
|
|
8106
|
+
token: EnhancedToken;
|
|
8107
|
+
/** The number of traders */
|
|
8108
|
+
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
8109
|
+
/** The number of transactions */
|
|
8110
|
+
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
8111
|
+
/** The volume with higher precision. */
|
|
8112
|
+
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
8113
|
+
/** The volume in the native token for the network */
|
|
8114
|
+
volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
8115
|
+
};
|
|
8116
|
+
|
|
7871
8117
|
/** Token burn event data. */
|
|
7872
8118
|
export type TokenBurnEventData = {
|
|
7873
8119
|
__typename?: 'TokenBurnEventData';
|
|
@@ -8135,17 +8381,17 @@ export type TokenFilters = {
|
|
|
8135
8381
|
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8136
8382
|
/** The unix timestamp for the token's last transaction. */
|
|
8137
8383
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
8138
|
-
/** Indicates if the launchpad is completed */
|
|
8384
|
+
/** Indicates if the launchpad is completed. */
|
|
8139
8385
|
launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8140
|
-
/** The timestamp when the launchpad was completed */
|
|
8386
|
+
/** The timestamp when the launchpad was completed. */
|
|
8141
8387
|
launchpadCompletedAt?: InputMaybe<NumberFilter>;
|
|
8142
|
-
/** The graduation percentage */
|
|
8388
|
+
/** The graduation percentage. */
|
|
8143
8389
|
launchpadGraduationPercent?: InputMaybe<NumberFilter>;
|
|
8144
|
-
/** Indicates if the launchpad has migrated */
|
|
8390
|
+
/** Indicates if the launchpad has migrated. */
|
|
8145
8391
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8146
8392
|
/** The timestamp when the launchpad was migrated */
|
|
8147
8393
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
8148
|
-
/** 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. */
|
|
8394
|
+
/** 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. */
|
|
8149
8395
|
launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8150
8396
|
/** A list of launchpad protocols. */
|
|
8151
8397
|
launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
|