We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9445f5 commit 1970a2aCopy full SHA for 1970a2a
target_chains/solana/sdk/js/pyth_solana_receiver/README.md
@@ -195,7 +195,7 @@ const transactionBuilder = pythSolanaReceiver.newTransactionBuilder({
195
await transactionBuilder.addPostTwapUpdates(binary_data_array);
196
197
// You can now use the TWAP prices in subsequent instructions
198
-await transactionBuilder.addPriceConsumerInstructions(
+await transactionBuilder.addTwapConsumerInstructions(
199
async (
200
getTwapUpdateAccount: (priceFeedId: string) => PublicKey
201
): Promise<InstructionWithEphemeralSigners[]> => {
0 commit comments