[][src]Function ckb_std::high_level::load_cell_type_hash

pub fn load_cell_type_hash(
    index: usize,
    source: Source
) -> Result<Option<[u8; 32]>, SysError>

Load cell type hash

return None if the cell has no type

Arguments

Example

let type_hash = load_cell_type_hash(index, source).unwrap().unwrap();