Skip to content

Commit 214d951

Browse files
authored
go (#531)
1 parent ff15c0c commit 214d951

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pages/price-feeds/use-real-time-data/solana.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,17 @@ await pythSolanaReceiver.provider.sendAll(
227227

228228
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.
229229

230+
<Callout type="info" emoji="ℹ️">
231+
Posting and verifying price updates currently requires multiple transactions
232+
on Solana. If your usecase requires a single transaction, you can reduce the
233+
verification level of the posted price updates by replacing
234+
`addPostPriceUpdates` by `addPostPartiallyVerifiedPriceUpdates` in the
235+
transaction builder. Please read the
236+
[VerificationLevel](https://github.com/pyth-network/pyth-crosschain/blob/main/target_chains/solana/pyth_solana_receiver_sdk/src/price_update.rs#L20)
237+
docs to understand more about the data integrity tradeoffs when using
238+
partially verified price updates.
239+
</Callout>
240+
230241
## Additional Resources
231242

232243
You may find these additional resources helpful for developing your Solana application.

0 commit comments

Comments
 (0)