Parameters
NoneResponse
quantity— the number of hashes per second
quantity — the number of hashes per secondeth_hashrate code examplesconst { JsonRpcProvider } = require("ethers");
const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");
async function call() {
const result = await provider.send("eth_hashrate", []);
console.log(result);
}
call();
Was this page helpful?