Skip to content
Crypto News

Dispatches from across crypto

Bitcoin UTXOs: See How a Payment Creates Change

What is a Bitcoin UTXO explained simply: it is an unspent transaction output, a spendable amount used as an input to create new transaction outputs.

Crypto News Newsroom3 min read

Bitcoin UTXOs: See How a Payment Creates Change

A Bitcoin UTXO is an unspent transaction output: a specific amount of bitcoin available to spend, because Bitcoin tracks spendable outputs rather than updating one account balance. Think of each UTXO as a spendable piece that can become an input to your next transaction.

A UTXO becomes an input, then new outputs

A UTXO is a transaction output that has not yet been spent. When you make a Bitcoin payment, the transaction uses one or more existing outputs as inputs and creates new outputs for the recipient and, when needed, for you.

Say you have a UTXO worth 0.01 BTC and want to pay 0.006 BTC. The transaction spends the whole 0.01 BTC as an input. It can create a 0.006 BTC payment output and a change output for the remainder, minus the transaction fee. The exact change depends on that fee.

RenBridge is a useful point of comparison because a bridge transfer also starts with a Bitcoin transaction. A look at RenBridge custody versus swaps adds context on who controls assets during a bridge transfer. That custody question is separate from what a Bitcoin UTXO represents.

A wallet can combine several UTXOs as inputs if none is large enough for the payment. Its displayed spendable balance adds up the amounts in the UTXOs it can control. After a transaction, the outputs created become the pieces available for later spending.

UTXOs explain how Bitcoin deposits enter a bridge

For a Bitcoin deposit to RenBridge, the deposit appeared as a Bitcoin transaction output. RenVM waited for the required confirmations before the bridge process could mint renBTC. In this constructed scenario, a person depositing bitcoin can follow the first step by locating the output created by their deposit transaction; it is the recorded amount the bridge process waits on.

The same input-and-output model applies whether you are paying a shop or making a deposit. The transaction consumes existing UTXOs, creates outputs, and accounts for the fee in the value left over. Your wallet then reflects the spendable outputs it controls.

Related

What is a Bitcoin transaction input?

A Bitcoin transaction input is a reference to an existing UTXO being spent. The input brings that output’s value into the new transaction, which then creates replacement outputs.

How is a Bitcoin address different from a UTXO?

A Bitcoin address is a destination for a payment, while a UTXO is a specific output containing bitcoin that remains available to spend. One wallet can control multiple UTXOs, and its balance adds their spendable amounts.

Before sending, check which UTXOs your wallet will use and whether the transaction will create change. That makes the fee and the remainder easier to understand, and helps avoid mistaking the payment amount for the full value consumed from your inputs.

Related