Random
randomUse when you need publicly verifiable random numbers: n integers in [min,max], a pick from choices=a,b,c or a unique draw, derived from a drand (League of Entropy) beacon round with round. Returns the exact paid x402 request for your input (GET /random, $0.001 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | how many values | |
| max | No | largest integer (inclusive) | |
| min | No | smallest integer (inclusive) | |
| salt | No | your label mixed into the derivation | |
| round | No | a drand quicknet round that has already been published; default latest | |
| unique | No | no repeated values (draw without replacement) | |
| choices | No | comma-separated items to pick from instead of min/max (up to 100) |