Creates a Pay‑to‑Script‑Hash (P2SH) multi-signature address without adding it to the wallet. The address can be used in transactions that require multiple signatures, but the node cannot spend funds from it unless the private keys are also imported.
Arguments
- conn
A connection object created by
mc_connect.- n_required
Integer. Number of required signatures.
- keys
Character vector. Public keys or addresses.
Value
A list with two components:
- address
The multi-signature address.
- redeemScript
The redeem script (needed for spending).
See also
mc_add_multisig_address to create and add the address
to the wallet.
Other addresses:
mc_add_multisig_address(),
mc_create_keypairs(),
mc_get_addresses(),
mc_get_new_address(),
mc_import_address(),
mc_list_addresses(),
mc_validate_address()