Guest User

Untitled

a guest
Jun 21st, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. block.coinbase represents the address of the miner who mined the current block.
  2. block.difficulty is a relative measure of how difficult it was to find the block.
  3. block.gaslimit restricts maximum gas consumption for transactions within the block.
  4. block.number is the height of current block.
  5. block.timestamp is when the block was mined.
  6. block.blockhash(block.number), which is the blockhash of the current block.
  7. block.blockhash(block.number - 1), which is the blockhash of the last block.
  8. block.blockhash() of a block that is at least 256 blocks older than the current one.
Add Comment
Please, Sign In to add comment