APIHub
Back to Explore

Fair Draw

Pick winners from a list or a number range with a draw bound to a future round of the drand public randomness beacon. Nothing is stored: a draw description always gives the same winners. Specification: https://github.com/bettip-co-za/fair-draw/blob/main/spec/FAIR-DRAW-v1.md

Development
none
HTTPS
CORS: Yes
Description enriched
Visit official documentation

Latency

1145ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/round

Current and next beacon round, and the round for a given time

  • at (query) — ISO 8601 time, or unix seconds or milliseconds
POST

/commit

Describe a draw and bind it to a round

POST

/draw

Draw the winners once the round has landed

POST

/verify

Re-check a proof

4 endpoints auto-detected

curl -X GET \
  "https://bettip.co.za/fair-draw/api//round"

bettip.co.za · HTTPS only