Tutorial
Provides documentation of API endpoint for getting randomness.
Last updated
Provides documentation of API endpoint for getting randomness.
The following is an illustrative example of generating an array of three-digit random numbers.
Make sure you provide an API in the header.
Send the following request:
GET https://api.cryptosat.io/api/randomness?num=3
You should get the following similar response:
{
"random_numbers": [
0.548,
0.361,
0.74
]
}Note that the num query parameter corresponds to the desired amount of generated random numbers.
Last updated