Skip to content

Commit b310232

Browse files
fix(lazer) fix docs (#564)
* fix(lazer) fix docs * use main lazer * update --------- Co-authored-by: Ali Behjati <bahjatia@gmail.com>
1 parent 982000c commit b310232

File tree

6 files changed

+3
-19
lines changed

6 files changed

+3
-19
lines changed

components/LazerPriceIdTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { StyledTd } from "./Table";
33
import { Spinner } from "./Spinner";
44
const fetchLazerPriceIdMetadata = async () => {
55
const response = await fetch(
6-
"https://pyth-lazer-staging.dourolabs.app/history/v1/symbols"
6+
"https://history.pyth-lazer.dourolabs.app/history/v1/symbols"
77
);
88
const data = await response.json();
99
return data;

pages/lazer/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"title": "Reference Material",
2525
"type": "separator"
2626
},
27-
"price-feeds-ids": "Price Feed IDs",
27+
"price-feed-ids": "Price Feed IDs",
2828

2929
"websocket-api-reference": {
3030
"title": "Websocket API Reference ↗",

pages/lazer/integrate-as-consumer/evm.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,3 @@ Pyth Lazer supports a wide range of price feeds. Consult the [Price Feed IDs](..
150150
[Pyth-lazer-example-evm](https://github.com/pyth-network/pyth-examples/tree/main/lazer/evm) is a simple example contract that parses and consumes price updates from Pyth Lazer.
151151

152152
[pyth-lazer-example-js](https://github.com/pyth-network/pyth-examples/tree/main/lazer/js) is a simple example for subscribing to the Pyth Lazer websocket.
153-
154-
### API Reference
155-
156-
TODO:
157-
158-
### Error Codes
159-
160-
TODO: Add error codes for EVM.

pages/lazer/integrate-as-consumer/svm.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,3 @@ Pyth Lazer supports a wide range of price feeds. Consult the [Price Feed IDs](..
186186
[pyth-lazer-example-solana](https://github.com/pyth-network/pyth-examples/tree/main/lazer/solana) is a simple example contract that parses and consumes price updates from Pyth Lazer.
187187

188188
[pyth-lazer-example-js](https://github.com/pyth-network/pyth-examples/tree/main/lazer/js) is a simple example for subscribing to the Pyth Lazer websocket.
189-
190-
### API Reference
191-
192-
TODO:
193-
194-
### Error Codes
195-
196-
TODO: Add error codes for Solana.
File renamed without changes.

pages/lazer/subscribe-price-updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ client.send({
3838
Here:
3939

4040
- `subscriptionId` is an arbitrary numeric identifier one can choose for a subscription. It will be returned back in response by the server. It doesn not affect the signed payload.
41-
- `priceFeedIds` is the list of price feeds one like to receive. Data for all price feeds will be present in the signed price updates generated. Refer to the [Price Feed IDs list](../price-feeds-ids.mdx) for the supported price feeds.
41+
- `priceFeedIds` is the list of price feeds one like to receive. Data for all price feeds will be present in the signed price updates generated. Refer to the [Price Feed IDs list](./price-feed-ids.mdx) for the supported price feeds.
4242
- `properties` is the list of properties one can request, such as **price**, **bestBidPrice**, **bestAskPrice**, etc.
4343
- `chains` is the list of chains for which one need a signed payload, such as **evm**, **solana**, etc.
4444
- `channel` allows to configure the update rate: updates in the **real_time** channel are sent as frequently as possible, while **fixed_rate@200ms** and **fixed_rate@50ms** channels are updated at fixed rates.

0 commit comments

Comments
 (0)