Parameters
string
default:"eth-hoodi-beacon"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"eth_chainId"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
The EIP155 Chain ID, or null if not available. Example: “0x1”.