Преглед на файлове

Update README.md (#1526)

* Update README.md

changed method doc

* Update README.md

---------

Co-authored-by: guibescos <59208140+guibescos@users.noreply.github.com>
cipherZ преди 1 година
родител
ревизия
3d9781ed58
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      price_service/client/js/README.md

+ 1 - 1
price_service/client/js/README.md

@@ -42,7 +42,7 @@ const priceIds = [
 const currentPrices = await connection.getLatestPriceFeeds(priceIds);
 
 // You can also call this function to get price updates for the on-chain contract directly.
-const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIds);
+const priceUpdateData = await connection.getLatestVaas(priceIds);
 ```
 
 `PriceServiceConnection` also allows subscribing to real-time price updates over a websocket connection: