drainWallet

fun drainWallet(): TxBuilder

Spend all the available inputs. This respects filters like TxBuilder.unspendable and the change policy.