pub struct JitoJsonRpcSDK { /* private fields */ }
Implementations§
Source§impl JitoJsonRpcSDK
impl JitoJsonRpcSDK
pub fn new(base_url: &str, uuid: Option<String>) -> Self
pub async fn get_tip_accounts(&self) -> Result<Value, Error>
pub async fn get_random_tip_account(&self) -> Result<String>
pub async fn get_bundle_statuses( &self, bundle_uuids: Vec<String>, ) -> Result<Value>
pub async fn send_bundle( &self, params: Option<Value>, uuid: Option<&str>, ) -> Result<Value, Error>
pub async fn send_txn( &self, params: Option<Value>, bundle_only: bool, ) -> Result<Value, Error>
pub async fn get_in_flight_bundle_statuses( &self, bundle_uuids: Vec<String>, ) -> Result<Value>
pub fn prettify(value: Value) -> PrettyJsonValue
Auto Trait Implementations§
impl Freeze for JitoJsonRpcSDK
impl !RefUnwindSafe for JitoJsonRpcSDK
impl Send for JitoJsonRpcSDK
impl Sync for JitoJsonRpcSDK
impl Unpin for JitoJsonRpcSDK
impl !UnwindSafe for JitoJsonRpcSDK
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more