# Using Supported price feed on Devnet

**URL:** <https://dev-forum.pyth.network/t/using-supported-price-feed-on-devnet/331>\
**Category:** Price Feeds\
**Tags:** svm\
**Created:** [August 1, 2025, 4:40pm UTC](https://dev-forum.pyth.network/t/using-supported-price-feed-on-devnet/331 "2025-08-01T16:40:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baseddev](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@Baseddev](https://dev-forum.pyth.network/u/Baseddev)\
**Post date:** [August 1, 2025, 4:40pm UTC](https://dev-forum.pyth.network/t/using-supported-price-feed-on-devnet/331/1 "2025-08-01T16:40:44Z")

</div>

Hello!

I’m working on a Solana program that fetches token prices on-chain using the `pyth_sdk_solana` crate. These tokens (like BTC/USD and ETH/USD) are already supported by Pyth, so I’m not pushing any price updates from the client — just reading the latest prices directly from the price feed accounts.

The issue arises during testing: when I pass a known valid Pyth price feed account (from devnet) into the program, my call to `SolanaPriceAccount::account_info_to_feed` or `load_price_feed_from_account_info` fails and returns an error.

I’ve confirmed the following:

- I’m using verified price feed public keys from [pyth.network](https://pyth.network/developers/price-feed-ids#devnet)

- The account is correctly passed in via the test client

- The account has data (checked with `solana account <address> --output json --url devnet`)Yet the SDK returns an error like `InvalidAccountOwner` or similar when parsing the account.

Has anyone encountered this behavior or have tips on how to debug it more effectively?

Any insight or working examples of on-chain-only price feed reading (without pushing updates) would be greatly appreciated!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![tejas\_pyth](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@tejas\_pyth](https://dev-forum.pyth.network/u/tejas_pyth)\
**Post date:** [August 6, 2025, 8:32pm UTC](https://dev-forum.pyth.network/t/using-supported-price-feed-on-devnet/331/2 "2025-08-06T20:32:25Z")

</div>

Hi @Baseddev thanks for your question, it seems that the account data is present on-chain but you’re not able to parse it via the `pyth_sdk_solana` crate. I’m reaching out to developers to get you help resolving with this. Thanks for your patience!

---

<div class="post-metadata">

**Author:** ![ali](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@ali](https://dev-forum.pyth.network/u/ali)\
**Post date:** [August 7, 2025, 11:36am UTC](https://dev-forum.pyth.network/t/using-supported-price-feed-on-devnet/331/3 "2025-08-07T11:36:24Z")

</div>

Hi @Baseddev

Sorry for the confusion, the SDK you are using is actually the wrong SDK and has the implementation details of account on Pythnet. We’ll update it shortly to add a notice there.

When you want to consume a price on Solana (that is either pushed by yourself, or sponsored). you should use `pyth-solana-receiver-sdk` . Please follow the guide [here](https://docs.pyth.network/price-feeds/use-real-time-data/solana) for more information.
