type: object

Properties

Name

Type

Required

Description

jsonrpc

string("2.0")

Yes

Version of JSON RPC protocol to use. Must be "2.0".

id

any

No

Set by client to any value other than null if you expect a response.

method

string

Yes

Name of method to invoke.

params

array || object

Depend on method

Input parameters for the method, encoded either as positional parameters (array) or named parameters (object).

{
    "jsonrpc": "2.0",
    "method": "<RPC METHOD>",
    "id": 1,
    "params": {}
}