ReverseSwapStatus enum
The possible statuses of a reverse swap, from the Breez SDK perspective.
See BoltzApiReverseSwapStatus
for the reverse swap status from the Breez endpoint point of view.
Values
- Initial → const ReverseSwapStatus
-
HODL invoice payment is not completed yet
This is also the temporary status of a reverse swap when restoring a node, until
sync
finishes. - InProgress → const ReverseSwapStatus
-
HODL invoice payment was successfully triggered and confirmed by Boltz, but the reverse swap is not yet complete
- Cancelled → const ReverseSwapStatus
-
An explicit error occurs (validation error, failure reported by Boltz, expiration, etc) and the initial invoice funds are returned to the sender (invoice is cancelled or payment failed)
- CompletedSeen → const ReverseSwapStatus
-
Successfully completed (claim tx has been seen in the mempool)
- CompletedConfirmed → const ReverseSwapStatus
-
Successfully completed (claim tx has at least one confirmation)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ReverseSwapStatus> - A constant List of the values in this enum, in order of their declaration.