Package nxt

Class Currency


  • public final class Currency
    extends java.lang.Object
    • Method Detail

      • getAllCurrencies

        public static DbIterator<Currency> getAllCurrencies​(int from,
                                                            int to)
      • getCount

        public static int getCount()
      • getCurrency

        public static Currency getCurrency​(long id)
      • getCurrencyByName

        public static Currency getCurrencyByName​(java.lang.String name)
      • getCurrencyByCode

        public static Currency getCurrencyByCode​(java.lang.String code)
      • getCurrencyIssuedBy

        public static DbIterator<Currency> getCurrencyIssuedBy​(long accountId,
                                                               int from,
                                                               int to)
      • searchCurrencies

        public static DbIterator<Currency> searchCurrencies​(java.lang.String query,
                                                            int from,
                                                            int to)
      • getId

        public long getId()
      • getAccountId

        public long getAccountId()
      • getName

        public java.lang.String getName()
      • getCode

        public java.lang.String getCode()
      • getDescription

        public java.lang.String getDescription()
      • getType

        public int getType()
      • getInitialSupply

        public long getInitialSupply()
      • getCurrentSupply

        public long getCurrentSupply()
      • getReserveSupply

        public long getReserveSupply()
      • getMaxSupply

        public long getMaxSupply()
      • getCreationHeight

        public int getCreationHeight()
      • getIssuanceHeight

        public int getIssuanceHeight()
      • getMinReservePerUnitNQT

        public long getMinReservePerUnitNQT()
      • getMinDifficulty

        public int getMinDifficulty()
      • getMaxDifficulty

        public int getMaxDifficulty()
      • getRuleset

        public byte getRuleset()
      • getAlgorithm

        public byte getAlgorithm()
      • getDecimals

        public byte getDecimals()
      • getCurrentReservePerUnitNQT

        public long getCurrentReservePerUnitNQT()
      • isActive

        public boolean isActive()
      • canBeDeletedBy

        public boolean canBeDeletedBy​(long senderAccountId)