Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- block.coinbase represents the address of the miner who mined the current block.
- block.difficulty is a relative measure of how difficult it was to find the block.
- block.gaslimit restricts maximum gas consumption for transactions within the block.
- block.number is the height of current block.
- block.timestamp is when the block was mined.
- block.blockhash(block.number), which is the blockhash of the current block.
- block.blockhash(block.number - 1), which is the blockhash of the last block.
- block.blockhash() of a block that is at least 256 blocks older than the current one.
Add Comment
Please, Sign In to add comment