fair draw
fair_drawUse this after fair_commit, once every player has seen the server_seed_hash: give your client_seed and get uniform random integers in [min, max]. The server reveals its seed with the draw; a commitment draws once (a second call returns the original draw). Algorithm swoge-hmac-sha256-v1: HMAC-SHA256(server_seed, client_seed:counter) read 4 bytes at a time, rejection sampling, no bias; the answer carries code that redoes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | largest value (default 100) | |
| min | No | smallest value (default 1) | |
| count | No | how many numbers (default 1) | |
| quote | No | true: return the price of this call without running or paying for it | |
| client_seed | Yes | your seed, 1 to 128 printable ASCII characters (pick it after seeing the server_seed_hash) | |
| commitment_id | Yes | the id fair_commit returned |