SendUiState

sealed interface SendUiState

Send-flow UI state for the Send screen (#240).

Inheritors

Types

Link copied to clipboard
data class Failure(val message: String) : SendUiState

The send failed; message is a user-facing reason.

Link copied to clipboard
data object Idle : SendUiState

No send in progress — the recipient/amount form is editable.

Link copied to clipboard
data class Sending(val stage: String) : SendUiState

A send is running; stage is the coarse step (e.g. "Submitting transaction…").

Link copied to clipboard
data class Success(val txHash: String) : SendUiState

The transfer finalized (or was accepted and is finalizing); txHash may be empty.