bitcoin txoutproof - Bitcoin-cli commands list - Bitcoin RPC
Claimpegin
Claim coins from the main chain by creating a pegin transaction with the necessary metadata after the corresponding Bitcoin transaction.
gettxoutproof
The gettxoutproof method provides a merkle branch proof of the inclusion of one or more transactions in a block, proving that a transaction is indeed part of a
Claiming liquid peg-in: „The txoutproof must contain
Error code: -8 Error message: The txoutproof must contain bitcoinTx and only bitcoinTX. The txoutproof looks longer than in the example of
createrawpegin (0.18.1.5 RPC)
createrawpegin "bitcoinTx" "txoutproof" ( "claim_script" ) Creates a raw transaction to claim coins from the main chain by creating a pegin transaction with
importprunedfunds
Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets.
gettxoutproof
Returns a hex-encoded proof that “txid” was included in a block. NOTE: By default this function only works sometimes. This is when there is an unspent output