Companion

object Companion

Functions

Link copied to clipboard
fun combine(vararg psbts: Psbt): Either<UpdateFailure, Psbt>

Implements the PSBT combiner role: combines multiple psbts for the same unsigned transaction.

Link copied to clipboard
fun join(vararg psbts: Psbt): Either<UpdateFailure, Psbt>

Joins multiple distinct PSBTs with different inputs and outputs into one PSBT with inputs and outputs from all of the PSBTs. No input in any of the PSBTs can be in more than one of the PSBTs.

Link copied to clipboard
fun read(input: ByteVector): Either<ParseFailure, Psbt>
fun read(input: Input): Either<ParseFailure, Psbt>
fun read(input: ByteArray): Either<ParseFailure, Psbt>
Link copied to clipboard
fun write(psbt: Psbt): ByteVector
fun write(psbt: Psbt, out: Output)

Properties

Link copied to clipboard
const val Version: Long = 0

Only version 0 is supported for now.