net_version
Identify the current network ID for EVM-compatible blockchains like Ethereum, Polygon, and Arbitrum to verify which blockchain network you're connected to.
Instructions
Returns the current network id
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Input Schema (JSON Schema)
{
"properties": {},
"type": "object"
}