Class TransactionFlags

java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.TransactionFlags
Direct Known Subclasses:
AccountSetTransactionFlags, AmmClawbackFlags, AmmDepositFlags, AmmWithdrawFlags, BatchFlags, MpTokenAuthorizeFlags, MpTokenIssuanceCreateFlags, MpTokenIssuanceSetFlags, NfTokenCreateOfferFlags, NfTokenMintFlags, OfferCreateFlags, PaymentChannelClaimFlags, PaymentFlags, TrustSetFlags, XChainModifyBridgeFlags

public class TransactionFlags extends Flags
A set of static Flags which could apply to any Transaction.
  • Field Details

    • FULLY_CANONICAL_SIG

      public static final TransactionFlags FULLY_CANONICAL_SIG
      Corresponds to the tfFullyCanonicalSig flag.
    • INNER_BATCH_TXN

      public static final TransactionFlags INNER_BATCH_TXN
      Corresponds to the tfInnerBatchTxn flag. This flag should only be used if a transaction is an inner transaction in a Batch transaction. It signifies that the transaction shouldn't be signed. Any normal transaction that includes this flag should be rejected.
      See Also:
      • "https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0056-batch"
    • UNSET

      public static final TransactionFlags UNSET
      Constant for an unset flag.
    • EMPTY

      public static final TransactionFlags EMPTY
      Constant empty TransactionFlags.
  • Method Details

    • of

      public static TransactionFlags of(long value)
    • tfFullyCanonicalSig

      public boolean tfFullyCanonicalSig()
      Flags indicating that a fully-canonical signature is required. This flag is highly recommended.
      Returns:
      true if tfFullyCanonicalSig is set, otherwise false.
      See Also:
      • "https://xrpl.org/transaction-common-fields.html#flags-field"
    • tfInnerBatchTxn

      public boolean tfInnerBatchTxn()
      Check if the tfInnerBatchTxn flag is set. This flag indicates that the transaction is an inner transaction within a Batch transaction.
      Returns:
      true if tfInnerBatchTxn is set, otherwise false.
      See Also:
      • "https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0056-batch"