@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
|
@@ -128,6 +128,28 @@ export type ApiToken = {
|
|
|
128
128
|
token: Scalars['String']['output'];
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
+
export type AptosNetworkConfig = {
|
|
132
|
+
__typename?: 'AptosNetworkConfig';
|
|
133
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
134
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
135
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
136
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
137
|
+
defaultPairQuoteToken: QuoteToken;
|
|
138
|
+
enabled: Scalars['Boolean']['output'];
|
|
139
|
+
explorer: ExplorerConfig;
|
|
140
|
+
id: Scalars['ID']['output'];
|
|
141
|
+
mainnet: Scalars['Boolean']['output'];
|
|
142
|
+
name: Scalars['String']['output'];
|
|
143
|
+
networkIconUrl: Scalars['String']['output'];
|
|
144
|
+
networkId: Scalars['Int']['output'];
|
|
145
|
+
networkName: Scalars['String']['output'];
|
|
146
|
+
networkShortName: Scalars['String']['output'];
|
|
147
|
+
networkType: NetworkConfigType;
|
|
148
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
149
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
150
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
151
|
+
};
|
|
152
|
+
|
|
131
153
|
export type ArenaTradeData = {
|
|
132
154
|
__typename?: 'ArenaTradeData';
|
|
133
155
|
/** Protocol specific token ID */
|
|
@@ -243,6 +265,19 @@ export type BarsResponse = {
|
|
|
243
265
|
volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
244
266
|
};
|
|
245
267
|
|
|
268
|
+
export type Block = {
|
|
269
|
+
__typename?: 'Block';
|
|
270
|
+
blockNumber: Scalars['Int']['output'];
|
|
271
|
+
hash: Scalars['String']['output'];
|
|
272
|
+
timestamp: Scalars['Int']['output'];
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export type BlocksInput = {
|
|
276
|
+
blockNumbers?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
277
|
+
networkId: Scalars['Int']['input'];
|
|
278
|
+
timestamps?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
279
|
+
};
|
|
280
|
+
|
|
246
281
|
/** The mathematical formula that defines how the prices of NFTs change after each buy or sell within a pool. */
|
|
247
282
|
export enum BondingCurveType {
|
|
248
283
|
Exponential = 'EXPONENTIAL',
|
|
@@ -1222,6 +1257,28 @@ export type EventsQueryInput = {
|
|
|
1222
1257
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1223
1258
|
};
|
|
1224
1259
|
|
|
1260
|
+
export type EvmNetworkConfig = {
|
|
1261
|
+
__typename?: 'EvmNetworkConfig';
|
|
1262
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
1263
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
1264
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
1265
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
1266
|
+
defaultPairQuoteToken: QuoteToken;
|
|
1267
|
+
enabled: Scalars['Boolean']['output'];
|
|
1268
|
+
explorer: ExplorerConfig;
|
|
1269
|
+
id: Scalars['ID']['output'];
|
|
1270
|
+
mainnet: Scalars['Boolean']['output'];
|
|
1271
|
+
name: Scalars['String']['output'];
|
|
1272
|
+
networkIconUrl: Scalars['String']['output'];
|
|
1273
|
+
networkId: Scalars['Int']['output'];
|
|
1274
|
+
networkName: Scalars['String']['output'];
|
|
1275
|
+
networkShortName: Scalars['String']['output'];
|
|
1276
|
+
networkType: NetworkConfigType;
|
|
1277
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1278
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
1279
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1225
1282
|
/** Metadata for a decentralized exchange. */
|
|
1226
1283
|
export type Exchange = {
|
|
1227
1284
|
__typename?: 'Exchange';
|
|
@@ -1353,6 +1410,14 @@ export enum ExchangeRankingAttribute {
|
|
|
1353
1410
|
VolumeUsd24 = 'volumeUSD24'
|
|
1354
1411
|
}
|
|
1355
1412
|
|
|
1413
|
+
export type ExplorerConfig = {
|
|
1414
|
+
__typename?: 'ExplorerConfig';
|
|
1415
|
+
checksummed: Scalars['Boolean']['output'];
|
|
1416
|
+
icon: Scalars['String']['output'];
|
|
1417
|
+
name: Scalars['String']['output'];
|
|
1418
|
+
url: Scalars['String']['output'];
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1356
1421
|
/** Third party token data sourced from off chain. */
|
|
1357
1422
|
export type ExplorerTokenData = {
|
|
1358
1423
|
__typename?: 'ExplorerTokenData';
|
|
@@ -1954,6 +2019,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1954
2019
|
BoopFun = 'BoopFun',
|
|
1955
2020
|
/** Protocol name for Clanker. */
|
|
1956
2021
|
Clanker = 'Clanker',
|
|
2022
|
+
/** Protocol name for Clanker V4. */
|
|
2023
|
+
ClankerV4 = 'ClankerV4',
|
|
1957
2024
|
/** Protocol name for EgoTech. */
|
|
1958
2025
|
EgoTech = 'EgoTech',
|
|
1959
2026
|
/** Protocol name for Four.meme. */
|
|
@@ -1970,6 +2037,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1970
2037
|
Rainbow = 'Rainbow',
|
|
1971
2038
|
/** Protocol name for LaunchLab and Bonk. */
|
|
1972
2039
|
RaydiumLaunchpad = 'RaydiumLaunchpad',
|
|
2040
|
+
/** Protocol name for TokenMill V2. */
|
|
2041
|
+
TokenMillV2 = 'TokenMillV2',
|
|
1973
2042
|
/** Protocol name for Vertigo. */
|
|
1974
2043
|
Vertigo = 'Vertigo',
|
|
1975
2044
|
/** Protocol name for Virtuals. */
|
|
@@ -2313,6 +2382,37 @@ export type NetworkBreakdown = {
|
|
|
2313
2382
|
statsYear1?: Maybe<WindowedWalletStats>;
|
|
2314
2383
|
};
|
|
2315
2384
|
|
|
2385
|
+
export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
|
|
2386
|
+
|
|
2387
|
+
export type NetworkConfigBase = {
|
|
2388
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
2389
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
2390
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
2391
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
2392
|
+
defaultPairQuoteToken: QuoteToken;
|
|
2393
|
+
enabled: Scalars['Boolean']['output'];
|
|
2394
|
+
explorer: ExplorerConfig;
|
|
2395
|
+
id: Scalars['ID']['output'];
|
|
2396
|
+
mainnet: Scalars['Boolean']['output'];
|
|
2397
|
+
name: Scalars['String']['output'];
|
|
2398
|
+
networkIconUrl: Scalars['String']['output'];
|
|
2399
|
+
networkId: Scalars['Int']['output'];
|
|
2400
|
+
networkName: Scalars['String']['output'];
|
|
2401
|
+
networkShortName: Scalars['String']['output'];
|
|
2402
|
+
networkType: NetworkConfigType;
|
|
2403
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
2404
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
2405
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
2406
|
+
};
|
|
2407
|
+
|
|
2408
|
+
export enum NetworkConfigType {
|
|
2409
|
+
Aptos = 'APTOS',
|
|
2410
|
+
Evm = 'EVM',
|
|
2411
|
+
Solana = 'SOLANA',
|
|
2412
|
+
Starknet = 'STARKNET',
|
|
2413
|
+
Sui = 'SUI'
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2316
2416
|
/** A connection of wallets matching a filter on a specific network. */
|
|
2317
2417
|
export type NetworkWalletFilterConnection = {
|
|
2318
2418
|
__typename?: 'NetworkWalletFilterConnection';
|
|
@@ -5065,9 +5165,9 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
5065
5165
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
5066
5166
|
/** The type of event. */
|
|
5067
5167
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5068
|
-
/** 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. */
|
|
5168
|
+
/** 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. */
|
|
5069
5169
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5070
|
-
/** 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. */
|
|
5170
|
+
/** 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. */
|
|
5071
5171
|
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5072
5172
|
/** The network ID that the token is deployed on. */
|
|
5073
5173
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5083,9 +5183,9 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5083
5183
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
5084
5184
|
/** The type of event. */
|
|
5085
5185
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5086
|
-
/** 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. */
|
|
5186
|
+
/** 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. */
|
|
5087
5187
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5088
|
-
/** 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. */
|
|
5188
|
+
/** 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. */
|
|
5089
5189
|
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5090
5190
|
/** The network ID that the token is deployed on. */
|
|
5091
5191
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5110,11 +5210,20 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5110
5210
|
eventSortKey: Scalars['String']['output'];
|
|
5111
5211
|
/** The network ID the pair is deployed on. */
|
|
5112
5212
|
networkId: Scalars['Int']['output'];
|
|
5113
|
-
/**
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5213
|
+
/**
|
|
5214
|
+
* The contract address for the pair.
|
|
5215
|
+
* @deprecated pairs are no longer used for pricing
|
|
5216
|
+
*/
|
|
5217
|
+
pairAddress?: Maybe<Scalars['String']['output']>;
|
|
5218
|
+
/**
|
|
5219
|
+
* The ID for the pair (`pairAddress`:`networkId`).
|
|
5220
|
+
* @deprecated pairs are no longer used for pricing
|
|
5221
|
+
*/
|
|
5222
|
+
pairId?: Maybe<Scalars['String']['output']>;
|
|
5223
|
+
/**
|
|
5224
|
+
* The quote token within the pair.
|
|
5225
|
+
* @deprecated pairs are no longer used for pricing
|
|
5226
|
+
*/
|
|
5118
5227
|
quoteToken?: Maybe<QuoteToken>;
|
|
5119
5228
|
/** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
|
|
5120
5229
|
statsType: TokenPairStatisticsType;
|
|
@@ -6033,6 +6142,8 @@ export type Price = {
|
|
|
6033
6142
|
address: Scalars['String']['output'];
|
|
6034
6143
|
/** Ratio of how confident we are in the price */
|
|
6035
6144
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
6145
|
+
/** The internal pool address for the price */
|
|
6146
|
+
internalPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
6036
6147
|
/** The network ID the token is deployed on. */
|
|
6037
6148
|
networkId: Scalars['Int']['output'];
|
|
6038
6149
|
/** The pool that emitted the swap generating this price */
|
|
@@ -6585,6 +6696,8 @@ export type Query = {
|
|
|
6585
6696
|
apiTokens: Array<ApiToken>;
|
|
6586
6697
|
/** Returns list of token balances that a wallet has. */
|
|
6587
6698
|
balances: BalancesResponse;
|
|
6699
|
+
/** Returns block data for the input blockNumbers or timestamps, maximum 25 inputs. */
|
|
6700
|
+
blocks: Array<Block>;
|
|
6588
6701
|
/** Returns a URL for a pair chart. */
|
|
6589
6702
|
chartUrls?: Maybe<ChartUrlsResponse>;
|
|
6590
6703
|
/** Returns detailed stats for a wallet. */
|
|
@@ -6641,6 +6754,7 @@ export type Query = {
|
|
|
6641
6754
|
* @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
|
|
6642
6755
|
*/
|
|
6643
6756
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6757
|
+
getNetworkConfigs: Array<NetworkConfig>;
|
|
6644
6758
|
/** Returns metadata for a given network supported on Codex. */
|
|
6645
6759
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
6646
6760
|
/** Returns the status of a list of networks supported on Codex. */
|
|
@@ -6679,6 +6793,8 @@ export type Query = {
|
|
|
6679
6793
|
getPrimePools?: Maybe<PrimePoolConnection>;
|
|
6680
6794
|
/** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
|
|
6681
6795
|
getSymbol?: Maybe<SymbolResponse>;
|
|
6796
|
+
/** Returns bar chart data to track price changes over time. */
|
|
6797
|
+
getTokenBars?: Maybe<TokenBarsResponse>;
|
|
6682
6798
|
/** Returns transactions for a pair. */
|
|
6683
6799
|
getTokenEvents?: Maybe<EventConnection>;
|
|
6684
6800
|
/** Returns a list of token events for a given maker across all pairs. */
|
|
@@ -6750,6 +6866,11 @@ export type QueryBalancesArgs = {
|
|
|
6750
6866
|
};
|
|
6751
6867
|
|
|
6752
6868
|
|
|
6869
|
+
export type QueryBlocksArgs = {
|
|
6870
|
+
input: BlocksInput;
|
|
6871
|
+
};
|
|
6872
|
+
|
|
6873
|
+
|
|
6753
6874
|
export type QueryChartUrlsArgs = {
|
|
6754
6875
|
input: ChartInput;
|
|
6755
6876
|
};
|
|
@@ -6931,6 +7052,11 @@ export type QueryGetLatestTokensArgs = {
|
|
|
6931
7052
|
};
|
|
6932
7053
|
|
|
6933
7054
|
|
|
7055
|
+
export type QueryGetNetworkConfigsArgs = {
|
|
7056
|
+
networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
7057
|
+
};
|
|
7058
|
+
|
|
7059
|
+
|
|
6934
7060
|
export type QueryGetNetworkStatsArgs = {
|
|
6935
7061
|
exchangeAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6936
7062
|
networkId: Scalars['Int']['input'];
|
|
@@ -7082,6 +7208,19 @@ export type QueryGetSymbolArgs = {
|
|
|
7082
7208
|
};
|
|
7083
7209
|
|
|
7084
7210
|
|
|
7211
|
+
export type QueryGetTokenBarsArgs = {
|
|
7212
|
+
countback?: InputMaybe<Scalars['Int']['input']>;
|
|
7213
|
+
currencyCode?: InputMaybe<QuoteCurrency>;
|
|
7214
|
+
from: Scalars['Int']['input'];
|
|
7215
|
+
removeEmptyBars?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7216
|
+
removeLeadingNullValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7217
|
+
resolution: Scalars['String']['input'];
|
|
7218
|
+
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7219
|
+
symbol: Scalars['String']['input'];
|
|
7220
|
+
to: Scalars['Int']['input'];
|
|
7221
|
+
};
|
|
7222
|
+
|
|
7223
|
+
|
|
7085
7224
|
export type QueryGetTokenEventsArgs = {
|
|
7086
7225
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
7087
7226
|
direction?: InputMaybe<RankingDirection>;
|
|
@@ -7427,6 +7566,28 @@ export type SocialLinks = {
|
|
|
7427
7566
|
youtube?: Maybe<Scalars['String']['output']>;
|
|
7428
7567
|
};
|
|
7429
7568
|
|
|
7569
|
+
export type SolanaNetworkConfig = {
|
|
7570
|
+
__typename?: 'SolanaNetworkConfig';
|
|
7571
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7572
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7573
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7574
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7575
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7576
|
+
enabled: Scalars['Boolean']['output'];
|
|
7577
|
+
explorer: ExplorerConfig;
|
|
7578
|
+
id: Scalars['ID']['output'];
|
|
7579
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7580
|
+
name: Scalars['String']['output'];
|
|
7581
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7582
|
+
networkId: Scalars['Int']['output'];
|
|
7583
|
+
networkName: Scalars['String']['output'];
|
|
7584
|
+
networkShortName: Scalars['String']['output'];
|
|
7585
|
+
networkType: NetworkConfigType;
|
|
7586
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7587
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7588
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7589
|
+
};
|
|
7590
|
+
|
|
7430
7591
|
export enum SparklineAttribute {
|
|
7431
7592
|
Price = 'PRICE'
|
|
7432
7593
|
}
|
|
@@ -7438,6 +7599,28 @@ export type SparklineValue = {
|
|
|
7438
7599
|
value: Scalars['Float']['output'];
|
|
7439
7600
|
};
|
|
7440
7601
|
|
|
7602
|
+
export type StarknetNetworkConfig = {
|
|
7603
|
+
__typename?: 'StarknetNetworkConfig';
|
|
7604
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7605
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7606
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7607
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7608
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7609
|
+
enabled: Scalars['Boolean']['output'];
|
|
7610
|
+
explorer: ExplorerConfig;
|
|
7611
|
+
id: Scalars['ID']['output'];
|
|
7612
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7613
|
+
name: Scalars['String']['output'];
|
|
7614
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7615
|
+
networkId: Scalars['Int']['output'];
|
|
7616
|
+
networkName: Scalars['String']['output'];
|
|
7617
|
+
networkShortName: Scalars['String']['output'];
|
|
7618
|
+
networkType: NetworkConfigType;
|
|
7619
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7620
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7621
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7622
|
+
};
|
|
7623
|
+
|
|
7441
7624
|
/** Filter for NFT stats. */
|
|
7442
7625
|
export type StatsFilter = {
|
|
7443
7626
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -7683,6 +7866,28 @@ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
|
|
|
7683
7866
|
input: OnUnconfirmedEventsCreatedByMakerInput;
|
|
7684
7867
|
};
|
|
7685
7868
|
|
|
7869
|
+
export type SuiNetworkConfig = {
|
|
7870
|
+
__typename?: 'SuiNetworkConfig';
|
|
7871
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7872
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7873
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7874
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7875
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7876
|
+
enabled: Scalars['Boolean']['output'];
|
|
7877
|
+
explorer: ExplorerConfig;
|
|
7878
|
+
id: Scalars['ID']['output'];
|
|
7879
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7880
|
+
name: Scalars['String']['output'];
|
|
7881
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7882
|
+
networkId: Scalars['Int']['output'];
|
|
7883
|
+
networkName: Scalars['String']['output'];
|
|
7884
|
+
networkShortName: Scalars['String']['output'];
|
|
7885
|
+
networkType: NetworkConfigType;
|
|
7886
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7887
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7888
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7889
|
+
};
|
|
7890
|
+
|
|
7686
7891
|
/** Event data for a token swap event. */
|
|
7687
7892
|
export type SwapEventData = {
|
|
7688
7893
|
__typename?: 'SwapEventData';
|
|
@@ -7870,6 +8075,47 @@ export enum SymbolType {
|
|
|
7870
8075
|
Token = 'TOKEN'
|
|
7871
8076
|
}
|
|
7872
8077
|
|
|
8078
|
+
/** Bar chart data to track price changes over time. */
|
|
8079
|
+
export type TokenBarsResponse = {
|
|
8080
|
+
__typename?: 'TokenBarsResponse';
|
|
8081
|
+
/** The buy volume in USD */
|
|
8082
|
+
buyVolume: Array<Maybe<Scalars['String']['output']>>;
|
|
8083
|
+
/** The number of unique buyers */
|
|
8084
|
+
buyers: Array<Maybe<Scalars['Int']['output']>>;
|
|
8085
|
+
/** The number of buys */
|
|
8086
|
+
buys: Array<Maybe<Scalars['Int']['output']>>;
|
|
8087
|
+
/** The closing price. */
|
|
8088
|
+
c: Array<Maybe<Scalars['Float']['output']>>;
|
|
8089
|
+
/** The high price. */
|
|
8090
|
+
h: Array<Maybe<Scalars['Float']['output']>>;
|
|
8091
|
+
/** The low price. */
|
|
8092
|
+
l: Array<Maybe<Scalars['Float']['output']>>;
|
|
8093
|
+
/** Liquidity in USD */
|
|
8094
|
+
liquidity: Array<Maybe<Scalars['String']['output']>>;
|
|
8095
|
+
/** The opening price. */
|
|
8096
|
+
o: Array<Maybe<Scalars['Float']['output']>>;
|
|
8097
|
+
/** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
|
|
8098
|
+
s: Scalars['String']['output'];
|
|
8099
|
+
/** The sell volume in USD */
|
|
8100
|
+
sellVolume: Array<Maybe<Scalars['String']['output']>>;
|
|
8101
|
+
/** The number of unique sellers */
|
|
8102
|
+
sellers: Array<Maybe<Scalars['Int']['output']>>;
|
|
8103
|
+
/** The number of sells */
|
|
8104
|
+
sells: Array<Maybe<Scalars['Int']['output']>>;
|
|
8105
|
+
/** The timestamp for the bar. */
|
|
8106
|
+
t: Array<Scalars['Int']['output']>;
|
|
8107
|
+
/** The token that is being returned */
|
|
8108
|
+
token: EnhancedToken;
|
|
8109
|
+
/** The number of traders */
|
|
8110
|
+
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
8111
|
+
/** The number of transactions */
|
|
8112
|
+
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
8113
|
+
/** The volume with higher precision. */
|
|
8114
|
+
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
8115
|
+
/** The volume in the native token for the network */
|
|
8116
|
+
volumeNativeToken?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
8117
|
+
};
|
|
8118
|
+
|
|
7873
8119
|
/** Token burn event data. */
|
|
7874
8120
|
export type TokenBurnEventData = {
|
|
7875
8121
|
__typename?: 'TokenBurnEventData';
|
|
@@ -8137,17 +8383,17 @@ export type TokenFilters = {
|
|
|
8137
8383
|
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8138
8384
|
/** The unix timestamp for the token's last transaction. */
|
|
8139
8385
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
8140
|
-
/** Indicates if the launchpad is completed */
|
|
8386
|
+
/** Indicates if the launchpad is completed. */
|
|
8141
8387
|
launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8142
|
-
/** The timestamp when the launchpad was completed */
|
|
8388
|
+
/** The timestamp when the launchpad was completed. */
|
|
8143
8389
|
launchpadCompletedAt?: InputMaybe<NumberFilter>;
|
|
8144
|
-
/** The graduation percentage */
|
|
8390
|
+
/** The graduation percentage. */
|
|
8145
8391
|
launchpadGraduationPercent?: InputMaybe<NumberFilter>;
|
|
8146
|
-
/** Indicates if the launchpad has migrated */
|
|
8392
|
+
/** Indicates if the launchpad has migrated. */
|
|
8147
8393
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8148
8394
|
/** The timestamp when the launchpad was migrated */
|
|
8149
8395
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
8150
|
-
/** 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. */
|
|
8396
|
+
/** 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. */
|
|
8151
8397
|
launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8152
8398
|
/** A list of launchpad protocols. */
|
|
8153
8399
|
launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -10942,7 +11188,7 @@ export type OnTokenBarsUpdatedSubscriptionVariables = Exact<{
|
|
|
10942
11188
|
}>;
|
|
10943
11189
|
|
|
10944
11190
|
|
|
10945
|
-
export type OnTokenBarsUpdatedSubscription = { __typename?: 'Subscription', onTokenBarsUpdated?: { __typename?: 'OnTokenBarsUpdatedResponse', eventSortKey: string, networkId: number, pairAddress
|
|
11191
|
+
export type OnTokenBarsUpdatedSubscription = { __typename?: 'Subscription', onTokenBarsUpdated?: { __typename?: 'OnTokenBarsUpdatedResponse', eventSortKey: string, networkId: number, pairAddress?: string | null, pairId?: string | null, quoteToken?: QuoteToken | null, statsType: TokenPairStatisticsType, timestamp: number, tokenAddress: string, tokenId: string, aggregates: { __typename?: 'ResolutionBarData', r1?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r1D?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r1S?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r5?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r5S?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r7D?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r15?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r15S?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r30?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r30S?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r60?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r240?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null, r720?: { __typename?: 'CurrencyBarData', t: number, token: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string }, usd: { __typename?: 'IndividualBarData', buyVolume: string, buyers: number, buys: number, c: number, h: number, l: number, liquidity: string, o: number, sellVolume: string, sellers: number, sells: number, t: number, traders: number, transactions: number, v?: number | null, volume: string, volumeNativeToken: string } } | null } } | null };
|
|
10946
11192
|
|
|
10947
11193
|
export type OnTokenEventsCreatedSubscriptionVariables = Exact<{
|
|
10948
11194
|
input: OnTokenEventsCreatedInput;
|