Ethereum.withConnectionParameters constructor
Ethereum.withConnectionParameters(
- EthereumINetworkAdapter adapter,
- String hostname,
- String scheme, [
- int? port = defaultHttpPort,
With connection parameters
Implementation
Ethereum.withConnectionParameters(
EthereumINetworkAdapter adapter, String hostname, String scheme,
[int? port = defaultHttpPort])
: _networkAdapter = adapter {
rpcClient = EthereumRpcClient(_networkAdapter);
/// Construct the API classes
_eth = EthereumApiEth(this);
_admin = EthereumApiAdmin(this);
connectParameters(scheme, hostname, port);
}