Global EVM information
Read block fees, randomness, coinbase, transaction gas price, and gas left.
Solidity 0.8.36REPL mode
Why use this example
Use this pattern when the answer depends on transaction fields, block data, chain identity, payable value, or live RPC state. The entry isolates global evm information so its input, result, and state changes stay easy to compare.
Solidity to run
block.basefee
block.prevrandao
block.coinbase
tx.gasprice
gasleft()Official Solidity reference
Compare this focused investigation with the complete language definition in the Solidity documentation.
Block and transaction propertiesWhat to expect
The run displays the configured base fee and gas price with the current randomness, coinbase address, and remaining gas.
Continue the investigation
Change a value, add another expression, or open Inspect after the run. Accepted entries remain available to the next entry, and the clean replay keeps the complete result reproducible.
Read about execution controls Deployed contract investigation