Skip to main content

settxfee

Command#

pacprotocol-cli settxfee amount

Set the transaction fee per kB. Overwrites the paytxfee parameter.

Arguments#

amount *#

(numeric or string, required)

The transaction fee in PAC/kB

Examples#

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

Result#

true|false #(boolean) Returns true if successful

Running following help command

pacprotocol-cli help settxfee

Will produce following output:

settxfee amount
Set the transaction fee per kB. Overwrites the paytxfee parameter.
Arguments:
1. amount (numeric or string, required) The transaction fee in PAC/kB
Result:
true|false (boolean) Returns true if successful
Examples:
> pacprotocol-cli settxfee 0.00001
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/