Package nxt
Class Asset
- java.lang.Object
-
- nxt.Asset
-
public final class Asset extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAccountId()DbIterator<Account.AccountAsset>getAccounts(int from, int to)DbIterator<Account.AccountAsset>getAccounts(int height, int from, int to)static DbIterator<Asset>getAllAssets(int from, int to)static AssetgetAsset(long id)static AssetgetAsset(long id, int height)static DbIterator<Asset>getAssetsIssuedBy(java.lang.String query, long accountId, int from, int to)DbIterator<AssetTransfer>getAssetTransfers(int from, int to)static intgetCount()bytegetDecimals()java.lang.StringgetDescription()longgetId()longgetInitialQuantityQNT()java.lang.StringgetName()longgetQuantityQNT()DbIterator<Trade>getTrades(int from, int to)static DbIterator<Asset>searchAssets(java.lang.String query, int from, int to)
-
-
-
Method Detail
-
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(java.lang.String query, long accountId, int from, int to)
-
searchAssets
public static DbIterator<Asset> searchAssets(java.lang.String query, int from, int to)
-
getId
public long getId()
-
getAccountId
public long getAccountId()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getInitialQuantityQNT
public long getInitialQuantityQNT()
-
getQuantityQNT
public long getQuantityQNT()
-
getDecimals
public byte getDecimals()
-
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<Trade> getTrades(int from, int to)
-
getAssetTransfers
public DbIterator<AssetTransfer> getAssetTransfers(int from, int to)
-
-