version

abstract fun version(version: Int): TxBuilder(source)

Build a transaction with a specific version.

The version should always be greater than 0 and greater than 1 if the wallet’s descriptors contain an "older" (OP_CSV) operator.