/ DEVELOPERS / API / NET_VERSION
net_version
Returns the network ID as a decimal string. Older tooling uses this in place of eth_chainId.
net_version
Returns the network ID as a decimal string. Older tooling uses this in place of eth_chainId.
net_*category: metareturns: string
Parameters
Response
Press Send Request to see a response.
Copy as
curl -X POST '/rpc' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}'