@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 529 B
TypeScript
import { Bitcoind } from '../../types.js';
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 {};
//# sourceMappingURL=get-block-header.d.ts.map