interface TransactionDao
The data access object for transactions, used for querying all transaction information, including whether transactions are mined.
count |
abstract fun count(): Int |
countUnmined |
abstract fun countUnmined(): Int |
findEncodedTransactionById |
abstract fun findEncodedTransactionById(id: Long): EncodedTransaction? |
findMinedHeight |
abstract fun findMinedHeight(rawTransactionId: ByteArray): Int? |
getAllTransactions |
Query all transactions, joining outbound and inbound transactions into the same table. abstract fun getAllTransactions(limit: Int = Int.MAX_VALUE): Factory<Int, ConfirmedTransaction> |
getReceivedTransactions |
Query transactions, aggregating information on send/receive, sorted carefully so the newest data is at the top and the oldest transactions are at the bottom. abstract fun getReceivedTransactions(limit: Int = Int.MAX_VALUE): Factory<Int, ConfirmedTransaction> |
getSentTransactions |
Query sent transactions that have been mined, sorted so the newest data is at the top. abstract fun getSentTransactions(limit: Int = Int.MAX_VALUE): Factory<Int, ConfirmedTransaction> |