fair verify
fair_verifyUse this to check a draw independently: recomputes the SHA-256 of a revealed server_seed against its hash, and the numbers of a swoge-hmac-sha256-v1 draw, or the 52-card shoe of a SWOGE casino hand (scheme swoge-casino-shoe with its nonce). Pure computation: nothing is stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | default 100 | |
| min | No | default 1 | |
| count | No | numbers drawn (default 1) | |
| nonce | No | swoge-casino-shoe only: the hand number | |
| quote | No | true: return the price of this call without running or paying for it | |
| scheme | No | default swoge-hmac-sha256-v1 | |
| numbers | No | optional; the numbers you were given, to compare | |
| client_seed | Yes | the client seed of the draw | |
| server_seed | Yes | the revealed server seed | |
| server_seed_hash | No | optional; the hash published before the draw |