Author

Topic: Multiple output tx fees (Read 762 times)

full member
Activity: 152
Merit: 100
September 29, 2014, 11:23:27 AM
#4
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.
legendary
Activity: 3472
Merit: 4801
September 29, 2014, 09:59:43 AM
#3
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.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
September 29, 2014, 09:56:29 AM
#2
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)
full member
Activity: 152
Merit: 100
September 29, 2014, 09:54:54 AM
#1
Hi,

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