[][src]Function ckb_std::high_level::find_cell_by_data_hash

pub fn find_cell_by_data_hash(
    data_hash: &[u8],
    source: Source
) -> Result<Option<usize>, SysError>

Find cell by data_hash

Iterate and find the cell which data hash equals data_hash, return the index of the first cell we found, otherwise return None.