listUnspent

fun listUnspent(address: PayAddress, timeoutInMs: Int = requestTimeout): List<Spendable>

Get outputs for a pay destination you don't own.


fun listUnspent(destination: PayDestination, timeoutInMs: Int = requestTimeout): List<Spendable>

Get spendable output for a pay destination you own.

The secret in destination object will be passed on to the BCHspendable instances.