@codex-data/sdk 1.0.32 → 1.0.35
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 +50 -40
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- 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 +54 -51
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +53 -50
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +16 -16
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +83 -83
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +63 -48
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +27 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +498 -57
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +30 -27
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +3 -0
- package/src/resources/generated_queries/Blocks.graphql +7 -0
- package/src/resources/generated_queries/FilterPairs.graphql +14 -0
- package/src/resources/generated_queries/FilterTokens.graphql +20 -0
- package/src/resources/generated_queries/GetBars.graphql +8 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +3 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +8 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +8 -0
- package/src/resources/generated_queries/GetNetworkConfigs.graphql +129 -0
- package/src/resources/generated_queries/GetTokenBars.graphql +122 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +1 -2
- package/src/resources/generated_queries/Holders.graphql +4 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +8 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +14 -0
- package/src/resources/generated_queries/PairMetadata.graphql +7 -4
- package/src/resources/generated_queries/PrimeHolders.graphql +3 -0
- package/src/resources/generated_queries/Token.graphql +3 -0
- package/src/resources/generated_queries/TokenSparklines.graphql +1 -0
- package/src/resources/generated_queries/Tokens.graphql +3 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +3 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +3 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +3 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +7 -4
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -2
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -2
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -3
- package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +45 -0
- package/src/resources/graphql.schema.json +94 -187
- package/src/resources/graphql.ts +50 -43
- package/src/resources/networkConfigs.json +34 -3
- package/src/resources/queries_override/GetNetworkConfigs.graphql +129 -0
- package/src/resources/schema.graphql +41 -53
- package/src/sdk/Mutation.ts +7 -7
- package/src/sdk/Query.ts +120 -108
- package/src/sdk/Subscribe.ts +153 -153
- package/src/sdk/generated/gql.ts +90 -72
- package/src/sdk/generated/graphql.ts +130 -91
package/src/resources/graphql.ts
CHANGED
|
@@ -797,7 +797,7 @@ export type DetailedPairStats = {
|
|
|
797
797
|
pairAddress: Scalars['String']['output'];
|
|
798
798
|
/** The timestamp specified as input to the query */
|
|
799
799
|
queryTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
800
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
800
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
801
801
|
statsType: TokenPairStatisticsType;
|
|
802
802
|
/** The breakdown of stats over a 24 hour window. */
|
|
803
803
|
stats_day1?: Maybe<WindowedDetailedPairStats>;
|
|
@@ -875,7 +875,7 @@ export type DetailedStats = {
|
|
|
875
875
|
pairId: Scalars['String']['output'];
|
|
876
876
|
/** The timestamp specified as input to the query */
|
|
877
877
|
queryTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
878
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
878
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
879
879
|
statsType: TokenPairStatisticsType;
|
|
880
880
|
/** The breakdown of stats over a 24 hour window. */
|
|
881
881
|
stats_day1?: Maybe<WindowedDetailedStats>;
|
|
@@ -1057,6 +1057,10 @@ export type EnhancedToken = {
|
|
|
1057
1057
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
1058
1058
|
/** More metadata about the token. */
|
|
1059
1059
|
info?: Maybe<TokenInfo>;
|
|
1060
|
+
/** Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined. */
|
|
1061
|
+
isFreezableValid?: Maybe<Scalars['Boolean']['output']>;
|
|
1062
|
+
/** Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined. */
|
|
1063
|
+
isMintableValid?: Maybe<Scalars['Boolean']['output']>;
|
|
1060
1064
|
/** Whether the token has been flagged as a scam. */
|
|
1061
1065
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
1062
1066
|
/** The launchpad data for the token, if applicable. */
|
|
@@ -1147,7 +1151,7 @@ export type Event = {
|
|
|
1147
1151
|
/** Response returned by `getTokenEvents`. */
|
|
1148
1152
|
export type EventConnection = {
|
|
1149
1153
|
__typename?: 'EventConnection';
|
|
1150
|
-
/** A cursor for use in pagination. */
|
|
1154
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
1151
1155
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1152
1156
|
/** A list of transactions for a token's top pair. */
|
|
1153
1157
|
items?: Maybe<Array<Maybe<Event>>>;
|
|
@@ -1507,8 +1511,13 @@ export type FilterTokenWalletsInput = {
|
|
|
1507
1511
|
phrase?: InputMaybe<Scalars['String']['input']>;
|
|
1508
1512
|
/** A list of ranking attributes to apply */
|
|
1509
1513
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1510
|
-
/**
|
|
1514
|
+
/**
|
|
1515
|
+
* The ID of the token to filter wallets for
|
|
1516
|
+
* @deprecated Use tokenIds instead
|
|
1517
|
+
*/
|
|
1511
1518
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1519
|
+
/** The IDs of the tokens to filter wallets for. Maximum 50 tokenIds. If you provide more than one tokenId, you must also provide at least one walletAddress in the wallets list. */
|
|
1520
|
+
tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1512
1521
|
/**
|
|
1513
1522
|
* The wallet address to filter wallets for
|
|
1514
1523
|
* @deprecated Use wallets instead
|
|
@@ -1557,7 +1566,7 @@ export type GetDetailedPairsStatsInput = {
|
|
|
1557
1566
|
networkId: Scalars['Int']['input'];
|
|
1558
1567
|
/** The contract address of the pair. */
|
|
1559
1568
|
pairAddress: Scalars['String']['input'];
|
|
1560
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
1569
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
1561
1570
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
1562
1571
|
/** The unix timestamp for the stats. Defaults to current. */
|
|
1563
1572
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -2224,7 +2233,7 @@ export type LockedLiquidityData = {
|
|
|
2224
2233
|
/** Response returned by `getTokenEventsForMaker`. */
|
|
2225
2234
|
export type MakerEventConnection = {
|
|
2226
2235
|
__typename?: 'MakerEventConnection';
|
|
2227
|
-
/** A cursor for use in pagination. */
|
|
2236
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
2228
2237
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
2229
2238
|
/** A list of transactions for a token's top pair. */
|
|
2230
2239
|
items?: Maybe<Array<Maybe<Event>>>;
|
|
@@ -5148,7 +5157,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
5148
5157
|
quoteToken?: Maybe<QuoteToken>;
|
|
5149
5158
|
/** The address of the token being quoted */
|
|
5150
5159
|
quoteTokenAddress: Scalars['String']['output'];
|
|
5151
|
-
/** The type of statistics used. Can be `
|
|
5160
|
+
/** The type of statistics used. Can be `FILTERED` or `UNFILTERED`. */
|
|
5152
5161
|
statsType: TokenPairStatisticsType;
|
|
5153
5162
|
/** The unix timestamp for the new bar. */
|
|
5154
5163
|
timestamp: Scalars['Int']['output'];
|
|
@@ -5194,8 +5203,11 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5194
5203
|
};
|
|
5195
5204
|
|
|
5196
5205
|
export type OnPricesUpdatedInput = {
|
|
5206
|
+
/** The token contract address. */
|
|
5197
5207
|
address: Scalars['String']['input'];
|
|
5208
|
+
/** The network ID the token is deployed on. */
|
|
5198
5209
|
networkId: Scalars['Int']['input'];
|
|
5210
|
+
/** The pair contract address from which to get pricing. Defaults to the top pair for the token. */
|
|
5199
5211
|
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
5200
5212
|
};
|
|
5201
5213
|
|
|
@@ -5223,7 +5235,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5223
5235
|
* @deprecated pairs are no longer used for pricing
|
|
5224
5236
|
*/
|
|
5225
5237
|
quoteToken?: Maybe<QuoteToken>;
|
|
5226
|
-
/** The type of statistics used.
|
|
5238
|
+
/** The type of statistics used. Only `FILTERED`. */
|
|
5227
5239
|
statsType: TokenPairStatisticsType;
|
|
5228
5240
|
/** The unix timestamp for the new bar. */
|
|
5229
5241
|
timestamp: Scalars['Int']['output'];
|
|
@@ -5236,7 +5248,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5236
5248
|
export type OnTokenEventsCreatedInput = {
|
|
5237
5249
|
/** The network ID to filter by. */
|
|
5238
5250
|
networkId: Scalars['Int']['input'];
|
|
5239
|
-
/** The token address to filter by. */
|
|
5251
|
+
/** The token address to filter by. Required unless you are on an enterprise plan including EventFeed features. */
|
|
5240
5252
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
5241
5253
|
};
|
|
5242
5254
|
|
|
@@ -5297,6 +5309,8 @@ export type Pair = {
|
|
|
5297
5309
|
networkId: Scalars['Int']['output'];
|
|
5298
5310
|
/** The pooled amounts of each token in the pair. */
|
|
5299
5311
|
pooled?: Maybe<PooledTokenValues>;
|
|
5312
|
+
/** The protocol of the pair. E.g. UniswapV4, RaydiumV4, PumpV1, etc. */
|
|
5313
|
+
protocol?: Maybe<Scalars['String']['output']>;
|
|
5300
5314
|
/**
|
|
5301
5315
|
* The per-protocol data for the pair, if applicable
|
|
5302
5316
|
* @deprecated Use protocolData instead
|
|
@@ -5658,7 +5672,10 @@ export type PairMetadata = {
|
|
|
5658
5672
|
fee?: Maybe<Scalars['Int']['output']>;
|
|
5659
5673
|
/** The highest price in USD in the past hour. */
|
|
5660
5674
|
highPrice1?: Maybe<Scalars['String']['output']>;
|
|
5661
|
-
/**
|
|
5675
|
+
/**
|
|
5676
|
+
* The highest price in USD in the past week.
|
|
5677
|
+
* @deprecated Inaccurate
|
|
5678
|
+
*/
|
|
5662
5679
|
highPrice1w?: Maybe<Scalars['String']['output']>;
|
|
5663
5680
|
/** The highest price in USD in the past 4 hours. */
|
|
5664
5681
|
highPrice4?: Maybe<Scalars['String']['output']>;
|
|
@@ -5676,7 +5693,10 @@ export type PairMetadata = {
|
|
|
5676
5693
|
liquidityToken?: Maybe<Scalars['String']['output']>;
|
|
5677
5694
|
/** The lowest price in USD in the past hour. */
|
|
5678
5695
|
lowPrice1?: Maybe<Scalars['String']['output']>;
|
|
5679
|
-
/**
|
|
5696
|
+
/**
|
|
5697
|
+
* The lowest price in USD in the past week.
|
|
5698
|
+
* @deprecated Inaccurate
|
|
5699
|
+
*/
|
|
5680
5700
|
lowPrice1w?: Maybe<Scalars['String']['output']>;
|
|
5681
5701
|
/** The lowest price in USD in the past 4 hours. */
|
|
5682
5702
|
lowPrice4?: Maybe<Scalars['String']['output']>;
|
|
@@ -5696,7 +5716,10 @@ export type PairMetadata = {
|
|
|
5696
5716
|
price: Scalars['String']['output'];
|
|
5697
5717
|
/** The percent price change in the past hour. Decimal format. */
|
|
5698
5718
|
priceChange1?: Maybe<Scalars['Float']['output']>;
|
|
5699
|
-
/**
|
|
5719
|
+
/**
|
|
5720
|
+
* The percent price change in the past week. Decimal format.
|
|
5721
|
+
* @deprecated Inaccurate
|
|
5722
|
+
*/
|
|
5700
5723
|
priceChange1w?: Maybe<Scalars['Float']['output']>;
|
|
5701
5724
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
5702
5725
|
priceChange4?: Maybe<Scalars['Float']['output']>;
|
|
@@ -5710,7 +5733,7 @@ export type PairMetadata = {
|
|
|
5710
5733
|
priceNonQuoteToken: Scalars['String']['output'];
|
|
5711
5734
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
5712
5735
|
quoteToken?: Maybe<QuoteToken>;
|
|
5713
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
5736
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
5714
5737
|
statsType: TokenPairStatisticsType;
|
|
5715
5738
|
/** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
|
|
5716
5739
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
@@ -5720,7 +5743,10 @@ export type PairMetadata = {
|
|
|
5720
5743
|
token1: PairMetadataToken;
|
|
5721
5744
|
/** The trade volume in USD in the past hour. */
|
|
5722
5745
|
volume1?: Maybe<Scalars['String']['output']>;
|
|
5723
|
-
/**
|
|
5746
|
+
/**
|
|
5747
|
+
* The trade trade volume in USD in the past week.
|
|
5748
|
+
* @deprecated Inaccurate
|
|
5749
|
+
*/
|
|
5724
5750
|
volume1w?: Maybe<Scalars['String']['output']>;
|
|
5725
5751
|
/** The trade volume in USD in the past 4 hours. */
|
|
5726
5752
|
volume4?: Maybe<Scalars['String']['output']>;
|
|
@@ -6140,14 +6166,20 @@ export type Price = {
|
|
|
6140
6166
|
__typename?: 'Price';
|
|
6141
6167
|
/** The contract address of the token. */
|
|
6142
6168
|
address: Scalars['String']['output'];
|
|
6143
|
-
/**
|
|
6169
|
+
/**
|
|
6170
|
+
* Ratio of how confident we are in the price
|
|
6171
|
+
* @deprecated Pricing no longer based on specific pools
|
|
6172
|
+
*/
|
|
6144
6173
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
6145
6174
|
/** The internal pool address for the price */
|
|
6146
6175
|
internalPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
6147
6176
|
/** The network ID the token is deployed on. */
|
|
6148
6177
|
networkId: Scalars['Int']['output'];
|
|
6149
|
-
/**
|
|
6150
|
-
|
|
6178
|
+
/**
|
|
6179
|
+
* The pool that emitted the swap generating this price
|
|
6180
|
+
* @deprecated Pricing no longer based on specific pools
|
|
6181
|
+
*/
|
|
6182
|
+
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
6151
6183
|
/** The token price in USD. */
|
|
6152
6184
|
priceUsd: Scalars['Float']['output'];
|
|
6153
6185
|
/** The unix timestamp for the price. */
|
|
@@ -6828,11 +6860,6 @@ export type Query = {
|
|
|
6828
6860
|
primeHolders: PrimeHolders;
|
|
6829
6861
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6830
6862
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6831
|
-
/**
|
|
6832
|
-
* Returns a list of tokens matching a given query string.
|
|
6833
|
-
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6834
|
-
*/
|
|
6835
|
-
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6836
6863
|
/** Returns a single token by its address & network id. */
|
|
6837
6864
|
token: EnhancedToken;
|
|
6838
6865
|
/** Returns a list of token lifecycle events. */
|
|
@@ -7324,15 +7351,6 @@ export type QuerySearchNftsArgs = {
|
|
|
7324
7351
|
};
|
|
7325
7352
|
|
|
7326
7353
|
|
|
7327
|
-
export type QuerySearchTokensArgs = {
|
|
7328
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
7329
|
-
lowVolumeFilter?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7330
|
-
networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
7331
|
-
resolution?: InputMaybe<Scalars['String']['input']>;
|
|
7332
|
-
search: Scalars['String']['input'];
|
|
7333
|
-
};
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
7354
|
export type QueryTokenArgs = {
|
|
7337
7355
|
input: TokenInput;
|
|
7338
7356
|
};
|
|
@@ -8586,7 +8604,7 @@ export type TokenLifecycleEvent = {
|
|
|
8586
8604
|
/** Response returned by `tokenLifecycleEvents`. */
|
|
8587
8605
|
export type TokenLifecycleEventConnection = {
|
|
8588
8606
|
__typename?: 'TokenLifecycleEventConnection';
|
|
8589
|
-
/** A cursor for use in pagination. */
|
|
8607
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
8590
8608
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
8591
8609
|
/** A list of transactions for a token's top pair. */
|
|
8592
8610
|
items: Array<Maybe<TokenLifecycleEvent>>;
|
|
@@ -8794,17 +8812,6 @@ export enum TokenRankingAttribute {
|
|
|
8794
8812
|
WalletAgeStd = 'walletAgeStd'
|
|
8795
8813
|
}
|
|
8796
8814
|
|
|
8797
|
-
/** Response returned by `searchTokens`. */
|
|
8798
|
-
export type TokenSearchResponse = {
|
|
8799
|
-
__typename?: 'TokenSearchResponse';
|
|
8800
|
-
/** The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`. */
|
|
8801
|
-
hasMore?: Maybe<Scalars['Int']['output']>;
|
|
8802
|
-
/** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found. */
|
|
8803
|
-
hasMoreLowVolume?: Maybe<Scalars['Int']['output']>;
|
|
8804
|
-
/** A list of tokens. */
|
|
8805
|
-
tokens?: Maybe<Array<TokenWithMetadata>>;
|
|
8806
|
-
};
|
|
8807
|
-
|
|
8808
8815
|
/** A sparkline for a token. */
|
|
8809
8816
|
export type TokenSparkline = {
|
|
8810
8817
|
__typename?: 'TokenSparkline';
|
|
@@ -2268,6 +2268,36 @@
|
|
|
2268
2268
|
"baseTokenName": "Wrapped Over",
|
|
2269
2269
|
"baseTokenDecimals": 18
|
|
2270
2270
|
},
|
|
2271
|
+
{
|
|
2272
|
+
"__typename": "EvmNetworkConfig",
|
|
2273
|
+
"id": "9745",
|
|
2274
|
+
"networkType": "EVM",
|
|
2275
|
+
"networkId": 9745,
|
|
2276
|
+
"name": "plasma",
|
|
2277
|
+
"enabled": true,
|
|
2278
|
+
"newTokensEnabled": false,
|
|
2279
|
+
"mainnet": true,
|
|
2280
|
+
"wrappedBaseTokenSymbol": "WXPL",
|
|
2281
|
+
"baseTokenSymbol": "XPL",
|
|
2282
|
+
"baseTokenAddress": "0x6100e367285b01f48d07953803a2d8dca5d19873",
|
|
2283
|
+
"defaultPairAddress": "0xb4afac168ca0cce40c5b4d4e8e49a1e18a630b40",
|
|
2284
|
+
"defaultPairQuoteToken": "token0",
|
|
2285
|
+
"stableCoinAddresses": [
|
|
2286
|
+
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
|
|
2287
|
+
],
|
|
2288
|
+
"networkIconUrl": "https://icons.defined.fi/networks/plasma.png",
|
|
2289
|
+
"color": "#162F29",
|
|
2290
|
+
"networkShortName": "plasma",
|
|
2291
|
+
"networkName": "Plasma",
|
|
2292
|
+
"explorer": {
|
|
2293
|
+
"name": "Plasma Explorer",
|
|
2294
|
+
"url": "https://plasmascan.to/${type}/${input}",
|
|
2295
|
+
"checksummed": true,
|
|
2296
|
+
"icon": "https://icons.defined.fi/networks/plasma.png"
|
|
2297
|
+
},
|
|
2298
|
+
"baseTokenName": "Wrapped XPL",
|
|
2299
|
+
"baseTokenDecimals": 18
|
|
2300
|
+
},
|
|
2271
2301
|
{
|
|
2272
2302
|
"__typename": "EvmNetworkConfig",
|
|
2273
2303
|
"id": "98866",
|
|
@@ -2704,7 +2734,7 @@
|
|
|
2704
2734
|
"networkType": "EVM",
|
|
2705
2735
|
"networkId": 109,
|
|
2706
2736
|
"name": "shibarium",
|
|
2707
|
-
"enabled":
|
|
2737
|
+
"enabled": false,
|
|
2708
2738
|
"newTokensEnabled": null,
|
|
2709
2739
|
"mainnet": true,
|
|
2710
2740
|
"wrappedBaseTokenSymbol": "WBONE",
|
|
@@ -2825,7 +2855,7 @@
|
|
|
2825
2855
|
"networkType": "EVM",
|
|
2826
2856
|
"networkId": 5031,
|
|
2827
2857
|
"name": "Somnia",
|
|
2828
|
-
"enabled":
|
|
2858
|
+
"enabled": true,
|
|
2829
2859
|
"newTokensEnabled": true,
|
|
2830
2860
|
"mainnet": true,
|
|
2831
2861
|
"wrappedBaseTokenSymbol": "WSOMI",
|
|
@@ -2850,7 +2880,8 @@
|
|
|
2850
2880
|
"checksummed": false,
|
|
2851
2881
|
"icon": "https://icons.defined.fi/networks/somnia.png"
|
|
2852
2882
|
},
|
|
2853
|
-
"baseTokenName": "SOMI"
|
|
2883
|
+
"baseTokenName": "Wrapped SOMI",
|
|
2884
|
+
"baseTokenDecimals": 18
|
|
2854
2885
|
},
|
|
2855
2886
|
{
|
|
2856
2887
|
"__typename": "EvmNetworkConfig",
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
query GetNetworkConfigs($networkIds: [Int!]) {
|
|
2
|
+
getNetworkConfigs(networkIds: $networkIds) {
|
|
3
|
+
... on AptosNetworkConfig {
|
|
4
|
+
baseTokenAddress
|
|
5
|
+
baseTokenSymbol
|
|
6
|
+
color
|
|
7
|
+
defaultPairAddress
|
|
8
|
+
defaultPairQuoteToken
|
|
9
|
+
enabled
|
|
10
|
+
explorer {
|
|
11
|
+
checksummed
|
|
12
|
+
icon
|
|
13
|
+
name
|
|
14
|
+
url
|
|
15
|
+
}
|
|
16
|
+
id
|
|
17
|
+
mainnet
|
|
18
|
+
name
|
|
19
|
+
networkIconUrl
|
|
20
|
+
networkId
|
|
21
|
+
networkName
|
|
22
|
+
networkShortName
|
|
23
|
+
networkType
|
|
24
|
+
newTokensEnabled
|
|
25
|
+
stableCoinAddresses
|
|
26
|
+
wrappedBaseTokenSymbol
|
|
27
|
+
}
|
|
28
|
+
... on EvmNetworkConfig {
|
|
29
|
+
baseTokenAddress
|
|
30
|
+
baseTokenSymbol
|
|
31
|
+
color
|
|
32
|
+
defaultPairAddress
|
|
33
|
+
defaultPairQuoteToken
|
|
34
|
+
enabled
|
|
35
|
+
explorer {
|
|
36
|
+
checksummed
|
|
37
|
+
icon
|
|
38
|
+
name
|
|
39
|
+
url
|
|
40
|
+
}
|
|
41
|
+
id
|
|
42
|
+
mainnet
|
|
43
|
+
name
|
|
44
|
+
networkIconUrl
|
|
45
|
+
networkId
|
|
46
|
+
networkName
|
|
47
|
+
networkShortName
|
|
48
|
+
networkType
|
|
49
|
+
newTokensEnabled
|
|
50
|
+
stableCoinAddresses
|
|
51
|
+
wrappedBaseTokenSymbol
|
|
52
|
+
}
|
|
53
|
+
... on SolanaNetworkConfig {
|
|
54
|
+
baseTokenAddress
|
|
55
|
+
baseTokenSymbol
|
|
56
|
+
color
|
|
57
|
+
defaultPairAddress
|
|
58
|
+
defaultPairQuoteToken
|
|
59
|
+
enabled
|
|
60
|
+
explorer {
|
|
61
|
+
checksummed
|
|
62
|
+
icon
|
|
63
|
+
name
|
|
64
|
+
url
|
|
65
|
+
}
|
|
66
|
+
id
|
|
67
|
+
mainnet
|
|
68
|
+
name
|
|
69
|
+
networkIconUrl
|
|
70
|
+
networkId
|
|
71
|
+
networkName
|
|
72
|
+
networkShortName
|
|
73
|
+
networkType
|
|
74
|
+
newTokensEnabled
|
|
75
|
+
stableCoinAddresses
|
|
76
|
+
wrappedBaseTokenSymbol
|
|
77
|
+
}
|
|
78
|
+
... on StarknetNetworkConfig {
|
|
79
|
+
baseTokenAddress
|
|
80
|
+
baseTokenSymbol
|
|
81
|
+
color
|
|
82
|
+
defaultPairAddress
|
|
83
|
+
defaultPairQuoteToken
|
|
84
|
+
enabled
|
|
85
|
+
explorer {
|
|
86
|
+
checksummed
|
|
87
|
+
icon
|
|
88
|
+
name
|
|
89
|
+
url
|
|
90
|
+
}
|
|
91
|
+
id
|
|
92
|
+
mainnet
|
|
93
|
+
name
|
|
94
|
+
networkIconUrl
|
|
95
|
+
networkId
|
|
96
|
+
networkName
|
|
97
|
+
networkShortName
|
|
98
|
+
networkType
|
|
99
|
+
newTokensEnabled
|
|
100
|
+
stableCoinAddresses
|
|
101
|
+
wrappedBaseTokenSymbol
|
|
102
|
+
}
|
|
103
|
+
... on SuiNetworkConfig {
|
|
104
|
+
baseTokenAddress
|
|
105
|
+
baseTokenSymbol
|
|
106
|
+
color
|
|
107
|
+
defaultPairAddress
|
|
108
|
+
defaultPairQuoteToken
|
|
109
|
+
enabled
|
|
110
|
+
explorer {
|
|
111
|
+
checksummed
|
|
112
|
+
icon
|
|
113
|
+
name
|
|
114
|
+
url
|
|
115
|
+
}
|
|
116
|
+
id
|
|
117
|
+
mainnet
|
|
118
|
+
name
|
|
119
|
+
networkIconUrl
|
|
120
|
+
networkId
|
|
121
|
+
networkName
|
|
122
|
+
networkShortName
|
|
123
|
+
networkType
|
|
124
|
+
newTokensEnabled
|
|
125
|
+
stableCoinAddresses
|
|
126
|
+
wrappedBaseTokenSymbol
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|