Class MosaicAliasTransactionV1Descriptor

java.lang.Object
org.symbol.sdk.symbol.descriptors.MosaicAliasTransactionV1Descriptor
All Implemented Interfaces:
SymbolTransactionDescriptor, SymbolTypedDescriptor, TypedDescriptor

public final class MosaicAliasTransactionV1Descriptor extends Object implements SymbolTransactionDescriptor
MosaicAliasTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for MosaicAliasTransactionV1Descriptor. Attach or detach a [namespace](/concepts/namespace.html) to a Mosaic.(V1, latest) Setting an alias to a mosaic is only possible if the account announcing this transaction has also created the namespace and the mosaic involved.
  • Constructor Details

    • MosaicAliasTransactionV1Descriptor

      public MosaicAliasTransactionV1Descriptor(NamespaceId namespaceId, MosaicId mosaicId, AliasAction aliasAction)
      Creates a descriptor for MosaicAliasTransactionV1.
      Parameters:
      namespaceId - Identifier of the namespace that will become (or stop being) an alias for the Mosaic.
      mosaicId - Aliased mosaic identifier.
      aliasAction - Alias action.
    • MosaicAliasTransactionV1Descriptor

      public MosaicAliasTransactionV1Descriptor(String namespaceId, String mosaicId, String aliasAction)
      Creates a descriptor for MosaicAliasTransactionV1 from string-form values.
      Parameters:
      namespaceId - Identifier of the namespace that will become (or stop being) an alias for the Mosaic.
      mosaicId - Aliased mosaic identifier.
      aliasAction - Alias action.
  • Method Details