<p>Found out <a href="https://bitcore.io/api/lib/transaction" rel="nofollow">here</a>:</p>

<pre><code>var signature = tx.getSignatures(privKey)[0].signature;
</code></pre>

<p>gives you the signature associate with the private key!  </p>

CC BY-SA 3.0
2016-08-20T15:19:02.817Z
2016-08-20T15:19:02.817Z
hartmut
<p>Using <code>pybitcointools</code>, it is easy get partial signatures of a p2sh using the <code>multisign</code> function. Then, these can be communicated around to the several controllers of the p2sh address.</p>

<p>Using <code>bitcore</code>, I can sign a p2sh (using ... .<code>sign(privkey)</code>) but I do not manage to get a partial signature object, separate of the transaction itself, which I could send to other owners of the p2sh address (who could be using <code>pybitcointools</code> for instance).</p>

<p>How do you go about getting partial signatures of p2sh in bitcore please? 
(What am I getting wrong?)</p>

<p>Thanks</p>

<multi-signature><signature><p2sh><bitcore>
partial signature (of P2SH) in Bitcore. howto?
hartmut
# partial signature (of P2SH) in Bitcore. howto?

(Asked by: username_0 on 2016-07-17)

Using `pybitcointools`, it is easy get partial signatures of a p2sh using the `multisign` function. Then, these can be communicated around to the several controllers of the p2sh address.

Using `bitcore`, I can sign a p2sh (using ... .`sign(privkey)`) but I do not manage to get a partial signature object, separate of the transaction itself, which I could send to other owners of the p2sh address (who could be using `pybitcointools` for instance).

How do you go about getting partial signatures of p2sh in bitcore please?
(What am I getting wrong?)

Thanks

**Tags:** multi-signature, signature, p2sh, bitcore


---

## 1 answers

### Answer by username_0 on 2016-08-20. Score: 0 | Accepted answer

Found out [here](https://bitcore.io/api/lib/transaction):

```
var signature = tx.getSignatures(privKey)[0].signature;

```

gives you the signature associate with the private key!


---

