Info
info.getNetworkName
Returns the human-readable name of the Avalanche network that this node is connected to (e.g., “mainnet”, “fuji”, “local”).
POST
Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Returns
Returns the network name string.