Type alias JRPC_REQUEST

JRPC_REQUEST: {
    id?: string | number;
    jsonrpc: string;
    method: string;
    params?: object | unknown[];
}

Represents a JSON-RPC request object.

Property

The JSON-RPC protocol version.

Property

The name of the method to call.

Property

The parameters to pass to the method (if any).

Property

The ID of the request (if any).

Type declaration

  • Optional id?: string | number
  • jsonrpc: string
  • method: string
  • Optional params?: object | unknown[]

Generated using TypeDoc