Skip to main content

nil system chain-id

Description

Returns the chain ID of the current network

Usage

nil system chain-id [flags]

Regular Flags

NameTypeDescription
-h, --helpbooleanhelp for chain-id

Global Flags

NameTypeDescription
-c, --configstringThe path to the config file (default "/build/.config/nil/config.ini")
-l, --log-levelstringLog level: trace
-q, --quietbooleanQuiet mode (print only the result and exit)
-v, --verbosebooleanVerbose mode (print logs)