markAsSpentByLocalTx

abstract suspend fun markAsSpentByLocalTx(utxoId: String)

Mark UTXO as spent by LOCAL transaction.

Sets spentByLocalTx=true to prevent restoration during sync. Used when OUR transaction is accepted by the node (might be ahead of indexer).


abstract suspend fun markAsSpentByLocalTx(utxoIds: List<String>)

Mark multiple UTXOs as spent by LOCAL transaction.

Sets spentByLocalTx=true to prevent restoration during sync. Used when OUR transaction is accepted by the node (might be ahead of indexer).