Skip to main content

net_version RPC Method

Returns the current network id.

Updated on
Jan 03, 2025

net_version RPC Method

Parameters

This method does not accept any parameters

Returns

result
string
The string value of current network id. The network id for Linea Mainnet is '59144'
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free