eth_chainId - Ethereum
Recalls the new configured chain id, which value will come in handy for replay-protected transaction realization as in EIP-155 suggestions
How to Use the eth_chainId Method
Parameters
What you receive
Sample
Call
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
Outcome
Last updated