<p>The UTxO set is <strong>not</strong> on the blockchain. Blocks contain transactions (including input UTxO references, output addresses, scripts, certificates (eg for delegation and other purposes) etc.</p>
<p>The UTxO set is an ephemeral data structure than can be built from the original genesis state and then apply blocks to it.</p>

CC BY-SA 4.0
2022-01-14T10:57:16.897Z
When, say, Alice sends money to Bob, how does Bob know which UTxO output belongs to him (so that he can consume that money) ? Is it the job of the wallet to scan through all new UTxOs that are generated in the blockchain, then compare this new UTxO with Bob's wallet -  and if it matches, add the new UTxO to Bob's wallet ? Is this a correct assumption ?
wakathi
CC BY-SA 4.0
2022-01-14T20:33:58.883Z
Yes, that is correct.
Erik de Castro Lopo
CC BY-SA 4.0
2022-01-14T00:00:38.647Z
2022-01-14T00:00:38.647Z
Erik de Castro Lopo
<p>After going through lecture 1, where can I find out more information about what is stored in each block in blockchain ?</p>
<p>I am guessing that all the UTxOs and the script addresses will be there, as well as the (on-chain) plutus scripts themselves.</p>
<p>If the UTxOs are all in the blockchain, is it the user/wallet responsibility to safely maintain all the UTxOs that he owns ?</p>
<p>Thanks!</p>

<plutus-pioneer-program>
What goes inside the block?
# What goes inside the block?

(Asked by: username_0 on 2022-01-13)

After going through lecture 1, where can I find out more information about what is stored in each block in blockchain ?

I am guessing that all the UTxOs and the script addresses will be there, as well as the (on-chain) plutus scripts themselves.

If the UTxOs are all in the blockchain, is it the user/wallet responsibility to safely maintain all the UTxOs that he owns ?

Thanks!

**Tags:** plutus-pioneer-program

---

## 1 answers

### Answer by username_1 on 2022-01-14. Score: 1

The UTxO set is **not** on the blockchain. Blocks contain transactions (including input UTxO references, output addresses, scripts, certificates (eg for delegation and other purposes) etc.

The UTxO set is an ephemeral data structure than can be built from the original genesis state and then apply blocks to it.

> **Comments:**
> **username_0**: When, say, Alice sends money to Bob, how does Bob know which UTxO output belongs to him (so that he can consume that money) ? Is it the job of the wallet to scan through all new UTxOs that are generated in the blockchain, then compare this new UTxO with Bob's wallet -  and if it matches, add the new UTxO to Bob's wallet ? Is this a correct assumption ?  
> **username_1**: Yes, that is correct.  

---

