finalizecompactblock (22.0.0 RPC)

finalizecompactblock "compact_hex" "block_transactions" "found_transactions"
Takes the two transaction lists, fills out the compact block and attempts to finalize it.
Arguments:
1. compact_hex           (string, required) Hex serialized compact block.
2. block_transactions    (string, required) Hex serialized BlockTransactions, the response to getblocktxn.
3. found_transactions    (string, required) Hex serialized list of transactions that were found in response to receiving a compact sketch in `consumecompactsketch`.

Result:
"hex"    (string) The serialized final block

Examples:
> elements-cli finalizecompactblock <compact_hex> <block_transactions> <found_transactions>