eth_chainId

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

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