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