cast age
NAME
cast-age - Get the timestamp of a block.
SYNOPSIS
cast age [options] [block]
DESCRIPTION
Get the timestamp of a block.
The specified block can be a block number, or any of the tags: earliest, finalized, safe, latest or pending. Default to latest.
OPTIONS
RPC Options
--rpc-url url
    The RPC endpoint. Accepts a URL or an existing alias in the [rpc_endpoints] table, like mainnet.
    Environment: ETH_RPC_URL
--flashbots
    Use the Flashbots RPC URL (https://rpc.flashbots.net)
Common Options
-h
--help
    Prints help information.
EXAMPLES
- 
Get the timestamp of the latest block: cast age
- 
Get the timestamp of the genesis block: cast age 1