public class MosaicAddressRestrictionTransaction extends Transaction implements TargetAddressTransaction
Enabling accounts to transact with the token is similar to the process of adding elevated permissions to a user in a company computer network.
The mosaic creator can modify the permissions of an account by sending a mosaic restriction transaction targeting the account address.
**MosaicAddressRestrictionTransaction can only be announced in with Aggregate Transaction
Modifier and Type | Method and Description |
---|---|
UnresolvedMosaicId |
getMosaicId()
Returns the mosaic id.
|
java.math.BigInteger |
getNewRestrictionValue()
Returns the new restriction value.
|
java.math.BigInteger |
getPreviousRestrictionValue()
Returns the previous restriction value.
|
java.math.BigInteger |
getRestrictionKey()
Returns the restriction key.
|
UnresolvedAddress |
getTargetAddress()
Returns the target address.
|
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 java.math.BigInteger getRestrictionKey()
public UnresolvedAddress getTargetAddress()
getTargetAddress
in interface TargetAddressTransaction
Address
public java.math.BigInteger getPreviousRestrictionValue()
public java.math.BigInteger getNewRestrictionValue()