Class MosaicAddressRestrictionTransactionV1Descriptor

java.lang.Object
org.symbol.sdk.symbol.descriptors.MosaicAddressRestrictionTransactionV1Descriptor
All Implemented Interfaces:

SymbolTransactionDescriptor, SymbolTypedDescriptor, TypedDescriptor


public final class MosaicAddressRestrictionTransactionV1Descriptor extends Object implements SymbolTransactionDescriptor
MosaicAddressRestrictionTransactionV1Descriptor

Type safe descriptor used to generate a descriptor map for MosaicAddressRestrictionTransactionV1Descriptor.

Set address specific rules to transfer a restrictable mosaic (V1, latest).

  • Constructor Details

    • MosaicAddressRestrictionTransactionV1Descriptor

      public MosaicAddressRestrictionTransactionV1Descriptor(UnresolvedMosaicId mosaicId, long restrictionKey, long previousRestrictionValue, long newRestrictionValue, Address targetAddress)
      Creates a descriptor for MosaicAddressRestrictionTransactionV1.
      Parameters:

      mosaicId - Identifier of the mosaic to which the restriction applies.

      restrictionKey - Restriction key.

      previousRestrictionValue - Previous restriction value. Set previousRestrictionValue to FFFFFFFFFFFFFFFF if the target address does not have a previous restriction value for this mosaic id and restriction key.

      newRestrictionValue - New restriction value.

      targetAddress - Address being restricted.

  • Method Details