<p>I‘m trying to do a liquid pegin. Generated the pegin address and sent funds to it, waited &lt; 102 blocks. When trying to claim them with</p>

<pre><code>liquid-cli claimpegin “rawtransaction“ “txoutproof“
</code></pre>

<p>The result is</p>

<pre><code>    Error code: -8 
Error message: The txoutproof must contain bitcoinTx and only bitcoinTX
</code></pre>

<p>The txoutproof looks longer than in the example of bitcoin-cli help page and was done on a -txindex enabled full node <code>gettxoutproof “[\“txid\“]“</code></p>

<pre><code>00008020f2e6bcdb...
</code></pre>

<p>I‘m thankful for any clues what could be wrong. Am I doing something wrong with the claimpegin input parameter format?</p>

<p>Thanks in advance and kind regards.</p>

CC BY-SA 4.0
2019-05-12T14:19:32.553Z
This is really a service question.
Claris
CC BY-SA 4.0
2019-05-12T14:22:23.063Z
The proof length is variable in size based on the number of transactions in the block it is a proof for, so that isn’t unusual.
Claris
CC BY-SA 4.0
2019-05-21T17:02:58.387Z
The raw transaction and txoutproof didn‘t match due to a copy/paste error.
Philipp
<sidechains><liquid>
Claiming liquid peg-in: „The txoutproof must contain bitcoinTx and only bitcoinTX“
Philipp
# Claiming liquid peg-in: „The txoutproof must contain bitcoinTx and only bitcoinTX“

(Asked by: username_0 on 2019-05-12)

I‘m trying to do a liquid pegin. Generated the pegin address and sent funds to it, waited < 102 blocks. When trying to claim them with
liquid-cli claimpegin “rawtransaction“ “txoutproof“

The result is
    Error code: -8 
Error message: The txoutproof must contain bitcoinTx and only bitcoinTX

The txoutproof looks longer than in the example of bitcoin-cli help page and was done on a -txindex enabled full node gettxoutproof “[\“txid\“]“
00008020f2e6bcdb...

I‘m thankful for any clues what could be wrong. Am I doing something wrong with the claimpegin input parameter format?
Thanks in advance and kind regards.

**Tags:** sidechains, liquid

> **Comments:**
> **username_1**: This is really a service question.  
> **username_1**: The proof length is variable in size based on the number of transactions in the block it is a proof for, so that isn’t unusual.  
> **username_0**: The raw transaction and txoutproof didn‘t match due to a copy/paste error.  

---

## 0 answers

