/v1/studio/drop/{slug}/raffle
A drop's raffle: entrants, draw and winners
Request
https://api.xrpl.to/v1/studio/drop/fuzzybears/raffle| Path parameter | Value | Description |
|---|---|---|
| slug | A collection slug, or its identity as issuer:taxon |
curl 'https://api.xrpl.to/v1/studio/drop/fuzzybears/raffle'
Response
{ 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.