Cryptosat
WebsiteBlogSatellite Tracking
  • Cryptosat
    • 🛰️Satellite tracking
    • 📄SpaceTEE paper
    • Contribution to the Ethereum KZG Ceremony
      • Cryptosat KZG Operation Tracker
      • Crypto2 contribution output
      • Contribution verification
  • Cryptosim
    • Cryptosim
    • Asynchronous API
    • Use-case examples
    • Open-source contribution
  • 🗳️Private Voting
    • Private Voting on Snapshot X
    • Private Voting Contract
    • Browser Side Encryption
  • 🎲random-beacon
    • Verifiable Random Beacon
    • Using the random beacon on-chain
  • API documentation
    • Message Signing
    • Authentication
    • Randomness API
      • Tutorial
      • API reference
    • Queue API
      • API reference
        • Queue
          • Request
          • Requests
    • Public randomness SAPI
      • About
      • API reference
        • Public randomness
          • Result
    • FROST API
      • About
      • API reference
        • Frost
          • Partial sign
          • Private key
      • Specification
    • Satellite Public Keys
  • ⏳Time-based Primitives
    • ⌚Time-based primitives and delay-encryption
    • ⚛️Using Delay Encryption for Atomic Swaps
  • Flastsat Environment
    • Overview
    • Access and Control
    • Crypto Engine Specs
    • Power API
Powered by GitBook
On this page
  • Authentication
  • Public randomness
  • Get public randomness
  1. API documentation
  2. Randomness API

API reference

Describes the API endpoints

PreviousTutorialNextQueue API

Last updated 2 years ago

Authentication

This API relies on provisioned API keys for authentication and access. In order to obtain a key, please contact us.

Public randomness

Invoke the following API to receive public randomness

Get public randomness

GET https://api.cryptosat.io/api/randomness?num=

Query Parameters

Name
Type
Description

num

String

amount of random numbers to generate

Headers

Name
Type
Description

x-api-key*

String

Required API Key

{
  "request": {
    "request_uuid": "string",
    "request_name": "string",
    "request_verb": "string",
    "response_eta": "string",
    "created_at": "string",
    "satellite_id": "string",
    "request_status": {
      "status_code": "string",
      "request_status": "string"
    }
  }
}

Read more