SendWithDatumBuilder

scalus.cardano.txbuilder.TransactionBuilderStep.SendWithDatumBuilder
case class SendWithDatumBuilder(output: TransactionOutput, datumBuilder: Transaction => Data) extends TransactionBuilderStep

Like Send, but the inline datum is computed from the fully-assembled transaction.

The datumBuilder receives the sorted, finalised Transaction (same object passed to delayed-redeemer builders) and must return the Data to embed as an inline datum. The output is first added with a placeholder datum; the placeholder is replaced just before the transaction is finalised, after all delayed redeemers have also been resolved.

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