<blockquote>
<p>I was wondering, how is this attribute populated?</p>
</blockquote>
<p>The site uses an index that simply remembers this information. If a block B is seen that contains a transaction T, an entry is stored in the database that signifies &quot;transaction T is in block B&quot;.</p>
<blockquote>
<p>by looking at transaction inside of your UTXO, check in which block transaction was included (and then I found this attribute)</p>
</blockquote>
<p>The UTXO set does not contain this information, nor can it be efficiently requested from arbitrary nodes in the network.</p>

CC BY-SA 4.0
2020-07-13T18:56:18.913Z
2020-07-13T18:56:18.913Z
Pieter Wuille
<p>I was exploring transactions inside of a blockchain using  <a href="https://www.blockchain.com" rel="nofollow noreferrer">this site</a>, and inside of a transaction I noticed there is attribute called <code>Included in Block</code> and its description is: <code>block this transaction is mined and confirmed in</code>. <br/>
(I don't know does it matter but, transaction I was looking is <a href="https://www.blockchain.com/btc/tx/8088eeadbb0c6cbc6cc87ffacc05045f50195bd3837ec392a894465693578b57" rel="nofollow noreferrer">this one</a>)</p>
<hr />
<p>I was wondering, how is this attribute populated? The reason of my question is that I was exploring how can you, by looking at transaction inside of your UTXO, check in which block transaction was included (and then I found this attribute). Is this the right way?<br/>
Thank you!</p>

<transactions><blockchain><confirmations>
Where does "Included in Block" value comes from?
ddavi031
# Where does "Included in Block" value comes from?

(Asked by: username_0 on 2020-07-13)

I was exploring transactions inside of a blockchain using [this site](https://www.blockchain.com), and inside of a transaction I noticed there is attribute called `Included in Block` and its description is: `block this transaction is mined and confirmed in`.   
(I don't know does it matter but, transaction I was looking is [this one](https://www.blockchain.com/btc/tx/8088eeadbb0c6cbc6cc87ffacc05045f50195bd3837ec392a894465693578b57))

---

I was wondering, how is this attribute populated? The reason of my question is that I was exploring how can you, by looking at transaction inside of your UTXO, check in which block transaction was included (and then I found this attribute). Is this the right way?  
Thank you!

**Tags:** transactions, blockchain, confirmations


---

## 1 answers

### Answer by username_1 on 2020-07-13. Score: 2 | Accepted answer

> I was wondering, how is this attribute populated?

The site uses an index that simply remembers this information. If a block B is seen that contains a transaction T, an entry is stored in the database that signifies "transaction T is in block B".

> by looking at transaction inside of your UTXO, check in which block transaction was included (and then I found this attribute)

The UTXO set does not contain this information, nor can it be efficiently requested from arbitrary nodes in the network.


---

