Skip to main content

TX_2180A8

Constant TX_2180A8 

Source
pub const TX_2180A8: &[u8] = include_bytes!($data_path);
Expand description

Transaction with hash 2180a87f724702d37af087e22476297e818a73579ef7b7da947da963245202a3.

use monero_oxide::transaction::{Transaction, Timelock};

let tx = Transaction::read(&mut TX_2180A8).unwrap();

assert_eq!(tx.version(), 1);
assert_eq!(tx.prefix().additional_timelock, Timelock::None);
assert_eq!(tx.prefix().inputs.len(), 19);
assert_eq!(tx.prefix().outputs.len(), 61);
assert_eq!(hex::encode(tx.hash()), "2180a87f724702d37af087e22476297e818a73579ef7b7da947da963245202a3")