Subgraph
GraphQL Queries
Games & Conditions Entities
Outcome Entity

Outcome Entity

Description

Represents an outcome for a specific condition within a game. It stores odds, bets, and the result of the outcome, and is key in determining payouts for users.

Usage

Use this entity when you need to track or display odds and outcomes for betting conditions. It is useful for applications that allow users to track historical odds or manage updates of betting markets.

Attributes

AttributeTypeDescription
idID!Unique identifier for the outcome (Condition entity ID + Outcome ID).
coreCoreContract!Reference to the core contract related to the outcome.
outcomeIdBigInt!Numeric identifier for the outcome.
conditionCondition!Reference to the condition associated with the outcome.
fundBigInt!Amount of funds backing this outcome.
rawCurrentOddsBigInt!Raw odds value for the outcome.
currentOddsBigDecimal!Formatted odds value for the outcome.
sortOrderInt!Sorting order of the outcome in relation to other outcomes.
selections[Selection!]! @derivedFromList of selections associated with the outcome.