1. Generate random integers

curl "https://api.provable.io/api/ints?clientSeed=my-app&count=5&min=1&max=100"

The response includes an outcome array, your clientSeed, the serverHash, and the cursor/nonce needed for verification later.

2. Generate random floats

curl "https://api.provable.io/api/floats?clientSeed=my-app&count=3"

Each value is a cryptographically derived number between 0 and 1.

3. Verify an outcome

Pick a serverHash from a previous response and check it:

curl "https://api.provable.io/api/verifyServerHash?clientSeed=my-app&serverHash=YOUR_HASH"

A response of true means the hash matches our records for that client seed.

Next steps