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 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