@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 418 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getblockhash height
*
* Returns hash of block in best-block-chain at height provided.
*
*/
export function getBlockHash(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getblockhash', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-block-hash.js.map