jsonRpcCall

fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: <Error class: unknown class> = HttpMethod.POST, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null): <Error class: unknown class><String>

Makes an JSON-RPC call to the remote server.

Return

a promise of the result

Parameters

url

an URL address

data

data to be sent

method

a HTTP method

requestFilter

a request filtering function