Glossary | Output
$2,621.96/BTCBuy

Output

Outputs are the batches of bitcoins that you create during a bitcoin transaction.

I think of outputs as being variously-sized packages of bitcoins.

I think of outputs as being variously-sized packages of bitcoins.

Locking

You also place locks on outputs when you create them them. These locking scripts stop other people from using these outputs as inputs in another transaction (i.e. spending them).

You can only use an output as an input to another transaction if you can unlock it.

You can only use an output as an input to another transaction if you can unlock it.

Example

Here's what an output looks like (as found in raw transaction data) [source]:

|-----value----|  |---------------locking script-------------------|
00688909000000001976a91473b81e77969678ba046c79b44829f769ff2e00f188ac
Every output is basically a package of bitcoins with a locking script.

Every output is basically a package of bitcoins with a locking script.

If you want to decode the value of the output above, you just need to swap the byte order, then convert from hexadecimal to decimal. That will give you the value in satoshis.

The 19 in the middle just tells you the length of the upcoming locking script (see VarInt).