Web3Client constructor

Web3Client(
  1. String rpcUrl,
  2. dynamic httpClient, {
  3. ChainConfig? chain,
})

Implementation

Web3Client(
  this.rpcUrl,
  dynamic httpClient, {
  dw3_chains.ChainConfig? chain,
}) : _client = PublicClient(
        provider: RpcProvider(HttpTransport(rpcUrl)),
        chain: chain ?? dw3_chains.Chains.ethereum,
      );