eth_chainIdHTTP

Returns the chain ID for Ethereum (always 0x1).

Chain EthereumTransport HTTPTry-it live

How to use

  1. Pick an API key (or paste one) in the Try it panel.
  2. No parameters — send [] as-is.
  3. Send request — live against the gateway; counts toward daily quota.

Parameters

no params

This method takes an empty params array.

paramsjson
[]

Response fields

The result row describes the complete result; other rows describe its object fields or array elements. Indented rows describe nested members. For subscriptions,params.* rows describe later notifications rather than the initial reply.

FieldTypeDescription
resultQUANTITYChain id as hex (network-specific; see per-chain docs overrides).