Enum Class Blockchain

java.lang.Object
java.lang.Enum<Blockchain>
xyz.voltawallet.constant.Blockchain
All Implemented Interfaces:
Serializable, Comparable<Blockchain>, Constable

public enum Blockchain extends Enum<Blockchain>
  • Enum Constant Details

    • ETHEREUM_MAINNET

      public static final Blockchain ETHEREUM_MAINNET
    • ETHEREUM_GOERLI

      public static final Blockchain ETHEREUM_GOERLI
    • POLYGON_MUMBAI

      public static final Blockchain POLYGON_MUMBAI
  • Field Details

    • DEFAULT_ENTRY_POINT_ADDRESS

      public static final String DEFAULT_ENTRY_POINT_ADDRESS
      See Also:
    • chainName

      public final String chainName
    • chainId

      public final int chainId
  • Method Details

    • values

      public static Blockchain[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Blockchain valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null