소스 검색

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: