Documentation
Search...
Ctrl
K
METIS (Metis)
API reference
Net version
Previous
Net peerCount
Next
Web3 clientVersion
Returns the current network id.
post
net_version
Responses
200
OK
application/json
object
Optional
Show child attributes
post
net_version
HTTP
HTTP
cURL
JavaScript
Python
Copy
POST / HTTP/1.1
Host: net_version
Accept: */*
200
OK
Copy
{
"id": 1,
"jsonrpc": "text",
"result": "text"
}