eth_chainId
POST
Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.
Connection URL:
Copied!
wss://avax.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://avax.nownodes.io/wss/YOUR_API_KEY'
> {"id":1,"jsonrpc":"2.0","method":"eth_chainId"}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.