A block usually contains any transaction. The block itself can be identified by the block height. Forge CLI provides multiple syntaxes to query the block information.
forge help block To list these syntaxes:
forge block 12 You can query the block information with a block height of 12 and get the following results:
It is not difficult to see that the block with a block height of 12 does not contain any transactions.
forge block 12 --show-txs You can query the block information with a block height of 12 and type out the transaction information.
forge block 1...4, Query all blocks with a block height from 1 to 4.
forge block -f Used to query the speed of real-time output.