public class MosaicInfo
extends java.lang.Object
| Constructor and Description |
|---|
MosaicInfo(boolean active,
java.lang.Integer index,
java.lang.String metaId,
NamespaceId namespaceId,
MosaicId mosaicId,
java.math.BigInteger supply,
java.math.BigInteger height,
PublicAccount owner,
MosaicProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDivisibility()
Returns the mosaic divisibility
|
java.math.BigInteger |
getDuration()
Return the number of blocks from height it will be active
|
java.math.BigInteger |
getHeight()
Returns the block height it was created
|
java.lang.Integer |
getIndex() |
java.lang.String |
getMetaId() |
MosaicId |
getMosaicId()
Returns the mosaic id
|
NamespaceId |
getNamespaceId()
Returns the namespace id it belongs to
|
PublicAccount |
getOwner()
Returns the mosaic account owner
|
java.math.BigInteger |
getSupply()
Returns the total mosaic supply
|
boolean |
isActive()
Returns true if the mosaic is active
|
boolean |
isExpired()
Returns true if the mosaic is expired
|
boolean |
isLevyMutable()
Returns if the mosaic levy is mutable
|
boolean |
isSupplyMutable()
Returns true if the supply is mutable
|
boolean |
isTransferable()
Returns tue if the mosaic is transferable between non-owner accounts
|
public MosaicInfo(boolean active,
java.lang.Integer index,
java.lang.String metaId,
NamespaceId namespaceId,
MosaicId mosaicId,
java.math.BigInteger supply,
java.math.BigInteger height,
PublicAccount owner,
MosaicProperties properties)
public boolean isActive()
public boolean isExpired()
public java.lang.Integer getIndex()
public java.lang.String getMetaId()
public NamespaceId getNamespaceId()
public MosaicId getMosaicId()
public java.math.BigInteger getSupply()
public java.math.BigInteger getHeight()
public PublicAccount getOwner()
public boolean isSupplyMutable()
public boolean isTransferable()
public boolean isLevyMutable()
public java.math.BigInteger getDuration()
public int getDivisibility()