write

fun write(psbt: Psbt): ByteVector
fun write(psbt: Psbt, out: Output)