• Computes the Type ID hash of the given data.

    Parameters

    • cellInputLike: CellInputLike

      The first cell input of the transaction.

    • outputIndex: NumLike

      The output index of the Type ID cell.

    Returns Hex

    The hexadecimal string representation of the hash.

    const hash = hashTypeId(cellInput, outputIndex); // Outputs something like "0x..."