searchTx

abstract fun <T> searchTx(doit: (TransactionHistory) -> T?): T?

Wallet history iterator.

Return

the result from doit() or null if all transactions were offered to the callback without a nonnull response.

Parameters

doit

If this function returns a nonnull value, iteration is aborted and that value is returned.