StaleUtxo

data class StaleUtxo(val failedUtxoIds: List<String>, val reason: String = "Some UTXOs were already spent. Wallet is syncing to get latest balance.") : TransactionSubmitter.SubmissionResult

Transaction failed because UTXO was already spent (stale local data).

Recovery:

  1. Mark failed UTXOs as SPENT in local database

  2. Trigger background resync for this address

  3. Update UI with new balance

  4. User can retry with remaining UTXOs

Constructors

Link copied to clipboard
constructor(failedUtxoIds: List<String>, reason: String = "Some UTXOs were already spent. Wallet is syncing to get latest balance.")

Properties

Link copied to clipboard

List of UTXO IDs that were stale (intentHash:outputNo format)

Link copied to clipboard

Human-readable explanation