TransactionStatus

@Serializable
enum TransactionStatus : Enum<TransactionStatus>

Entries

Link copied to clipboard

Catch-all for any error not enumerated above.

Link copied to clipboard

Deposit/withdrawal size exceeded max_amount.

Link copied to clipboard

Deposit/withdrawal size less than min_amount.

Link copied to clipboard

Could not complete deposit because no satisfactory asset/XLM market was available to create the account

Link copied to clipboard

Funds were never received by the anchor and the transaction is considered abandoned by the user. Anchors are responsible for determining when transactions are considered expired.

Link copied to clipboard

The deposit/withdrawal is fully refunded

Link copied to clipboard

Deposit/withdrawal fully completed

Link copied to clipboard

The user must take additional action before the deposit / withdrawal can complete, for example an email or 2fa confirmation of a withdrawal.

Link copied to clipboard

The user must add a trustline for the asset for the deposit to complete.

Link copied to clipboard

Deposit/withdrawal operation has been submitted to Stellar network, but is not yet confirmed.

Link copied to clipboard

Deposit/withdrawal is being processed internally by anchor. This can also be used when the anchor must verify KYC information prior to deposit/withdrawal.

Link copied to clipboard

Pending External deposit/withdrawal has been submitted to external network, but is not yet confirmed. This is the status when waiting on Bitcoin or other external crypto network to complete a transaction, or when waiting on a bank transfer.

Link copied to clipboard

The Stellar payment has been successfully received by the anchor and the off-chain funds are available for the customer to pick up. Only used for withdrawal transactions.

Link copied to clipboard

The user has not yet initiated their transfer to the anchor. This is the next necessary step in any deposit or withdrawal flow after transitioning from incomplete

Link copied to clipboard

There is not yet enough information for this transaction to be initiated. Perhaps the user has not yet entered necessary info in an interactive flow

Functions

Link copied to clipboard
fun isError(): Boolean
Link copied to clipboard
fun isTerminal(): Boolean

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int