@codex-data/sdk 2.0.2 → 2.0.3
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/README.md +1 -0
- package/dist/sdk/Query.d.ts +2 -1
- package/dist/sdk/Query.js +1 -0
- package/dist/sdk/Query.mjs +2 -1
- package/dist/sdk/Subscribe.d.ts +2 -1
- package/dist/sdk/Subscribe.js +5 -0
- package/dist/sdk/Subscribe.mjs +5 -0
- package/dist/sdk/generated/gql.d.ts +10 -0
- package/dist/sdk/generated/gql.js +2 -0
- package/dist/sdk/generated/gql.mjs +2 -0
- package/dist/sdk/generated/graphql.d.ts +1901 -586
- package/dist/sdk/generated/graphql.js +33 -20
- package/dist/sdk/generated/graphql.mjs +30 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -378,6 +378,7 @@ IDs in the Codex API follow the pattern `address:networkId`:
|
|
|
378
378
|
| [`onPriceUpdated`](https://docs.codex.io/api-reference/subscriptions/onpriceupdated) | Real-time price for a single token |
|
|
379
379
|
| [`onHoldersUpdated`](https://docs.codex.io/api-reference/subscriptions/onholdersupdated) | Live holder count and balance changes |
|
|
380
380
|
| [`onDetailedStatsUpdated`](https://docs.codex.io/api-reference/subscriptions/ondetailedstatsupdated) | Live detailed stats updates |
|
|
381
|
+
| [`onDetailedTokenStatsUpdated`](https://docs.codex.io/api-reference/subscriptions/ondetailedtokenstatsupdated) | Live detailed token stats aggregated across pools |
|
|
381
382
|
| [`onEventsCreated`](https://docs.codex.io/api-reference/subscriptions/oneventscreated) | Live buy/sell events for a pair |
|
|
382
383
|
| [`onPricesUpdated`](https://docs.codex.io/api-reference/subscriptions/onpricesupdated) | Real-time prices for multiple tokens |
|
|
383
384
|
| [`onUnconfirmedEventsCreated`](https://docs.codex.io/api-reference/subscriptions/onunconfirmedeventscreated) | Unconfirmed (mempool) trade events |
|
package/dist/sdk/Query.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, PairMetadataQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables } from "./generated/graphql";
|
|
1
|
+
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetDetailedTokenStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, PairMetadataQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables } from "./generated/graphql";
|
|
2
2
|
import { Codex } from "./index";
|
|
3
3
|
export declare class Query {
|
|
4
4
|
private sdk;
|
|
@@ -18,6 +18,7 @@ export declare class Query {
|
|
|
18
18
|
getCommunityNotes: (vars: GetCommunityNotesQueryVariables) => Promise<import("./generated/graphql").GetCommunityNotesQuery>;
|
|
19
19
|
getDetailedPairStats: (vars: GetDetailedPairStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairStatsQuery>;
|
|
20
20
|
getDetailedPairsStats: (vars: GetDetailedPairsStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairsStatsQuery>;
|
|
21
|
+
getDetailedTokenStats: (vars: GetDetailedTokenStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedTokenStatsQuery>;
|
|
21
22
|
getEventLabels: (vars: GetEventLabelsQueryVariables) => Promise<import("./generated/graphql").GetEventLabelsQuery>;
|
|
22
23
|
getExchanges: (vars: GetExchangesQueryVariables) => Promise<import("./generated/graphql").GetExchangesQuery>;
|
|
23
24
|
getNetworkConfigs: (vars: GetNetworkConfigsQueryVariables) => Promise<import("./generated/graphql").GetNetworkConfigsQuery>;
|
package/dist/sdk/Query.js
CHANGED
|
@@ -30,6 +30,7 @@ class Query {
|
|
|
30
30
|
this.getCommunityNotes = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetCommunityNotesDocument, vars); });
|
|
31
31
|
this.getDetailedPairStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairStatsDocument, vars); });
|
|
32
32
|
this.getDetailedPairsStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairsStatsDocument, vars); });
|
|
33
|
+
this.getDetailedTokenStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedTokenStatsDocument, vars); });
|
|
33
34
|
this.getEventLabels = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetEventLabelsDocument, vars); });
|
|
34
35
|
this.getExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetExchangesDocument, vars); });
|
|
35
36
|
this.getNetworkConfigs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkConfigsDocument, vars); });
|
package/dist/sdk/Query.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT IT DIRECTLY
|
|
2
|
-
import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterPairsDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, PairMetadataDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, } from "./generated/graphql";
|
|
2
|
+
import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterPairsDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetDetailedTokenStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, PairMetadataDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, } from "./generated/graphql";
|
|
3
3
|
export class Query {
|
|
4
4
|
constructor(sdk) {
|
|
5
5
|
this.sdk = sdk;
|
|
@@ -18,6 +18,7 @@ export class Query {
|
|
|
18
18
|
this.getCommunityNotes = async (vars) => this.sdk.query(GetCommunityNotesDocument, vars);
|
|
19
19
|
this.getDetailedPairStats = async (vars) => this.sdk.query(GetDetailedPairStatsDocument, vars);
|
|
20
20
|
this.getDetailedPairsStats = async (vars) => this.sdk.query(GetDetailedPairsStatsDocument, vars);
|
|
21
|
+
this.getDetailedTokenStats = async (vars) => this.sdk.query(GetDetailedTokenStatsDocument, vars);
|
|
21
22
|
this.getEventLabels = async (vars) => this.sdk.query(GetEventLabelsDocument, vars);
|
|
22
23
|
this.getExchanges = async (vars) => this.sdk.query(GetExchangesDocument, vars);
|
|
23
24
|
this.getNetworkConfigs = async (vars) => this.sdk.query(GetNetworkConfigsDocument, vars);
|
package/dist/sdk/Subscribe.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutionResult, Sink } from "graphql-ws";
|
|
2
|
-
import { OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables, OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedByMakerSubscription, OnEventsCreatedByMakerSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnLaunchpadTokenEventBatchSubscription, OnLaunchpadTokenEventBatchSubscriptionVariables, OnLaunchpadTokenEventSubscription, OnLaunchpadTokenEventSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedByMakerSubscription, OnUnconfirmedEventsCreatedByMakerSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
|
|
2
|
+
import { OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables, OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnDetailedTokenStatsUpdatedSubscription, OnDetailedTokenStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedByMakerSubscription, OnEventsCreatedByMakerSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnLaunchpadTokenEventBatchSubscription, OnLaunchpadTokenEventBatchSubscriptionVariables, OnLaunchpadTokenEventSubscription, OnLaunchpadTokenEventSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedByMakerSubscription, OnUnconfirmedEventsCreatedByMakerSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
|
|
3
3
|
import { Codex } from "./index";
|
|
4
4
|
export declare class Subscribe {
|
|
5
5
|
private sdk;
|
|
@@ -7,6 +7,7 @@ export declare class Subscribe {
|
|
|
7
7
|
onBalanceUpdated: (vars: OnBalanceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
8
8
|
onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
9
9
|
onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
10
|
+
onDetailedTokenStatsUpdated: (vars: OnDetailedTokenStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedTokenStatsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
10
11
|
onEventLabelCreated: (vars: OnEventLabelCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
11
12
|
onEventsCreated: (vars: OnEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
12
13
|
onEventsCreatedByMaker: (vars: OnEventsCreatedByMakerSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedByMakerSubscription>>) => import("./index").CleanupFunction;
|
package/dist/sdk/Subscribe.js
CHANGED
|
@@ -18,6 +18,11 @@ class Subscribe {
|
|
|
18
18
|
onDetailedStatsUpdated (pairId: $pairId, tokenOfInterest: $tokenOfInterest) {
|
|
19
19
|
pairId, statsType, stats_day1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour4 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour12 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_min5 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, tokenOfInterest
|
|
20
20
|
}
|
|
21
|
+
}`, vars, sink);
|
|
22
|
+
this.onDetailedTokenStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedTokenStatsUpdated($tokenId: String) {
|
|
23
|
+
onDetailedTokenStatsUpdated (tokenId: $tokenId) {
|
|
24
|
+
bucketCount, lastTransactionAt, networkId, queryTimestamp, statsType, stats_day1 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour1 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour4 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour12 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_min5 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, tokenAddress, tokenId
|
|
25
|
+
}
|
|
21
26
|
}`, vars, sink);
|
|
22
27
|
this.onEventLabelCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventLabelCreated($id: String) {
|
|
23
28
|
onEventLabelCreated(id: $id) {
|
package/dist/sdk/Subscribe.mjs
CHANGED
|
@@ -15,6 +15,11 @@ export class Subscribe {
|
|
|
15
15
|
onDetailedStatsUpdated (pairId: $pairId, tokenOfInterest: $tokenOfInterest) {
|
|
16
16
|
pairId, statsType, stats_day1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour4 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour12 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_min5 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, tokenOfInterest
|
|
17
17
|
}
|
|
18
|
+
}`, vars, sink);
|
|
19
|
+
this.onDetailedTokenStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedTokenStatsUpdated($tokenId: String) {
|
|
20
|
+
onDetailedTokenStatsUpdated (tokenId: $tokenId) {
|
|
21
|
+
bucketCount, lastTransactionAt, networkId, queryTimestamp, statsType, stats_day1 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour1 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour4 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_hour12 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, stats_min5 { duration, end, start, statsNonCurrency { buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue } }, statsUsd { buyVolume { buckets, change, currentValue, previousValue }, close { buckets, change, currentValue, previousValue }, highest { buckets, change, currentValue, previousValue }, liquidity { buckets, change, currentValue, previousValue }, lowest { buckets, change, currentValue, previousValue }, open { buckets, change, currentValue, previousValue }, sellVolume { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue } }, timestamps { end, start } }, tokenAddress, tokenId
|
|
22
|
+
}
|
|
18
23
|
}`, vars, sink);
|
|
19
24
|
this.onEventLabelCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventLabelCreated($id: String) {
|
|
20
25
|
onEventLabelCreated(id: $id) {
|
|
@@ -33,6 +33,7 @@ type Documents = {
|
|
|
33
33
|
"query GetCommunityNotes($input: CommunityNotesInput) {\n getCommunityNotes(input: $input) {\n count\n cursor\n items {\n address\n contractType\n currentContract {\n ... on EnhancedNftContract {\n address\n description\n ercType\n id\n image\n labels {\n createdAt\n subType\n type\n }\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n totalSupply\n }\n ... on EnhancedToken {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n }\n currentData\n id\n moderatedAt\n networkId\n previousData\n proposalData\n proposalNum\n proposalType\n proposedAt\n sortKey\n status\n }\n }\n}": typeof types.GetCommunityNotesDocument;
|
|
34
34
|
"query GetDetailedPairStats($bucketCount: Int, $durations: [DetailedPairStatsDuration], $networkId: Int!, $pairAddress: String!, $statsType: TokenPairStatisticsType, $timestamp: Int, $tokenOfInterest: TokenOfInterest) {\n getDetailedPairStats(\n bucketCount: $bucketCount\n durations: $durations\n networkId: $networkId\n pairAddress: $pairAddress\n statsType: $statsType\n timestamp: $timestamp\n tokenOfInterest: $tokenOfInterest\n ) {\n bucketCount\n lastTransaction\n networkId\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocol\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on PumpData {\n creator\n type\n }\n ... on UniswapV4Data {\n isDynamicFee\n isToken0NetworkToken\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n }\n pairAddress\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_day30 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min15 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_week1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenOfInterest\n }\n}": typeof types.GetDetailedPairStatsDocument;
|
|
35
35
|
"query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {\n getDetailedPairsStats(input: $input) {\n bucketCount\n lastTransaction\n networkId\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocol\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on PumpData {\n creator\n type\n }\n ... on UniswapV4Data {\n isDynamicFee\n isToken0NetworkToken\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n }\n pairAddress\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_day30 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min15 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_week1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenOfInterest\n }\n}": typeof types.GetDetailedPairsStatsDocument;
|
|
36
|
+
"query GetDetailedTokenStats($bucketCount: Int, $durations: [DetailedTokenStatsDuration], $networkId: Int!, $statsType: TokenPairStatisticsType, $timestamp: Int, $tokenAddress: String!) {\n getDetailedTokenStats(\n bucketCount: $bucketCount\n durations: $durations\n networkId: $networkId\n statsType: $statsType\n timestamp: $timestamp\n tokenAddress: $tokenAddress\n ) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}": typeof types.GetDetailedTokenStatsDocument;
|
|
36
37
|
"query GetEventLabels($cursor: String, $direction: RankingDirection, $id: String!, $limit: Int) {\n getEventLabels(cursor: $cursor, direction: $direction, id: $id, limit: $limit) {\n cursor\n items {\n data {\n ... on FrontRunLabelData {\n index\n token0DrainedAmountFrontRun: token0DrainedAmount\n token1DrainedAmountFrontRun: token1DrainedAmount\n }\n ... on SandwichedLabelData {\n token0DrainedAmount\n token1DrainedAmount\n }\n }\n id\n label\n logIndex\n networkId\n timestamp\n transactionHash\n transactionIndex\n }\n }\n}": typeof types.GetEventLabelsDocument;
|
|
37
38
|
"query GetExchanges($showNameless: Boolean) {\n getExchanges(showNameless: $showNameless) {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n}": typeof types.GetExchangesDocument;
|
|
38
39
|
"query GetNetworkConfigs($networkIds: [Int!]) {\n getNetworkConfigs(networkIds: $networkIds) {\n ... on AptosNetworkConfig {\n baseTokenAddress\n baseTokenSymbol\n color\n defaultPairAddress\n defaultPairQuoteToken\n enabled\n explorer {\n checksummed\n icon\n name\n url\n }\n id\n mainnet\n name\n networkIconUrl\n networkId\n networkName\n networkShortName\n networkType\n newTokensEnabled\n stableCoinAddresses\n wrappedBaseTokenSymbol\n }\n ... on EvmNetworkConfig {\n baseTokenAddress\n baseTokenSymbol\n color\n defaultPairAddress\n defaultPairQuoteToken\n enabled\n explorer {\n checksummed\n icon\n name\n url\n }\n id\n mainnet\n name\n networkIconUrl\n networkId\n networkName\n networkShortName\n networkType\n newTokensEnabled\n stableCoinAddresses\n wrappedBaseTokenSymbol\n }\n ... on SolanaNetworkConfig {\n baseTokenAddress\n baseTokenSymbol\n color\n defaultPairAddress\n defaultPairQuoteToken\n enabled\n explorer {\n checksummed\n icon\n name\n url\n }\n id\n mainnet\n name\n networkIconUrl\n networkId\n networkName\n networkShortName\n networkType\n newTokensEnabled\n stableCoinAddresses\n wrappedBaseTokenSymbol\n }\n ... on StarknetNetworkConfig {\n baseTokenAddress\n baseTokenSymbol\n color\n defaultPairAddress\n defaultPairQuoteToken\n enabled\n explorer {\n checksummed\n icon\n name\n url\n }\n id\n mainnet\n name\n networkIconUrl\n networkId\n networkName\n networkShortName\n networkType\n newTokensEnabled\n stableCoinAddresses\n wrappedBaseTokenSymbol\n }\n ... on SuiNetworkConfig {\n baseTokenAddress\n baseTokenSymbol\n color\n defaultPairAddress\n defaultPairQuoteToken\n enabled\n explorer {\n checksummed\n icon\n name\n url\n }\n id\n mainnet\n name\n networkIconUrl\n networkId\n networkName\n networkShortName\n networkType\n newTokensEnabled\n stableCoinAddresses\n wrappedBaseTokenSymbol\n }\n }\n}": typeof types.GetNetworkConfigsDocument;
|
|
@@ -63,6 +64,7 @@ type Documents = {
|
|
|
63
64
|
"subscription OnBalanceUpdated($walletAddress: String!) {\n onBalanceUpdated(walletAddress: $walletAddress) {\n address\n balance\n balanceUsd\n firstHeldTimestamp\n liquidityUsd\n networkId\n shiftedBalance\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n tokenAddress\n tokenId\n tokenPriceUsd\n walletId\n }\n}": typeof types.OnBalanceUpdatedDocument;
|
|
64
65
|
"subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n aggregates {\n r1 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r1D {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r1S {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r5 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r5S {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r7D {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r15 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r15S {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r30 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r30S {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r60 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r240 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n r720 {\n t\n token {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n usd {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n }\n }\n eventSortKey\n networkId\n pairAddress\n pairId\n quoteToken\n quoteTokenAddress\n statsType\n timestamp\n }\n}": typeof types.OnBarsUpdatedDocument;
|
|
65
66
|
"subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {\n onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest) {\n pairId\n statsType\n stats_day1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour4 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour12 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_min5 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n tokenOfInterest\n }\n}": typeof types.OnDetailedStatsUpdatedDocument;
|
|
67
|
+
"subscription OnDetailedTokenStatsUpdated($tokenId: String) {\n onDetailedTokenStatsUpdated(tokenId: $tokenId) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}": typeof types.OnDetailedTokenStatsUpdatedDocument;
|
|
66
68
|
"subscription OnEventLabelCreated($id: String) {\n onEventLabelCreated(id: $id) {\n data {\n ... on FrontRunLabelData {\n index\n token0DrainedAmount\n token1DrainedAmount\n }\n ... on SandwichedLabelData {\n token0DrainedAmountSandwich: token0DrainedAmount\n token1DrainedAmountSandwich: token1DrainedAmount\n }\n }\n id\n label\n logIndex\n networkId\n timestamp\n transactionHash\n transactionIndex\n }\n}": typeof types.OnEventLabelCreatedDocument;
|
|
67
69
|
"subscription OnEventsCreated($address: String, $id: String, $networkId: Int, $quoteToken: QuoteToken) {\n onEventsCreated(\n address: $address\n id: $id\n networkId: $networkId\n quoteToken: $quoteToken\n ) {\n address\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n data {\n ... on BurnEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on MintEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n liquidity0\n liquidity1\n protocolFeeAmount0\n protocolFeeAmount1\n sender\n token0\n token1\n type\n }\n ... on SwapEventData {\n amount0\n amount0In\n amount0Out\n amount1\n amount1In\n amount1Out\n amountNonLiquidityToken\n priceBaseToken\n priceBaseTokenTotal\n priceUsd\n priceUsdTotal\n tick\n type\n }\n }\n eventDisplayType\n eventType\n id\n labels {\n sandwich {\n label\n sandwichType\n token0DrainedAmount\n token1DrainedAmount\n }\n washtrade {\n label\n }\n }\n liquidityToken\n logIndex\n maker\n networkId\n quoteToken\n timestamp\n token0Address\n token0PoolValueUsd\n token0SwapValueUsd\n token0ValueBase\n token1Address\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n walletAge\n walletLabels\n }\n id\n networkId\n quoteToken\n }\n}": typeof types.OnEventsCreatedDocument;
|
|
68
70
|
"subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {\n onEventsCreatedByMaker(input: $input) {\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n data {\n ... on BurnEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on MintEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount0Shifted\n amount1\n amount1Shifted\n liquidity0\n liquidity1\n protocolFeeAmount0\n protocolFeeAmount1\n sender\n token0\n token1\n type\n }\n ... on SwapEventData {\n amount0\n amount0In\n amount0Out\n amount1\n amount1In\n amount1Out\n amountNonLiquidityToken\n priceBaseToken\n priceBaseTokenTotal\n priceUsd\n priceUsdTotal\n tick\n type\n }\n }\n eventDisplayType\n eventType\n id\n labels {\n sandwich {\n label\n sandwichType\n token0DrainedAmount\n token1DrainedAmount\n }\n washtrade {\n label\n }\n }\n liquidityToken\n logIndex\n maker\n networkId\n quoteToken\n timestamp\n token0Address\n token0PoolValueUsd\n token0SwapValueUsd\n token0ValueBase\n token1Address\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n walletAge\n walletLabels\n }\n makerAddress\n }\n}": typeof types.OnEventsCreatedByMakerDocument;
|
|
@@ -182,6 +184,10 @@ export declare function graphql(source: "query GetDetailedPairStats($bucketCount
|
|
|
182
184
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
183
185
|
*/
|
|
184
186
|
export declare function graphql(source: "query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {\n getDetailedPairsStats(input: $input) {\n bucketCount\n lastTransaction\n networkId\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocol\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on PumpData {\n creator\n type\n }\n ... on UniswapV4Data {\n isDynamicFee\n isToken0NetworkToken\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n }\n pairAddress\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_day30 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min15 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_week1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenOfInterest\n }\n}"): (typeof documents)["query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {\n getDetailedPairsStats(input: $input) {\n bucketCount\n lastTransaction\n networkId\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocol\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on PumpData {\n creator\n type\n }\n ... on UniswapV4Data {\n isDynamicFee\n isToken0NetworkToken\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n videoExternalUrl\n }\n isFreezableValid\n isMintableValid\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n top10HoldersPercent\n }\n }\n pairAddress\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_day30 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min15 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_week1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenOfInterest\n }\n}"];
|
|
187
|
+
/**
|
|
188
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
189
|
+
*/
|
|
190
|
+
export declare function graphql(source: "query GetDetailedTokenStats($bucketCount: Int, $durations: [DetailedTokenStatsDuration], $networkId: Int!, $statsType: TokenPairStatisticsType, $timestamp: Int, $tokenAddress: String!) {\n getDetailedTokenStats(\n bucketCount: $bucketCount\n durations: $durations\n networkId: $networkId\n statsType: $statsType\n timestamp: $timestamp\n tokenAddress: $tokenAddress\n ) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}"): (typeof documents)["query GetDetailedTokenStats($bucketCount: Int, $durations: [DetailedTokenStatsDuration], $networkId: Int!, $statsType: TokenPairStatisticsType, $timestamp: Int, $tokenAddress: String!) {\n getDetailedTokenStats(\n bucketCount: $bucketCount\n durations: $durations\n networkId: $networkId\n statsType: $statsType\n timestamp: $timestamp\n tokenAddress: $tokenAddress\n ) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}"];
|
|
185
191
|
/**
|
|
186
192
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
187
193
|
*/
|
|
@@ -302,6 +308,10 @@ export declare function graphql(source: "subscription OnBarsUpdated($pairId: Str
|
|
|
302
308
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
303
309
|
*/
|
|
304
310
|
export declare function graphql(source: "subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {\n onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest) {\n pairId\n statsType\n stats_day1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour4 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour12 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_min5 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n tokenOfInterest\n }\n}"): (typeof documents)["subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {\n onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest) {\n pairId\n statsType\n stats_day1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour1 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour4 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_hour12 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n stats_min5 {\n buckets {\n end\n start\n }\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n endTimestamp\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n timestamp\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n windowSize\n }\n tokenOfInterest\n }\n}"];
|
|
311
|
+
/**
|
|
312
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
313
|
+
*/
|
|
314
|
+
export declare function graphql(source: "subscription OnDetailedTokenStatsUpdated($tokenId: String) {\n onDetailedTokenStatsUpdated(tokenId: $tokenId) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}"): (typeof documents)["subscription OnDetailedTokenStatsUpdated($tokenId: String) {\n onDetailedTokenStatsUpdated(tokenId: $tokenId) {\n bucketCount\n lastTransactionAt\n networkId\n queryTimestamp\n statsType\n stats_day1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour1 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour4 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_hour12 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n stats_min5 {\n duration\n end\n start\n statsNonCurrency {\n buyers {\n buckets\n change\n currentValue\n previousValue\n }\n buys {\n buckets\n change\n currentValue\n previousValue\n }\n sellers {\n buckets\n change\n currentValue\n previousValue\n }\n sells {\n buckets\n change\n currentValue\n previousValue\n }\n traders {\n buckets\n change\n currentValue\n previousValue\n }\n transactions {\n buckets\n change\n currentValue\n previousValue\n }\n }\n statsUsd {\n buyVolume {\n buckets\n change\n currentValue\n previousValue\n }\n close {\n buckets\n change\n currentValue\n previousValue\n }\n highest {\n buckets\n change\n currentValue\n previousValue\n }\n liquidity {\n buckets\n change\n currentValue\n previousValue\n }\n lowest {\n buckets\n change\n currentValue\n previousValue\n }\n open {\n buckets\n change\n currentValue\n previousValue\n }\n sellVolume {\n buckets\n change\n currentValue\n previousValue\n }\n volume {\n buckets\n change\n currentValue\n previousValue\n }\n }\n timestamps {\n end\n start\n }\n }\n tokenAddress\n tokenId\n }\n}"];
|
|
305
315
|
/**
|
|
306
316
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
307
317
|
*/
|