Package de.wenzlaff.blockchain
Enum Endpoints
- java.lang.Object
-
- java.lang.Enum<Endpoints>
-
- de.wenzlaff.blockchain.Endpoints
-
- All Implemented Interfaces:
Serializable,Comparable<Endpoints>
public enum Endpoints extends Enum<Endpoints>
Mögliche Endpoints von https://infura.io/dashboard/ethereum/- Author:
- Thomas Wenzlaff
-
-
Enum Constant Summary
Enum Constants Enum Constant Description arbitrum_mainnetarbitrum_rinkebygörlikovanmainnetoptimism_kovanoptimism_mainnetpolygonpolygon_mainnetpolygon_mumbairinkebyropsten
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EndpointsvalueOf(String name)Returns the enum constant of this type with the specified name.static Endpoints[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
mainnet
public static final Endpoints mainnet
-
ropsten
public static final Endpoints ropsten
-
kovan
public static final Endpoints kovan
-
rinkeby
public static final Endpoints rinkeby
-
görli
public static final Endpoints görli
-
polygon_mainnet
public static final Endpoints polygon_mainnet
-
polygon
public static final Endpoints polygon
-
polygon_mumbai
public static final Endpoints polygon_mumbai
-
arbitrum_mainnet
public static final Endpoints arbitrum_mainnet
-
arbitrum_rinkeby
public static final Endpoints arbitrum_rinkeby
-
optimism_mainnet
public static final Endpoints optimism_mainnet
-
optimism_kovan
public static final Endpoints optimism_kovan
-
-
Method Detail
-
values
public static Endpoints[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Endpoints c : Endpoints.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Endpoints valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-