MosaicLevyDescriptor⚓︎
- MosaicLevyDescriptor
- Type safe descriptor used to generate a descriptor map for MosaicLevyDescriptor.
binary layout for a mosaic levy
Constructors⚓︎
new MosaicLevyDescriptor()⚓︎
Creates a descriptor for MosaicLevy.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
transferFeeType |
MosaicTransferFeeType |
mosaic fee type |
recipientAddress |
Address |
recipient address |
mosaicId |
MosaicIdDescriptor |
levy mosaic id |
fee |
Amount |
amount of levy mosaic to transfer |
Returns⚓︎
MosaicLevyDescriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
rawDescriptor.fee |
Amount |
rawDescriptor.mosaicId |
any |
rawDescriptor.recipientAddress |
Address |
rawDescriptor.transferFeeType |
MosaicTransferFeeType |
Methods⚓︎
toMap()⚓︎
- MosaicLevyDescriptor.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.