Alias transaction binary format

Learn more about alias transaction

Transaction version 2

Field order number Field JSON field name Field type Field size in bytes Comment
1 Version flag Byte 1 Indicates the transaction version is version 2 or higher.
Value must be 0
2 Transaction type ID type Byte 1 Value must be 10
3 Transaction version version Byte 1 Value must be 2
4 Public key of the transaction sender senderPublicKey Array[Byte] 32
5 Alias length Short 2 Number of characters in the alias name
6 Alias alias String from 4 to 30
7 Transaction fee fee Long 8
8 Transaction timestamp timestamp Long 8
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.

Transaction version 1

Field order number Field Field type Field size in bytes Comment
1 Transaction type ID Byte 1 The value must be 10
2 Public key of the transaction sender Array[Byte] 32
3 Alias length Short 2 Number of characters in the alias name
4 Alias Array[Byte] from 4 to 30
5 Transaction fee Long 8
6 Transaction timestamp Long 8
7 Transaction signature Array[Byte] 64

results matching ""

    No results matching ""