Mass transfer transaction binary format

Learn more about mass transfer transaction

Transaction version 1

Field order number Field JSON field name Field type Field size in bytes Comment
1 Transaction type ID type Byte 1 Value must be 11
2 Transaction version version Byte 1 Value must be 1
3 Public key of the transaction sender senderPublicKey Array[Byte] 32
4.1 Flag WAVES/token Byte 1 Value is 0 for transferring WAVES.
Value is 1 for transferring other tokens
4.2 Token ID assetId Array[Byte] S S = 0 if the value of the "flag WAVES/token" field is 0.
S = 32 if the value of the "flag WAVES/token" field is 1
5.1 Number of transfers transferCount Short 2
5.2 Sum of all transfers totalAmount Long 8
5.3 Address or alias of the recipient of the transfer 1 recipient Array[Byte] 32
5.4 Amount of tokens in the transfer 1 amount Long 8
5.5 Address or alias of the recipient of the transfer 2 recipient Array[Byte] 32
5.6 Amount of tokens in the transfer 2 amount Long 8
... ... ... ... ... ...
... ... ... ... ... ...
5.[2× N + 1] Address or alias of the transfer recipientN recipient Array[Byte] 32
5.[2× N + 2] Amount of tokens in the transferN amount Long 8
6 Transaction timestamp timestamp Long 8
7 Transaction fee fee Long 8
8.1 Attachment length Short 2
8.2 Attachment Array[Byte] 2 Arbitrary data attached to the transaction
9 Transaction proofs proofs Proofs S If the array is empty, then S= 3.
If the array is not empty, then S = 3 + 2 × N + (P1 + P2 + ... + Pn), where N is the number of proofs in the array, Pn is the size on N-th proof in bytes.
The maximum number of proofs in the array is 8. The maximum size of each proof is 64 bytes

JSON representation of the transaction

See the example in Node API.

results matching ""

    No results matching ""