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 5ec5506 commit 57858b8Copy full SHA for 57858b8
pages/price-feeds/use-real-time-data/starknet.mdx
@@ -160,7 +160,7 @@ const priceId =
160
const currentPrices = await connection.getLatestPriceFeeds([priceId]);
161
162
// Convert the price update to Starknet format.
163
-const pythUpdate = ByteBuffer.fromHex(currentPrices[0].vaa);
+const pythUpdate = ByteBuffer.fromBase64(currentPrices[0].vaa);
164
```
165
166
<Callout type="info" emoji="ℹ️">
0 commit comments