Since Solana does not support traditional event emission like Ethereum, is there any other method to monitor the activities of individual publishers—specifically the price data they submit (e.g., to a Pyth oracle)?
I understand that real-time monitoring at sub-second resolution (e.g., every 400ms) may not be feasible as they are all happening off-chain, but I would like to know:
- whether it is possible to retrieve or observe which individual publisher nodes contributed price updates (including their submitted prices) to a specific on-chain aggregate price at a specific user retrieval? if so, can such data—i.e., the array of prices and corresponding address of publisher’s address be accessed explorer like Solscan or Pythnet API? If so how can I view the data?
Ultimately, I’m seeking a method to trace back the aggregate price to the contributing publishers.
gm,
Aggregation for the Pyth oracle happens on Pythnet, a permissioned SVM runtime.
To understand the individual contributions of publishers by monitoring Pythnet via RPC. Here are some available RPCs https://docs.pyth.network/price-feeds/api-instances-and-providers/pythnet-rpc. Since Pythnet is an Solana Virtual Machine, you can use the usual Solana libraries to do this.
I will also point you to the Insights Hub website, which exposes the individual contributions of publishers too for example here.
Thanks for your question and have a great week!
1 Like
When you say the individual contribution of publishers, can I see what data the publisher submitted? So for example, here
you can see Jupiter perp program is trying to fetch the price of solana from solana sponcered price feed, but am I able to see which publisher submitted what? (e.g publisher A submitted this set of data…) if so could you tell how I can trace the info please
You can but this would be only seen on Pythnet ; once the aggregated price has been created (from up to 32 publishers input), as the end user you will not be able to see each individual publisher input - only the verified aggregated output.
Here’s a tx of a publisher (sending price inputs) on Pythnet
Visually you can indeed check the website Price Components parts like here