EVM
eth_chainId
Returns the EIP155 chain ID used for transaction signing at the current best block. Null is returned if not available.
POST
Parameters
string
default:"137"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"eth_chainId"
required
JSON-RPC method name.
Returns
string
The EIP155 Chain ID, or null if not available. Example:
“0x1”.