mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
494 B
494 B
Solidity
Compatibility
- mainnet: v0.8.28
- testnet: v0.8.28
- devnet: v0.8.28
Special variables
block.prevrandao
The value of block.prevrandao is keccak256(block.number) in our current implemention. It is predictable and unsafe.
NOTICE: do not use it in real business.
block.basefee
The value of block.basefee is always 12.5 GWei in our EIP-1559 implemention.
block.blobbasefee
The value of block.blobbasefee is always 0 in our EIP-7516 implemention.