You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix prettier formatting issues in Lazer getting started guide
- Apply prettier formatting to resolve pre-commit CI failure
- Add blank lines and wrap long lines per prettier rules
Co-Authored-By: Jayant <[email protected]>
Replace `your_actual_token_here` with your actual Lazer access token. If you don't have one, follow the [access token guide](./acquire-access-token) to obtain it.
59
+
Replace `your_actual_token_here` with your actual Lazer access token. If you
60
+
don't have one, follow the [access token guide](./acquire-access-token) to
61
+
obtain it.
58
62
</Callout>
59
63
60
64
### Run the Basic WebSocket Example
@@ -66,6 +70,7 @@ pnpm run start
66
70
```
67
71
68
72
This will execute the main example script that:
73
+
69
74
- Connects to the Pyth Lazer WebSocket server
70
75
- Subscribes to price feeds (IDs 1 and 2)
71
76
- Listens for both JSON and binary messages
@@ -98,6 +103,7 @@ client.subscribe({
98
103
```
99
104
100
105
Key concepts:
106
+
101
107
-**PythLazerClient**: The main client for connecting to Lazer
102
108
-**Subscription**: Defines which price feeds and properties you want to receive
103
109
-**Message Listeners**: Handle incoming price updates and connection events
0 commit comments