Blockchain, at its core, is a decentralized distributed database or ledger. So, how does the "blockchain ledger" keep records? In current blockchain projects, there are two mainstream accountingBlockchain, at its core, is a decentralized distributed database or ledger. So, how does the "blockchain ledger" keep records? In current blockchain projects, there are two mainstream accounting
新手学院/Cryptocurrency Knowledge/Basic Concepts/What Is Uns...put (UTXO)?

What Is Unspent Transaction Output (UTXO)?

Sep 21, 2026MEXC
0m
SynFutures
F$0.003696-1.22%
HAI
HAI$0.001439+3.37%
BOB
BOB$0.005206-0.38%


Blockchain, at its core, is a decentralized distributed database or ledger. So, how does the "blockchain ledger" keep records? In current blockchain projects, there are two mainstream accounting methods: The Account Balance Model (represented by Ethereum), and the Unspent Transaction Output (UTXO) Model (represented by Bitcoin). Understanding UTXO helps in comprehending the accounting logic behind Bitcoin's blockchain.

UTXO, which stands for Unspent Transaction Output, can be understood as the fundamental unit in Bitcoin transactions. For example, if Bob receives a Bitcoin payment and doesn't spend it, that Bitcoin becomes a UTXO. The UTXO model is similar to having a wallet where each UTXO is like a one-time-use paper bill. Each UTXO (paper bill) represents a specific amount of money, and by adding up all the UTXOs (paper bills), you can determine a user's balance.

In each transaction, whole integer multiples of UTXOs are used. For example, you can use 1 UTXO, 2 UTXOs, but you can't use fractions like 0.5 UTXO (similar to not being able to use half a paper bill). When a transaction occurs, the existing UTXOs (old paper bills) are consumed, and new UTXOs (new paper bills) are created. For example:In the morning, you go to buy coffee and a pastry, which costs $5. You hand the cashier a $10 bill. This $10 bill, represented as one UTXO, is given to the merchant. The merchant then gives you $5 in change, and at this point, you receive a new UTXO (a new $5 bill).

If this transaction occurs on a blockchain using the UTXO model, how would it operate? To understand this, we can abstract three transfer scenarios with examples, omitting miner fees for simplicity:

1.Two-Person Transactions


Let's assume Bob receives 10 BTC, so he has a UTXO of 10 BTC associated with his Bitcoin address. Now, Bob needs to transfer 2 BTC to Alice. In this case, the 10 BTC UTXO will be spent as a whole (the old paper bill is used up). 2 BTC (new paper bill) will be sent to Alice, and the remaining 8 BTC (new paper bill) will be returned to Bob as change. In other words, the original 10 BTC existed as a single UTXO, but during the transaction, this UTXO (the old paper bill) was destroyed and no longer exists. Instead, it was replaced by two new UTXOs (new paper bills): one belonging to Bob with a value of 8 BTC (which is the change returned to Bob), and the other belonging to Alice with a value of 2 BTC. In the future, Alice can use this UTXO as a balance to transfer to others.


If Alice wants to transfer those 2 BTC to Frank and to prevent Alice from double-spending those 2 BTC (which is akin to the well-known double-spending attack), miners need to verify that the UTXO has not been used in other transactions. If this UTXO has already been spent in a prior transaction, miners will reject the execution of this new transaction.

2. Multi-Party Transactions


Let's go through two examples to deepen our understanding. (1) One Address Transfers to Three Addresses (2) Three Addresses Transfer to One Address. Let's refer to these four addresses as A, B, C, and D. Scenario ① A transfers to B, C, and D. Scenario ② A, B, and C transfer to D. Initially, Address A has 10 BTC while B, C, and D have 0 BTC.

In scenario (1), Address A initially has one 10 BTC UTXO and wants to transfer 2 BTC to each of the addresses B, C, and D.


First, the original 10 BTC UTXO from A is entirely spent, and 2 BTC is sent to each of the addresses B, C, and D. The remaining 4 BTC is returned to A as change. At this point, the previous 10 BTC UTXO no longer exists and becomes four new UTXOs, one belonging to A valued at 4 BTC, and the other three belonging to B, C, and D, all valued at 2 BTC. After the transfer occurs, there is 1 UTXO of 4 BTC in Address A, 1 UTXO of 2 BTC in Address B, 1 UTXO of 2 BTC in Address C, and 1 UTXO of 2 BTC in Address D.

Now, let's simulate scenario (2), where A, B, and C each transfer 2 BTC to D.


The UTXO of 4 BTC at Address A will be spent as a whole, of which 2 BTC is transferred to D and 2 BTC is given as change to itself. The UTXO of 2 BTC in Address B is transferred to D, and the UTXO of 2 BTC in Address C is transferred to D. After the transfers have occurred, there will be 1 UTXO of 2 BTC in Address A, none at Address B, none at Address C, and 4 UTXOs of 2 BTC at Address D (1 of which is left over from the transfer happening in scenario ① and the rest are from scenario ②).

3. Two-Person Transaction, One Person has Multiple UTXOs


