|
| 1 | +--- |
| 2 | +title: fortuna |
| 3 | +full: true |
| 4 | +_openapi: |
| 5 | + toc: |
| 6 | + - depth: 2 |
| 7 | + title: Get the list of supported chain ids |
| 8 | + url: '#get-the-list-of-supported-chain-ids' |
| 9 | + - depth: 2 |
| 10 | + title: Reveal the random value for a given sequence number and blockchain. |
| 11 | + url: '#reveal-the-random-value-for-a-given-sequence-number-and-blockchain' |
| 12 | + - depth: 2 |
| 13 | + title: Returns the logs of all requests captured by the keeper. |
| 14 | + url: '#returns-the-logs-of-all-requests-captured-by-the-keeper' |
| 15 | + structuredData: |
| 16 | + headings: |
| 17 | + - content: Get the list of supported chain ids |
| 18 | + id: get-the-list-of-supported-chain-ids |
| 19 | + - content: Reveal the random value for a given sequence number and blockchain. |
| 20 | + id: reveal-the-random-value-for-a-given-sequence-number-and-blockchain |
| 21 | + - content: Returns the logs of all requests captured by the keeper. |
| 22 | + id: returns-the-logs-of-all-requests-captured-by-the-keeper |
| 23 | + contents: |
| 24 | + - content: Get the list of supported chain ids |
| 25 | + heading: get-the-list-of-supported-chain-ids |
| 26 | + - content: >- |
| 27 | + Reveal the random value for a given sequence number and blockchain. |
| 28 | +
|
| 29 | +
|
| 30 | + Given a sequence number, retrieve the corresponding random value that |
| 31 | + this provider has committed to. |
| 32 | +
|
| 33 | + This endpoint will not return the random value unless someone has |
| 34 | + requested the sequence number on-chain. |
| 35 | +
|
| 36 | +
|
| 37 | + Every blockchain supported by this service has a distinct sequence of |
| 38 | + random numbers and chain_id. |
| 39 | +
|
| 40 | + Callers must pass the appropriate chain_id to ensure they fetch the |
| 41 | + correct random number. |
| 42 | + heading: reveal-the-random-value-for-a-given-sequence-number-and-blockchain |
| 43 | + - content: >- |
| 44 | + Returns the logs of all requests captured by the keeper. |
| 45 | +
|
| 46 | +
|
| 47 | + This endpoint allows you to filter the logs by a specific network ID, |
| 48 | + a query string (which can be a transaction hash, sender address, or |
| 49 | + sequence number), and a time range. |
| 50 | +
|
| 51 | + This is useful for debugging and monitoring the requests made to the |
| 52 | + Entropy contracts on various chains. |
| 53 | + heading: returns-the-logs-of-all-requests-captured-by-the-keeper |
| 54 | +--- |
| 55 | + |
| 56 | +{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} |
| 57 | + |
| 58 | +<APIPage document={"https://fortuna.dourolabs.app/docs/openapi.json"} operations={[{"path":"/v1/chains","method":"get"},{"path":"/v1/chains/{chain_id}/revelations/{sequence}","method":"get"},{"path":"/v1/logs","method":"get"}]} webhooks={[]} hasHead={true} /> |
0 commit comments