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 Serializabletrait Producttrait Equalstrait TransactionBuilderStepclass Objecttrait Matchableclass Any
Members list
In this article