Skip to main content

eth_chainId RPC Method

Loading...

Updated on
Apr 06, 2026

eth_chainId RPC Method

Parameters

This method does not accept any parameters

Returns

chain ID
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xfa"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xfa"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free