TeachMeBitcoin

What is VOUT Index

From TeachMeBitcoin, the free encyclopedia Reading time: 2 min

What is VOUT?

In every Bitcoin transaction, multiple outputs can be created. To distinguish between them when spending later, Bitcoin uses a simple indexing system called VOUT (Virtual Output).

1. The Zero-Based Index

Bitcoin uses zero-based indexing.

2. Why VOUT is Necessary

A TXID identifies a specific transaction, but that transaction might contain many different payments (outputs).

3. The "OutPoint" Relationship

As we saw in the OutPoint Guide, the TXID and VOUT together form a unique coordinate.

4. Visualizing VOUTs

Imagine a transaction with three outputs:

Transaction [Hash A]
  Output 0 (VOUT 0): 1.2 BTC -> Address X
  Output 1 (VOUT 1): 0.5 BTC -> Address Y
  Output 2 (VOUT 2): 0.1 BTC -> Address Z
Output Slot VOUT Index Recipient
First 0 Address X
Second 1 Address Y
Third 2 Address Z

In the next section, we will look at the Data Type and physical limits of the VOUT field.

☕ Help support TeachMeBitcoin

TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!