Class MpTokenIssuanceFlags

java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.MpTokenIssuanceFlags

public class MpTokenIssuanceFlags extends Flags
A set of static Flags which can be set on MpTokenIssuanceObjects.
  • Field Details

  • Method Details

    • of

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

      public boolean lsfMptLocked()
      If set, indicates that all balances are locked.
      Returns:
      true if lsfMPTLocked is set, otherwise false.
    • lsfMptCanLock

      public boolean lsfMptCanLock()
      If set, indicates that the issuer can lock an individual balance or all balances of this MPT. If not set, the MPT cannot be locked in any way.
      Returns:
      true if lsfMPTCanLock is set, otherwise false.
    • lsfMptRequireAuth

      public boolean lsfMptRequireAuth()
      If set, indicates that individual holders must be authorized. This enables issuers to limit who can hold their assets.
      Returns:
      true if lsfMPTRequireAuth is set, otherwise false.
    • lsfMptCanEscrow

      public boolean lsfMptCanEscrow()
      If set, indicates that individual holders can place their balances into an escrow.
      Returns:
      true if lsfMPTCanEscrow is set, otherwise false.
    • lsfMptCanTrade

      public boolean lsfMptCanTrade()
      If set, indicates that individual holders can trade their balances using the XRP Ledger DEX or AMM.
      Returns:
      true if lsfMPTCanTrade is set, otherwise false.
    • lsfMptCanTransfer

      public boolean lsfMptCanTransfer()
      If set, indicates that tokens held by non-issuers may be transferred to other accounts. If not set, indicates that tokens held by non-issuers may not be transferred except back to the issuer; this enables use-cases like store credit.
      Returns:
      true if lsfMPTCanTransfer is set, otherwise false.
    • lsfMptCanClawback

      public boolean lsfMptCanClawback()
      If set, indicates that the issuer may use the Clawback transaction to clawback value from individual holders.
      Returns:
      true if lsfMPTCanClawback is set, otherwise false.