Ta strona służy wyłącznie do celów informacyjnych. Niektóre usługi i funkcje mogą nie być dostępne w jurysdykcji użytkownika.

What is an unspent transaction output (UTXO)?

An unspent transaction output (UTXO) is an amount of bitcoin (BTC) that a transaction has paid to someone and that has not yet been spent again; each record states the amount and the conditions for spending it. The recipient uses a string of characters as the address for receiving coins. Bitcoin’s ledger does not keep a separate balance figure for each address; instead, it records how many coins each transaction paid to whom. The bitcoin balance a wallet shows is the total of all the UTXOs it can spend.

For an overview of how Bitcoin’s ledger records transactions, see onchain. This article explains how this record-keeping method works in practice, why it usually means a payment produces “change,” how the number of UTXOs affects fees, and how it compares with Ethereum’s account model.

How UTXOs keep the ledger: Bitcoin records balances as individual “outputs”

Every Bitcoin transaction has two parts: inputs and outputs.

  • An output states an amount and the conditions for spending it. Amounts are denominated in satoshis; 1 BTC equals 100 million satoshis. A common condition is that whoever spends the funds must attach a digital signature created with the recipient’s private key (secret data known only to its holder), proving that the holder authorized the payment. A transaction can have several outputs, numbered in order starting from 0.
  • An input says which earlier output the transaction is spending. It points to one specific earlier output by combining the string that identifies the earlier transaction, known as the transaction hash, with the output’s number, and it attaches data proving that it meets that output’s conditions, usually a signature made with the private key.

Once a later valid transaction spends this output and is written into the ledger, the output becomes “spent”; until then, it is “unspent,” which makes it a UTXO. Each output can be spent only once. If another transaction references an output that has already been spent, it is trying to spend the same money twice (a double spend), and the computers that run Bitcoin software and check transactions (nodes) reject that transaction.

For example, if someone receives two payments, one of 0.3 BTC and one of 0.2 BTC, their wallet holds two UTXOs, and the wallet adds them up to show a balance of 0.5 BTC. There is no record onchain saying “this person has 0.5 BTC.”

So where do the first coins come from? Bitcoin bundles transactions into blocks, and the participants who do the bundling are called miners. The first transaction in every block is the block reward transaction, created by the miner who produced the block. It does not spend any earlier output; it directly creates new outputs that claim the bitcoin newly issued under the rules (the block subsidy) together with the fees from the transactions in that block.

Why UTXOs produce change: an output must be spent in full

A UTXO cannot be partly spent. Once a transaction uses a UTXO as an input, the UTXO’s entire amount must be allocated within that transaction: the payment goes into a new output to the recipient, and any amount left over after the fee can be paid back to the sender through another new output, called a change output. The difference between total inputs and total outputs is the fee paid to the miner; the transaction does not state the fee as a separate amount. If total outputs exceed total inputs, the transaction is invalid.

Continuing the example above, suppose this person wants to pay 0.4 BTC to a merchant. The figures below are only meant to illustrate the calculation:

Item in the transaction Amount Notes
Input 1 0.3 BTC Spends the first UTXO
Input 2 0.2 BTC Spends the second UTXO; only together do the two cover 0.4 BTC
Output 0 0.4 BTC Paid to the merchant
Output 1 (change) 0.0998 BTC Paid back to the sender
Fee 0.0002 BTC 0.5 − 0.4 − 0.0998, claimed by the miner who produces the block

Once a miner includes this transaction in a block, the two original UTXOs become spent, and two new UTXOs appear onchain: the merchant’s 0.4 BTC and the payer’s 0.0998 BTC. The payer’s wallet balance then becomes 0.0998 BTC.

Whether change is created depends on whether the total of the selected inputs equals the payment plus the fee. Comparing only the payment amount is not enough, and not every transaction has to include change.

How the number of UTXOs relates to fees

Bitcoin fees are calculated from the block space a transaction takes up, and that space is measured in virtual bytes (vB). The number of satoshis paid per virtual byte is called the fee rate, and the sender sets it. At the same fee rate, the more virtual bytes a transaction takes up, the higher its fee. Every input must include information pointing to an earlier output and provide data that satisfies its conditions, usually including a signature. To pay the same 0.4 BTC, when input types and other conditions are similar, using a single 0.5 BTC UTXO as the input usually takes up less space than gathering dozens of small UTXOs as inputs. For how virtual bytes are calculated and why fee rates change, see network congestion.

How the UTXO model differs from Ethereum’s account model

Ethereum does not use UTXOs. Instead, it uses an account model: the ledger records a balance directly for each account, along with a sequence number (nonce) that orders the account’s transactions and prevents the same transaction from being executed more than once. The example here is an account that a user controls with a private key; each time a transaction it sends is processed onchain, its nonce increases. The table below compares the two models by asking the same questions of each:

Comparison Bitcoin (UTXO model) Ethereum (account model)
What the ledger records Individual unspent outputs, each with an amount and spending conditions Each account’s state, such as its balance and nonce; balances are recorded in wei, the smallest unit of ether (ETH), and 1 ETH equals 10¹⁸ wei; for conversions, see Gwei
How a wallet balance is derived Add up the amounts of the UTXOs you can spend Read the account’s balance directly
How a transfer changes the ledger Spends earlier outputs and creates new outputs such as the payment, plus a change output when change is needed Deducts the transfer amount and the fee from the sender’s balance; the transfer amount is added to the recipient’s balance, and the fee does not go to the recipient
Whether change is needed Usually No: the amount being sent can be subtracted directly from the account balance
How the fee is expressed The difference between total inputs and total outputs Measured in gas units, which track the consumption of resources such as computation and storage, multiplied by the price per unit of gas (base fee plus priority fee), and deducted from the sender’s balance; see gas fee

