From 5912e03a0992eb287cd3512a085fcdc7d39163c6 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Mon, 9 Dec 2024 17:27:15 +0000 Subject: [PATCH] go --- pages/price-feeds/use-real-time-data/solana.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/price-feeds/use-real-time-data/solana.mdx b/pages/price-feeds/use-real-time-data/solana.mdx index c6e9cdc0..1f5ddd21 100644 --- a/pages/price-feeds/use-real-time-data/solana.mdx +++ b/pages/price-feeds/use-real-time-data/solana.mdx @@ -227,6 +227,17 @@ await pythSolanaReceiver.provider.sendAll( The [SDK documentation](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/solana/sdk/js/pyth_solana_receiver) contains more information about interacting with the Pyth solana receiver contract, including working examples. + + Posting and verifying price updates currently requires multiple transactions + on Solana. If your usecase requires a single transaction, you can reduce the + verification level of the posted price updates by replacing + `addPostPriceUpdates` by `addPostPartiallyVerifiedPriceUpdates` in the + transaction builder. Please read the + [VerificationLevel](https://github.com/pyth-network/pyth-crosschain/blob/main/target_chains/solana/pyth_solana_receiver_sdk/src/price_update.rs#L20) + docs to understand more about the data integrity tradeoffs when using + partially verified price updates. + + ## Additional Resources You may find these additional resources helpful for developing your Solana application.