eth_chainId

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required
Defaults to testnet
.custom-style { color: #048FF4; }

The ecosystem represents the specific network or environment of the API. Available ecosystems include "mainnet", "testnet", etc, see supported-ecosystems.

Allowed:
string
required
Defaults to public
.custom-style { color: #048FF4; }

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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json