@codex-data/sdk 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk/Query.d.ts +2 -1
- package/dist/sdk/Query.js +1 -0
- package/dist/sdk/Query.mjs +2 -1
- package/dist/sdk/generated/gql.d.ts +5 -0
- package/dist/sdk/generated/gql.js +1 -0
- package/dist/sdk/generated/gql.mjs +1 -0
- package/dist/sdk/generated/graphql.d.ts +199 -92
- package/dist/sdk/generated/graphql.js +3 -2
- package/dist/sdk/generated/graphql.mjs +1 -0
- package/package.json +1 -1
package/dist/sdk/Query.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedPredictionEventStatsQueryVariables, DetailedPredictionMarketStatsQueryVariables, DetailedPredictionTraderStatsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterPairsQueryVariables, FilterPredictionEventsQueryVariables, FilterPredictionMarketsQueryVariables, FilterPredictionTraderMarketsQueryVariables, FilterPredictionTradersQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetDetailedTokenStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, PairMetadataQueryVariables, PredictionCategoriesQueryVariables, PredictionEventBarsQueryVariables, PredictionEventTopMarketsBarsQueryVariables, PredictionMarketBarsQueryVariables, PredictionMarketsQueryVariables, PredictionTokenHoldersQueryVariables, PredictionTraderBarsQueryVariables, PredictionTraderMarketsStatsQueryVariables, PredictionTradersQueryVariables, PredictionTradesQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables } from "./generated/graphql";
|
|
1
|
+
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedPredictionEventStatsQueryVariables, DetailedPredictionMarketStatsQueryVariables, DetailedPredictionTraderStatsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterPairsQueryVariables, FilterPredictionEventsQueryVariables, FilterPredictionMarketsQueryVariables, FilterPredictionTraderMarketsQueryVariables, FilterPredictionTradersQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetDetailedTokenStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, PairMetadataQueryVariables, PredictionCategoriesQueryVariables, PredictionEventBarsQueryVariables, PredictionEventTopMarketsBarsQueryVariables, PredictionMarketBarsQueryVariables, PredictionMarketsQueryVariables, PredictionTokenHoldersQueryVariables, PredictionTraderBarsQueryVariables, PredictionTraderHoldingsQueryVariables, PredictionTraderMarketsStatsQueryVariables, PredictionTradersQueryVariables, PredictionTradesQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables } from "./generated/graphql";
|
|
2
2
|
import { Codex } from "./index";
|
|
3
3
|
export declare class Query {
|
|
4
4
|
private sdk;
|
|
@@ -52,6 +52,7 @@ export declare class Query {
|
|
|
52
52
|
predictionMarkets: (vars: PredictionMarketsQueryVariables) => Promise<import("./generated/graphql").PredictionMarketsQuery>;
|
|
53
53
|
predictionTokenHolders: (vars: PredictionTokenHoldersQueryVariables) => Promise<import("./generated/graphql").PredictionTokenHoldersQuery>;
|
|
54
54
|
predictionTraderBars: (vars: PredictionTraderBarsQueryVariables) => Promise<import("./generated/graphql").PredictionTraderBarsQuery>;
|
|
55
|
+
predictionTraderHoldings: (vars: PredictionTraderHoldingsQueryVariables) => Promise<import("./generated/graphql").PredictionTraderHoldingsQuery>;
|
|
55
56
|
predictionTraderMarketsStats: (vars: PredictionTraderMarketsStatsQueryVariables) => Promise<import("./generated/graphql").PredictionTraderMarketsStatsQuery>;
|
|
56
57
|
predictionTraders: (vars: PredictionTradersQueryVariables) => Promise<import("./generated/graphql").PredictionTradersQuery>;
|
|
57
58
|
predictionTrades: (vars: PredictionTradesQueryVariables) => Promise<import("./generated/graphql").PredictionTradesQuery>;
|
package/dist/sdk/Query.js
CHANGED
|
@@ -64,6 +64,7 @@ class Query {
|
|
|
64
64
|
this.predictionMarkets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionMarketsDocument, vars); });
|
|
65
65
|
this.predictionTokenHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTokenHoldersDocument, vars); });
|
|
66
66
|
this.predictionTraderBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTraderBarsDocument, vars); });
|
|
67
|
+
this.predictionTraderHoldings = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTraderHoldingsDocument, vars); });
|
|
67
68
|
this.predictionTraderMarketsStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTraderMarketsStatsDocument, vars); });
|
|
68
69
|
this.predictionTraders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTradersDocument, vars); });
|
|
69
70
|
this.predictionTrades = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PredictionTradesDocument, vars); });
|
package/dist/sdk/Query.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT IT DIRECTLY
|
|
2
|
-
import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedPredictionEventStatsDocument, DetailedPredictionMarketStatsDocument, DetailedPredictionTraderStatsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterPairsDocument, FilterPredictionEventsDocument, FilterPredictionMarketsDocument, FilterPredictionTraderMarketsDocument, FilterPredictionTradersDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetDetailedTokenStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, PairMetadataDocument, PredictionCategoriesDocument, PredictionEventBarsDocument, PredictionEventTopMarketsBarsDocument, PredictionMarketBarsDocument, PredictionMarketsDocument, PredictionTokenHoldersDocument, PredictionTraderBarsDocument, PredictionTraderMarketsStatsDocument, PredictionTradersDocument, PredictionTradesDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, } from "./generated/graphql";
|
|
2
|
+
import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedPredictionEventStatsDocument, DetailedPredictionMarketStatsDocument, DetailedPredictionTraderStatsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterPairsDocument, FilterPredictionEventsDocument, FilterPredictionMarketsDocument, FilterPredictionTraderMarketsDocument, FilterPredictionTradersDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetDetailedTokenStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, PairMetadataDocument, PredictionCategoriesDocument, PredictionEventBarsDocument, PredictionEventTopMarketsBarsDocument, PredictionMarketBarsDocument, PredictionMarketsDocument, PredictionTokenHoldersDocument, PredictionTraderBarsDocument, PredictionTraderHoldingsDocument, PredictionTraderMarketsStatsDocument, PredictionTradersDocument, PredictionTradesDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, } from "./generated/graphql";
|
|
3
3
|
export class Query {
|
|
4
4
|
constructor(sdk) {
|
|
5
5
|
this.sdk = sdk;
|
|
@@ -52,6 +52,7 @@ export class Query {
|
|
|
52
52
|
this.predictionMarkets = async (vars) => this.sdk.query(PredictionMarketsDocument, vars);
|
|
53
53
|
this.predictionTokenHolders = async (vars) => this.sdk.query(PredictionTokenHoldersDocument, vars);
|
|
54
54
|
this.predictionTraderBars = async (vars) => this.sdk.query(PredictionTraderBarsDocument, vars);
|
|
55
|
+
this.predictionTraderHoldings = async (vars) => this.sdk.query(PredictionTraderHoldingsDocument, vars);
|
|
55
56
|
this.predictionTraderMarketsStats = async (vars) => this.sdk.query(PredictionTraderMarketsStatsDocument, vars);
|
|
56
57
|
this.predictionTraders = async (vars) => this.sdk.query(PredictionTradersDocument, vars);
|
|
57
58
|
this.predictionTrades = async (vars) => this.sdk.query(PredictionTradesDocument, vars);
|
|
@@ -67,6 +67,7 @@ type Documents = {
|
|
|
67
67
|
"query PredictionMarkets($input: PredictionMarketsInput!) {\n predictionMarkets(input: $input) {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n}": typeof types.PredictionMarketsDocument;
|
|
68
68
|
"query PredictionTokenHolders($input: PredictionTokenHoldersInput!) {\n predictionTokenHolders(input: $input) {\n cursor\n items {\n amount\n predictionTrader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n walletAddress\n }\n total\n }\n}": typeof types.PredictionTokenHoldersDocument;
|
|
69
69
|
"query PredictionTraderBars($input: PredictionTraderBarsInput!) {\n predictionTraderBars(input: $input) {\n bars {\n buyVolumeCT\n buyVolumeUsd\n buys\n cumulativeRealizedPnlCT\n cumulativeRealizedPnlUsd\n losses\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeUsd\n sells\n t\n trades\n uniqueMarkets\n volumeCT\n volumeUsd\n wins\n }\n trader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n traderId\n }\n}": typeof types.PredictionTraderBarsDocument;
|
|
70
|
+
"query PredictionTraderHoldings($input: PredictionTraderHoldingsInput!) {\n predictionTraderHoldings(input: $input) {\n cursor\n items {\n amount\n market {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n outcomeIndex\n tokenId\n traderId\n venueTraderId\n }\n }\n}": typeof types.PredictionTraderHoldingsDocument;
|
|
70
71
|
"query PredictionTraderMarketsStats($input: PredictionTraderMarketsStatsInput!) {\n predictionTraderMarketsStats(input: $input) {\n cursor\n items {\n createdAt\n hasOpenPosition\n marketId\n outcome0Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n outcome1Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n traderId\n updatedAt\n }\n }\n}": typeof types.PredictionTraderMarketsStatsDocument;
|
|
71
72
|
"query PredictionTraders($input: PredictionTradersInput!) {\n predictionTraders(input: $input) {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n}": typeof types.PredictionTradersDocument;
|
|
72
73
|
"query PredictionTrades($input: PredictionTradesInput!) {\n predictionTrades(input: $input) {\n cursor\n items {\n amount\n amountCollateral\n amountUsd\n blockNumber\n exchangeAddress\n maker\n marketId\n networkId\n outcomeId\n outcomeIndex\n outcomeLabel\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n priceCollateral\n priceUsd\n protocol\n sortKey\n timestamp\n tradeType\n traderId\n transactionHash\n transactionId\n }\n }\n}": typeof types.PredictionTradesDocument;
|
|
@@ -342,6 +343,10 @@ export declare function graphql(source: "query PredictionTokenHolders($input: Pr
|
|
|
342
343
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
343
344
|
*/
|
|
344
345
|
export declare function graphql(source: "query PredictionTraderBars($input: PredictionTraderBarsInput!) {\n predictionTraderBars(input: $input) {\n bars {\n buyVolumeCT\n buyVolumeUsd\n buys\n cumulativeRealizedPnlCT\n cumulativeRealizedPnlUsd\n losses\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeUsd\n sells\n t\n trades\n uniqueMarkets\n volumeCT\n volumeUsd\n wins\n }\n trader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n traderId\n }\n}"): (typeof documents)["query PredictionTraderBars($input: PredictionTraderBarsInput!) {\n predictionTraderBars(input: $input) {\n bars {\n buyVolumeCT\n buyVolumeUsd\n buys\n cumulativeRealizedPnlCT\n cumulativeRealizedPnlUsd\n losses\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeUsd\n sells\n t\n trades\n uniqueMarkets\n volumeCT\n volumeUsd\n wins\n }\n trader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n traderId\n }\n}"];
|
|
346
|
+
/**
|
|
347
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
348
|
+
*/
|
|
349
|
+
export declare function graphql(source: "query PredictionTraderHoldings($input: PredictionTraderHoldingsInput!) {\n predictionTraderHoldings(input: $input) {\n cursor\n items {\n amount\n market {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n outcomeIndex\n tokenId\n traderId\n venueTraderId\n }\n }\n}"): (typeof documents)["query PredictionTraderHoldings($input: PredictionTraderHoldingsInput!) {\n predictionTraderHoldings(input: $input) {\n cursor\n items {\n amount\n market {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n outcomeIndex\n tokenId\n traderId\n venueTraderId\n }\n }\n}"];
|
|
345
350
|
/**
|
|
346
351
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
347
352
|
*/
|
|
@@ -92,6 +92,7 @@ const documents = {
|
|
|
92
92
|
"query PredictionMarkets($input: PredictionMarketsInput!) {\n predictionMarkets(input: $input) {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n}": types.PredictionMarketsDocument,
|
|
93
93
|
"query PredictionTokenHolders($input: PredictionTokenHoldersInput!) {\n predictionTokenHolders(input: $input) {\n cursor\n items {\n amount\n predictionTrader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n walletAddress\n }\n total\n }\n}": types.PredictionTokenHoldersDocument,
|
|
94
94
|
"query PredictionTraderBars($input: PredictionTraderBarsInput!) {\n predictionTraderBars(input: $input) {\n bars {\n buyVolumeCT\n buyVolumeUsd\n buys\n cumulativeRealizedPnlCT\n cumulativeRealizedPnlUsd\n losses\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeUsd\n sells\n t\n trades\n uniqueMarkets\n volumeCT\n volumeUsd\n wins\n }\n trader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n traderId\n }\n}": types.PredictionTraderBarsDocument,
|
|
95
|
+
"query PredictionTraderHoldings($input: PredictionTraderHoldingsInput!) {\n predictionTraderHoldings(input: $input) {\n cursor\n items {\n amount\n market {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n outcomeIndex\n tokenId\n traderId\n venueTraderId\n }\n }\n}": types.PredictionTraderHoldingsDocument,
|
|
95
96
|
"query PredictionTraderMarketsStats($input: PredictionTraderMarketsStatsInput!) {\n predictionTraderMarketsStats(input: $input) {\n cursor\n items {\n createdAt\n hasOpenPosition\n marketId\n outcome0Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n outcome1Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n traderId\n updatedAt\n }\n }\n}": types.PredictionTraderMarketsStatsDocument,
|
|
96
97
|
"query PredictionTraders($input: PredictionTradersInput!) {\n predictionTraders(input: $input) {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n}": types.PredictionTradersDocument,
|
|
97
98
|
"query PredictionTrades($input: PredictionTradesInput!) {\n predictionTrades(input: $input) {\n cursor\n items {\n amount\n amountCollateral\n amountUsd\n blockNumber\n exchangeAddress\n maker\n marketId\n networkId\n outcomeId\n outcomeIndex\n outcomeLabel\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n priceCollateral\n priceUsd\n protocol\n sortKey\n timestamp\n tradeType\n traderId\n transactionHash\n transactionId\n }\n }\n}": types.PredictionTradesDocument,
|
|
@@ -56,6 +56,7 @@ const documents = {
|
|
|
56
56
|
"query PredictionMarkets($input: PredictionMarketsInput!) {\n predictionMarkets(input: $input) {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n}": types.PredictionMarketsDocument,
|
|
57
57
|
"query PredictionTokenHolders($input: PredictionTokenHoldersInput!) {\n predictionTokenHolders(input: $input) {\n cursor\n items {\n amount\n predictionTrader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n walletAddress\n }\n total\n }\n}": types.PredictionTokenHoldersDocument,
|
|
58
58
|
"query PredictionTraderBars($input: PredictionTraderBarsInput!) {\n predictionTraderBars(input: $input) {\n bars {\n buyVolumeCT\n buyVolumeUsd\n buys\n cumulativeRealizedPnlCT\n cumulativeRealizedPnlUsd\n losses\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeUsd\n sells\n t\n trades\n uniqueMarkets\n volumeCT\n volumeUsd\n wins\n }\n trader {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n traderId\n }\n}": types.PredictionTraderBarsDocument,
|
|
59
|
+
"query PredictionTraderHoldings($input: PredictionTraderHoldingsInput!) {\n predictionTraderHoldings(input: $input) {\n cursor\n items {\n amount\n market {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n outcomeIndex\n tokenId\n traderId\n venueTraderId\n }\n }\n}": types.PredictionTraderHoldingsDocument,
|
|
59
60
|
"query PredictionTraderMarketsStats($input: PredictionTraderMarketsStatsInput!) {\n predictionTraderMarketsStats(input: $input) {\n cursor\n items {\n createdAt\n hasOpenPosition\n marketId\n outcome0Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n outcome1Stats {\n avgEntryPriceCT\n avgEntryPriceUsd\n buyVolumeCT\n buyVolumeShares\n buyVolumeUsd\n buys\n costBasisCT\n costBasisUsd\n firstTradeTimestamp\n lastTradeTimestamp\n outcomeId\n pnlStatus\n realizedPnlCT\n realizedPnlUsd\n sellVolumeCT\n sellVolumeShares\n sellVolumeUsd\n sells\n sharesHeld\n }\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n traderId\n updatedAt\n }\n }\n}": types.PredictionTraderMarketsStatsDocument,
|
|
60
61
|
"query PredictionTraders($input: PredictionTradersInput!) {\n predictionTraders(input: $input) {\n activeMarketsCount\n alias\n allTimeProfitCT\n allTimeProfitUsd\n biggestLossCT\n biggestLossUsd\n biggestWinCT\n biggestWinUsd\n createdAt\n firstTradeTimestamp\n id\n labels\n lastTradeTimestamp\n linkedAddresses\n primaryAddress\n profileImageUrl\n profileUrl\n protocol\n totalTradesCount\n totalVolumeCT\n totalVolumeUsd\n updatedAt\n venueTraderId\n }\n}": types.PredictionTradersDocument,
|
|
61
62
|
"query PredictionTrades($input: PredictionTradesInput!) {\n predictionTrades(input: $input) {\n cursor\n items {\n amount\n amountCollateral\n amountUsd\n blockNumber\n exchangeAddress\n maker\n marketId\n networkId\n outcomeId\n outcomeIndex\n outcomeLabel\n predictionMarket {\n categories {\n name\n slug\n subcategories {\n name\n slug\n subcategories {\n name\n slug\n }\n }\n }\n closesAt\n createdAt\n eventId\n eventLabel\n exchangeAddress\n id\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n label\n networkId\n observedAt\n opensAt\n outcomeIds\n outcomeLabels\n protocol\n question\n resolution {\n result\n source\n }\n resolvedAt\n resolvesAt\n rules\n rules2\n updatedAt\n venueEventId\n venueMarketId\n venueMarketSlug\n venueOutcomeIds\n winningOutcomeId\n }\n priceCollateral\n priceUsd\n protocol\n sortKey\n timestamp\n tradeType\n traderId\n transactionHash\n transactionId\n }\n }\n}": types.PredictionTradesDocument,
|
|
@@ -6660,22 +6660,22 @@ export type PredictionEventBar = {
|
|
|
6660
6660
|
__typename?: 'PredictionEventBar';
|
|
6661
6661
|
/** Buy volume in collateral token units. */
|
|
6662
6662
|
buyVolumeCollateralToken?: Maybe<Scalars['String']['output']>;
|
|
6663
|
-
/** Buy volume in USD. */
|
|
6664
|
-
buyVolumeUsd
|
|
6663
|
+
/** Buy volume in USD. Null if protocol doesn't provide directional data. */
|
|
6664
|
+
buyVolumeUsd?: Maybe<Scalars['String']['output']>;
|
|
6665
6665
|
/** The last event timestamp. */
|
|
6666
6666
|
lastEventTimestamp: Scalars['Int']['output'];
|
|
6667
6667
|
/** Liquidity OHLC in collateral token (nullable for old aggregates) */
|
|
6668
6668
|
liquidityCollateralToken?: Maybe<PredictionEventBarOhlc>;
|
|
6669
|
-
/** Liquidity in USD. */
|
|
6670
|
-
liquidityUsd
|
|
6669
|
+
/** Liquidity in USD. Null if protocol doesn't provide liquidity data. */
|
|
6670
|
+
liquidityUsd?: Maybe<PredictionEventBarOhlc>;
|
|
6671
6671
|
/** Open interest OHLC in collateral token (nullable for old aggregates) */
|
|
6672
6672
|
openInterestCollateralToken?: Maybe<PredictionEventBarOhlc>;
|
|
6673
|
-
/** Open interest in USD. */
|
|
6674
|
-
openInterestUsd
|
|
6673
|
+
/** Open interest in USD. Null if protocol doesn't provide open interest data. */
|
|
6674
|
+
openInterestUsd?: Maybe<PredictionEventBarOhlc>;
|
|
6675
6675
|
/** Sell volume in collateral token units. */
|
|
6676
6676
|
sellVolumeCollateralToken?: Maybe<Scalars['String']['output']>;
|
|
6677
|
-
/** Sell volume in USD. */
|
|
6678
|
-
sellVolumeUsd
|
|
6677
|
+
/** Sell volume in USD. Null if protocol doesn't provide directional data. */
|
|
6678
|
+
sellVolumeUsd?: Maybe<Scalars['String']['output']>;
|
|
6679
6679
|
/** The unix timestamp for this bar. */
|
|
6680
6680
|
t: Scalars['Int']['output'];
|
|
6681
6681
|
/** Total volume in collateral token (nullable for old aggregates) */
|
|
@@ -6684,12 +6684,12 @@ export type PredictionEventBar = {
|
|
|
6684
6684
|
totalVolumeUsd: Scalars['String']['output'];
|
|
6685
6685
|
/** The number of trades. */
|
|
6686
6686
|
trades: Scalars['Int']['output'];
|
|
6687
|
-
/** The number of unique traders. */
|
|
6688
|
-
uniqueTraders
|
|
6687
|
+
/** The number of unique traders. Null if protocol doesn't track unique traders. */
|
|
6688
|
+
uniqueTraders?: Maybe<Scalars['Int']['output']>;
|
|
6689
6689
|
/** Venue volume in collateral token (nullable for old aggregates) */
|
|
6690
6690
|
venueVolumeCollateralToken?: Maybe<Scalars['String']['output']>;
|
|
6691
|
-
/** The venue volume usd. */
|
|
6692
|
-
venueVolumeUsd
|
|
6691
|
+
/** The venue volume usd. Null if protocol doesn't provide venue volume. */
|
|
6692
|
+
venueVolumeUsd?: Maybe<Scalars['String']['output']>;
|
|
6693
6693
|
/** Volume in collateral token units. */
|
|
6694
6694
|
volumeCollateralToken?: Maybe<Scalars['String']['output']>;
|
|
6695
6695
|
/** Volume in USD. */
|
|
@@ -9041,6 +9041,39 @@ export type PredictionTraderFilters = {
|
|
|
9041
9041
|
/** Filter by wins 24h */
|
|
9042
9042
|
wins24h?: InputMaybe<NumberFilter>;
|
|
9043
9043
|
};
|
|
9044
|
+
/** A trader's token holding for a prediction outcome. */
|
|
9045
|
+
export type PredictionTraderHolding = {
|
|
9046
|
+
__typename?: 'PredictionTraderHolding';
|
|
9047
|
+
/** The token balance amount. */
|
|
9048
|
+
amount: Scalars['String']['output'];
|
|
9049
|
+
/** The prediction market this holding belongs to. */
|
|
9050
|
+
market?: Maybe<PredictionMarket>;
|
|
9051
|
+
/** The outcome index within the market (0 or 1). */
|
|
9052
|
+
outcomeIndex?: Maybe<Scalars['Int']['output']>;
|
|
9053
|
+
/** The token ID (venue outcome ID). */
|
|
9054
|
+
tokenId: Scalars['String']['output'];
|
|
9055
|
+
/** The trader ID. */
|
|
9056
|
+
traderId: Scalars['String']['output'];
|
|
9057
|
+
/** The venue trader ID (wallet address). */
|
|
9058
|
+
venueTraderId: Scalars['String']['output'];
|
|
9059
|
+
};
|
|
9060
|
+
/** A paginated list of trader holdings. */
|
|
9061
|
+
export type PredictionTraderHoldingsConnection = {
|
|
9062
|
+
__typename?: 'PredictionTraderHoldingsConnection';
|
|
9063
|
+
/** Cursor for pagination. */
|
|
9064
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
9065
|
+
/** The list of holdings. */
|
|
9066
|
+
items: Array<PredictionTraderHolding>;
|
|
9067
|
+
};
|
|
9068
|
+
/** Input for `predictionTraderHoldings` query. */
|
|
9069
|
+
export type PredictionTraderHoldingsInput = {
|
|
9070
|
+
/** Cursor for pagination. */
|
|
9071
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
9072
|
+
/** Maximum number of results to return. */
|
|
9073
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
9074
|
+
/** The trader ID (format: {walletAddress}:{protocol}, e.g. 0x123...abc:Polymarket) */
|
|
9075
|
+
traderId: Scalars['String']['input'];
|
|
9076
|
+
};
|
|
9044
9077
|
/** Response returned by `filterPredictionTraderMarkets`. */
|
|
9045
9078
|
export type PredictionTraderMarketFilterConnection = {
|
|
9046
9079
|
__typename?: 'PredictionTraderMarketFilterConnection';
|
|
@@ -10223,6 +10256,8 @@ export type Query = {
|
|
|
10223
10256
|
predictionTokenHolders?: Maybe<PredictionTokenHoldersConnection>;
|
|
10224
10257
|
/** Returns bar data for a prediction trader over a time range. */
|
|
10225
10258
|
predictionTraderBars: PredictionTraderBarsResponse;
|
|
10259
|
+
/** Returns all prediction token holdings for a specific trader. */
|
|
10260
|
+
predictionTraderHoldings?: Maybe<PredictionTraderHoldingsConnection>;
|
|
10226
10261
|
/** Returns per-market performance stats for a specific trader. */
|
|
10227
10262
|
predictionTraderMarketsStats: PredictionTraderMarketsStatsConnection;
|
|
10228
10263
|
/** Returns prediction traders by ID. */
|
|
@@ -10677,6 +10712,9 @@ export type QueryPredictionTokenHoldersArgs = {
|
|
|
10677
10712
|
export type QueryPredictionTraderBarsArgs = {
|
|
10678
10713
|
input: PredictionTraderBarsInput;
|
|
10679
10714
|
};
|
|
10715
|
+
export type QueryPredictionTraderHoldingsArgs = {
|
|
10716
|
+
input: PredictionTraderHoldingsInput;
|
|
10717
|
+
};
|
|
10680
10718
|
export type QueryPredictionTraderMarketsStatsArgs = {
|
|
10681
10719
|
input: PredictionTraderMarketsStatsInput;
|
|
10682
10720
|
};
|
|
@@ -26999,17 +27037,17 @@ export type PredictionEventBarsQuery = {
|
|
|
26999
27037
|
bars: Array<{
|
|
27000
27038
|
__typename?: 'PredictionEventBar';
|
|
27001
27039
|
buyVolumeCollateralToken?: string | null;
|
|
27002
|
-
buyVolumeUsd
|
|
27040
|
+
buyVolumeUsd?: string | null;
|
|
27003
27041
|
lastEventTimestamp: number;
|
|
27004
27042
|
sellVolumeCollateralToken?: string | null;
|
|
27005
|
-
sellVolumeUsd
|
|
27043
|
+
sellVolumeUsd?: string | null;
|
|
27006
27044
|
t: number;
|
|
27007
27045
|
totalVolumeCollateralToken?: string | null;
|
|
27008
27046
|
totalVolumeUsd: string;
|
|
27009
27047
|
trades: number;
|
|
27010
|
-
uniqueTraders
|
|
27048
|
+
uniqueTraders?: number | null;
|
|
27011
27049
|
venueVolumeCollateralToken?: string | null;
|
|
27012
|
-
venueVolumeUsd
|
|
27050
|
+
venueVolumeUsd?: string | null;
|
|
27013
27051
|
volumeCollateralToken?: string | null;
|
|
27014
27052
|
volumeUsd: string;
|
|
27015
27053
|
liquidityCollateralToken?: {
|
|
@@ -27019,13 +27057,13 @@ export type PredictionEventBarsQuery = {
|
|
|
27019
27057
|
l: string;
|
|
27020
27058
|
o: string;
|
|
27021
27059
|
} | null;
|
|
27022
|
-
liquidityUsd
|
|
27060
|
+
liquidityUsd?: {
|
|
27023
27061
|
__typename?: 'PredictionEventBarOhlc';
|
|
27024
27062
|
c: string;
|
|
27025
27063
|
h: string;
|
|
27026
27064
|
l: string;
|
|
27027
27065
|
o: string;
|
|
27028
|
-
};
|
|
27066
|
+
} | null;
|
|
27029
27067
|
openInterestCollateralToken?: {
|
|
27030
27068
|
__typename?: 'PredictionEventBarOhlc';
|
|
27031
27069
|
c: string;
|
|
@@ -27033,13 +27071,13 @@ export type PredictionEventBarsQuery = {
|
|
|
27033
27071
|
l: string;
|
|
27034
27072
|
o: string;
|
|
27035
27073
|
} | null;
|
|
27036
|
-
openInterestUsd
|
|
27074
|
+
openInterestUsd?: {
|
|
27037
27075
|
__typename?: 'PredictionEventBarOhlc';
|
|
27038
27076
|
c: string;
|
|
27039
27077
|
h: string;
|
|
27040
27078
|
l: string;
|
|
27041
27079
|
o: string;
|
|
27042
|
-
};
|
|
27080
|
+
} | null;
|
|
27043
27081
|
}>;
|
|
27044
27082
|
predictionEvent?: {
|
|
27045
27083
|
__typename?: 'PredictionEvent';
|
|
@@ -27985,6 +28023,74 @@ export type PredictionTraderBarsQuery = {
|
|
|
27985
28023
|
} | null;
|
|
27986
28024
|
};
|
|
27987
28025
|
};
|
|
28026
|
+
export type PredictionTraderHoldingsQueryVariables = Exact<{
|
|
28027
|
+
input: PredictionTraderHoldingsInput;
|
|
28028
|
+
}>;
|
|
28029
|
+
export type PredictionTraderHoldingsQuery = {
|
|
28030
|
+
__typename?: 'Query';
|
|
28031
|
+
predictionTraderHoldings?: {
|
|
28032
|
+
__typename?: 'PredictionTraderHoldingsConnection';
|
|
28033
|
+
cursor?: string | null;
|
|
28034
|
+
items: Array<{
|
|
28035
|
+
__typename?: 'PredictionTraderHolding';
|
|
28036
|
+
amount: string;
|
|
28037
|
+
outcomeIndex?: number | null;
|
|
28038
|
+
tokenId: string;
|
|
28039
|
+
traderId: string;
|
|
28040
|
+
venueTraderId: string;
|
|
28041
|
+
market?: {
|
|
28042
|
+
__typename?: 'PredictionMarket';
|
|
28043
|
+
closesAt?: number | null;
|
|
28044
|
+
createdAt?: number | null;
|
|
28045
|
+
eventId?: string | null;
|
|
28046
|
+
eventLabel?: string | null;
|
|
28047
|
+
exchangeAddress?: string | null;
|
|
28048
|
+
id: string;
|
|
28049
|
+
imageLargeUrl?: string | null;
|
|
28050
|
+
imageSmallUrl?: string | null;
|
|
28051
|
+
imageThumbUrl?: string | null;
|
|
28052
|
+
label?: string | null;
|
|
28053
|
+
networkId?: number | null;
|
|
28054
|
+
observedAt: number;
|
|
28055
|
+
opensAt?: number | null;
|
|
28056
|
+
outcomeIds: Array<string>;
|
|
28057
|
+
outcomeLabels?: Array<string> | null;
|
|
28058
|
+
protocol: PredictionProtocol;
|
|
28059
|
+
question?: string | null;
|
|
28060
|
+
resolvedAt?: number | null;
|
|
28061
|
+
resolvesAt?: number | null;
|
|
28062
|
+
rules?: string | null;
|
|
28063
|
+
rules2?: string | null;
|
|
28064
|
+
updatedAt?: number | null;
|
|
28065
|
+
venueEventId?: string | null;
|
|
28066
|
+
venueMarketId: string;
|
|
28067
|
+
venueMarketSlug?: string | null;
|
|
28068
|
+
venueOutcomeIds: Array<string>;
|
|
28069
|
+
winningOutcomeId?: string | null;
|
|
28070
|
+
categories?: Array<{
|
|
28071
|
+
__typename?: 'PredictionCategory';
|
|
28072
|
+
name: string;
|
|
28073
|
+
slug: string;
|
|
28074
|
+
subcategories?: Array<{
|
|
28075
|
+
__typename?: 'PredictionSubcategory';
|
|
28076
|
+
name: string;
|
|
28077
|
+
slug: string;
|
|
28078
|
+
subcategories?: Array<{
|
|
28079
|
+
__typename?: 'PredictionSubSubcategory';
|
|
28080
|
+
name: string;
|
|
28081
|
+
slug: string;
|
|
28082
|
+
}> | null;
|
|
28083
|
+
}> | null;
|
|
28084
|
+
}> | null;
|
|
28085
|
+
resolution?: {
|
|
28086
|
+
__typename?: 'PredictionResolution';
|
|
28087
|
+
result?: string | null;
|
|
28088
|
+
source?: string | null;
|
|
28089
|
+
} | null;
|
|
28090
|
+
} | null;
|
|
28091
|
+
}>;
|
|
28092
|
+
} | null;
|
|
28093
|
+
};
|
|
27988
28094
|
export type PredictionTraderMarketsStatsQueryVariables = Exact<{
|
|
27989
28095
|
input: PredictionTraderMarketsStatsInput;
|
|
27990
28096
|
}>;
|
|
@@ -35358,17 +35464,17 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35358
35464
|
day1?: {
|
|
35359
35465
|
__typename?: 'PredictionEventBar';
|
|
35360
35466
|
buyVolumeCollateralToken?: string | null;
|
|
35361
|
-
buyVolumeUsd
|
|
35467
|
+
buyVolumeUsd?: string | null;
|
|
35362
35468
|
lastEventTimestamp: number;
|
|
35363
35469
|
sellVolumeCollateralToken?: string | null;
|
|
35364
|
-
sellVolumeUsd
|
|
35470
|
+
sellVolumeUsd?: string | null;
|
|
35365
35471
|
t: number;
|
|
35366
35472
|
totalVolumeCollateralToken?: string | null;
|
|
35367
35473
|
totalVolumeUsd: string;
|
|
35368
35474
|
trades: number;
|
|
35369
|
-
uniqueTraders
|
|
35475
|
+
uniqueTraders?: number | null;
|
|
35370
35476
|
venueVolumeCollateralToken?: string | null;
|
|
35371
|
-
venueVolumeUsd
|
|
35477
|
+
venueVolumeUsd?: string | null;
|
|
35372
35478
|
volumeCollateralToken?: string | null;
|
|
35373
35479
|
volumeUsd: string;
|
|
35374
35480
|
liquidityCollateralToken?: {
|
|
@@ -35378,13 +35484,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35378
35484
|
l: string;
|
|
35379
35485
|
o: string;
|
|
35380
35486
|
} | null;
|
|
35381
|
-
liquidityUsd
|
|
35487
|
+
liquidityUsd?: {
|
|
35382
35488
|
__typename?: 'PredictionEventBarOhlc';
|
|
35383
35489
|
c: string;
|
|
35384
35490
|
h: string;
|
|
35385
35491
|
l: string;
|
|
35386
35492
|
o: string;
|
|
35387
|
-
};
|
|
35493
|
+
} | null;
|
|
35388
35494
|
openInterestCollateralToken?: {
|
|
35389
35495
|
__typename?: 'PredictionEventBarOhlc';
|
|
35390
35496
|
c: string;
|
|
@@ -35392,28 +35498,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35392
35498
|
l: string;
|
|
35393
35499
|
o: string;
|
|
35394
35500
|
} | null;
|
|
35395
|
-
openInterestUsd
|
|
35501
|
+
openInterestUsd?: {
|
|
35396
35502
|
__typename?: 'PredictionEventBarOhlc';
|
|
35397
35503
|
c: string;
|
|
35398
35504
|
h: string;
|
|
35399
35505
|
l: string;
|
|
35400
35506
|
o: string;
|
|
35401
|
-
};
|
|
35507
|
+
} | null;
|
|
35402
35508
|
} | null;
|
|
35403
35509
|
hour1?: {
|
|
35404
35510
|
__typename?: 'PredictionEventBar';
|
|
35405
35511
|
buyVolumeCollateralToken?: string | null;
|
|
35406
|
-
buyVolumeUsd
|
|
35512
|
+
buyVolumeUsd?: string | null;
|
|
35407
35513
|
lastEventTimestamp: number;
|
|
35408
35514
|
sellVolumeCollateralToken?: string | null;
|
|
35409
|
-
sellVolumeUsd
|
|
35515
|
+
sellVolumeUsd?: string | null;
|
|
35410
35516
|
t: number;
|
|
35411
35517
|
totalVolumeCollateralToken?: string | null;
|
|
35412
35518
|
totalVolumeUsd: string;
|
|
35413
35519
|
trades: number;
|
|
35414
|
-
uniqueTraders
|
|
35520
|
+
uniqueTraders?: number | null;
|
|
35415
35521
|
venueVolumeCollateralToken?: string | null;
|
|
35416
|
-
venueVolumeUsd
|
|
35522
|
+
venueVolumeUsd?: string | null;
|
|
35417
35523
|
volumeCollateralToken?: string | null;
|
|
35418
35524
|
volumeUsd: string;
|
|
35419
35525
|
liquidityCollateralToken?: {
|
|
@@ -35423,13 +35529,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35423
35529
|
l: string;
|
|
35424
35530
|
o: string;
|
|
35425
35531
|
} | null;
|
|
35426
|
-
liquidityUsd
|
|
35532
|
+
liquidityUsd?: {
|
|
35427
35533
|
__typename?: 'PredictionEventBarOhlc';
|
|
35428
35534
|
c: string;
|
|
35429
35535
|
h: string;
|
|
35430
35536
|
l: string;
|
|
35431
35537
|
o: string;
|
|
35432
|
-
};
|
|
35538
|
+
} | null;
|
|
35433
35539
|
openInterestCollateralToken?: {
|
|
35434
35540
|
__typename?: 'PredictionEventBarOhlc';
|
|
35435
35541
|
c: string;
|
|
@@ -35437,28 +35543,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35437
35543
|
l: string;
|
|
35438
35544
|
o: string;
|
|
35439
35545
|
} | null;
|
|
35440
|
-
openInterestUsd
|
|
35546
|
+
openInterestUsd?: {
|
|
35441
35547
|
__typename?: 'PredictionEventBarOhlc';
|
|
35442
35548
|
c: string;
|
|
35443
35549
|
h: string;
|
|
35444
35550
|
l: string;
|
|
35445
35551
|
o: string;
|
|
35446
|
-
};
|
|
35552
|
+
} | null;
|
|
35447
35553
|
} | null;
|
|
35448
35554
|
hour4?: {
|
|
35449
35555
|
__typename?: 'PredictionEventBar';
|
|
35450
35556
|
buyVolumeCollateralToken?: string | null;
|
|
35451
|
-
buyVolumeUsd
|
|
35557
|
+
buyVolumeUsd?: string | null;
|
|
35452
35558
|
lastEventTimestamp: number;
|
|
35453
35559
|
sellVolumeCollateralToken?: string | null;
|
|
35454
|
-
sellVolumeUsd
|
|
35560
|
+
sellVolumeUsd?: string | null;
|
|
35455
35561
|
t: number;
|
|
35456
35562
|
totalVolumeCollateralToken?: string | null;
|
|
35457
35563
|
totalVolumeUsd: string;
|
|
35458
35564
|
trades: number;
|
|
35459
|
-
uniqueTraders
|
|
35565
|
+
uniqueTraders?: number | null;
|
|
35460
35566
|
venueVolumeCollateralToken?: string | null;
|
|
35461
|
-
venueVolumeUsd
|
|
35567
|
+
venueVolumeUsd?: string | null;
|
|
35462
35568
|
volumeCollateralToken?: string | null;
|
|
35463
35569
|
volumeUsd: string;
|
|
35464
35570
|
liquidityCollateralToken?: {
|
|
@@ -35468,13 +35574,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35468
35574
|
l: string;
|
|
35469
35575
|
o: string;
|
|
35470
35576
|
} | null;
|
|
35471
|
-
liquidityUsd
|
|
35577
|
+
liquidityUsd?: {
|
|
35472
35578
|
__typename?: 'PredictionEventBarOhlc';
|
|
35473
35579
|
c: string;
|
|
35474
35580
|
h: string;
|
|
35475
35581
|
l: string;
|
|
35476
35582
|
o: string;
|
|
35477
|
-
};
|
|
35583
|
+
} | null;
|
|
35478
35584
|
openInterestCollateralToken?: {
|
|
35479
35585
|
__typename?: 'PredictionEventBarOhlc';
|
|
35480
35586
|
c: string;
|
|
@@ -35482,28 +35588,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35482
35588
|
l: string;
|
|
35483
35589
|
o: string;
|
|
35484
35590
|
} | null;
|
|
35485
|
-
openInterestUsd
|
|
35591
|
+
openInterestUsd?: {
|
|
35486
35592
|
__typename?: 'PredictionEventBarOhlc';
|
|
35487
35593
|
c: string;
|
|
35488
35594
|
h: string;
|
|
35489
35595
|
l: string;
|
|
35490
35596
|
o: string;
|
|
35491
|
-
};
|
|
35597
|
+
} | null;
|
|
35492
35598
|
} | null;
|
|
35493
35599
|
hour12?: {
|
|
35494
35600
|
__typename?: 'PredictionEventBar';
|
|
35495
35601
|
buyVolumeCollateralToken?: string | null;
|
|
35496
|
-
buyVolumeUsd
|
|
35602
|
+
buyVolumeUsd?: string | null;
|
|
35497
35603
|
lastEventTimestamp: number;
|
|
35498
35604
|
sellVolumeCollateralToken?: string | null;
|
|
35499
|
-
sellVolumeUsd
|
|
35605
|
+
sellVolumeUsd?: string | null;
|
|
35500
35606
|
t: number;
|
|
35501
35607
|
totalVolumeCollateralToken?: string | null;
|
|
35502
35608
|
totalVolumeUsd: string;
|
|
35503
35609
|
trades: number;
|
|
35504
|
-
uniqueTraders
|
|
35610
|
+
uniqueTraders?: number | null;
|
|
35505
35611
|
venueVolumeCollateralToken?: string | null;
|
|
35506
|
-
venueVolumeUsd
|
|
35612
|
+
venueVolumeUsd?: string | null;
|
|
35507
35613
|
volumeCollateralToken?: string | null;
|
|
35508
35614
|
volumeUsd: string;
|
|
35509
35615
|
liquidityCollateralToken?: {
|
|
@@ -35513,13 +35619,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35513
35619
|
l: string;
|
|
35514
35620
|
o: string;
|
|
35515
35621
|
} | null;
|
|
35516
|
-
liquidityUsd
|
|
35622
|
+
liquidityUsd?: {
|
|
35517
35623
|
__typename?: 'PredictionEventBarOhlc';
|
|
35518
35624
|
c: string;
|
|
35519
35625
|
h: string;
|
|
35520
35626
|
l: string;
|
|
35521
35627
|
o: string;
|
|
35522
|
-
};
|
|
35628
|
+
} | null;
|
|
35523
35629
|
openInterestCollateralToken?: {
|
|
35524
35630
|
__typename?: 'PredictionEventBarOhlc';
|
|
35525
35631
|
c: string;
|
|
@@ -35527,28 +35633,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35527
35633
|
l: string;
|
|
35528
35634
|
o: string;
|
|
35529
35635
|
} | null;
|
|
35530
|
-
openInterestUsd
|
|
35636
|
+
openInterestUsd?: {
|
|
35531
35637
|
__typename?: 'PredictionEventBarOhlc';
|
|
35532
35638
|
c: string;
|
|
35533
35639
|
h: string;
|
|
35534
35640
|
l: string;
|
|
35535
35641
|
o: string;
|
|
35536
|
-
};
|
|
35642
|
+
} | null;
|
|
35537
35643
|
} | null;
|
|
35538
35644
|
min1?: {
|
|
35539
35645
|
__typename?: 'PredictionEventBar';
|
|
35540
35646
|
buyVolumeCollateralToken?: string | null;
|
|
35541
|
-
buyVolumeUsd
|
|
35647
|
+
buyVolumeUsd?: string | null;
|
|
35542
35648
|
lastEventTimestamp: number;
|
|
35543
35649
|
sellVolumeCollateralToken?: string | null;
|
|
35544
|
-
sellVolumeUsd
|
|
35650
|
+
sellVolumeUsd?: string | null;
|
|
35545
35651
|
t: number;
|
|
35546
35652
|
totalVolumeCollateralToken?: string | null;
|
|
35547
35653
|
totalVolumeUsd: string;
|
|
35548
35654
|
trades: number;
|
|
35549
|
-
uniqueTraders
|
|
35655
|
+
uniqueTraders?: number | null;
|
|
35550
35656
|
venueVolumeCollateralToken?: string | null;
|
|
35551
|
-
venueVolumeUsd
|
|
35657
|
+
venueVolumeUsd?: string | null;
|
|
35552
35658
|
volumeCollateralToken?: string | null;
|
|
35553
35659
|
volumeUsd: string;
|
|
35554
35660
|
liquidityCollateralToken?: {
|
|
@@ -35558,13 +35664,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35558
35664
|
l: string;
|
|
35559
35665
|
o: string;
|
|
35560
35666
|
} | null;
|
|
35561
|
-
liquidityUsd
|
|
35667
|
+
liquidityUsd?: {
|
|
35562
35668
|
__typename?: 'PredictionEventBarOhlc';
|
|
35563
35669
|
c: string;
|
|
35564
35670
|
h: string;
|
|
35565
35671
|
l: string;
|
|
35566
35672
|
o: string;
|
|
35567
|
-
};
|
|
35673
|
+
} | null;
|
|
35568
35674
|
openInterestCollateralToken?: {
|
|
35569
35675
|
__typename?: 'PredictionEventBarOhlc';
|
|
35570
35676
|
c: string;
|
|
@@ -35572,28 +35678,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35572
35678
|
l: string;
|
|
35573
35679
|
o: string;
|
|
35574
35680
|
} | null;
|
|
35575
|
-
openInterestUsd
|
|
35681
|
+
openInterestUsd?: {
|
|
35576
35682
|
__typename?: 'PredictionEventBarOhlc';
|
|
35577
35683
|
c: string;
|
|
35578
35684
|
h: string;
|
|
35579
35685
|
l: string;
|
|
35580
35686
|
o: string;
|
|
35581
|
-
};
|
|
35687
|
+
} | null;
|
|
35582
35688
|
} | null;
|
|
35583
35689
|
min5?: {
|
|
35584
35690
|
__typename?: 'PredictionEventBar';
|
|
35585
35691
|
buyVolumeCollateralToken?: string | null;
|
|
35586
|
-
buyVolumeUsd
|
|
35692
|
+
buyVolumeUsd?: string | null;
|
|
35587
35693
|
lastEventTimestamp: number;
|
|
35588
35694
|
sellVolumeCollateralToken?: string | null;
|
|
35589
|
-
sellVolumeUsd
|
|
35695
|
+
sellVolumeUsd?: string | null;
|
|
35590
35696
|
t: number;
|
|
35591
35697
|
totalVolumeCollateralToken?: string | null;
|
|
35592
35698
|
totalVolumeUsd: string;
|
|
35593
35699
|
trades: number;
|
|
35594
|
-
uniqueTraders
|
|
35700
|
+
uniqueTraders?: number | null;
|
|
35595
35701
|
venueVolumeCollateralToken?: string | null;
|
|
35596
|
-
venueVolumeUsd
|
|
35702
|
+
venueVolumeUsd?: string | null;
|
|
35597
35703
|
volumeCollateralToken?: string | null;
|
|
35598
35704
|
volumeUsd: string;
|
|
35599
35705
|
liquidityCollateralToken?: {
|
|
@@ -35603,13 +35709,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35603
35709
|
l: string;
|
|
35604
35710
|
o: string;
|
|
35605
35711
|
} | null;
|
|
35606
|
-
liquidityUsd
|
|
35712
|
+
liquidityUsd?: {
|
|
35607
35713
|
__typename?: 'PredictionEventBarOhlc';
|
|
35608
35714
|
c: string;
|
|
35609
35715
|
h: string;
|
|
35610
35716
|
l: string;
|
|
35611
35717
|
o: string;
|
|
35612
|
-
};
|
|
35718
|
+
} | null;
|
|
35613
35719
|
openInterestCollateralToken?: {
|
|
35614
35720
|
__typename?: 'PredictionEventBarOhlc';
|
|
35615
35721
|
c: string;
|
|
@@ -35617,28 +35723,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35617
35723
|
l: string;
|
|
35618
35724
|
o: string;
|
|
35619
35725
|
} | null;
|
|
35620
|
-
openInterestUsd
|
|
35726
|
+
openInterestUsd?: {
|
|
35621
35727
|
__typename?: 'PredictionEventBarOhlc';
|
|
35622
35728
|
c: string;
|
|
35623
35729
|
h: string;
|
|
35624
35730
|
l: string;
|
|
35625
35731
|
o: string;
|
|
35626
|
-
};
|
|
35732
|
+
} | null;
|
|
35627
35733
|
} | null;
|
|
35628
35734
|
min15?: {
|
|
35629
35735
|
__typename?: 'PredictionEventBar';
|
|
35630
35736
|
buyVolumeCollateralToken?: string | null;
|
|
35631
|
-
buyVolumeUsd
|
|
35737
|
+
buyVolumeUsd?: string | null;
|
|
35632
35738
|
lastEventTimestamp: number;
|
|
35633
35739
|
sellVolumeCollateralToken?: string | null;
|
|
35634
|
-
sellVolumeUsd
|
|
35740
|
+
sellVolumeUsd?: string | null;
|
|
35635
35741
|
t: number;
|
|
35636
35742
|
totalVolumeCollateralToken?: string | null;
|
|
35637
35743
|
totalVolumeUsd: string;
|
|
35638
35744
|
trades: number;
|
|
35639
|
-
uniqueTraders
|
|
35745
|
+
uniqueTraders?: number | null;
|
|
35640
35746
|
venueVolumeCollateralToken?: string | null;
|
|
35641
|
-
venueVolumeUsd
|
|
35747
|
+
venueVolumeUsd?: string | null;
|
|
35642
35748
|
volumeCollateralToken?: string | null;
|
|
35643
35749
|
volumeUsd: string;
|
|
35644
35750
|
liquidityCollateralToken?: {
|
|
@@ -35648,13 +35754,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35648
35754
|
l: string;
|
|
35649
35755
|
o: string;
|
|
35650
35756
|
} | null;
|
|
35651
|
-
liquidityUsd
|
|
35757
|
+
liquidityUsd?: {
|
|
35652
35758
|
__typename?: 'PredictionEventBarOhlc';
|
|
35653
35759
|
c: string;
|
|
35654
35760
|
h: string;
|
|
35655
35761
|
l: string;
|
|
35656
35762
|
o: string;
|
|
35657
|
-
};
|
|
35763
|
+
} | null;
|
|
35658
35764
|
openInterestCollateralToken?: {
|
|
35659
35765
|
__typename?: 'PredictionEventBarOhlc';
|
|
35660
35766
|
c: string;
|
|
@@ -35662,28 +35768,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35662
35768
|
l: string;
|
|
35663
35769
|
o: string;
|
|
35664
35770
|
} | null;
|
|
35665
|
-
openInterestUsd
|
|
35771
|
+
openInterestUsd?: {
|
|
35666
35772
|
__typename?: 'PredictionEventBarOhlc';
|
|
35667
35773
|
c: string;
|
|
35668
35774
|
h: string;
|
|
35669
35775
|
l: string;
|
|
35670
35776
|
o: string;
|
|
35671
|
-
};
|
|
35777
|
+
} | null;
|
|
35672
35778
|
} | null;
|
|
35673
35779
|
min30?: {
|
|
35674
35780
|
__typename?: 'PredictionEventBar';
|
|
35675
35781
|
buyVolumeCollateralToken?: string | null;
|
|
35676
|
-
buyVolumeUsd
|
|
35782
|
+
buyVolumeUsd?: string | null;
|
|
35677
35783
|
lastEventTimestamp: number;
|
|
35678
35784
|
sellVolumeCollateralToken?: string | null;
|
|
35679
|
-
sellVolumeUsd
|
|
35785
|
+
sellVolumeUsd?: string | null;
|
|
35680
35786
|
t: number;
|
|
35681
35787
|
totalVolumeCollateralToken?: string | null;
|
|
35682
35788
|
totalVolumeUsd: string;
|
|
35683
35789
|
trades: number;
|
|
35684
|
-
uniqueTraders
|
|
35790
|
+
uniqueTraders?: number | null;
|
|
35685
35791
|
venueVolumeCollateralToken?: string | null;
|
|
35686
|
-
venueVolumeUsd
|
|
35792
|
+
venueVolumeUsd?: string | null;
|
|
35687
35793
|
volumeCollateralToken?: string | null;
|
|
35688
35794
|
volumeUsd: string;
|
|
35689
35795
|
liquidityCollateralToken?: {
|
|
@@ -35693,13 +35799,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35693
35799
|
l: string;
|
|
35694
35800
|
o: string;
|
|
35695
35801
|
} | null;
|
|
35696
|
-
liquidityUsd
|
|
35802
|
+
liquidityUsd?: {
|
|
35697
35803
|
__typename?: 'PredictionEventBarOhlc';
|
|
35698
35804
|
c: string;
|
|
35699
35805
|
h: string;
|
|
35700
35806
|
l: string;
|
|
35701
35807
|
o: string;
|
|
35702
|
-
};
|
|
35808
|
+
} | null;
|
|
35703
35809
|
openInterestCollateralToken?: {
|
|
35704
35810
|
__typename?: 'PredictionEventBarOhlc';
|
|
35705
35811
|
c: string;
|
|
@@ -35707,28 +35813,28 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35707
35813
|
l: string;
|
|
35708
35814
|
o: string;
|
|
35709
35815
|
} | null;
|
|
35710
|
-
openInterestUsd
|
|
35816
|
+
openInterestUsd?: {
|
|
35711
35817
|
__typename?: 'PredictionEventBarOhlc';
|
|
35712
35818
|
c: string;
|
|
35713
35819
|
h: string;
|
|
35714
35820
|
l: string;
|
|
35715
35821
|
o: string;
|
|
35716
|
-
};
|
|
35822
|
+
} | null;
|
|
35717
35823
|
} | null;
|
|
35718
35824
|
week1?: {
|
|
35719
35825
|
__typename?: 'PredictionEventBar';
|
|
35720
35826
|
buyVolumeCollateralToken?: string | null;
|
|
35721
|
-
buyVolumeUsd
|
|
35827
|
+
buyVolumeUsd?: string | null;
|
|
35722
35828
|
lastEventTimestamp: number;
|
|
35723
35829
|
sellVolumeCollateralToken?: string | null;
|
|
35724
|
-
sellVolumeUsd
|
|
35830
|
+
sellVolumeUsd?: string | null;
|
|
35725
35831
|
t: number;
|
|
35726
35832
|
totalVolumeCollateralToken?: string | null;
|
|
35727
35833
|
totalVolumeUsd: string;
|
|
35728
35834
|
trades: number;
|
|
35729
|
-
uniqueTraders
|
|
35835
|
+
uniqueTraders?: number | null;
|
|
35730
35836
|
venueVolumeCollateralToken?: string | null;
|
|
35731
|
-
venueVolumeUsd
|
|
35837
|
+
venueVolumeUsd?: string | null;
|
|
35732
35838
|
volumeCollateralToken?: string | null;
|
|
35733
35839
|
volumeUsd: string;
|
|
35734
35840
|
liquidityCollateralToken?: {
|
|
@@ -35738,13 +35844,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35738
35844
|
l: string;
|
|
35739
35845
|
o: string;
|
|
35740
35846
|
} | null;
|
|
35741
|
-
liquidityUsd
|
|
35847
|
+
liquidityUsd?: {
|
|
35742
35848
|
__typename?: 'PredictionEventBarOhlc';
|
|
35743
35849
|
c: string;
|
|
35744
35850
|
h: string;
|
|
35745
35851
|
l: string;
|
|
35746
35852
|
o: string;
|
|
35747
|
-
};
|
|
35853
|
+
} | null;
|
|
35748
35854
|
openInterestCollateralToken?: {
|
|
35749
35855
|
__typename?: 'PredictionEventBarOhlc';
|
|
35750
35856
|
c: string;
|
|
@@ -35752,13 +35858,13 @@ export type OnPredictionEventBarsUpdatedSubscription = {
|
|
|
35752
35858
|
l: string;
|
|
35753
35859
|
o: string;
|
|
35754
35860
|
} | null;
|
|
35755
|
-
openInterestUsd
|
|
35861
|
+
openInterestUsd?: {
|
|
35756
35862
|
__typename?: 'PredictionEventBarOhlc';
|
|
35757
35863
|
c: string;
|
|
35758
35864
|
h: string;
|
|
35759
35865
|
l: string;
|
|
35760
35866
|
o: string;
|
|
35761
|
-
};
|
|
35867
|
+
} | null;
|
|
35762
35868
|
} | null;
|
|
35763
35869
|
};
|
|
35764
35870
|
} | null;
|
|
@@ -38866,6 +38972,7 @@ export declare const PredictionMarketBarsDocument: DocumentNode<PredictionMarket
|
|
|
38866
38972
|
export declare const PredictionMarketsDocument: DocumentNode<PredictionMarketsQuery, PredictionMarketsQueryVariables>;
|
|
38867
38973
|
export declare const PredictionTokenHoldersDocument: DocumentNode<PredictionTokenHoldersQuery, PredictionTokenHoldersQueryVariables>;
|
|
38868
38974
|
export declare const PredictionTraderBarsDocument: DocumentNode<PredictionTraderBarsQuery, PredictionTraderBarsQueryVariables>;
|
|
38975
|
+
export declare const PredictionTraderHoldingsDocument: DocumentNode<PredictionTraderHoldingsQuery, PredictionTraderHoldingsQueryVariables>;
|
|
38869
38976
|
export declare const PredictionTraderMarketsStatsDocument: DocumentNode<PredictionTraderMarketsStatsQuery, PredictionTraderMarketsStatsQueryVariables>;
|
|
38870
38977
|
export declare const PredictionTradersDocument: DocumentNode<PredictionTradersQuery, PredictionTradersQueryVariables>;
|
|
38871
38978
|
export declare const PredictionTradesDocument: DocumentNode<PredictionTradesQuery, PredictionTradesQueryVariables>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PotentialScamReason = exports.PoolNftType = exports.ParallelAssetRankingAttribute = exports.ParallelAssetMatcherSubtype = exports.ParallelAssetMatcherRarity = exports.ParallelAssetMatcherParallel = exports.ParallelAssetMatcherClass = exports.ParallelAssetMatcherCardType = exports.PairRankingAttribute = exports.NftSearchable = exports.NftPoolType = exports.NftPoolRankingAttribute = exports.NftPoolEventType = exports.NftPoolContractVersion = exports.NftPoolCollectionRankingAttribute = exports.NftExchange = exports.NftEventTradeItemType = exports.NftEventOrderDirection = exports.NftContractErcType = exports.NftCollectionsLeaderboardMetric = exports.NftCollectionsLeaderboardDuration = exports.NftCollectionRankingAttribute = exports.NftAssetErrorStatus = exports.NftAssetAttributeType = exports.NftAssetAttributeDisplayType = exports.NetworkConfigType = exports.LiquidityProtocol = exports.LiquidityLockProtocol = exports.LaunchpadTokenProtocol = exports.LaunchpadTokenEventType = exports.HoldersStatus = exports.HoldersSortAttribute = exports.GraphQlNftPoolVariant = exports.ExchangeRankingAttribute = exports.EventType = exports.EventLabelType = exports.EventDisplayType = exports.DetailedTokenStatsDuration = exports.DetailedStatsWindowSize = exports.DetailedPairStatsDuration = exports.DetailedNftStatsDuration = exports.ContractType = exports.ContractProposalStatus = exports.ContractLabelType = exports.ContractLabelSubType = exports.CommunityNoteType = exports.ChartTheme = exports.BondingCurveType = exports.BalancesSortAttribute = exports.AlertRecurrence = void 0;
|
|
4
4
|
exports.ApiTokensDocument = exports.ApiTokenDocument = exports.RefreshBalancesDocument = exports.DeleteWebhooksDocument = exports.DeleteApiTokenDocument = exports.CreateWebhooksDocument = exports.CreateApiTokensDocument = exports.BackfillWalletAggregatesDocument = exports.WebhookType = exports.WebhookNftEventType = exports.WebhookNftEventFillSource = exports.WalletTokenRankingAttribute = exports.WalletStatsDuration = exports.WalletRankingAttribute = exports.WalletNetworkRankingAttribute = exports.WalletLabel = exports.WalletAggregateBackfillState = exports.TradingPeriod = exports.TokenTransferDirection = exports.TokenRankingAttribute = exports.TokenPairStatisticsType = exports.TokenPairEventType = exports.TokenOfInterest = exports.TokenLifecycleEventType = exports.SymbolType = exports.SparklineAttribute = exports.SandwichLabelForEventType = exports.RankingDirection = exports.QuoteToken = exports.QuoteCurrency = exports.PublishingType = exports.PrimePoolType = exports.PrimePoolEventType = exports.PrimePoolCurrency = exports.PredictionTraderStatsDuration = exports.PredictionTraderRankingAttribute = exports.PredictionTraderMarketRankingAttribute = exports.PredictionTraderMarketPnlStatus = exports.PredictionTraderBarsResolution = exports.PredictionTradeType = exports.PredictionStatsDuration = exports.PredictionProtocol = exports.PredictionOutcomeRankingAttribute = exports.PredictionOutcomeIndex = exports.PredictionMarketRankingAttribute = exports.PredictionMarketBarsResolution = exports.PredictionEventStatus = exports.PredictionEventRankingAttribute = exports.PredictionEventMarketSort = exports.PredictionEventBarsResolution = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.OnUnconfirmedEventsCreatedByMakerDocument = exports.OnUnconfirmedEventsCreatedDocument = exports.OnUnconfirmedBarsUpdatedDocument = exports.OnTokenLifecycleEventsCreatedDocument = exports.OnTokenEventsCreatedDocument = exports.OnTokenBarsUpdatedDocument = exports.OnPricesUpdatedDocument = exports.OnPriceUpdatedDocument = exports.OnPredictionTradesCreatedDocument = exports.OnPredictionMarketBarsUpdatedDocument = exports.OnPredictionEventBarsUpdatedDocument = exports.OnPairMetadataUpdatedDocument = exports.OnNftPoolEventsCreatedDocument = exports.OnNftEventsCreatedDocument = exports.OnNftAssetsCreatedDocument = exports.OnLaunchpadTokenEventBatchDocument = exports.OnLaunchpadTokenEventDocument = exports.OnLatestTokensDocument = exports.OnLatestPairUpdatedDocument = exports.OnHoldersUpdatedDocument = exports.OnEventsCreatedByMakerDocument = exports.OnEventsCreatedDocument = exports.OnEventLabelCreatedDocument = exports.OnDetailedTokenStatsUpdatedDocument = exports.OnDetailedStatsUpdatedDocument = exports.OnDetailedPredictionMarketStatsUpdatedDocument = exports.OnDetailedPredictionEventStatsUpdatedDocument = exports.OnBarsUpdatedDocument = exports.OnBalanceUpdatedDocument = exports.WalletChartDocument = exports.WalletAggregateBackfillStateDocument = exports.Top10HoldersPercentDocument = exports.TokensDocument = exports.TokenTopTradersDocument = exports.TokenSparklinesDocument = exports.TokenLifecycleEventsDocument = exports.TokenDocument = void 0;
|
|
5
|
+
exports.PredictionTradersDocument = exports.PredictionTraderMarketsStatsDocument = exports.PredictionTraderHoldingsDocument = exports.PredictionTraderBarsDocument = exports.PredictionTokenHoldersDocument = exports.PredictionMarketsDocument = exports.PredictionMarketBarsDocument = exports.PredictionEventTopMarketsBarsDocument = exports.PredictionEventBarsDocument = exports.PredictionCategoriesDocument = exports.PairMetadataDocument = exports.ListPairsWithMetadataForTokenDocument = exports.ListPairsForTokenDocument = exports.LiquidityMetadataByTokenDocument = exports.LiquidityMetadataDocument = exports.LiquidityLocksDocument = exports.HoldersDocument = exports.GetWebhooksDocument = exports.GetTokenPricesDocument = exports.GetTokenEventsForMakerDocument = exports.GetTokenEventsDocument = exports.GetTokenBarsDocument = exports.GetSymbolDocument = exports.GetNetworksDocument = exports.GetNetworkStatusDocument = exports.GetNetworkStatsDocument = exports.GetNetworkConfigsDocument = exports.GetExchangesDocument = exports.GetEventLabelsDocument = exports.GetDetailedTokenStatsDocument = exports.GetDetailedPairsStatsDocument = exports.GetDetailedPairStatsDocument = exports.GetCommunityNotesDocument = exports.GetBarsDocument = exports.FilterWalletsDocument = exports.FilterTokensDocument = exports.FilterTokenWalletsDocument = exports.FilterPredictionTradersDocument = exports.FilterPredictionTraderMarketsDocument = exports.FilterPredictionMarketsDocument = exports.FilterPredictionEventsDocument = exports.FilterPairsDocument = exports.FilterExchangesDocument = exports.DetailedWalletStatsDocument = exports.DetailedPredictionTraderStatsDocument = exports.DetailedPredictionMarketStatsDocument = exports.DetailedPredictionEventStatsDocument = exports.ChartUrlsDocument = exports.BlocksDocument = exports.BalancesDocument = void 0;
|
|
6
|
+
exports.OnUnconfirmedEventsCreatedByMakerDocument = exports.OnUnconfirmedEventsCreatedDocument = exports.OnUnconfirmedBarsUpdatedDocument = exports.OnTokenLifecycleEventsCreatedDocument = exports.OnTokenEventsCreatedDocument = exports.OnTokenBarsUpdatedDocument = exports.OnPricesUpdatedDocument = exports.OnPriceUpdatedDocument = exports.OnPredictionTradesCreatedDocument = exports.OnPredictionMarketBarsUpdatedDocument = exports.OnPredictionEventBarsUpdatedDocument = exports.OnPairMetadataUpdatedDocument = exports.OnNftPoolEventsCreatedDocument = exports.OnNftEventsCreatedDocument = exports.OnNftAssetsCreatedDocument = exports.OnLaunchpadTokenEventBatchDocument = exports.OnLaunchpadTokenEventDocument = exports.OnLatestTokensDocument = exports.OnLatestPairUpdatedDocument = exports.OnHoldersUpdatedDocument = exports.OnEventsCreatedByMakerDocument = exports.OnEventsCreatedDocument = exports.OnEventLabelCreatedDocument = exports.OnDetailedTokenStatsUpdatedDocument = exports.OnDetailedStatsUpdatedDocument = exports.OnDetailedPredictionMarketStatsUpdatedDocument = exports.OnDetailedPredictionEventStatsUpdatedDocument = exports.OnBarsUpdatedDocument = exports.OnBalanceUpdatedDocument = exports.WalletChartDocument = exports.WalletAggregateBackfillStateDocument = exports.Top10HoldersPercentDocument = exports.TokensDocument = exports.TokenTopTradersDocument = exports.TokenSparklinesDocument = exports.TokenLifecycleEventsDocument = exports.TokenDocument = exports.PredictionTradesDocument = void 0;
|
|
7
7
|
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
8
8
|
var AlertRecurrence;
|
|
9
9
|
(function (AlertRecurrence) {
|
|
@@ -2218,6 +2218,7 @@ exports.PredictionMarketBarsDocument = { "kind": "Document", "definitions": [{ "
|
|
|
2218
2218
|
exports.PredictionMarketsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionMarkets" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionMarketsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionMarkets" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }] } }] };
|
|
2219
2219
|
exports.PredictionTokenHoldersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTokenHolders" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTokenHoldersInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTokenHolders" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionTrader" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletAddress" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }] } }] } }] };
|
|
2220
2220
|
exports.PredictionTraderBarsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderBars" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderBarsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderBars" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "bars" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeRealizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeRealizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "losses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "t" } }, { "kind": "Field", "name": { "kind": "Name", "value": "trades" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uniqueMarkets" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wins" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "trader" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }] } }] } }] };
|
|
2221
|
+
exports.PredictionTraderHoldingsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderHoldings" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderHoldingsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderHoldings" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "market" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }] } }] } }] };
|
|
2221
2222
|
exports.PredictionTraderMarketsStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderMarketsStats" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderMarketsStatsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderMarketsStats" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasOpenPosition" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcome0Stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pnlStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sharesHeld" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcome1Stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pnlStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sharesHeld" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionMarket" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] } }] };
|
|
2222
2223
|
exports.PredictionTradersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraders" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTradersInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraders" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }] } }] };
|
|
2223
2224
|
exports.PredictionTradesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTrades" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTradesInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTrades" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountCollateral" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maker" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionMarket" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCollateral" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sortKey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tradeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionId" } }] } }] } }] } }] };
|
|
@@ -2212,6 +2212,7 @@ export const PredictionMarketBarsDocument = { "kind": "Document", "definitions":
|
|
|
2212
2212
|
export const PredictionMarketsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionMarkets" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionMarketsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionMarkets" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }] } }] };
|
|
2213
2213
|
export const PredictionTokenHoldersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTokenHolders" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTokenHoldersInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTokenHolders" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionTrader" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletAddress" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }] } }] } }] };
|
|
2214
2214
|
export const PredictionTraderBarsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderBars" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderBarsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderBars" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "bars" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeRealizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeRealizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "losses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "t" } }, { "kind": "Field", "name": { "kind": "Name", "value": "trades" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uniqueMarkets" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wins" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "trader" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }] } }] } }] };
|
|
2215
|
+
export const PredictionTraderHoldingsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderHoldings" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderHoldingsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderHoldings" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "market" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }] } }] } }] };
|
|
2215
2216
|
export const PredictionTraderMarketsStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraderMarketsStats" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTraderMarketsStatsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraderMarketsStats" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasOpenPosition" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcome0Stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pnlStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sharesHeld" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcome1Stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avgEntryPriceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buyVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "costBasisUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pnlStatus" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "realizedPnlUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeShares" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sellVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sells" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sharesHeld" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionMarket" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] } }] };
|
|
2216
2217
|
export const PredictionTradersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTraders" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTradersInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTraders" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeMarketsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allTimeProfitUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestLossUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "biggestWinUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "labels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastTradeTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkedAddresses" } }, { "kind": "Field", "name": { "kind": "Name", "value": "primaryAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileImageUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "profileUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalTradesCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeCT" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalVolumeUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueTraderId" } }] } }] } }] };
|
|
2217
2218
|
export const PredictionTradesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PredictionTrades" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PredictionTradesInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "predictionTrades" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountCollateral" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amountUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maker" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "predictionMarket" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "categories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subcategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "closesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventLabel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "exchangeAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageLargeUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageSmallUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageThumbUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "networkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "opensAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "outcomeLabels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "question" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolution" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "result" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "resolvesAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rules2" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueEventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueMarketSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "venueOutcomeIds" } }, { "kind": "Field", "name": { "kind": "Name", "value": "winningOutcomeId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCollateral" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceUsd" } }, { "kind": "Field", "name": { "kind": "Name", "value": "protocol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sortKey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tradeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "traderId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionId" } }] } }] } }] } }] };
|