TaprootScriptInput.fromTaprootLeaf constructor
TaprootScriptInput.fromTaprootLeaf({})
Implementation
TaprootScriptInput.fromTaprootLeaf({
required OutPoint prevOut,
required Taproot taproot,
required TapLeaf leaf,
List<Uint8List>? stack,
int sequence = Input.sequenceFinal,
}) : this(
prevOut: prevOut,
controlBlock: taproot.controlBlockForLeaf(leaf),
tapscript: leaf.script,
stack: stack,
sequence: sequence,
);