Static
Readonly
MAINNETMainnet (value=0).
Static
Readonly
STAGENETStagnet (value=2).
Static
Readonly
TESTNETTestnet (value=1).
Static
fromValidate and normalize the given network type.
the network type to validate and normalize
the given network type
Static
isIndicates if the given network type is valid or not.
the network type to validate as a numeric
true if the network type is valid, false otherwise
Static
parseParse the given string as a network type.
"mainnet", "testnet", or "stagenet" (case insensitive)
the network type as a numeric
Static
toGet the network type in human-readable form.
the network type in human-readable form
Static
validateValidate the given network type.
the network type to validate as a numeric
Generated using TypeDoc
Defines the Monero network types (mainnet, testnet, and stagenet).