eth_chainId
Returns the chain ID used for signing replay-protected transactions.
Last updated
Returns the chain ID used for signing replay-protected transactions.
None
chainId - Hexadecimal value as a string representing the integer of the current chain id.
curl https://rpc.adiri.tel \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":62}'{
"id":67,
"jsonrpc": "2.0",
"result": "0x7e1"
}Last updated