<p>Yes, source address is the locking bytecode of a &quot;prevout&quot; (output of an ancestor transaction) being consumed as a transaction input.
Because any transaction can have multiple inputs, then any existing UTXO can have multiple source addresses.</p>
<p>Any UTXOs full ancestry could be constructed as a directed acyclic graph (DAG) where the UTXO would be at the root of the graph, and each end would trace to some coinbase output. Most UTXOs would trace back to lots and lots of coinbase outputs with each output being a distinct endpoint.</p>

CC BY-SA 4.0
2023-10-11T09:16:40.303Z
I didn't mean to say that, maybe I should reword. Each endpoint of the DAG would be 1 coinbase UTXO but there would be many such endpoints. Most UTXOs would trace back to lots and lots of coinbase outputs. If they were mixed, the graph would get quite big.
bca-0353f40e
CC BY-SA 4.0
2023-10-11T18:12:57.120Z
Note that the “source addresses” should not be confused with a “from address”: just because funds were previously under some specific output script’s control, does not necessarily mean that the sender will receive funds sent to that script. For example when a transaction is sent by a custodial wallet service, the “source address” may be associated with a different customer of the custodian than the sender.
Murch
CC BY-SA 4.0
2023-10-11T05:53:24.660Z
2023-10-11T09:18:25.113Z
2023-10-11T09:18:25.113Z
bca-0353f40e
<p>I know that bitcoin transaction is based on UTXO, including input script and output script. But recently I browse bitcoin explorer and I found it listed source addresses of a transaction. I wonder whether the source address it listed is the one in the last transaction's output script also working as the input script of this transaction?</p>

<address><input-script><output-script>
Does bitcoin transaction have source address?
Harry
# Does bitcoin transaction have source address?

(Asked by: username_0 on 2023-10-11)

I know that bitcoin transaction is based on UTXO, including input script and output script. But recently I browse bitcoin explorer and I found it listed source addresses of a transaction. I wonder whether the source address it listed is the one in the last transaction's output script also working as the input script of this transaction?

**Tags:** address, input-script, output-script


---

## 1 answers

### Answer by username_1 on 2023-10-11. Score: 1

Yes, source address is the locking bytecode of a "prevout" (output of an ancestor transaction) being consumed as a transaction input.
Because any transaction can have multiple inputs, then any existing UTXO can have multiple source addresses.

Any UTXOs full ancestry could be constructed as a directed acyclic graph (DAG) where the UTXO would be at the root of the graph, and each end would trace to some coinbase output. Most UTXOs would trace back to lots and lots of coinbase outputs with each output being a distinct endpoint.

> **Comments:**
> **username_1**: I didn't mean to say that, maybe I should reword. Each endpoint of the DAG would be 1 coinbase UTXO but there would be many such endpoints. Most UTXOs would trace back to lots and lots of coinbase outputs. If they were mixed, the graph would get quite big.  
> **username_2**: Note that the “source addresses” should not be confused with a “from address”: just because funds were previously under some specific output script’s control, does not necessarily mean that the sender will receive funds sent to that script. For example when a transaction is sent by a custodial wallet service, the “source address” may be associated with a different customer of the custodian than the sender.  

---

