Methods

Hello

Client identification and server version

Public · 2 params · Returns response

Method hello

Client identification and server version

Request

Send a JSON-RPC request with method: "hello" and the parameters below.

clientName*string
clientVersion*string

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "hello",
  "params": {
    "clientName": "string",
    "clientVersion": "string"
  }
}

Response

On success the server replies with a JSON-RPC response matching the request id and the fields below.

version*1.0.0

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "version": "1.0.0"
  }
}

On failure the server replies with a JSON-RPC error object matching the request id. See Errors for the full list of codes and recovery hints.