net_version RPC Method
To use the net_version method on the C-Chain, ensure that the end of your URL includes ext/bc/C/ws.
Parameters
This method does not accept any parameters
Returns
result
Loading...
1 - ethereum mainnet
Loading...
2 - morden testnet (deprecated)
Loading...
3 - ropsten testnet
Loading...
4 - rinkeby testnet
Loading...
5 - goerli testnet
Loading...
11155111 - sepolia testnet
Loading...
10 - optimism mainnet
Loading...
69 - optimism kovan testnet
Loading...
42 - kovan testnet
Loading...
137 - matic/polygon mainnet
Loading...
80001 - matic/polygon mumbai testnet
Loading...
250 - fantom mainnet
Loading...
100 - xdai mainnet
Loading...
14 - Flare mainnet
Loading...
Request
1curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc": "2.0",5"method": "net_version",6"params": [],7"id": 18}'
1curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc": "2.0",5"method": "net_version",6"params": [],7"id": 18}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free