Both approaches let every node independently check who has how many coins and whether a transfer is valid. The difference lies in the unit the ledger records: Bitcoin records individual amounts that can be spent, while Ethereum records each account’s current state.

FAQ

An address can receive multiple payments, so it can correspond to multiple UTXOs, and the address’s balance is the total of those UTXOs. A wallet can manage many addresses, so the balance a wallet shows can come from UTXOs held at multiple addresses.

Why is change often sent to a new address?

Change can be paid back to the original address, but the Bitcoin developer documentation recommends sending it to a new address: when the same address is used again and again, others can easily trace past and future transactions involving that address on the public ledger and see that person’s habits for receiving and spending money.

Is the bitcoin shown in my trading platform account also my UTXOs?

Not necessarily. When you use a custodial service in which the platform holds the private keys for you, the platform may record each user’s balance in its own system; the UTXOs onchain belong to addresses the platform controls, and transfers within the platform do not necessarily correspond to an onchain transaction. Only when the platform sends the coins through an onchain transaction to an address whose private key you control, and that transaction is included in a block, is a corresponding UTXO created that you can spend. For the difference between custody and holding your own private keys, see crypto custody.

Learn more about onchain, transaction hashes, block rewards, blockchain addresses, Bitcoin, and gas fees, or return to the cryptocurrency glossary.

References

Wyłączenie odpowiedzialności
Niniejsza treść ma charakter wyłącznie informacyjny i może obejmować produkty niedostępne w Twoim regionie. Nie ma ona na celu zapewnienia (i) porady inwestycyjnej ani rekomendacji inwestycyjnej; (ii) oferty ani zachęty do zakupu, sprzedaży ani posiadania aktywów cyfrowych; ani (iii) porady finansowej, księgowej, prawnej lub podatkowej. Posiadanie aktywów cyfrowych, w tym stablecoinów, wiąże się z wysokim stopniem ryzyka i może podlegać znacznym wahaniom. Należy dokładnie rozważyć, czy handel lub przechowywanie aktywów cyfrowych jest dla danej osoby odpowiednie w świetle jej obecnej i przyszłej sytuacji finansowej. W przypadku pytań dotyczących konkretnej sytuacji skonsultuj się ze swoim doradcą prawnym, podatkowym lub specjalistą ds. inwestycji. Informacje (w tym dane rynkowe i informacje statystyczne, jeśli istnieją) pojawiające się w tym poście służą wyłącznie do ogólnych celów informacyjnych. Podczas przygotowywania tych danych i wykresów dołożono należytej staranności, jednak nie ponosimy odpowiedzialności za żadne błędy lub pominięcia w niniejszym dokumencie.Aktywa cyfrowe podlegają zmienności i nie są ubezpieczone. Nie jest to porada finansowa ani inwestycyjna. Nie wszystkie produkty i usługi są dostępne we wszystkich regionach. Obowiązują wyłączenia oraz regulamin.

© 2026 OKX. Niniejszy artykuł może być powielany lub rozpowszechniany w całości lub w fragmentach zawierających 100 słów lub mniej, pod warunkiem, że takie wykorzystanie jest niekomercyjne. Każda reprodukcja lub dystrybucja całego artykułu musi również zawierać wyraźne stwierdzenie: „© 2026 OKX, za wyraźną zgodą”. Dozwolone fragmenty muszą odnosić się do nazwy artykułu i zawierać przypis, na przykład „Nazwa artykułu, [nazwisko autora, jeśli dotyczy], © 2026 OKX”. Niektóre treści mogą być tworzone lub opracowywane przy pomocy narzędzi sztucznej inteligencji (AI). Nie są dozwolone żadne prace pochodne ani inne sposoby wykorzystania tego artykułu.

Powiązane artykuły

Wyświetl więcej
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
3 gru 2026
12-03-glossary-thumnail/zero-knowledge-rollup

What is a ZK rollup?

**A zero-knowledge rollup (ZK rollup) is a type of [rollup](/learn/what-is-a-rollup): it hands the results of a batch of transactions to the main chain together with a proof, and the main chain accept
3 gru 2026
12-03-glossary-thumnail/zero-knowledge-proof

What is a zero-knowledge proof?

**A zero-knowledge proof (ZKP) lets someone convince another party that a statement is true without revealing any information beyond the statement itself.** The party that submits the proof is called
3 gru 2026
12-03-glossary-thumnail/validator

What is a validator?

**A validator is a participant in a [proof-of-stake](/learn/what-is-proof-of-stake) blockchain that proposes new blocks and votes on other blocks.** It must first [stake](/learn/what-is-staking) the a
3 gru 2026
what-is-blockchain

What is transactions per second (TPS)?

**Transactions per second (TPS) is a figure that measures how many transactions a [blockchain](/learn/what-is-a-blockchain) can process, or actually processes, each second. It is also called throughpu
3 gru 2026
12-03-glossary-thumnail/transaction-id-txid

What is a transaction ID (TXID)?

**A transaction hash is the string a blockchain network uses to identify a transaction; it is also commonly called a transaction ID (TXID).** Wallets, trading platforms and block explorers all use it
3 gru 2026
Wyświetl więcej