Skip to main content
Version: Mainnet

Verifiable Random Hash

Availability

The Random Hash endpoint is currently only available on testnet.

For testnet usage, see here, or call the testnet endpoint:

  • https://api-testnet.kurier.xyz/api/v1/random-hash/<API_KEY>

What it does (high-level)

On testnet, the endpoint returns a:

  • pseudo-random hash (hash)
  • Groth16 proof (proof) proving the hash was computed correctly from public inputs
  • job id (jobId) for tracking verification status

It derives randomness from a public on-chain entropy source (latest zkVerify block hash) and proves the computation.