getByContract

fun <T : Any> getByContract(contractId: ByteArray?, mapper: (id: ByteArray, spendable: ByteArray, date: Long, spentDate: Long, amount: Long, groupAmount: Long, groupId: ByteArray?, address: String?, contractId: ByteArray?) -> T): Query<T>
fun getByContract(contractId: ByteArray?): Query<Txo>