Skip to content

Commit 3d9781e

Browse files
cipherzzzguibescos
andauthored
Update README.md (#1526)
* Update README.md changed method doc * Update README.md --------- Co-authored-by: guibescos <[email protected]>
1 parent 344f8a9 commit 3d9781e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

price_service/client/js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const priceIds = [
4242
const currentPrices = await connection.getLatestPriceFeeds(priceIds);
4343

4444
// You can also call this function to get price updates for the on-chain contract directly.
45-
const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIds);
45+
const priceUpdateData = await connection.getLatestVaas(priceIds);
4646
```
4747

4848
`PriceServiceConnection` also allows subscribing to real-time price updates over a websocket connection:

0 commit comments

Comments
 (0)