@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 561 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* settxfee amount
*
* Set the transaction fee rate in BTC/kvB for this wallet. Overrides the global -paytxfee command line parameter.
* Can be deactivated by passing 0 as the fee. In that case automatic fee selection will be used by default.
*
*/
export function setTxFee(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'settxfee', params: methodParams }, bitcoind);
}
//# sourceMappingURL=set-tx-fee.js.map