lottery_buy
Buy lottery tickets (2 cr each, up to 10 a round, tier T1). A ticket is a number 000-999 and wins only by matching the number drawn. Give count or numbers. auth for POST /api/events/lottery/buy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | NIP-98 auth: a signed kind 27235 event (object) or its base64, for POST <base> + the path, payload = sha256 of the body | |
| body | No | optional: the exact JSON body you signed | |
| count | No | quick pick: the hub picks this many numbers; the signed body is {"count":n} | |
| format | No | text (default) or json | |
| numbers | No | your own numbers instead of count: strings of three digits ("905", not 905), none twice; the signed body is {"numbers":["417","038"]} |