user3784: I need to know, if I have to pay a transaction fee, in which output of the transaction the fee is included? is it output 0 or output 1?
I suppose that normally there is only 2 outputs for a transaction.

user208: Neither.
The transaction fee is the difference in value between the inputs and the outputs of a transaction.

3784: <p>I need to know, if I have to pay a transaction fee, in which output of the transaction the fee is included? is it output 0 or output 1?
I suppose that normally there is only 2 outputs for a transaction.</p>
 208: <p>Neither.</p>

<p>The transaction fee is the difference in value between the inputs and the outputs of a transaction.</p>