Suppose A has multiple UTXOs, which are 1 BTC UTXO, 2 BTC UTXO, 3 BTC UTXO, and 4 BTC UTXO, and B has no BTC. At this point, A needs to transfer 2.5 BTC to B. How does the UTXO model work?


At this point, the UTXO of 2 BTC in Address A will be transferred directly to B. The UTXO of 1 BTC will be spent as a whole, of which 0.5 BTC will be transferred to B, and 0.5 BTC will be given back as change. After the transfer, there are still 0.5 BTC UTXO, 3 BTC UTXO and 4 BTC UTXO in Address A. B has 2 BTC UTXO and 0.5 BTC UTXO.

In cryptocurrencies that utilize the UTXO model, if a user mistakenly enters an incorrect contract address, it is highly likely that the funds will be irrecoverable. This is because UTXOs do not store additional information about the transaction's outgoing state, and once a cryptocurrency transaction is completed, the corresponding UTXO no longer exists in the database. In essence, the system assumes that you have already spent the funds, and this action cannot be undone. Furthermore, if the contract address is incompatible or incorrect, it can lead to erroneous inputs, meaning the recipient cannot properly receive the cryptocurrency. As a result, it is very probable that the cryptocurrency will be unrecoverable.

We can see that: ① UTXOs record events rather than final states. ② Each UTXO represents a specific quantity of Bitcoin, and the sum of all UTXOs determines the account balance. ③ A UTXO is a Bitcoin transaction output. ④ A complete transaction consists of transaction outputs (senders) and transaction inputs (recipients). Transaction outputs can be referred to as Outputs, and transaction inputs can be referred to as Inputs. After a transaction is completed, any newly generated UTXOs are recorded in the Bitcoin ledger and can be used for further transactions. UTXOs, as the cornerstone of Bitcoin transactions, offer advantages such as security, privacy, and scalability. They serve as the foundational transaction framework for numerous blockchain projects.

The following tokens listed on MEXC use the UTXO model:


ADA, AE, AVAX, BCH, BCHA, BEAM, BHD, BSV, BTC, BTCV, BTM, BTM2, CHIA, CKB, DASH, DOGE, FIRO, HC, HNS, HYDRA, IOEX, KAS(KASPA), LBC, LBTC, LTC, MASS, PAC, PLCU, PSL, QTUM, RVN, SC, SYS, UT, WIT, XRD, XVG, ZEL, ZEN


If there is an error in transferring the cryptocurrency mentioned above, we will be unable to assist in recovering it. Please make sure to enter the correct deposit address before initiating any deposits!


市场机遇
SynFutures 图标
SynFutures实时价格 (F)
$0.003696
$0.003696$0.003696
+2.18%
USD
SynFutures (F) 实时价格图表

热门加密动态

查看更多
什么是甲骨文公司 (ORCL)?企业科技巨头的商业模式与股东结构全解析

什么是甲骨文公司 (ORCL)?企业科技巨头的商业模式与股东结构全解析

Oracle Corporation(甲骨文公司,NYSE: ORCL)是一家全球领先的科技公司,以其企业级软件、数据库解决方案以及日益增长的云服务业务而闻名于世。甲骨文的业务版图横跨云基础设施、软件许可、硬件产品及相关服务,为全球各地的企业、政府机构和教育机构提供关键技术支持。 甲骨文公司概览及其市场地位 甲骨文公司由 Larry Ellison、Bob Miner 和 Ed Oates 于 1

BOB (Build on Bitcoin) (BOB) 30天价格变化:市场分析

BOB (Build on Bitcoin) (BOB) 30天价格变化:市场分析

追踪BOB (BOB) 的30天价格变化可以深入了解短期至中期市场趋势,突显近期波动性、动能和交易者行为。这段时期通常显示了新闻、采用事件和更广泛的加密货币动向如何影响BOB的价格趋势和BOB价格预测因素。 过去30天BOB (BOB) 价格概览 在过去30天内,BOB (Build on Bitcoin)从约$0.00490上涨至约$0.01625,反映了+227.00%的变化。在此期间,该代币

BOB (BOB) 价格走势:每日和每周分析

BOB (BOB) 价格走势:每日和每周分析

了解 BOB (BOB) 的价格走势 可提供关于短期市场行为的宝贵见解。交易者可以观察新闻、链上活动和更广泛的市场趋势如何影响这个新兴比特币 DeFi 代币的日常和每周价格波动。 BOB (BOB) 每日价格走势 根据最新数据,BOB (BOB) 的交易价格为 约 $0.01625,相比过去 24 小时有 4.30% 的变化。今天,价格在日内低点和高点之间波动,产生了 -15.98% 的净美元变化

BOB (BOB) 价格图表:实时数据与技术分析

BOB (BOB) 价格图表:实时数据与技术分析

实时 BOB (BOB) 价格图表提供市场行为的动态视图,显示交易者和投资者如何实时定位。通过研究 BOB 价格图表,您可以识别动量转变、价格模式以及这种加密货币的未来交易机会。 BOB 实时价格图表概览 根据最新数据,BOB 的交易价格为 约 $0.01625,24 小时变化约为 +4.30%。其 24 小时交易量接近 $19.35 百万,市值约为数千万美元。 当前价格: ≈ $0.01625

