EVM RPC API
net_version
Returns the current network id.
Parameters
None
Returns
STRING
- The current network id. One of BR
”1”: Ethereum Mainnet BR
”2”: Morden Testnet (deprecated) BR
”3”: Ropsten Testnet BR
”4”: Rinkeby Testnet BR
”42”: Kovan Testnet BR
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: net_versionrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
string
required