Function load_script_hash

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

Load script hash

Return the script hash or a syscall error

ยงExample

let script_hash = load_script_hash().unwrap();