<p>If the aim is to track the latest state change after updating the UTxO datum (for example, as in the oracle problem), then one solution is to first mint and attach an NFT to it and have that track the latest update.</p>

CC BY-SA 4.0
2024-08-01T14:20:31.007Z
2024-08-01T14:20:31.007Z
tyvan266
<p>AFAIK, Cardano has data inside the UTXO, which means in order to update the data, UTXO has to be spent and the new UTXO will contain updated data, so my question is how do I keep track of latest utxo as they are thousands of transactions getting processed?</p>
<p>What are the techniques used to get the latest utxo?</p>
<p>Additionally, I want to learn more about the transaction processing so can any about kindly point out where I should look?</p>

CC BY-SA 4.0
2024-07-30T11:46:29.933Z
Do you mean the total UTxO set or just the UTxOs associated with a particular private key?
Erik de Castro Lopo
CC BY-SA 4.0
2024-07-31T19:20:15.767Z
Utxo associated with the particular private key. Let suppose I want to make a change to a program and hence for state to change, the old utxo will be spent and new utxo with state will be mined. How do users keep track of the lastest utxo in this case?
Deepanshu Hooda
CC BY-SA 4.0
2024-08-02T02:10:03.530Z
Pretty sure `cardano-cli` can dump a text representation of all UTxO associated with a specific private key. `cardano-db-sync` may also be useful.
Erik de Castro Lopo
<wallet><transaction><eutxo><transaction-metadata>
How do I track the latest UTXO when sending a transaction?
# How do I track the latest UTXO when sending a transaction?

(Asked by: username_0 on 2024-07-30)

AFAIK, Cardano has data inside the UTXO, which means in order to update the data, UTXO has to be spent and the new UTXO will contain updated data, so my question is how do I keep track of latest utxo as they are thousands of transactions getting processed?

What are the techniques used to get the latest utxo?

Additionally, I want to learn more about the transaction processing so can any about kindly point out where I should look?

**Tags:** wallet, transaction, eutxo, transaction-metadata
> **Comments:**
> **username_1**: Do you mean the total UTxO set or just the UTxOs associated with a particular private key?  
> **username_0**: Utxo associated with the particular private key. Let suppose I want to make a change to a program and hence for state to change, the old utxo will be spent and new utxo with state will be mined. How do users keep track of the lastest utxo in this case?  
> **username_1**: Pretty sure `cardano-cli` can dump a text representation of all UTxO associated with a specific private key. `cardano-db-sync` may also be useful.  

---

## 1 answers

### Answer by username_2 on 2024-08-01. Score: 0

If the aim is to track the latest state change after updating the UTxO datum (for example, as in the oracle problem), then one solution is to first mint and attach an NFT to it and have that track the latest update.


---

