Class MosaicAddressRestrictionTransactionV1Descriptor

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

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

Constructors

Properties

Methods

Constructors

  • Creates a descriptor for MosaicAddressRestrictionTransactionV1.

    Parameters

    • mosaicId: UnresolvedMosaicId

      Identifier of the mosaic to which the restriction applies.

    • restrictionKey: bigint

      Restriction key.

    • previousRestrictionValue: bigint

      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: bigint

      New restriction value.

    • targetAddress: Address

      Address being restricted.

    Returns MosaicAddressRestrictionTransactionV1Descriptor

Properties

rawDescriptor: {
    mosaicId: UnresolvedMosaicId;
    newRestrictionValue: bigint;
    previousRestrictionValue: bigint;
    restrictionKey: bigint;
    targetAddress: Address;
    type: string;
}

Type declaration

  • mosaicId: UnresolvedMosaicId
  • newRestrictionValue: bigint
  • previousRestrictionValue: bigint
  • restrictionKey: bigint
  • targetAddress: Address
  • type: string

Methods

  • Builds a representation of this descriptor that can be passed to a factory function.

    Returns object

    Descriptor that can be passed to a factory function.