bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines (13 loc) • 317 B
TypeScript
import { Bitcoind } from '../../types';
type GetBlockCountParams = {
bitcoind: Bitcoind;
};
/**
* getblockcount
*
* Returns the height of the most-work fully-validated chain.
* The genesis block has height 0.
*
*/
export declare function getBlockCount(params: GetBlockCountParams): Promise<any>;
export {};