eth_chainId

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