@codex-data/sdk 1.0.34 → 1.0.36
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 +0 -10
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Query.d.ts +4 -1
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +3 -0
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +9 -9
- package/dist/sdk/generated/gql.d.ts +65 -50
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +28 -25
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +409 -29
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +31 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +2 -0
- package/src/resources/generated_queries/Blocks.graphql +7 -0
- package/src/resources/generated_queries/FilterPairs.graphql +10 -0
- package/src/resources/generated_queries/FilterTokens.graphql +15 -0
- package/src/resources/generated_queries/GetBars.graphql +6 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +6 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +6 -0
- package/src/resources/generated_queries/GetNetworkConfigs.graphql +129 -0
- package/src/resources/generated_queries/GetTokenBars.graphql +121 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +0 -2
- package/src/resources/generated_queries/Holders.graphql +2 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +6 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +10 -0
- package/src/resources/generated_queries/PairMetadata.graphql +5 -4
- package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/TokenSparklines.graphql +1 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +5 -4
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -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 +0 -60
- package/src/resources/graphql.ts +0 -10
- package/src/resources/queries_override/GetNetworkConfigs.graphql +129 -0
- package/src/resources/schema.graphql +0 -10
- package/src/sdk/Query.ts +12 -0
- package/src/sdk/Subscribe.ts +9 -9
- package/src/sdk/generated/gql.ts +93 -75
- package/src/sdk/generated/graphql.ts +82 -60
|
@@ -846,12 +846,8 @@ export type DetailedPairStatsStringMetrics = {
|
|
|
846
846
|
/** Detailed stats for a token within a pair. */
|
|
847
847
|
export type DetailedStats = {
|
|
848
848
|
__typename?: 'DetailedStats';
|
|
849
|
-
/** Number of aggregated buckets specified in input */
|
|
850
|
-
bucketCount?: Maybe<Scalars['Int']['output']>;
|
|
851
849
|
/** The ID of the pair (`pairAddress:networkId`). */
|
|
852
850
|
pairId: Scalars['String']['output'];
|
|
853
|
-
/** The timestamp specified as input to the query */
|
|
854
|
-
queryTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
855
851
|
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
856
852
|
statsType: TokenPairStatisticsType;
|
|
857
853
|
/** The breakdown of stats over a 24 hour window. */
|
|
@@ -1039,8 +1035,6 @@ export type EnhancedToken = {
|
|
|
1039
1035
|
name?: Maybe<Scalars['String']['output']>;
|
|
1040
1036
|
/** The network ID the token is deployed on. */
|
|
1041
1037
|
networkId: Scalars['Int']['output'];
|
|
1042
|
-
/** The pair that the token is contained in */
|
|
1043
|
-
pairId?: Maybe<Scalars['String']['output']>;
|
|
1044
1038
|
/**
|
|
1045
1039
|
* The amount of this token in the pair.
|
|
1046
1040
|
* @deprecated Pooled can be found on the pair instead
|
|
@@ -1629,8 +1623,6 @@ export type HoldersResponse = {
|
|
|
1629
1623
|
items: Array<Balance>;
|
|
1630
1624
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1631
1625
|
status: HoldersStatus;
|
|
1632
|
-
/** the token Id */
|
|
1633
|
-
tokenId?: Maybe<Scalars['String']['output']>;
|
|
1634
1626
|
/** What percentage of the total supply do the top 10 holders hold. */
|
|
1635
1627
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
1636
1628
|
};
|
|
@@ -5910,8 +5902,6 @@ export type Price = {
|
|
|
5910
5902
|
* @deprecated Pricing no longer based on specific pools
|
|
5911
5903
|
*/
|
|
5912
5904
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
5913
|
-
/** The internal pool address for the price */
|
|
5914
|
-
internalPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
5915
5905
|
/** The network ID the token is deployed on. */
|
|
5916
5906
|
networkId: Scalars['Int']['output'];
|
|
5917
5907
|
/**
|