jito-grpc-client 1.0.1

Client to send transactions to a Jito blockengine node via gRPC connections
Documentation

Jito gRPC Client

A Rust client for connecting to Jito's block engine nodes via gRPC with automatic region selection and retry capabilities.

Check out the full documentation

Features

  • Bundle Transactions: Send jito bundles via gRPC, no auth key needed
  • Dynamic Region Selection: Option to automatically connect to the fastest available region based on latency measurements
  • Retry Logic: Automatic retry with configurable jitter

Basic Usage Example

#[tokio::main]
async fn main() -> JitoClientResult<()> {
    // Connect to fastest region automatically
    let mut client = JitoClient::new_dynamic_region(None).await?;
    
    let transactions: Vec<VersionedTransaction> = vec![
        // Your transactions
    ];
    
    // Send bundle
    let uuid = client.send(&transactions).await?;
    println!("Bundle submitted with UUID: {}", uuid);
    
    Ok(())
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.