<p>The amount you should pay is constantly changing, so you'll have to check at the time you send the transaction. <a href="https://bitcoinfees.21.co/api" rel="nofollow noreferrer">21 has an API that provides recommendations on mining prices.</a></p>

<p>They are only recommendations though, there isn't really a definitive answer. The network could get flooded with higher fee transactions at any time, and your fee would then appear relatively low to miners. If you need to be absolutely certain you may want to raise the fee even further, but I believe they've taken some amount of that into account.</p>

CC BY-SA 3.0
2017-05-23T10:21:43.640Z
So when I use the API it comes back measured in satoshis per byte. How do I know how many bytes my transaction is going to be??
Frank Bern
CC BY-SA 3.0
2017-05-23T22:11:33.083Z
Normally, handling your own wallet you could inspect it and make sure. I don't know with Blockchain.info.

According to https://bitcoin.stackexchange.com/questions/31974/what-is-the-average-size-of-a-bitcoin-transaction average size seems to be close 500. The transaction size will depend on how many inputs you have and how many outputs you create.

I wrote a program for this a while ago and was seeing, 315 bytes base(one input) and about 70 bytes additionally per output.
Steve Ellis
CC BY-SA 3.0
2017-05-23T03:44:13.767Z
2017-05-23T03:44:13.767Z
Steve Ellis
<p>I am using the blockchain.info API to send btc from my blockchain wallet to about 3000 addresses. I'm using their send to many API/Service to do this. </p>

<p>My problem is that I need to make sure the send doesn't get stuck or go to limbo. The amounts I'm sending are about 150USD to each of the 3000 addresses. </p>

<p>The API call lets you set a custom fee to pay. What fee should I pay to gain priority in the network and ensure the transaction goes through fast and easy as possible? </p>

<transaction-fees>
How do I determine an optimal or above average fee to gain priority in the network during a transaction?
Frank Bern
# How do I determine an optimal or above average fee to gain priority in the network during a transaction?

(Asked by: username_0 on 2017-05-23)

I am using the blockchain.info API to send btc from my blockchain wallet to about 3000 addresses. I'm using their send to many API/Service to do this.

My problem is that I need to make sure the send doesn't get stuck or go to limbo. The amounts I'm sending are about 150USD to each of the 3000 addresses.

The API call lets you set a custom fee to pay. What fee should I pay to gain priority in the network and ensure the transaction goes through fast and easy as possible?

**Tags:** transaction-fees


---

## 1 answers

### Answer by username_1 on 2017-05-23. Score: 1

The amount you should pay is constantly changing, so you'll have to check at the time you send the transaction. [21 has an API that provides recommendations on mining prices.](https://bitcoinfees.21.co/api)

They are only recommendations though, there isn't really a definitive answer. The network could get flooded with higher fee transactions at any time, and your fee would then appear relatively low to miners. If you need to be absolutely certain you may want to raise the fee even further, but I believe they've taken some amount of that into account.

> **Comments:**
> **username_0**: So when I use the API it comes back measured in satoshis per byte. How do I know how many bytes my transaction is going to be??  
> **username_1**: Normally, handling your own wallet you could inspect it and make sure. I don't know with Blockchain.info.  According to https://bitcoin.stackexchange.com/questions/31974/what-is-the-average-size-of-a-bitcoin-transaction average size seems to be close 500. The transaction size will depend on how many inputs you have and how many outputs you create.  I wrote a program for this a while ago and was seeing, 315 bytes base(one input) and about 70 bytes additionally per output.  

---

