Sep06TransactionStatus

Transaction statuses for SEP-6 deposit and withdrawal operations.

These statuses represent the lifecycle states of a programmatic anchor transaction. A transaction progresses through various pending states before reaching a terminal state.

Unlike SEP-24 which uses interactive web flows, SEP-6 transactions are managed programmatically through API calls.

See also

Entries

Link copied to clipboard

The anchor has not yet received all required information from the user. Additional fields may need to be submitted via the deposit or withdraw endpoint.

Link copied to clipboard

For deposits: the user has been instructed to send funds to the anchor. For withdrawals: the anchor is waiting to receive funds from the Stellar network.

Link copied to clipboard

For deposits: funds have been received by the anchor. For withdrawals: the user has submitted the Stellar transaction.

Link copied to clipboard

Deposit/withdrawal is being processed by an external system (e.g., bank, payment processor).

Link copied to clipboard

Deposit/withdrawal operation is being processed internally by the anchor.

Link copied to clipboard

The anchor is waiting for the Stellar network transaction to complete.

Link copied to clipboard

The user must establish a trustline for the asset before the anchor can complete the deposit.

Link copied to clipboard

The anchor is waiting for the user to take some action. Check the transaction's message field for details.

Link copied to clipboard

The anchor is waiting for the user to update their KYC information via SEP-12. The required_info_updates field contains the fields that need updating.

Link copied to clipboard

The anchor is waiting for the user to provide additional transaction information. The required_info_updates field contains the fields that need updating.

Link copied to clipboard

The deposit/withdrawal has completed successfully. This is a terminal status.

Link copied to clipboard

The deposit/withdrawal has been refunded. This is a terminal status.

Link copied to clipboard

The transaction has expired. The user did not complete the required action in time. This is a terminal status.

Link copied to clipboard

An error occurred processing the transaction. Check the transaction's message field for details. This is a terminal status.

Link copied to clipboard

Could not complete the transaction because there is no market for this asset pair. This is a terminal status and indicates an error condition.

Link copied to clipboard

Could not complete the transaction because the amount is too small. This is a terminal status and indicates an error condition.

Link copied to clipboard

Could not complete the transaction because the amount is too large. This is a terminal status and indicates an error condition.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

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

The string value used in SEP-6 API responses.

Functions

Link copied to clipboard

Checks if this status represents an error condition.

Link copied to clipboard

Checks if this status represents a pending state.

Link copied to clipboard

Checks if this status represents a terminal state.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.