transactions / intro-to-transactions

Intro to Transactions Tx

Every interaction is considered a transaction, between users or a user to a smart contract.

Each transaction has a collection of values that have details about the transaction, for example:

  • nonce - transaction sequence number fr the sending account
  • gasprice - price you are offering to pay
  • startgas - maximum amount of gas allowed for the transaction
  • to - destination address (account or contract address)
  • value - eth to transfer to the destination, if any
  • data - all of the interesting stuff goes here
  • v - along with r and s makes up the ECDSA signature
  • -OR-
  • v, r, s - ECDSA signature