Fees for bitcoind sendmany, limits for number of end addresses

5

1

I have two questions, both about sendmany.

First, is there any limit on how much transactions can I send with sendmany? (Apart from bash's limit with maximal parameter length.) Is sending about 500 transactions OK?

Second, what will be the fees used when I send a lot of transactions (and thus, probably creating a big transaction)?

Karel Bílek

Posted 2014-02-17T18:15:18.833

Reputation: 2 197

I would also like to know. Someone? – None – 2014-03-01T04:51:40.413

The upvote function is there for this very reason. Please don't use the answer field for this type of comment.bvpx 2014-03-01T06:54:41.933

This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation.

Murch 2014-03-01T09:26:50.033

Answers

4

You can calculate your transaction size before sending the transaction. Here's some more info on that:

How to calculate transaction size before sending

A single transaction isn't limited to how many outputs it has, rather, there are some limits to how big a block is. You can read more here:

How many different destinations can a single transaction have?

EDIT: After calculating the size, you can further calculate fees by using this method (it takes into account some code in main.h):

What is the exact formula for calculating transaction fees?

bvpx

Posted 2014-02-17T18:15:18.833

Reputation: 1 052

That is interesting. I would guess the fees are then added based on "recommended" values and the size, right?Karel Bílek 2014-03-02T08:11:15.463

I am accepting this answer, but if someone answers the part about fees I will be glad.Karel Bílek 2014-03-02T19:39:02.470