You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/developer-hub/content/docs/api-reference/entropy/fortuna/index.mdx
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,23 @@ title: Overview
4
4
5
5
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
6
6
7
-
<Cards>
8
-
<Card
7
+
<APICards>
8
+
<APICard
9
9
href="/api-reference/entropy/fortuna/chain_ids"
10
-
title="Get the list of supported chain ids"
10
+
title="/v1/chains"
11
+
method="GET"
11
12
description="Get the list of supported chain ids"
12
13
/>
13
-
<Card
14
+
<APICard
14
15
href="/api-reference/entropy/fortuna/revelation"
15
-
title="Reveal the random value for a given sequence number and blockchain."
16
-
description="Reveal the random value for a given sequence number and blockchain.\n\nGiven a sequence number, retrieve the corresponding random value that this provider has committed to.\nThis endpoint will not return the random value unless someone has requested the sequence number on-chain.\n\nEvery blockchain supported by this service has a distinct sequence of random numbers and chain_id.\nCallers must pass the appropriate chain_id to ensure they fetch the correct random number."
description="Reveal the random value for a given sequence number and blockchain."
17
19
/>
18
-
<Card
20
+
<APICard
19
21
href="/api-reference/entropy/fortuna/explorer"
20
-
title="Returns the logs of all requests captured by the keeper."
21
-
description="Returns the logs of all requests captured by the keeper.\n\nThis endpoint allows you to filter the logs by a specific network ID, a query string (which can be a transaction hash, sender address, or sequence number), and a time range.\nThis is useful for debugging and monitoring the requests made to the Entropy contracts on various chains."
22
+
title="/v1/logs"
23
+
method="GET"
24
+
description="Returns the logs of all requests captured by the keeper."
title="**Deprecated: use /v2/updates/price/{publish_time} instead**"
11
-
description="**Deprecated: use /v2/updates/price/{publish_time} instead**\n\nGet a price update for a price feed with a specific timestamp\n\nGiven a price feed id and timestamp, retrieve the Pyth price update closest to that timestamp."
10
+
title="/api/get_price_feed"
11
+
method="GET"
12
+
description="Get a price update for a price feed with a specific timestamp Given a price feed id and timestamp, retrieve the Pyth price update closest to that timestamp."
12
13
/>
13
-
<Card
14
+
<APICard
14
15
href="/api-reference/pyth-core/hermes/get_vaa"
15
-
title="**Deprecated: use /v2/updates/price/{publish_time} instead**"
16
-
description="**Deprecated: use /v2/updates/price/{publish_time} instead**\n\nGet a VAA for a price feed with a specific timestamp\n\nGiven a price feed id and timestamp, retrieve the Pyth price update closest to that timestamp."
16
+
title="/api/get_vaa"
17
+
method="GET"
18
+
description="Get a VAA for a price feed with a specific timestamp Given a price feed id and timestamp, retrieve the Pyth price update closest to that timestamp."
title="**Deprecated: use /v2/updates/price/{publish_time} instead**"
21
-
description="**Deprecated: use /v2/updates/price/{publish_time} instead**\n\nGet a VAA for a price feed using CCIP\n\nThis endpoint accepts a single argument which is a hex-encoded byte string of the following form:\n`<price feed id (32 bytes> <publish time as unix timestamp (8 bytes, big endian)>`"
22
+
title="/api/get_vaa_ccip"
23
+
method="GET"
24
+
description="Get a VAA for a price feed using CCIP This endpoint accepts a single argument which is a hex-encoded byte string of the following form: `<price feed id (32 bytes> <publish time as unix timestamp (8 bytes, big endian)>`"
title="**Deprecated: use /v2/updates/price/latest instead**"
26
-
description="**Deprecated: use /v2/updates/price/latest instead**\n\nGet the latest price updates by price feed id.\n\nGiven a collection of price feed ids, retrieve the latest Pyth price for each price feed."
28
+
title="/api/latest_price_feeds"
29
+
method="GET"
30
+
description="Get the latest price updates by price feed id."
title="**Deprecated: use /v2/updates/price/latest instead**"
31
-
description="**Deprecated: use /v2/updates/price/latest instead**\n\nGet VAAs for a set of price feed ids.\n\nGiven a collection of price feed ids, retrieve the latest VAA for each. The returned VAA(s) can\nbe submitted to the Pyth contract to update the on-chain price. If VAAs are not found for every\nprovided price ID the call will fail."
34
+
title="/api/latest_vaas"
35
+
method="GET"
36
+
description="Get VAAs for a set of price feed ids."
title="**Deprecated: use /v2/price_feeds instead**"
36
-
description="**Deprecated: use /v2/price_feeds instead**\n\nGet the set of price feed IDs.\n\nThis endpoint fetches all of the price feed IDs for which price updates can be retrieved."
description="Get the set of price feeds.\n\nThis endpoint fetches all price feeds from the Pyth network. It can be filtered by asset type\nand query string."
title="Get the latest price updates by price feed id."
46
-
description="Get the latest price updates by price feed id.\n\nGiven a collection of price feed ids, retrieve the latest Pyth price for each price feed."
52
+
title="/v2/updates/price/latest"
53
+
method="GET"
54
+
description="Get the latest price updates by price feed id."
title="SSE route handler for streaming price updates."
51
-
description="SSE route handler for streaming price updates.\n\nThe connection will automatically close after 24 hours to prevent resource leaks.\nClients should implement reconnection logic to maintain continuous price updates."
58
+
title="/v2/updates/price/stream"
59
+
method="GET"
60
+
description="SSE route handler for streaming price updates."
title="Get the latest price updates by price feed id."
56
-
description="Get the latest price updates by price feed id.\n\nGiven a collection of price feed ids, retrieve the latest Pyth price for each price feed."
64
+
title="/v2/updates/price/{publish_time}"
65
+
method="GET"
66
+
description="Get the latest price updates by price feed id."
title="Get the latest TWAP by price feed id with a custom time window."
66
-
description="Get the latest TWAP by price feed id with a custom time window.\n\nGiven a collection of price feed ids, retrieve the latest Pyth TWAP price for each price feed."
76
+
title="/v2/updates/twap/{window_seconds}/latest"
77
+
method="GET"
78
+
description="Get the latest TWAP by price feed id with a custom time window."
0 commit comments