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 da84b9f commit c73b6d4Copy full SHA for c73b6d4
pages/price-feeds/use-real-time-data/evm.mdx
@@ -76,7 +76,7 @@ contract SomeContract {
76
// Each price feed (e.g., ETH/USD) is identified by a price feed ID.
77
// The complete list of feed IDs is available at https://pyth.network/developers/price-feed-ids
78
bytes32 priceFeedId = 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace; // ETH/USD
79
- PythStructs.Price price = pyth.getPrice(priceFeedId);
+ PythStructs.Price memory price = pyth.getPrice(priceFeedId);
80
}
81
82
0 commit comments