コンテンツにスキップ

AccountMosaicRestrictionTransactionV1Descriptor⚓︎

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

Allow or block incoming transactions containing a given set of mosaics (V1, latest).

Constructors⚓︎

new AccountMosaicRestrictionTransactionV1Descriptor()⚓︎

new AccountMosaicRestrictionTransactionV1Descriptor(
   restrictionFlags, 
   restrictionAdditions?, 
   restrictionDeletions?): AccountMosaicRestrictionTransactionV1Descriptor

Creates a descriptor for AccountMosaicRestrictionTransactionV1.

Parameters⚓︎

Parameter Type Description
restrictionFlags AccountRestrictionFlags Type of restriction being applied to the listed mosaics.
restrictionAdditions? UnresolvedMosaicId[] Array of mosaics being added to the restricted list.
restrictionDeletions? UnresolvedMosaicId[] Array of mosaics being removed from the restricted list.

Returns⚓︎

AccountMosaicRestrictionTransactionV1Descriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.restrictionFlags AccountRestrictionFlags
rawDescriptor.type string

Methods⚓︎

toMap()⚓︎

toMap(): object
AccountMosaicRestrictionTransactionV1Descriptor.toMap
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.