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