Package nxt.ae

Class Asset

java.lang.Object
nxt.ae.Asset

public final class Asset extends Object
  • Field Details

  • Method Details

    • getAllAssets

      public static DbIterator<Asset> getAllAssets(int from, int to)
    • getCount

      public static int getCount()
    • getAsset

      public static Asset getAsset(long id)
    • getAsset

      public static Asset getAsset(long id, int height)
    • getAssetsIssuedBy

      public static DbIterator<Asset> getAssetsIssuedBy(long accountId, int from, int to)
    • searchAssets

      public static DbIterator<Asset> searchAssets(String query, int from, int to)
    • importAsset

      public static void importAsset(long assetId, long issuerId, String name, String description, byte decimals, long quantityQNT)
    • init

      public static void init()
    • getId

      public long getId()
    • getAccountId

      public long getAccountId()
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getQuantityQNT

      public long getQuantityQNT()
    • getDecimals

      public byte getDecimals()
    • hasPhasingControl

      public boolean hasPhasingControl()
    • getRoyaltiesPercentage

      public FixedPrecisionPercentage getRoyaltiesPercentage()
    • getAccounts

      public DbIterator<Account.AccountAsset> getAccounts(int from, int to)
    • getAccounts

      public DbIterator<Account.AccountAsset> getAccounts(int height, int from, int to)
    • getTrades

      public DbIterator<TradeHome.Trade> getTrades(ChildChain childChain, int from, int to)
    • getAssetTransfers

      public DbIterator<AssetTransfer> getAssetTransfers(int from, int to)
    • addListener

      public static boolean addListener(Listener<Asset.AssetProperty> listener, Asset.Event eventType)
    • removeListener

      public static boolean removeListener(Listener<Asset.AssetProperty> listener, Asset.Event eventType)
    • setProperty

      public void setProperty(long transactionId, Account senderAccount, String property, String value)
    • getProperty

      public static Asset.AssetProperty getProperty(long propertyId)
    • getProperty

      public Asset.AssetProperty getProperty(long setterId, String property)
    • getProperties

      public static DbIterator<Asset.AssetProperty> getProperties(long assetId, long setterId, String property, int firstIndex, int lastIndex)
    • deleteProperty

      public static void deleteProperty(long propertyId)