Skip to main content

hashrate

Returns the number of hashes per second that the node is mining with.

Parameters

>_ no params required

Returns

QUANTITY

number of hashes per second.

Requests

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://testnode.jumbochain.org");
var content = new StringContent("{\n\t\"jsonrpc\":\"2.0\",\n\t\"method\":\"jumbo hashrate\",\n\t\"params\":[],\n\t\"id\":71\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());