Module

Ctl.Internal.BalanceTx.Collateral

#addTxCollateralReturn

addTxCollateralReturn :: Array TransactionUnspentOutput -> Transaction -> Address -> BalanceTxM Transaction

Sets collateral return and total collateral fields of the transaction. In the special case with an Ada-only collateral that is less than or equal to minRequiredCollateral, returns unmodified transaction (see NOTE).

NOTE: Collateral cannot be less than minRequiredCollateral when selected using selectCollateral function

Re-exports from Ctl.Internal.BalanceTx.Collateral.Select

#minRequiredCollateral

Modules