AddCollateral
scalus.cardano.txbuilder.TransactionBuilderStep.AddCollateral
case class AddCollateral(utxo: Utxo) extends TransactionBuilderStep
Add a utxo as a collateral input. The utxo must be controlled by a key (not a script).
Per Babbage era specification (CIP-40), native tokens in collateral inputs are allowed. All tokens will be returned via the collateral return output. Use SetCollateralReturn to specify the return address, or it will default to the address of the first collateral input.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TransactionBuilderStepclass Objecttrait Matchableclass Any
Members list
In this article