cardano-client-lib
cardano-client-lib copied to clipboard
Add a new method to OutputBuilders.createFromOutput(output, boolean merge)
Currently, OutputBuilders.createFromOutput() merges values sent to same address to optimize required fee and min required ada for utxos. If an application wants to keep separate outputs to same address, it is possible only through a custom TxOutputBuilder function.
With this enhancement, application can pass an additional flag "merge=false" to keep a output separate. Default value of this flag should be true.