jito-bundle 0.1.5

Rust client for Jito bundle
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::Deserialize;

/// One bundle status entry returned by `getBundleStatuses`.
#[derive(Debug, Deserialize)]
pub struct BundleStatusValue {
    /// Confirmation status string from block engine.
    pub confirmation_status: Option<String>,
    /// Slot where bundle landed, when available.
    pub slot: Option<u64>,
    /// Raw error object when status is failed.
    pub err: Option<serde_json::Value>,
}
/// Parsed payload wrapper for `getBundleStatuses`.
#[derive(Debug, Deserialize)]
pub struct StatusResult {
    /// Returned status entries.
    pub value: Vec<BundleStatusValue>,
}