pub async fn command_get_status(arweave: &Arweave, id: &str, output_format: &str) -> CommandResult {
    let id = Base64::from_str(id)?;
    let output_format = get_output_format(output_format);
    let status = arweave.get_status(&id).await?;
    println!(
        "{}",
        status
            .header_string(&output_format)
            .split_at(32)
            .1
            .split_at(132)
            .0
    );
    print!("{}", output_format.formatted_string(&status).split_at(32).1);
    Ok(())
}
/// Gets status from the network for the provided transaction id.
Gets status from the network for the provided transaction id.
Gets status from the network for the provided transaction id .
pub async fn command_get_status(arweave: &Arweave, id: &str, output_format: &str) -> CommandResult {
    let id = Base64::from_str(id)?;
    let output_format = get_output_format(output_format);
    let status = arweave.get_status(&id).await?;
    println!(
        "{}",
        status
            .header_string(&output_format)
            .split_at(32)
            .1
            .split_at(132)
            .0
    );
    print!("{}", output_format.formatted_string(&status).split_at(32).1);
    Ok(())
}
pub async fn command_get_status ( arweave : & Arweave , id : & str , output_format : & str ) -> CommandResult { let id = Base64 :: from_str ( id ) ? ; let output_format = get_output_format ( output_format ) ; let status = arweave . get_status ( & id ) . await ? ; println ! ( " " status header_string ( output_format ) split_at ( 32 ) 1 split_at ( 132 ) 0 ) ; print ! ( " " output_format formatted_string ( status ) split_at ( 32 ) 1 ) ; Ok ( ( ) ) }
Gets status from the network for the provided transaction id.
Gets status from the network for the provided transaction id .
arweave
&Arweave
id
&str
output_format
&str
arweave
&Arweave
id
&str
output_format
&str