Home

Robinhood Chain method - eth_chainId

POST
https://robinhood.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the hexadecimal string of the current chain ID.

Body

application/json

JSON-RPC 2.0 request to the Robinhood Chain mainnet endpoint.

Request payload for Returns the hexadecimal string of the current chain ID..

jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

Name of the method to call

paramsArray<any>required

This method does not require parameters. Use an empty array.

idintegerrequired

Unique identifier for the request

Response

200OK

Chain ID response

500Internal Server Error

Upstream node or gateway error.