Sends a JSON-RPC request to the server.
The JSON-RPC payload to send.
The result of the JSON-RPC request.
Will throw an error if the response ID does not match the request ID, or if the response contains an error.
Sends a JSON-RPC request to the server.