Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 0f7ea1e

Browse files
authored
chore(benchmarks) Improvements (#814)
1 parent 2883a09 commit 0f7ea1e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pages/price-feeds/getting-started.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Developers interested in using Pyth can refer to the following resources:
1212

1313
- [Create Your First Pyth App](./create-your-first-pyth-app/) is a tutorial that walks the reader through all of the steps required to develop, test and deploy a contract using Pyth price feeds. This guide is tailored toward new developers with less contract development experience.
1414
- [Use Real-Time Price Data](./use-real-time-data/) is a how-to guide that provides the minimal steps to integrate price feeds into your app. This guide is targeted towards more experienced developers who know the basics of smart contract development.
15+
- [Use Historic Price Data](./use-historic-price-data/) is a how-to guide that provides the minimal steps to integrate historic price data into your app.
1516
- [API Reference](./api-reference) is an interactive playground that provides a detailed overview of the Pyth smart contract's functionality. This guide is useful for developers who want to understand the full capabilities of the Pyth oracles.
1617

1718
In addition to the resources above, the following reference materials will be useful for developers as they integrate:

pages/price-feeds/use-historic-price-data.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Callout, Steps } from "nextra/components";
22

3-
# Use Historic Price Data (Benchmarks) on EVM Chains
3+
# Use Historic Price Data (Benchmarks)
44

55
This guide shows you how to integrate **Pyth Benchmarks to access historical price data** for your applications.
66
The Pyth Benchmarks API is available on all Pythnet chains.
@@ -26,9 +26,9 @@ Pyth Benchmarks can be used in two ways to fetch historical prices:
2626

2727
<Steps>
2828

29-
### 1. Fetching Historical Prices
29+
### 1. Fetching Historical Prices from Benchmarks API
3030

31-
Fetching historical prices from the Benchmarks API is the most straightforward way to get historical prices.
31+
Fetching historical prices from the [Benchmarks API](https://benchmarks.pyth.network/docs#/Updates/price_updates_timestamp_route_v1_updates_price__timestamp__get) is the most straightforward way to get historical prices.
3232
Moreover, [Hermes also extends the Benchmarks API to allow you to fetch historical prices](https://hermes.pyth.network/docs/#/rest/timestamp_price_updates).
3333

3434
Benchmarks APIs expose two endpoints to fetch historical prices:
@@ -43,7 +43,7 @@ For example, if the timestamp is 1716400000 and the **interval is 60,** this fun
4343

4444
</Callout>
4545

46-
### Verifying Historical Prices on-chain
46+
### 2. Verifying Historical Prices on EVM Chains
4747

4848
Verifying Historical Prices on-chain is very similar to verifying real-time prices on-chain.
4949
After fetching the price updates in the previous step, you need to pass the price update to the [`parsePriceFeedUpdates`](https://api-reference.pyth.network/price-feeds/evm/parsePriceFeedUpdates) function on the Pyth contract instead of the [`updatePriceFeeds`](https://api-reference.pyth.network/price-feeds/evm/updatePriceFeeds) function.
@@ -104,7 +104,7 @@ Refer to the [parsePriceFeedUpdates](https://api-reference.pyth.network/price-fe
104104

105105
### TradingView Integration
106106

107-
- [TradingView integration](../benchmarks/how-to-create-tradingview-charts) for visualization.
107+
- [TradingView integration](../create-tradingview-charts) for visualization.
108108

109109
### Rate Limits
110110

0 commit comments

Comments
 (0)