net_version
POST
/{apiKey}
Returns the network ID that the client is connected to.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Responses
200
The network ID as a string. Common IDs are `"1"` for mainnet, `"3"` for Ropsten, etc.
Was this page helpful?