Skip to content

fix(price-feed-id) Redirected to the legacy website #771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/price-feeds/derive-cross-rate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ The [How to use real-time data in EVM contracts](./use-real-time-data/evm) guide

### Price Feed IDs

The [Price Feed IDs](https://www.pyth.network/developers/price-feed-ids) page lists the price feed IDs for each asset supported by Pyth.
The [Price Feed IDs](https://legacy.pyth.network/developers/price-feed-ids#stable) page lists the price feed IDs for each asset supported by Pyth.
2 changes: 1 addition & 1 deletion pages/price-feeds/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Developers interested in using Pyth can refer to the following resources:

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

- [Price Feed IDs](https://www.pyth.network/developers/price-feed-ids) lists the price feed IDs for all the assets supported by Pyth.
- [Price Feed IDs](https://legacy.pyth.network/developers/price-feed-ids#stable) lists the price feed IDs for all the assets supported by Pyth.
- [Contract Addresses](./contract-addresses/) provides the contract addresses for Pyth on different chains.
- [Error Codes](./error-codes.mdx) lists the error codes that can be returned by the Pyth contracts.
- [Best Practices](./best-practices.mdx) explains how to use Pyth price feeds safely and effectively in your application.
Expand Down
2 changes: 1 addition & 1 deletion pages/price-feeds/price-feeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Applications need to store the IDs of the feeds they wish to read.
However, the IDs may be represented in different formats (e.g. hex or base58) depending on the blockchain.
Price feeds also have different IDs in the Stable and Beta channels.

Refer to the [Price Feed ID reference catalog](https://www.pyth.network/developers/price-feed-ids) to identify a feed's ID in your chosen ecosystem.
Refer to the [Price Feed ID reference catalog](https://legacy.pyth.network/developers/price-feed-ids#stable) to identify a feed's ID in your chosen ecosystem.

### Solana Price Feed Accounts

Expand Down
12 changes: 6 additions & 6 deletions pages/price-feeds/use-real-time-data/near.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ To get started with Pyth oracle you will need to gather the following informatio
- HermesAPI Endpoint
- Smart contract address

| Network | Price Feed IDs | Hermes API Address | Contract Address |
| --------- | ------------------------------------------------------------------------------------------------ | -------------------------- | -------------------------------------------------------------------------------- |
| `testnet` | [NEAR `testnet` Price Feed IDs](https://www.pyth.network/developers/price-feed-ids#near-testnet) | `hermes-beta.pyth.network` | [pyth-oracle.testnet](https://testnet.nearblocks.io/address/pyth-oracle.testnet) |
| `mainnet` | [NEAR `mainnet` Price Feed IDs](https://www.pyth.network/developers/price-feed-ids#near-mainnet) | `hermes.pyth.network` | [pyth-oracle.near](https://nearblocks.io/address/pyth-oracle.near) |
| Network | Price Feed IDs | Hermes API Address | Contract Address |
| --------- | ---------------------------------------------------------------------------------------------------------- | -------------------------- | -------------------------------------------------------------------------------- |
| `testnet` | [NEAR `testnet` Price Feed IDs](https://legacy.pyth.network/developers/price-feed-ids#stable#near-testnet) | `hermes-beta.pyth.network` | [pyth-oracle.testnet](https://testnet.nearblocks.io/address/pyth-oracle.testnet) |
| `mainnet` | [NEAR `mainnet` Price Feed IDs](https://legacy.pyth.network/developers/price-feed-ids#stable#near-mainnet) | `hermes.pyth.network` | [pyth-oracle.near](https://nearblocks.io/address/pyth-oracle.near) |

Note: When using Price Feed IDs, you will need to remove the `0x` prefix.

Expand Down Expand Up @@ -212,7 +212,7 @@ const receiver = "pyth-oracle.testnet";
const network = "testnet";

const PRICE_IDS = [
// Price ids can be found at https://www.pyth.network/developers/price-feed-ids#near-testnet
// Price ids can be found at https://legacy.pyth.network/developers/price-feed-ids#stable#near-testnet
// NOTE: Ensure you are using NEAR specific price ids & remove the '0x' prefix before using them
"f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b", // BTC/USD price id
"ca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6", // ETH/USD price id
Expand Down Expand Up @@ -292,7 +292,7 @@ Create a `get-price.js` file that will perform the view call from the Pyth Oracl
const { getTestnetRpcProvider, view } = require("@near-js/client");

const PRICE_IDS = [
// Price ids can be found at https://www.pyth.network/developers/price-feed-ids#near-testnet
// Price ids can be found at https://legacy.pyth.network/developers/price-feed-ids#stable#near-testnet
// NOTE: Ensure you are using NEAR specific price ids & remove the '0x' prefix before using them
"f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b", // BTC/USD price id
"ca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6", // ETH/USD price id
Expand Down
2 changes: 1 addition & 1 deletion pages/price-feeds/use-real-time-data/sui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const connection = new SuiPriceServiceConnection(
const priceIDs = [
// You can find the IDs of prices at:
// - https://pyth.network/developers/price-feed-ids for Mainnet
// - https://www.pyth.network/developers/price-feed-ids#beta for Testnet
// - https://legacy.pyth.network/developers/price-feed-ids#stable#beta for Testnet
"0x50c67b3fd225db8912a424dd4baed60ffdde625ed2feaaf283724f9608fea266", // SUI/USD price ID
];
const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIDs);
Expand Down
Loading