Deferred

scalus.cardano.txbuilder.TransactionBuilderStep.Deferred
case class Deferred(query: UtxoQuery, resolve: Utxos => Seq[TransactionBuilderStep]) extends TransactionBuilderStep

A deferred step that is resolved at complete time when UTxOs are available.

The query specifies which UTxOs to fetch (used by complete(reader, sponsor)). The resolve function receives the fetched UTxOs and returns concrete steps to insert in place of the deferred step.

For complete(utxos, sponsor), the full provided UTxO set is passed to resolve (the query is not evaluated locally).

Deferred steps are not supported by build — they must be resolved before building.

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