public final class Asset
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
getAccountId() |
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 Asset |
getAsset(long id) |
static Asset |
getAsset(long id,
int height) |
static DbIterator<Asset> |
getAssetsIssuedBy(long accountId,
int from,
int to) |
DbIterator<AssetTransfer> |
getAssetTransfers(int from,
int to) |
static int |
getCount() |
byte |
getDecimals() |
java.lang.String |
getDescription() |
long |
getId() |
java.lang.String |
getName() |
long |
getQuantityQNT() |
DbIterator<TradeHome.Trade> |
getTrades(ChildChain childChain,
int from,
int to) |
boolean |
hasPhasingControl() |
static void |
importAsset(long assetId,
long issuerId,
java.lang.String name,
java.lang.String description,
byte decimals,
long quantityQNT) |
static void |
init() |
static DbIterator<Asset> |
searchAssets(java.lang.String query,
int from,
int to) |
public static DbIterator<Asset> getAllAssets(int from, int to)
public static int getCount()
public static Asset getAsset(long id)
public static Asset getAsset(long id, int height)
public static DbIterator<Asset> getAssetsIssuedBy(long accountId, int from, int to)
public static DbIterator<Asset> searchAssets(java.lang.String query, int from, int to)
public static void importAsset(long assetId, long issuerId, java.lang.String name, java.lang.String description, byte decimals, long quantityQNT)
public static void init()
public long getId()
public long getAccountId()
public java.lang.String getName()
public java.lang.String getDescription()
public long getQuantityQNT()
public byte getDecimals()
public boolean hasPhasingControl()
public DbIterator<Account.AccountAsset> getAccounts(int from, int to)
public DbIterator<Account.AccountAsset> getAccounts(int height, int from, int to)
public DbIterator<TradeHome.Trade> getTrades(ChildChain childChain, int from, int to)
public DbIterator<AssetTransfer> getAssetTransfers(int from, int to)