You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: target_chains/solana/sdk/js/pyth_solana_receiver/src/PythSolanaReceiver.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -709,12 +709,12 @@ export class PythSolanaReceiver {
709
709
/**
710
710
* Fetch the contents of a price feed account
711
711
* @param shardId The shard ID of the set of price feed accounts. This shard ID allows for multiple price feed accounts for the same price feed id to exist.
712
-
* @param priceFeedId The price feed ID.
712
+
* @param priceFeedId The price feed ID, as either a 32-byte buffer or hexadecimal string with or without a leading "0x" prefix.
713
713
* @returns The contents of the deserialized price feed account or `null` if the account doesn't exist
@@ -724,7 +724,7 @@ export class PythSolanaReceiver {
724
724
/**
725
725
* Derive the address of a price feed account
726
726
* @param shardId The shard ID of the set of price feed accounts. This shard ID allows for multiple price feed accounts for the same price feed id to exist.
727
-
* @param priceFeedId The price feed ID.
727
+
* @param priceFeedId The price feed ID, as either a 32-byte buffer or hexadecimal string with or without a leading "0x" prefix.
728
728
* @returns The address of the price feed account
729
729
*/
730
730
getPriceFeedAccountAddress(
@@ -742,7 +742,7 @@ export class PythSolanaReceiver {
742
742
/**
743
743
* Derive the address of a price feed account
744
744
* @param shardId The shard ID of the set of price feed accounts. This shard ID allows for multiple price feed accounts for the same price feed id to exist.
745
-
* @param priceFeedId The price feed ID.
745
+
* @param priceFeedId The price feed ID, as either a 32-byte buffer or hexadecimal string with or without a leading "0x" prefix.
746
746
* @param pushOracleProgramId The program ID of the Pyth Push Oracle program. If not provided, the default deployment will be used.
0 commit comments