- Preparing search index...
- The search index is not available
sdk-v2
Markets
Query
: { __typename
?: "Query"; markets
: { __typename
?: "Market"; bonds
?: { __typename
?: "MarketBonds"; creation
?: { __typename
?: "MarketBond"; isSettled
: boolean; value
: any; who
: string; } | null; oracle
?: { __typename
?: "MarketBond"; isSettled
: boolean; value
: any; who
: string; } | null; } | null; categories
?: ({ __typename
?: "CategoryMetadata"; color
?: string | null; name
?: string | null; ticker
?: string | null; } | null)[] | null; creation
: string; creator
: string; creatorFee
?: number | null; deadlines
?: { __typename
?: "MarketDeadlines"; disputeDuration
: any; gracePeriod
: any; oracleDuration
: any; } | null; description
?: string | null; disputeMechanism
: string; id
: string; img
?: string | null; marketId
: number; marketType
: { __typename
?: "MarketType"; categorical
?: string | null; scalar
?: (string | null)[] | null; }; metadata
: string; oracle
: string; outcomeAssets
: (string | null)[]; period
: { __typename
?: "MarketPeriod"; block
?: (any | null)[] | null; end
: any; start
: any; timestamp
?: (any | null)[] | null; }; pool
?: { __typename
?: "Pool"; accountId
?: string | null; baseAsset
: string; createdAt
: any; id
: string; marketId
: number; poolId
: number; poolStatus
: string; scoringRule
: string; swapFee
: string; totalSubsidy
: string; totalWeight
: string; volume
: any; weights
: ({ __typename
?: "Weight"; assetId
: string; len
: any; } | null)[]; ztgQty
: any; } | null; question
?: string | null; rejectReason
?: string | null; report
?: { __typename
?: "MarketReport"; at
?: number | null; by
?: string | null; outcome
: { __typename
?: "OutcomeReport"; categorical
?: number | null; scalar
?: any | null; }; } | null; resolvedOutcome
?: string | null; scalarType
?: string | null; scoringRule
: string; slug
?: string | null; status
: MarketStatus; tags
?: (string | null)[] | null; }[]; }
Type declaration
-
Optional
__typename?: "Query"
-
markets: {
__typename?: "Market";
bonds?: {
__typename?: "MarketBonds";
creation?: {
__typename?: "MarketBond";
isSettled: boolean;
value: any;
who: string;
} | null;
oracle?: {
__typename?: "MarketBond";
isSettled: boolean;
value: any;
who: string;
} | null;
} | null;
categories?: ({
__typename?: "CategoryMetadata";
color?: string | null;
name?: string | null;
ticker?: string | null;
} | null)[] | null;
creation: string;
creator: string;
creatorFee?: number | null;
deadlines?: {
__typename?: "MarketDeadlines";
disputeDuration: any;
gracePeriod: any;
oracleDuration: any;
} | null;
description?: string | null;
disputeMechanism: string;
id: string;
img?: string | null;
marketId: number;
marketType: {
__typename?: "MarketType";
categorical?: string | null;
scalar?: (string | null)[] | null;
};
metadata: string;
oracle: string;
outcomeAssets: (string | null)[];
period: {
__typename?: "MarketPeriod";
block?: (any | null)[] | null;
end: any;
start: any;
timestamp?: (any | null)[] | null;
};
pool?: {
__typename?: "Pool";
accountId?: string | null;
baseAsset: string;
createdAt: any;
id: string;
marketId: number;
poolId: number;
poolStatus: string;
scoringRule: string;
swapFee: string;
totalSubsidy: string;
totalWeight: string;
volume: any;
weights: ({
__typename?: "Weight";
assetId: string;
len: any;
} | null)[];
ztgQty: any;
} | null;
question?: string | null;
rejectReason?: string | null;
report?: {
__typename?: "MarketReport";
at?: number | null;
by?: string | null;
outcome: {
__typename?: "OutcomeReport";
categorical?: number | null;
scalar?: any | null;
};
} | null;
resolvedOutcome?: string | null;
scalarType?: string | null;
scoringRule: string;
slug?: string | null;
status: MarketStatus;
tags?: (string | null)[] | null;
}[]