Constructor with parameters.
The chain id of the network
The name of the network
The hardhat provider to wrap
Internal method to send the payload to the hardhat provider. This method is able to send multiple payloads. (send in batch)
The payload to send (request and method)'s
JSON RPC provider for ethers. Needed to customize ethers functionality into hardhat plugin.