OKX Blockchain 60 Lectures | Episode 21: What is the UTXO Model?
"OKX Blockchain 60 Lectures" is a blockchain educational animation video jointly produced by OKX & Sina Tech, designed for users with zero blockchain knowledge. Through series articles, educational animations, and other forms, it vividly explains blockchain concepts from the perspectives of concepts, technology, and applications, covering 5 major sections and 60 knowledge points. The content of this episode was completed under the guidance of Huang Lianjin, a member of the Blockchain Expert Committee of the China Institute of Electronics.
Hello everyone, I'm Little K. Today we're going to talk about: "What is the UTXO Model"?
In the previous lesson, we discussed what the double-spending problem is. The first type of double-spending problem occurs when the processing party, due to synchronization delays during record-keeping, allows the same money to be spent twice repeatedly. Therefore, to solve this situation, some blockchain projects have introduced the UTXO mechanism on top of the consensus mechanism.
The so-called UTXO model, simply put, is a special accounting model. Its Chinese meaning is called "Unspent Trading Output," and it has a major difference from traditional bank account models in that this model only records the trading itself, not the result of the trading.

Like traditional bank account models, they directly record results. For example, if I have 10,000 yuan in my account and I want to transfer 3,000 to you, 3,000 will be deducted from my account, my account balance becomes 7,000, and your account increases by 3,000.
But the UTXO model doesn't record it this way. It records the entire trading process. The principle is this: still assuming I have 10,000 yuan in my account and I want to transfer 3,000 to you. When UTXO records, it first records that all 10,000 yuan was transferred out, then records that 3,000 was transferred to your account, and 7,000 was transferred from my account back to my own account.

Throughout the process, it records all information including the account funds involved, trading addresses, transfer amounts, fund sources, etc. This makes it possible to trace the original source of every trading. Therefore, the essence of UTXO is actually a sequential accounting method that records the trading process.
The advantage of this model is that it makes every trading process clearly recorded and can trace the source of every fund. It is precisely based on this characteristic that UTXO can work together with the consensus mechanism to solve the double-spending problem.
Blockchain solves the first type of double-spending problem by also borrowing from traditional banking methods, processing trading sequentially one by one. When a node processes a trading, it first uses the UTXO model to verify whether the trading funds exist, then traces the source of the trading, and after confirming there are no issues, broadcasts it through the consensus mechanism and records it on-chain.

If someone wants to use the same money to make two payments, the blockchain network will only confirm the first one received. For the subsequent trading, when nodes query the UTXO, they will discover that these funds have already been spent and do not exist in your account, thereby rejecting the trading. This solves the first type of double-spending problem.
However, UTXO cannot solve double-spending problems caused within the rules. The so-called double-spending problem caused within the rules refers to using the consensus mechanism rules themselves to tamper with already recorded trading, commonly seen in 51% hashrate attacks. For example, if there's a blockchain using PoW consensus mechanism, because the overall network has relatively few participants, a node controls 51% of the entire network's hashrate. At this point, they can first conduct a trading, wait for the trading to complete, then use the consensus mechanism to tamper with the previous trading record, deny the previous trading, and make the already spent money return to their account to use again.
This type of double-spending problem can only be solved by increasing the overall network hashrate. Therefore, in blockchain, the more users there are, the higher the overall network hashrate, and the safer the entire network becomes.
In summary, UTXO not only helps the consensus mechanism solve the first type of double-spending problem in blockchain, but also gives blockchain the characteristic of traceability. Blockchain can also use this as a foundation to ensure the authenticity and reliability of every trading.
Thanks to Teacher Huang Lianjin for his help and guidance with this episode's content.
Sina Weibo: @黄连金Ken Huang
Disclaimer
This article may contain content related to products not available in your region. This article is intended to provide general information only and does not take responsibility for any factual errors or omissions therein. This article represents only the author's personal views and does not represent OKX's views. This article is not intended to provide any of the following advice, including but not limited to: (i) investment advice or investment recommendations; (ii) offers or solicitations to buy, sell, or hold digital assets; or (iii) financial, accounting, legal, or tax advice. Holding digital assets (including stablecoins) involves high risk, may fluctuate significantly, and may even become worthless. You should carefully consider whether trading or holding digital assets is suitable for you based on your financial situation. For questions about your specific situation, please consult your legal/tax/investment professional. The information appearing in this article (including market data and statistics, if any) is for general reference only. Although we have taken all reasonable precautions in preparing these data and charts, we accept no responsibility for any factual errors or omissions expressed herein. © 2025 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less from this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: "This article is copyrighted © 2025 OKX, used with permission." Permitted excerpts must cite the article name and include attribution, such as "Article Name, [Author Name (if applicable)], © 2025 OKX". Some content may be generated or assisted by artificial intelligence (AI) tools. Derivative works or other uses of this article are not permitted.
Show More
Recommended Reading

