bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/settxfee
Wallet

settxfee

Set the transaction fee per kB for this wallet. Overrides the global -paytxfee.

Parameters

amountnumberREQUIRED
The transaction fee in BTC/kvB

Returns

booleantrue if successful

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"settxfee","params":[0.00001]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

true
← Previous
setlabel
Next →
setwalletflag

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