Skip to main content
POST
eth_chainId
Robinhood Chain API method that returns the chain ID of the current network.

Parameters

None

Response

  • quantity — the chain ID

eth_chainId code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_chainId
params
any[]

Response

200 - application/json

Returns the chain ID of the current network.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026