eth_chainId
Returns the current chain ID, which is used for replay-protected transaction signing introduced by EIP-155.
Request
Response
A hexadecimal integer string representing the current chain ID.
It is recommended to use eth_chainId
instead of net_version
to reliably identify the chain it is communicating with.
Last updated