[][src]Function ckb_std::high_level::load_script_hash

pub fn load_script_hash() -> Result<[u8; 32], SysError>

Load script hash

Return the script hash or a syscall error

Example

let script_hash = load_script_hash().unwrap();