P2MS redeem transaction example
This transaction redeems coins locked in P2WSH output produced in tx/multisig_create.pl example. The exact redeem script must be provided and two out of three private keys must be used to sign.
Signing requires providing redeem_script argument with the script object, as well as multisig argument in format [$this_signature, $total_signatures]. Both private keys are used to sign the same signing_index, but with different multisig argument.
This code was used to produce testnet transaction: https://mempool.space/testnet/tx/8077dbb8ee049a5a754ad5e681310c1ee192e9be44a3b76d1182b41f1d39c2f5