Current offer: every account has 1 reset chance(s) to top its balance back up to 30,000,000 CU in one click. New accounts start with 30,000,000 CU. Learn more →
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:

  • EthereumBetaeth_mainnet
  • HyperEVMhyperevm_mainnet
  • Robinhood Chainrobinhood_mainnet