@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 463 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getchaintips
*
* Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
*
*/
export function getChainTips(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getchaintips', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-chain-tips.js.map