Marketplace API / Types
GiveawayViewerState
ObjectEntry state for the authenticated user and a giveaway.
type GiveawayViewerStateFields
| Field | Type | Description |
|---|---|---|
hasEntered | Boolean! | Whether the user entered the giveaway. |
ineligibleReason | GiveawayIneligibleReason | Why the user does not meet the entry requirements, or null when they are eligible. |
isEligible | Boolean! | Whether the user meets the entry requirements, independent of the giveaway's status. Entries are accepted only while status is STARTED, and enterGiveaway checks the same requirements again. |