UnshieldedTransactionUpdate

@Serializable
sealed class UnshieldedTransactionUpdate

Update from unshielded transactions subscription.

Union type representing either:

  • An actual transaction with UTXO changes

  • A progress update indicating sync status

Matches Midnight SDK's WalletSyncUpdateSchema.

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "UnshieldedTransactionsProgress")
data class Progress(val type: String = "UnshieldedTransactionsProgress", val highestTransactionId: Int) : UnshieldedTransactionUpdate

Progress update indicating sync status.

Link copied to clipboard
@Serializable
@SerialName(value = "UnshieldedTransaction")
data class Transaction(val type: String = "UnshieldedTransaction", val transaction: UnshieldedTransaction, val createdUtxos: List<Utxo>, val spentUtxos: List<Utxo>) : UnshieldedTransactionUpdate

Actual transaction update with UTXO changes.