Skip to main content

settxfee

settxfee amount

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

yerbas-cli settxfee 0.00001

Arguments

ArgumentTypeDescription
amount(numeric)The transaction fee in YERB/kB
Arguments:
1. amount (numeric or string, required) The transaction fee in YERB/kB

Output

ResultTypeDescription
truefalse(boolean)Returns true if successful
Result:
true|false (boolean) Returns true if successful

Examples

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:9998/