cast chain
NAME
cast-chain - Get the symbolic name of the current chain.
SYNOPSIS
cast chain [options]
DESCRIPTION
Get the symbolic chain name from the RPC endpoint we are connected to.
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
Common Options
-h
--help
    Prints help information.
EXAMPLES
- 
Get the chain name when talking to $RPC:cast chain --rpc-url $RPC
- 
Get the chain name when $ETH_RPC_URLis set:cast chain