public class MosaicGlobalRestrictionTransaction extends Transaction
The mosaic global restrictions are the network-wide rules that will determine whether an account will be able to transact a given mosaic.
Only accounts tagged with the key identifiers and values that meet the conditions will be able to execute transactions involving the mosaic.
Additionally, the mosaic creator can define restrictions that depend directly on global restrictions set on another mosaic - known as **reference mosaic**. The referenced mosaic and the restricted mosaic do not necessarily have to be created by the same account, enabling the delegation of mosaic permissions to a third party.
Modifier and Type | Method and Description |
---|---|
UnresolvedMosaicId |
getMosaicId()
Returns the mosaic id.
|
MosaicRestrictionType |
getNewRestrictionType()
Returns the new mosaic restriction type.
|
java.math.BigInteger |
getNewRestrictionValue()
Returns the new restriction value.
|
MosaicRestrictionType |
getPreviousRestrictionType()
Returns the previous mosaic restriction type.
|
java.math.BigInteger |
getPreviousRestrictionValue()
Returns the previous restriction value.
|
UnresolvedMosaicId |
getReferenceMosaicId()
Returns the reference mosaic id.
|
java.math.BigInteger |
getRestrictionKey()
Returns the restriction key.
|
createTransactionHash, getDeadline, getGroup, getMaxFee, getNetworkType, getRecordId, getSignature, getSignBytes, getSigner, getSize, getTransactionInfo, getType, getVersion, hasMissingSignatures, isConfirmed, isPartial, isTransactionFullyLoaded, isUnannounced, isUnconfirmed, serialize, signWith, toAggregate
public UnresolvedMosaicId getMosaicId()
UnresolvedMosaicId
public UnresolvedMosaicId getReferenceMosaicId()
UnresolvedMosaicId
public java.math.BigInteger getRestrictionKey()
public java.math.BigInteger getPreviousRestrictionValue()
public MosaicRestrictionType getPreviousRestrictionType()
MosaicRestrictionType
public java.math.BigInteger getNewRestrictionValue()
public MosaicRestrictionType getNewRestrictionType()
MosaicRestrictionType