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
The received chain ID must fit the information in the actual known head block. It ensures that the user can apply the information for transactions’ assignment.
Parameters
No parameters.
What you receive
QUANTITY - large integer of the current chain id.
Sample
Here is a typical appliance example.
Call
Outcome
Last updated