Enum TransactionStatus

java.lang.Object
java.lang.Enum<TransactionStatus>
com.exonum.client.response.TransactionStatus
All Implemented Interfaces:
Serializable, Comparable<TransactionStatus>, java.lang.constant.Constable

public enum TransactionStatus
extends Enum<TransactionStatus>
Status of a particular transaction.
  • Enum Constant Details

    • IN_POOL

      @SerializedName("in-pool") public static final TransactionStatus IN_POOL
      Shows that transaction is in unconfirmed transaction pool currently.
    • COMMITTED

      @SerializedName("committed") public static final TransactionStatus COMMITTED
      Shows that transaction is committed to the blockchain. Please note that a committed transaction has not necessarily completed successfully — use the execution result to check that.
  • Method Details

    • values

      public static TransactionStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransactionStatus valueOf​(String name)
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null