Skip to content

settxfee JSON-RPC command

settxfee amount

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


1. amount    (numeric or string, required) The transaction fee in BCH/kB

true|false        (boolean) Returns true if successful


> bitcoin-cli settxfee 0.00001
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;'

Bitcoin Cash Node Daemon version v27.0.1-7ef8bf2

Documentation on reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.