Transfer
The transfer transaction allows the sender to transfer LTO tokens to the recipient.
id
andheight
should be omitted when broadcasting. These fields are set by the node.Binary strings (including
attachment
) are base58 encoded.timestamp
is in microseconds since epoch.fee
andamount
include 8 digits, soLTO * 10^8
Binary schema
The binary data structure of the unsigned transaction.
Transaction type
Byte (constant, value=4)
1
Version
Byte (constant, value=3)
1
Network id
Byte
1
Timestamp
Long
8
Sender's key type
KeyType (Byte)
1
Sender's public key
PublicKey (Array[Byte])
32 | 33
Fee
Long
8
Recipient
Address (Array[Byte])
26
Amount
Long
8
Attachment length (N)
Short
2
Attachment
Array[Byte]
N
Network id can be obtained by taking the 2nd byte from the sender address.
Each key type has a numeric id in addition to the reference from the JSON.
Integers (short, int, long) have a big endian byte order.
Last updated