Skip to main content

FreeToolPickGiveawayWinnersResponse

winnersstring[]

Entrant keys in the drawn order.

alternatesstring[]

Entrant keys drawn after the winners, in order.

entrants_beforeinteger

Comments received.

entrants_afterinteger

Entries left after the filters: the length of entrant_list.

entrant_liststring[]

The canonical entrant list to publish: keys sorted by UTF-8 bytes. Joined with "\n" it is what entrants_hash hashes.

entrants_hashstring

SHA-256 (hex) of the canonical entrant list.

fingerprintstring

SHA-256 (hex) of the seed bytes: what to publish before the entries close.

seedstring

The seed used, lowercase hex. Publish it after the draw.

pre_committedboolean

False when the seed was generated for this draw, so no fingerprint could be published before it.

algorithmstring

Possible values: [pb-draw-v1]

warnings object[]

Codes: not_enough_entrants, not_pre_committed.

  • Array [
  • codestring
    messagestring
  • ]
  • FreeToolPickGiveawayWinnersResponse
    {
    "winners": [
    "string"
    ],
    "alternates": [
    "string"
    ],
    "entrants_before": 0,
    "entrants_after": 0,
    "entrant_list": [
    "string"
    ],
    "entrants_hash": "string",
    "fingerprint": "string",
    "seed": "string",
    "pre_committed": true,
    "algorithm": "pb-draw-v1",
    "warnings": [
    {
    "code": "string",
    "message": "string"
    }
    ]
    }