I am using the bitcoind API to send transactions from my account to user accounts. I have found, that the sendtoaddress method uses address,amount and comment to send transactions, but I need to set comission for each transaction. Please help me to solve this problem!


You can set the fee (commission) paid with the settxfee RPC command:

bitcoin-cli settxfee 0.00045

  • 1
    How can i check the size of transaction ? I have already found answers in stackoverflow. but can not understood, how can i check the size of transaction before sending – Yur Gasparyan Sep 29 '18 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.