Explorar o código

Update README.md (#1526)

* Update README.md

changed method doc

* Update README.md

---------

Co-authored-by: guibescos <59208140+guibescos@users.noreply.github.com>
cipherZ hai 1 ano
pai
achega
3d9781ed58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: