|Hash||bytes||Hash of body|
|Body||Nonce||uint64||Increasing number used only once per sender account|
|Account||bytes||Decoded sender account address|
|Recipient||bytes||Decoded receiver account address|
|Amount||bytes||Amount of transfer|
|Payload||bytes||Smart contract data|
|Type||int||0 is normal type, 1 is governance type|
|Sign||bytes||ECDSA signature with secp256k1|
There are two kinds of transactions.
Normal transactions are used to transfer tokens and calling smart contracts.
Governance transactions are used for calling system contracts, such as staking and voting. Transactions of this type have a special payload format and recipient.
The following table shows the specification for each field of the transaction body.
||amount to stake||
||amount to unstake||