Returns a dictionary in the form of a JSON-RPC request. Requests are sent to a server with the expectation of a response. The ID field is used for the server to specify which exact request it is responding to.
- method: Name of the method being called.
- params: An array or dictionary of parameters being passed to the method.
- id: Uniquely identifies this request. The server is expected to send a response with the same ID.
Returns a dictionary in the form of a JSON-RPC request. Requests are sent to a server with the expectation of a response. The ID field is used for the server to specify which exact request it is responding to. - method: Name of the method being called. - params: An array or dictionary of parameters being passed to the method. - id: Uniquely identifies this request. The server is expected to send a response with the same ID.