Glossary | vout
$2,621.96/BTCBuy

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).