Function ckb_std::high_level::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();