You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Ethereum account is associated with each address and each have the following attributes:
nonce the count of the number of outgoing transactions, starting with 0 balance the amount of ether in the account storageRoot the hash associated with the storage of the account codeHash the hash of the code governing the account, if this is empty then the account is a normal account that can be accessed with its private key else it is a smart contract whose interactions are governed by its code
Txn: (This one is covered in the course)
Next we take a look at a transaction, there are 6 input fields:
nonce the count of the number of outgoing transactions, starting with 0 gasPrice the price to determine the amount of ether the transaction will cost gasLimit the maximum gas that is allowed to be spent to process the transaction
to the account the transaction is sent to, if empty, the transaction will create a contract value the amount of ether to send data could be an arbitrary message or function call to a contract or code to create a contract
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Account:
An Ethereum account is associated with each address and each have the following attributes:
nonce the count of the number of outgoing transactions, starting with 0
balance the amount of ether in the account
storageRoot the hash associated with the storage of the account
codeHash the hash of the code governing the account, if this is empty then the account is a normal account that can be accessed with its private key else it is a smart contract whose interactions are governed by its code
Txn: (This one is covered in the course)
Next we take a look at a transaction, there are 6 input fields:
nonce the count of the number of outgoing transactions, starting with 0
gasPrice the price to determine the amount of ether the transaction will cost
gasLimit the maximum gas that is allowed to be spent to process the transaction
to the account the transaction is sent to, if empty, the transaction will create a contract
value the amount of ether to send
data could be an arbitrary message or function call to a contract or code to create a contract
Beta Was this translation helpful? Give feedback.
All reactions