ChangeOutputDiffHandler

scalus.cardano.txbuilder.LowLevelTxBuilder.ChangeOutputDiffHandler
class ChangeOutputDiffHandler(protocolParams: ProtocolParams, changeOutputIdx: Int) extends ChangeOutputDiffHandler

Attributes

Deprecated
[Since version scalus 0.13.0] Use Change.changeOutputDiffHandler instead
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

Handles the diff by adjusting the change output at the specified index.

Handles the diff by adjusting the change output at the specified index.

Value parameters

diff

The value difference to apply (positive to add, negative to remove)

tx

The transaction to modify

Attributes

Returns

Either a TxBalancingError or the modified transaction

Inherited from:
ChangeOutputDiffHandler