Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Najska on September 29, 2014, 02:54:54 PM



Title: Multiple output tx fees
Post by: Najska on September 29, 2014, 02:54:54 PM
Hi,

Do multiple output transactions require only one transaction fee, or do the sender pay tx fees for each output?


Title: Re: Multiple output tx fees
Post by: CIYAM on September 29, 2014, 02:56:29 PM
There is only *one fee* and it is calculated according to a formula that depends upon the "size of the tx" (due to the number of *inputs* and *outputs*) and the *age/amount* of the inputs.

Basically the bigger the tx is (in terms of bytes) the more fees will have to be paid (and there is a *maximum size limit* that is currently 1MB).

(I hope your question isn't because you are trying to work out how to send thousands of 0.00000001 BTC outputs as "spam" for advertising)


Title: Re: Multiple output tx fees
Post by: DannyHamilton on September 29, 2014, 02:59:43 PM
Hi,

Do multiple output transactions require only one transaction fee, or do the sender pay tx fees for each output?

You only pay one fee per transaction, but the amount of the fee should be based on the size of the transaction.

Each additional output in a transaction adds approximately an additional 35 bytes to the transaction.  The most common fee today is 0.0001 BTC per kilobyte.  As such, you would likely want to increase the amount of the fee by 0.0001 for every 28 outputs.


Title: Re: Multiple output tx fees
Post by: Najska on September 29, 2014, 04:23:27 PM
Thank you for the answers.

I asked the question because I thought the transaction fees regarding multiple outputs might create a problem when an issuer of a smart asset, e.g. a Counterparty token, tries to distribute dividends to the shareholders. Someone may buy thousands of small fractions of a dividend-paying token just to make trouble for the issuer.

Actually, I want to create Gigahash assets to lease my hashing power, and distribute dividends to the holders. I think I can buy more ASICs in this way, and then lease their hashing power, etc.