network property

String? network
getter/setter pair

The Ethereum environment being accessed.

Immutable. Possible string values are:

  • "NETWORK_UNSPECIFIED" : The network has not been specified, but should be.
  • "MAINNET" : The Ethereum Mainnet.
  • "TESTNET_GOERLI_PRATER" : The Ethereum Testnet based on Goerli protocol.
  • "TESTNET_SEPOLIA" : The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia.
  • "TESTNET_HOLESKY" : The Ethereum Testnet based on Holesky specification. See https://github.com/eth-clients/holesky.

Implementation

core.String? network;