Package org.xrpl.xrpl4j.model.flags
Class MpTokenIssuanceCreateFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.TransactionFlags
org.xrpl.xrpl4j.model.flags.MpTokenIssuanceCreateFlags
A set of static
TransactionFlags which can be set on
MpTokenIssuanceCreate transactions.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanClawbackflag.protected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanEscrowflag.protected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanLockflag.protected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanTradeflag.protected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanTransferflag.static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfInnerBatchTxnflag.protected static final MpTokenIssuanceCreateFlagsConstantMpTokenIssuanceCreateFlagsfor thetfMPTRequireAuthflag.Fields inherited from class org.xrpl.xrpl4j.model.flags.TransactionFlags
EMPTY, FULLY_CANONICAL_SIG, UNSET -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a newMpTokenIssuanceCreateFlags.Builder.static MpTokenIssuanceCreateFlagsempty()Construct an empty instance ofMpTokenIssuanceCreateFlags.booleanWhether thetfInnerBatchTxnflag is set.booleanIf set, indicates that the issuer may use the Clawback transaction to clawback value from individual holders.booleanIf set, indicates that individual holders can place their balances into an escrow.booleanIf set, indicates that the MPT can be locked both individually and globally.booleanIf set, indicates that individual holders can trade their balances using the XRP Ledger DEX.booleanIf set, indicates that tokens may be transferred by any account (issuer or non-issuer) to any account (issuer or non-issuer).booleanIf set, indicates that individual holders must be authorized.Methods inherited from class org.xrpl.xrpl4j.model.flags.TransactionFlags
of, tfFullyCanonicalSig
-
Field Details
-
CAN_LOCK
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanLockflag. -
REQUIRE_AUTH
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTRequireAuthflag. -
CAN_ESCROW
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanEscrowflag. -
CAN_TRADE
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanTradeflag. -
CAN_TRANSFER
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanTransferflag. -
CAN_CLAWBACK
ConstantMpTokenIssuanceCreateFlagsfor thetfMPTCanClawbackflag. -
INNER_BATCH_TXN
ConstantMpTokenIssuanceCreateFlagsfor thetfInnerBatchTxnflag.
-
-
Method Details
-
builder
Create a newMpTokenIssuanceCreateFlags.Builder.- Returns:
- A new
MpTokenIssuanceCreateFlags.Builder.
-
empty
Construct an empty instance ofMpTokenIssuanceCreateFlags. Transactions with empty flags will not be serialized with aFlagsfield.- Returns:
- An empty
MpTokenIssuanceCreateFlags.
-
tfMptCanLock
public boolean tfMptCanLock()If set, indicates that the MPT can be locked both individually and globally. If not set, the MPT cannot be locked in any way.- Returns:
trueiftfMPTCanLockis set, otherwisefalse.
-
tfMptRequireAuth
public boolean tfMptRequireAuth()If set, indicates that individual holders must be authorized. This enables issuers to limit who can hold their assets.- Returns:
trueiftfMPTRequireAuthis set, otherwisefalse.
-
tfMptCanEscrow
public boolean tfMptCanEscrow()If set, indicates that individual holders can place their balances into an escrow.- Returns:
trueiftfMPTCanEscrowis set, otherwisefalse.
-
tfMptCanTrade
public boolean tfMptCanTrade()If set, indicates that individual holders can trade their balances using the XRP Ledger DEX.- Returns:
trueiftfMPTCanTradeis set, otherwisefalse.
-
tfMptCanTransfer
public boolean tfMptCanTransfer()If set, indicates that tokens may be transferred by any account (issuer or non-issuer) to any account (issuer or non-issuer). If unset, indicates that tokens may only be transferred from the issuer to any single account (or back to the issuer) but that tokens may not be transferred between non-issuer accounts.- Returns:
trueiftfMPTCanTransferis set, otherwisefalse.
-
tfMptCanClawback
public boolean tfMptCanClawback()If set, indicates that the issuer may use the Clawback transaction to clawback value from individual holders.- Returns:
trueiftfMPTCanClawbackis set, otherwisefalse.
-
tfInnerBatchTxn
public boolean tfInnerBatchTxn()Whether thetfInnerBatchTxnflag is set.- Overrides:
tfInnerBatchTxnin classTransactionFlags- Returns:
trueiftfInnerBatchTxnis set, otherwisefalse.- See Also:
-