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

<p><img src="https://i.sstatic.net/sdH6r.png" alt="labeled better"></p>

CC BY-SA 3.0
2014-07-03T02:13:42.157Z
2014-07-03T02:13:42.157Z
Buge
<p>I was reading this paper 
<a href="https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf" rel="nofollow">https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf</a>
and I have the following question:</p>

<p>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.</p>

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

CC BY-SA 3.0
2014-07-02T15:00:31.263Z
the link you posted is dead, at least for me
Dennis Kriechel
CC BY-SA 3.0
2014-07-03T02:03:42.497Z
[Here's a mirror.](https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf)
Buge
<script>
What part of the transaction is scriptSig in?
angel limneos
# What part of the transaction is scriptSig in?

(Asked by: username_0 on 2014-07-02)

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.

**Tags:** script

> **Comments:**
> **username_1**: the link you posted is dead, at least for me  
> **username_2**: [Here's a mirror.](https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf)  

---

## 1 answers

### Answer by username_2 on 2014-07-03. Score: 1 | Accepted answer

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

![labeled better](https://i.sstatic.net/sdH6r.png)


---

