Skip to main content

ChainId

Functions#

get#

function get(
) internal returns (uint256 chainId)

Gets the current chain ID

Return Values:#

NameTypeDescription
chainIduint256The current chain ID