Methods

Time

Server time in milliseconds since epoch

Public · Returns response

Method time

Server time in milliseconds since epoch

Request

This method takes no parameters.

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "time"
}

Response

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

time*integer

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "time": 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.