lib-base.populatedredemption.increaseamountbyminimumnetdebt

Home > @mosaic/lib-base > PopulatedRedemption > increaseAmountByMinimumNetDebt

PopulatedRedemption.increaseAmountByMinimumNetDebt() method

Prepare a new transaction by increasing the attempted amount to the next lowest redeemable value.

Signature:

increaseAmountByMinimumNetDebt(maxRedemptionRate?: Decimalish): Promise<PopulatedRedemption<P, S, R>>;

Parameters

Parameter
Type
Description

maxRedemptionRate

Maximum acceptable redemption rate to use in the new transaction.

Returns:

Promise<PopulatedRedemption<P, S, R>>

Remarks

If maxRedemptionRate is omitted, the original transaction's maxRedemptionRate is reused unless that was also omitted, in which case the current redemption rate (based on the increased amount) plus 0.1% is used as maximum acceptable rate.

Last updated