@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 457 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getmempoolancestors "txid" ( verbose )
*
* If txid is in the mempool, returns all in-mempool ancestors.
*
*/
export function getMempoolAncestors(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getmempoolancestors', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-mempool-ancestors.js.map