<blockquote>
  <p>I know that for a mining reward, a (special?) transaction is included in the the block (in the merkle tree I believe?)</p>
</blockquote>

<p>Yes, the so-called coinbase transaction that sends (currently) 12.5btc to the address of the mining node/pool/etc.</p>

<blockquote>
  <p>But how is a transaction fee payed out exactly?
  Is this also a special transaction?
  I would imagine the sender of the transaction has to then also include an extra transaction to pay out the fee?</p>
</blockquote>

<p>The fee is payed implicitly and it is not a special transaction. Each transaction has some inputs (addresses) and some outputs (addresses). The transaction fee is equal to: inputs value - output value. e.g. if the inputs are 1btc in total and sends to outputs a total value of 0.9995btc the remainder of 0.0005btc is payed as a transaction fee to the address specified in the coinbase transaction (miners address). </p>

CC BY-SA 3.0
2016-09-16T08:33:24.780Z
2016-09-16T08:33:24.780Z
karask
<p>I know that for a mining reward, a (special?) transaction is included in the the block (in the merkle tree I believe?)</p>

<p>But how is a transaction fee payed out exactly?</p>

<p>Is this also a special transaction? </p>

<p>I would imagine the sender of the transaction has to then also include an extra transaction to pay out the fee?</p>

<transaction-fees>
How is a transaction fee transferred?
BlockChange
# How is a transaction fee transferred?

(Asked by: username_0 on 2016-09-16)

I know that for a mining reward, a (special?) transaction is included in the the block (in the merkle tree I believe?)

But how is a transaction fee payed out exactly?

Is this also a special transaction?

I would imagine the sender of the transaction has to then also include an extra transaction to pay out the fee?

**Tags:** transaction-fees


---

## 1 answers

### Answer by username_1 on 2016-09-16. Score: 3

> I know that for a mining reward, a (special?) transaction is included in the the block (in the merkle tree I believe?)

Yes, the so-called coinbase transaction that sends (currently) 12.5btc to the address of the mining node/pool/etc.

> But how is a transaction fee payed out exactly?
> Is this also a special transaction?
> I would imagine the sender of the transaction has to then also include an extra transaction to pay out the fee?

The fee is payed implicitly and it is not a special transaction. Each transaction has some inputs (addresses) and some outputs (addresses). The transaction fee is equal to: inputs value - output value. e.g. if the inputs are 1btc in total and sends to outputs a total value of 0.9995btc the remainder of 0.0005btc is payed as a transaction fee to the address specified in the coinbase transaction (miners address).


---

