Block is a collection of required information (a block header) about the comprised transactions, and a set of other block headers known as ommers. Blocks are added to the Ethereum network by miners.
We use a default provider to query block information on the ethereum mainnet.
Get the block from the network at the latest height.
Or specify a block number.
Let's see what the block contains.