Multiple Price Feeds for Pyth on Solana

Hi there,

I have a program where I need to read prices of 15-20 assets at a time.

I assume based on the Pull Method. I would need to submit price updates for all of them before I can read those prices right?

This is on Solana by the way. So I cannot update all prices in on 1 transaction.

Thank you.

1 Like

Hey there, thank you for the question

It’s tricky, since the maximum prices you can update per tx are two so if you wanted to do it full pull model it’d be a lot of txs (though some can parallelized probably).

maybe you can use https://docs.pyth.network/price-feeds/sponsored-feeds/solana which are continously updated every 60 seconds.

1 Like