Skip to main content
Version: 1.0.0

Ethereum Configuration

Get Ethereum configuration

Get Ethereum configuration is a helper function that holds default information for commonly used Ethereum networks 1.

Get Ethereum configuration

This function returns a Struct that contains:

  • 2 Network's RPC URL endpoint
  • 3 Network's name
  • 4 Network's Chain ID
  • 5 Network's Symbol.

We didn't provide a block explorer link as it is unlikely to be used in a final product.

Currently supported networks are:

  • Main Nets:

    • Ethereum
    • Polygon
    • Avalanche
    • Binance Smart Chain
    • Cronos
    • Huobi Eco Chain
    • Lukso
    • Ronin
  • Test Nets:

    • Ethereum Ropsten
    • Ethereum Rinkeby
    • Ethereum Goerli
    • Ethereum Sepolia
    • Polygon Mumbai
    • Avalanche FUJI C-Chain
    • Binance Smart Chain
    • Cronos
    • Huobi Eco Chain
    • Lukso
    • Ronin
    • Localhost

Custom Ethereum Configuration

By creating a struct inherited from Web3S_BlockchainConfig you are able to store any other network configuration for later use. You can also use local Blockchains like Ganache, or private end points such as Infura to access public and private Blockchains.

Custom Network Configuration