@codex-data/sdk 0.5.7
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 +104 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/graphql.d.ts +7438 -0
- package/dist/resources/graphql.d.ts.map +1 -0
- package/dist/resources/graphql.js +1314 -0
- package/dist/resources/graphql.js.map +1 -0
- package/dist/resources/graphql.schema.json +50830 -0
- package/dist/resources/graphql.ts +7976 -0
- package/dist/resources/schema.graphql +10393 -0
- package/dist/sdk/Mutation.d.ts +14 -0
- package/dist/sdk/Mutation.d.ts.map +1 -0
- package/dist/sdk/Mutation.js +22 -0
- package/dist/sdk/Mutation.js.map +1 -0
- package/dist/sdk/Query.d.ts +22 -0
- package/dist/sdk/Query.d.ts.map +1 -0
- package/dist/sdk/Query.js +35 -0
- package/dist/sdk/Query.js.map +1 -0
- package/dist/sdk/Query.test.d.ts +2 -0
- package/dist/sdk/Query.test.d.ts.map +1 -0
- package/dist/sdk/Query.test.js +50 -0
- package/dist/sdk/Query.test.js.map +1 -0
- package/dist/sdk/Subscribe.d.ts +17 -0
- package/dist/sdk/Subscribe.d.ts.map +1 -0
- package/dist/sdk/Subscribe.js +28 -0
- package/dist/sdk/Subscribe.js.map +1 -0
- package/dist/sdk/generated/fragment-masking.d.ts +16 -0
- package/dist/sdk/generated/fragment-masking.d.ts.map +1 -0
- package/dist/sdk/generated/fragment-masking.js +23 -0
- package/dist/sdk/generated/fragment-masking.js.map +1 -0
- package/dist/sdk/generated/gql.d.ts +243 -0
- package/dist/sdk/generated/gql.d.ts.map +1 -0
- package/dist/sdk/generated/gql.js +70 -0
- package/dist/sdk/generated/gql.js.map +1 -0
- package/dist/sdk/generated/graphql.d.ts +11765 -0
- package/dist/sdk/generated/graphql.d.ts.map +1 -0
- package/dist/sdk/generated/graphql.js +1338 -0
- package/dist/sdk/generated/graphql.js.map +1 -0
- package/dist/sdk/generated/index.d.ts +3 -0
- package/dist/sdk/generated/index.d.ts.map +1 -0
- package/dist/sdk/generated/index.js +19 -0
- package/dist/sdk/generated/index.js.map +1 -0
- package/dist/sdk/index.d.ts +23 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/index.js +76 -0
- package/dist/sdk/index.js.map +1 -0
- package/dist/sdk/index.test.d.ts +2 -0
- package/dist/sdk/index.test.d.ts.map +1 -0
- package/dist/sdk/index.test.js +78 -0
- package/dist/sdk/index.test.js.map +1 -0
- package/dist/sdk/invariant.d.ts +2 -0
- package/dist/sdk/invariant.d.ts.map +1 -0
- package/dist/sdk/invariant.js +31 -0
- package/dist/sdk/invariant.js.map +1 -0
- package/package.json +60 -0
- package/src/index.ts +2 -0
- package/src/resources/.keep +0 -0
- package/src/resources/graphql.schema.json +50830 -0
- package/src/resources/graphql.ts +7976 -0
- package/src/resources/schema.graphql +10393 -0
- package/src/sdk/Mutation.ts +15 -0
- package/src/sdk/Query.test.ts +40 -0
- package/src/sdk/Query.ts +65 -0
- package/src/sdk/Subscribe.ts +61 -0
- package/src/sdk/generated/fragment-masking.ts +66 -0
- package/src/sdk/generated/gql.ts +157 -0
- package/src/sdk/generated/graphql.ts +8215 -0
- package/src/sdk/generated/index.ts +2 -0
- package/src/sdk/graphql/CreateWebhooks.graphql +1145 -0
- package/src/sdk/graphql/DeleteWebhooks.graphql +5 -0
- package/src/sdk/graphql/FilterExchanges.graphql +23 -0
- package/src/sdk/graphql/FilterPairs.graphql +124 -0
- package/src/sdk/graphql/FilterTokens.graphql +129 -0
- package/src/sdk/graphql/GetBars.graphql +32 -0
- package/src/sdk/graphql/GetDetailedPairStats.graphql +941 -0
- package/src/sdk/graphql/GetNetworkStatus.graphql +7 -0
- package/src/sdk/graphql/GetNetworks.graphql +6 -0
- package/src/sdk/graphql/GetPairEvents.graphql +28 -0
- package/src/sdk/graphql/GetPrice.graphql +9 -0
- package/src/sdk/graphql/GetSparklines.graphql +10 -0
- package/src/sdk/graphql/GetSymbol.graphql +11 -0
- package/src/sdk/graphql/GetTokens.graphql +14 -0
- package/src/sdk/graphql/GetWebhooks.graphql +168 -0
- package/src/sdk/graphql/ListPairsForToken.graphql +105 -0
- package/src/sdk/graphql/ListTopTokens.graphql +48 -0
- package/src/sdk/graphql/OnBarsUpdated.graphql +183 -0
- package/src/sdk/graphql/OnDetailedStatsUpdated.graphql +324 -0
- package/src/sdk/graphql/OnEventsCreated.graphql +62 -0
- package/src/sdk/graphql/OnNftAssetsCreated.graphql +29 -0
- package/src/sdk/graphql/OnNftEventsCreated.graphql +83 -0
- package/src/sdk/graphql/OnPairMetadataUpdated.graphql +55 -0
- package/src/sdk/graphql/OnPriceUpdated.graphql +9 -0
- package/src/sdk/index.test.ts +78 -0
- package/src/sdk/index.ts +100 -0
- package/src/sdk/invariant.ts +34 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as types from './graphql';
|
|
3
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Map of all GraphQL operations in the project.
|
|
7
|
+
*
|
|
8
|
+
* This map has several performance disadvantages:
|
|
9
|
+
* 1. It is not tree-shakeable, so it will include all operations in the project.
|
|
10
|
+
* 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
|
|
11
|
+
* 3. It does not support dead code elimination, so it will add unused operations.
|
|
12
|
+
*
|
|
13
|
+
* Therefore it is highly recommended to use the babel or swc plugin for production.
|
|
14
|
+
*/
|
|
15
|
+
const documents = {
|
|
16
|
+
"mutation CreateWebhooks($input: CreateWebhooksInput!) {\n createWebhooks(input: $input) {\n priceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n bucketId\n bucketSortkey\n }\n decodedLogWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n decodedCallWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n rawCallTraceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n tokenPairEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n nftEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n rawTransactionWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n }\n}": types.CreateWebhooksDocument,
|
|
17
|
+
"mutation DeleteWebhooks($input: DeleteWebhooksInput!) {\n deleteWebhooks(input: $input) {\n deletedIds\n }\n}": types.DeleteWebhooksDocument,
|
|
18
|
+
"query FilterExchanges($filters: ExchangeFilters, $phrase: String, $rankings: [ExchangeRanking], $limit: Int, $offset: Int) {\n filterExchanges(\n filters: $filters\n rankings: $rankings\n limit: $limit\n phrase: $phrase\n offset: $offset\n ) {\n results {\n exchange {\n address\n iconUrl\n name\n tradeUrl\n }\n dailyActiveUsers\n monthlyActiveUsers\n txnCount1\n volumeNBT12\n volumeUSD24\n }\n }\n}": types.FilterExchangesDocument,
|
|
19
|
+
"query FilterPairs($filters: PairFilters, $phrase: String, $pairs: [String], $rankings: [PairRanking], $limit: Int, $offset: Int, $matchTokens: PairFilterMatchTokens) {\n filterPairs(\n filters: $filters\n phrase: $phrase\n pairs: $pairs\n rankings: $rankings\n limit: $limit\n offset: $offset\n matchTokens: $matchTokens\n ) {\n count\n offset\n results {\n createdAt\n lastTransaction\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n highPrice1\n highPrice4\n highPrice12\n highPrice24\n liquidity\n liquidityToken\n quoteToken\n lowPrice1\n lowPrice4\n lowPrice12\n lowPrice24\n marketCap\n price\n priceScale\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volumeUSD1\n volumeUSD4\n volumeUSD12\n volumeUSD24\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n tickSpacing\n token0\n token1\n }\n token0 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n token1 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n exchange {\n address\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n }\n}": types.FilterPairsDocument,
|
|
20
|
+
"query FilterTokens($filters: TokenFilters, $phrase: String, $tokens: [String], $rankings: [TokenRanking], $limit: Int, $offset: Int) {\n filterTokens(\n filters: $filters\n phrase: $phrase\n tokens: $tokens\n rankings: $rankings\n limit: $limit\n offset: $offset\n ) {\n count\n page\n results {\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n change1\n change4\n change12\n change24\n createdAt\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n high1\n high4\n high12\n high24\n lastTransaction\n liquidity\n low1\n low4\n low12\n low24\n marketCap\n priceUSD\n quoteToken\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volume1\n volume4\n volume12\n volume24\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n pooled {\n token0\n token1\n }\n }\n token {\n address\n decimals\n name\n networkId\n symbol\n isScam\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 info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n }\n }\n}": types.FilterTokensDocument,
|
|
21
|
+
"query GetBars($symbol: String!, $from: Int!, $to: Int!, $resolution: String!, $currencyCode: String, $quoteToken: QuoteToken, $removeLeadingNullValues: Boolean, $removeEmptyBars: Boolean, $statsType: TokenPairStatisticsType) {\n getBars(\n symbol: $symbol\n from: $from\n to: $to\n resolution: $resolution\n currencyCode: $currencyCode\n quoteToken: $quoteToken\n removeLeadingNullValues: $removeLeadingNullValues\n removeEmptyBars: $removeEmptyBars\n statsType: $statsType\n ) {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n s\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n}": types.GetBarsDocument,
|
|
22
|
+
"query GetDetailedPairStats($pairAddress: String!, $networkId: Int!, $tokenOfInterest: TokenOfInterest, $timestamp: Int, $durations: [DetailedPairStatsDuration], $bucketCount: Int) {\n getDetailedPairStats(\n pairAddress: $pairAddress\n networkId: $networkId\n tokenOfInterest: $tokenOfInterest\n timestamp: $timestamp\n durations: $durations\n bucketCount: $bucketCount\n ) {\n pairAddress\n networkId\n tokenOfInterest\n lastTransaction\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n pooled {\n token0\n token1\n }\n }\n stats_day1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_day30 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour12 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour4 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min15 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min5 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_week1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n }\n}": types.GetDetailedPairStatsDocument,
|
|
23
|
+
"query GetNetworkStatus($networkIds: [Int!]!) {\n getNetworkStatus(networkIds: $networkIds) {\n networkName\n lastProcessedBlock\n lastProcessedTimestamp\n }\n}": types.GetNetworkStatusDocument,
|
|
24
|
+
"query GetNetworks {\n getNetworks {\n id\n name\n }\n}": types.GetNetworksDocument,
|
|
25
|
+
"query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n }\n }\n}": types.PairEventsDocument,
|
|
26
|
+
"query GetTokenPrice($inputs: [GetPriceInput]) {\n getTokenPrices(inputs: $inputs) {\n address\n networkId\n priceUsd\n }\n}": types.GetTokenPriceDocument,
|
|
27
|
+
"query GetSparklines($input: TokenSparklineInput!) {\n tokenSparklines(input: $input) {\n attribute\n id\n sparkline {\n timestamp\n value\n }\n }\n}": types.GetSparklinesDocument,
|
|
28
|
+
"query GetSymbol($symbol: String!, $currencyCode: String) {\n getSymbol(symbol: $symbol, currencyCode: $currencyCode) {\n name\n description\n currency_code\n supported_resolutions\n pricescale\n ticker\n original_currency_code\n }\n}": types.GetSymbolDocument,
|
|
29
|
+
"query GetTokens($input: [TokenInput!]) {\n tokens(ids: $input) {\n address\n decimals\n id\n name\n networkId\n symbol\n totalSupply\n createBlockNumber\n createdAt\n createTransactionHash\n }\n}": types.GetTokensDocument,
|
|
30
|
+
"query GetWebhooks($cursor: String, $webhookId: String, $bucketId: String, $bucketSortkey: String, $limit: Int) {\n getWebhooks(\n cursor: $cursor\n webhookId: $webhookId\n bucketId: $bucketId\n bucketSortkey: $bucketSortkey\n limit: $limit\n ) {\n cursor\n items {\n alertRecurrence\n bucketId\n bucketSortkey\n callbackUrl\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEvent: tokenAddress {\n eq\n }\n networkIdPriceEvent: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n output\n inputJSON: input\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n }\n}": types.GetWebhooksDocument,
|
|
31
|
+
"query ListPairsForToken($networkId: Int!, $tokenAddress: String!, $limit: Int) {\n listPairsForToken(\n networkId: $networkId\n tokenAddress: $tokenAddress\n limit: $limit\n ) {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n pooled {\n token0\n token1\n }\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n }\n}": types.ListPairsForTokenDocument,
|
|
32
|
+
"query ListTopTokens($limit: Int, $networkFilter: [Int!], $resolution: String) {\n listTopTokens(\n limit: $limit\n networkFilter: $networkFilter\n resolution: $resolution\n ) {\n address\n decimals\n exchanges {\n address\n id\n name\n iconUrl\n networkId\n tradeUrl\n }\n id\n liquidity\n name\n networkId\n price\n priceChange\n isScam\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n quoteToken\n marketCap\n txnCount1\n txnCount12\n txnCount24\n txnCount4\n uniqueBuys1\n uniqueBuys12\n uniqueBuys24\n uniqueBuys4\n uniqueSells1\n uniqueSells12\n uniqueSells24\n uniqueSells4\n resolution\n symbol\n topPairId\n volume\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n createdAt\n lastTransaction\n }\n}": types.ListTopTokensDocument,
|
|
33
|
+
"subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r5 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r15 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r30 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r60 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r240 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r720 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r1D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r7D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n }\n }\n}": types.OnBarsUpdatedDocument,
|
|
34
|
+
"subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest, $statsType: TokenPairStatisticsType) {\n onDetailedStatsUpdated(\n pairId: $pairId\n tokenOfInterest: $tokenOfInterest\n statsType: $statsType\n ) {\n pairId\n tokenOfInterest\n statsType\n stats_min5 {\n windowSize\n timestamp\n endTimestamp\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n buckets {\n start\n end\n }\n }\n stats_hour1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour4 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour12 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_day1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n}": types.OnDetailedStatsUpdatedDocument,
|
|
35
|
+
"subscription OnEventsCreated($id: String) {\n onEventsCreated(id: $id) {\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n logIndex\n id\n liquidityToken\n maker\n networkId\n timestamp\n token0SwapValueUsd\n token0ValueBase\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n data {\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\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 }\n address\n id\n networkId\n }\n}": types.OnEventsCreatedDocument,
|
|
36
|
+
"subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {\n onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {\n id\n address\n tokenId\n networkId\n media {\n image\n thumbSm\n thumbLg\n processed\n }\n name\n description\n originalImage\n uri\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n quantity\n }\n}": types.OnNftAssetsCreatedDocument,
|
|
37
|
+
"subscription OnNftEventsCreated($address: String, $networkId: Int) {\n onNftEventsCreated(address: $address, networkId: $networkId) {\n address\n networkId\n id\n events {\n id\n contractAddress\n networkId\n tokenId\n maker\n taker\n totalTradePrice\n individualTradePrice\n paymentTokenAddress\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n eventType\n exchangeAddress\n sortKey\n blockNumber\n transactionIndex\n logIndex\n transactionHash\n timestamp\n numberOfTokens\n aggregatorAddress\n poolAddress\n fillSource\n priceError\n tradeOffer {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n tradeReceived {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n orderDirection\n }\n }\n}": types.OnNftEventsCreatedDocument,
|
|
38
|
+
"subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {\n onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {\n exchangeId\n fee\n highPrice1\n highPrice1w\n highPrice4\n highPrice12\n highPrice24\n id\n liquidity\n liquidityToken\n lowPrice1\n lowPrice1w\n lowPrice4\n lowPrice12\n lowPrice24\n networkId\n nonLiquidityToken\n pairAddress\n price\n priceChange1\n priceChange1w\n priceChange4\n priceChange5m\n priceChange12\n priceChange24\n quoteToken\n statsType\n tickSpacing\n token0 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n token1 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n volume1\n volume1w\n volume4\n volume12\n volume24\n }\n}": types.OnPairMetadataUpdatedDocument,
|
|
39
|
+
"subscription OnPriceUpdated($address: String, $networkId: Int) {\n onPriceUpdated(address: $address, networkId: $networkId) {\n address\n confidence\n networkId\n priceUsd\n timestamp\n }\n}": types.OnPriceUpdatedDocument,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* The query argument is unknown!
|
|
52
|
+
* Please regenerate the types.
|
|
53
|
+
*/
|
|
54
|
+
export function graphql(source: string): unknown;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
58
|
+
*/
|
|
59
|
+
export function graphql(source: "mutation CreateWebhooks($input: CreateWebhooksInput!) {\n createWebhooks(input: $input) {\n priceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n bucketId\n bucketSortkey\n }\n decodedLogWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n decodedCallWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n rawCallTraceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n tokenPairEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n nftEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n rawTransactionWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n }\n}"): (typeof documents)["mutation CreateWebhooks($input: CreateWebhooksInput!) {\n createWebhooks(input: $input) {\n priceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n bucketId\n bucketSortkey\n }\n decodedLogWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n decodedCallWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n rawCallTraceWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n tokenPairEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n nftEventWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n rawTransactionWebhooks {\n id\n webhookType\n name\n created\n alertRecurrence\n callbackUrl\n status\n groupId\n bucketId\n bucketSortkey\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEventWebhookCondition: tokenAddress {\n eq\n }\n networkIdPriceEventWebhookCondition: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n inputDecodedCallWebhookCondition: input\n output\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n retrySettings {\n maxTimeElapsed\n minRetryDelay\n maxRetryDelay\n maxRetries\n }\n }\n }\n}"];
|
|
60
|
+
/**
|
|
61
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
62
|
+
*/
|
|
63
|
+
export function graphql(source: "mutation DeleteWebhooks($input: DeleteWebhooksInput!) {\n deleteWebhooks(input: $input) {\n deletedIds\n }\n}"): (typeof documents)["mutation DeleteWebhooks($input: DeleteWebhooksInput!) {\n deleteWebhooks(input: $input) {\n deletedIds\n }\n}"];
|
|
64
|
+
/**
|
|
65
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
66
|
+
*/
|
|
67
|
+
export function graphql(source: "query FilterExchanges($filters: ExchangeFilters, $phrase: String, $rankings: [ExchangeRanking], $limit: Int, $offset: Int) {\n filterExchanges(\n filters: $filters\n rankings: $rankings\n limit: $limit\n phrase: $phrase\n offset: $offset\n ) {\n results {\n exchange {\n address\n iconUrl\n name\n tradeUrl\n }\n dailyActiveUsers\n monthlyActiveUsers\n txnCount1\n volumeNBT12\n volumeUSD24\n }\n }\n}"): (typeof documents)["query FilterExchanges($filters: ExchangeFilters, $phrase: String, $rankings: [ExchangeRanking], $limit: Int, $offset: Int) {\n filterExchanges(\n filters: $filters\n rankings: $rankings\n limit: $limit\n phrase: $phrase\n offset: $offset\n ) {\n results {\n exchange {\n address\n iconUrl\n name\n tradeUrl\n }\n dailyActiveUsers\n monthlyActiveUsers\n txnCount1\n volumeNBT12\n volumeUSD24\n }\n }\n}"];
|
|
68
|
+
/**
|
|
69
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
70
|
+
*/
|
|
71
|
+
export function graphql(source: "query FilterPairs($filters: PairFilters, $phrase: String, $pairs: [String], $rankings: [PairRanking], $limit: Int, $offset: Int, $matchTokens: PairFilterMatchTokens) {\n filterPairs(\n filters: $filters\n phrase: $phrase\n pairs: $pairs\n rankings: $rankings\n limit: $limit\n offset: $offset\n matchTokens: $matchTokens\n ) {\n count\n offset\n results {\n createdAt\n lastTransaction\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n highPrice1\n highPrice4\n highPrice12\n highPrice24\n liquidity\n liquidityToken\n quoteToken\n lowPrice1\n lowPrice4\n lowPrice12\n lowPrice24\n marketCap\n price\n priceScale\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volumeUSD1\n volumeUSD4\n volumeUSD12\n volumeUSD24\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n tickSpacing\n token0\n token1\n }\n token0 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n token1 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n exchange {\n address\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n }\n}"): (typeof documents)["query FilterPairs($filters: PairFilters, $phrase: String, $pairs: [String], $rankings: [PairRanking], $limit: Int, $offset: Int, $matchTokens: PairFilterMatchTokens) {\n filterPairs(\n filters: $filters\n phrase: $phrase\n pairs: $pairs\n rankings: $rankings\n limit: $limit\n offset: $offset\n matchTokens: $matchTokens\n ) {\n count\n offset\n results {\n createdAt\n lastTransaction\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n highPrice1\n highPrice4\n highPrice12\n highPrice24\n liquidity\n liquidityToken\n quoteToken\n lowPrice1\n lowPrice4\n lowPrice12\n lowPrice24\n marketCap\n price\n priceScale\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volumeUSD1\n volumeUSD4\n volumeUSD12\n volumeUSD24\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n tickSpacing\n token0\n token1\n }\n token0 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n token1 {\n address\n decimals\n name\n networkId\n symbol\n info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n exchange {\n address\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n }\n}"];
|
|
72
|
+
/**
|
|
73
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
74
|
+
*/
|
|
75
|
+
export function graphql(source: "query FilterTokens($filters: TokenFilters, $phrase: String, $tokens: [String], $rankings: [TokenRanking], $limit: Int, $offset: Int) {\n filterTokens(\n filters: $filters\n phrase: $phrase\n tokens: $tokens\n rankings: $rankings\n limit: $limit\n offset: $offset\n ) {\n count\n page\n results {\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n change1\n change4\n change12\n change24\n createdAt\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n high1\n high4\n high12\n high24\n lastTransaction\n liquidity\n low1\n low4\n low12\n low24\n marketCap\n priceUSD\n quoteToken\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volume1\n volume4\n volume12\n volume24\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n pooled {\n token0\n token1\n }\n }\n token {\n address\n decimals\n name\n networkId\n symbol\n isScam\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 info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n }\n }\n}"): (typeof documents)["query FilterTokens($filters: TokenFilters, $phrase: String, $tokens: [String], $rankings: [TokenRanking], $limit: Int, $offset: Int) {\n filterTokens(\n filters: $filters\n phrase: $phrase\n tokens: $tokens\n rankings: $rankings\n limit: $limit\n offset: $offset\n ) {\n count\n page\n results {\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n change1\n change4\n change12\n change24\n createdAt\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n high1\n high4\n high12\n high24\n lastTransaction\n liquidity\n low1\n low4\n low12\n low24\n marketCap\n priceUSD\n quoteToken\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volume1\n volume4\n volume12\n volume24\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n pooled {\n token0\n token1\n }\n }\n token {\n address\n decimals\n name\n networkId\n symbol\n isScam\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 info {\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n circulatingSupply\n totalSupply\n }\n }\n }\n }\n}"];
|
|
76
|
+
/**
|
|
77
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
78
|
+
*/
|
|
79
|
+
export function graphql(source: "query GetBars($symbol: String!, $from: Int!, $to: Int!, $resolution: String!, $currencyCode: String, $quoteToken: QuoteToken, $removeLeadingNullValues: Boolean, $removeEmptyBars: Boolean, $statsType: TokenPairStatisticsType) {\n getBars(\n symbol: $symbol\n from: $from\n to: $to\n resolution: $resolution\n currencyCode: $currencyCode\n quoteToken: $quoteToken\n removeLeadingNullValues: $removeLeadingNullValues\n removeEmptyBars: $removeEmptyBars\n statsType: $statsType\n ) {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n s\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n}"): (typeof documents)["query GetBars($symbol: String!, $from: Int!, $to: Int!, $resolution: String!, $currencyCode: String, $quoteToken: QuoteToken, $removeLeadingNullValues: Boolean, $removeEmptyBars: Boolean, $statsType: TokenPairStatisticsType) {\n getBars(\n symbol: $symbol\n from: $from\n to: $to\n resolution: $resolution\n currencyCode: $currencyCode\n quoteToken: $quoteToken\n removeLeadingNullValues: $removeLeadingNullValues\n removeEmptyBars: $removeEmptyBars\n statsType: $statsType\n ) {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n s\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n v\n volume\n volumeNativeToken\n }\n}"];
|
|
80
|
+
/**
|
|
81
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
82
|
+
*/
|
|
83
|
+
export function graphql(source: "query GetDetailedPairStats($pairAddress: String!, $networkId: Int!, $tokenOfInterest: TokenOfInterest, $timestamp: Int, $durations: [DetailedPairStatsDuration], $bucketCount: Int) {\n getDetailedPairStats(\n pairAddress: $pairAddress\n networkId: $networkId\n tokenOfInterest: $tokenOfInterest\n timestamp: $timestamp\n durations: $durations\n bucketCount: $bucketCount\n ) {\n pairAddress\n networkId\n tokenOfInterest\n lastTransaction\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n pooled {\n token0\n token1\n }\n }\n stats_day1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_day30 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour12 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour4 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min15 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min5 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_week1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n }\n}"): (typeof documents)["query GetDetailedPairStats($pairAddress: String!, $networkId: Int!, $tokenOfInterest: TokenOfInterest, $timestamp: Int, $durations: [DetailedPairStatsDuration], $bucketCount: Int) {\n getDetailedPairStats(\n pairAddress: $pairAddress\n networkId: $networkId\n tokenOfInterest: $tokenOfInterest\n timestamp: $timestamp\n durations: $durations\n bucketCount: $bucketCount\n ) {\n pairAddress\n networkId\n tokenOfInterest\n lastTransaction\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\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 info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n pooled {\n token0\n token1\n }\n }\n stats_day1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_day30 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour12 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour4 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min15 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min5 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_week1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n }\n}"];
|
|
84
|
+
/**
|
|
85
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
86
|
+
*/
|
|
87
|
+
export function graphql(source: "query GetNetworkStatus($networkIds: [Int!]!) {\n getNetworkStatus(networkIds: $networkIds) {\n networkName\n lastProcessedBlock\n lastProcessedTimestamp\n }\n}"): (typeof documents)["query GetNetworkStatus($networkIds: [Int!]!) {\n getNetworkStatus(networkIds: $networkIds) {\n networkName\n lastProcessedBlock\n lastProcessedTimestamp\n }\n}"];
|
|
88
|
+
/**
|
|
89
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
90
|
+
*/
|
|
91
|
+
export function graphql(source: "query GetNetworks {\n getNetworks {\n id\n name\n }\n}"): (typeof documents)["query GetNetworks {\n getNetworks {\n id\n name\n }\n}"];
|
|
92
|
+
/**
|
|
93
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
94
|
+
*/
|
|
95
|
+
export function graphql(source: "query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n }\n }\n}"): (typeof documents)["query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n }\n }\n}"];
|
|
96
|
+
/**
|
|
97
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
98
|
+
*/
|
|
99
|
+
export function graphql(source: "query GetTokenPrice($inputs: [GetPriceInput]) {\n getTokenPrices(inputs: $inputs) {\n address\n networkId\n priceUsd\n }\n}"): (typeof documents)["query GetTokenPrice($inputs: [GetPriceInput]) {\n getTokenPrices(inputs: $inputs) {\n address\n networkId\n priceUsd\n }\n}"];
|
|
100
|
+
/**
|
|
101
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
102
|
+
*/
|
|
103
|
+
export function graphql(source: "query GetSparklines($input: TokenSparklineInput!) {\n tokenSparklines(input: $input) {\n attribute\n id\n sparkline {\n timestamp\n value\n }\n }\n}"): (typeof documents)["query GetSparklines($input: TokenSparklineInput!) {\n tokenSparklines(input: $input) {\n attribute\n id\n sparkline {\n timestamp\n value\n }\n }\n}"];
|
|
104
|
+
/**
|
|
105
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
106
|
+
*/
|
|
107
|
+
export function graphql(source: "query GetSymbol($symbol: String!, $currencyCode: String) {\n getSymbol(symbol: $symbol, currencyCode: $currencyCode) {\n name\n description\n currency_code\n supported_resolutions\n pricescale\n ticker\n original_currency_code\n }\n}"): (typeof documents)["query GetSymbol($symbol: String!, $currencyCode: String) {\n getSymbol(symbol: $symbol, currencyCode: $currencyCode) {\n name\n description\n currency_code\n supported_resolutions\n pricescale\n ticker\n original_currency_code\n }\n}"];
|
|
108
|
+
/**
|
|
109
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
110
|
+
*/
|
|
111
|
+
export function graphql(source: "query GetTokens($input: [TokenInput!]) {\n tokens(ids: $input) {\n address\n decimals\n id\n name\n networkId\n symbol\n totalSupply\n createBlockNumber\n createdAt\n createTransactionHash\n }\n}"): (typeof documents)["query GetTokens($input: [TokenInput!]) {\n tokens(ids: $input) {\n address\n decimals\n id\n name\n networkId\n symbol\n totalSupply\n createBlockNumber\n createdAt\n createTransactionHash\n }\n}"];
|
|
112
|
+
/**
|
|
113
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
114
|
+
*/
|
|
115
|
+
export function graphql(source: "query GetWebhooks($cursor: String, $webhookId: String, $bucketId: String, $bucketSortkey: String, $limit: Int) {\n getWebhooks(\n cursor: $cursor\n webhookId: $webhookId\n bucketId: $bucketId\n bucketSortkey: $bucketSortkey\n limit: $limit\n ) {\n cursor\n items {\n alertRecurrence\n bucketId\n bucketSortkey\n callbackUrl\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEvent: tokenAddress {\n eq\n }\n networkIdPriceEvent: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n output\n inputJSON: input\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n }\n}"): (typeof documents)["query GetWebhooks($cursor: String, $webhookId: String, $bucketId: String, $bucketSortkey: String, $limit: Int) {\n getWebhooks(\n cursor: $cursor\n webhookId: $webhookId\n bucketId: $bucketId\n bucketSortkey: $bucketSortkey\n limit: $limit\n ) {\n cursor\n items {\n alertRecurrence\n bucketId\n bucketSortkey\n callbackUrl\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEvent: tokenAddress {\n eq\n }\n networkIdPriceEvent: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on DecodedLogWebhookCondition {\n decodingId {\n eq\n }\n eventName {\n eq\n }\n address {\n eq\n }\n event\n }\n ... on DecodedCallWebhookCondition {\n decodingId {\n eq\n }\n methodName {\n eq\n }\n address {\n eq\n }\n from {\n eq\n }\n to {\n eq\n }\n methodId {\n eq\n }\n output\n inputJSON: input\n }\n ... on RawCallTraceWebhookCondition {\n traceType {\n eq\n }\n result {\n code {\n contains\n notContains\n }\n }\n networkId {\n oneOf\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n }\n}"];
|
|
116
|
+
/**
|
|
117
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
118
|
+
*/
|
|
119
|
+
export function graphql(source: "query ListPairsForToken($networkId: Int!, $tokenAddress: String!, $limit: Int) {\n listPairsForToken(\n networkId: $networkId\n tokenAddress: $tokenAddress\n limit: $limit\n ) {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n pooled {\n token0\n token1\n }\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n }\n}"): (typeof documents)["query ListPairsForToken($networkId: Int!, $tokenAddress: String!, $limit: Int) {\n listPairsForToken(\n networkId: $networkId\n tokenAddress: $tokenAddress\n limit: $limit\n ) {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n pooled {\n token0\n token1\n }\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n }\n}"];
|
|
120
|
+
/**
|
|
121
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
122
|
+
*/
|
|
123
|
+
export function graphql(source: "query ListTopTokens($limit: Int, $networkFilter: [Int!], $resolution: String) {\n listTopTokens(\n limit: $limit\n networkFilter: $networkFilter\n resolution: $resolution\n ) {\n address\n decimals\n exchanges {\n address\n id\n name\n iconUrl\n networkId\n tradeUrl\n }\n id\n liquidity\n name\n networkId\n price\n priceChange\n isScam\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n quoteToken\n marketCap\n txnCount1\n txnCount12\n txnCount24\n txnCount4\n uniqueBuys1\n uniqueBuys12\n uniqueBuys24\n uniqueBuys4\n uniqueSells1\n uniqueSells12\n uniqueSells24\n uniqueSells4\n resolution\n symbol\n topPairId\n volume\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n createdAt\n lastTransaction\n }\n}"): (typeof documents)["query ListTopTokens($limit: Int, $networkFilter: [Int!], $resolution: String) {\n listTopTokens(\n limit: $limit\n networkFilter: $networkFilter\n resolution: $resolution\n ) {\n address\n decimals\n exchanges {\n address\n id\n name\n iconUrl\n networkId\n tradeUrl\n }\n id\n liquidity\n name\n networkId\n price\n priceChange\n isScam\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n quoteToken\n marketCap\n txnCount1\n txnCount12\n txnCount24\n txnCount4\n uniqueBuys1\n uniqueBuys12\n uniqueBuys24\n uniqueBuys4\n uniqueSells1\n uniqueSells12\n uniqueSells24\n uniqueSells4\n resolution\n symbol\n topPairId\n volume\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n createdAt\n lastTransaction\n }\n}"];
|
|
124
|
+
/**
|
|
125
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
126
|
+
*/
|
|
127
|
+
export function graphql(source: "subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r5 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r15 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r30 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r60 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r240 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r720 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r1D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r7D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n }\n }\n}"): (typeof documents)["subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r5 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r15 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r30 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r60 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r240 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r720 {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r1D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n r7D {\n t\n usd {\n t\n o\n h\n l\n c\n volume\n }\n token {\n t\n o\n h\n l\n c\n volume\n }\n }\n }\n }\n}"];
|
|
128
|
+
/**
|
|
129
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
130
|
+
*/
|
|
131
|
+
export function graphql(source: "subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest, $statsType: TokenPairStatisticsType) {\n onDetailedStatsUpdated(\n pairId: $pairId\n tokenOfInterest: $tokenOfInterest\n statsType: $statsType\n ) {\n pairId\n tokenOfInterest\n statsType\n stats_min5 {\n windowSize\n timestamp\n endTimestamp\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n buckets {\n start\n end\n }\n }\n stats_hour1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour4 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour12 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_day1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n}"): (typeof documents)["subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest, $statsType: TokenPairStatisticsType) {\n onDetailedStatsUpdated(\n pairId: $pairId\n tokenOfInterest: $tokenOfInterest\n statsType: $statsType\n ) {\n pairId\n tokenOfInterest\n statsType\n stats_min5 {\n windowSize\n timestamp\n endTimestamp\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n buckets {\n start\n end\n }\n }\n stats_hour1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour4 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour12 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_day1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n}"];
|
|
132
|
+
/**
|
|
133
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
134
|
+
*/
|
|
135
|
+
export function graphql(source: "subscription OnEventsCreated($id: String) {\n onEventsCreated(id: $id) {\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n logIndex\n id\n liquidityToken\n maker\n networkId\n timestamp\n token0SwapValueUsd\n token0ValueBase\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n data {\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\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 }\n address\n id\n networkId\n }\n}"): (typeof documents)["subscription OnEventsCreated($id: String) {\n onEventsCreated(id: $id) {\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n logIndex\n id\n liquidityToken\n maker\n networkId\n timestamp\n token0SwapValueUsd\n token0ValueBase\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n data {\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\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 }\n address\n id\n networkId\n }\n}"];
|
|
136
|
+
/**
|
|
137
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
138
|
+
*/
|
|
139
|
+
export function graphql(source: "subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {\n onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {\n id\n address\n tokenId\n networkId\n media {\n image\n thumbSm\n thumbLg\n processed\n }\n name\n description\n originalImage\n uri\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n quantity\n }\n}"): (typeof documents)["subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {\n onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {\n id\n address\n tokenId\n networkId\n media {\n image\n thumbSm\n thumbLg\n processed\n }\n name\n description\n originalImage\n uri\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n quantity\n }\n}"];
|
|
140
|
+
/**
|
|
141
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
142
|
+
*/
|
|
143
|
+
export function graphql(source: "subscription OnNftEventsCreated($address: String, $networkId: Int) {\n onNftEventsCreated(address: $address, networkId: $networkId) {\n address\n networkId\n id\n events {\n id\n contractAddress\n networkId\n tokenId\n maker\n taker\n totalTradePrice\n individualTradePrice\n paymentTokenAddress\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n eventType\n exchangeAddress\n sortKey\n blockNumber\n transactionIndex\n logIndex\n transactionHash\n timestamp\n numberOfTokens\n aggregatorAddress\n poolAddress\n fillSource\n priceError\n tradeOffer {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n tradeReceived {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n orderDirection\n }\n }\n}"): (typeof documents)["subscription OnNftEventsCreated($address: String, $networkId: Int) {\n onNftEventsCreated(address: $address, networkId: $networkId) {\n address\n networkId\n id\n events {\n id\n contractAddress\n networkId\n tokenId\n maker\n taker\n totalTradePrice\n individualTradePrice\n paymentTokenAddress\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n eventType\n exchangeAddress\n sortKey\n blockNumber\n transactionIndex\n logIndex\n transactionHash\n timestamp\n numberOfTokens\n aggregatorAddress\n poolAddress\n fillSource\n priceError\n tradeOffer {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n tradeReceived {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n type\n tokenId\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n recipient\n type\n isPrice\n totalTradePrice\n individualTradePrice\n totalPriceUsd\n individualPriceUsd\n totalPriceNetworkBaseToken\n individualPriceNetworkBaseToken\n priceError\n }\n }\n orderDirection\n }\n }\n}"];
|
|
144
|
+
/**
|
|
145
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
146
|
+
*/
|
|
147
|
+
export function graphql(source: "subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {\n onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {\n exchangeId\n fee\n highPrice1\n highPrice1w\n highPrice4\n highPrice12\n highPrice24\n id\n liquidity\n liquidityToken\n lowPrice1\n lowPrice1w\n lowPrice4\n lowPrice12\n lowPrice24\n networkId\n nonLiquidityToken\n pairAddress\n price\n priceChange1\n priceChange1w\n priceChange4\n priceChange5m\n priceChange12\n priceChange24\n quoteToken\n statsType\n tickSpacing\n token0 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n token1 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n volume1\n volume1w\n volume4\n volume12\n volume24\n }\n}"): (typeof documents)["subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {\n onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {\n exchangeId\n fee\n highPrice1\n highPrice1w\n highPrice4\n highPrice12\n highPrice24\n id\n liquidity\n liquidityToken\n lowPrice1\n lowPrice1w\n lowPrice4\n lowPrice12\n lowPrice24\n networkId\n nonLiquidityToken\n pairAddress\n price\n priceChange1\n priceChange1w\n priceChange4\n priceChange5m\n priceChange12\n priceChange24\n quoteToken\n statsType\n tickSpacing\n token0 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n token1 {\n address\n decimals\n name\n networkId\n pooled\n price\n symbol\n }\n volume1\n volume1w\n volume4\n volume12\n volume24\n }\n}"];
|
|
148
|
+
/**
|
|
149
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
150
|
+
*/
|
|
151
|
+
export function graphql(source: "subscription OnPriceUpdated($address: String, $networkId: Int) {\n onPriceUpdated(address: $address, networkId: $networkId) {\n address\n confidence\n networkId\n priceUsd\n timestamp\n }\n}"): (typeof documents)["subscription OnPriceUpdated($address: String, $networkId: Int) {\n onPriceUpdated(address: $address, networkId: $networkId) {\n address\n confidence\n networkId\n priceUsd\n timestamp\n }\n}"];
|
|
152
|
+
|
|
153
|
+
export function graphql(source: string) {
|
|
154
|
+
return (documents as any)[source] ?? {};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;
|