热门新闻

查看更多
Coldcard Mk3 警告紧随 3800 万美元 Bitcoin 被扫荡事件,但原因仍未确认

Coldcard Mk3 警告紧随 3800 万美元 Bitcoin 被扫荡事件,但原因仍未确认

比特币硬件钱包制造商Coinkite已警告用户,Coldcard设备存在种子生成问题,影响从4.0.1版本起的所有Mk3固件版本。该警告是在安全研究人员调查一起涉及594.48 BTC(约合3,800万美元)的协同转移事件时发出的。然而,目前尚无公开的技术证据证实Coldcard的问题导致了这些转账。

Bitget 将退出日本:面向日本居民的服务将于 2026 年 12 月 31 日终止

Bitget 将退出日本:面向日本居民的服务将于 2026 年 12 月 31 日终止

Bitget 将于 2026 年 12 月 31 日终止对日本用户的服务。受影响的用户必须在截止日期前平仓并提取资产。

万事达完成对BVNK的收购,交易金额高达18亿美元——稳定币进入全球支付核心

万事达完成对BVNK的收购,交易金额高达18亿美元——稳定币进入全球支付核心

万事达于2026年8月3日完成了对稳定币基础设施提供商BVNK的收购,此前已于三月宣布该交易。

DEX对CEX现货交易量比率达24%,中心化交易所活动减弱

DEX对CEX现货交易量比率达24%,中心化交易所活动减弱

根据 The Block 的当前数据系列,2026年7月,去中心化交易所现货交易量与中心化交易所现货交易量之比达到24.14%。该数字并不意味着 DEX 控制了合并现货市场的24.14%:它意味着 DEX 交易量相当于数据集中包含的 CEX 交易量的24.14%。与此同时,DEX 现货交易量环比下降约26%,至约1307.7亿美元,为近两年来最低水平。

相关文章

查看更多
加密货币恐惧与贪婪指数跌入极度恐惧,代表什么意义及投资者应如何应对

加密货币恐惧与贪婪指数跌入极度恐惧,代表什么意义及投资者应如何应对

截至2026年5月28日,加密货币恐惧与贪婪指数已急跌至22,再次将市场推入极度恐惧区域。 社交媒体充斥着恐慌警报,交易者纷纷质疑这究竟是市场底部,还是更深跌势的开端。 本指南说明恐惧与贪婪指数的实际衡量内容、今日驱动指数跌至22的原因,以及不同处境的投资者当下应切实考虑采取哪些行动。 核心要点 加密货币恐惧与贪婪指数在0至100的范围内衡量市场情绪,将六项数据信号——包括波动率、交易量及社交媒体

什么是比特币减半?加密货币关键事件倒计时完整指南

什么是比特币减半?加密货币关键事件倒计时完整指南

比特币减半比特币减半是加密货币世界中最重要和最受期待的事件之一。对于加密货币领域的新手来说,了解减半是什么以及为何重要是掌握比特币经济学和潜在价值的关键。比特币减半是指通过将挖矿新块的奖励减少一半来降低比特币流通速度的事件。这个机制内嵌于比特币的代码中,大约每四年发生一次,创造了一个可预测的时间表,影响比特币的稀缺性以及可能的价格。最近一次比特币减半发生在2024年4月20日,当时区块奖励从6.2

什么是智能合约?区块链自动化终极初学者指南

什么是智能合约?区块链自动化终极初学者指南

智能合约是一个计算机程序或交易协议,根据预定义的条款和条件自动执行、控制或记录事件和动作。智能合约由Nick Szabo在1994年首次提出概念,已经演变为区块链技术、加密货币、去中心化金融(DeFi)和非同质化代币(NFT)的基本构建块。与需要律师或公证人等中介的传统合同不同,智能合约在区块链网络上运行,当特定条件满足时自动执行。它们提供降低成本、增强安全性和提高透明度等好处,同时消除对可信第三

什么是加密货币?加密货币是如何运作的?数字资产初学者的完整指南

什么是加密货币?加密货币是如何运作的?数字资产初学者的完整指南

Cryptocurrency欢迎来到进入令人兴奋的加密货币世界的门户!无论您是听说过比特币价格的暴涨,还是对数字货币改变金融格局感到好奇,这本指南将为您提供有关加密货币的基本知识。阅读完本文后,您将了解什么是加密货币,它是如何运作的,市面上有哪些不同类型,以及如何在像 MEXC 这样的平台上开始交易。这本为初学者准备的指南打破了技术术语,为任何希望探索这一数字金融革命的人提供清晰、实用的信息。关键

注册MEXC账号
注册 & 获得高达10,000 USDT奖金
你的华尔街DNA是什么?
你的华尔街DNA是什么?你的华尔街DNA是什么?
6种投资人格测试,100%中奖——$30,000等值NVDAX等你来拿!