This SDK is designed to make it easy for you to use the bloXroute Labs API in Rust.
Source:
or
The SDK provides access to Solana Trader API through:
gRPC: High-performance RPC calls
HTTP: Simple REST requests
WebSocket: Real-time streaming data
Refer to SETUP.md for available networks, regions IDE setup and notes on testing.
Create and populate your .env file with something like this:
.env
Please refer to the tests directory for more examples.
tests
Last updated 1 month ago
cargo add solana-trader-client-rust
[dependencies] solana-trader-client-rust = "0.1.0"
PUBLIC_KEY="...." PRIVATE_KEY="......." AUTH_HEADER="......" NETWORK=MAINNET REGION=NY