public class MosaicDefinitionTransaction extends Transaction
| Constructor and Description |
|---|
MosaicDefinitionTransaction(NetworkType networkType,
java.lang.Integer version,
Deadline deadline,
java.math.BigInteger fee,
java.lang.String mosaicName,
NamespaceId namespaceId,
MosaicId mosaicId,
MosaicProperties mosaicProperties) |
MosaicDefinitionTransaction(NetworkType networkType,
java.lang.Integer version,
Deadline deadline,
java.math.BigInteger fee,
java.lang.String mosaicName,
NamespaceId namespaceId,
MosaicId mosaicId,
MosaicProperties mosaicProperties,
java.lang.String signature,
PublicAccount signer,
TransactionInfo transactionInfo) |
| Modifier and Type | Method and Description |
|---|---|
static MosaicDefinitionTransaction |
create(Deadline deadline,
java.lang.String mosaicName,
java.lang.String namespaceName,
MosaicProperties mosaicProperties,
NetworkType networkType)
Create a mosaic creation transaction object.
|
MosaicId |
getMosaicId()
Returns mosaic id generated from namespace name and mosaic name.
|
java.lang.String |
getMosaicName()
Returns mosaic name.
|
MosaicProperties |
getMosaicProperties()
Returns mosaic properties defining mosaic.
|
NamespaceId |
getNamespaceId()
Returns namespace id generated from namespace name.
|
createTransactionHash, getDeadline, getFee, getNetworkType, getSignature, getSigner, getTransactionInfo, getType, getVersion, hasMissingSignatures, isConfirmed, isUnannounced, isUnconfirmed, signWith, toAggregatepublic MosaicDefinitionTransaction(NetworkType networkType, java.lang.Integer version, Deadline deadline, java.math.BigInteger fee, java.lang.String mosaicName, NamespaceId namespaceId, MosaicId mosaicId, MosaicProperties mosaicProperties, java.lang.String signature, PublicAccount signer, TransactionInfo transactionInfo)
public MosaicDefinitionTransaction(NetworkType networkType, java.lang.Integer version, Deadline deadline, java.math.BigInteger fee, java.lang.String mosaicName, NamespaceId namespaceId, MosaicId mosaicId, MosaicProperties mosaicProperties)
public static MosaicDefinitionTransaction create(Deadline deadline, java.lang.String mosaicName, java.lang.String namespaceName, MosaicProperties mosaicProperties, NetworkType networkType)
deadline - The deadline to include the transaction.mosaicName - The mosaic name ex: xem.namespaceName - The namespace where mosaic will be included ex: nem.mosaicProperties - The mosaic properties.networkType - The network type.MosaicDefinitionTransactionpublic NamespaceId getNamespaceId()
public MosaicId getMosaicId()
public java.lang.String getMosaicName()
public MosaicProperties getMosaicProperties()
MosaicProperties