libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Description

 
Synopsis

Documentation

data NetworkEthereumAttributes Source #

Attributes of Ethereum for a network.

See: newNetworkEthereumAttributes smart constructor.

Constructors

NetworkEthereumAttributes' 

Fields

  • chainId :: Maybe Text

    The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

    • mainnet = 1
    • rinkeby = 4
    • ropsten = 3

Instances

Instances details
Eq NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Read NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Show NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Generic NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Associated Types

type Rep NetworkEthereumAttributes :: Type -> Type #

NFData NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

Hashable NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

FromJSON NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

type Rep NetworkEthereumAttributes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes

type Rep NetworkEthereumAttributes = D1 ('MetaData "NetworkEthereumAttributes" "Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "NetworkEthereumAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "chainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNetworkEthereumAttributes :: NetworkEthereumAttributes Source #

Create a value of NetworkEthereumAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:chainId:NetworkEthereumAttributes', networkEthereumAttributes_chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

  • mainnet = 1
  • rinkeby = 4
  • ropsten = 3

networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text) Source #

The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

  • mainnet = 1
  • rinkeby = 4
  • ropsten = 3