Skip to content

Commit

Permalink
Merge branch 'devin/1738263054-add-lazer-rust-consumer-sdk' of github…
Browse files Browse the repository at this point in the history
….com:pyth-network/pyth-crosschain into devin/1738263054-add-lazer-rust-consumer-sdk
  • Loading branch information
tejasbadadare committed Jan 30, 2025
2 parents c15f283 + 2cd41a3 commit 4160bc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lazer/sdk/rust/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ pub enum BinaryResponse {
///
/// #[tokio::main]
/// async fn main() -> anyhow::Result<()> {
/// let (mut client, mut stream) = LazerConsumerClient::start("wss://endpoint").await?;
/// let mut client = LazerClient::new("wss://endpoint", "YOUR_ACCESS_TOKEN".to_string())?;
/// let mut stream = client.start().await?;
///
/// // Subscribe to price feeds
/// client.subscribe(Request::Subscribe(SubscribeRequest {
Expand Down

0 comments on commit 4160bc8

Please sign in to comment.