Skip to content

TransferTransactionV2Descriptor⚓︎

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

binary layout for a transfer transaction (V2, latest)

Constructors⚓︎

new TransferTransactionV2Descriptor()⚓︎

new TransferTransactionV2Descriptor(
   recipientAddress, 
   amount, 
   message?, 
   mosaics?): TransferTransactionV2Descriptor

Creates a descriptor for TransferTransactionV2.

Parameters⚓︎

Parameter Type Description
recipientAddress Address recipient address
amount Amount XEM amount
message? MessageDescriptor optional message
mosaics? SizePrefixedMosaicDescriptor[] attached mosaics notice that mosaic amount is multipled by transfer amount to get effective amount

Returns⚓︎

TransferTransactionV2Descriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.amount Amount
rawDescriptor.recipientAddress Address
rawDescriptor.type string

Methods⚓︎

toMap()⚓︎

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