UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

16 lines (15 loc) 480 B
import { Bitcoind } from '../../types'; type GetBlockHeaderParams = { bitcoind: Bitcoind; blockhash: string; verbose?: boolean; }; /** * getblockheader "blockhash" ( verbose ) * * If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'. * If verbose is true, returns an Object with information about blockheader 'hash'. * */ export declare function getBlockHeader(params: GetBlockHeaderParams): Promise<any>; export {};