VOUT

VOUT

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

Usage

You use a (txid and a) vout when you want to select an existing output 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: Mar 27 2018
  • Mar 27 2018: Capitalized title.
  • May 13 2017: Ajax Tooltips - wrap <span data-tip="txid"> around anything and it will grab the description from the yaml:tip in a glossary page
  • Feb 26 2017: txid.md - edited
  • Feb 24 2017: CSS - glossary pages now use .center instead of .title for images inside figures
  • Feb 24 2017: vout.md - first commit