コンテンツにスキップ

MosaicSupplyChangeTransactionV1Descriptor⚓︎

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

Change the total supply of a mosaic (V1, latest).

Constructors⚓︎

new MosaicSupplyChangeTransactionV1Descriptor()⚓︎

new MosaicSupplyChangeTransactionV1Descriptor(
   mosaicId, 
   delta, 
   action): MosaicSupplyChangeTransactionV1Descriptor

Creates a descriptor for MosaicSupplyChangeTransactionV1.

Parameters⚓︎

Parameter Type Description
mosaicId UnresolvedMosaicId Affected mosaic identifier.
delta Amount Change amount. It cannot be negative, use the action field to indicate if this amount should be added or subtracted from the current supply.
action MosaicSupplyChangeAction Supply change action.

Returns⚓︎

MosaicSupplyChangeTransactionV1Descriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.action MosaicSupplyChangeAction
rawDescriptor.delta Amount
rawDescriptor.mosaicId UnresolvedMosaicId
rawDescriptor.type string

Methods⚓︎

toMap()⚓︎

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