Notice of a petition for sale shall be given in such manner as the court may order to all persons who are, or may become, interested in the real estate to which the petition relates, and to all persons whose issue not in being may become interested in the property. The court shall in every case appoint a suitable person to appear and act on the petition as the next friend of all minors, persons not ascertained, and persons not in being, who are, or may become, interested in the real estate. The cost of the appearance and the services of the next friend, including the compensation of his or her counsel, to be determined by the court, shall be paid, as the court may order, either out of the proceeds of the sale or by the petitioner, and in the latter case execution for the compensation may issue in the name of the next friend.
R.I. Gen. Laws § 34-4-8