The structure of a tx

A transaction is a serialized binary message that contains:

1. nonce (prevent message replay)

2. gas price (amount of ether the originator is willing to pay)

3. gas limit (maximum gas the originator is willing to buy)

4. recipient (destination Ethereum address)

5. value (amount of ether to send to the destination)

6. data (variable-length binary data payload)

7. v, r, s (components of an ECDSA digital signature of the originating EOA)

Last updated