Skip to navigation

eth_chainId

Returns the chain ID used for signing replay-protected transactions. The chain ID is a number that identifies the blockchain network.

⚡ Compute Units: Free (0 CU)

Response

The chain ID of the current network, encoded as a hexadecimal string