eth_chainId
POST
/{apiKey}
Returns the chain ID of the current network as a hexadecimal string.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Responses
200
The chain ID of the current network in hexadecimal format.
Was this page helpful?