<p>There is no real concept of sender identities, as far as the blockchain is concerned. The fee split is entirely determined by the change output values, which are entirely determined by the signers of the transaction.</p>

<p>A transaction involving inputs from two separate parties will require some coordination between them to decide on the recipient and change. It is presumed that during this coordination, a fee is decided upon, and set.</p>

<p>Bitcoin itself offers no insight into this splitting process, it should be handled out of band by the wallet or tool used to construct the transaction, based on configuration from the senders</p>

CC BY-SA 4.0
2018-08-17T06:41:22.120Z
2018-08-17T06:41:22.120Z
Raghav Sood
<p>I know how fee is calculated in a transaction, 
but I don't know how this fee amount split into senders.</p>

<p><strong>For example</strong>, consider the following transaction with <code>0 BTC miner fee</code>:</p>

<blockquote>
  <p>inputs: </p>

<pre><code>   Alice    sends     20 BTC -&gt;
   Bob      sends     10 BTC -&gt;
</code></pre>
  
  <p>miner fee: <code>0 BTC</code></p>
  
  <p>outputs: </p>

<pre><code>-&gt; Carol   receives   15 BTC
-&gt; Alice   receives   10 BTC
-&gt; Bob     receives   5  BTC
</code></pre>
</blockquote>

<p>Now if we consider <code>1 BTC for miner fee</code> , how does these output amounts change?</p>

<p><strong>Maybe in half?</strong></p>

<pre><code>-&gt; Carol   receives   15  BTC
-&gt; Alice   receives   9.5 BTC
-&gt; Bob     receives   4.5 BTC
</code></pre>

<transaction-fees><transaction-input>
How does fee split between senders in a transaction?
soroushkavousi
# How does fee split between senders in a transaction?

(Asked by: username_0 on 2018-08-17)

I know how fee is calculated in a transaction,
but I don't know how this fee amount split into senders.

**For example**, consider the following transaction with `0 BTC miner fee`:

> inputs:
>
> ```
>    Alice    sends     20 BTC ->
>    Bob      sends     10 BTC ->
>
> ```
>
> miner fee: `0 BTC`
>
> outputs:
>
> ```
> -> Carol   receives   15 BTC
> -> Alice   receives   10 BTC
> -> Bob     receives   5  BTC
>
> ```

Now if we consider `1 BTC for miner fee` , how does these output amounts change?

**Maybe in half?**

```
-> Carol   receives   15  BTC
-> Alice   receives   9.5 BTC
-> Bob     receives   4.5 BTC

```

**Tags:** transaction-fees, transaction-input


---

## 1 answers

### Answer by username_1 on 2018-08-17. Score: 4 | Accepted answer

There is no real concept of sender identities, as far as the blockchain is concerned. The fee split is entirely determined by the change output values, which are entirely determined by the signers of the transaction.

A transaction involving inputs from two separate parties will require some coordination between them to decide on the recipient and change. It is presumed that during this coordination, a fee is decided upon, and set.

Bitcoin itself offers no insight into this splitting process, it should be handled out of band by the wallet or tool used to construct the transaction, based on configuration from the senders


---

