diff --git a/pages/lazer/integrate-as-consumer/evm.mdx b/pages/lazer/integrate-as-consumer/evm.mdx index c05a5395..e0a6e882 100644 --- a/pages/lazer/integrate-as-consumer/evm.mdx +++ b/pages/lazer/integrate-as-consumer/evm.mdx @@ -129,7 +129,7 @@ for (uint8 i = 0; i < feedsLen; i++) { Pyth Lazer provides a websocket endpoint to receive price updates. Moreover, Pyth Lazer also provides a [Typescript SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js) to subscribe to the websocket endpoint. -Consult [How to fetch price updates from Pyth Lazer](../fetch-price-updates.mdx) for a complete step-by-step guide. +Consult [How to subscribe to price updates from Pyth Lazer](../subscribe-price-updates.mdx) for a complete step-by-step guide. ### Include the price updates into smart contract transactions diff --git a/pages/lazer/integrate-as-consumer/svm.mdx b/pages/lazer/integrate-as-consumer/svm.mdx index 302836fc..81775bca 100644 --- a/pages/lazer/integrate-as-consumer/svm.mdx +++ b/pages/lazer/integrate-as-consumer/svm.mdx @@ -208,7 +208,7 @@ state.latest_timestamp = data.timestamp_us.0; Pyth Lazer provides a websocket endpoint to receive price updates. Moreover, Pyth Lazer also provides a [typescript SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js) to subscribe to the websocket endpoint. -Consult [How to fetch price updates from Pyth Lazer](../fetch-price-updates.mdx) for a complete step-by-step guide. +Consult [How to subscribe to price updates from Pyth Lazer](../subscribe-price-updates.mdx) for a complete step-by-step guide. ### Include the price updates into smart contract transactions