Transaction Types

There are two kinds of transactions.

Normal type

Normal transactions are used to transfer tokens and calling smart contracts.

Governance type

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.

Action Account Recipient Amount Payload Type Sign
staking Sender aergo.system amount to stake s Governance Signature of sender
unstaking aergo.system amount to unstake u
voting aergo.system 0 v<peer ids bytes, no separator>
create name 1 aergo c<name string>
update name 1 aergo u<name string>,<new owner address>