latestOpenAPI 3.0.32026-08-10161240.1 KB
5d4ce7cb355d
Draws
Create, add entries, and seal in one call
The recommended endpoint when you already have the full entrant list. With wait: true, blocks until the drand round arrives (~32–35 s with quicknet defaults) and returns the resolved draw with the winner. If create + entries succeed but the seal step fails, the open draw and tickets are returned with HTTP 500 / code: seal_failed — retry via POST /v1/draws/{id}/seal.
post/v1/draws/instant
Request body
Response
Draw sealed (and resolved, when wait was true and the round arrived in time).
Example response
{
"success": true,
"data": {
"draw": {
"id": "K7M2"
}
}
}