eth_chainId

Returns chainId, which is the last 4 bytes of the genesis block hash.