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
新手学院/区块链百科/基础概念/What Is Uns...put (UTXO)?

What Is Unspent Transaction Output (UTXO)?

Jul 16, 2025MEXC
0m
Core DAO
CORE$0.1682+3.57%
BOB
BOB$0.0153-2.11%
Ambire Wallet
WALLET$0.0209-3.55%
Wink
LIKE$0.003754+3.61%
Notcoin
NOT$0.000563-0.70%


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-xchain, 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!


热门文章

MEXC 全球数字资产交易所七周年:以"多"为基因,铸造加密新基建

MEXC 全球数字资产交易所七周年:以"多"为基因,铸造加密新基建

当时针指向第七个刻度,MEXC 交易所正持续以"多"为战略基因,在数字金融的星辰大海中书写着属于创新者的史诗。七载光阴,MEXC 打造的不仅是一个交易平台,更是一个多维立体的加密生态系统——在这里,多样性是流淌在一行行代码里的血液。一、热币矩阵:构建数字资产超级市场2,905 种现货币对与 1,130 种合约币种构成的数字资产宝库,让 MEXC 稳居全球热币数量王座。这不是简单的数字堆砌,而是精准

什么是预测合约?一种简单快捷的合约交易方式

什么是预测合约?一种简单快捷的合约交易方式

加密货币合约交易以其高杠杆和多空双向获利的能力吸引了无数投资者,但其复杂的机制——保证金、杠杆、强平价格等,也让许多新手望而却步。为了降低衍生品交易的门槛,MEXC 创新性地推出了“预测合约”。它摒弃了传统合约的复杂性,将交易回归到最核心的本质:判断涨跌。*BTN-开启您的合约交易之旅&BTNURL=https://www.mexc.com/futures/BTC_USDT *1. 什么是预测合约

如何在MEXC上线项目:申请流程完整指南

如何在MEXC上线项目:申请流程完整指南

