eth_chainId

Returns the chain ID of the current network. zkSync Era Mainnet has a chain ID of 324. The value is used in replay-protected transaction signing as introduced by EIP-155.

Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to eth_chainId
Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json