Skip to main content

net_version RPC Method

Returns the current network id.

Updated on
Mar 27, 2026

Parameters

This method does not accept any parameters

Returns

result
string

The string value of current network id. The network id for Morph Mainnet is '2818'

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "2818"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "2818"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free