<p>You can set the fee (commission) paid with the settxfee RPC command:</p>

<blockquote>
  <p>bitcoin-cli settxfee 0.00045</p>
</blockquote>

CC BY-SA 4.0
2018-09-29T06:52:31.477Z
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
CC BY-SA 4.0
2018-09-28T12:31:41.007Z
2018-09-28T12:31:41.007Z
dbkeys
<p>I am using the <code>bitcoind</code> API to send transactions from my account to user accounts. I have found, that the <code>sendtoaddress</code> method uses <code>address,amount and comment</code> to send transactions, but I need to set comission for each transaction. Please help me to solve this problem!</p>

<bitcoind>
Set transaction fee
Yur Gasparyan
# Set transaction fee

(Asked by: username_0 on 2018-09-28)

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!

**Tags:** bitcoind


---

## 1 answers

### Answer by username_1 on 2018-09-28. Score: 1

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

> bitcoin-cli settxfee 0.00045

> **Comments:**
> **username_0**: 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  

---

