diff --git a/pages/price-feeds/derive-cross-rate.mdx b/pages/price-feeds/derive-cross-rate.mdx index 0a6feaff..e352b596 100644 --- a/pages/price-feeds/derive-cross-rate.mdx +++ b/pages/price-feeds/derive-cross-rate.mdx @@ -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. diff --git a/pages/price-feeds/getting-started.mdx b/pages/price-feeds/getting-started.mdx index f174d670..80e7fc2a 100644 --- a/pages/price-feeds/getting-started.mdx +++ b/pages/price-feeds/getting-started.mdx @@ -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. diff --git a/pages/price-feeds/price-feeds.mdx b/pages/price-feeds/price-feeds.mdx index 9041d27d..d27d86f4 100644 --- a/pages/price-feeds/price-feeds.mdx +++ b/pages/price-feeds/price-feeds.mdx @@ -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 diff --git a/pages/price-feeds/use-real-time-data/near.mdx b/pages/price-feeds/use-real-time-data/near.mdx index 675f043d..a8e4f5f6 100644 --- a/pages/price-feeds/use-real-time-data/near.mdx +++ b/pages/price-feeds/use-real-time-data/near.mdx @@ -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. @@ -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 @@ -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 diff --git a/pages/price-feeds/use-real-time-data/sui.mdx b/pages/price-feeds/use-real-time-data/sui.mdx index e74cac9f..d0ece5f6 100644 --- a/pages/price-feeds/use-real-time-data/sui.mdx +++ b/pages/price-feeds/use-real-time-data/sui.mdx @@ -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);