I was reading this paper https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf and I have the following question:

ScriptPubKey accompanies a transaction output and specifies under which conditions it can be claimed. ScriptSig accompanies a transaction input and is used to prove that the referenced output can be rightfully claimed.

So in page 2 the ScriptSig should be in Input TX and ScriptPubKey should be in output TX? Author says that scriptA is ScriptSig.


1 Answer 1


I was confused by that too. Here's the picture with some more labels on it.

labeled better

Your Answer

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

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