eth_chainId
Returns the chain ID of the current network.
Returns
integer
📤 Request
curl --request POST \
     --url https://testnet-rpc.monad.xyz \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_chainId",
  "params": []
}
'