Enum FinalityStatus

java.lang.Object
java.lang.Enum<FinalityStatus>
org.xrpl.xrpl4j.model.client.FinalityStatus
All Implemented Interfaces:
Serializable, Comparable<FinalityStatus>, java.lang.constant.Constable

public enum FinalityStatus extends Enum<FinalityStatus>
Enumeration of the types of responses from isFinal function.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The lastLedgerSequence of the tx has passed, i.e., transaction was not included in any closed ledgers ranging from the one it was submitted on to the lastLedgerSequence.
    An unknown transaction has been validated ahead of or instead of this transaction, so manual intervention and investigation is recommended.
    Some reasons an unknown transaction may have been validated instead of this one: The transaction was malleable and succeeded with a different hash; A different program or person with your secret key is also sending transactions from the same account; You previously sent a transaction, but lost your record of it.
    Transaction has not been validated until this moment, which means it could be validated in the following closed ledgers, or, the XRPL peer you are connected to could be missing the ledgers it would have been validated on.
    Transaction is final/validated on the ledger with some failure.
    Transaction is final/validated on the ledger successfully.
    The transaction is validated, but it's unclear if the transaction was successful or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NOT_FINAL

      public static final FinalityStatus NOT_FINAL
      Transaction has not been validated until this moment, which means it could be validated in the following closed ledgers, or, the XRPL peer you are connected to could be missing the ledgers it would have been validated on.
    • VALIDATED_SUCCESS

      public static final FinalityStatus VALIDATED_SUCCESS
      Transaction is final/validated on the ledger successfully.
    • VALIDATED_FAILURE

      public static final FinalityStatus VALIDATED_FAILURE
      Transaction is final/validated on the ledger with some failure.
    • VALIDATED_UNKNOWN

      public static final FinalityStatus VALIDATED_UNKNOWN
      The transaction is validated, but it's unclear if the transaction was successful or not. For example, in the past, the XRP Ledger supported transactions without metadata. While uncommon, this is a potential state for older transactions that prevents this library from determining a success/failure state.
    • EXPIRED

      public static final FinalityStatus EXPIRED
      The lastLedgerSequence of the tx has passed, i.e., transaction was not included in any closed ledgers ranging from the one it was submitted on to the lastLedgerSequence.
    • EXPIRED_WITH_SPENT_ACCOUNT_SEQUENCE

      public static final FinalityStatus EXPIRED_WITH_SPENT_ACCOUNT_SEQUENCE
      An unknown transaction has been validated ahead of or instead of this transaction, so manual intervention and investigation is recommended.
      Some reasons an unknown transaction may have been validated instead of this one: The transaction was malleable and succeeded with a different hash; A different program or person with your secret key is also sending transactions from the same account; You previously sent a transaction, but lost your record of it.
  • Method Details

    • values

      public static FinalityStatus[] 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 FinalityStatus 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