-
Notifications
You must be signed in to change notification settings - Fork 48
transaction types
junu edited this page Dec 14, 2018
·
2 revisions
There are two kinds of transactions.
It's for transfer coin and running smart contract.
It's for running system contract such as staking, voting and so on.
Transaction of governance type has special payload and recipient.
Transaction | Account | Recipient | Amount | Payload | Type | Sign |
---|---|---|---|---|---|---|
staking | Sender | aergo.system | amount to staking | 's' | Governance | Signature of sender |
unstaking | " | aergo.system | amount to unstaking | 'u' | " | " |
voting | " | aergo.system | null | 'v'<peer ids bytes> | " | " |
create name | " | aergo.name | null | 'c'<name string> | " | " |
update name | " | aergo.name | null | 'u'<name string>','<new owner> | " | " |