Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bitcoin_rpc/mod.ts>default#getnetworkhashps

A Bitcoin RPC Module for Deno.
Latest
method default.prototype.getnetworkhashps
import { default } from "https://deno.land/x/bitcoin_rpc@v1.0.3/mod.ts";

Returns the estimated network hashes per second based on the last n blocks. https://developer.bitcoin.org/reference/rpc/getnetworkhashps.html

Parameters

optional
nblocks: number
optional
height: number