Skip to main content
Helpful?

ChainId

Functions

get

  function get(
) internal returns (uint256 chainId)

Gets the current chain ID

Return Values:

NameTypeDescription
chainIduint256The current chain ID
Helpful?