BNB Smart Chain method
net_version
Returns the network ID as a decimal string. Superseded by eth_chainId.
How each provider handles it
This method has not been measured in this window.
It is in the catalogue but disabled, so nothing calls it.
What it does
The original network identifier, predating EIP-155. It returns a decimal string where `eth_chainId` returns a hex quantity.
They are the same number on every major network today, but they are not the same field, and `eth_chainId` is the one to use.
Returns
String — the network ID in decimal.
Try it
Runnable as written, against a keyless public endpoint. Nothing here needs an API key.
Request
curl -s https://ethereum-rpc.publicnode.com \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}'As JSON-RPC
{
"jsonrpc": "2.0",
"method": "net_version",
"params": [],
"id": 67
}Response
{
"id": 67,
"jsonrpc": "2.0",
"result": "1"
}Things that bite
- Decimal
"1", not hex"0x1". Code that compares the two without converting will silently disagree.
Why it is measured
Kept as a legacy compatibility check and disabled by default, since almost nothing should still be reading it.
Called every 900 seconds per endpoint, with jitter so the fleet does not hit a provider in lockstep.
6h window · generated 2026-08-24 17:26:06 UTC · 0 providers