Package org.xrpl.xrpl4j.model.flags
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
A set of static
Flags which could apply to any Transaction.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransactionFlagsConstant emptyTransactionFlags.static final TransactionFlagsCorresponds to thetfFullyCanonicalSigflag.static final TransactionFlagsCorresponds to thetfInnerBatchTxnflag.static final TransactionFlagsConstant for an unset flag. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionFlagsof(long value) booleanFlags indicating that a fully-canonical signature is required.booleanCheck if thetfInnerBatchTxnflag is set.
-
Field Details
-
FULLY_CANONICAL_SIG
Corresponds to thetfFullyCanonicalSigflag. -
INNER_BATCH_TXN
Corresponds to thetfInnerBatchTxnflag. 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:
-
UNSET
Constant for an unset flag. -
EMPTY
Constant emptyTransactionFlags.
-
-
Method Details
-
of
-
tfFullyCanonicalSig
public boolean tfFullyCanonicalSig()Flags indicating that a fully-canonical signature is required. This flag is highly recommended.- Returns:
trueiftfFullyCanonicalSigis set, otherwisefalse.- See Also:
-
tfInnerBatchTxn
public boolean tfInnerBatchTxn()Check if thetfInnerBatchTxnflag is set. This flag indicates that the transaction is an inner transaction within a Batch transaction.- Returns:
trueiftfInnerBatchTxnis set, otherwisefalse.- See Also:
-