ProofStatus
public enum ProofStatus : Int
The curernt backend certificate state for a QEDReport
-
The report has not been requested for certification yet
Declaration
Swift
case undefined -
The report has been submited to blockchain but is not yet confirmed
Declaration
Swift
case pending -
Report confirmed in blockchain
Declaration
Swift
case confirmed -
Report sumbinted to blockchain but failed
Declaration
Swift
case failed
-
Creates a
ProofStatusinstance based on the string representation from QED REST API responseDeclaration
Swift
public init(fromAPIString apiStatus: String)Parameters
apiStatusA string representing the status
-
The string value used to represent the status on
QEDAPItransactionsDeclaration
Swift
public var string: String { get }
ProofStatus Enumeration Reference