public EthController(IWeb3EthApi web3EthApi, IWeb3HandlerResolver handlerResolver, IJsonSerializer jsonSerializer, IEthRpcService ethRpcService) { _ethRpcService = ethRpcService; _web3EthApi = web3EthApi ?? throw new ArgumentNullException(nameof(web3EthApi)); _handlerResolver = handlerResolver ?? throw new ArgumentNullException(nameof(handlerResolver)); _jsonSerializer = jsonSerializer ?? throw new ArgumentNullException(nameof(jsonSerializer)); }