addmultisigaddress - Zcash 5.5.0 RPC

addmultisigaddress nrequired ["key",...] ( "" )

Add a nrequired-to-sign transparent multisignature address to the wallet.
Each key is a transparent Zcash address or hex-encoded secp256k1 public key.

1. nrequired        (numeric, required) The number of required signatures out of the n keys or addresses.
2. "keysobject"   (string, required) A json array of Zcash addresses or hex-encoded public keys
       "address"  (string) Zcash address or hex-encoded public key
3. (dummy)        (string, optional) DEPRECATED. If provided, MUST be set to the empty string "".
"zcashaddress"  (string) A Zcash address associated with the keys.


Add a multisig address from 2 addresses
> zcash-cli addmultisigaddress 2 "[\"t16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"t171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"

As json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"t16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"t171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;'

Maintained by @_garethtdavies; modified by: mdr0id;license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet zcash node