onlySpendChange

open override fun onlySpendChange(): TxBuilder(source)

Only spend change outputs.

This effectively adds all the non-change outputs to the "unspendable" list. See TxBuilder::unspendable. This method assumes the presence of an internal keychain, otherwise it has no effect.