Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data NodeEthereumAttributes Source #
Attributes of an Ethereum node.
See: newNodeEthereumAttributes
smart constructor.
NodeEthereumAttributes' | |
|
Instances
newNodeEthereumAttributes :: NodeEthereumAttributes Source #
Create a value of NodeEthereumAttributes
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:httpEndpoint:NodeEthereumAttributes'
, nodeEthereumAttributes_httpEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC
methods over HTTP connections from a client. Use this endpoint in client
code for smart contracts when using an HTTP connection. Connections to
this endpoint are authenticated using
Signature Version 4.
$sel:webSocketEndpoint:NodeEthereumAttributes'
, nodeEthereumAttributes_webSocketEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC
methods over WebSockets connections from a client. Use this endpoint in
client code for smart contracts when using a WebSockets connection.
Connections to this endpoint are authenticated using
Signature Version 4.
nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) Source #
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using Signature Version 4.