ScriptLeaf

data class ScriptLeaf(    val id: Int,     val script: ByteVector,     val leafVersion: Int)

leaf of a script tree used to create and spend tapscript transactions

Parameters

id

leaf id

script

serialized bitcoin script

leafVersion

tapscript version

Constructors

Link copied to clipboard
fun ScriptLeaf(    id: Int,     script: ByteVector,     leafVersion: Int)

Properties

Link copied to clipboard
val hash: ByteVector32

tapleaf hash of this leaf

Link copied to clipboard
val id: Int
Link copied to clipboard
val leafVersion: Int
Link copied to clipboard
val script: ByteVector