public enum EthNetwork extends Enum<EthNetwork>
| Enum Constant and Description |
|---|
GORLI |
KOVAN |
MAINNET |
RINKEBY |
ROPSTEN |
TOBALABA |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain() |
static EthNetwork |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EthNetwork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EthNetwork MAINNET
public static final EthNetwork ROPSTEN
public static final EthNetwork KOVAN
public static final EthNetwork TOBALABA
public static final EthNetwork GORLI
public static final EthNetwork RINKEBY
public static EthNetwork[] values()
for (EthNetwork c : EthNetwork.values()) System.out.println(c);
public static EthNetwork valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDomain()
Copyright © 2019. All rights reserved.