• Hash256
  • Hash160
  • Reverse Bytes
  • Hexadecimal
  • Satoshis


A batch of bitcoins created in a transaction.

Outputs are packages of bitcoins created in a bitcoin transaction.

Each output has a lock, which means that they can only be used as an inputs in a future transaction by people who can unlock them.



Transaction: c1b4e695098210a31fe02abffe9005cffc051bbe86ff33e173155bcbdc5821e3


Field Data Size Description
Value 4baf210000000000 8 bytes The value of the output in satoshis.
ScriptPubKey Size 19 Variable Indicates the upcoming size of the locking code.
ScriptPubKey 76a9…88ac A script that locks the output.

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

How do Outputs work?

After selecting Input(s) to spend, you can create as many Outputs from them as you like.

For each output you just:

  1. Give it a value.
  2. Give it a lock.

1. Value

Every output has a value. This value is given in satoshis:

You can create as many outputs as you like, as long as their sum does not exceed the sum of the Inputs you are spending.

2. Lock

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

This locking code is called a ScriptPubKey.

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


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

By Greg Walker,

Last Updated: 02 Apr 2020
  • 02 Apr 2020: added grades
  • 28 Mar 2020: updated html for h1 headers and subheadings - now dynamic from yaml
  • 28 Mar 2020: updated html for h1 headers and subheadings
  • 22 Feb 2020: fixed txid
  • 09 Oct 2019: renamed browser to explorer, glossary to guide, and guide to beginners
Back to Top

Hey there, it's Greg.

I'll let you know about cool website updates, or if something seriously interesting happens in bitcoin.

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