markAsSpent

abstract suspend fun markAsSpent(utxoId: String)

Mark UTXO as spent (from sync - not local transaction).

State transition: PENDING → SPENT (on transaction SUCCESS). Sets spentByLocalTx=false since this came from sync.


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

Mark multiple UTXOs as spent (from sync - not local transaction).

More efficient than calling markAsSpent multiple times. State transition: PENDING → SPENT (on transaction SUCCESS). Sets spentByLocalTx=false since this came from sync.