Output A batch of bitcoins being created in a bitcoin 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.
||8 bytes||The value of the output in satoshis.|
||Variable||Indicates the upcoming size of the locking code.|
||A script that locks the output.|
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:
- Give it a value.
- Give it a lock.
Every output has a value. This value is given in satoshis:
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
I think of outputs as being variously-sized packages of bitcoins:
An output can have a value of
0, if you like.