ConfirmationStatus enum
Values
- notSubmitted → const ConfirmationStatus
-
const ConfirmationStatus("not_submitted")
- pending → const ConfirmationStatus
-
Transaction is not confirmed yet
const ConfirmationStatus("pending")
- confirmed → const ConfirmationStatus
-
Transaction is confirmed
const ConfirmationStatus("confirmed")
- failed → const ConfirmationStatus
-
Transaction is failed
const ConfirmationStatus("failed")
Properties
- displayName → String
-
final
- 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
Static Methods
-
fromBool(
bool? valid) → ConfirmationStatus -
fromConfirmations(
int? confirmations) → ConfirmationStatus - TODO: When is a transaction failed?
-
fromJson(
int status) → ConfirmationStatus -
fromReceiptStatus(
int status) → ConfirmationStatus
Constants
-
values
→ const List<
ConfirmationStatus> - A constant List of the values in this enum, in order of their declaration.