将您的加密货币项目在MEXC上市需要几个步骤和要求。以下是一份全面的指南:1. MEXC上市流程概述MEXC根据您的项目阶段、社区规模和资源提供不同的上市路径。与Coinbase等其他交易所相比,MEXC以相对易于访问而闻名。第1步:了解MEXC的上市标准基于项目价值的审查流程最适合具有强大基础的项目第2步:准备您的项目在申请之前,请确保您准备好这些必需品:技术要求智能合约信息合约地址(在区块链浏

如何使用 MEXC 不同的订单模式进行合约下单?帮你低成本快速完成建仓

如何使用 MEXC 不同的订单模式进行合约下单?帮你低成本快速完成建仓

在瞬息万变的加密货币合约市场中,建仓(即开立仓位)是交易的第一步,也是决定交易成败的关键一步。许多交易者,尤其是新手,往往只知道使用最基础的市价单和限价单,这不仅可能让他们错失良机,还可能因为滑点等问题无形中增加了交易成本。事实上,像MEXC这样专业的交易平台提供了多种订单模式,每一种都像一个精密的工具,为特定的交易场景而设计。掌握这些工具,意味着您能更主动、更精准地执行自己的交易策略。本文将全面

热门加密动态

狗狗币(Dogecoin/DOGE)价格分析:2025年12月跌破关键支撑位,投资者该如何应对?

狗狗币(Dogecoin/DOGE)价格分析:2025年12月跌破关键支撑位,投资者该如何应对?

Key Takeaways 狗狗币(DOGE)价格在2025年12月跌破$0.145关键支撑位,开启新一轮下行趋势当前DOGE价格交易于$0.140以下,低于100小时简单移动平均线,技术面转为看跌关键阻力位设定在$0.1420和$0.1450,若无法突破可能继续下探至$0.1250区域MACD指标在看跌区域延续动能,RSI指标低于50,显示市场情绪偏空MEXC交易所提供零手续费DOGE/USDT

EthXY(SEXY)价格预测2026-2030:专业分析与投资展望

EthXY(SEXY)价格预测2026-2030:专业分析与投资展望

Key Takeaways EthXY(SEXY)当前价格约$0.03-0.04,从历史最高点$3.14大幅回调2026-2030年价格预测基于技术分析、项目发展和GameFi市场整体趋势Base链技术优势和Telegram生态系统集成为长期增长提供基础MEXC交易所提供最佳流动性和零手续费交易,是投资SEXY代币的理想平台价格预测存在不确定性,投资者应进行全面研究并谨慎决策 核心概览 EthXY

以太坊的未来:机构投资和价格潜力

以太坊的未来:机构投资和价格潜力

1. 金融专家的加密市场观点 Fundstrat联合创始人兼BitMine Immersive Technologies主席Tom Lee作为融合传统宏观经济分析与加密货币市场动态的领先声音脱颖而出。他的专业知识源于数十年的华尔街金融经验,在那里他磨练了分析经济周期、利率影响和投资者情绪转变的技能。将这些应用到加密货币领域,Lee将以太坊视为不仅是数字资产,而且是去中心化金融(DeFi)、代币化和

FOLO 在加密货币交易中的心理学:了解和克服恐惧

FOLO 在加密货币交易中的心理学:了解和克服恐惧

1. 在加密货币环境中定义 FOLOFOLO,即害怕损失(Fear of Losing Out),代表加密货币交易中强大的心理力量,与更常被讨论的 FOMO 不同。FOMO 在价格飙升期间驱使冲动购买,而 FOLO 则在市场下跌时影响交易者,迫使他们过早出售资产,担心损失会加剧。这种恐惧源于加密市场的独特动态,由于 24/7 不间断交易和高波动性,价格可能迅速暴跌,因为加密货币在去中心化区块链网络

相关文章

搞懂 MEXC 合约资金费率,从此不再为“隐形成本”买单!

搞懂 MEXC 合约资金费率,从此不再为“隐形成本”买单!

你是不是也遇到过这样的情况:合约交易看对了方向,收益却越来越少?账户余额莫名其妙减少?其实你可能忽略了一个关键细节——资金费率。在 MEXC 永续合约交易中,资金费率是很多新手忽视却极为重要的成本变量。今天我们就来一文讲透它的本质、计算方式、结算规则以及如何避坑,让你从此看清“隐形成本”的真相。1.什么是资金费率?新手必须搞懂的“费用桥梁”资金费率(Funding Rate)是一种用于调节合约市场

MEXC 平台合约实战攻略 | 高杠杆交易全解析:高效策略与风险管理指南

MEXC 平台合约实战攻略 | 高杠杆交易全解析:高效策略与风险管理指南

随着市场交易节奏加快和用户策略日益多元化发展,高杠杆(High Leverage)交易工具已成为专业投资者优化资金效率的核心配置。MEXC 平台提供 200 倍及以上的高倍杠杆功能,尤其是针对 BTC 和 ETH USDT 本位合约,更有高达 500 倍的杠杆合约,助力交易者精准捕捉短期波动机会,实现收益最大化。然而,高杠杆的“双刃剑”特性要求投资者必须掌握科学的交易策略(Trading Stra

更高级的合约交易策略:学会在MEXC合约交易中止盈,及时锁定交易利润

更高级的合约交易策略:学会在MEXC合约交易中止盈,及时锁定交易利润

在合约交易的过程中,成功开仓只是完成了交易的一半,如何漂亮地平仓,将账面上的浮动盈利稳稳地锁定为已实现利润,才是决定一笔交易成败的关键。许多交易者因为贪婪而错过最佳平仓点,导致利润回吐甚至由盈转亏。为了帮助交易者克服人性弱点,执行严格的交易纪律,MEXC 平台提供了多样化且功能强大的止盈工具。本文将全面解析这些工具的定义、策略与实战操作方法,让您学会在 MEXC 精准止盈,不再错过任何锁定利润的机

零门槛、零滑点!如何使用MEXC轻松交易美股?

零门槛、零滑点!如何使用MEXC轻松交易美股?

近期,AI 概念股暴涨、科技巨头股价频频创下新高,美股市场再次吸引了全球投资者的关注。然而,对于大部分加密用户而言,直接进入传统美股市场的复杂手续仍然令人望而却步。面对这一市场需求,MEXC 适时推出美股永续合约,以低门槛和熟悉的交易页面,让加密用户能够轻松参与美股投资,享受全球顶级股票的红利。MEXC美股合约的差异化定位MEXC 美股永续合约凭借以下核心优势,构建了独特的差异化竞争力:1)低门槛

注册MEXC账号
注册 & 获得高达10,000 USDT奖金