UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

18 lines 813 B
import { Bitcoind } from '../../types.js'; type GetBlockParams = { bitcoind: Bitcoind; blockhash: string; verbosity?: number; }; /** * getblock "blockhash" ( verbosity ) * * If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'. * If verbosity is 1, returns an Object with information about block 'hash'. * If verbosity is 2, returns an Object with information about block <hash> and information about each transaction. * If verbosity is 3, returns an Object with information about block <hash> and information about each transaction, including prevout information for inputs (only for unpruned blocks in the current best chain). * */ export declare function getBlock(params: GetBlockParams): Promise<any>; export {}; //# sourceMappingURL=get-block.d.ts.map