Nubits Verifying Redeemscript for multisig


I was going through the nubits RPC documentation, and their does not seem to be any way to recode a redeemscript to verify an address. Is this correct?

So the only way to verify a multi-signature address is to create it yourself?


Indeed you cannot extract the addresses from a multisig address. The redeem script only contains the hash of all the addresses. So yes, you have to know the public keys and create the multisig address yourself to verify it.

You can get the addresses if the multisig address has spent any coin though, because the signature includes them.

It’s the same for all the coins based on bitcoin.