0

What does a coinbase output script look like and how would it be used to fund a transaction?

1 Answer 1

1

Coinbase transactions are almost identical to normal transactions.

The only difference is that they have exactly 1 input, which must have a special form (which would be invalid for non-coinbase transactions).

There is no difference between the outputs of coinbase transactions and others*. So just like any other transaction, they can have 1 or more outputs, and all those outputs have an amount and a script (address). Each of those outputs result in a new UTXO that is spendable by anyone who can sign for that script/address.

(*) Coinbase outputs have a special rule that they can only be spent after 100 blocks, instead of immediately. This is to prevent reorganizations from wiping out whole sequences of dependent transactions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.