v1
latestOpenAPI 3.0.02026-07-26541677.9 KBEthereum API
eth_chainId
Gets the current chain ID
post/eth_chainId
Request body
Response
Returns the chain ID in hexadecimal format
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x144"
}Gets the current chain ID
Returns the chain ID in hexadecimal format
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x144"
}