A transaction is a serialized binary message that contains the following components:
- Nonce: A sequence number, issued by the originating EOA, used to prevent message replay
- Gas Price: The amount of ether (in wei) that the originator is willing to pay for each unit of gas
- gasLimit: The maximum amount of gas the originator is willing to pay for this transaction
- Recipient: The destination Ethereum address
- Value: The amount of ether (in wei) to send to the destination
- Data: The variable-length binary data payload
- v, r, s: The three components of an ECDSA digital signature of the originating EOA
- Serialized Binary Message
- Nonce -> sequence number
- Gas Price -> denoted in Wei/Gas Unit
- gasLimit -> Max gas the EOA is will to pay for the tx
- recipient -> Dest addr
- Value -> Wei
- data -> payload
- v, r, s -> ECDSA sig
# seth gas-price