Status
public enum Status : Equatable
Represents various states of a transaction
-
A transaction that has not yet been mined
Declaration
Swift
case pending -
A transaction that has been mined, along with how many blocks have been mined afterwards
Declaration
Swift
case approved(times: Int) -
A transaction deemed successful (enough blocks have been mined that it is not likely to be reverted)
Declaration
Swift
case successful -
A transaction that could not be mined or was reverted
Declaration
Swift
case failed -
Declaration
Swift
public static func == (lhs: TransactionWatcher.Status, rhs: TransactionWatcher.Status) -> Bool
View on GitHub
Status Enumeration Reference