Function load_tx_hash

Source
pub fn load_tx_hash() -> Result<[u8; 32], SysError>
Available on crate feature ckb-types only.
Expand description

Load tx hash

Return the tx hash or a syscall error

ยงExample

let tx_hash = load_tx_hash().unwrap();