SetCollateralReturn

scalus.cardano.txbuilder.TransactionBuilderStep.SetCollateralReturn
case class SetCollateralReturn(returnAddress: Address) extends TransactionBuilderStep

Set the address where collateral return output should be sent.

This is optional - if not set, the first collateral input's address will be used. Use this when you want the collateral return to go to a different address than where the collateral came from.

The collateral return output is automatically created during transaction finalization when collateral contains native tokens (required by protocol) or when excess ADA above the required collateral can cover the min ADA for a return output.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product