GET /studio/drop/{slug}/raffle
GET

/v1/studio/drop/{slug}/raffle

A drop's raffle: entrants, draw and winners

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/studio/drop/fuzzybears/raffle
Path parameterValueDescription
slugA collection slug, or its identity as issuer:taxon
curl 'https://api.xrpl.to/v1/studio/drop/fuzzybears/raffle'
No public sample for this one — copy the code and fill in your own values.

Response

No public sample for this endpoint — run the code on the right with your own values to see the response.
Shapeas documented
{
  phase,
  raffle_until,
  claim_until,
  allocation,
  entry_tag,
  entries,
  entrants[],
  drawn,
  seed_ledger,
  seed_hash,
  winners[],
  rule
}

What it does

A drop's raffle: entrants, draw and winners

Notes
A drop's raffle: phase (raffle, claim, public), raffle_until, claim_until, allocation, entry_tag, the entrants and, once drawn, seed_ledger, seed_hash and winners. The seed is the hash of the first validated ledger closed at or after raffle_until; entrants are ordered by SHA-256 of seed_hash (uppercase hex) followed by the address, lowest first, and the first floor(supply / allocation) win: anyone can redo the draw. Winners mint their allocation until claim_until; then what is left is for everyone.
No key. Payments on the ledger pay for what costs money; a hidden drop's art stays off IPFS until its reveal. Open the NFT studio →
OpenAPI