find Inputs
fun findInputs(amountSatoshis: Long, minConfirms: Int = 0, filter: (Spendable) -> Long? = null): MutableList<Spendable>?
Find inputs in this wallet to use in a new transaction. This does NOT mark them as used, so cannot be called repeatedly until consumeInputs is called
Parameters
amount Satoshis
: The quantity of satoshis needed. Pass LONG.MAX_VALUE to get all of them (otherwise the function will fail if there are not enough)
min Confirms
: Minimum number of confirmations
filter
: You can eliminate some inputs using this filter, by returning false Pass a filter to select a subset of the available UTXOs.