fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST): Promise<String>
Makes an JSON-RPC call to the remote server.
url - an URL address
url
data - data to be sent
data
method - a HTTP method
method
Return a promise of the result