V3 ProtocolTechnical ReferencePeripheryLibrariesChainIdOn this pageChainIdFunctionsget function get( ) internal returns (uint256 chainId)Gets the current chain IDReturn Values:NameTypeDescriptionchainIduint256The current chain ID