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

x/bitcoin_rpc/mod.ts>default#getblockstats

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

Compute per block statistics for a given window. All amounts are in satoshis. https://developer.bitcoin.org/reference/rpc/getblockstats.html

Parameters

hash_or_height: number | string
optional
stats: Array<string>