Class AccountSetTransactionFlags


public class AccountSetTransactionFlags extends TransactionFlags
TransactionFlags for AccountSet transactions. Note that using these directly is discouraged, but can be useful when setting multiple flags for an account.
  • Field Details

  • Method Details

    • of

      public static AccountSetTransactionFlags of(long value)
      Construct AccountSetTransactionFlags with a given value.
      Parameters:
      value - The long-number encoded flags value of this AccountSetTransactionFlags.
      Returns:
      New AccountSetTransactionFlags.
    • empty

      public static AccountSetTransactionFlags empty()
      Construct an empty instance of AccountSetTransactionFlags. Transactions with empty flags will not be serialized with a Flags field.
      Returns:
      An empty AccountSetTransactionFlags.
    • builder

      public static AccountSetTransactionFlags.Builder builder()
      Returns:
      A new AccountSetTransactionFlags.Builder.
    • tfFullyCanonicalSig

      public boolean tfFullyCanonicalSig()
      Require a fully canonical signature.
      Overrides:
      tfFullyCanonicalSig in class TransactionFlags
      Returns:
      true if tfFullyCanonicalSig is set, otherwise false.
      See Also:
      • "https://xrpl.org/transaction-common-fields.html#flags-field"
    • tfRequireDestTag

      public boolean tfRequireDestTag()
      Whether or not the tfRequireDestTag flag is set.
      Returns:
      true if tfRequireDestTag is set, otherwise false.
    • tfOptionalDestTag

      public boolean tfOptionalDestTag()
      Whether or not the tfOptionalDestTag flag is set.
      Returns:
      true if tfOptionalDestTag is set, otherwise false.
    • tfRequireAuth

      public boolean tfRequireAuth()
      Whether or not the tfRequireAuth flag is set.
      Returns:
      true if tfRequireAuth is set, otherwise false.
    • tfOptionalAuth

      public boolean tfOptionalAuth()
      Whether or not the tfOptionalAuth flag is set.
      Returns:
      true if tfOptionalAuth is set, otherwise false.
    • tfDisallowXrp

      public boolean tfDisallowXrp()
      Whether or not the tfDisallowXrp flag is set.
      Returns:
      true if tfDisallowXrp is set, otherwise false.
    • tfAllowXrp

      public boolean tfAllowXrp()
      Whether or not the tfAllowXrp flag is set.
      Returns:
      true if tfAllowXrp is set, otherwise false.
    • tfInnerBatchTxn

      public boolean tfInnerBatchTxn()
      Indicates that this transaction is an inner transaction of a Batch transaction.
      Overrides:
      tfInnerBatchTxn in class TransactionFlags
      Returns:
      true if tfInnerBatchTxn is set, otherwise false.
      See Also:
      • "https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0056-batch"