Transaction
This section describes the structure of a transaction
Overview
A transaction is used to effect a change in the state of the blockchain state. We use transactions to authorize and initiate the movement of value from one account to another. They are also use to cause the execution of arbitrary behaviours in smart contracts.
Structure
Field
Type
Description
type
The type of transaction (0x1 = Balance or 0x2 = Allocation)
fee
String
The amount of fee to be paid.
from
String
The address of the creator.
to
String
The address of the recipient or beneficiary.
value
String
The amount of ELL to be sent to the recipient.
nonce
The number of transactions created by the sender.
senderPubKey
String
The public key of the sender. Used to verify the transaction signature.
hash
String
The hash of the transaction
timestamp
The unix time of creation.
sig
The signature of the transaction.
Example:
Last updated
Was this helpful?