revelation.mdx 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. title: Reveal the random value for a given sequence number and blockchain.
  3. full: true
  4. _openapi:
  5. method: GET
  6. route: /v1/chains/{chain_id}/revelations/{sequence}
  7. toc: []
  8. structuredData:
  9. headings: []
  10. contents:
  11. - content: >-
  12. Reveal the random value for a given sequence number and blockchain.
  13. Given a sequence number, retrieve the corresponding random value that
  14. this provider has committed to.
  15. This endpoint will not return the random value unless someone has
  16. requested the sequence number on-chain.
  17. Every blockchain supported by this service has a distinct sequence of
  18. random numbers and chain_id.
  19. Callers must pass the appropriate chain_id to ensure they fetch the
  20. correct random number.
  21. ---
  22. {/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
  23. Reveal the random value for a given sequence number and blockchain.
  24. Given a sequence number, retrieve the corresponding random value that this provider has committed to.
  25. This endpoint will not return the random value unless someone has requested the sequence number on-chain.
  26. Every blockchain supported by this service has a distinct sequence of random numbers and chain_id.
  27. Callers must pass the appropriate chain_id to ensure they fetch the correct random number.
  28. <APIPage document={"https://fortuna.dourolabs.app/docs/openapi.json"} operations={[{"path":"/v1/chains/{chain_id}/revelations/{sequence}","method":"get"}]} webhooks={[]} hasHead={false} />