bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 583 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* 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) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'settxfee', params: methodParams }, bitcoind);
}