info.getNetworkName

Returns the human-readable name of the Avalanche network that this node is connected to (e.g., "mainnet", "fuji", "local").

Language
Credentials
Header
Click Try It! to start a request and see the response here!