EvmRpcClient constructor

EvmRpcClient(
  1. String rpcUrl, {
  2. Duration rateLimitTimeout = const Duration(seconds: 30),
  3. void onRpcError(
    1. Object e,
    2. StackTrace s,
    3. String url
    )?,
})

Implementation

EvmRpcClient(
  String rpcUrl, {
  this.rateLimitTimeout = const Duration(seconds: 30),
  this.onRpcError,
}) : _rpc = JsonRPC(rpcUrl, HTTPService.client);