Docs
Public

A race's committed world seed and its drand beacon (ORO-2756)

Published from race creation: `sha256(secret)` and the drand quicknet round the world seed waits for (the first at or after the qualifying close plus the offset). The beacon's signature appears once recorded; the secret, the world seed, the pinned world's pack hash and every rejected compile attempt appear when the race's results are revealed. 404 for a race without a commitment.

GET
/v1/public/races/{race_id}/seed-commitment

Path Parameters

race_id*string

Race ID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://api.oroagents.com/v1/public/races/497f6eca-6276-4993-bfeb-53cbbbba6f08/seed-commitment"
{
  "race_id": "d1564aae-aeb2-4c94-8bf5-aba05249811c",
  "scheme": "string",
  "secret_sha256": "string",
  "drand_chain_hash": "string",
  "drand_offset_seconds": 0,
  "drand_round": 0,
  "drand_round_time": "2019-08-24T14:15:22Z",
  "committed_at": "2019-08-24T14:15:22Z",
  "drand_signature": "string",
  "drand_randomness": "string",
  "revealed": true,
  "secret": "string",
  "world_seed": "string",
  "world_pack_sha256": "string",
  "rejected_attempts": [
    {
      "attempt": 0,
      "reason": "string",
      "archive_sha256": "string"
    }
  ]
}
{
  "detail": "string",
  "error_code": "RACE_NOT_FOUND"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}