When I use the "send_many()" function in the blockchain.info api, have I to pay the fee only once or for each?

2

The blockchain.info api looks like this: enter image description here

The link is: https://github.com/blockchain/api-v1-client-python/blob/master/docs/wallet.md

But when I give a fee like this:

add={'address1':amount1,'address2':amount2}
fee=5000
pay = wallet.send_many(recipients=add,fee=fee)

Will it then be 10000 (two times 5000) or will it be 5000?

Thanks for the answers.

Marc-Andre

Posted 2016-03-28T18:10:50.723

Reputation: 65

Answers

3

You will pay the fee once, since it is one transaction with multiple outputs (thus only 5000).

However, also read this

karask

Posted 2016-03-28T18:10:50.723

Reputation: 2 089