bloxroute-sdk 1.0.3

Bloxroute SDK that allows developers to interact with the bloXroute Cloud API and Gateway.
Documentation

bloXroute Rust SDK

Crates.io Documentation

Prerequisites

Before using the bloXroute Rust SDK, make sure you have the following prerequisites:

  • bloXroute credentials: you need to sign up for an account and the "Authorization" header from the Account Portal.
  • Rust programming language: you should have Rust installed on your system. The bloXroute Rust SDK is compatible with Rust versions 1.80 and above.

Supported services

  • EVM
    • Streams
      • newTxs
      • pendingTxs
      • newBlocks
      • bdnBlocks
      • transactionStatus
      • txReceipts
  • Solana
    • Trader API v2
      • General
        • Get Account Balance
        • Get Rate Limit
        • Get Transaction Status
        • Get Recent Priority Fee
        • Stream Priority Fee
        • Stream Bundle Tip
        • Submit Signed Transaction
        • Submit Signed Transaction Batch
      • Openbook
        • Get Markets
        • Get Orderbooks
        • Get Depth
        • Get Tickers
        • Get Open Orders
        • Get Unsettled
        • Create Order Transaction
        • Create Replace Transaction
        • Create Cancel Order Transaction
        • Create Settle Transaction
        • Stream Orderbooks
        • Stream Tickers
      • Jupiter
        • Get Quotes
        • Create Swap Transaction
        • Create Swap with Instructions
        • Create Route Swap
      • Raydium
        • Get Quotes
        • Get Pools
        • Get Pool Reserves
        • Create Swap Transaction
        • Create Route Swap
        • Stream Pool Reserves
        • Stream Swaps
        • Stream New Raydium Pools
      • Zeta Markets
        • Stream Zeta Transactions
        • Create Zero Cross Margin Account

Implementation:

endpoint=wss://germany.eth.blxrbdn.com/ws auth_header=YOUR_AUTH_HEADER cargo run --example evm
endpoint=wss://uk.solana.dex.blxrbdn.com/ws auth_header=YOUR_AUTH_HEADER cargo run --example solana
endpoint=https://uk.solana.dex.blxrbdn.com auth_header=YOUR_AUTH_HEADER cargo run --example solana

Note