@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 710 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* importprunedfunds "rawtransaction" "txoutproof"
*
* Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.
*
*/
export function importPrunedFunds(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'importprunedfunds', params: methodParams }, bitcoind);
}
//# sourceMappingURL=import-pruned-funds.js.map