pub fn load_price_feed_from_account(
price_key: &Pubkey,
price_account: &mut impl Account
) -> Result<PriceFeed, PythError>
Expand description

Loads Pyth Price Feed from Account when using Solana Client.

It is a helper function which constructs Account Info when reading Account in clients.