OKX Blockchain 60 Lectures | Episode 43: The Rise of the Mining Circle (Part 2) — The Rise of Bitmain
Hello everyone, I'm Little K. Today we're going to talk about: "The Rise of the Mining Circle (Part 2) — The Rise of Bitmain". In the previous lesson, we mentioned that there were two people who opened the door to capital and commercialization in the mining circle: one was Pumpkin Zhang—Zhang Nangeng, and the other was Fried Cat—Jiang Xinyu. Although they jointly started the golden era of the mining circle, the person who truly pushed the mining industry to its peak was someone else, and that person's name is Wu Jihan.
September 18, 2025

OKX Blockchain 60 Lectures | Episode 2: Why is Blockchain Called Blockchain?
"OKX Blockchain 60 Lectures" is a blockchain educational animation video jointly produced by OKX & Sina Tech, designed for users with zero blockchain knowledge. Through series articles, educational animations, and other forms, it vividly explains blockchain concepts from the perspectives of concepts, technology, and applications, covering 5 major sections and 60 knowledge points. The content of this episode was completed under the guidance of Teacher Meng Yan, Vice President of the Digital Assets Research Institute. In 2008, a global financial crisis broke out. On October 31, "
September 18, 2025

OKX Blockchain 60 Lectures | Episode 16: What is the PoW Consensus Mechanism
"OKX Blockchain 60 Lectures" is a blockchain educational animation video jointly produced by OKX & Sina Tech, designed for users with zero blockchain knowledge. Through series articles, educational animations, and other forms, it vividly explains blockchain concepts from the perspectives of concepts, technology, and applications, covering 5 major sections and 60 knowledge points. The content of this episode was completed under the guidance of Mentor Huang Fangyu, Co-founder of Wan You Computing Power. Hello everyone, I'm Little K. Today we're going to talk about:
September 18, 2025

OKX Blockchain 60 Lectures | Episode 51: 2019, Giants Enter, Facebook's Cryptocurrency Dream
Previously we discussed that in 2018, as blockchain was hyped into excessive prosperity, it began a vigorous de-bubbling process, and the entire industry entered a winter. However, crisis and opportunity coexist. This cyclical downturn in the industry恰好 gave international giants the best opportunity to enter. In February 2019, Wall Street financial giant JP Morgan Chase sounded the clarion call for international giants to enter the blockchain field. Thereafter, Goldman Sachs, UBS, Citigroup, Microsoft, and other giants
September 18, 2025

OKX Blockchain 60 Lectures | Episode 7: What Does Fork Mean in Blockchain?
"OKX Blockchain 60 Lectures" is a blockchain educational animation video jointly produced by OKX & Sina Tech, designed for users with zero blockchain knowledge. Through series articles, educational animations, and other forms, it vividly explains blockchain concepts from the perspectives of concepts, technology, and applications, covering 5 major sections and 60 knowledge points. The content of this episode was completed under the guidance of Mentor Bu Feimo, an Austrian school economist. The so-called blockchain fork can be said to be unique in blockchain networks, a
September 18, 2025

OKX Blockchain 60 Lectures | Episode 25: What is Lightning Network?
Hello everyone, I'm Little K. Today we're going to talk about: "What is Lightning Network"? The so-called Lightning Network was first proposed in a whitepaper in 2015 by Joseph Poon and Thaddeus Dryja as a technology to solve Bitcoin trading congestion. The origin of this technology stems from a problem left over from Bitcoin's early days. Because when Bitcoin was first designed, one
September 18, 2025



