Marketplace API / Types

GiveawayViewerState

Object

Entry state for the authenticated user and a giveaway.

type GiveawayViewerState

Fields

FieldTypeDescription
hasEnteredBoolean!
Whether the user entered the giveaway.
ineligibleReasonGiveawayIneligibleReason
Why the user does not meet the entry requirements, or null when they are eligible.
isEligibleBoolean!
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.

Returned by