JSON-RPCMethods
net_version: parameters, returns and CU
Return the network ID of the current network as a decimal string. See parameters, return value, CU metering and supported chains for this method.
Summary
Return the network ID of the current network as a decimal string.
Compute Units (CU) and Pricing
CU per call
10 CU
Price per 1M calls (USD)
$1
Parameters
This method takes no parameters.
Returns
- Type:
string - Description: Network ID as a decimal string (for example "1" on mainnet).
Notes
The network ID and the EIP-155 chain ID are distinct concepts; they are often equal but do not have to be, and signing should use eth_chainId.
Request Example
curl -X POST "https://dev-api.blockvectra.network/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H 'x-api-key: <api_key>' \
-d '{
"jsonrpc": "2.0",
"method": "net_version",
"params": [],
"id": 1
}'Supported Chains
Supported chains:
- EthereumBeta
eth_mainnet - HyperEVM
hyperevm_mainnet - Robinhood Chain
robinhood_mainnet
Related references
eth_syncing: parameters, returns and CU
Return the node's syncing status. See parameters, return value, CU metering and supported chains for this method.
web3_clientVersion: parameters, returns and CU
Return the client name and version string of the node. See parameters, return value, CU metering and supported chains for this method.