Output

sealed class Output

A PSBT output. A valid PSBT must contain one such output per output of the [Global.tx].

Types

Link copied to clipboard
data class NonWitnessOutput(    val redeemScript: List<ScriptElt>?,     val derivationPaths: Map<PublicKey, KeyPathWithMaster>,     val unknown: List<DataEntry>) : Output

A non-segwit output.

Link copied to clipboard
data class UnspecifiedOutput(val derivationPaths: Map<PublicKey, KeyPathWithMaster>, val unknown: List<DataEntry>) : Output

An output for which usage of segwit is currently unknown.

Link copied to clipboard
data class WitnessOutput(    val witnessScript: List<ScriptElt>?,     val redeemScript: List<ScriptElt>?,     val derivationPaths: Map<PublicKey, KeyPathWithMaster>,     val unknown: List<DataEntry>) : Output

A segwit output.

Properties

Link copied to clipboard
abstract val derivationPaths: Map<PublicKey, KeyPathWithMaster>

Derivation paths used to produce the public keys associated to this output.

Link copied to clipboard
abstract val redeemScript: List<ScriptElt>?

Redeem script for this output (when using p2sh).

Link copied to clipboard
abstract val unknown: List<DataEntry>

(optional) Unknown global entries.

Link copied to clipboard
abstract val witnessScript: List<ScriptElt>?

Witness script for this output (when using p2wsh).

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard