Any attorney so appointed under the authority of section 633.118 shall be paid for services out of the estate, as a part of the costs of administration, a fee to be fixed by the court, and upon distribution of the estate, the fee may be charged to the party represented by the attorney.