net_version
Returns the current network id.
Parameters
None
Return Type
ChainId
- The current network id. The full list of chain IDs is available at chainlist.org. Some of the common ones are noted bellow.
ChainId
Example
Last updated
Was this helpful?