Package org.xrpl.xrpl4j.model.client
Enum FinalityStatus
- All Implemented Interfaces:
Serializable,Comparable<FinalityStatus>,java.lang.constant.Constable
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 ConstantsEnum ConstantDescriptionThe 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 TypeMethodDescriptionstatic FinalityStatusReturns the enum constant of this type with the specified name.static FinalityStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Transaction is final/validated on the ledger successfully. -
VALIDATED_FAILURE
Transaction is final/validated on the ledger with some failure. -
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
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
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
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
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 nameNullPointerException- if the argument is null
-