VOUT

VOUT The vector of an output in a bitcoin transaction.

A vout is basically an index number for an output in a transaction.

Usage

You can use a txid and a vout to uniquely select an output to use as an input in a new transaction.

Output number 2, please.

Output number 2, please.

Notes

In programming, counting starts at 0. So if we want to use the first output of an existing transaction, we put a vout of 0. (The second output would be 1.)

The "v" in vout stands for vector, because outputs in the bitcoin source code are stored in a vector data structure (which is basically an array).

By Greg Walker,

Last Updated: 26 Nov 2018
  • 26 Nov 2018: Added sub titles to every page.
  • 25 Nov 2018: Subtitles for pages in Glossary. Looks good.
  • 27 Mar 2018: Capitalized title.
  • 13 May 2017: Ajax Tooltips - wrap <span data-tip="txid"> around anything and it will grab the description from the yaml:tip in a glossary page
  • 26 Feb 2017: txid.md - edited
  • 24 Feb 2017: CSS - glossary pages now use .center instead of .title for images inside figures
  • 24 Feb 2017: vout.md - first commit

Hey there, it's Greg.

I'll let you know if something seriously interesting happens in bitcoin.


Don't worry, it doesn't happen very often.