---
title: "A provably fair selection ($0.05)"
method: GET
path: "/v1/draw"
---

# A provably fair selection ($0.05)

`GET /v1/draw`

## Request

- Base URL: `https://soren.com`
- URL: `https://soren.com/v1/draw`
- Auth: none declared

Draws `pick` winners from entries numbered 1..n, seeded by the drand League of Entropy beacon, which no participant including Soren can choose or predict. The response carries the round, the randomness and the exact derivation so anyone can recompute the result. Pass a FUTURE round with `round=` to remove the assumption that Soren did not wait for a favourable beacon.

## Query parameters

- `n` integer, required
- `pick` integer
- `round` integer

## Response `200`

Result.

- object

## Other responses

- `400`: Bad n or pick.
- `402`: Payment required.
- `503`: The drand beacon could not be read; nothing was drawn.

---

[API](https://skmtc.dev/soren/apis/soren-free-games-api.md) · [All operations](https://skmtc.dev/soren/apis/soren-free-games-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soren/apis/soren-free-games-api/revisions/00402cfcf30d?raw)
