Skip to content

fix(lazer) fix docs #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/LazerPriceIdTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { StyledTd } from "./Table";
import { Spinner } from "./Spinner";
const fetchLazerPriceIdMetadata = async () => {
const response = await fetch(
"https://pyth-lazer-staging.dourolabs.app/history/v1/symbols"
"https://history.pyth-lazer.dourolabs.app/history/v1/symbols"
);
const data = await response.json();
return data;
Expand Down
2 changes: 1 addition & 1 deletion pages/lazer/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"title": "Reference Material",
"type": "separator"
},
"price-feeds-ids": "Price Feed IDs",
"price-feed-ids": "Price Feed IDs",

"websocket-api-reference": {
"title": "Websocket API Reference ↗",
Expand Down
8 changes: 0 additions & 8 deletions pages/lazer/integrate-as-consumer/evm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,3 @@ Pyth Lazer supports a wide range of price feeds. Consult the [Price Feed IDs](..
[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.

[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.

### API Reference

TODO:

### Error Codes

TODO: Add error codes for EVM.
8 changes: 0 additions & 8 deletions pages/lazer/integrate-as-consumer/svm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,3 @@ Pyth Lazer supports a wide range of price feeds. Consult the [Price Feed IDs](..
[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.

[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.

### API Reference

TODO:

### Error Codes

TODO: Add error codes for Solana.
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/lazer/subscribe-price-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ client.send({
Here:

- `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.
- `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.
- `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.
- `properties` is the list of properties one can request, such as **price**, **bestBidPrice**, **bestAskPrice**, etc.
- `chains` is the list of chains for which one need a signed payload, such as **evm**, **solana**, etc.
- `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.
Expand Down
Loading