Transfer Transaction

Transfer transactions are used to send mosaics and messages between two accounts.

../_images/transfer-transaction.png

Alice sends 10 symbol.xym to Bob

Recipient

The recipient is the address of the account that receives the TransferTransaction.

It is possible to send mosaics to any valid address, even if the address has not previously participated in any transaction.

Note

If nobody owns the private key of the recipient’s account, the funds are most likely lost forever.

Mosaics

A mosaic could be a token, but it could also be more specialized assets such as reward points, shares of stock, signatures, status flags, votes or even other currencies.

You can send a combination of different mosaics in the same transaction.

Message

In the public network, transfer transactions can hold a message up to 1023 characters in length, making them suitable for timestamping data permanently on the blockchain.

By default, the messages attached are visible to all network participants.

Encrypted message

Encrypted messages are only accessible by the sender and the recipient.

Symbol uses Bouncy Castle’s AES block cipher implementation in CBC mode to encrypt and decrypt messages.

Note

You can find under the crypto module how to encode and decode encrypted messages, but we recommend you to use the available SDK public methods instead.

Guides

Continue: Aggregate Transaction.